ketcher-macromolecules 3.3.0-rc.4 → 3.4.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.
- package/dist/Editor.d.ts +15 -0
- package/dist/components/Layout/Layout.d.ts +4 -0
- package/dist/components/ZoomControls/helpers.d.ts +2 -1
- package/dist/components/macromoleculeProperties/CalculateMacromoleculePropertiesButton.d.ts +16 -0
- package/dist/components/macromoleculeProperties/MacromoleculePropertiesWindow.d.ts +16 -0
- package/dist/components/macromoleculeProperties/index.d.ts +17 -0
- package/dist/components/shared/Tabs/Tabs.d.ts +3 -0
- package/dist/components/shared/Tabs/Tabs.styles.d.ts +9 -0
- package/dist/hooks/useRecalculateMacromoleculeProperties.d.ts +1 -0
- package/dist/index.js +2486 -4065
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2478 -4077
- package/dist/index.modern.js.map +1 -1
- package/dist/state/common/editorSlice.d.ts +17 -1
- package/dist/theming/defaultTheme/theme.types.d.ts +1 -0
- package/package.json +3 -1
package/dist/Editor.d.ts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
***************************************************************************/
|
|
1
16
|
/// <reference types="react" />
|
|
2
17
|
import { EditorTheme } from "./theming/defaultTheme";
|
|
3
18
|
import { DeepPartial } from './types';
|
|
@@ -33,6 +33,10 @@ export declare const Layout: {
|
|
|
33
33
|
} & {
|
|
34
34
|
shortened?: boolean | undefined;
|
|
35
35
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
36
|
+
Bottom: import("@emotion/styled").StyledComponent<{
|
|
37
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
38
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
39
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
36
40
|
Right: import("@emotion/styled").StyledComponent<{
|
|
37
41
|
theme?: import("@emotion/react").Theme | undefined;
|
|
38
42
|
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const hotkeysShortcuts: {
|
|
2
2
|
RNASequenceType: string;
|
|
3
3
|
DNASequenceType: string;
|
|
4
4
|
PEPTIDESequenceTYpe: string;
|
|
@@ -15,6 +15,7 @@ export declare const shortcuts: {
|
|
|
15
15
|
'hide-scrollbars': string;
|
|
16
16
|
createRnaAntisenseStrand: string;
|
|
17
17
|
createDnaAntisenseStrand: string;
|
|
18
|
+
toggleMacromoleculesPropertiesVisibility: string;
|
|
18
19
|
};
|
|
19
20
|
export declare const getIntegerFromString: (zoomInput: string | undefined) => number;
|
|
20
21
|
export declare const getValidZoom: (zoom: number, currentZoom: number) => number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare const CalculateMacromoleculePropertiesButton: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare const MacromoleculePropertiesWindow: () => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export * from './MacromoleculePropertiesWindow';
|
|
17
|
+
export * from './CalculateMacromoleculePropertiesButton';
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
import { TabsData } from './Tabs.types';
|
|
18
18
|
declare type Props = {
|
|
19
19
|
tabs: TabsData;
|
|
20
|
+
isLayoutToRight?: boolean;
|
|
21
|
+
selectedTabIndex: number;
|
|
22
|
+
onChange: (event: React.SyntheticEvent, newValue: number) => void;
|
|
20
23
|
};
|
|
21
24
|
declare const _default: import("react").MemoExoticComponent<(props: Props) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
22
25
|
export default _default;
|
|
@@ -3,11 +3,20 @@ export declare const StyledTabs: import("@emotion/styled").StyledComponent<impor
|
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, "style" | "className" | "classes" | "aria-label" | "aria-labelledby" | "children" | "onChange" | "action" | "allowScrollButtonsMobile" | "centered" | "slots" | "slotProps" | "indicatorColor" | "orientation" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "value" | "variant" | "visibleScrollbar" | "sx"> & {
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
isLayoutToRight?: boolean | undefined;
|
|
6
8
|
}, {}, {}>;
|
|
7
9
|
export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
10
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
11
|
}, "label" | "style" | "className" | "classes" | "tabIndex" | "children" | "action" | "value" | "sx" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
10
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
isLayoutToRight?: boolean | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const HiddenTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
+
}, "label" | "style" | "className" | "classes" | "tabIndex" | "children" | "action" | "value" | "sx" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
20
|
}, {}, {}>;
|
|
12
21
|
export declare const TabPanelContent: import("@emotion/styled").StyledComponent<{
|
|
13
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useRecalculateMacromoleculeProperties: () => (shouldSkip?: boolean) => Promise<void>;
|