ketcher-macromolecules 3.22.0-rc.1 → 3.23.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Editor.d.ts +1 -2
- package/dist/components/TopMenuComponent/menuItemHandlers.d.ts +1 -1
- package/dist/components/ZoomControls/styles.d.ts +2 -2
- package/dist/components/contextMenu/ContextMenu.d.ts +1 -1
- package/dist/components/modal/ConfirmationDialog/ConfirmationDialog.d.ts +1 -1
- package/dist/components/modal/Delete/styledComponents.d.ts +1 -1
- package/dist/components/modal/Open/Open.styles.d.ts +1 -1
- package/dist/components/modal/modalContainer/modalComponentList.d.ts +8 -8
- 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.styles.d.ts +1 -1
- package/dist/components/monomerLibrary/MonomerLibraryContextMenu.utils.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/sequenceEdit.d.ts +2 -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/hooks/useGroupsData.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/styles.d.ts +3 -3
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/types.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/types.d.ts +1 -1
- package/dist/components/monomerLibrary/tabsContent.d.ts +1 -1
- package/dist/components/preview/components/BondAttachmentPoints/BondAttachmentPoints.d.ts +1 -1
- package/dist/components/preview/hooks/useIDTAliasesTextForMonomer.d.ts +1 -1
- package/dist/components/preview/hooks/useIDTAliasesTextForPreset.d.ts +2 -2
- package/dist/components/shared/Tabs/Tabs.styles.d.ts +3 -3
- package/dist/components/shared/dropDown/dropDown.d.ts +2 -0
- package/dist/constants.d.ts +1 -1
- package/dist/helpers/getPreset.d.ts +1 -1
- package/dist/helpers/localizeOptions.d.ts +8 -0
- package/dist/helpers/resolveLocalizedTitle.d.ts +8 -0
- package/dist/helpers/rnaValidations.d.ts +1 -1
- package/dist/hooks/stateHooks.d.ts +1 -1
- package/dist/hooks/useDebouncedShowPreview.d.ts +1 -1
- package/dist/i18n/localeResources.generated.d.ts +72 -0
- package/dist/index.css +2 -2
- package/dist/index.js +13747 -16027
- package/dist/index.modern.js +13715 -15996
- package/dist/setupTests.d.ts +1 -1
- package/dist/state/common/editorSlice.d.ts +1 -1
- package/dist/state/index.d.ts +1 -1
- package/dist/state/library/librarySlice.d.ts +4 -4
- package/dist/state/modal/modalSlice.d.ts +2 -2
- package/dist/state/rna-builder/rnaBuilderSlice.d.ts +7 -7
- package/dist/testUtils/storeProviders.d.ts +3 -0
- package/dist/testUtils/themeProvider.d.ts +1 -0
- package/dist/theming/mixins/mixins.d.ts +1 -1
- package/package.json +22 -40
- 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/TopMenuComponent/menuItemHandlers.test.d.ts +0 -1
- 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/UpdateSequenceInRNABuilder/UpdateSequenceInRNABuilder.test.d.ts +0 -16
- package/dist/components/modal/modalContainer/ModalContainer.test.d.ts +0 -1
- 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/BondPreview/BondPreview.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 -72
- package/dist/testMocks/react-contexify.d.ts +0 -14
- package/dist/theming/defaultTheme/canvasColor.test.d.ts +0 -1
package/dist/Editor.d.ts
CHANGED
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import { CoreEditor, DeepPartial } from 'ketcher-core';
|
|
17
|
-
import { EditorTheme } from 'theming/defaultTheme';
|
|
18
|
-
import './theme.less';
|
|
17
|
+
import { EditorTheme } from './theming/defaultTheme';
|
|
19
18
|
interface EditorProps {
|
|
20
19
|
ketcherId: string;
|
|
21
20
|
theme?: DeepPartial<EditorTheme>;
|
|
@@ -2,7 +2,7 @@ export declare const ElementAndDropdown: import("@emotion/styled").StyledCompone
|
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const DropDownButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
5
|
+
export declare const DropDownButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "size" | "children" | "color" | "fullWidth" | "className" | "tabIndex" | "sx" | "classes" | "action" | "variant" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableFocusRipple" | "disableElevation" | "endIcon" | "startIcon"> & {
|
|
6
6
|
theme?: import("@emotion/react").Theme;
|
|
7
7
|
}, {}, {}>;
|
|
8
8
|
export declare const ZoomLabel: import("@emotion/styled").StyledComponent<{
|
|
@@ -16,7 +16,7 @@ export declare const DropDownContent: import("@emotion/styled").StyledComponent<
|
|
|
16
16
|
theme?: import("@emotion/react").Theme;
|
|
17
17
|
as?: React.ElementType;
|
|
18
18
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
-
export declare const ZoomControlButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
19
|
+
export declare const ZoomControlButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "size" | "children" | "color" | "fullWidth" | "className" | "tabIndex" | "sx" | "classes" | "action" | "variant" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableFocusRipple" | "disableElevation" | "endIcon" | "startIcon"> & {
|
|
20
20
|
theme?: import("@emotion/react").Theme;
|
|
21
21
|
}, {}, {}>;
|
|
22
22
|
export declare const ShortcutLabel: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { ItemParams } from 'react-contexify';
|
|
3
3
|
import { BaseMonomer, BaseSequenceItemRenderer, DeprecatedFlexModeOrSnakeModePolymerBondRenderer } from 'ketcher-core';
|
|
4
|
-
import { CONTEXT_MENU_ID } from '
|
|
4
|
+
import { CONTEXT_MENU_ID } from '../contextMenu/types';
|
|
5
5
|
export interface MenuItem {
|
|
6
6
|
name: string;
|
|
7
7
|
title?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ConfirmationDialogProps } from '
|
|
1
|
+
import { ConfirmationDialogProps } from '../../modal/modalContainer';
|
|
2
2
|
export declare const ConfirmationDialog: ({ title, confirmationText, onConfirm, isModalOpen, onClose, }: ConfirmationDialogProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ export declare const StyledActionButton: import("@emotion/styled").StyledCompone
|
|
|
2
2
|
label: string;
|
|
3
3
|
clickHandler: () => void;
|
|
4
4
|
styleType?: string;
|
|
5
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
5
|
+
} & 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"> & {
|
|
6
6
|
component?: React.ElementType;
|
|
7
7
|
} & {
|
|
8
8
|
theme?: import("@emotion/react").Theme;
|
|
@@ -10,7 +10,7 @@ export declare const CancelButton: import("@emotion/styled").StyledComponent<{
|
|
|
10
10
|
label: string;
|
|
11
11
|
clickHandler: () => void;
|
|
12
12
|
styleType?: string;
|
|
13
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
13
|
+
} & 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"> & {
|
|
14
14
|
component?: React.ElementType;
|
|
15
15
|
} & {
|
|
16
16
|
theme?: import("@emotion/react").Theme;
|
|
@@ -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 { SettingsPanelAdapter } from '
|
|
23
|
-
import { ModalName } from 'state/modal';
|
|
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
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;
|
|
@@ -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: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CoreEditor, type IKetMonomerGroupTemplate, type MonomerItemType } from 'ketcher-core';
|
|
2
|
-
import { type IRnaPreset } from '
|
|
2
|
+
import { type IRnaPreset } from '../monomerLibrary/RnaBuilder/types';
|
|
3
3
|
export declare const DELETE_CONFIRMATION: {
|
|
4
4
|
onCanvas: {
|
|
5
5
|
title: string;
|
|
@@ -29,4 +29,4 @@ export declare const getReferencingCustomPresets: (monomer: MonomerItemType, cus
|
|
|
29
29
|
export declare const getDeleteConfirmation: (isOnCanvas: boolean, hasReferencingPresets: boolean) => {
|
|
30
30
|
title: string;
|
|
31
31
|
confirmationText: string;
|
|
32
|
-
} |
|
|
32
|
+
} | undefined;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts
CHANGED
|
@@ -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/RnaEditorExpanded.d.ts
CHANGED
|
@@ -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
|
-
import { LabeledNodesWithPositionInSequence } from 'ketcher-core';
|
|
1
|
+
import { LabeledNodesWithPositionInSequence, MonomerOrAmbiguousType } from 'ketcher-core';
|
|
2
2
|
export declare const MULTIPLE_MONOMERS_LABEL = "[multiple]";
|
|
3
3
|
export declare const DISABLED_MONOMERS_LABEL = "[disabled]";
|
|
4
4
|
export declare const generateSequenceSelectionGroupNames: (labeledNucleotides?: LabeledNodesWithPositionInSequence[]) => {
|
|
@@ -7,3 +7,4 @@ export declare const generateSequenceSelectionGroupNames: (labeledNucleotides?:
|
|
|
7
7
|
Phosphates: string;
|
|
8
8
|
} | undefined;
|
|
9
9
|
export declare const generateSequenceSelectionName: (labeledNucleoelements: LabeledNodesWithPositionInSequence[]) => string;
|
|
10
|
+
export declare const applyMonomerToSequenceSelection: (sequenceSelection: LabeledNodesWithPositionInSequence[], field: string, groupItem: MonomerOrAmbiguousType, isBaseGroup: boolean) => LabeledNodesWithPositionInSequence[];
|
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LibraryNameType, MonomerGroups } from '
|
|
2
|
-
import { RnaBuilderPresetsItem } from 'state/rna-builder';
|
|
1
|
+
import { LibraryNameType, MonomerGroups } from '../../../../../constants';
|
|
2
|
+
import { RnaBuilderPresetsItem } from '../../../../../state/rna-builder';
|
|
3
3
|
export declare const useGroupsData: (libraryName: LibraryNameType) => ({
|
|
4
4
|
groupName: RnaBuilderPresetsItem;
|
|
5
5
|
iconName: string;
|
|
@@ -87,7 +87,7 @@ export declare const FilterPopupActionButton: import("@emotion/styled").StyledCo
|
|
|
87
87
|
label: string;
|
|
88
88
|
clickHandler: () => void;
|
|
89
89
|
styleType?: string;
|
|
90
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
90
|
+
} & 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"> & {
|
|
91
91
|
component?: React.ElementType;
|
|
92
92
|
} & {
|
|
93
93
|
theme?: import("@emotion/react").Theme;
|
|
@@ -96,7 +96,7 @@ export declare const FilterPopupResetButton: import("@emotion/styled").StyledCom
|
|
|
96
96
|
label: string;
|
|
97
97
|
clickHandler: () => void;
|
|
98
98
|
styleType?: string;
|
|
99
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
99
|
+
} & 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"> & {
|
|
100
100
|
component?: React.ElementType;
|
|
101
101
|
} & {
|
|
102
102
|
theme?: import("@emotion/react").Theme;
|
|
@@ -113,7 +113,7 @@ export declare const RnaTabWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
113
113
|
theme?: import("@emotion/react").Theme;
|
|
114
114
|
as?: React.ElementType;
|
|
115
115
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
116
|
-
export declare const RnaTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
116
|
+
export declare const RnaTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "label" | "value" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
117
117
|
theme?: import("@emotion/react").Theme;
|
|
118
118
|
} & {
|
|
119
119
|
selected?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RnaBuilderItem } from 'state/rna-builder';
|
|
1
|
+
import { RnaBuilderItem } from '../../../../state/rna-builder';
|
|
2
2
|
import { GroupsData } from './hooks/useGroupsData';
|
|
3
3
|
import { LibraryNameType } from '../../../../constants';
|
|
4
4
|
import { IRnaPreset } from 'ketcher-core';
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import { LibraryNameType } from '
|
|
16
|
+
import { LibraryNameType } from '../../../constants';
|
|
17
17
|
import { MonomerItemType } from 'ketcher-core';
|
|
18
18
|
export type Group = {
|
|
19
19
|
groupItems: Array<MonomerItemType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
2
|
import { IRnaPreset } from './RnaBuilder/types';
|
|
3
|
-
import { TabsData } from '
|
|
3
|
+
import { TabsData } from '../shared/Tabs';
|
|
4
4
|
export declare const tabsContent: (t: TFunction, duplicatePreset: (preset?: IRnaPreset) => void, editPreset: (preset: IRnaPreset) => void) => TabsData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreparedAttachmentPointData } from '
|
|
1
|
+
import { PreparedAttachmentPointData } from '../../../preview/hooks/useAttachmentPoints';
|
|
2
2
|
interface Props {
|
|
3
3
|
attachmentPoints: PreparedAttachmentPointData[];
|
|
4
4
|
attachmentPointInBond: string | undefined;
|
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
idtAliases: IKetIdtAliases | undefined;
|
|
4
4
|
attachmentPointsToBonds: AttachmentPointsToBonds | undefined;
|
|
5
5
|
};
|
|
6
|
-
declare const useIDTAliasesTextForMonomer: ({ idtAliases, attachmentPointsToBonds, }: Props) => string |
|
|
6
|
+
declare const useIDTAliasesTextForMonomer: ({ idtAliases, attachmentPointsToBonds, }: Props) => string | undefined;
|
|
7
7
|
export default useIDTAliasesTextForMonomer;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IKetIdtAliases } from 'ketcher-core';
|
|
2
|
-
import { PresetPosition } from 'state';
|
|
2
|
+
import { PresetPosition } from '../../../state';
|
|
3
3
|
type Props = {
|
|
4
4
|
presetName: string | undefined;
|
|
5
5
|
position: PresetPosition;
|
|
6
6
|
idtAliases: IKetIdtAliases | undefined;
|
|
7
7
|
};
|
|
8
|
-
declare const useIDTAliasesTextForPreset: ({ presetName, position, idtAliases, }: Props) => string |
|
|
8
|
+
declare const useIDTAliasesTextForPreset: ({ presetName, position, idtAliases, }: Props) => string | undefined;
|
|
9
9
|
export default useIDTAliasesTextForPreset;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "
|
|
1
|
+
export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "value" | "children" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "sx" | "classes" | "action" | "allowScrollButtonsMobile" | "centered" | "slots" | "slotProps" | "indicatorColor" | "orientation" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "variant" | "visibleScrollbar"> & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
} & {
|
|
4
4
|
isLayoutToRight?: boolean;
|
|
5
5
|
}, {}, {}>;
|
|
6
|
-
export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
6
|
+
export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "label" | "value" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
7
7
|
theme?: import("@emotion/react").Theme;
|
|
8
8
|
} & {
|
|
9
9
|
isLayoutToRight?: boolean;
|
|
10
10
|
}, {}, {}>;
|
|
11
|
-
export declare const HiddenTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
11
|
+
export declare const HiddenTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "label" | "value" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
12
12
|
theme?: import("@emotion/react").Theme;
|
|
13
13
|
}, {}, {}>;
|
|
14
14
|
export declare const TabPanelContent: import("@emotion/styled").StyledComponent<{
|
|
@@ -17,6 +17,8 @@ import { CSSProperties } from 'react';
|
|
|
17
17
|
export type Option = {
|
|
18
18
|
id: string;
|
|
19
19
|
label: string;
|
|
20
|
+
/** i18n key. When present, it overrides `label` as the displayed text. */
|
|
21
|
+
labelKey?: string;
|
|
20
22
|
};
|
|
21
23
|
export type DropDownProps = {
|
|
22
24
|
options: Array<Option>;
|
package/dist/constants.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare const CUSTOM_PRESETS = "ketcher_custom_presets";
|
|
|
45
45
|
export declare const PRESET_PHOSPHATE_FILTER_STORAGE_KEY = "ketcher_preset_phosphate_filter";
|
|
46
46
|
export declare const SEQUENCE_TYPE_STORAGE_KEY = "ketcher_polymer_sequence_type";
|
|
47
47
|
export declare const NoNaturalAnalogueGroupCode = "Z";
|
|
48
|
-
export declare const NoNaturalAnalogueGroupTitle = "
|
|
48
|
+
export declare const NoNaturalAnalogueGroupTitle = "macromolecules:library.noNaturalAnalogue";
|
|
49
49
|
export declare const DNA_TEMPLATE_NAME_PART = "thymine";
|
|
50
50
|
export declare const RNA_TEMPLATE_NAME_PART = "uracil";
|
|
51
51
|
export declare const LIBRARY_TAB_INDEX: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRnaPreset } from 'components/monomerLibrary/RnaBuilder/types';
|
|
1
|
+
import { IRnaPreset } from '../components/monomerLibrary/RnaBuilder/types';
|
|
2
2
|
import { IKetTemplateConnection, IKetMonomerGroupTemplate, MonomerOrAmbiguousType, IRnaLabeledPreset } from 'ketcher-core';
|
|
3
3
|
interface RnaPresetsTemplatesType extends Pick<IKetMonomerGroupTemplate, 'templates' | 'idtAliases' | 'aliasAxoLabs'>, Partial<Pick<IKetMonomerGroupTemplate, 'connections'>>, Pick<IRnaLabeledPreset, 'default' | 'favorite' | 'name'> {
|
|
4
4
|
connections?: IKetTemplateConnection[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
2
|
+
import type { Option } from '../components/shared/dropDown/dropDown';
|
|
3
|
+
/**
|
|
4
|
+
* Returns a copy of the options where every entry that declares a `labelKey`
|
|
5
|
+
* gets its `label` replaced by the translation. Entries without a `labelKey`
|
|
6
|
+
* are returned as is, so the English `label` remains their fallback.
|
|
7
|
+
*/
|
|
8
|
+
export declare const localizeOptions: <T extends Option>(options: Array<T>, t: TFunction) => Array<T>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
2
|
+
/**
|
|
3
|
+
* Group titles are either namespace-qualified i18n keys
|
|
4
|
+
* ("macromolecules:library.noNaturalAnalogue") or literal codes ("A", "U").
|
|
5
|
+
* Only the former are translated; translating a literal would log a spurious
|
|
6
|
+
* missing-key warning.
|
|
7
|
+
*/
|
|
8
|
+
export declare const resolveLocalizedTitle: (title: string | undefined, t: TFunction) => string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRnaPreset } from 'components/monomerLibrary/RnaBuilder/types';
|
|
1
|
+
import { IRnaPreset } from '../components/monomerLibrary/RnaBuilder/types';
|
|
2
2
|
import { RnaPhosphatePosition } from 'ketcher-core';
|
|
3
3
|
export declare const getPhosphatePositionAvailability: (newPreset: IRnaPreset) => {
|
|
4
4
|
is3PrimeAvailable: boolean;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
17
|
-
import { RootState } from 'state';
|
|
17
|
+
import { RootState } from '../state';
|
|
18
18
|
import { LayoutMode } from 'ketcher-core';
|
|
19
19
|
export declare const useAppDispatch: () => import("redux").Dispatch<import("redux").UnknownAction>;
|
|
20
20
|
export declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import type { EditorStatePreview } from 'state';
|
|
16
|
+
import type { EditorStatePreview } from '../state';
|
|
17
17
|
export declare const useDebouncedShowPreview: () => {
|
|
18
18
|
showPreview: import("lodash").DebouncedFunc<(payload: EditorStatePreview | undefined) => {
|
|
19
19
|
payload: any;
|
|
@@ -88,6 +88,19 @@ export declare const BASE_RESOURCES: {
|
|
|
88
88
|
phosphateOnLeft: string;
|
|
89
89
|
phosphateOnRight: string;
|
|
90
90
|
};
|
|
91
|
+
library: {
|
|
92
|
+
ambiguousGroup: {
|
|
93
|
+
bases: string;
|
|
94
|
+
dnaBases: string;
|
|
95
|
+
rnaBases: string;
|
|
96
|
+
sugars: string;
|
|
97
|
+
phosphates: string;
|
|
98
|
+
aminoAcids: string;
|
|
99
|
+
nucleotides: string;
|
|
100
|
+
chem: string;
|
|
101
|
+
};
|
|
102
|
+
noNaturalAnalogue: string;
|
|
103
|
+
};
|
|
91
104
|
};
|
|
92
105
|
macromoleculesDialogs: {
|
|
93
106
|
monomerLibrary: {
|
|
@@ -196,6 +209,12 @@ export declare const BASE_RESOURCES: {
|
|
|
196
209
|
openFromImage: string;
|
|
197
210
|
orDragFileHere: string;
|
|
198
211
|
imageRecognitionUnavailable: string;
|
|
212
|
+
formats: {
|
|
213
|
+
sequence: string;
|
|
214
|
+
peptide: string;
|
|
215
|
+
oneLetterCode: string;
|
|
216
|
+
threeLetterCode: string;
|
|
217
|
+
};
|
|
199
218
|
};
|
|
200
219
|
save: {
|
|
201
220
|
title: string;
|
|
@@ -206,6 +225,11 @@ export declare const BASE_RESOURCES: {
|
|
|
206
225
|
helmSmilesExportNotice: string;
|
|
207
226
|
helmAliasExportNotice: string;
|
|
208
227
|
sequenceTypeRecognitionError: string;
|
|
228
|
+
formats: {
|
|
229
|
+
sequence1Letter: string;
|
|
230
|
+
sequence3Letter: string;
|
|
231
|
+
svgDocument: string;
|
|
232
|
+
};
|
|
209
233
|
};
|
|
210
234
|
updateSequence: {
|
|
211
235
|
title: string;
|
|
@@ -326,6 +350,19 @@ export declare const EXTRA_LOCALE_RESOURCES: {
|
|
|
326
350
|
phosphateOnLeft: string;
|
|
327
351
|
phosphateOnRight: string;
|
|
328
352
|
};
|
|
353
|
+
library: {
|
|
354
|
+
ambiguousGroup: {
|
|
355
|
+
bases: string;
|
|
356
|
+
dnaBases: string;
|
|
357
|
+
rnaBases: string;
|
|
358
|
+
sugars: string;
|
|
359
|
+
phosphates: string;
|
|
360
|
+
aminoAcids: string;
|
|
361
|
+
nucleotides: string;
|
|
362
|
+
chem: string;
|
|
363
|
+
};
|
|
364
|
+
noNaturalAnalogue: string;
|
|
365
|
+
};
|
|
329
366
|
};
|
|
330
367
|
readonly macromoleculesDialogs: {
|
|
331
368
|
monomerLibrary: {
|
|
@@ -434,6 +471,12 @@ export declare const EXTRA_LOCALE_RESOURCES: {
|
|
|
434
471
|
openFromImage: string;
|
|
435
472
|
orDragFileHere: string;
|
|
436
473
|
imageRecognitionUnavailable: string;
|
|
474
|
+
formats: {
|
|
475
|
+
sequence: string;
|
|
476
|
+
peptide: string;
|
|
477
|
+
oneLetterCode: string;
|
|
478
|
+
threeLetterCode: string;
|
|
479
|
+
};
|
|
437
480
|
};
|
|
438
481
|
save: {
|
|
439
482
|
title: string;
|
|
@@ -444,6 +487,11 @@ export declare const EXTRA_LOCALE_RESOURCES: {
|
|
|
444
487
|
helmSmilesExportNotice: string;
|
|
445
488
|
helmAliasExportNotice: string;
|
|
446
489
|
sequenceTypeRecognitionError: string;
|
|
490
|
+
formats: {
|
|
491
|
+
sequence1Letter: string;
|
|
492
|
+
sequence3Letter: string;
|
|
493
|
+
svgDocument: string;
|
|
494
|
+
};
|
|
447
495
|
};
|
|
448
496
|
updateSequence: {
|
|
449
497
|
title: string;
|
|
@@ -563,6 +611,19 @@ export declare const EXTRA_LOCALE_RESOURCES: {
|
|
|
563
611
|
phosphateOnLeft: string;
|
|
564
612
|
phosphateOnRight: string;
|
|
565
613
|
};
|
|
614
|
+
library: {
|
|
615
|
+
ambiguousGroup: {
|
|
616
|
+
bases: string;
|
|
617
|
+
dnaBases: string;
|
|
618
|
+
rnaBases: string;
|
|
619
|
+
sugars: string;
|
|
620
|
+
phosphates: string;
|
|
621
|
+
aminoAcids: string;
|
|
622
|
+
nucleotides: string;
|
|
623
|
+
chem: string;
|
|
624
|
+
};
|
|
625
|
+
noNaturalAnalogue: string;
|
|
626
|
+
};
|
|
566
627
|
};
|
|
567
628
|
readonly macromoleculesDialogs: {
|
|
568
629
|
monomerLibrary: {
|
|
@@ -671,6 +732,12 @@ export declare const EXTRA_LOCALE_RESOURCES: {
|
|
|
671
732
|
openFromImage: string;
|
|
672
733
|
orDragFileHere: string;
|
|
673
734
|
imageRecognitionUnavailable: string;
|
|
735
|
+
formats: {
|
|
736
|
+
sequence: string;
|
|
737
|
+
peptide: string;
|
|
738
|
+
oneLetterCode: string;
|
|
739
|
+
threeLetterCode: string;
|
|
740
|
+
};
|
|
674
741
|
};
|
|
675
742
|
save: {
|
|
676
743
|
title: string;
|
|
@@ -681,6 +748,11 @@ export declare const EXTRA_LOCALE_RESOURCES: {
|
|
|
681
748
|
helmSmilesExportNotice: string;
|
|
682
749
|
helmAliasExportNotice: string;
|
|
683
750
|
sequenceTypeRecognitionError: string;
|
|
751
|
+
formats: {
|
|
752
|
+
sequence1Letter: string;
|
|
753
|
+
sequence3Letter: string;
|
|
754
|
+
svgDocument: string;
|
|
755
|
+
};
|
|
684
756
|
};
|
|
685
757
|
updateSequence: {
|
|
686
758
|
title: string;
|
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.TabPanel-module_tabPanelDiv__wMffZ{background-color:var(--color-tab-active);flex-grow:1;height:100%;overflow-y:auto}.TabPanel-module_tabPanelBox__LY-BB{align-items:start;
|
|
2
|
-
|
|
1
|
+
.TabPanel-module_tabPanelDiv__wMffZ{background-color:var(--color-tab-active);flex-grow:1;height:100%;overflow-y:auto}.TabPanel-module_tabPanelBox__LY-BB{align-items:start;width:100%;height:100%}.RnaEditorExpanded-module_groupBlockWrapper__sUlhI{position:relative}.RnaEditorExpanded-module_phosphatePositionIconWrapper__XHea5{border:1px solid #b4b9d6;border-radius:4px;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.RnaEditorExpanded-module_phosphatePositionIconWrapper__XHea5.RnaEditorExpanded-module_active__9PKEX{border-color:#585858}.RnaEditorExpanded-module_phosphatePositionIconWrapper__XHea5:not(.RnaEditorExpanded-module_phosphatePositionIconWrapper__XHea5.RnaEditorExpanded-module_hover__0ZbV5){background-color:#f3f8f9}.RnaEditorExpanded-module_phosphatePositionIconWrapper__XHea5.RnaEditorExpanded-module_hover__0ZbV5{background-color:#e1e6ed}.RnaEditorExpanded-module_phosphatePositionIconWrapper__XHea5.RnaEditorExpanded-module_hover__0ZbV5:hover{background-color:#f3f8f9;border-color:#585858}.RnaEditorExpanded-module_phosphatePositionIconWrapperOnPresetCard__-IbfN{flex-direction:column;align-items:flex-end;display:flex;position:absolute;top:4px;right:4px}.RnaEditorExpanded-module_phosphatePositionSelector__NE5RX{z-index:1;background-color:#e1e6ed;border:1px solid #b4b9d6;border-radius:6px;gap:4px;padding:3px;display:none;position:absolute;top:-50%;right:-50%}.RnaEditorExpanded-module_phosphatePositionIconWrapperOnPresetCardActive__bAVbU:hover .RnaEditorExpanded-module_phosphatePositionSelector__NE5RX{display:flex}.RnaEditorExpanded-module_phosphatePositionTrigger__IpdSG{cursor:pointer;background:0 0;border:none;width:16px;height:16px;padding:0;display:flex}.RnaEditorExpanded-module_phosphatePositionTrigger__IpdSG:disabled{cursor:default}.RnaEditorExpanded-module_phosphatePositionOption__GO-S4{cursor:pointer;background:0 0;border:none;border-radius:4px;width:24px;height:24px;padding:0;display:flex}.RnaEditorExpanded-module_phosphatePositionOptionDisabled__oxZ6W{cursor:default;opacity:.5}.Modal-module_expandButton__J1QYl{margin-right:-8px!important}.Modal-module_resizeHandle__O7Vqv{cursor:ns-resize;flex-shrink:0;height:6px}.Modal-module_resizeHandle__O7Vqv:hover{background-color:#cad3dd80}.Modal-module_draggableHeader__2FY4V{-webkit-user-select:none;user-select:none;cursor:move!important}.RulerArea-module_rulerArea__Kix1O{pointer-events:none;background-color:#0000;width:100%;height:36px;position:absolute}.RulerArea-module_rulerInput__nCNOa{border:var(--border-regular);opacity:.4;text-align:center;will-change:transform;pointer-events:auto;border-radius:3px;width:35px;height:14px;position:absolute;top:0}.RulerArea-module_rulerInput__nCNOa:hover{cursor:pointer;border:1px solid var(--color-input-border-hover);opacity:1}.RulerArea-module_rulerInput__nCNOa:focus{border:1px solid var(--color-input-border-hover);opacity:1;outline:none;height:18px}.RulerArea-module_rulerInput__nCNOa.RulerArea-module_rulerInputDragging__saoOk{-webkit-user-select:none;user-select:none;opacity:1}.RulerArea-module_rulerScale__4YOKH{visibility:hidden;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%}.RulerArea-module_rulerHandle__g4GPl{will-change:transform;width:16px;height:13px;position:absolute;top:0}.RulerArea-module_rulerHandle__g4GPl:hover{cursor:pointer}.RulerArea-module_rulerInput__nCNOa:before,.RulerArea-module_rulerHandle__g4GPl:before{content:"";width:calc(100% + 20px);height:calc(100% + 20px);display:block;position:absolute;top:-10px;left:-10px}.RulerArea-module_rulerInput__nCNOa:hover~.RulerArea-module_rulerScale__4YOKH,.RulerArea-module_rulerHandle__g4GPl:hover~.RulerArea-module_rulerScale__4YOKH{visibility:visible;background-color:var(--color-background-canvas)}.RulerArea-module_rulerHandle__g4GPl:hover~.RulerArea-module_rulerInput__nCNOa{opacity:1}.DragGhost-module_dragGhost__m5lHf{will-change:transform;z-index:var(--zindex-overlay);pointer-events:none;position:absolute;top:0;left:0}.Ketcher-polymer-editor-root{--color-background-canvas:#fcfcfc;--color-background-primary:#fff;--color-background-secondary:#f8feff;--color-background-overlay:#5e5e5ecc;--color-border-primary:#cad3dd;--color-border-secondary:#7c7c7f;--color-text-primary:#333;--color-text-secondary:#167782;--color-text-light:#585858;--color-text-dark:#000;--color-text-error:#ff4a4a;--color-text-lightgrey:#7c7c7f;--color-tab-regular:#fff;--color-tab-active:#e1e5ea;--color-tab-hover:#00838f;--color-tab-content:#eff2f5;--color-scroll-regular:#717171;--color-scroll-inactive:#ddd;--color-button-primary-active:#167782;--color-button-primary-hover:#00838f;--color-button-primary-clicked:#4fb3bf;--color-button-primary-disabled:#71717166;--color-button-secondary-active:#585858;--color-button-secondary-hover:#333;--color-button-secondary-clicked:#aeaeae;--color-button-secondary-disabled:#71717166;--color-button-group-active:#167782;--color-button-group-hover:#2e858f;--color-button-transparent-active:transparent;--color-button-text-primary:#fff;--color-button-text-secondary:#005662;--color-button-text-disabled:#7a7a7a;--color-dropdown-primary:#333;--color-dropdown-secondary:#fff;--color-dropdown-hover:#ddd;--color-dropdown-disabled:#7a7a7a;--color-tooltip-background:#fff;--color-tooltip-text:#333;--color-link-active:#00838f;--color-link-hover:#005662;--color-divider:#aeaeae;--color-spinner:#005662;--color-error:#ff4a4a;--color-input-text-default:#585858;--color-input-text-active:#333;--color-input-text-disabled:#585858;--color-input-text-error:#ff4a4a;--color-input-background-primary:#fff;--color-input-background-default:#eff2f5;--color-input-background-hover:#ddd;--color-input-background-disabled:#eff2f5;--color-input-border-regular:#cad3dd;--color-input-border-active:#fff;--color-input-border-hover:#43b5c0;--color-input-border-focus:#eff2f5;--color-input-border-error:#ff4a4a;--color-icon-grey:#b4b9d6;--color-icon-hover:#005662;--color-icon-active:#525252;--color-icon-active-menu:#005662;--color-icon-clicked:#fff;--color-icon-disabled:#52525266;--color-monomer-default:#c8c8c8;--color-edit-mode-sequence-in-rna-builder:#99d7dc;--font-size-small:10px;--font-size-regular:12px;--font-size-medium:14px;--font-size-xsmall:6px;--font-family-montserrat:montserrat, sans-serif;--font-family-inter:inter, freesans, arimo, "Droid Sans", helvetica, "Helvetica Neue", arial, sans-serif;--font-family-roboto:roboto, freesans, arimo, "Droid Sans", helvetica, "Helvetica Neue", arial, sans-serif;--font-weight-light:300;--font-weight-regular:400;--font-weight-bold:600;--border-regular:1px solid #cad3dd;--border-small:1px solid #e1e5ea;--border-radius-regular:4px;--shadow-regular:0px 1px 1px #c5cbcfb3;--shadow-main-layout-blocks:0px 2px 5px #67688426;--outline-small:1px solid #b4b9d6;--outline-medium:2px solid #b4b9d6;--outline-color:#b4b9d6;--outline-selected-color:#167782;--outline-selected-small:1px solid #167782;--outline-selected-medium:2px solid #167782;--outline-grey-small:1px solid #585858;--transition-regular:all .3s;--zindex-base:0;--zindex-toolbar:10;--zindex-sticky:100;--zindex-overlay:200;--zindex-modal:1000;--zindex-critical:9999}
|
|
2
|
+
/*$vite$:1*/
|