ketcher-react 2.15.0-rc.4 → 2.15.0-rc.6

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 (130) hide show
  1. package/dist/Editor.d.ts +1 -2
  2. package/dist/components/Accordion/Accordion.d.ts +1 -2
  3. package/dist/components/Buttons/Button/Button.d.ts +1 -2
  4. package/dist/components/Buttons/IconButton/IconButton.d.ts +1 -2
  5. package/dist/components/Icon/Icon.d.ts +1 -2
  6. package/dist/components/Input/Input.d.ts +1 -2
  7. package/dist/components/StructRender/StructRender.d.ts +1 -2
  8. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -2
  9. package/dist/index.css +1 -1
  10. package/dist/index.css.map +1 -1
  11. package/dist/index.js +2148 -1800
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.modern.js +2190 -1843
  14. package/dist/index.modern.js.map +1 -1
  15. package/dist/script/ui/App/App.container.d.ts +1 -2
  16. package/dist/script/ui/App/App.d.ts +1 -2
  17. package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +1 -2
  18. package/dist/script/ui/App/AppHidden/AppHidden.d.ts +1 -2
  19. package/dist/script/ui/action/atoms.d.ts +1 -1
  20. package/dist/script/ui/action/templates.d.ts +1 -1
  21. package/dist/script/ui/action/tools.d.ts +1 -1
  22. package/dist/script/ui/action/zoom.d.ts +1 -1
  23. package/dist/script/ui/component/actionmenu.d.ts +1 -1
  24. package/dist/script/ui/component/cliparea/cliparea.d.ts +2 -2
  25. package/dist/script/ui/component/cliparea/clipboardUtils.d.ts +7 -0
  26. package/dist/script/ui/component/form/Input/Input.d.ts +1 -1
  27. package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +1 -1
  28. package/dist/script/ui/component/form/Select/Select.d.ts +2 -2
  29. package/dist/script/ui/component/form/buttonlist.d.ts +1 -1
  30. package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +1 -2
  31. package/dist/script/ui/component/form/combobox/combobox.d.ts +1 -1
  32. package/dist/script/ui/component/form/form/errorPopover.d.ts +1 -1
  33. package/dist/script/ui/component/form/form/form.d.ts +4 -4
  34. package/dist/script/ui/component/form/select-checkbox.d.ts +1 -1
  35. package/dist/script/ui/component/form/select-list.d.ts +1 -1
  36. package/dist/script/ui/component/form/systemfonts.d.ts +1 -1
  37. package/dist/script/ui/component/view/Atom/Atom.d.ts +1 -1
  38. package/dist/script/ui/component/view/Tabs/Tabs.d.ts +1 -1
  39. package/dist/script/ui/component/view/openbutton.d.ts +1 -1
  40. package/dist/script/ui/component/view/savebutton.d.ts +1 -1
  41. package/dist/script/ui/data/templates.d.ts +1 -1
  42. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +1 -2
  43. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +1 -2
  44. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +3 -4
  45. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +2 -3
  46. package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +1 -2
  47. package/dist/script/ui/dialog/template/template-attach.d.ts +2 -2
  48. package/dist/script/ui/dialog/toolbox/SDataFieldset.d.ts +1 -1
  49. package/dist/script/ui/dialog/toolbox/SGroupFieldset.d.ts +1 -1
  50. package/dist/script/ui/dialog/toolbox/labeledit.d.ts +2 -2
  51. package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +2 -2
  52. package/dist/script/ui/dialog/toolbox/sgroup.d.ts +2 -2
  53. package/dist/script/ui/state/hotkeys.d.ts +6 -3
  54. package/dist/script/ui/views/components/Cursor.d.ts +1 -1
  55. package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +1 -2
  56. package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +1 -1
  57. package/dist/script/ui/views/modal/Modal.d.ts +1 -2
  58. package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +1 -2
  59. package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +1 -1
  60. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +2 -3
  61. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +1 -2
  62. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +1 -2
  63. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +1 -2
  64. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +1 -2
  65. package/dist/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +1 -2
  66. package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +2 -2
  67. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +1 -1
  68. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +1 -1
  69. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +1 -1
  70. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +1 -1
  71. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +1 -1
  72. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +1 -1
  73. package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +1 -2
  74. package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +1 -2
  75. package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +1 -2
  76. package/dist/script/ui/views/modal/components/Text/Text.d.ts +1 -2
  77. package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +1 -2
  78. package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +1 -2
  79. package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +1 -2
  80. package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +1 -2
  81. package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +1 -2
  82. package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +5 -5
  83. package/dist/script/ui/views/modal/components/meta/About/About.d.ts +1 -1
  84. package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +1 -2
  85. package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +1 -1
  86. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +1 -1
  87. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +1 -1
  88. package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +1 -1
  89. package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +1 -1
  90. package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +1 -2
  91. package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +1 -1
  92. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +1 -2
  93. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +1 -2
  94. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +1 -2
  95. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +1 -2
  96. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +1 -2
  97. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +1 -2
  98. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +1 -2
  99. package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +1 -2
  100. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +1 -2
  101. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +1 -2
  102. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +1 -2
  103. package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +1 -2
  104. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +1 -2
  105. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +1 -2
  106. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +1 -2
  107. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +1 -2
  108. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +1 -2
  109. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +1 -2
  110. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +1 -2
  111. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +1 -2
  112. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +1 -2
  113. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +1 -2
  114. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +1 -2
  115. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +1 -2
  116. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +1 -2
  117. package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +1 -2
  118. package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +2 -3
  119. package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +1 -1
  120. package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +1 -2
  121. package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +1 -2
  122. package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +1 -2
  123. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +1 -2
  124. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +1 -2
  125. package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +1 -2
  126. package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +1 -2
  127. package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +1 -1
  128. package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +1 -2
  129. package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +1 -2
  130. package/package.json +1 -1
