ketcher-macromolecules 2.18.0-rc.1
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/README.md +25 -0
- package/dist/Editor.d.ts +10 -0
- package/dist/components/FullscreenButton/FullscreenButton.d.ts +16 -0
- package/dist/components/FullscreenButton/index.d.ts +16 -0
- package/dist/components/Layout/Layout.d.ts +49 -0
- package/dist/components/Layout/Layout.test.d.ts +16 -0
- package/dist/components/Layout/index.d.ts +16 -0
- package/dist/components/Loader/index.d.ts +1 -0
- package/dist/components/contextMenu/RNAContextMenu.d.ts +1 -0
- package/dist/components/contextMenu/RNAContextMenu.test.d.ts +16 -0
- package/dist/components/contextMenu/styles.d.ts +3 -0
- package/dist/components/contextMenu/types.d.ts +3 -0
- package/dist/components/menu/Menu.d.ts +31 -0
- package/dist/components/menu/Menu.test.d.ts +1 -0
- package/dist/components/menu/index.d.ts +16 -0
- package/dist/components/menu/menuItem/MenuItem.d.ts +23 -0
- package/dist/components/menu/menuItem/MenuItem.test.d.ts +1 -0
- package/dist/components/menu/menuItem/index.d.ts +16 -0
- package/dist/components/menu/menuItem/styles.d.ts +18 -0
- package/dist/components/menu/styles.d.ts +28 -0
- package/dist/components/menu/subMenu/SubMenu.d.ts +21 -0
- package/dist/components/menu/subMenu/SubMenu.test.d.ts +1 -0
- package/dist/components/menu/subMenu/index.d.ts +16 -0
- package/dist/components/menu/subMenu/styles.d.ts +37 -0
- package/dist/components/menu/subMenu/types.d.ts +22 -0
- package/dist/components/menu/types.d.ts +23 -0
- package/dist/components/modal/Delete/Delete.d.ts +6 -0
- package/dist/components/modal/Delete/Delete.test.d.ts +16 -0
- package/dist/components/modal/Delete/index.d.ts +16 -0
- package/dist/components/modal/Delete/styledComponents.d.ts +12 -0
- package/dist/components/modal/Error/Error.d.ts +1 -0
- package/dist/components/modal/Error/Error.styles.d.ts +5 -0
- package/dist/components/modal/Error/index.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.d.ts +4 -0
- package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.test.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.test.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/index.d.ts +16 -0
- package/dist/components/modal/Open/AnalyzingFile/index.d.ts +16 -0
- package/dist/components/modal/Open/Open.d.ts +12 -0
- package/dist/components/modal/Open/Open.styles.d.ts +21 -0
- package/dist/components/modal/Open/Open.test.d.ts +16 -0
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.d.ts +26 -0
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.test.d.ts +1 -0
- package/dist/components/modal/Open/OpenOptions/FileDrop/index.d.ts +16 -0
- package/dist/components/modal/Open/OpenOptions/OpenOptions.d.ts +16 -0
- package/dist/components/modal/Open/OpenOptions/OpenOptions.test.d.ts +1 -0
- package/dist/components/modal/Open/OpenOptions/index.d.ts +16 -0
- package/dist/components/modal/Open/ViewSwitcher/ViewSwitcher.d.ts +29 -0
- package/dist/components/modal/Open/ViewSwitcher/index.d.ts +16 -0
- package/dist/components/modal/Open/fileOpener.d.ts +19 -0
- package/dist/components/modal/Open/index.d.ts +16 -0
- package/dist/components/modal/modalContainer/ModalContainer.d.ts +1 -0
- package/dist/components/modal/modalContainer/index.d.ts +18 -0
- package/dist/components/modal/modalContainer/modalComponentList.d.ts +20 -0
- package/dist/components/modal/modalContainer/types.d.ts +11 -0
- package/dist/components/modal/monomerConnection/MonomerConnections.d.ts +46 -0
- package/dist/components/modal/monomerConnection/MonomerConnections.test.d.ts +1 -0
- package/dist/components/modal/monomerConnection/index.d.ts +1 -0
- package/dist/components/modal/monomerConnection/styledComponents.d.ts +36 -0
- package/dist/components/modal/save/Save.d.ts +18 -0
- package/dist/components/modal/save/Save.styles.d.ts +19 -0
- package/dist/components/modal/save/Save.test.d.ts +16 -0
- package/dist/components/modal/save/index.d.ts +16 -0
- package/dist/components/monomerLibrary/MonomerLibrary.d.ts +18 -0
- package/dist/components/monomerLibrary/MonomerLibraryToggle.d.ts +6 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/RnaAccordion.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/RnaAccordion.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/Summary.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/styles.d.ts +28 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/types.d.ts +25 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/styles.d.ts +38 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaBuilder.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditor.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/RnaEditorCollapsed.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/styles.d.ts +30 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/types.d.ts +19 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlock.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts +46 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts +26 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts +25 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/styles.d.ts +52 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/types.d.ts +5 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/styles.d.ts +32 -0
- package/dist/components/monomerLibrary/RnaBuilder/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/styles.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/types.d.ts +29 -0
- package/dist/components/monomerLibrary/RnaPresetGroup/RnaPresetGroup.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaPresetGroup/RnaPresetGroup.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.d.ts +3 -0
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaPresetItem/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaPresetItem/styles.d.ts +14 -0
- package/dist/components/monomerLibrary/RnaPresetItem/types.d.ts +23 -0
- package/dist/components/monomerLibrary/index.d.ts +17 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.d.ts +3 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.test.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/index.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/styles.d.ts +13 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/types.d.ts +25 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.d.ts +3 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.test.d.ts +1 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/index.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/styles.d.ts +9 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/types.d.ts +26 -0
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.d.ts +28 -0
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.test.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryList/index.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryList/styles.d.ts +20 -0
- package/dist/components/monomerLibrary/monomerLibraryList/types.d.ts +27 -0
- package/dist/components/monomerLibrary/styles.d.ts +18 -0
- package/dist/components/monomerLibrary/tabsContent.d.ts +28 -0
- package/dist/components/rna/RnaMonomerSection/RnaMonomerSection.d.ts +12 -0
- package/dist/components/rna/RnaMonomerSection/RnaMonomerSection.test.d.ts +1 -0
- package/dist/components/rna/RnaMonomerSection/index.d.ts +16 -0
- package/dist/components/rna/Switcher/Switcher.d.ts +6 -0
- package/dist/components/rna/Switcher/Switcher.test.d.ts +16 -0
- package/dist/components/rna/Switcher/index.d.ts +1 -0
- package/dist/components/shared/MonomerPreview/index.d.ts +7 -0
- package/dist/components/shared/MonomerPreview/styles.d.ts +12 -0
- package/dist/components/shared/MonomerPreview/types.d.ts +18 -0
- package/dist/components/shared/StyledToast/styles.d.ts +12 -0
- package/dist/components/shared/Tabs/Tabs.d.ts +18 -0
- package/dist/components/shared/Tabs/index.d.ts +16 -0
- package/dist/components/shared/TextArea/TextArea.d.ts +24 -0
- package/dist/components/shared/TextArea/index.d.ts +16 -0
- package/dist/components/shared/actionButton/ActionButton.d.ts +23 -0
- package/dist/components/shared/actionButton/ActionButton.test.d.ts +16 -0
- package/dist/components/shared/actionButton/index.d.ts +1 -0
- package/dist/components/shared/dropDown/dropDown.d.ts +29 -0
- package/dist/components/shared/dropDown/dropDown.test.d.ts +16 -0
- package/dist/components/shared/dropDown/index.d.ts +17 -0
- package/dist/components/shared/dropDown/styledIcons.d.ts +22 -0
- package/dist/components/shared/icon/icon.d.ts +63 -0
- package/dist/components/shared/modal/Modal.d.ts +26 -0
- package/dist/components/shared/modal/Modal.test.d.ts +16 -0
- package/dist/components/shared/modal/index.d.ts +1 -0
- package/dist/components/shared/monomerOnCanvas/Chem.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/Peptide.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/Phosphate.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/RNABase.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/Sugar.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/index.d.ts +5 -0
- package/dist/components/shared/textInputField/TextInputField.d.ts +23 -0
- package/dist/components/shared/textInputField/index.d.ts +16 -0
- package/dist/constants.d.ts +47 -0
- package/dist/contexts/index.d.ts +18 -0
- package/dist/contexts/menuContext.d.ts +22 -0
- package/dist/helpers/calculatePreviewPosition.d.ts +2 -0
- package/dist/helpers/dom.d.ts +1 -0
- package/dist/helpers/emptyFunction.d.ts +1 -0
- package/dist/helpers/formats/formatProperties.d.ts +18 -0
- package/dist/helpers/formats/index.d.ts +17 -0
- package/dist/helpers/formats/supportedFormatProperties.d.ts +32 -0
- package/dist/helpers/getDefaultPreset.d.ts +3 -0
- package/dist/helpers/getDefaultPresets.test.d.ts +16 -0
- package/dist/helpers/index.d.ts +19 -0
- package/dist/helpers/localStorage.d.ts +8 -0
- package/dist/hooks/index.d.ts +16 -0
- package/dist/hooks/stateHooks.d.ts +20 -0
- package/dist/hooks/useLoading.d.ts +1 -0
- package/dist/hooks/useMenuContext.d.ts +16 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +10103 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +10083 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/setupTests.d.ts +2 -0
- package/dist/state/common/editorSaga.d.ts +19 -0
- package/dist/state/common/editorSlice.d.ts +25 -0
- package/dist/state/common/index.d.ts +17 -0
- package/dist/state/index.d.ts +17 -0
- package/dist/state/library/index.d.ts +16 -0
- package/dist/state/library/librarySlice.d.ts +35 -0
- package/dist/state/modal/index.d.ts +16 -0
- package/dist/state/modal/modalSlice.d.ts +47 -0
- package/dist/state/rna-builder/index.d.ts +16 -0
- package/dist/state/rna-builder/rnaBuilderSlice.d.ts +81 -0
- package/dist/state/rootSaga.d.ts +16 -0
- package/dist/state/store.d.ts +20 -0
- package/dist/styledComponents.d.ts +5 -0
- package/dist/testMockData/monomerPresets.d.ts +302 -0
- package/dist/theming/defaultTheme/defaultTheme.d.ts +19 -0
- package/dist/theming/defaultTheme/index.d.ts +17 -0
- package/dist/theming/defaultTheme/theme.types.d.ts +178 -0
- package/dist/theming/globalStyles/getGlobalStyles.d.ts +17 -0
- package/dist/theming/globalStyles/index.d.ts +16 -0
- package/dist/theming/mixins/index.d.ts +16 -0
- package/dist/theming/mixins/mixins.d.ts +17 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/utilities.d.ts +3 -0
- package/package.json +121 -0
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const RnaAccordionContainer: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const StyledAccordion: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Accordion/types").IAccordionProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export declare const StyledAccordionWrapper: import("@emotion/styled").StyledComponent<{
|
|
25
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
+
as?: import("react").ElementType<any> | undefined;
|
|
27
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
+
export declare const DetailsContainer: import("@emotion/styled").StyledComponent<{
|
|
29
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
+
as?: import("react").ElementType<any> | undefined;
|
|
31
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
33
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
34
|
+
}, {}, {}>;
|
|
35
|
+
export declare const DisabledArea: import("@emotion/styled").StyledComponent<{
|
|
36
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
37
|
+
as?: import("react").ElementType<any> | undefined;
|
|
38
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 RnaBuilder: ({ libraryName, duplicatePreset, editPreset }: {
|
|
17
|
+
libraryName: any;
|
|
18
|
+
duplicatePreset: any;
|
|
19
|
+
editPreset: any;
|
|
20
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 scrollToSelectedPreset: (presetName: any) => void;
|
|
17
|
+
export declare const scrollToSelectedMonomer: (monomerId: any) => void;
|
|
18
|
+
export declare const RnaEditor: ({ duplicatePreset }: {
|
|
19
|
+
duplicatePreset: any;
|
|
20
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
+
import { IRnaEditorCollapsedProps } from './types';
|
|
17
|
+
export declare const RnaEditorCollapsed: ({ name, fullName, }: IRnaEditorCollapsedProps) => 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 { RnaEditorCollapsed } from './RnaEditorCollapsed';
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const RnaEditorCollapsedContainer: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const MonomerName: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any> | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
grey?: boolean | undefined;
|
|
26
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
27
|
+
export declare const TextContainer: import("@emotion/styled").StyledComponent<{
|
|
28
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
+
as?: import("react").ElementType<any> | undefined;
|
|
30
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 interface IRnaEditorCollapsedProps {
|
|
17
|
+
name?: string;
|
|
18
|
+
fullName?: string;
|
|
19
|
+
}
|
|
@@ -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
|
+
import { IGroupBlockProps } from './types';
|
|
17
|
+
export declare const GroupBlock: ({ groupName, iconName, monomerName, selected, onClick, testid, }: IGroupBlockProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/index.d.ts
ADDED
|
@@ -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 { GroupBlock } from './GroupBlock';
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const GroupBlockContainer: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
selected?: boolean | undefined;
|
|
22
|
+
empty?: boolean | undefined;
|
|
23
|
+
isEditMode?: boolean | undefined;
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
+
export declare const TextContainer: import("@emotion/styled").StyledComponent<{
|
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
+
as?: import("react").ElementType<any> | undefined;
|
|
28
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
|
+
export declare const GroupName: import("@emotion/styled").StyledComponent<{
|
|
30
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
+
as?: import("react").ElementType<any> | undefined;
|
|
32
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
33
|
+
export declare const MonomerName: import("@emotion/styled").StyledComponent<{
|
|
34
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
+
as?: import("react").ElementType<any> | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
selected?: boolean | undefined;
|
|
38
|
+
empty: boolean;
|
|
39
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
40
|
+
export declare const GroupIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
|
|
41
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
+
} & {
|
|
43
|
+
selected?: boolean | undefined;
|
|
44
|
+
empty?: boolean | undefined;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
}, {}, {}>;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
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 { IconName } from 'ketcher-react';
|
|
17
|
+
import { MonomerGroups } from "../../../../../../constants";
|
|
18
|
+
export interface IGroupBlockProps {
|
|
19
|
+
groupName: MonomerGroups;
|
|
20
|
+
iconName: IconName;
|
|
21
|
+
monomerName?: string;
|
|
22
|
+
testid?: string;
|
|
23
|
+
selected?: boolean;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
onClick?: () => void;
|
|
26
|
+
}
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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 groupNameToLabel: {
|
|
17
|
+
Sugars: string;
|
|
18
|
+
Bases: string;
|
|
19
|
+
Phosphates: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const groupNameToRnaEditorItemLabel: {
|
|
22
|
+
Sugars: string;
|
|
23
|
+
Bases: string;
|
|
24
|
+
Phosphates: string;
|
|
25
|
+
};
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts
ADDED
|
@@ -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
|
+
import { IRnaEditorExpandedProps } from "./types";
|
|
17
|
+
export declare const RnaEditorExpanded: ({ isEditMode, onDuplicate, }: IRnaEditorExpandedProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 { RnaEditorExpanded } from './RnaEditorExpanded';
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const RnaEditorExpandedContainer: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const GroupsContainer: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any> | undefined;
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
+
export declare const ButtonsContainer: import("@emotion/styled").StyledComponent<{
|
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
+
as?: import("react").ElementType<any> | undefined;
|
|
28
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
30
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
+
} & {
|
|
32
|
+
primary?: boolean | undefined;
|
|
33
|
+
}, {}, {}>;
|
|
34
|
+
export declare const NameContainer: import("@emotion/styled").StyledComponent<{
|
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
+
as?: import("react").ElementType<any> | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
selected?: boolean | undefined;
|
|
39
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
|
+
export declare const NameLine: import("@emotion/styled").StyledComponent<{
|
|
41
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
+
as?: import("react").ElementType<any> | undefined;
|
|
43
|
+
} & {
|
|
44
|
+
selected?: boolean | undefined;
|
|
45
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
46
|
+
export declare const NameInput: import("@emotion/styled").StyledComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
47
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
48
|
+
}, {}, {}>;
|
|
49
|
+
export declare const PresetName: import("@emotion/styled").StyledComponent<{
|
|
50
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
51
|
+
as?: import("react").ElementType<any> | undefined;
|
|
52
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -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 { RnaEditor } from './RnaEditor';
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const RnaEditorContainer: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any> | undefined;
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
+
export declare const ExpandButton: import("@emotion/styled").StyledComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
+
}, {}, {}>;
|
|
28
|
+
export declare const ExpandIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
|
|
29
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
+
} & {
|
|
31
|
+
expanded?: boolean | undefined;
|
|
32
|
+
}, {}, {}>;
|
|
@@ -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 { RnaBuilder } from './RnaBuilder';
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const RnaBuilderContainer: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { MonomerItemType } from 'ketcher-core';
|
|
17
|
+
export interface IExpandIconProps {
|
|
18
|
+
expanded: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface IRnaPreset {
|
|
21
|
+
name?: string;
|
|
22
|
+
base?: MonomerItemType;
|
|
23
|
+
sugar?: MonomerItemType;
|
|
24
|
+
phosphate?: MonomerItemType;
|
|
25
|
+
presetInList?: IRnaPreset;
|
|
26
|
+
default?: boolean;
|
|
27
|
+
favorite?: boolean;
|
|
28
|
+
editedName?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 RnaPresetGroup: ({ presets, duplicatePreset, editPreset }: {
|
|
17
|
+
presets: any;
|
|
18
|
+
duplicatePreset: any;
|
|
19
|
+
editPreset: any;
|
|
20
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 * from './RnaPresetItem';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Card: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
code?: string | undefined;
|
|
7
|
+
selected?: boolean | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
code?: string | undefined;
|
|
13
|
+
selected?: boolean | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
@@ -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 { IRnaPreset } from '../RnaBuilder/types';
|
|
17
|
+
import { MouseEvent } from 'react';
|
|
18
|
+
export interface IRnaPresetItemrops {
|
|
19
|
+
preset: IRnaPreset;
|
|
20
|
+
isSelected?: boolean;
|
|
21
|
+
onClick?: VoidFunction;
|
|
22
|
+
onContextMenu?: (event: MouseEvent) => void;
|
|
23
|
+
}
|
|
@@ -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 './MonomerLibrary';
|
|
17
|
+
export * from './MonomerLibraryToggle';
|