ketcher-react 3.0.0-rc.1 → 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} +4299 -4055
- 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 +4201 -4157
- 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,59 @@
|
|
|
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 const _default: {
|
|
17
|
+
background: {
|
|
18
|
+
readonly color: {
|
|
19
|
+
readonly primary: "#FFFFFF";
|
|
20
|
+
readonly secondary: "#167782";
|
|
21
|
+
readonly hover: "#188794";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
font: {
|
|
25
|
+
readonly size: {
|
|
26
|
+
readonly small: "10px";
|
|
27
|
+
readonly regular: "12px";
|
|
28
|
+
};
|
|
29
|
+
readonly weight: {
|
|
30
|
+
readonly regular: "400";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
border: {
|
|
34
|
+
readonly primary: "1px solid #cad3dd";
|
|
35
|
+
readonly secondary: "1px solid #167782";
|
|
36
|
+
readonly medium: "1.5px solid #188794";
|
|
37
|
+
readonly radius: {
|
|
38
|
+
readonly regular: "2px";
|
|
39
|
+
readonly medium: "4px";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
color: {
|
|
43
|
+
readonly white: "#FFFFFF";
|
|
44
|
+
readonly primaryWhite: "#EFF2F5";
|
|
45
|
+
readonly green: "#167782";
|
|
46
|
+
readonly lightGreen: "#188794";
|
|
47
|
+
readonly graphite: "#333333";
|
|
48
|
+
readonly grey: "#cad3dd";
|
|
49
|
+
readonly darkGrey: "#b4b9d6";
|
|
50
|
+
};
|
|
51
|
+
text: {
|
|
52
|
+
readonly color: {
|
|
53
|
+
readonly primary: "#333333";
|
|
54
|
+
readonly secondary: "#FFFFFF";
|
|
55
|
+
readonly hover: "#167782";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export default _default;
|
|
@@ -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 { default as style } from './consts';
|
|
@@ -0,0 +1,49 @@
|
|
|
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 ketcherInitEventName: (ketcherId?: string) => string;
|
|
17
|
+
export declare const MODES: {
|
|
18
|
+
FG: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const STRUCT_TYPE: {
|
|
21
|
+
atoms: string;
|
|
22
|
+
bonds: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const KETCHER_ROOT_NODE_CLASS_NAME = "Ketcher-root";
|
|
25
|
+
export declare const KETCHER_ROOT_NODE_CSS_SELECTOR: string;
|
|
26
|
+
export declare const EditorClassName = "Ketcher-polymer-editor-root";
|
|
27
|
+
export declare const KETCHER_MACROMOLECULES_ROOT_NODE_SELECTOR: string;
|
|
28
|
+
export declare const STRUCT_SERVICE_NO_RENDER_INITIALIZED_EVENT = "struct-service-no-render-initialized";
|
|
29
|
+
export declare const STRUCT_SERVICE_INITIALIZED_EVENT = "struct-service-initialized";
|
|
30
|
+
export declare const ACS_STYLE_DEFAULT_SETTINGS: {
|
|
31
|
+
atomColoring: boolean;
|
|
32
|
+
font: string;
|
|
33
|
+
fontsz: number;
|
|
34
|
+
fontszUnit: string;
|
|
35
|
+
fontszsub: number;
|
|
36
|
+
fontszsubUnit: string;
|
|
37
|
+
reactionComponentMarginSize: number;
|
|
38
|
+
reactionComponentMarginSizeUnit: string;
|
|
39
|
+
imageResolution: string;
|
|
40
|
+
bondLength: number;
|
|
41
|
+
bondLengthUnit: string;
|
|
42
|
+
bondSpacing: number;
|
|
43
|
+
bondThickness: number;
|
|
44
|
+
bondThicknessUnit: string;
|
|
45
|
+
stereoBondWidth: number;
|
|
46
|
+
stereoBondWidthUnit: string;
|
|
47
|
+
hashSpacing: number;
|
|
48
|
+
hashSpacingUnit: string;
|
|
49
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { Ketcher } from 'ketcher-core';
|
|
17
|
+
import React from 'react';
|
|
18
|
+
export interface IAppContext {
|
|
19
|
+
getKetcherInstance: () => Ketcher;
|
|
20
|
+
ketcherId: string;
|
|
21
|
+
}
|
|
22
|
+
declare const appContext: React.Context<IAppContext>;
|
|
23
|
+
export default appContext;
|
|
@@ -0,0 +1,21 @@
|
|
|
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 React from 'react';
|
|
17
|
+
export interface IErrorsContext {
|
|
18
|
+
errorHandler: (message: string) => void;
|
|
19
|
+
}
|
|
20
|
+
declare const errorsContext: React.Context<IErrorsContext>;
|
|
21
|
+
export default errorsContext;
|
|
@@ -0,0 +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
|
+
***************************************************************************/
|
|
16
|
+
import React from 'react';
|
|
17
|
+
declare const formContext: React.Context<null>;
|
|
18
|
+
export default formContext;
|
|
@@ -0,0 +1,21 @@
|
|
|
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 AppContext, { IAppContext } from './appContext';
|
|
17
|
+
import ErrorsContext, { IErrorsContext } from './errorsContext';
|
|
18
|
+
import SettingsContext, { ISettingsContext } from './settingsContext';
|
|
19
|
+
import FormContext from './formContext';
|
|
20
|
+
export { SettingsContext, FormContext, AppContext, ErrorsContext };
|
|
21
|
+
export type { ISettingsContext, IAppContext, IErrorsContext };
|
|
@@ -0,0 +1,21 @@
|
|
|
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 React from 'react';
|
|
17
|
+
export interface ISettingsContext {
|
|
18
|
+
staticResourcesUrl: string;
|
|
19
|
+
}
|
|
20
|
+
declare const settingsContext: React.Context<ISettingsContext>;
|
|
21
|
+
export default settingsContext;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export * from './useSettingsContext';
|
|
17
|
+
export * from './useResizeObserver';
|
|
18
|
+
export * from './useFormContext';
|
|
19
|
+
export * from './useAppContext';
|
|
20
|
+
export * from './useInterval';
|
|
21
|
+
export * from './useSubscribtionOnEvents';
|
|
@@ -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 useAppContext: () => import("../contexts/appContext").IAppContext;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare function useFormContext(): null;
|
|
@@ -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 useInterval: (callback: () => void, delay: number | null) => void;
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { RefCallback, RefObject } from 'react';
|
|
17
|
+
declare type Options<THTMLElement extends HTMLElement> = {
|
|
18
|
+
ref?: RefObject<THTMLElement> | THTMLElement | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
declare type HookResponse<THTMLElement extends HTMLElement> = {
|
|
21
|
+
ref: RefCallback<THTMLElement>;
|
|
22
|
+
width: number | undefined;
|
|
23
|
+
height: number | undefined;
|
|
24
|
+
};
|
|
25
|
+
declare function useThrottleResizeObserver<THTMLElement extends HTMLElement>(options?: Options<THTMLElement>): HookResponse<THTMLElement>;
|
|
26
|
+
export { useThrottleResizeObserver as useResizeObserver };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare function useSettingsContext(): import("./../contexts/settingsContext").ISettingsContext;
|
|
@@ -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 useSubscriptionOnEvents: () => void;
|