@@ -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
- /// <reference types="react" />
17
16
  import { AppCallProps } from './App';
18
- declare const AppContainer: import("react-redux").ConnectedComponent<(props: AppCallProps) => JSX.Element, import("react-redux").Omit<AppCallProps, "checkServer">>;
17
+ declare const AppContainer: import("react-redux").ConnectedComponent<(props: AppCallProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<AppCallProps, "checkServer">>;
19
18
  export { AppContainer };
20
19
  export default AppContainer;
@@ -13,11 +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" />
17
16
  interface AppCallProps {
18
17
  checkServer: () => void;
19
18
  }
20
19
  declare type Props = AppCallProps;
21
- declare const App: (props: Props) => JSX.Element;
20
+ declare const App: (props: Props) => import("react/jsx-runtime").JSX.Element;
22
21
  export type { AppCallProps };
23
22
  export { App };
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  import { AppHiddenCallProps } from './AppHidden';
18
- declare const AppHiddenContainer: import("react-redux").ConnectedComponent<(props: AppHiddenCallProps) => JSX.Element, import("react-redux").Omit<AppHiddenCallProps, "onInitTmpls">>;
17
+ declare const AppHiddenContainer: import("react-redux").ConnectedComponent<(props: AppHiddenCallProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<AppHiddenCallProps, "onInitTmpls">>;
19
18
  export { AppHiddenContainer };
@@ -13,11 +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" />
17
16
  interface AppHiddenCallProps {
18
17
  onInitTmpls: (cacheEl: any, url: any) => void;
19
18
  }
20
19
  declare type Props = AppHiddenCallProps;
21
- declare const AppHidden: (props: Props) => JSX.Element;
20
+ declare const AppHidden: (props: Props) => import("react/jsx-runtime").JSX.Element;
22
21
  export type { AppHiddenCallProps };
23
22
  export { AppHidden };
@@ -36,5 +36,5 @@ export namespace atomCuts {
36
36
  const D: string;
37
37
  const B: string;
38
38
  }
39
- declare var _default: {};
39
+ declare const _default: {};
40
40
  export default _default;
@@ -1,4 +1,4 @@
1
- declare var _default: {
1
+ declare const _default: {
2
2
  'template-lib': {
3
3
  shortcut: string;
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- declare var _default: {
1
+ declare const _default: {
2
2
  hand: {
3
3
  title: string;
4
4
  shortcut: string;
@@ -1,5 +1,5 @@
1
1
  export const zoomList: number[];
2
- declare var _default: {
2
+ declare const _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
- }): JSX.Element;
9
+ }): import("react/jsx-runtime").JSX.Element;
@@ -10,12 +10,12 @@ 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>;
13
+ copy: (event: any) => void;
14
14
  cut: (event: any) => Promise<void>;
15
15
  paste: (event: any) => void;
16
16
  } | undefined;
17
17
  shouldComponentUpdate(): boolean;
18
18
  componentWillUnmount(): void;
19
- render(): JSX.Element;
19
+ render(): import("react/jsx-runtime").JSX.Element;
20
20
  }
21
21
  import { Component } from "react";
@@ -0,0 +1,7 @@
1
+ /**
2
+ *
3
+ * Legacy browser API doesn't support async operations, so it is not possible
4
+ * to call indigo, when copy/cut/paste
5
+ */
6
+ export function isClipboardAPIAvailable(): boolean;
7
+ export function notifyCopyCut(): void;
@@ -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
- }): JSX.Element;
38
+ }): import("react/jsx-runtime").JSX.Element;
39
39
  export declare namespace GenericInput {
40
40
  var val: (ev: any, schema: any) => any;
41
41
  }
