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,42 @@
|
|
|
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 { Editor } from '../../Editor';
|
|
17
|
+
import { Tool } from '../Tool';
|
|
18
|
+
import { SelectMode } from './select.types';
|
|
19
|
+
declare class SelectTool implements Tool {
|
|
20
|
+
#private;
|
|
21
|
+
private readonly editor;
|
|
22
|
+
private dragCtx;
|
|
23
|
+
private previousMouseMoveEvent?;
|
|
24
|
+
isMouseDown: boolean;
|
|
25
|
+
isReadyForCopy: boolean;
|
|
26
|
+
isCopied: boolean;
|
|
27
|
+
readonly isMoving = false;
|
|
28
|
+
private multitailArrowMoveTool;
|
|
29
|
+
private reactionArrowMoveTool;
|
|
30
|
+
constructor(editor: Editor, mode: SelectMode);
|
|
31
|
+
isSelectionRunning(): boolean;
|
|
32
|
+
mousedown(event: PointerEvent): boolean;
|
|
33
|
+
mousemove(event: PointerEvent): true | undefined;
|
|
34
|
+
mouseup(event: PointerEvent): void;
|
|
35
|
+
dblclick(event: any): true | undefined;
|
|
36
|
+
mouseleave(): void;
|
|
37
|
+
private isDraggingStructureOnSaltOrSolvent;
|
|
38
|
+
private isCloseToEdgeOfCanvas;
|
|
39
|
+
private handleMoveCloseToEdgeOfCanvas;
|
|
40
|
+
private moveViewBox;
|
|
41
|
+
}
|
|
42
|
+
export default SelectTool;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Atom, Bond } from 'ketcher-core';
|
|
2
|
+
import Editor from '../../Editor';
|
|
3
|
+
import LassoHelper from '../helper/lasso';
|
|
4
|
+
export declare function selMerge(selection: any, add: any, reversible: boolean): any;
|
|
5
|
+
export declare function getSelectedAtoms(selection: any, molecule: any): Atom[];
|
|
6
|
+
export declare function getSelectedBonds(selection: any, molecule: any): Bond[];
|
|
7
|
+
export declare function mapAtomIdsToAtoms(atomsIds: number[], molecule: any): Atom[];
|
|
8
|
+
export declare function mapBondIdsToBonds(bondsIds: number[], molecule: any): Bond[];
|
|
9
|
+
export declare function getNewSelectedItems(editor: Editor, selectedSgroups: number[]): Record<"atoms" | "bonds", number[]>;
|
|
10
|
+
export declare function selectElementsOnCanvas(elements: {
|
|
11
|
+
atoms: number[];
|
|
12
|
+
bonds: number[];
|
|
13
|
+
}, editor: Editor, lassoHelper: LassoHelper, event: PointerEvent): void;
|
|
14
|
+
export declare function onSelectionStart(event: PointerEvent, editor: Editor, lassoHelper: LassoHelper): void;
|
|
15
|
+
export declare function onSelectionMove(event: PointerEvent, editor: Editor, lassoHelper: LassoHelper): boolean;
|
|
16
|
+
export declare function onSelectionEnd(event: PointerEvent, editor: Editor, lassoHelper: LassoHelper): void;
|
|
17
|
+
export declare function onSelectionLeave(editor: Editor, lassoHelper: LassoHelper): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type SelectMode = 'lasso' | 'fragment' | 'rectangle';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Tool } from '../Tool';
|
|
2
|
+
import Editor from '../../Editor';
|
|
3
|
+
import { SelectMode } from './select.types';
|
|
4
|
+
export declare class SelectViewOnlyTool implements Tool {
|
|
5
|
+
private readonly editor;
|
|
6
|
+
private mode;
|
|
7
|
+
private readonly lassoHelper;
|
|
8
|
+
constructor(editor: Editor, mode: SelectMode);
|
|
9
|
+
isSelectionRunning(): boolean;
|
|
10
|
+
mousedown(event: PointerEvent): void;
|
|
11
|
+
mousemove(event: PointerEvent): void;
|
|
12
|
+
mouseup(event: PointerEvent): void;
|
|
13
|
+
mouseleave(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 Editor from '../Editor';
|
|
17
|
+
import { Tool } from './Tool';
|
|
18
|
+
declare class SGroupTool implements Tool {
|
|
19
|
+
private readonly editor;
|
|
20
|
+
private readonly lassoHelper;
|
|
21
|
+
isNotActiveTool: boolean | undefined;
|
|
22
|
+
constructor(editor: any);
|
|
23
|
+
checkSelection(): void;
|
|
24
|
+
mousedown(event: any): void;
|
|
25
|
+
mousemove(event: any): void;
|
|
26
|
+
mouseleave(event: any): void;
|
|
27
|
+
mouseup(event: any): void;
|
|
28
|
+
cancel(): void;
|
|
29
|
+
static sgroupDialog(editor: Editor, id: number | null): void;
|
|
30
|
+
}
|
|
31
|
+
export default SGroupTool;
|
|
@@ -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 { SimpleObjectMode } from 'ketcher-core';
|
|
17
|
+
import Editor from '../Editor';
|
|
18
|
+
import { Tool } from './Tool';
|
|
19
|
+
declare class SimpleObjectTool implements Tool {
|
|
20
|
+
private readonly mode;
|
|
21
|
+
private readonly editor;
|
|
22
|
+
private dragCtx;
|
|
23
|
+
constructor(editor: Editor, mode: SimpleObjectMode);
|
|
24
|
+
mousedown(event: any): void;
|
|
25
|
+
mousemove(event: any): void;
|
|
26
|
+
mouseup(event: any): boolean;
|
|
27
|
+
}
|
|
28
|
+
export default SimpleObjectTool;
|
|
@@ -0,0 +1,48 @@
|
|
|
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, Bond } from 'ketcher-core';
|
|
17
|
+
import Editor from '../Editor';
|
|
18
|
+
import { Tool } from './Tool';
|
|
19
|
+
import TemplatePreview from './templatePreview';
|
|
20
|
+
export declare function getBondFlipSign(struct: Struct, bond: Bond): number;
|
|
21
|
+
export declare function getAngleFromEvent(event: any, ci: any, restruct: any): any;
|
|
22
|
+
declare class TemplateTool implements Tool {
|
|
23
|
+
private readonly editor;
|
|
24
|
+
private readonly mode;
|
|
25
|
+
private readonly template;
|
|
26
|
+
private readonly findItems;
|
|
27
|
+
templatePreview: TemplatePreview | null;
|
|
28
|
+
private dragCtx;
|
|
29
|
+
private targetGroupsIds;
|
|
30
|
+
private readonly isSaltOrSolvent;
|
|
31
|
+
private event;
|
|
32
|
+
constructor(editor: Editor, tmpl: any);
|
|
33
|
+
private get struct();
|
|
34
|
+
private get functionalGroups();
|
|
35
|
+
private get isModeFunctionalGroup();
|
|
36
|
+
private get closestItem();
|
|
37
|
+
private get isNeedToShowRemoveAbbreviationPopup();
|
|
38
|
+
private findKeyOfRelatedGroupId;
|
|
39
|
+
private showRemoveAbbreviationPopup;
|
|
40
|
+
mousedown(event: MouseEvent): Promise<void>;
|
|
41
|
+
mousemove(event: any): boolean;
|
|
42
|
+
mouseup(event?: any): boolean;
|
|
43
|
+
cancel(): void;
|
|
44
|
+
mouseleave(): void;
|
|
45
|
+
mouseLeaveClientArea(): void;
|
|
46
|
+
}
|
|
47
|
+
export declare function getSign(molecule: any, bond: any, v: any): 0 | 1 | -1;
|
|
48
|
+
export default TemplateTool;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 Editor from '../Editor';
|
|
17
|
+
declare class TemplatePreview {
|
|
18
|
+
private readonly editor;
|
|
19
|
+
private readonly template;
|
|
20
|
+
private readonly mode;
|
|
21
|
+
private floatingPreviewAction;
|
|
22
|
+
private connectedPreviewAction;
|
|
23
|
+
private connectedPreviewTimeout;
|
|
24
|
+
private lastPreviewId;
|
|
25
|
+
private floatingPreview;
|
|
26
|
+
private position;
|
|
27
|
+
private previousPosition;
|
|
28
|
+
constructor(editor: Editor, template: any, mode: any);
|
|
29
|
+
private get struct();
|
|
30
|
+
private get restruct();
|
|
31
|
+
private get isModeFunctionalGroup();
|
|
32
|
+
hidePreview(): void;
|
|
33
|
+
private getPreviewTarget;
|
|
34
|
+
movePreview(event: PointerEvent): void;
|
|
35
|
+
private moveFloatingPreview;
|
|
36
|
+
private showFloatingPreview;
|
|
37
|
+
private hideFloatingPreview;
|
|
38
|
+
hideConnectedPreview(): void;
|
|
39
|
+
private showConnectedPreview;
|
|
40
|
+
}
|
|
41
|
+
export default TemplatePreview;
|
|
@@ -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
|
+
import { Tool } from './Tool';
|
|
17
|
+
declare class TextTool implements Tool {
|
|
18
|
+
private readonly editor;
|
|
19
|
+
private dragCtx;
|
|
20
|
+
constructor(editor: any);
|
|
21
|
+
mousedown(event: any): void;
|
|
22
|
+
mousemove(event: any): void;
|
|
23
|
+
mouseup(): boolean;
|
|
24
|
+
click(event: any): boolean;
|
|
25
|
+
dblclick(event: any): boolean;
|
|
26
|
+
}
|
|
27
|
+
export default TextTool;
|
|
@@ -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 customOnChangeHandler(action: any, handler: any): 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
|
+
import { Vec2 } from 'ketcher-core';
|
|
17
|
+
export declare function elementOffset(element: any): Vec2;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const handleMovingPosibilityCursor: (item: unknown, canvas: SVGElement, cursor: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export * from './customOnChangeHandler';
|
|
17
|
+
export * from './elementOffset';
|
|
18
|
+
export * from './structLayout';
|
|
19
|
+
export * from './handleMovingPosibilityCursor';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {number} angle angle (in radians) from the X axis
|
|
3
|
+
* @returns {number} normalized angle (in radians) from the X axis
|
|
4
|
+
* @example
|
|
5
|
+
* normalizeAngleRelativeToXAxis(PI / 2) === PI / 2
|
|
6
|
+
* normalizeAngleRelativeToXAxis(PI) === PI
|
|
7
|
+
* normalizeAngleRelativeToXAxis(3/2 * PI) === -PI / 2
|
|
8
|
+
* normalizeAngleRelativeToXAxis(2 * PI) === 0
|
|
9
|
+
* normalizeAngleRelativeToXAxis(3 * PI) === PI
|
|
10
|
+
*/
|
|
11
|
+
export declare function normalizeAngle(angle: any): number;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
import { Root } from 'react-dom/client';
|
|
18
|
+
import { ButtonsConfig, KetcherBuilder } from './builders';
|
|
19
|
+
import { StructServiceProvider } from 'ketcher-core';
|
|
20
|
+
import { CustomButton } from './builders/ketcher/CustomButtons';
|
|
21
|
+
interface Config {
|
|
22
|
+
element: HTMLDivElement | null;
|
|
23
|
+
appRoot: Root;
|
|
24
|
+
staticResourcesUrl: string;
|
|
25
|
+
structServiceProvider: StructServiceProvider;
|
|
26
|
+
buttons?: ButtonsConfig;
|
|
27
|
+
customButtons?: Array<CustomButton>;
|
|
28
|
+
errorHandler: (message: string) => void;
|
|
29
|
+
togglerComponent?: JSX.Element;
|
|
30
|
+
}
|
|
31
|
+
declare function buildKetcherAsync({ element, appRoot, staticResourcesUrl, structServiceProvider, buttons, errorHandler, togglerComponent, customButtons, }: Config): Promise<{
|
|
32
|
+
ketcher: import("ketcher-core").Ketcher | undefined;
|
|
33
|
+
ketcherId: string;
|
|
34
|
+
cleanup: (() => void) | null;
|
|
35
|
+
builder: KetcherBuilder;
|
|
36
|
+
setServer: (structService: import("ketcher-core").StructService) => void;
|
|
37
|
+
}>;
|
|
38
|
+
export type { Config, ButtonsConfig };
|
|
39
|
+
export * from './providers';
|
|
40
|
+
export default buildKetcherAsync;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './indigoProvider';
|
|
@@ -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
|
+
/// <reference types="react" />
|
|
17
|
+
import { AppCallProps } from './App';
|
|
18
|
+
declare const AppContainer: import("react-redux").ConnectedComponent<(props: AppCallProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<AppCallProps, "checkServer" | "togglerComponent"> & {
|
|
19
|
+
togglerComponent?: JSX.Element | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export { AppContainer };
|
|
22
|
+
export default AppContainer;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
interface AppCallProps {
|
|
18
|
+
checkServer: () => void;
|
|
19
|
+
togglerComponent?: JSX.Element;
|
|
20
|
+
}
|
|
21
|
+
declare type Props = AppCallProps;
|
|
22
|
+
declare const App: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export type { AppCallProps };
|
|
24
|
+
export { App };
|
|
@@ -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 { AppHiddenCallProps } from './AppHidden';
|
|
17
|
+
declare const AppHiddenContainer: import("react-redux").ConnectedComponent<(props: AppHiddenCallProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<AppHiddenCallProps, "onInitTmpls">>;
|
|
18
|
+
export { AppHiddenContainer };
|
|
@@ -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
|
+
interface AppHiddenCallProps {
|
|
17
|
+
onInitTmpls: (cacheEl: any, url: any) => void;
|
|
18
|
+
}
|
|
19
|
+
declare type Props = AppHiddenCallProps;
|
|
20
|
+
declare const AppHidden: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export type { AppHiddenCallProps };
|
|
22
|
+
export { AppHidden };
|
|
@@ -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 * from './AppHidden.container';
|
|
@@ -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 * from './initApp';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
import { Ketcher, StructService } from 'ketcher-core';
|
|
18
|
+
import { Root } from 'react-dom/client';
|
|
19
|
+
declare function initApp(element: HTMLDivElement | null, appRoot: Root, staticResourcesUrl: string, options: any, server: StructService, resolve: (args: {
|
|
20
|
+
editor: any;
|
|
21
|
+
setKetcher: (ketcher: Ketcher) => void;
|
|
22
|
+
ketcherId: string;
|
|
23
|
+
setServer: (server: StructService) => void;
|
|
24
|
+
}) => void, togglerComponent?: JSX.Element): () => void;
|
|
25
|
+
export { initApp };
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { CSSProperties, Component, ReactNode } from 'react';
|
|
17
|
+
interface PortalProps {
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
}
|
|
23
|
+
declare type Props = PortalProps;
|
|
24
|
+
declare class Portal extends Component<Props> {
|
|
25
|
+
private readonly element;
|
|
26
|
+
private isElementInDom;
|
|
27
|
+
constructor(props: any);
|
|
28
|
+
componentDidMount(): void;
|
|
29
|
+
componentWillUnmount(): void;
|
|
30
|
+
componentDidUpdate(prevProps: Readonly<Props>): void;
|
|
31
|
+
private addElementInDOM;
|
|
32
|
+
private removeElementFromDOM;
|
|
33
|
+
private removeClassNames;
|
|
34
|
+
private addClassName;
|
|
35
|
+
private updateStyle;
|
|
36
|
+
render(): any;
|
|
37
|
+
}
|
|
38
|
+
export { Portal };
|
|
@@ -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 * from './Portal';
|