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.
- package/dist/Editor.d.ts +1 -2
- package/dist/components/Accordion/Accordion.d.ts +1 -2
- package/dist/components/Buttons/Button/Button.d.ts +1 -2
- package/dist/components/Buttons/IconButton/IconButton.d.ts +1 -2
- package/dist/components/Icon/Icon.d.ts +1 -2
- package/dist/components/Input/Input.d.ts +1 -2
- package/dist/components/StructRender/StructRender.d.ts +1 -2
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -2
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +2148 -1800
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2190 -1843
- package/dist/index.modern.js.map +1 -1
- package/dist/script/ui/App/App.container.d.ts +1 -2
- package/dist/script/ui/App/App.d.ts +1 -2
- package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +1 -2
- package/dist/script/ui/App/AppHidden/AppHidden.d.ts +1 -2
- package/dist/script/ui/action/atoms.d.ts +1 -1
- package/dist/script/ui/action/templates.d.ts +1 -1
- package/dist/script/ui/action/tools.d.ts +1 -1
- package/dist/script/ui/action/zoom.d.ts +1 -1
- package/dist/script/ui/component/actionmenu.d.ts +1 -1
- package/dist/script/ui/component/cliparea/cliparea.d.ts +2 -2
- package/dist/script/ui/component/cliparea/clipboardUtils.d.ts +7 -0
- package/dist/script/ui/component/form/Input/Input.d.ts +1 -1
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +1 -1
- package/dist/script/ui/component/form/Select/Select.d.ts +2 -2
- package/dist/script/ui/component/form/buttonlist.d.ts +1 -1
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +1 -2
- package/dist/script/ui/component/form/combobox/combobox.d.ts +1 -1
- package/dist/script/ui/component/form/form/errorPopover.d.ts +1 -1
- package/dist/script/ui/component/form/form/form.d.ts +4 -4
- package/dist/script/ui/component/form/select-checkbox.d.ts +1 -1
- package/dist/script/ui/component/form/select-list.d.ts +1 -1
- package/dist/script/ui/component/form/systemfonts.d.ts +1 -1
- package/dist/script/ui/component/view/Atom/Atom.d.ts +1 -1
- package/dist/script/ui/component/view/Tabs/Tabs.d.ts +1 -1
- package/dist/script/ui/component/view/openbutton.d.ts +1 -1
- package/dist/script/ui/component/view/savebutton.d.ts +1 -1
- package/dist/script/ui/data/templates.d.ts +1 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +1 -2
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +1 -2
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +3 -4
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +2 -3
- package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +1 -2
- package/dist/script/ui/dialog/template/template-attach.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/SDataFieldset.d.ts +1 -1
- package/dist/script/ui/dialog/toolbox/SGroupFieldset.d.ts +1 -1
- package/dist/script/ui/dialog/toolbox/labeledit.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/sgroup.d.ts +2 -2
- package/dist/script/ui/state/hotkeys.d.ts +6 -3
- package/dist/script/ui/views/components/Cursor.d.ts +1 -1
- package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +1 -2
- package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +1 -1
- package/dist/script/ui/views/modal/Modal.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +1 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +2 -3
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +1 -2
- package/dist/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +1 -2
- package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +2 -2
- package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +1 -1
- package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Text/Text.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +5 -5
- package/dist/script/ui/views/modal/components/meta/About/About.d.ts +1 -1
- package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +1 -2
- package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +1 -2
- package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +1 -1
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +1 -2
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +1 -2
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +1 -2
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +2 -3
- package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +1 -2
- 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 };
|
|
@@ -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) =>
|
|
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";
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare
|
|
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";
|
|
@@ -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;
|
|
@@ -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
|
|
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
|
-
|
|
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
|
|
4
|
-
export declare const createOption: (name: string, abbreviation?: string
|
|
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
|
|
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
|
|
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,3 +1,3 @@
|
|
|
1
|
-
declare
|
|
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
|
|
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
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
};
|
|
@@ -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
|
-
|
|
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
|
-
|
|
17
|
-
export declare const
|
|
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;
|
package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts
CHANGED
|
@@ -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 };
|
package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts
CHANGED
|
@@ -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
|
-
|
|
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";
|
|
@@ -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;
|