@@ -5,4 +5,4 @@ declare function MeasureInput({ schema, value, onChange, name, ...rest }: {
5
5
  value: any;
6
6
  onChange: any;
7
7
  name: any;
8
- }): JSX.Element;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  export interface Option {
18
17
  value: string;
19
18
  label: string;
@@ -25,6 +24,7 @@ interface Props {
25
24
  value?: string;
26
25
  multiple?: boolean;
27
26
  disabled?: boolean;
27
+ testId?: string;
28
28
  }
29
- declare const Select: ({ className, value, onChange, multiple, disabled, options, }: Props) => JSX.Element;
29
+ declare const Select: ({ className, value, onChange, multiple, disabled, options, testId, }: Props) => import("react/jsx-runtime").JSX.Element;
30
30
  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
- }): JSX.Element;
9
+ }): import("react/jsx-runtime").JSX.Element;
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  interface ColorPickerProps {
18
17
  value: string;
19
18
  name: string;
@@ -24,5 +23,5 @@ interface ColorPickerCallProps {
24
23
  onChange: (value: string) => void;
25
24
  }
26
25
  declare type Props = ColorPickerProps & ColorPickerCallProps;
27
- declare const ColorPicker: (props: Props) => JSX.Element;
26
+ declare const ColorPicker: (props: Props) => import("react/jsx-runtime").JSX.Element;
28
27
  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(): JSX.Element;
10
+ render(): import("react/jsx-runtime").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
- }): JSX.Element;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- declare var _default: import("react-redux").ConnectedComponent<typeof Form, import("react-redux").Omit<any, "onUpdate">>;
1
+ declare const _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);
@@ -18,8 +18,8 @@ declare class Form extends Component<any, any, any> {
18
18
  value: any;
19
19
  onChange: (val: any) => void;
20
20
  };
21
- render(): JSX.Element;
21
+ render(): import("react/jsx-runtime").JSX.Element;
22
22
  }
23
- export function Field(props: any): JSX.Element;
24
- export function SelectOneOf(props: any): JSX.Element;
23
+ export function Field(props: any): import("react/jsx-runtime").JSX.Element;
24
+ export function SelectOneOf(props: any): import("react/jsx-runtime").JSX.Element;
25
25
  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
- }): JSX.Element;
5
+ }): import("react/jsx-runtime").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
- }): JSX.Element;
26
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export default SystemFonts;
2
- declare function SystemFonts(props: any): JSX.Element;
2
+ declare function SystemFonts(props: any): import("react/jsx-runtime").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
- }): JSX.Element;
7
+ }): import("react/jsx-runtime").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(): JSX.Element;
7
+ render(): import("react/jsx-runtime").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(): JSX.Element;
6
+ render(): import("react/jsx-runtime").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) => JSX.Element;
33
+ declare const SaveButton: (props: SaveButtonProps) => import("react/jsx-runtime").JSX.Element;
34
34
  export { SaveButton };
@@ -1,2 +1,2 @@
1
- declare var _default: import("ketcher-core").Struct[];
1
+ declare const _default: import("ketcher-core").Struct[];
2
2
  export default _default;
@@ -13,5 +13,4 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
- export declare const AbbreviationLookupContainer: () => JSX.Element | null;
16
+ export declare const AbbreviationLookupContainer: () => import("react/jsx-runtime").JSX.Element | null;
@@ -13,10 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  import { AbbreviationOption } from './AbbreviationLookup.types';
18
17
  interface Props {
19
18
  options: AbbreviationOption[];
20
19
  }
21
- export declare const AbbreviationLookup: ({ options }: Props) => JSX.Element;
20
+ export declare const AbbreviationLookup: ({ options }: Props) => import("react/jsx-runtime").JSX.Element;
22
21
  export {};
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { AbbreviationGenericOption, AbbreviationOption, AbbreviationType } from './AbbreviationLookup.types';
3
- export declare const createGenericOption: (name: string, abbreviation?: string | undefined, type?: AbbreviationType) => AbbreviationGenericOption;
4
- export declare const createOption: (name: string, abbreviation?: string | undefined, type?: AbbreviationType) => AbbreviationOption;
2
+ export declare const createGenericOption: (name: string, abbreviation?: string, type?: AbbreviationType) => AbbreviationGenericOption;
3
+ export declare const createOption: (name: string, abbreviation?: string, type?: AbbreviationType) => AbbreviationOption;
5
4
  export declare const CLIP_AREA_TEST_ID = "cliparea";
