ketcher-react 2.28.0-rc.4 → 3.0.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/README.md +4 -0
- package/dist/Editor.d.ts +6 -28
- package/dist/MicromoleculesEditor.d.ts +28 -0
- package/dist/cjs/Editor.d.ts +6 -0
- package/dist/cjs/MicromoleculesEditor.d.ts +28 -0
- package/dist/cjs/components/Accordion/Accordion.d.ts +2 -0
- package/dist/cjs/components/Accordion/index.d.ts +16 -0
- package/dist/cjs/components/Accordion/styles.d.ts +29 -0
- package/dist/cjs/components/Accordion/types.d.ts +27 -0
- package/dist/cjs/components/Buttons/Button/Button.d.ts +1 -0
- package/dist/cjs/components/Buttons/Button/index.d.ts +16 -0
- package/dist/cjs/components/Buttons/Button/styles.d.ts +5 -0
- package/dist/cjs/components/Buttons/IconButton/IconButton.d.ts +17 -0
- package/dist/cjs/components/Buttons/IconButton/IconButtonBase.d.ts +17 -0
- package/dist/cjs/components/Buttons/IconButton/IconButtonCustomIcon.d.ts +17 -0
- package/dist/cjs/components/Buttons/IconButton/index.d.ts +17 -0
- package/dist/cjs/components/Buttons/IconButton/styles.d.ts +28 -0
- package/dist/cjs/components/Buttons/IconButton/types.d.ts +40 -0
- package/dist/cjs/components/Buttons/index.d.ts +17 -0
- package/dist/cjs/components/Dialog/Dialog.d.ts +45 -0
- package/dist/cjs/components/Dialog/index.d.ts +16 -0
- package/dist/cjs/components/Icon/Icon.d.ts +18 -0
- package/dist/cjs/components/Icon/index.d.ts +19 -0
- package/dist/cjs/components/Icon/types.d.ts +26 -0
- package/dist/cjs/components/Icon/utils/getIconByName.d.ts +17 -0
- package/dist/cjs/components/Icon/utils/getIconName.d.ts +17 -0
- package/dist/cjs/components/Icon/utils/iconNameToIcon.d.ts +237 -0
- package/dist/cjs/components/InfoModal/InfoModal.d.ts +22 -0
- package/dist/cjs/components/InfoModal/constants.d.ts +4 -0
- package/dist/cjs/components/InfoModal/index.d.ts +17 -0
- package/dist/cjs/components/Input/Input.d.ts +1 -0
- package/dist/cjs/components/Input/index.d.ts +16 -0
- package/dist/cjs/components/Input/styles.d.ts +20 -0
- package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/AmbiguousMonomerPreview.d.ts +9 -0
- package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/AmbiguousMonomerPreview.styles.d.ts +29 -0
- package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/index.d.ts +3 -0
- package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/types.d.ts +46 -0
- package/dist/cjs/components/MonomerPreview/calculatePreviewPosition.d.ts +28 -0
- package/dist/cjs/components/MonomerPreview/constants.d.ts +9 -0
- package/dist/cjs/components/MonomerPreview/index.d.ts +3 -0
- package/dist/cjs/components/StructRender/StructRender.d.ts +18 -0
- package/dist/cjs/components/StructRender/index.d.ts +16 -0
- package/dist/cjs/components/StructRender/styles.d.ts +22 -0
- package/dist/cjs/components/StructRender/types.d.ts +29 -0
- package/dist/cjs/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +8 -0
- package/dist/cjs/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts +16 -0
- package/dist/cjs/components/index.d.ts +23 -0
- package/dist/cjs/components/styles/consts.d.ts +59 -0
- package/dist/cjs/components/styles/index.d.ts +16 -0
- package/dist/cjs/constants.d.ts +49 -0
- package/dist/cjs/contexts/appContext.d.ts +23 -0
- package/dist/cjs/contexts/errorsContext.d.ts +21 -0
- package/dist/cjs/contexts/formContext.d.ts +18 -0
- package/dist/cjs/contexts/index.d.ts +21 -0
- package/dist/cjs/contexts/settingsContext.d.ts +21 -0
- package/dist/cjs/hooks/index.d.ts +21 -0
- package/dist/cjs/hooks/useAppContext.d.ts +16 -0
- package/dist/cjs/hooks/useClickOutside.d.ts +2 -0
- package/dist/cjs/hooks/useFormContext.d.ts +16 -0
- package/dist/cjs/hooks/useInterval.d.ts +16 -0
- package/dist/cjs/hooks/useResizeObserver.d.ts +26 -0
- package/dist/cjs/hooks/useSettingsContext.d.ts +16 -0
- package/dist/cjs/hooks/useSubscribtionOnEvents.d.ts +16 -0
- package/dist/cjs/index.css +2 -0
- package/dist/cjs/index.css.map +1 -0
- package/dist/cjs/index.d.ts +20 -0
- package/dist/{index.modern.js → cjs/index.js} +4305 -4061
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/index.modern-285b5e16.js +15323 -0
- package/dist/cjs/index.modern-285b5e16.js.map +1 -0
- package/dist/cjs/script/api.d.ts +19 -0
- package/dist/cjs/script/builders/index.d.ts +16 -0
- package/dist/cjs/script/builders/ketcher/ButtonConfig.d.ts +18 -0
- package/dist/cjs/script/builders/ketcher/ButtonName.d.ts +17 -0
- package/dist/cjs/script/builders/ketcher/ButtonsConfig.d.ts +20 -0
- package/dist/cjs/script/builders/ketcher/CustomButtons.d.ts +5 -0
- package/dist/cjs/script/builders/ketcher/KetcherBuilder.d.ts +39 -0
- package/dist/cjs/script/builders/ketcher/index.d.ts +17 -0
- package/dist/cjs/script/editor/Editor.d.ts +119 -0
- package/dist/cjs/script/editor/HoverIcon.d.ts +31 -0
- package/dist/cjs/script/editor/highlighter.d.ts +33 -0
- package/dist/cjs/script/editor/index.d.ts +19 -0
- package/dist/cjs/script/editor/shared/closest.d.ts +43 -0
- package/dist/cjs/script/editor/shared/closest.types.d.ts +9 -0
- package/dist/cjs/script/editor/tool/Tool.d.ts +21 -0
- package/dist/cjs/script/editor/tool/apoint.d.ts +23 -0
- package/dist/cjs/script/editor/tool/apoint.utils.d.ts +2 -0
- package/dist/cjs/script/editor/tool/arrow/arrow.types.d.ts +19 -0
- package/dist/cjs/script/editor/tool/arrow/arrowTool.d.ts +9 -0
- package/dist/cjs/script/editor/tool/arrow/commonArrow.d.ts +17 -0
- package/dist/cjs/script/editor/tool/arrow/multitailArrowAdd.d.ts +14 -0
- package/dist/cjs/script/editor/tool/arrow/multitailArrowMoveTool.d.ts +12 -0
- package/dist/cjs/script/editor/tool/arrow/reactionArrowAdd.d.ts +20 -0
- package/dist/cjs/script/editor/tool/arrow/reactionArrowMoveTool.d.ts +12 -0
- package/dist/cjs/script/editor/tool/atom.d.ts +29 -0
- package/dist/cjs/script/editor/tool/attach.d.ts +24 -0
- package/dist/cjs/script/editor/tool/bond.d.ts +31 -0
- package/dist/cjs/script/editor/tool/chain.d.ts +27 -0
- package/dist/cjs/script/editor/tool/charge.d.ts +24 -0
- package/dist/cjs/script/editor/tool/enhanced-stereo.d.ts +25 -0
- package/dist/cjs/script/editor/tool/eraser.d.ts +30 -0
- package/dist/cjs/script/editor/tool/hand.d.ts +29 -0
- package/dist/cjs/script/editor/tool/helper/deleteFunctionalGroups.d.ts +2 -0
- package/dist/cjs/script/editor/tool/helper/dropAndMerge.d.ts +3 -0
- package/dist/cjs/script/editor/tool/helper/filterNotInCollapsedSGroup.d.ts +20 -0
- package/dist/cjs/script/editor/tool/helper/getGroupIdsFromItems.d.ts +12 -0
- package/dist/cjs/script/editor/tool/helper/isAtomOutSideCanvas.d.ts +2 -0
- package/dist/cjs/script/editor/tool/helper/isMacroMolecule.d.ts +5 -0
- package/dist/cjs/script/editor/tool/helper/lasso.d.ts +68 -0
- package/dist/cjs/script/editor/tool/helper/locate.d.ts +47 -0
- package/dist/cjs/script/editor/tool/image.d.ts +18 -0
- package/dist/cjs/script/editor/tool/index.d.ts +2 -0
- package/dist/cjs/script/editor/tool/paste.d.ts +34 -0
- package/dist/cjs/script/editor/tool/reactionmap.d.ts +27 -0
- package/dist/cjs/script/editor/tool/reactionplus.d.ts +26 -0
- package/dist/cjs/script/editor/tool/reactionunmap.d.ts +23 -0
- package/dist/cjs/script/editor/tool/rgroupatom.d.ts +23 -0
- package/dist/cjs/script/editor/tool/rgroupfragment.d.ts +24 -0
- package/dist/cjs/script/editor/tool/rotate-controller.d.ts +56 -0
- package/dist/cjs/script/editor/tool/rotate-controller.test.d.ts +1 -0
- package/dist/cjs/script/editor/tool/rotate-controller.utils.d.ts +3 -0
- package/dist/cjs/script/editor/tool/rotate.d.ts +51 -0
- package/dist/cjs/script/editor/tool/select/index.d.ts +7 -0
- package/dist/cjs/script/editor/tool/select/select.d.ts +42 -0
- package/dist/cjs/script/editor/tool/select/select.helpers.d.ts +17 -0
- package/dist/cjs/script/editor/tool/select/select.types.d.ts +1 -0
- package/dist/cjs/script/editor/tool/select/selectViewOnly.d.ts +14 -0
- package/dist/cjs/script/editor/tool/sgroup.d.ts +31 -0
- package/dist/cjs/script/editor/tool/simpleobject.d.ts +28 -0
- package/dist/cjs/script/editor/tool/template.d.ts +48 -0
- package/dist/cjs/script/editor/tool/templatePreview.d.ts +41 -0
- package/dist/cjs/script/editor/tool/text.d.ts +27 -0
- package/dist/cjs/script/editor/utils/customOnChangeHandler.d.ts +16 -0
- package/dist/cjs/script/editor/utils/elementOffset.d.ts +17 -0
- package/dist/cjs/script/editor/utils/functionalGroupsTooltip.d.ts +7 -0
- package/dist/cjs/script/editor/utils/getItemCursor.d.ts +3 -0
- package/dist/cjs/script/editor/utils/handleMovingPosibilityCursor.d.ts +1 -0
- package/dist/cjs/script/editor/utils/handleMovingPosibilityCursor.test.d.ts +1 -0
- package/dist/cjs/script/editor/utils/index.d.ts +19 -0
- package/dist/cjs/script/editor/utils/normalizeAngle.d.ts +11 -0
- package/dist/cjs/script/editor/utils/structLayout.d.ts +3 -0
- package/dist/cjs/script/index.d.ts +40 -0
- package/dist/cjs/script/providers/index.d.ts +1 -0
- package/dist/cjs/script/providers/indigoProvider.d.ts +5 -0
- package/dist/cjs/script/ui/App/App.container.d.ts +22 -0
- package/dist/cjs/script/ui/App/App.d.ts +24 -0
- package/dist/cjs/script/ui/App/AppHidden/AppHidden.container.d.ts +18 -0
- package/dist/cjs/script/ui/App/AppHidden/AppHidden.d.ts +22 -0
- package/dist/cjs/script/ui/App/AppHidden/index.d.ts +16 -0
- package/dist/cjs/script/ui/App/index.d.ts +16 -0
- package/dist/cjs/script/ui/App/initApp.d.ts +25 -0
- package/dist/cjs/script/ui/Portal/Portal.d.ts +38 -0
- package/dist/cjs/script/ui/Portal/index.d.ts +16 -0
- package/dist/cjs/script/ui/action/action.types.d.ts +45 -0
- package/dist/cjs/script/ui/action/atoms.d.ts +40 -0
- package/dist/cjs/script/ui/action/copyAs.d.ts +1 -0
- package/dist/cjs/script/ui/action/copyImageToClipboard.d.ts +2 -0
- package/dist/cjs/script/ui/action/createCopyOfSelected.d.ts +14 -0
- package/dist/cjs/script/ui/action/debug.d.ts +13 -0
- package/dist/cjs/script/ui/action/flips.d.ts +1 -0
- package/dist/cjs/script/ui/action/fullscreen.d.ts +24 -0
- package/dist/cjs/script/ui/action/functionalGroups.d.ts +31 -0
- package/dist/cjs/script/ui/action/help.d.ts +9 -0
- package/dist/cjs/script/ui/action/highlightColors/HighlightColors.d.ts +6 -0
- package/dist/cjs/script/ui/action/highlightColors/style.d.ts +25 -0
- package/dist/cjs/script/ui/action/index.d.ts +19 -0
- package/dist/cjs/script/ui/action/isHidden.d.ts +16 -0
- package/dist/cjs/script/ui/action/server.d.ts +92 -0
- package/dist/cjs/script/ui/action/templates.d.ts +16 -0
- package/dist/cjs/script/ui/action/tools.d.ts +372 -0
- package/dist/cjs/script/ui/action/zoom.d.ts +31 -0
- package/dist/cjs/script/ui/component/actionmenu.d.ts +9 -0
- package/dist/cjs/script/ui/component/cliparea/cliparea.d.ts +22 -0
- package/dist/cjs/script/ui/component/form/Input/Input.d.ts +43 -0
- package/dist/cjs/script/ui/component/form/Input/Input.test.d.ts +1 -0
- package/dist/cjs/script/ui/component/form/MeasureInput/measure-input.d.ts +12 -0
- package/dist/cjs/script/ui/component/form/Select/Select.d.ts +32 -0
- package/dist/cjs/script/ui/component/form/Select/Select.test.d.ts +1 -0
- package/dist/cjs/script/ui/component/form/Select/index.d.ts +17 -0
- package/dist/cjs/script/ui/component/form/buttonlist.d.ts +9 -0
- package/dist/cjs/script/ui/component/form/colorPicker/ColorPicker.d.ts +27 -0
- package/dist/cjs/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +1 -0
- package/dist/cjs/script/ui/component/form/combobox/combobox.d.ts +12 -0
- package/dist/cjs/script/ui/component/form/form/errorPopover.d.ts +5 -0
- package/dist/cjs/script/ui/component/form/form/form.d.ts +29 -0
- package/dist/cjs/script/ui/component/form/select-checkbox.d.ts +5 -0
- package/dist/cjs/script/ui/component/form/select-list.d.ts +26 -0
- package/dist/cjs/script/ui/component/form/systemfonts.d.ts +2 -0
- package/dist/cjs/script/ui/component/view/Atom/Atom.d.ts +7 -0
- package/dist/cjs/script/ui/component/view/Atom/index.d.ts +16 -0
- package/dist/cjs/script/ui/component/view/SaveButton.test.d.ts +16 -0
- package/dist/cjs/script/ui/component/view/Tabs/Tabs.d.ts +9 -0
- package/dist/cjs/script/ui/component/view/Tabs/index.d.ts +16 -0
- package/dist/cjs/script/ui/component/view/ToolActions.test.d.ts +1 -0
- package/dist/cjs/script/ui/component/view/openbutton.d.ts +9 -0
- package/dist/cjs/script/ui/component/view/saveButton.types.d.ts +2 -0
- package/dist/cjs/script/ui/component/view/saveButton.utils.d.ts +2 -0
- package/dist/cjs/script/ui/component/view/savebutton.d.ts +33 -0
- package/dist/cjs/script/ui/data/convert/structConverter.d.ts +17 -0
- package/dist/cjs/script/ui/data/convert/structconv.d.ts +52 -0
- package/dist/cjs/script/ui/data/schema/options-schema.d.ts +36 -0
- package/dist/cjs/script/ui/data/schema/schema-helper.d.ts +2 -0
- package/dist/cjs/script/ui/data/schema/sdata-schema.d.ts +60 -0
- package/dist/cjs/script/ui/data/schema/struct-schema.d.ts +436 -0
- package/dist/cjs/script/ui/data/templates.d.ts +2 -0
- package/dist/cjs/script/ui/data/utils.d.ts +11 -0
- package/dist/cjs/script/ui/data/utils.test.d.ts +1 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.constants.d.ts +4 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +16 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.test.d.ts +1 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +21 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.d.ts +1 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +7 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.types.d.ts +37 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +22 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.test.d.ts +16 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/hooks/useOptions.d.ts +17 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/hooks/useOptions.test.d.ts +1 -0
- package/dist/cjs/script/ui/dialog/AbbreviationLookup/index.d.ts +17 -0
- package/dist/cjs/script/ui/dialog/index.d.ts +17 -0
- package/dist/cjs/script/ui/dialog/template/EmptySearchResult.d.ts +19 -0
- package/dist/cjs/script/ui/dialog/template/TemplateDialog.d.ts +42 -0
- package/dist/cjs/script/ui/dialog/template/TemplateTable.d.ts +39 -0
- package/dist/cjs/script/ui/dialog/template/template-attach.d.ts +33 -0
- package/dist/cjs/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
- package/dist/cjs/script/ui/dialog/toolbox/SDataFieldset.d.ts +4 -0
- package/dist/cjs/script/ui/dialog/toolbox/SGroupFieldset.d.ts +4 -0
- package/dist/cjs/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +42 -0
- package/dist/cjs/script/ui/dialog/toolbox/labeledit.d.ts +3 -0
- package/dist/cjs/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +15 -0
- package/dist/cjs/script/ui/dialog/toolbox/sgroup.d.ts +9 -0
- package/dist/cjs/script/ui/dialog/toolbox/sgroup.test.d.ts +1 -0
- package/dist/cjs/script/ui/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/abbreviationLookup/abbreviationLookup.types.d.ts +19 -0
- package/dist/cjs/script/ui/state/abbreviationLookup/index.d.ts +30 -0
- package/dist/cjs/script/ui/state/abbreviationLookup/index.test.d.ts +1 -0
- package/dist/cjs/script/ui/state/abbreviationLookup/selectors/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/abbreviationLookup/selectors/selectors.d.ts +17 -0
- package/dist/cjs/script/ui/state/action/index.d.ts +7 -0
- package/dist/cjs/script/ui/state/common/common.types.d.ts +21 -0
- package/dist/cjs/script/ui/state/common/index.d.ts +26 -0
- package/dist/cjs/script/ui/state/common/index.test.d.ts +1 -0
- package/dist/cjs/script/ui/state/common/selectors/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/common/selectors/selectors.d.ts +19 -0
- package/dist/cjs/script/ui/state/constants.d.ts +23 -0
- package/dist/cjs/script/ui/state/editor/index.d.ts +28 -0
- package/dist/cjs/script/ui/state/editor/selectors/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/editor/utils/generateCommonProperties.d.ts +6 -0
- package/dist/cjs/script/ui/state/editor/utils/index.d.ts +1 -0
- package/dist/cjs/script/ui/state/floatingTools/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/floatingTools/selectors/index.d.ts +5 -0
- package/dist/cjs/script/ui/state/functionalGroups/index.d.ts +32 -0
- package/dist/cjs/script/ui/state/functionalGroups/selectors/index.d.ts +18 -0
- package/dist/cjs/script/ui/state/handleHotkeysOverItem.d.ts +15 -0
- package/dist/cjs/script/ui/state/hotkeys.d.ts +27 -0
- package/dist/cjs/script/ui/state/hotkeys.test.d.ts +1 -0
- package/dist/cjs/script/ui/state/index.d.ts +11 -0
- package/dist/cjs/script/ui/state/modal/atoms.d.ts +7 -0
- package/dist/cjs/script/ui/state/modal/bonds.d.ts +6 -0
- package/dist/cjs/script/ui/state/modal/form.d.ts +162 -0
- package/dist/cjs/script/ui/state/modal/index.d.ts +3 -0
- package/dist/cjs/script/ui/state/modal/sdata.d.ts +16 -0
- package/dist/cjs/script/ui/state/modal/utils/index.d.ts +1 -0
- package/dist/cjs/script/ui/state/modal/utils/updateOnlyChangedProperties.d.ts +1 -0
- package/dist/cjs/script/ui/state/mouse.d.ts +17 -0
- package/dist/cjs/script/ui/state/moveSelectedItems.d.ts +5 -0
- package/dist/cjs/script/ui/state/options/index.d.ts +106 -0
- package/dist/cjs/script/ui/state/request/index.d.ts +22 -0
- package/dist/cjs/script/ui/state/request/reducer.test.d.ts +16 -0
- package/dist/cjs/script/ui/state/request/request.types.d.ts +27 -0
- package/dist/cjs/script/ui/state/saltsAndSolvents/index.d.ts +30 -0
- package/dist/cjs/script/ui/state/saltsAndSolvents/selectors/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/server/index.d.ts +7 -0
- package/dist/cjs/script/ui/state/server/selectors/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/shared.d.ts +43 -0
- package/dist/cjs/script/ui/state/templates/index.d.ts +92 -0
- package/dist/cjs/script/ui/state/templates/init-lib.d.ts +28 -0
- package/dist/cjs/script/ui/state/templates/selectors/index.d.ts +16 -0
- package/dist/cjs/script/ui/state/toolbar/index.d.ts +33 -0
- package/dist/cjs/script/ui/storage-ext.d.ts +9 -0
- package/dist/cjs/script/ui/utils/fileOpener.d.ts +1 -0
- package/dist/cjs/script/ui/utils/index.d.ts +14 -0
- package/dist/cjs/script/ui/views/AppClipArea.d.ts +18 -0
- package/dist/cjs/script/ui/views/Editor.d.ts +3 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenu.d.ts +19 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +18 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenuTrigger.utils.d.ts +7 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +74 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAddAttachmentPoint.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAtomEdit.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAtomStereo.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondEdit.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondSGroupAttach.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondSGroupEdit.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondTypeChange.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useChangeBondDirection.d.ts +3 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useDelete.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupEoc.d.ts +7 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupRemove.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useMonomerExpansionHandlers.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useMultitailArrowTails.d.ts +11 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRGroupAttachmentPointEdit.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRGroupAttachmentPointRemove.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRemoveAttachmentPoint.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/index.d.ts +2 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/AtomMenuItems.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/BondMenuItems.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/FunctionalGroupMenuItems.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/MacromoleculeMenuItems.d.ts +3 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/MultitailArrowMenuItems.d.ts +2 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/RGroupAttachmentPointMenuItems.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/SelectionMenuItems.d.ts +4 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/utils.d.ts +25 -0
- package/dist/cjs/script/ui/views/components/ContextMenu/utils.test.d.ts +1 -0
- package/dist/cjs/script/ui/views/components/Spinner/LoadingCircles.d.ts +16 -0
- package/dist/cjs/script/ui/views/components/Spinner/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/components/StructEditor/InfoPanel.d.ts +27 -0
- package/dist/cjs/script/ui/views/components/StructEditor/InfoTooltip.d.ts +23 -0
- package/dist/cjs/script/ui/views/components/StructEditor/SGroupDataRender.d.ts +13 -0
- package/dist/cjs/script/ui/views/components/StructEditor/StructEditor.d.ts +33 -0
- package/dist/cjs/script/ui/views/components/StructEditor/helpers.d.ts +3 -0
- package/dist/cjs/script/ui/views/components/StructEditor/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/components/index.d.ts +19 -0
- package/dist/cjs/script/ui/views/modal/Modal.container.d.ts +19 -0
- package/dist/cjs/script/ui/views/modal/Modal.d.ts +27 -0
- package/dist/cjs/script/ui/views/modal/components/Confirm/Confirm.d.ts +6 -0
- package/dist/cjs/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +17 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +24 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
- package/dist/cjs/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
- package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +18 -0
- package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.test.d.ts +1 -0
- package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.test.utils.d.ts +63 -0
- package/dist/cjs/script/ui/views/modal/components/InfoModal/PasteErrorModalBody/PasteErrorModalBody.d.ts +2 -0
- package/dist/cjs/script/ui/views/modal/components/InfoModal/PasteErrorModalBody/index.d.ts +1 -0
- package/dist/cjs/script/ui/views/modal/components/InfoModal/constants.d.ts +9 -0
- package/dist/cjs/script/ui/views/modal/components/InfoModal/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +37 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +5 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +9 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +2 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +11 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +10 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +19 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +6 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/index.d.ts +20 -0
- package/dist/cjs/script/ui/views/modal/components/PeriodTable/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +21 -0
- package/dist/cjs/script/ui/views/modal/components/Text/FontControl/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +21 -0
- package/dist/cjs/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +19 -0
- package/dist/cjs/script/ui/views/modal/components/Text/Text.d.ts +25 -0
- package/dist/cjs/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +30 -0
- package/dist/cjs/script/ui/views/modal/components/Text/TextButton/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/Text/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/Open.container.d.ts +24 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/Open.d.ts +30 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +19 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/CDXStructuresViewer/CDXStructuresViewer.d.ts +23 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/CDXStructuresViewer/index.d.ts +2 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +24 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +21 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +33 -0
- package/dist/cjs/script/ui/views/modal/components/document/Open/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/document/Save/Save.d.ts +46 -0
- package/dist/cjs/script/ui/views/modal/components/document/Save/Save.test.d.ts +1 -0
- package/dist/cjs/script/ui/views/modal/components/document/Save/Save.test.utils.d.ts +2 -0
- package/dist/cjs/script/ui/views/modal/components/document/Save/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/document/index.d.ts +18 -0
- package/dist/cjs/script/ui/views/modal/components/meta/About/About.d.ts +3 -0
- package/dist/cjs/script/ui/views/modal/components/meta/About/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
- package/dist/cjs/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/meta/Settings/Settings.d.ts +38 -0
- package/dist/cjs/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +42 -0
- package/dist/cjs/script/ui/views/modal/components/meta/Settings/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/meta/index.d.ts +18 -0
- package/dist/cjs/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +10 -0
- package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +5 -0
- package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +19 -0
- package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/index.d.ts +18 -0
- package/dist/cjs/script/ui/views/modal/components/process/Analyse/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/process/Check/Check.d.ts +3 -0
- package/dist/cjs/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +17 -0
- package/dist/cjs/script/ui/views/modal/components/process/Check/components/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/process/Check/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/process/Miew/Miew.d.ts +30 -0
- package/dist/cjs/script/ui/views/modal/components/process/Miew/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +3 -0
- package/dist/cjs/script/ui/views/modal/components/process/Recognize/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/process/index.d.ts +20 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +24 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +40 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +3 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +21 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/helper.d.ts +6 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +17 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +24 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +18 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +32 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +17 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +28 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +23 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +17 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +29 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +19 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
- package/dist/cjs/script/ui/views/modal/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/modal/mediaSizes.d.ts +20 -0
- package/dist/cjs/script/ui/views/modal/modal.types.d.ts +28 -0
- package/dist/cjs/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +23 -0
- package/dist/cjs/script/ui/views/toolbars/ArrowScroll/index.d.ts +2 -0
- package/dist/cjs/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +20 -0
- package/dist/cjs/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +28 -0
- package/dist/cjs/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +34 -0
- package/dist/cjs/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/BottomToolbar/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/FloatingTools/FloatingTools.container.d.ts +4 -0
- package/dist/cjs/script/ui/views/toolbars/FloatingTools/FloatingTools.d.ts +20 -0
- package/dist/cjs/script/ui/views/toolbars/FloatingTools/index.d.ts +1 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +24 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +24 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +18 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +24 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +24 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +24 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +8 -0
- package/dist/cjs/script/ui/views/toolbars/ModeControl/ModeControl.d.ts +21 -0
- package/dist/cjs/script/ui/views/toolbars/ModeControl/index.d.ts +1 -0
- package/dist/cjs/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +33 -0
- package/dist/cjs/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +21 -0
- package/dist/cjs/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +29 -0
- package/dist/cjs/script/ui/views/toolbars/RightToolbar/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +37 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +34 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +41 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +19 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +19 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +22 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +18 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +22 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +18 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +35 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +18 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +30 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/CustomButtons.d.ts +8 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/Divider.d.ts +17 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +35 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +10 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +27 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +17 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +59 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbarIconButton.d.ts +21 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +26 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +28 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +26 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +22 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +21 -0
- package/dist/cjs/script/ui/views/toolbars/TopToolbar/index.d.ts +16 -0
- package/dist/cjs/script/ui/views/toolbars/index.d.ts +20 -0
- package/dist/cjs/script/ui/views/toolbars/mediaSizes.d.ts +23 -0
- package/dist/cjs/script/ui/views/toolbars/toolbar.types.d.ts +34 -0
- package/dist/cjs/setupTests.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +4207 -4163
- package/dist/index.js.map +1 -1
- package/dist/index.modern-b02f5e53.js +15301 -0
- package/dist/index.modern-b02f5e53.js.map +1 -0
- package/dist/script/ui/views/toolbars/ModeControl/ModeControl.d.ts +21 -0
- package/dist/script/ui/views/toolbars/ModeControl/index.d.ts +1 -0
- package/package.json +12 -4
- package/dist/index.modern.js.map +0 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
export function updateFormState(data: any): {
|
|
2
|
+
type: string;
|
|
3
|
+
data: any;
|
|
4
|
+
};
|
|
5
|
+
export function checkErrors(errors: any): {
|
|
6
|
+
type: string;
|
|
7
|
+
data: {
|
|
8
|
+
moleculeErrors: any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export function setDefaultSettings(): {
|
|
12
|
+
type: string;
|
|
13
|
+
data: {
|
|
14
|
+
result: Record<string, any>;
|
|
15
|
+
valid: boolean;
|
|
16
|
+
errors: {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export function formReducer(state: any, action: any): any;
|
|
20
|
+
export namespace formsState {
|
|
21
|
+
namespace atomProps {
|
|
22
|
+
const errors: {};
|
|
23
|
+
const valid: boolean;
|
|
24
|
+
namespace result {
|
|
25
|
+
const label: string;
|
|
26
|
+
const charge: null;
|
|
27
|
+
const explicitValence: number;
|
|
28
|
+
const hCount: number;
|
|
29
|
+
const invRet: number;
|
|
30
|
+
const isotope: null;
|
|
31
|
+
const radical: number;
|
|
32
|
+
const ringBondCount: number;
|
|
33
|
+
const substitutionCount: number;
|
|
34
|
+
const aromaticity: null;
|
|
35
|
+
const implicitHCount: null;
|
|
36
|
+
const ringMembership: null;
|
|
37
|
+
const ringSize: null;
|
|
38
|
+
const connectivity: null;
|
|
39
|
+
const chirality: null;
|
|
40
|
+
const customQuery: null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
namespace attachmentPoints {
|
|
44
|
+
const errors_1: {};
|
|
45
|
+
export { errors_1 as errors };
|
|
46
|
+
const valid_1: boolean;
|
|
47
|
+
export { valid_1 as valid };
|
|
48
|
+
export namespace result_1 {
|
|
49
|
+
const primary: boolean;
|
|
50
|
+
const secondary: boolean;
|
|
51
|
+
}
|
|
52
|
+
export { result_1 as result };
|
|
53
|
+
}
|
|
54
|
+
namespace automap {
|
|
55
|
+
const errors_2: {};
|
|
56
|
+
export { errors_2 as errors };
|
|
57
|
+
const valid_2: boolean;
|
|
58
|
+
export { valid_2 as valid };
|
|
59
|
+
export namespace result_2 {
|
|
60
|
+
const mode: string;
|
|
61
|
+
}
|
|
62
|
+
export { result_2 as result };
|
|
63
|
+
}
|
|
64
|
+
namespace bondProps {
|
|
65
|
+
const errors_3: {};
|
|
66
|
+
export { errors_3 as errors };
|
|
67
|
+
const valid_3: boolean;
|
|
68
|
+
export { valid_3 as valid };
|
|
69
|
+
export namespace result_3 {
|
|
70
|
+
export const type: string;
|
|
71
|
+
export const topology: number;
|
|
72
|
+
export const center: number;
|
|
73
|
+
const customQuery_1: null;
|
|
74
|
+
export { customQuery_1 as customQuery };
|
|
75
|
+
}
|
|
76
|
+
export { result_3 as result };
|
|
77
|
+
}
|
|
78
|
+
namespace check {
|
|
79
|
+
const errors_4: {};
|
|
80
|
+
export { errors_4 as errors };
|
|
81
|
+
export const moleculeErrors: {};
|
|
82
|
+
}
|
|
83
|
+
namespace labelEdit {
|
|
84
|
+
const errors_5: {};
|
|
85
|
+
export { errors_5 as errors };
|
|
86
|
+
const valid_4: boolean;
|
|
87
|
+
export { valid_4 as valid };
|
|
88
|
+
export namespace result_4 {
|
|
89
|
+
const label_1: string;
|
|
90
|
+
export { label_1 as label };
|
|
91
|
+
}
|
|
92
|
+
export { result_4 as result };
|
|
93
|
+
}
|
|
94
|
+
namespace rgroup {
|
|
95
|
+
const errors_6: {};
|
|
96
|
+
export { errors_6 as errors };
|
|
97
|
+
const valid_5: boolean;
|
|
98
|
+
export { valid_5 as valid };
|
|
99
|
+
export namespace result_5 {
|
|
100
|
+
const values: never[];
|
|
101
|
+
}
|
|
102
|
+
export { result_5 as result };
|
|
103
|
+
}
|
|
104
|
+
namespace rgroupLogic {
|
|
105
|
+
const errors_7: {};
|
|
106
|
+
export { errors_7 as errors };
|
|
107
|
+
const valid_6: boolean;
|
|
108
|
+
export { valid_6 as valid };
|
|
109
|
+
export namespace result_6 {
|
|
110
|
+
const ifthen: number;
|
|
111
|
+
const range: string;
|
|
112
|
+
const resth: boolean;
|
|
113
|
+
}
|
|
114
|
+
export { result_6 as result };
|
|
115
|
+
}
|
|
116
|
+
namespace save {
|
|
117
|
+
const errors_8: {};
|
|
118
|
+
export { errors_8 as errors };
|
|
119
|
+
const valid_7: boolean;
|
|
120
|
+
export { valid_7 as valid };
|
|
121
|
+
export namespace result_7 {
|
|
122
|
+
const filename: string;
|
|
123
|
+
const format: string;
|
|
124
|
+
}
|
|
125
|
+
export { result_7 as result };
|
|
126
|
+
}
|
|
127
|
+
namespace settings {
|
|
128
|
+
const errors_9: {};
|
|
129
|
+
export { errors_9 as errors };
|
|
130
|
+
const valid_8: boolean;
|
|
131
|
+
export { valid_8 as valid };
|
|
132
|
+
const result_8: Record<string, any>;
|
|
133
|
+
export { result_8 as result };
|
|
134
|
+
}
|
|
135
|
+
namespace text {
|
|
136
|
+
const errors_10: {};
|
|
137
|
+
export { errors_10 as errors };
|
|
138
|
+
const valid_9: boolean;
|
|
139
|
+
export { valid_9 as valid };
|
|
140
|
+
const result_9: {};
|
|
141
|
+
export { result_9 as result };
|
|
142
|
+
}
|
|
143
|
+
namespace attach {
|
|
144
|
+
const errors_11: {};
|
|
145
|
+
export { errors_11 as errors };
|
|
146
|
+
const valid_10: boolean;
|
|
147
|
+
export { valid_10 as valid };
|
|
148
|
+
const result_10: {};
|
|
149
|
+
export { result_10 as result };
|
|
150
|
+
}
|
|
151
|
+
const sgroup: {
|
|
152
|
+
errors: {};
|
|
153
|
+
valid: boolean;
|
|
154
|
+
result: {
|
|
155
|
+
context: string;
|
|
156
|
+
fieldName: string;
|
|
157
|
+
fieldValue: string;
|
|
158
|
+
radiobuttons: string;
|
|
159
|
+
type: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function sdataReducer(state: any, action: any): {
|
|
2
|
+
result: any;
|
|
3
|
+
valid: any;
|
|
4
|
+
errors: any;
|
|
5
|
+
};
|
|
6
|
+
export function initSdata(schema: any): {
|
|
7
|
+
errors: {};
|
|
8
|
+
valid: boolean;
|
|
9
|
+
result: {
|
|
10
|
+
context: string;
|
|
11
|
+
fieldName: string;
|
|
12
|
+
fieldValue: string;
|
|
13
|
+
radiobuttons: string;
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './updateOnlyChangedProperties';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function updateOnlyChangedProperties(unchangedElement: any, userChangedElement: any): {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare function initMouseListener(element: any): (dispatch: any, getState: any) => void;
|
|
17
|
+
export declare function removeMouseListeners(element: any): () => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Editor } from 'ketcher-core';
|
|
2
|
+
declare type ArrowKey = 'ArrowUp' | 'ArrowDown' | 'ArrowRight' | 'ArrowLeft';
|
|
3
|
+
export declare function isArrowKey(key: string): key is ArrowKey;
|
|
4
|
+
export declare function moveSelectedItems(editor: Editor, key: ArrowKey, isShiftPressed: boolean): void;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
export function appUpdate(data: any): (dispatch: any) => void;
|
|
2
|
+
export function saveSettings(newSettings: any): {
|
|
3
|
+
type: string;
|
|
4
|
+
data: any;
|
|
5
|
+
};
|
|
6
|
+
export function changeRound(roundName: any, value: any): {
|
|
7
|
+
type: string;
|
|
8
|
+
data: {
|
|
9
|
+
[x: number]: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export function setStruct(str: any): {
|
|
13
|
+
type: string;
|
|
14
|
+
data: {
|
|
15
|
+
structStr: any;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export function changeVersion(version: any): {
|
|
19
|
+
type: string;
|
|
20
|
+
data: {
|
|
21
|
+
version: any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export function changeImage(file: any): {
|
|
25
|
+
type: string;
|
|
26
|
+
data: {
|
|
27
|
+
file: any;
|
|
28
|
+
structStr: null;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export function shouldFragment(isFrag: any): {
|
|
32
|
+
type: string;
|
|
33
|
+
data: {
|
|
34
|
+
fragment: any;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export function checkOpts(data: any): {
|
|
38
|
+
type: string;
|
|
39
|
+
data: any;
|
|
40
|
+
};
|
|
41
|
+
export namespace initOptionsState {
|
|
42
|
+
namespace app {
|
|
43
|
+
const server: boolean;
|
|
44
|
+
const templates: boolean;
|
|
45
|
+
const functionalGroups: boolean;
|
|
46
|
+
const saltsAndSolvents: boolean;
|
|
47
|
+
}
|
|
48
|
+
namespace analyse {
|
|
49
|
+
const values: null;
|
|
50
|
+
const roundWeight: number;
|
|
51
|
+
const roundMass: number;
|
|
52
|
+
const roundElAnalysis: number;
|
|
53
|
+
}
|
|
54
|
+
namespace check {
|
|
55
|
+
const checkOptions: string[];
|
|
56
|
+
}
|
|
57
|
+
namespace recognize {
|
|
58
|
+
const file: null;
|
|
59
|
+
const structStr: null;
|
|
60
|
+
const fragment: boolean;
|
|
61
|
+
const version: null;
|
|
62
|
+
}
|
|
63
|
+
const settings: Record<string, any> & Record<string, string>;
|
|
64
|
+
function getSettings(): void;
|
|
65
|
+
function getSettings(): void;
|
|
66
|
+
function getServerSettings(): {
|
|
67
|
+
'render-coloring': any;
|
|
68
|
+
'render-font-size': any;
|
|
69
|
+
'render-font-size-unit': any;
|
|
70
|
+
'render-font-size-sub': any;
|
|
71
|
+
'render-font-size-sub-unit': any;
|
|
72
|
+
'image-resolution': number;
|
|
73
|
+
'bond-length': any;
|
|
74
|
+
'bond-length-unit': any;
|
|
75
|
+
'render-bond-thickness': any;
|
|
76
|
+
'render-bond-thickness-unit': any;
|
|
77
|
+
'render-bond-spacing': number;
|
|
78
|
+
'render-stereo-bond-width': any;
|
|
79
|
+
'render-stereo-bond-width-unit': any;
|
|
80
|
+
'render-hash-spacing': any;
|
|
81
|
+
'render-hash-spacing-unit': any;
|
|
82
|
+
'reaction-component-margin-size': any;
|
|
83
|
+
'reaction-component-margin-size-unit': any;
|
|
84
|
+
};
|
|
85
|
+
function getServerSettings(): {
|
|
86
|
+
'render-coloring': any;
|
|
87
|
+
'render-font-size': any;
|
|
88
|
+
'render-font-size-unit': any;
|
|
89
|
+
'render-font-size-sub': any;
|
|
90
|
+
'render-font-size-sub-unit': any;
|
|
91
|
+
'image-resolution': number;
|
|
92
|
+
'bond-length': any;
|
|
93
|
+
'bond-length-unit': any;
|
|
94
|
+
'render-bond-thickness': any;
|
|
95
|
+
'render-bond-thickness-unit': any;
|
|
96
|
+
'render-bond-spacing': number;
|
|
97
|
+
'render-stereo-bond-width': any;
|
|
98
|
+
'render-stereo-bond-width-unit': any;
|
|
99
|
+
'render-hash-spacing': any;
|
|
100
|
+
'render-hash-spacing-unit': any;
|
|
101
|
+
'reaction-component-margin-size': any;
|
|
102
|
+
'reaction-component-margin-size-unit': any;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export default optionsReducer;
|
|
106
|
+
declare function optionsReducer(state: {} | undefined, action: any): {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { RequestActionTypes, RequestState } from './request.types';
|
|
17
|
+
export declare function indigoVerification(data: boolean): RequestActionTypes;
|
|
18
|
+
export declare function setAnalyzingFile(data: boolean): RequestActionTypes;
|
|
19
|
+
export default function (state: {
|
|
20
|
+
indigoVerification: boolean;
|
|
21
|
+
isAnalyzingFile: boolean;
|
|
22
|
+
} | undefined, action: RequestActionTypes): RequestState;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare const INDIGO_VERIFICATION = "INDIGO_VERIFICATION";
|
|
17
|
+
export declare const ANALYZING_FILE = "ANALYZING_FILE";
|
|
18
|
+
export interface RequestState {
|
|
19
|
+
indigoVerification: boolean;
|
|
20
|
+
isAnalyzingFile: boolean;
|
|
21
|
+
}
|
|
22
|
+
interface IndigoVerificationAction {
|
|
23
|
+
type: string;
|
|
24
|
+
data: boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare type RequestActionTypes = IndigoVerificationAction;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { AnyAction } from 'redux';
|
|
17
|
+
import { SdfItem } from 'ketcher-core';
|
|
18
|
+
interface SaltsAndSolventsState {
|
|
19
|
+
lib: [];
|
|
20
|
+
mode: string;
|
|
21
|
+
}
|
|
22
|
+
declare const saltsAndSolventsReducer: (state: SaltsAndSolventsState | undefined, { type, payload }: AnyAction) => any;
|
|
23
|
+
export declare const initSaltsAndSolvents: (lib: SdfItem[]) => {
|
|
24
|
+
type: string;
|
|
25
|
+
payload: {
|
|
26
|
+
lib: SdfItem[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare function initSaltsAndSolventsTemplates(): (dispatch: any) => Promise<void>;
|
|
30
|
+
export default saltsAndSolventsReducer;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare const saltsAndSolventsSelector: (state: any) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export function checkServer(): (dispatch: any, getState: any) => void;
|
|
2
|
+
export function recognize(file: any, version: any): (dispatch: any, getState: any) => void;
|
|
3
|
+
export function check(optsTypes: any): (dispatch: any, getState: any) => any;
|
|
4
|
+
export function automap(res: any): (dispatch: any, getState: any) => void;
|
|
5
|
+
export function analyse(): (dispatch: any, getState: any) => any;
|
|
6
|
+
export function serverTransform(method: any, data: any, struct: any): (dispatch: any, getState: any) => void;
|
|
7
|
+
export function serverCall(editor: any, server: any, method: any, options: any, struct: any): any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare const serverSelector: (state: any) => any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { Struct } from 'ketcher-core';
|
|
17
|
+
export declare function onAction(action: any): any;
|
|
18
|
+
export declare function loadStruct(struct: any): (_dispatch: any, getState: any) => void;
|
|
19
|
+
export declare function parseStruct(struct: string | Struct, server: any, options?: any): Promise<Struct>;
|
|
20
|
+
export declare function removeStructAction(): {
|
|
21
|
+
type: string;
|
|
22
|
+
action?: Record<string, unknown>;
|
|
23
|
+
};
|
|
24
|
+
export declare const getSelectionFromStruct: (struct: any) => {};
|
|
25
|
+
export declare function load(struct: Struct, options?: any): (dispatch: any, getState: any) => Promise<void>;
|
|
26
|
+
export declare function openInfoModal(command: 'Paste' | 'Copy' | 'Cut'): {
|
|
27
|
+
type: 'MODAL_OPEN';
|
|
28
|
+
data: {
|
|
29
|
+
name: 'info-modal';
|
|
30
|
+
prop: {
|
|
31
|
+
message: 'Paste' | 'Copy' | 'Cut';
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare function openInfoModalWithCustomMessage(message: string): {
|
|
36
|
+
type: 'MODAL_OPEN';
|
|
37
|
+
data: {
|
|
38
|
+
name: 'info-modal';
|
|
39
|
+
prop: {
|
|
40
|
+
customText: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import initTmplLib from './init-lib';
|
|
17
|
+
export { initTmplLib };
|
|
18
|
+
export declare function selectTmpl(tmpl: any): {
|
|
19
|
+
type: string;
|
|
20
|
+
data: {
|
|
21
|
+
selected: any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare function changeGroup(group: any): {
|
|
25
|
+
type: string;
|
|
26
|
+
data: {
|
|
27
|
+
group: any;
|
|
28
|
+
selected: null;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare function changeFilter(filter: any): {
|
|
32
|
+
type: string;
|
|
33
|
+
data: {
|
|
34
|
+
filter: any;
|
|
35
|
+
selected: null;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare function changeTab(tab: any): {
|
|
39
|
+
type: string;
|
|
40
|
+
data: {
|
|
41
|
+
tab: any;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare function initAttach(name: any, attach: any): {
|
|
45
|
+
type: string;
|
|
46
|
+
data: {
|
|
47
|
+
name: any;
|
|
48
|
+
atomid: any;
|
|
49
|
+
bondid: any;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare function setAttachPoints(attach: any): {
|
|
53
|
+
type: string;
|
|
54
|
+
data: {
|
|
55
|
+
atomid: any;
|
|
56
|
+
bondid: any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare function setTmplName(name: any): {
|
|
60
|
+
type: string;
|
|
61
|
+
data: {
|
|
62
|
+
name: any;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export declare function editTmpl(tmpl: any): (dispatch: any, getState: any) => void;
|
|
66
|
+
export declare function deleteUserTmpl(tmpl: any): {
|
|
67
|
+
type: string;
|
|
68
|
+
data: {
|
|
69
|
+
tmpl: any;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export declare function deleteTmpl(tmpl: any): (dispatch: any, getState: any) => void;
|
|
73
|
+
export declare function saveUserTmpl(struct: any): (dispatch: any, getState: any) => void;
|
|
74
|
+
export declare const initTmplsState: {
|
|
75
|
+
lib: never[];
|
|
76
|
+
selected: null;
|
|
77
|
+
filter: string;
|
|
78
|
+
group: null;
|
|
79
|
+
attach: {};
|
|
80
|
+
mode: string;
|
|
81
|
+
tab: number;
|
|
82
|
+
};
|
|
83
|
+
declare function templatesReducer(state: {
|
|
84
|
+
lib: never[];
|
|
85
|
+
selected: null;
|
|
86
|
+
filter: string;
|
|
87
|
+
group: null;
|
|
88
|
+
attach: {};
|
|
89
|
+
mode: string;
|
|
90
|
+
tab: number;
|
|
91
|
+
} | undefined, action: any): any;
|
|
92
|
+
export default templatesReducer;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { SdfItem } from 'ketcher-core';
|
|
17
|
+
import { AnyAction, Dispatch } from 'redux';
|
|
18
|
+
interface TemplateLibrary {
|
|
19
|
+
type: string;
|
|
20
|
+
data: {
|
|
21
|
+
lib: SdfItem[];
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare function initLib(lib: SdfItem[]): TemplateLibrary;
|
|
25
|
+
export default function initTmplLib(dispatch: Dispatch<AnyAction>, baseUrl: string, cacheEl: Element): Promise<void>;
|
|
26
|
+
export declare function reinitializeTemplateLibrary(): void;
|
|
27
|
+
export declare function prefetchStatic(url: string): Promise<string>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare const templatesLibSelector: (state: any) => any;
|