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,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 declare function watchFetchData(): Generator<import("redux-saga/effects").ForkEffect<never>, void, unknown>;
|
|
17
|
+
export declare const fetchInitData: () => {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
@@ -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
|
+
import { Slice } from '@reduxjs/toolkit';
|
|
17
|
+
import { RootState } from "./..";
|
|
18
|
+
import { CoreEditor } from 'ketcher-core';
|
|
19
|
+
export declare const editorSlice: Slice;
|
|
20
|
+
export declare const init: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, initSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, initFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, selectTool: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, createEditor: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, showPreview: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, destroyEditor: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>;
|
|
21
|
+
export declare const selectEditorIsReady: (state: RootState) => any;
|
|
22
|
+
export declare const selectShowPreview: (state: RootState) => any;
|
|
23
|
+
export declare const selectEditorActiveTool: (state: RootState) => any;
|
|
24
|
+
export declare const selectEditor: (state: RootState) => CoreEditor;
|
|
25
|
+
export declare const editorReducer: import("redux").Reducer<any, import("redux").AnyAction>;
|
|
@@ -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 './editorSlice';
|
|
17
|
+
export * from './editorSaga';
|
|
@@ -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 './store';
|
|
17
|
+
export * from './rootSaga';
|
|
@@ -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 './librarySlice';
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { Slice } from '@reduxjs/toolkit';
|
|
17
|
+
import { Group } from "../../components/monomerLibrary/monomerLibraryList/types";
|
|
18
|
+
import { IRnaPreset } from "../../components/monomerLibrary/RnaBuilder/types";
|
|
19
|
+
import { MonomerItemType } from 'ketcher-core';
|
|
20
|
+
import { LibraryNameType } from "../../constants";
|
|
21
|
+
import { RootState } from "./..";
|
|
22
|
+
export declare function getMonomerUniqueKey(monomer: MonomerItemType): string;
|
|
23
|
+
export declare function getPresetUniqueKey(preset: IRnaPreset): string;
|
|
24
|
+
export declare const librarySlice: Slice;
|
|
25
|
+
export declare const getSearchTermValue: (state: any) => string;
|
|
26
|
+
export declare const selectMonomersInCategory: (items: MonomerItemType[], category: LibraryNameType) => MonomerItemType[];
|
|
27
|
+
export declare const selectMonomersInFavorites: (items: MonomerItemType[]) => MonomerItemType[];
|
|
28
|
+
export declare const selectFilteredMonomers: (state: any) => Array<MonomerItemType & {
|
|
29
|
+
favorite: boolean;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const selectMonomers: (state: RootState) => any;
|
|
32
|
+
export declare const selectMonomerGroups: (monomers: MonomerItemType[]) => Group[];
|
|
33
|
+
export declare const selectCurrentTabIndex: (state: any) => any;
|
|
34
|
+
export declare const loadMonomerLibrary: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, setFavoriteMonomersFromLocalStorage: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, clearFavorites: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, toggleMonomerFavorites: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, setSearchFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>, setSelectedTabIndex: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`>;
|
|
35
|
+
export declare const libraryReducer: import("redux").Reducer<any, import("redux").AnyAction>;
|
|
@@ -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 './modalSlice';
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { PayloadAction } from '@reduxjs/toolkit';
|
|
17
|
+
import { AdditionalModalProps } from "../../components/modal/modalContainer/types";
|
|
18
|
+
import { RootState } from "./..";
|
|
19
|
+
interface ModalState {
|
|
20
|
+
name: string | null;
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
additionalProps: AdditionalModalProps | null;
|
|
23
|
+
errorTooltipText: string;
|
|
24
|
+
errorModalText: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const modalSlice: import("@reduxjs/toolkit").Slice<ModalState, {
|
|
27
|
+
openModal: (state: import("immer/dist/internal").WritableDraft<ModalState>, action: PayloadAction<string | {
|
|
28
|
+
name: string;
|
|
29
|
+
additionalProps: AdditionalModalProps;
|
|
30
|
+
}>) => void;
|
|
31
|
+
closeModal: (state: import("immer/dist/internal").WritableDraft<ModalState>) => void;
|
|
32
|
+
openErrorTooltip: (state: import("immer/dist/internal").WritableDraft<ModalState>, action: PayloadAction<string>) => void;
|
|
33
|
+
closeErrorTooltip: (state: import("immer/dist/internal").WritableDraft<ModalState>) => void;
|
|
34
|
+
openErrorModal: (state: import("immer/dist/internal").WritableDraft<ModalState>, action: PayloadAction<string>) => void;
|
|
35
|
+
closeErrorModal: (state: import("immer/dist/internal").WritableDraft<ModalState>) => void;
|
|
36
|
+
}, "modal">;
|
|
37
|
+
export declare const openModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | {
|
|
38
|
+
name: string;
|
|
39
|
+
additionalProps: AdditionalModalProps;
|
|
40
|
+
}, "modal/openModal">, closeModal: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"modal/closeModal">, openErrorTooltip: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "modal/openErrorTooltip">, closeErrorTooltip: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"modal/closeErrorTooltip">, openErrorModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "modal/openErrorModal">, closeErrorModal: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"modal/closeErrorModal">;
|
|
41
|
+
export declare const selectModalName: (state: RootState) => string | null;
|
|
42
|
+
export declare const selectModalIsOpen: (state: RootState) => boolean;
|
|
43
|
+
export declare const selectAdditionalProps: (state: RootState) => AdditionalModalProps | null;
|
|
44
|
+
export declare const selectErrorTooltipText: (state: RootState) => boolean;
|
|
45
|
+
export declare const selectErrorModalText: (state: RootState) => string;
|
|
46
|
+
export declare const modalReducer: import("redux").Reducer<ModalState, import("redux").AnyAction>;
|
|
47
|
+
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 './rnaBuilderSlice';
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { PayloadAction } from '@reduxjs/toolkit';
|
|
17
|
+
import { IRnaPreset } from "../../components/monomerLibrary/RnaBuilder/types";
|
|
18
|
+
import { RootState } from "./..";
|
|
19
|
+
import { MonomerGroups } from '../../constants';
|
|
20
|
+
import { MonomerItemType } from 'ketcher-core';
|
|
21
|
+
export declare enum RnaBuilderPresetsItem {
|
|
22
|
+
Presets = "Presets"
|
|
23
|
+
}
|
|
24
|
+
export declare type RnaBuilderItem = RnaBuilderPresetsItem | MonomerGroups;
|
|
25
|
+
interface IRnaBuilderState {
|
|
26
|
+
activePreset: IRnaPreset | null;
|
|
27
|
+
activePresetMonomerGroup: {
|
|
28
|
+
groupName: MonomerGroups;
|
|
29
|
+
groupItem: MonomerItemType;
|
|
30
|
+
} | null;
|
|
31
|
+
presets: IRnaPreset[];
|
|
32
|
+
activeRnaBuilderItem?: RnaBuilderItem | null;
|
|
33
|
+
isEditMode: boolean;
|
|
34
|
+
uniqueNameError: string;
|
|
35
|
+
activePresetForContextMenu: IRnaPreset | null;
|
|
36
|
+
}
|
|
37
|
+
export declare const monomerGroupToPresetGroup: {
|
|
38
|
+
Bases: string;
|
|
39
|
+
Sugars: string;
|
|
40
|
+
Phosphates: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const rnaBuilderSlice: import("@reduxjs/toolkit").Slice<IRnaBuilderState, {
|
|
43
|
+
createNewPreset: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>) => void;
|
|
44
|
+
setActivePreset: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<IRnaPreset>) => void;
|
|
45
|
+
setActivePresetForContextMenu: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<IRnaPreset>) => void;
|
|
46
|
+
setActivePresetName: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<string>) => void;
|
|
47
|
+
setActiveRnaBuilderItem: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<RnaBuilderItem | null>) => void;
|
|
48
|
+
setActivePresetMonomerGroup: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<{
|
|
49
|
+
groupName: MonomerGroups;
|
|
50
|
+
groupItem: MonomerItemType;
|
|
51
|
+
} | null>) => void;
|
|
52
|
+
savePreset: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<IRnaPreset>) => void;
|
|
53
|
+
deletePreset: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<IRnaPreset>) => void;
|
|
54
|
+
setIsEditMode: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<boolean>) => void;
|
|
55
|
+
setUniqueNameError: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<string>) => void;
|
|
56
|
+
setDefaultPresets: (state: RootState, action: PayloadAction<IRnaPreset[]>) => void;
|
|
57
|
+
setFavoritePresetsFromLocalStorage: (state: RootState) => void;
|
|
58
|
+
clearFavorites: (state: RootState) => void;
|
|
59
|
+
togglePresetFavorites: (state: import("immer/dist/internal").WritableDraft<IRnaBuilderState>, action: PayloadAction<IRnaPreset>) => void;
|
|
60
|
+
}, "rna-builder">;
|
|
61
|
+
export declare const selectActiveRnaBuilderItem: (state: RootState) => RnaBuilderItem;
|
|
62
|
+
export declare const selectActivePreset: (state: RootState) => IRnaPreset;
|
|
63
|
+
export declare const selectPresets: (state: RootState) => IRnaPreset[];
|
|
64
|
+
export declare const selectCurrentMonomerGroup: (preset: IRnaPreset, groupName: MonomerGroups | string) => any;
|
|
65
|
+
export declare const selectActivePresetMonomerGroup: (state: RootState) => any;
|
|
66
|
+
export declare const selectIsPresetReadyToSave: (preset: IRnaPreset) => boolean;
|
|
67
|
+
export declare const selectIsEditMode: (state: RootState) => boolean;
|
|
68
|
+
export declare const selectPresetFullName: (preset: IRnaPreset) => string;
|
|
69
|
+
export declare const selectUniqueNameError: (state: RootState) => any;
|
|
70
|
+
export declare const selectIsActivePresetNewAndEmpty: (state: RootState) => boolean;
|
|
71
|
+
export declare const selectActivePresetForContextMenu: (state: RootState) => any;
|
|
72
|
+
export declare const selectPresetsInFavorites: (items: IRnaPreset[]) => IRnaPreset[];
|
|
73
|
+
export declare const selectFilteredPresets: (state: any) => Array<IRnaPreset & {
|
|
74
|
+
favorite: boolean;
|
|
75
|
+
}>;
|
|
76
|
+
export declare const setActivePreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<IRnaPreset, "rna-builder/setActivePreset">, setActivePresetName: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "rna-builder/setActivePresetName">, setActiveRnaBuilderItem: import("@reduxjs/toolkit").ActionCreatorWithPayload<RnaBuilderItem | null, "rna-builder/setActiveRnaBuilderItem">, setActivePresetMonomerGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
77
|
+
groupName: MonomerGroups;
|
|
78
|
+
groupItem: MonomerItemType;
|
|
79
|
+
} | null, "rna-builder/setActivePresetMonomerGroup">, savePreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<IRnaPreset, "rna-builder/savePreset">, deletePreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<IRnaPreset, "rna-builder/deletePreset">, createNewPreset: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"rna-builder/createNewPreset">, setIsEditMode: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "rna-builder/setIsEditMode">, setUniqueNameError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "rna-builder/setUniqueNameError">, setDefaultPresets: import("@reduxjs/toolkit").ActionCreatorWithPayload<IRnaPreset[], "rna-builder/setDefaultPresets">, setActivePresetForContextMenu: import("@reduxjs/toolkit").ActionCreatorWithPayload<IRnaPreset, "rna-builder/setActivePresetForContextMenu">, togglePresetFavorites: import("@reduxjs/toolkit").ActionCreatorWithPayload<IRnaPreset, "rna-builder/togglePresetFavorites">, setFavoritePresetsFromLocalStorage: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"rna-builder/setFavoritePresetsFromLocalStorage">, clearFavorites: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"rna-builder/clearFavorites">;
|
|
80
|
+
export declare const rnaBuilderReducer: import("redux").Reducer<IRnaBuilderState, import("redux").AnyAction>;
|
|
81
|
+
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 declare function rootSaga(): Generator<import("redux-saga/effects").ForkEffect<void>, void, unknown>;
|
|
@@ -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
|
+
import { Store } from '@reduxjs/toolkit';
|
|
17
|
+
export declare function configureAppStore(preloadedState?: {}): Store<any, import("redux").AnyAction>;
|
|
18
|
+
export declare const store: Store<any, import("redux").AnyAction>;
|
|
19
|
+
export declare type RootState = ReturnType<typeof store.getState>;
|
|
20
|
+
export declare type AppDispatch = typeof store.dispatch;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const EditorWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { MonomerItemType, Struct } from 'ketcher-core';
|
|
2
|
+
export declare const monomers: MonomerItemType[];
|
|
3
|
+
export declare const preset: {
|
|
4
|
+
base: {
|
|
5
|
+
struct: {
|
|
6
|
+
atoms: {
|
|
7
|
+
nextId: number;
|
|
8
|
+
};
|
|
9
|
+
bonds: {
|
|
10
|
+
nextId: number;
|
|
11
|
+
};
|
|
12
|
+
sgroups: {
|
|
13
|
+
nextId: number;
|
|
14
|
+
};
|
|
15
|
+
halfBonds: {
|
|
16
|
+
nextId: number;
|
|
17
|
+
};
|
|
18
|
+
loops: {
|
|
19
|
+
nextId: number;
|
|
20
|
+
};
|
|
21
|
+
isReaction: boolean;
|
|
22
|
+
rxnArrows: {
|
|
23
|
+
nextId: number;
|
|
24
|
+
};
|
|
25
|
+
rxnPluses: {
|
|
26
|
+
nextId: number;
|
|
27
|
+
};
|
|
28
|
+
frags: {
|
|
29
|
+
nextId: number;
|
|
30
|
+
};
|
|
31
|
+
rgroups: {
|
|
32
|
+
nextId: number;
|
|
33
|
+
};
|
|
34
|
+
rgroupAttachmentPoints: {
|
|
35
|
+
nextId: number;
|
|
36
|
+
};
|
|
37
|
+
name: string;
|
|
38
|
+
abbreviation: string;
|
|
39
|
+
sGroupForest: {
|
|
40
|
+
parent: {};
|
|
41
|
+
children: {};
|
|
42
|
+
atomSets: {};
|
|
43
|
+
};
|
|
44
|
+
simpleObjects: {
|
|
45
|
+
nextId: number;
|
|
46
|
+
};
|
|
47
|
+
texts: {
|
|
48
|
+
nextId: number;
|
|
49
|
+
};
|
|
50
|
+
functionalGroups: {
|
|
51
|
+
nextId: number;
|
|
52
|
+
};
|
|
53
|
+
highlights: {
|
|
54
|
+
nextId: number;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
props: {
|
|
58
|
+
Name: string;
|
|
59
|
+
MonomerType: string;
|
|
60
|
+
MonomerName: string;
|
|
61
|
+
MonomerCode: string;
|
|
62
|
+
MonomerNaturalAnalogCode: string;
|
|
63
|
+
BranchMonomer: string;
|
|
64
|
+
MonomerCaps: {
|
|
65
|
+
R1: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
favorite: boolean;
|
|
69
|
+
label: string;
|
|
70
|
+
};
|
|
71
|
+
sugar: {
|
|
72
|
+
struct: {
|
|
73
|
+
atoms: {
|
|
74
|
+
nextId: number;
|
|
75
|
+
};
|
|
76
|
+
bonds: {
|
|
77
|
+
nextId: number;
|
|
78
|
+
};
|
|
79
|
+
sgroups: {
|
|
80
|
+
nextId: number;
|
|
81
|
+
};
|
|
82
|
+
halfBonds: {
|
|
83
|
+
nextId: number;
|
|
84
|
+
};
|
|
85
|
+
loops: {
|
|
86
|
+
nextId: number;
|
|
87
|
+
};
|
|
88
|
+
isReaction: boolean;
|
|
89
|
+
rxnArrows: {
|
|
90
|
+
nextId: number;
|
|
91
|
+
};
|
|
92
|
+
rxnPluses: {
|
|
93
|
+
nextId: number;
|
|
94
|
+
};
|
|
95
|
+
frags: {
|
|
96
|
+
nextId: number;
|
|
97
|
+
};
|
|
98
|
+
rgroups: {
|
|
99
|
+
nextId: number;
|
|
100
|
+
};
|
|
101
|
+
rgroupAttachmentPoints: {
|
|
102
|
+
nextId: number;
|
|
103
|
+
};
|
|
104
|
+
name: string;
|
|
105
|
+
abbreviation: string;
|
|
106
|
+
sGroupForest: {
|
|
107
|
+
parent: {};
|
|
108
|
+
children: {};
|
|
109
|
+
atomSets: {};
|
|
110
|
+
};
|
|
111
|
+
simpleObjects: {
|
|
112
|
+
nextId: number;
|
|
113
|
+
};
|
|
114
|
+
texts: {
|
|
115
|
+
nextId: number;
|
|
116
|
+
};
|
|
117
|
+
functionalGroups: {
|
|
118
|
+
nextId: number;
|
|
119
|
+
};
|
|
120
|
+
highlights: {
|
|
121
|
+
nextId: number;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
props: {
|
|
125
|
+
Name: string;
|
|
126
|
+
MonomerType: string;
|
|
127
|
+
MonomerName: string;
|
|
128
|
+
MonomerCode: string;
|
|
129
|
+
MonomerNaturalAnalogCode: string;
|
|
130
|
+
BranchMonomer: string;
|
|
131
|
+
MonomerCaps: {
|
|
132
|
+
R1: string;
|
|
133
|
+
R2: string;
|
|
134
|
+
R3: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
favorite: boolean;
|
|
138
|
+
label: string;
|
|
139
|
+
};
|
|
140
|
+
phosphate: {
|
|
141
|
+
struct: {
|
|
142
|
+
atoms: {
|
|
143
|
+
nextId: number;
|
|
144
|
+
};
|
|
145
|
+
bonds: {
|
|
146
|
+
nextId: number;
|
|
147
|
+
};
|
|
148
|
+
sgroups: {
|
|
149
|
+
nextId: number;
|
|
150
|
+
};
|
|
151
|
+
halfBonds: {
|
|
152
|
+
nextId: number;
|
|
153
|
+
};
|
|
154
|
+
loops: {
|
|
155
|
+
nextId: number;
|
|
156
|
+
};
|
|
157
|
+
isReaction: boolean;
|
|
158
|
+
rxnArrows: {
|
|
159
|
+
nextId: number;
|
|
160
|
+
};
|
|
161
|
+
rxnPluses: {
|
|
162
|
+
nextId: number;
|
|
163
|
+
};
|
|
164
|
+
frags: {
|
|
165
|
+
nextId: number;
|
|
166
|
+
};
|
|
167
|
+
rgroups: {
|
|
168
|
+
nextId: number;
|
|
169
|
+
};
|
|
170
|
+
rgroupAttachmentPoints: {
|
|
171
|
+
nextId: number;
|
|
172
|
+
};
|
|
173
|
+
name: string;
|
|
174
|
+
abbreviation: string;
|
|
175
|
+
sGroupForest: {
|
|
176
|
+
parent: {};
|
|
177
|
+
children: {};
|
|
178
|
+
atomSets: {};
|
|
179
|
+
};
|
|
180
|
+
simpleObjects: {
|
|
181
|
+
nextId: number;
|
|
182
|
+
};
|
|
183
|
+
texts: {
|
|
184
|
+
nextId: number;
|
|
185
|
+
};
|
|
186
|
+
functionalGroups: {
|
|
187
|
+
nextId: number;
|
|
188
|
+
};
|
|
189
|
+
highlights: {
|
|
190
|
+
nextId: number;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
props: {
|
|
194
|
+
Name: string;
|
|
195
|
+
MonomerType: string;
|
|
196
|
+
MonomerName: string;
|
|
197
|
+
MonomerCode: string;
|
|
198
|
+
MonomerNaturalAnalogCode: string;
|
|
199
|
+
BranchMonomer: string;
|
|
200
|
+
MonomerCaps: {
|
|
201
|
+
R1: string;
|
|
202
|
+
R2: string;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
favorite: boolean;
|
|
206
|
+
label: string;
|
|
207
|
+
};
|
|
208
|
+
name: string;
|
|
209
|
+
default: boolean;
|
|
210
|
+
};
|
|
211
|
+
declare const phosphate: {
|
|
212
|
+
props: {
|
|
213
|
+
MonomerName: string;
|
|
214
|
+
Name: string;
|
|
215
|
+
MonomerNaturalAnalogCode: string;
|
|
216
|
+
MonomerType: string;
|
|
217
|
+
BranchMonomer: string;
|
|
218
|
+
MonomerCaps: {};
|
|
219
|
+
MonomerCode: string;
|
|
220
|
+
};
|
|
221
|
+
label: string;
|
|
222
|
+
struct: Struct;
|
|
223
|
+
};
|
|
224
|
+
declare const ribose: {
|
|
225
|
+
props: {
|
|
226
|
+
MonomerName: string;
|
|
227
|
+
Name: string;
|
|
228
|
+
MonomerNaturalAnalogCode: string;
|
|
229
|
+
MonomerType: string;
|
|
230
|
+
BranchMonomer: string;
|
|
231
|
+
MonomerCaps: {};
|
|
232
|
+
MonomerCode: string;
|
|
233
|
+
};
|
|
234
|
+
label: string;
|
|
235
|
+
struct: Struct;
|
|
236
|
+
};
|
|
237
|
+
declare const thymine: {
|
|
238
|
+
props: {
|
|
239
|
+
MonomerName: string;
|
|
240
|
+
Name: string;
|
|
241
|
+
MonomerNaturalAnalogCode: string;
|
|
242
|
+
MonomerType: string;
|
|
243
|
+
BranchMonomer: string;
|
|
244
|
+
MonomerCaps: {};
|
|
245
|
+
MonomerCode: string;
|
|
246
|
+
};
|
|
247
|
+
label: string;
|
|
248
|
+
struct: Struct;
|
|
249
|
+
};
|
|
250
|
+
declare const cytosine: {
|
|
251
|
+
props: {
|
|
252
|
+
MonomerName: string;
|
|
253
|
+
Name: string;
|
|
254
|
+
MonomerNaturalAnalogCode: string;
|
|
255
|
+
MonomerType: string;
|
|
256
|
+
BranchMonomer: string;
|
|
257
|
+
MonomerCaps: {};
|
|
258
|
+
MonomerCode: string;
|
|
259
|
+
};
|
|
260
|
+
label: string;
|
|
261
|
+
struct: Struct;
|
|
262
|
+
};
|
|
263
|
+
declare const uracil: {
|
|
264
|
+
props: {
|
|
265
|
+
MonomerName: string;
|
|
266
|
+
Name: string;
|
|
267
|
+
MonomerNaturalAnalogCode: string;
|
|
268
|
+
MonomerType: string;
|
|
269
|
+
BranchMonomer: string;
|
|
270
|
+
MonomerCaps: {};
|
|
271
|
+
MonomerCode: string;
|
|
272
|
+
};
|
|
273
|
+
label: string;
|
|
274
|
+
struct: Struct;
|
|
275
|
+
};
|
|
276
|
+
declare const adenine: {
|
|
277
|
+
props: {
|
|
278
|
+
MonomerName: string;
|
|
279
|
+
Name: string;
|
|
280
|
+
MonomerNaturalAnalogCode: string;
|
|
281
|
+
MonomerType: string;
|
|
282
|
+
BranchMonomer: string;
|
|
283
|
+
MonomerCaps: {};
|
|
284
|
+
MonomerCode: string;
|
|
285
|
+
};
|
|
286
|
+
label: string;
|
|
287
|
+
struct: Struct;
|
|
288
|
+
};
|
|
289
|
+
declare const guanine: {
|
|
290
|
+
props: {
|
|
291
|
+
MonomerName: string;
|
|
292
|
+
Name: string;
|
|
293
|
+
MonomerNaturalAnalogCode: string;
|
|
294
|
+
MonomerType: string;
|
|
295
|
+
BranchMonomer: string;
|
|
296
|
+
MonomerCaps: {};
|
|
297
|
+
MonomerCode: string;
|
|
298
|
+
};
|
|
299
|
+
label: string;
|
|
300
|
+
struct: Struct;
|
|
301
|
+
};
|
|
302
|
+
export { phosphate, ribose, cytosine, guanine, thymine, uracil, adenine };
|