6
5
  export declare const KetcherWrapper: ({ children }: {
7
6
  children: any;
8
- }) => JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -13,11 +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" />
17
16
  import { AbbreviationGenericOption, AbbreviationOption } from './AbbreviationLookup.types';
18
17
  import { FilterOptionsState } from '@mui/material';
19
- export declare const getStringsSimilarity: (loweredText?: string | undefined, loweredSubString?: string | undefined) => number;
20
- export declare const highlightOptionLabel: (option: AbbreviationGenericOption, initialLoweredValue: string) => string | JSX.Element;
18
+ export declare const getStringsSimilarity: (loweredText?: string, loweredSubString?: string) => number;
19
+ export declare const highlightOptionLabel: (option: AbbreviationGenericOption, initialLoweredValue: string) => string | import("react/jsx-runtime").JSX.Element;
21
20
  export declare const getOptionLabel: (option: AbbreviationGenericOption) => string;
22
21
  export declare const getSimilarity: (option: AbbreviationGenericOption, loweredLookupValue: string) => number;
23
22
  export declare const filterOptions: (options: AbbreviationOption[], state: FilterOptionsState<AbbreviationOption>) => AbbreviationOption[];
@@ -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
- /// <reference types="react" />
17
16
  declare const EmptySearchResult: ({ textInfo }: {
18
17
  textInfo: any;
19
- }) => JSX.Element;
18
+ }) => import("react/jsx-runtime").JSX.Element;
20
19
  export default EmptySearchResult;
@@ -1,4 +1,4 @@
1
- declare var _default: import("react-redux").ConnectedComponent<typeof Attach, import("react-redux").Omit<import("react").ClassAttributes<Attach> & {
1
+ declare const _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(): JSX.Element;
31
+ render(): import("react/jsx-runtime").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
- }): JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export default SGroupFieldset;
2
2
  declare function SGroupFieldset({ formState }: {
3
3
  formState: any;
4
- }): JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- declare var _default: import("react-redux").ConnectedComponent<typeof LabelEdit, import("react-redux").Omit<any, "formState" | "dispatch">>;
1
+ declare const _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): JSX.Element;
3
+ declare function LabelEdit(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- declare var _default: import("react-redux").ConnectedComponent<typeof RGroup, import("react-redux").Omit<{
1
+ declare const _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
- }): JSX.Element;
15
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- declare var _default: import("react-redux").ConnectedComponent<typeof Sgroup, import("react-redux").Omit<{
1
+ declare const _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
- }): JSX.Element;
9
+ }): import("react/jsx-runtime").JSX.Element;
@@ -17,7 +17,10 @@ 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
+ onLegacyCut(): {} | null;
21
+ onCut(): Promise<{} | null | undefined>;
22
+ onLegacyCopy(): {} | null;
23
+ onCopy(): Promise<{} | null | undefined>;
24
+ onPaste(data: any): Promise<void | undefined>;
25
+ onLegacyPaste(data: any): void;
23
26
  };
@@ -3,4 +3,4 @@ declare function Cursor({ Icon, PressedIcon, enableHandTool }: {
3
3
  Icon: any;
4
4
  PressedIcon: any;
5
5
  enableHandTool: any;
6
- }): JSX.Element | null;
6
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -13,5 +13,4 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
- export declare const LoadingCircles: () => JSX.Element;
16
+ export declare const LoadingCircles: () => import("react/jsx-runtime").JSX.Element;
@@ -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(): JSX.Element;
18
+ render(): import("react/jsx-runtime").JSX.Element;
19
19
  }
20
20
  import { Component } from "react";
