ketcher-macromolecules 3.21.0 → 3.23.0-dev.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/dist/Editor.d.ts +2 -3
- package/dist/components/FloatingTools/FloatingTools.d.ts +1 -1
- package/dist/components/FullscreenButton/FullscreenButton.d.ts +1 -1
- package/dist/components/FullscreenButton/index.d.ts +1 -1
- package/dist/components/Layout/Layout.d.ts +19 -1
- package/dist/components/Layout/index.d.ts +1 -1
- package/dist/components/LayoutModeButton/LayoutModeButton.d.ts +1 -1
- package/dist/components/LayoutModeButton/index.d.ts +1 -1
- package/dist/components/LeftMenuComponent/LeftMenuComponent.d.ts +1 -1
- package/dist/components/LeftMenuComponent/index.d.ts +1 -1
- package/dist/components/SequenceSyncEditModeButton/SequenceSyncEditModeButton.d.ts +1 -1
- package/dist/components/SequenceSyncEditModeButton/index.d.ts +1 -1
- package/dist/components/SequenceTypeGroupButton/SequenceTypeGroupButton.d.ts +1 -1
- package/dist/components/SequenceTypeGroupButton/index.d.ts +1 -1
- package/dist/components/TopMenuComponent/TopMenuComponent.d.ts +1 -1
- package/dist/components/TopMenuComponent/index.d.ts +1 -1
- package/dist/components/TopMenuComponent/menuItemHandlers.d.ts +24 -0
- package/dist/components/ZoomControls/ZoomControls.d.ts +1 -1
- package/dist/components/ZoomControls/ZoomInput.d.ts +1 -1
- package/dist/components/ZoomControls/helpers.d.ts +3 -0
- package/dist/components/ZoomControls/styles.d.ts +2 -2
- package/dist/components/contextMenu/ContextMenu.d.ts +3 -2
- package/dist/components/contextMenu/useMonomerCreationMenu.d.ts +1 -1
- package/dist/components/macromoleculeProperties/CalculateMacromoleculePropertiesButton.d.ts +1 -1
- package/dist/components/macromoleculeProperties/MacromoleculePropertiesWindow.d.ts +1 -1
- package/dist/components/macromoleculeProperties/index.d.ts +1 -1
- package/dist/components/menu/Menu.d.ts +1 -1
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/menuItem/MenuItem.d.ts +1 -1
- package/dist/components/menu/menuItem/index.d.ts +1 -1
- package/dist/components/menu/menuItem/styles.d.ts +1 -1
- package/dist/components/menu/styles.d.ts +1 -1
- package/dist/components/menu/subMenu/SubMenu.d.ts +1 -1
- package/dist/components/menu/subMenu/index.d.ts +1 -1
- package/dist/components/menu/subMenu/styles.d.ts +1 -1
- package/dist/components/menu/subMenu/types.d.ts +1 -1
- package/dist/components/menu/types.d.ts +1 -1
- package/dist/components/modal/About/About.d.ts +1 -1
- package/dist/components/modal/ConfirmationDialog/ConfirmationDialog.d.ts +1 -1
- package/dist/components/modal/Delete/index.d.ts +1 -1
- package/dist/components/modal/Delete/styledComponents.d.ts +1 -1
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/index.d.ts +1 -1
- package/dist/components/modal/Open/AnalyzingFile/index.d.ts +1 -1
- package/dist/components/modal/Open/Open.styles.d.ts +1 -1
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.d.ts +1 -1
- package/dist/components/modal/Open/OpenOptions/FileDrop/index.d.ts +1 -1
- package/dist/components/modal/Open/OpenOptions/index.d.ts +1 -1
- package/dist/components/modal/Open/ViewSwitcher/ViewSwitcher.d.ts +1 -1
- package/dist/components/modal/Open/ViewSwitcher/index.d.ts +1 -1
- package/dist/components/modal/Open/fileOpener.d.ts +1 -1
- package/dist/components/modal/Open/index.d.ts +1 -1
- package/dist/components/modal/Settings/Settings.styles.d.ts +11 -29
- package/dist/components/modal/Settings/{SettingsField.d.ts → SettingsFieldControl.d.ts} +6 -14
- package/dist/components/modal/Settings/{Settings.d.ts → SettingsPanelAdapter.d.ts} +8 -2
- package/dist/components/modal/Settings/index.d.ts +2 -2
- package/dist/components/modal/Settings/settingsFields.d.ts +63 -0
- package/dist/components/modal/UpdateSequenceInRNABuilder/index.d.ts +1 -1
- package/dist/components/modal/modalContainer/index.d.ts +1 -1
- package/dist/components/modal/modalContainer/modalComponentList.d.ts +10 -10
- package/dist/components/modal/modalContainer/types.d.ts +1 -2
- package/dist/components/modal/monomerConnection/MonomerConnections.d.ts +3 -3
- package/dist/components/modal/save/Save.d.ts +1 -1
- package/dist/components/modal/save/Save.styles.d.ts +1 -1
- package/dist/components/modal/save/index.d.ts +1 -1
- package/dist/components/monomerLibrary/MonomerLibrary.d.ts +1 -1
- package/dist/components/monomerLibrary/MonomerLibraryContextMenu.utils.d.ts +32 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaBuilder.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditor.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/RnaEditorCollapsed.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlock.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockCompact.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockWide.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/resetRnaBuilder.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/PresetPhosphateFilterPopup.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElements.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/Summary.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/groupNameToTabLabelKey.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/hooks/useGroupsData.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/styles.d.ts +4 -4
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetGroup/RnaPresetGroup.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetItem/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetItem/types.d.ts +1 -1
- package/dist/components/monomerLibrary/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryGroup/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryGroup/types.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/types.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/types.d.ts +2 -2
- package/dist/components/monomerLibrary/styles.d.ts +3 -1
- package/dist/components/monomerLibrary/tabsContent.d.ts +1 -1
- package/dist/components/preview/Preview.d.ts +1 -1
- package/dist/components/preview/components/BondAttachmentPoints/BondAttachmentPoints.d.ts +1 -1
- package/dist/components/preview/components/MonomerPreview/MonomerPreview.d.ts +1 -1
- package/dist/components/preview/components/PresetPreview/PresetPreview.styles.d.ts +1 -1
- package/dist/components/preview/helpers.d.ts +1 -1
- package/dist/components/preview/hooks/useIDTAliasesTextForPreset.d.ts +1 -1
- package/dist/components/shared/Tabs/Tabs.d.ts +1 -1
- package/dist/components/shared/Tabs/Tabs.styles.d.ts +3 -3
- package/dist/components/shared/Tabs/index.d.ts +1 -1
- package/dist/components/shared/TextArea/TextArea.d.ts +1 -1
- package/dist/components/shared/TextArea/index.d.ts +1 -1
- package/dist/components/shared/actionButton/ActionButton.d.ts +1 -1
- package/dist/components/shared/dropDown/dropDown.d.ts +1 -1
- package/dist/components/shared/dropDown/index.d.ts +1 -1
- package/dist/components/shared/dropDown/styledIcons.d.ts +1 -1
- package/dist/components/shared/icon/icon.d.ts +1 -1
- package/dist/components/shared/modal/Modal.d.ts +11 -1
- package/dist/components/shared/monomerOnCanvas/Chem.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Nucleotide.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Peptide.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Phosphate.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/RNABase.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/SequenceStartArrow.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Sugar.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/UnresolvedMonomer.d.ts +1 -1
- package/dist/components/shared/textInputField/TextInputField.d.ts +1 -1
- package/dist/components/shared/textInputField/index.d.ts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/contexts/index.d.ts +3 -4
- package/dist/contexts/menuContext.d.ts +1 -1
- package/dist/helpers/formats/formatProperties.d.ts +1 -1
- package/dist/helpers/formats/index.d.ts +1 -1
- package/dist/helpers/formats/supportedFormatProperties.d.ts +2 -2
- package/dist/helpers/getPreset.d.ts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/rnaValidations.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/stateHooks.d.ts +2 -2
- package/dist/hooks/useDebouncedShowPreview.d.ts +2 -2
- package/dist/hooks/useMenuContext.d.ts +1 -1
- package/dist/i18n/localeResources.generated.d.ts +252 -225
- package/dist/index.css +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13674 -16124
- package/dist/index.modern.js +13643 -16094
- package/dist/setupTests.d.ts +1 -1
- package/dist/state/common/editorSlice.d.ts +7 -7
- package/dist/state/common/index.d.ts +1 -1
- package/dist/state/index.d.ts +2 -2
- package/dist/state/library/index.d.ts +1 -1
- package/dist/state/library/librarySlice.d.ts +5 -5
- package/dist/state/modal/index.d.ts +1 -1
- package/dist/state/modal/modalSlice.d.ts +4 -3
- package/dist/state/rna-builder/index.d.ts +1 -1
- package/dist/state/rna-builder/rnaBuilderSlice.d.ts +17 -14
- package/dist/state/store.d.ts +1 -1
- package/dist/testUtils/storeProviders.d.ts +3 -0
- package/dist/testUtils/themeProvider.d.ts +1 -0
- package/dist/theming/defaultTheme/defaultTheme.d.ts +1 -1
- package/dist/theming/defaultTheme/index.d.ts +1 -1
- package/dist/theming/defaultTheme/theme.types.d.ts +1 -1
- package/dist/theming/globalStyles/getGlobalStyles.d.ts +1 -1
- package/dist/theming/globalStyles/index.d.ts +1 -1
- package/dist/theming/mixins/index.d.ts +1 -1
- package/dist/theming/mixins/mixins.d.ts +2 -2
- package/package.json +22 -39
- package/dist/components/FullscreenButton/FullscreenButton.test.d.ts +0 -1
- package/dist/components/Layout/Layout.test.d.ts +0 -16
- package/dist/components/Ruler/RulerArea.test.d.ts +0 -1
- package/dist/components/SequenceSyncEditModeButton/SequenceSyncEditModeButton.test.d.ts +0 -16
- package/dist/components/contextMenu/RNAContextMenu.test.d.ts +0 -16
- package/dist/components/contextMenu/SelectedMonomersContextMenu/helpers.test.d.ts +0 -1
- package/dist/components/contextMenu/SequenceItemContextMenu/SequenceItemContextMenu.test.d.ts +0 -16
- package/dist/components/contextMenu/SequenceItemContextMenu/helpers.test.d.ts +0 -1
- package/dist/components/contextMenu/monomerCreation.helpers.test.d.ts +0 -1
- package/dist/components/contextMenu/useMonomerCreationMenu.test.d.ts +0 -1
- package/dist/components/menu/Menu.test.d.ts +0 -1
- package/dist/components/menu/menuItem/MenuItem.test.d.ts +0 -1
- package/dist/components/menu/subMenu/SubMenu.test.d.ts +0 -1
- package/dist/components/modal/Delete/Delete.test.d.ts +0 -16
- package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.test.d.ts +0 -1
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.test.d.ts +0 -1
- package/dist/components/modal/Open/Open.test.d.ts +0 -16
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.test.d.ts +0 -1
- package/dist/components/modal/Open/OpenOptions/OpenOptions.test.d.ts +0 -1
- package/dist/components/modal/Settings/SettingsAccordion.d.ts +0 -24
- package/dist/components/modal/Settings/SettingsAccordion.styles.d.ts +0 -27
- package/dist/components/modal/Settings/SettingsFields.d.ts +0 -24
- package/dist/components/modal/Settings/fieldGroups.d.ts +0 -46
- package/dist/components/modal/UpdateSequenceInRNABuilder/UpdateSequenceInRNABuilder.test.d.ts +0 -16
- package/dist/components/modal/monomerConnection/MonomerConnections.test.d.ts +0 -1
- package/dist/components/modal/save/Save.test.d.ts +0 -16
- package/dist/components/monomerLibrary/MonomerLibraryContextMenu.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/sequenceEdit.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/updateSequenceConfirmation.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.test.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.test.d.ts +0 -16
- package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.test.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/hooks/useDisabledForSequenceMode.test.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.test.d.ts +0 -16
- package/dist/components/preview/Preview.component.test.d.ts +0 -1
- package/dist/components/preview/Preview.test.d.ts +0 -1
- package/dist/components/preview/components/PresetPreview/PresetPreview.test.d.ts +0 -1
- package/dist/components/shared/actionButton/ActionButton.test.d.ts +0 -16
- package/dist/components/shared/dropDown/dropDown.test.d.ts +0 -16
- package/dist/components/shared/modal/Modal.test.d.ts +0 -16
- package/dist/helpers/countNucleoelents.test.d.ts +0 -1
- package/dist/helpers/getMonomerName.test.d.ts +0 -1
- package/dist/helpers/getPresets.test.d.ts +0 -16
- package/dist/helpers/rnaValidations.test.d.ts +0 -1
- package/dist/helpers/sequenceTypeStorage.test.d.ts +0 -1
- package/dist/hooks/useSetRnaPresets.test.d.ts +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js.map +0 -1
- package/dist/state/library/librarySlice.test.d.ts +0 -16
- package/dist/state/rna-builder/rnaBuilderSlice.test.d.ts +0 -16
- package/dist/styledComponents.test.d.ts +0 -1
- package/dist/testMocks/ketcher-react.d.ts +0 -61
- package/dist/testMocks/react-contexify.d.ts +0 -14
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -13,39 +13,21 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
export declare const
|
|
17
|
-
theme?: import("@emotion/react").Theme;
|
|
18
|
-
as?: React.ElementType;
|
|
19
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
|
-
export declare const HeaderContent: import("@emotion/styled").StyledComponent<{
|
|
21
|
-
theme?: import("@emotion/react").Theme;
|
|
22
|
-
as?: React.ElementType;
|
|
23
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
24
|
-
export declare const HeaderTitle: import("@emotion/styled").StyledComponent<{
|
|
25
|
-
theme?: import("@emotion/react").Theme;
|
|
26
|
-
as?: React.ElementType;
|
|
27
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
28
|
-
export declare const HeaderButton: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
export declare const HeaderIconButton: import("@emotion/styled").StyledComponent<{
|
|
29
17
|
theme?: import("@emotion/react").Theme;
|
|
30
18
|
as?: React.ElementType;
|
|
31
19
|
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
as?: React.ElementType;
|
|
35
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
36
|
-
export declare const FooterRight: import("@emotion/styled").StyledComponent<{
|
|
37
|
-
theme?: import("@emotion/react").Theme;
|
|
38
|
-
as?: React.ElementType;
|
|
39
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
|
-
export declare const FieldsContainer: import("@emotion/styled").StyledComponent<{
|
|
20
|
+
/** Set ACS Settings sits in the title row next to the icon controls */
|
|
21
|
+
export declare const HeaderTextButton: import("@emotion/styled").StyledComponent<{
|
|
41
22
|
theme?: import("@emotion/react").Theme;
|
|
42
23
|
as?: React.ElementType;
|
|
43
|
-
}, import("react").DetailedHTMLProps<import("react").
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
25
|
+
/**
|
|
26
|
+
* Covers the canvas area while the Settings window is open. It is fully
|
|
27
|
+
* transparent, so the structure stays visible, but it swallows every pointer
|
|
28
|
+
* event so the canvas cannot be modified.
|
|
29
|
+
*/
|
|
30
|
+
export declare const CanvasCaptureLayer: import("@emotion/styled").StyledComponent<{
|
|
49
31
|
theme?: import("@emotion/react").Theme;
|
|
50
32
|
as?: React.ElementType;
|
|
51
33
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -13,21 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import type
|
|
17
|
-
interface
|
|
18
|
-
|
|
19
|
-
labelKey: string;
|
|
20
|
-
type: 'checkbox' | 'number' | 'text' | 'select' | 'color';
|
|
16
|
+
import { type SettingFieldValue, type SettingsFieldDescriptor } from './settingsFields';
|
|
17
|
+
interface SettingsFieldControlProps {
|
|
18
|
+
field: SettingsFieldDescriptor;
|
|
21
19
|
value: SettingFieldValue | undefined;
|
|
20
|
+
unitValue?: SettingFieldValue;
|
|
22
21
|
onChange: (value: SettingFieldValue) => void;
|
|
23
|
-
|
|
24
|
-
value: SettingFieldValue;
|
|
25
|
-
labelKey: string;
|
|
26
|
-
}>;
|
|
27
|
-
min?: number;
|
|
28
|
-
max?: number;
|
|
29
|
-
step?: number;
|
|
30
|
-
tooltipKey?: string;
|
|
22
|
+
onUnitChange?: (value: SettingFieldValue) => void;
|
|
31
23
|
}
|
|
32
|
-
export declare const
|
|
24
|
+
export declare const SettingsFieldControl: ({ field, value, unitValue, onChange, onUnitChange, }: SettingsFieldControlProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
33
25
|
export {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -14,4 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import { RequiredModalProps } from '../modalContainer';
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Thin adapter between the shared presentational panel from ketcher-react and
|
|
19
|
+
* `SettingsService`: it stages the service's values locally and only writes them
|
|
20
|
+
* back on Apply. It deliberately does not wrap itself in `shared/modal`'s Modal,
|
|
21
|
+
* which is what keeps the macro canvas visible and undimmed.
|
|
22
|
+
*/
|
|
23
|
+
export declare const SettingsPanelAdapter: ({ isModalOpen, onClose, }: RequiredModalProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
export {
|
|
16
|
+
export { SettingsPanelAdapter } from './SettingsPanelAdapter';
|
|
@@ -0,0 +1,63 @@
|
|
|
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 type { SettingsFormValue } from 'ketcher-core';
|
|
17
|
+
import type { SettingsFieldLayout } from 'ketcher-react';
|
|
18
|
+
export type SettingFieldValue = boolean | number | string;
|
|
19
|
+
export type SettingFieldName = {
|
|
20
|
+
[Key in keyof SettingsFormValue]-?: Exclude<SettingsFormValue[Key], undefined> extends SettingFieldValue ? Key : never;
|
|
21
|
+
}[keyof SettingsFormValue];
|
|
22
|
+
export type SettingsFieldControlType = 'checkbox' | 'number' | 'text' | 'select' | 'color';
|
|
23
|
+
export interface SettingsFieldDescriptor {
|
|
24
|
+
name: SettingFieldName;
|
|
25
|
+
/**
|
|
26
|
+
* Keys resolve against the `settings` and `dialogs` namespaces of ketcher-react,
|
|
27
|
+
* so both modes always render the same label and the same hint for a field.
|
|
28
|
+
* Values that are not translation keys (font family names, unit abbreviations
|
|
29
|
+
* are handled through `settings:units.*`) are passed through unchanged.
|
|
30
|
+
*/
|
|
31
|
+
labelKey: string;
|
|
32
|
+
control: SettingsFieldControlType;
|
|
33
|
+
/** Paired unit dropdown rendered right of a number input */
|
|
34
|
+
unitName?: SettingFieldName;
|
|
35
|
+
options?: Array<{
|
|
36
|
+
value: SettingFieldValue;
|
|
37
|
+
labelKey: string;
|
|
38
|
+
}>;
|
|
39
|
+
min?: number;
|
|
40
|
+
max?: number;
|
|
41
|
+
step?: number;
|
|
42
|
+
/** Description rendered as static text beneath the control */
|
|
43
|
+
hintKey?: string;
|
|
44
|
+
hintAlign?: 'left' | 'right';
|
|
45
|
+
/** Override the default layout derived from `control`; e.g. 'measure-stacked' */
|
|
46
|
+
layout?: SettingsFieldLayout;
|
|
47
|
+
}
|
|
48
|
+
export interface SettingsFieldGroupDescriptor {
|
|
49
|
+
id: string;
|
|
50
|
+
titleKey: string;
|
|
51
|
+
fields: SettingsFieldDescriptor[];
|
|
52
|
+
}
|
|
53
|
+
declare const UNIT_OPTIONS: {
|
|
54
|
+
value: string;
|
|
55
|
+
labelKey: string;
|
|
56
|
+
}[];
|
|
57
|
+
/**
|
|
58
|
+
* Group order, field order, labels and hints mirror the molecules-mode panel.
|
|
59
|
+
* The two modes keep separate descriptors because their data sources differ
|
|
60
|
+
* (JSON-schema form vs. plain values from SettingsService).
|
|
61
|
+
*/
|
|
62
|
+
export declare const SETTINGS_FIELD_GROUPS: SettingsFieldGroupDescriptor[];
|
|
63
|
+
export { UNIT_OPTIONS };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import { Open } from '
|
|
17
|
-
import { Save } from '
|
|
18
|
-
import { Delete } from '
|
|
19
|
-
import { UpdateSequenceInRNABuilder } from '
|
|
20
|
-
import { MonomerConnection } from '
|
|
21
|
-
import { ConfirmationDialog } from '
|
|
22
|
-
import {
|
|
23
|
-
import { ModalName } from 'state/modal';
|
|
24
|
-
export declare const modalComponentList: Record<ModalName, typeof Open | typeof Save | typeof Delete | typeof UpdateSequenceInRNABuilder | typeof MonomerConnection | typeof ConfirmationDialog | typeof
|
|
16
|
+
import { Open } from '../../modal/Open';
|
|
17
|
+
import { Save } from '../../modal/save';
|
|
18
|
+
import { Delete } from '../../modal/Delete';
|
|
19
|
+
import { UpdateSequenceInRNABuilder } from '../../modal/UpdateSequenceInRNABuilder';
|
|
20
|
+
import { MonomerConnection } from '../../modal/monomerConnection';
|
|
21
|
+
import { ConfirmationDialog } from '../../modal/ConfirmationDialog';
|
|
22
|
+
import { SettingsPanelAdapter } from '../../modal/Settings';
|
|
23
|
+
import { ModalName } from '../../../state/modal';
|
|
24
|
+
export declare const modalComponentList: Record<ModalName, typeof Open | typeof Save | typeof Delete | typeof UpdateSequenceInRNABuilder | typeof MonomerConnection | typeof ConfirmationDialog | typeof SettingsPanelAdapter>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { BaseMonomer } from 'ketcher-core';
|
|
2
|
-
import { PolymerBond } from 'ketcher-core/dist/domain/entities/PolymerBond';
|
|
1
|
+
import { BaseMonomer, PolymerBond } from 'ketcher-core';
|
|
3
2
|
export interface MonomerConnectionOnlyProps {
|
|
4
3
|
firstMonomer?: BaseMonomer;
|
|
5
4
|
secondMonomer?: BaseMonomer;
|
|
@@ -6,7 +6,7 @@ export declare const ActionButtonLeft: import("@emotion/styled").StyledComponent
|
|
|
6
6
|
label: string;
|
|
7
7
|
clickHandler: () => void;
|
|
8
8
|
styleType?: string;
|
|
9
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "
|
|
9
|
+
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
|
|
10
10
|
component?: React.ElementType;
|
|
11
11
|
} & {
|
|
12
12
|
theme?: import("@emotion/react").Theme;
|
|
@@ -15,7 +15,7 @@ export declare const ActionButtonRight: import("@emotion/styled").StyledComponen
|
|
|
15
15
|
label: string;
|
|
16
16
|
clickHandler: () => void;
|
|
17
17
|
styleType?: string;
|
|
18
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "
|
|
18
|
+
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
|
|
19
19
|
component?: React.ElementType;
|
|
20
20
|
} & {
|
|
21
21
|
theme?: import("@emotion/react").Theme;
|
|
@@ -24,7 +24,7 @@ export declare const ActionButtonAttachmentPoint: import("@emotion/styled").Styl
|
|
|
24
24
|
label: string;
|
|
25
25
|
clickHandler: () => void;
|
|
26
26
|
styleType?: string;
|
|
27
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "
|
|
27
|
+
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
|
|
28
28
|
component?: React.ElementType;
|
|
29
29
|
} & {
|
|
30
30
|
theme?: import("@emotion/react").Theme;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -6,7 +6,7 @@ export declare const Row: import("@emotion/styled").StyledComponent<{
|
|
|
6
6
|
theme?: import("@emotion/react").Theme;
|
|
7
7
|
as?: React.ElementType;
|
|
8
8
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
export declare const StyledDropdown: import("@emotion/styled").StyledComponent<import("
|
|
9
|
+
export declare const StyledDropdown: import("@emotion/styled").StyledComponent<import("../../shared/dropDown").DropDownProps & {
|
|
10
10
|
theme?: import("@emotion/react").Theme;
|
|
11
11
|
}, {}, {}>;
|
|
12
12
|
export declare const stylesForExpanded: {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type CoreEditor, type IKetMonomerGroupTemplate, type MonomerItemType } from 'ketcher-core';
|
|
2
|
+
import { type IRnaPreset } from '../monomerLibrary/RnaBuilder/types';
|
|
3
|
+
export declare const DELETE_CONFIRMATION: {
|
|
4
|
+
onCanvas: {
|
|
5
|
+
title: string;
|
|
6
|
+
confirmationText: string;
|
|
7
|
+
};
|
|
8
|
+
inPreset: {
|
|
9
|
+
title: string;
|
|
10
|
+
confirmationText: string;
|
|
11
|
+
};
|
|
12
|
+
onCanvasAndInPreset: {
|
|
13
|
+
title: string;
|
|
14
|
+
confirmationText: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Removes the monomer from the library together with every preset that
|
|
19
|
+
* references it, keeping the KET library data and the Redux custom presets
|
|
20
|
+
* (and their localStorage cache) in sync.
|
|
21
|
+
*/
|
|
22
|
+
export declare const deleteMonomerWithPresets: (editor: CoreEditor, monomer: MonomerItemType, referencingPresets: IKetMonomerGroupTemplate[], customPresets: IRnaPreset[], deleteCustomPreset: (preset: IRnaPreset) => void) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Custom RNA presets (created in the RNA Builder) are stored in Redux state
|
|
25
|
+
* and localStorage, NOT in `_monomersLibraryParsedJson`. This function checks
|
|
26
|
+
* those presets so the delete confirmation covers them too.
|
|
27
|
+
*/
|
|
28
|
+
export declare const getReferencingCustomPresets: (monomer: MonomerItemType, customPresets: IRnaPreset[]) => IRnaPreset[];
|
|
29
|
+
export declare const getDeleteConfirmation: (isOnCanvas: boolean, hasReferencingPresets: boolean) => {
|
|
30
|
+
title: string;
|
|
31
|
+
confirmationText: string;
|
|
32
|
+
} | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IGroupBlockProps } from './types';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
export declare const GroupBlockCompact: ({ groupName, iconName, monomerName, selected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const GroupBlockCompact: ({ groupName, iconName, monomerName, selected: isSelected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import { IGroupBlockProps } from './types';
|
|
17
17
|
import { PropsWithChildren } from 'react';
|
|
18
|
-
export declare const GroupBlockWide: ({ groupName, iconName, monomerName, selected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const GroupBlockWide: ({ groupName, iconName, monomerName, selected: isSelected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import { IconName } from 'ketcher-react';
|
|
17
|
-
import { MonomerGroups } from '
|
|
17
|
+
import { MonomerGroups } from '../../../../../../constants';
|
|
18
18
|
export interface IGroupBlockProps {
|
|
19
19
|
groupName: MonomerGroups;
|
|
20
20
|
iconName: IconName;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import { IRnaEditorExpandedProps } from '
|
|
16
|
+
import { IRnaEditorExpandedProps } from '../../../../monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/types';
|
|
17
17
|
export declare const RnaEditorExpanded: ({ isEditMode, onDuplicate, }: IRnaEditorExpandedProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { AnyAction, Dispatch } from 'redux';
|
|
2
2
|
import { CoreEditor } from 'ketcher-core';
|
|
3
3
|
export declare const resetRnaBuilder: (dispatch: Dispatch<AnyAction>) => void;
|
|
4
|
-
export declare const resetRnaBuilderAfterSequenceUpdate: (dispatch: Dispatch<AnyAction>, editor: CoreEditor | undefined,
|
|
4
|
+
export declare const resetRnaBuilderAfterSequenceUpdate: (dispatch: Dispatch<AnyAction>, editor: CoreEditor | undefined, shouldRemoveSelection?: boolean) => void;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/PresetPhosphateFilterPopup.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
***************************************************************************/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
type Props = {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RnaElementsViewProps } from '
|
|
1
|
+
import { RnaElementsViewProps } from '../../../monomerLibrary/RnaBuilder/RnaElementsView/types';
|
|
2
2
|
declare const _default: import("react").MemoExoticComponent<({ activeRnaBuilderItem, groupsData, onNewPresetClick, onSelectItem, duplicatePreset, editPreset, libraryName, }: RnaElementsViewProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
3
3
|
export default _default;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|