ketcher-macromolecules 3.2.0-rc.5 → 3.3.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ZoomControls/helpers.d.ts +2 -0
- package/dist/components/contextMenu/SelectedMonomersContextMenu/helpers.d.ts +3 -0
- package/dist/components/contextMenu/SequenceItemContextMenu/SequenceItemContextMenu.d.ts +6 -3
- package/dist/components/menu/Menu.d.ts +6 -3
- package/dist/components/menu/menuItem/MenuItem.d.ts +2 -1
- package/dist/components/menu/subMenu/SubMenu.d.ts +4 -1
- package/dist/components/monomerLibrary/MonomerLibrary.d.ts +19 -1
- package/dist/components/monomerLibrary/MonomerLibraryToggle.d.ts +1 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/RnaEditorCollapsed.d.ts +3 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/styles.d.ts +0 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlock.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockCompact.d.ts +2 -0
- package/dist/components/monomerLibrary/RnaBuilder/{RnaAccordion/RnaAccordion.d.ts → RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockWide.d.ts} +2 -5
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupIcon.d.ts +9 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts +24 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts +0 -5
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/styles.d.ts +6 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/styles.d.ts +1 -4
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElements.d.ts +10 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsAccordionView.d.ts +8 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.d.ts +4 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/hooks/useGroupsData.d.ts +16 -0
- package/dist/components/{rna/RnaMonomerSection → monomerLibrary/RnaBuilder/RnaElementsView}/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/{RnaAccordion → RnaElementsView}/styles.d.ts +25 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/types.d.ts +13 -0
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.d.ts +18 -2
- package/dist/components/monomerLibrary/RnaPresetItem/index.d.ts +1 -1
- package/dist/components/monomerLibrary/styles.d.ts +11 -8
- package/dist/components/monomerLibrary/tabsContent.d.ts +3 -28
- package/dist/components/preview/Preview.d.ts +15 -0
- package/dist/components/preview/components/PresetPreview/PresetPreview.styles.d.ts +15 -0
- package/dist/components/shared/Tabs/TabPanel.d.ts +8 -0
- package/dist/components/shared/Tabs/TabPanel.styles.d.ts +10 -0
- package/dist/components/shared/Tabs/Tabs.d.ts +7 -3
- package/dist/components/shared/Tabs/Tabs.styles.d.ts +15 -0
- package/dist/components/shared/Tabs/Tabs.types.d.ts +9 -0
- package/dist/components/shared/Tabs/index.d.ts +2 -1
- package/dist/constants.d.ts +1 -0
- package/dist/contexts/RootSizeContext.d.ts +11 -0
- package/dist/contexts/index.d.ts +1 -0
- package/dist/helpers/dom.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useIsCompactView.d.ts +1 -0
- package/dist/index.js +1628 -1214
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1630 -1217
- package/dist/index.modern.js.map +1 -1
- package/dist/state/rna-builder/rnaBuilderSlice.d.ts +5 -2
- package/dist/theming/defaultTheme/theme.types.d.ts +7 -0
- package/package.json +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/RnaAccordion.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/index.d.ts +0 -16
- package/dist/components/rna/RnaMonomerSection/RnaMonomerSection.d.ts +0 -12
- package/dist/components/rna/RnaMonomerSection/RnaMonomerSection.test.d.ts +0 -1
- package/dist/components/rna/Switcher/Switcher.d.ts +0 -6
- package/dist/components/rna/Switcher/Switcher.test.d.ts +0 -16
- package/dist/components/rna/Switcher/index.d.ts +0 -1
- /package/dist/components/monomerLibrary/RnaBuilder/{RnaAccordion → RnaElementsView}/Summary/Summary.d.ts +0 -0
- /package/dist/components/monomerLibrary/RnaBuilder/{RnaAccordion → RnaElementsView}/Summary/index.d.ts +0 -0
- /package/dist/components/monomerLibrary/RnaBuilder/{RnaAccordion → RnaElementsView}/Summary/styles.d.ts +0 -0
- /package/dist/components/monomerLibrary/RnaBuilder/{RnaAccordion → RnaElementsView}/Summary/types.d.ts +0 -0
|
@@ -13,6 +13,8 @@ export declare const shortcuts: {
|
|
|
13
13
|
'select-all': string;
|
|
14
14
|
hand: string;
|
|
15
15
|
'hide-scrollbars': string;
|
|
16
|
+
createRnaAntisenseStrand: string;
|
|
17
|
+
createDnaAntisenseStrand: string;
|
|
16
18
|
};
|
|
17
19
|
export declare const getIntegerFromString: (zoomInput: string | undefined) => number;
|
|
18
20
|
export declare const getValidZoom: (zoom: number, currentZoom: number) => number;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { AmbiguousMonomer, BaseMonomer } from 'ketcher-core';
|
|
2
2
|
export declare const isSenseBase: (monomer: BaseMonomer | AmbiguousMonomer) => boolean;
|
|
3
3
|
export declare const isAntisenseCreationDisabled: (selectedMonomers: BaseMonomer[]) => boolean;
|
|
4
|
+
export declare const hasOnlyDeoxyriboseSugars: (selectedMonomers: BaseMonomer[]) => boolean;
|
|
5
|
+
export declare const hasOnlyRiboseSugars: (selectedMonomers: BaseMonomer[]) => boolean;
|
|
6
|
+
export declare const isAntisenseOptionVisible: (selectedMonomers: BaseMonomer[]) => boolean;
|
|
@@ -5,13 +5,16 @@ declare type SequenceItemContextMenuType = {
|
|
|
5
5
|
};
|
|
6
6
|
export declare enum SequenceItemContextMenuNames {
|
|
7
7
|
title = "sequence_menu_title",
|
|
8
|
-
createRnaAntisenseStrand = "
|
|
9
|
-
createDnaAntisenseStrand = "
|
|
8
|
+
createRnaAntisenseStrand = "create_antisense_rna_chain",
|
|
9
|
+
createDnaAntisenseStrand = "create_antisense_dna_chain",
|
|
10
10
|
modifyInRnaBuilder = "modify_in_rna_builder",
|
|
11
11
|
establishHydrogenBond = "establish_hydrogen_bond",
|
|
12
12
|
deleteHydrogenBond = "delete_hydrogen_bond",
|
|
13
13
|
editSequence = "edit_sequence",
|
|
14
|
-
startNewSequence = "start_new_sequence"
|
|
14
|
+
startNewSequence = "start_new_sequence",
|
|
15
|
+
copy = "copy",
|
|
16
|
+
paste = "paste",
|
|
17
|
+
delete = "delete"
|
|
15
18
|
}
|
|
16
19
|
export declare const SequenceItemContextMenu: ({ selections, }: SequenceItemContextMenuType) => import("react").ReactPortal | null;
|
|
17
20
|
export {};
|
|
@@ -19,19 +19,22 @@ import { GroupProps, MenuProps } from './types';
|
|
|
19
19
|
declare const Menu: {
|
|
20
20
|
({ children, onItemClick, activeMenuItems, testId, isHorizontal, }: React.PropsWithChildren<MenuProps>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
21
21
|
Group: ({ children, divider, isHorizontal, }: React.PropsWithChildren<GroupProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
|
-
Item: ({ itemId, title, disabled, testId, onClick, }: {
|
|
23
|
-
itemId: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "cut" | "dearom" | "delete" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross";
|
|
22
|
+
Item: ({ itemId, title, disabled, testId, onClick, type, }: {
|
|
23
|
+
itemId: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "cut" | "dearom" | "delete" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand";
|
|
24
24
|
title?: string | undefined;
|
|
25
25
|
testId?: string | undefined;
|
|
26
26
|
disabled?: boolean | undefined;
|
|
27
27
|
onClick?: (() => void) | undefined;
|
|
28
|
+
type?: "icon-button" | "button" | undefined;
|
|
28
29
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
29
|
-
Submenu: ({ children, vertical, disabled, needOpenByMenuItemClick, testId, layoutModeButton, }: React.PropsWithChildren<{
|
|
30
|
+
Submenu: ({ children, vertical, disabled, needOpenByMenuItemClick, testId, layoutModeButton, generalTitle, activeItem, }: React.PropsWithChildren<{
|
|
30
31
|
vertical?: boolean | undefined;
|
|
31
32
|
disabled?: boolean | undefined;
|
|
32
33
|
needOpenByMenuItemClick?: boolean | undefined;
|
|
33
34
|
testId?: string | undefined;
|
|
34
35
|
layoutModeButton?: boolean | undefined;
|
|
36
|
+
generalTitle?: string | undefined;
|
|
37
|
+
activeItem?: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "cut" | "dearom" | "delete" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand" | undefined;
|
|
35
38
|
}>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
36
39
|
};
|
|
37
40
|
export { Menu, MenuContext };
|
|
@@ -20,6 +20,7 @@ declare type MenuItemProp = {
|
|
|
20
20
|
testId?: string;
|
|
21
21
|
disabled?: boolean;
|
|
22
22
|
onClick?: () => void;
|
|
23
|
+
type?: 'icon-button' | 'button';
|
|
23
24
|
};
|
|
24
|
-
declare const MenuItem: ({ itemId, title, disabled, testId, onClick, }: MenuItemProp) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare const MenuItem: ({ itemId, title, disabled, testId, onClick, type, }: MenuItemProp) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
26
|
export { MenuItem };
|
|
@@ -14,12 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import React from 'react';
|
|
17
|
+
import { IconName } from 'ketcher-react';
|
|
17
18
|
declare type SubMenuProps = {
|
|
18
19
|
vertical?: boolean;
|
|
19
20
|
disabled?: boolean;
|
|
20
21
|
needOpenByMenuItemClick?: boolean;
|
|
21
22
|
testId?: string;
|
|
22
23
|
layoutModeButton?: boolean;
|
|
24
|
+
generalTitle?: string;
|
|
25
|
+
activeItem?: IconName;
|
|
23
26
|
};
|
|
24
|
-
declare const SubMenu: ({ children, vertical, disabled, needOpenByMenuItemClick, testId, layoutModeButton, }: React.PropsWithChildren<SubMenuProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare const SubMenu: ({ children, vertical, disabled, needOpenByMenuItemClick, testId, layoutModeButton, generalTitle, activeItem, }: React.PropsWithChildren<SubMenuProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
28
|
export { SubMenu };
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
declare type Props = {
|
|
17
|
+
toggleLibraryVisibility: VoidFunction;
|
|
18
|
+
};
|
|
19
|
+
declare const MonomerLibrary: ({ toggleLibraryVisibility }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
20
|
export { MonomerLibrary };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
-
isHidden: boolean;
|
|
3
2
|
onClick: () => void;
|
|
4
3
|
}
|
|
5
|
-
declare const MonomerLibraryToggle: ({
|
|
4
|
+
declare const MonomerLibraryToggle: ({ onClick }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
5
|
export { MonomerLibraryToggle };
|
|
@@ -13,5 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IRnaEditorCollapsedProps } from './types';
|
|
17
|
-
|
|
18
|
+
declare const _default: import("react").MemoExoticComponent<({ name, fullName }: IRnaEditorCollapsedProps) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
|
|
19
|
+
export default _default;
|
|
@@ -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 { RnaEditorCollapsed } from './RnaEditorCollapsed';
|
|
16
|
+
export { default as RnaEditorCollapsed } from './RnaEditorCollapsed';
|
|
@@ -21,8 +21,6 @@ export declare const RnaEditorCollapsedContainer: import("@emotion/styled").Styl
|
|
|
21
21
|
export declare const MonomerName: import("@emotion/styled").StyledComponent<{
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
23
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
|
-
} & {
|
|
25
|
-
grey?: boolean | undefined;
|
|
26
24
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
27
25
|
export declare const TextContainer: import("@emotion/styled").StyledComponent<{
|
|
28
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import { IGroupBlockProps } from './types';
|
|
17
|
-
export declare const GroupBlock: (
|
|
17
|
+
export declare const GroupBlock: (props: IGroupBlockProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -13,8 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
duplicatePreset: any;
|
|
19
|
-
editPreset: any;
|
|
20
|
-
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
+
import { IGroupBlockProps } from './types';
|
|
17
|
+
export declare const GroupBlockWide: ({ groupName, iconName, monomerName, selected, onClick, testid, }: IGroupBlockProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IconName } from 'ketcher-react';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
name: IconName;
|
|
5
|
+
selected: boolean | undefined;
|
|
6
|
+
empty: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("react").MemoExoticComponent<({ selected, empty, name }: Props) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
9
|
+
export default _default;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ export declare const GroupBlockContainer: import("@emotion/styled").StyledCompon
|
|
|
19
19
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
20
|
} & {
|
|
21
21
|
selected?: boolean | undefined;
|
|
22
|
-
empty?: boolean | undefined;
|
|
23
22
|
isEditMode?: boolean | undefined;
|
|
24
23
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
24
|
export declare const TextContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -29,6 +28,8 @@ export declare const TextContainer: import("@emotion/styled").StyledComponent<{
|
|
|
29
28
|
export declare const GroupName: import("@emotion/styled").StyledComponent<{
|
|
30
29
|
theme?: import("@emotion/react").Theme | undefined;
|
|
31
30
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
|
+
} & {
|
|
32
|
+
selected?: boolean | undefined;
|
|
32
33
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
33
34
|
export declare const MonomerName: import("@emotion/styled").StyledComponent<{
|
|
34
35
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -37,10 +38,31 @@ export declare const MonomerName: import("@emotion/styled").StyledComponent<{
|
|
|
37
38
|
selected?: boolean | undefined;
|
|
38
39
|
empty: boolean;
|
|
39
40
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
41
|
+
export declare const GroupIconContainer: import("@emotion/styled").StyledComponent<{
|
|
42
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
43
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
44
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
45
|
export declare const GroupIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
|
|
41
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
42
47
|
} & {
|
|
43
48
|
selected?: boolean | undefined;
|
|
44
49
|
empty?: boolean | undefined;
|
|
45
|
-
name?: string | undefined;
|
|
46
50
|
}, {}, {}>;
|
|
51
|
+
export declare const CompactGroupBlockContainer: import("@emotion/styled").StyledComponent<{
|
|
52
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
53
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
54
|
+
} & {
|
|
55
|
+
selected?: boolean | undefined;
|
|
56
|
+
isEditMode?: boolean | undefined;
|
|
57
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
58
|
+
export declare const CompactGroupConnection: import("@emotion/styled").StyledComponent<{
|
|
59
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
60
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
61
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
62
|
+
export declare const CompactGroupText: import("@emotion/styled").StyledComponent<{
|
|
63
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
64
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
65
|
+
} & {
|
|
66
|
+
selected?: boolean | undefined;
|
|
67
|
+
empty?: boolean | undefined;
|
|
68
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts
CHANGED
|
@@ -13,11 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
export declare const groupNameToLabel: {
|
|
17
|
-
Sugars: string;
|
|
18
|
-
Bases: string;
|
|
19
|
-
Phosphates: string;
|
|
20
|
-
};
|
|
21
16
|
export declare const groupNameToRnaEditorItemLabel: {
|
|
22
17
|
Sugars: string;
|
|
23
18
|
Bases: string;
|
|
@@ -18,9 +18,15 @@ export declare const RnaEditorExpandedContainer: import("@emotion/styled").Style
|
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
19
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
20
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const CompactViewName: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
21
25
|
export declare const GroupsContainer: import("@emotion/styled").StyledComponent<{
|
|
22
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
27
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
compact?: boolean | undefined;
|
|
24
30
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
31
|
export declare const ButtonsContainer: import("@emotion/styled").StyledComponent<{
|
|
26
32
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -21,10 +21,7 @@ export declare const RnaEditorContainer: import("@emotion/styled").StyledCompone
|
|
|
21
21
|
export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
23
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
|
-
}, import("react").DetailedHTMLProps<import("react").
|
|
25
|
-
export declare const ExpandButton: import("@emotion/styled").StyledComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
26
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
-
}, {}, {}>;
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
28
25
|
export declare const ExpandIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
|
|
29
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
30
27
|
} & {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LibraryNameType } from "../../../../constants";
|
|
2
|
+
import { IRnaPreset } from 'ketcher-core';
|
|
3
|
+
interface RnaUnifiedViewProps {
|
|
4
|
+
view: 'tabs' | 'accordion';
|
|
5
|
+
libraryName: LibraryNameType;
|
|
6
|
+
duplicatePreset: (preset?: IRnaPreset) => void;
|
|
7
|
+
editPreset: (preset: IRnaPreset) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const RnaElements: ({ view, libraryName, duplicatePreset, editPreset, }: RnaUnifiedViewProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsAccordionView.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RnaElementsViewProps } from './types';
|
|
3
|
+
import { IRnaPreset } from 'ketcher-core';
|
|
4
|
+
declare type Props = RnaElementsViewProps & {
|
|
5
|
+
newPreset: IRnaPreset;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("react").MemoExoticComponent<({ activeRnaBuilderItem, groupsData, newPreset, onNewPresetClick, onSelectItem, duplicatePreset, editPreset, libraryName, }: Props) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RnaElementsViewProps } from "./types";
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<({ activeRnaBuilderItem, groupsData, onNewPresetClick, onSelectItem, duplicatePreset, editPreset, libraryName, }: RnaElementsViewProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LibraryNameType, MonomerGroups } from "../../../../../constants";
|
|
2
|
+
import { RnaBuilderPresetsItem } from "../../../../../state/rna-builder";
|
|
3
|
+
export declare const useGroupsData: (libraryName: LibraryNameType) => ({
|
|
4
|
+
groupName: RnaBuilderPresetsItem;
|
|
5
|
+
iconName: string;
|
|
6
|
+
groups: {
|
|
7
|
+
groupItems: (import("../../types").IRnaPreset & {
|
|
8
|
+
favorite: boolean;
|
|
9
|
+
})[];
|
|
10
|
+
}[];
|
|
11
|
+
} | {
|
|
12
|
+
groupName: MonomerGroups;
|
|
13
|
+
iconName: string;
|
|
14
|
+
groups: import("../../../monomerLibraryList/types").Group[];
|
|
15
|
+
})[];
|
|
16
|
+
export declare type GroupsData = ReturnType<typeof useGroupsData>;
|
|
@@ -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 { RnaElements } from './RnaElements';
|
package/dist/components/monomerLibrary/RnaBuilder/{RnaAccordion → RnaElementsView}/styles.d.ts
RENAMED
|
@@ -28,6 +28,16 @@ export declare const StyledAccordionWrapper: import("@emotion/styled").StyledCom
|
|
|
28
28
|
export declare const DetailsContainer: import("@emotion/styled").StyledComponent<{
|
|
29
29
|
theme?: import("@emotion/react").Theme | undefined;
|
|
30
30
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
|
+
} & {
|
|
32
|
+
compact?: boolean | undefined;
|
|
33
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
34
|
+
export declare const RnaTabContent: import("@emotion/styled").StyledComponent<{
|
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
37
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
38
|
+
export declare const CompactDetailsContainer: import("@emotion/styled").StyledComponent<{
|
|
39
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
41
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
42
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
33
43
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -36,3 +46,18 @@ export declare const DisabledArea: import("@emotion/styled").StyledComponent<{
|
|
|
36
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
37
47
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
38
48
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
49
|
+
export declare const RnaTabsContainer: import("@emotion/styled").StyledComponent<{
|
|
50
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
51
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
52
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
53
|
+
export declare const RnaTabWrapper: import("@emotion/styled").StyledComponent<{
|
|
54
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
55
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
56
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
57
|
+
export declare const RnaTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
58
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
59
|
+
}, "label" | "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "value" | "wrapped"> & {
|
|
60
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
61
|
+
} & {
|
|
62
|
+
selected?: boolean | undefined;
|
|
63
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RnaBuilderItem } from "../../../../state/rna-builder";
|
|
2
|
+
import { GroupsData } from './hooks/useGroupsData';
|
|
3
|
+
import { LibraryNameType } from '../../../../constants';
|
|
4
|
+
import { IRnaPreset } from 'ketcher-core';
|
|
5
|
+
export declare type RnaElementsViewProps = {
|
|
6
|
+
activeRnaBuilderItem: RnaBuilderItem;
|
|
7
|
+
groupsData: GroupsData;
|
|
8
|
+
onSelectItem: (...args: any[]) => void;
|
|
9
|
+
onNewPresetClick: VoidFunction;
|
|
10
|
+
libraryName: LibraryNameType;
|
|
11
|
+
duplicatePreset: (preset?: IRnaPreset) => void;
|
|
12
|
+
editPreset: (preset: IRnaPreset) => void;
|
|
13
|
+
};
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
1
17
|
import { IRNAPresetItemProps } from './types';
|
|
2
|
-
declare const
|
|
3
|
-
export
|
|
18
|
+
declare const _default: import("react").MemoExoticComponent<({ preset, isSelected, onClick, onContextMenu, onMouseLeave, onMouseMove, }: IRNAPresetItemProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
19
|
+
export default _default;
|
|
@@ -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 { default as RnaPresetItem } from './RnaPresetItem';
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const MONOMER_LIBRARY_WIDTH = "254px";
|
|
3
|
-
export declare const MonomerLibraryInput: import("@emotion/styled").StyledComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
}, {}, {}>;
|
|
6
3
|
export declare const MonomerLibraryContainer: import("@emotion/styled").StyledComponent<{
|
|
7
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const MonomerLibraryTitle: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
14
7
|
export declare const MonomerLibraryHeader: import("@emotion/styled").StyledComponent<{
|
|
15
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
9
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
10
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
-
export declare const
|
|
11
|
+
export declare const MonomerLibraryInputContainer: import("@emotion/styled").StyledComponent<{
|
|
19
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
13
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
14
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
+
export declare const MonomerLibraryToggle: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
19
|
+
export declare const MonomerLibrarySearchIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
|
|
20
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
export declare const MonomerLibraryInput: import("@emotion/styled").StyledComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
23
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
+
}, {}, {}>;
|
|
@@ -1,28 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
testId: string;
|
|
5
|
-
props: {
|
|
6
|
-
libraryName: string;
|
|
7
|
-
duplicatePreset: any;
|
|
8
|
-
editPreset: any;
|
|
9
|
-
};
|
|
10
|
-
} | {
|
|
11
|
-
caption: string;
|
|
12
|
-
component: ({ onItemClick, libraryName, duplicatePreset, editPreset, }: import("./monomerLibraryList/types").IMonomerListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
-
testId: string;
|
|
14
|
-
props: {
|
|
15
|
-
libraryName: "PEPTIDE";
|
|
16
|
-
duplicatePreset?: undefined;
|
|
17
|
-
editPreset?: undefined;
|
|
18
|
-
};
|
|
19
|
-
} | {
|
|
20
|
-
caption: string;
|
|
21
|
-
component: ({ onItemClick, libraryName, duplicatePreset, editPreset, }: import("./monomerLibraryList/types").IMonomerListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
|
-
testId: string;
|
|
23
|
-
props: {
|
|
24
|
-
libraryName: "CHEM";
|
|
25
|
-
duplicatePreset?: undefined;
|
|
26
|
-
editPreset?: undefined;
|
|
27
|
-
};
|
|
28
|
-
})[];
|
|
1
|
+
import { IRnaPreset } from './RnaBuilder/types';
|
|
2
|
+
import { TabsData } from "../shared/Tabs";
|
|
3
|
+
export declare const tabsContent: (duplicatePreset: (preset?: IRnaPreset) => void, editPreset: (preset: IRnaPreset) => void) => TabsData;
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
1
16
|
export declare const Preview: () => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
1
16
|
/// <reference types="react" />
|
|
2
17
|
export declare const PresetContainer: import("@emotion/styled").StyledComponent<{
|
|
3
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
declare type TabPanelProps = {
|
|
3
|
+
index: number;
|
|
4
|
+
value: number;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const TabPanel: ({ children, value, index }: TabPanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TabPanel;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TabPanelDiv: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const TabPanelBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
}, {}, {}>;
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
import { TabsData } from './Tabs.types';
|
|
18
|
+
declare type Props = {
|
|
19
|
+
tabs: TabsData;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import("react").MemoExoticComponent<(props: Props) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
22
|
+
export default _default;
|