21
21
  import Editor from "../../../../editor";
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  import { BaseCallProps } from './modal.types';
18
17
  interface ModalProps extends BaseCallProps {
19
18
  modal: {
@@ -23,6 +22,6 @@ interface ModalProps extends BaseCallProps {
23
22
  };
24
23
  }
25
24
  declare type Props = ModalProps & BaseCallProps;
26
- declare function Modal(props: Props): JSX.Element | null;
25
+ declare function Modal(props: Props): import("react/jsx-runtime").JSX.Element | null;
27
26
  export type { ModalProps };
28
27
  export { Modal };
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare type ConfirmProps = {
3
2
  onOk: () => void;
4
3
  onCancel: () => void;
5
4
  };
6
- export declare const Confirm: ({ onOk, onCancel }: ConfirmProps) => JSX.Element;
5
+ export declare const Confirm: ({ onOk, onCancel }: ConfirmProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -1,2 +1,2 @@
1
1
  export default ExtendedTable;
2
- declare const ExtendedTable: import("react-redux").ConnectedComponent<(props: any) => JSX.Element, any>;
2
+ declare const ExtendedTable: import("react-redux").ConnectedComponent<(props: any) => import("react/jsx-runtime").JSX.Element, any>;
@@ -13,6 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
- export declare const HorizontalBoxWithLines: () => JSX.Element;
18
- export declare const VerticalBoxWithLines: () => JSX.Element;
16
+ export declare const HorizontalBoxWithLines: () => import("react/jsx-runtime").JSX.Element;
17
+ export declare const VerticalBoxWithLines: () => import("react/jsx-runtime").JSX.Element;
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  import type { GenGroup as GenGroupType } from 'ketcher-core';
18
17
  declare type GenProps = {
19
18
  selected: (label: string) => boolean;
@@ -21,5 +20,5 @@ declare type GenProps = {
21
20
  group: GenGroupType;
22
21
  disabledQueryElements: Array<string> | null;
23
22
  };
24
- declare const GenGroup: ({ group, onAtomSelect, selected, disabledQueryElements, }: GenProps) => JSX.Element;
23
+ declare const GenGroup: ({ group, onAtomSelect, selected, disabledQueryElements, }: GenProps) => import("react/jsx-runtime").JSX.Element;
25
24
  export { GenGroup };
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  import type { GenItemSet } from 'ketcher-core';
18
17
  declare type GenSetProps = {
19
18
  labels: GenItemSet[];
@@ -23,5 +22,5 @@ declare type GenSetProps = {
23
22
  group: string;
24
23
  disabledQueryElements: Array<string> | null;
25
24
  };
26
- declare function GenSet({ labels, selected, onAtomSelect, className, group, disabledQueryElements, }: GenSetProps): JSX.Element;
25
+ declare function GenSet({ labels, selected, onAtomSelect, className, group, disabledQueryElements, }: GenSetProps): import("react/jsx-runtime").JSX.Element;
27
26
  export { GenSet };
@@ -13,11 +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" />
17
16
  declare type GenericGroupsProps = {
18
17
  selected: (label: string) => boolean;
19
18
  onAtomSelect: (label: string, activateImmediately: boolean) => void;
20
19
  disabledQueryElements: Array<string> | null;
21
20
  };
22
- declare function GenericGroups({ selected, onAtomSelect, disabledQueryElements, }: GenericGroupsProps): JSX.Element;
21
+ declare function GenericGroups({ selected, onAtomSelect, disabledQueryElements, }: GenericGroupsProps): import("react/jsx-runtime").JSX.Element;
23
22
  export default GenericGroups;
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
16
  import { GenItem } from 'ketcher-core';
18
17
  declare type ButtonGenSetProps = {
19
18
  button: GenItem;
@@ -21,5 +20,5 @@ declare type ButtonGenSetProps = {
21
20
  selected: (label: string) => boolean;
22
21
  disabled: boolean;
23
22
  };
24
- declare const ButtonGenSet: ({ button, onAtomSelect, selected, disabled, }: ButtonGenSetProps) => JSX.Element;
23
+ declare const ButtonGenSet: ({ button, onAtomSelect, selected, disabled, }: ButtonGenSetProps) => import("react/jsx-runtime").JSX.Element;
25
24
  export default ButtonGenSet;
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- /// <reference types="react" />
17
- declare function ErrorInfoModal(props: any): JSX.Element;
16
+ declare function ErrorInfoModal(props: any): import("react/jsx-runtime").JSX.Element;
18
17
  declare const InfoModal: import("react-redux").ConnectedComponent<typeof ErrorInfoModal, import("react-redux").Omit<any, "errorMessage" | "onOk">>;
19
18
  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: () => JSX.Element;
12
+ headerContent: () => import("react/jsx-runtime").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(): JSX.Element;
35
+ render(): import("react/jsx-runtime").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
- }): JSX.Element;
5
+ }): import("react/jsx-runtime").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(): JSX.Element;
7
+ render(): import("react/jsx-runtime").JSX.Element;
8
8
  }
9
9
  import { Component } from "react";
@@ -1,2 +1,2 @@
1
1
  export default Header;
2
- declare function Header(): JSX.Element;
2
+ declare function Header(): import("react/jsx-runtime").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
- }): JSX.Element;
11
+ }): import("react/jsx-runtime").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
- }): JSX.Element;
10
+ }): import("react/jsx-runtime").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
- }): JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;