ketcher-react 2.8.0-rc.2-dev → 2.8.0-rc.3-dev.1
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/package.json +2 -2
- package/dist/Editor.d.ts +0 -29
- package/dist/constants.d.ts +0 -17
- package/dist/contexts/appContext.d.ts +0 -22
- package/dist/contexts/errorsContext.d.ts +0 -21
- package/dist/contexts/formContext.d.ts +0 -18
- package/dist/contexts/index.d.ts +0 -21
- package/dist/contexts/settingsContext.d.ts +0 -21
- package/dist/hooks/index.d.ts +0 -21
- package/dist/hooks/useAppContext.d.ts +0 -16
- package/dist/hooks/useFormContext.d.ts +0 -16
- package/dist/hooks/useInterval.d.ts +0 -16
- package/dist/hooks/useResizeObserver.d.ts +0 -26
- package/dist/hooks/useSettingsContext.d.ts +0 -16
- package/dist/hooks/useSubscribtionOnEvents.d.ts +0 -16
- package/dist/icons/index.d.ts +0 -16
- package/dist/index.css +0 -2
- package/dist/index.css.map +0 -1
- package/dist/index.d.ts +0 -18
- package/dist/index.js +0 -23652
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js +0 -23589
- package/dist/index.modern.js.map +0 -1
- package/dist/script/api.d.ts +0 -19
- package/dist/script/builders/index.d.ts +0 -16
- package/dist/script/builders/ketcher/ButtonConfig.d.ts +0 -18
- package/dist/script/builders/ketcher/ButtonName.d.ts +0 -16
- package/dist/script/builders/ketcher/ButtonsConfig.d.ts +0 -20
- package/dist/script/builders/ketcher/KetcherBuilder.d.ts +0 -29
- package/dist/script/builders/ketcher/index.d.ts +0 -17
- package/dist/script/editor/Editor.d.ts +0 -96
- package/dist/script/editor/highlighter.d.ts +0 -32
- package/dist/script/editor/index.d.ts +0 -18
- package/dist/script/editor/shared/closest.d.ts +0 -25
- package/dist/script/editor/shared/utils.d.ts +0 -19
- package/dist/script/editor/tool/apoint.d.ts +0 -23
- package/dist/script/editor/tool/atom.d.ts +0 -31
- package/dist/script/editor/tool/attach.d.ts +0 -24
- package/dist/script/editor/tool/bond.d.ts +0 -32
- package/dist/script/editor/tool/chain.d.ts +0 -27
- package/dist/script/editor/tool/charge.d.ts +0 -24
- package/dist/script/editor/tool/enhanced-stereo.d.ts +0 -24
- package/dist/script/editor/tool/eraser.d.ts +0 -31
- package/dist/script/editor/tool/hand.d.ts +0 -30
- package/dist/script/editor/tool/helper/lasso.d.ts +0 -59
- package/dist/script/editor/tool/helper/locate.d.ts +0 -40
- package/dist/script/editor/tool/index.d.ts +0 -47
- package/dist/script/editor/tool/paste.d.ts +0 -29
- package/dist/script/editor/tool/reactionarrow.d.ts +0 -27
- package/dist/script/editor/tool/reactionmap.d.ts +0 -28
- package/dist/script/editor/tool/reactionplus.d.ts +0 -26
- package/dist/script/editor/tool/reactionunmap.d.ts +0 -23
- package/dist/script/editor/tool/rgroupatom.d.ts +0 -23
- package/dist/script/editor/tool/rgroupfragment.d.ts +0 -24
- package/dist/script/editor/tool/rotate.d.ts +0 -28
- package/dist/script/editor/tool/select.d.ts +0 -36
- package/dist/script/editor/tool/sgroup.d.ts +0 -31
- package/dist/script/editor/tool/simpleobject.d.ts +0 -26
- package/dist/script/editor/tool/template.d.ts +0 -30
- package/dist/script/editor/tool/text.d.ts +0 -26
- package/dist/script/editor/utils/customOnChangeHandler.d.ts +0 -16
- package/dist/script/editor/utils/elementOffset.d.ts +0 -17
- package/dist/script/editor/utils/index.d.ts +0 -17
- package/dist/script/index.d.ts +0 -27
- package/dist/script/ui/App/App.container.d.ts +0 -20
- package/dist/script/ui/App/App.d.ts +0 -23
- package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +0 -19
- package/dist/script/ui/App/AppHidden/AppHidden.d.ts +0 -23
- package/dist/script/ui/App/AppHidden/index.d.ts +0 -16
- package/dist/script/ui/App/index.d.ts +0 -16
- package/dist/script/ui/App/initApp.d.ts +0 -18
- package/dist/script/ui/Portal/Portal.d.ts +0 -37
- package/dist/script/ui/Portal/index.d.ts +0 -16
- package/dist/script/ui/action/action.types.d.ts +0 -44
- package/dist/script/ui/action/atoms.d.ts +0 -40
- package/dist/script/ui/action/copyAs.d.ts +0 -1
- package/dist/script/ui/action/copyImageToClipboard.d.ts +0 -2
- package/dist/script/ui/action/debug.d.ts +0 -13
- package/dist/script/ui/action/flips.d.ts +0 -1
- package/dist/script/ui/action/fullscreen.d.ts +0 -23
- package/dist/script/ui/action/functionalGroups.d.ts +0 -31
- package/dist/script/ui/action/help.d.ts +0 -8
- package/dist/script/ui/action/index.d.ts +0 -650
- package/dist/script/ui/action/isHidden.d.ts +0 -16
- package/dist/script/ui/action/server.d.ts +0 -117
- package/dist/script/ui/action/templates.d.ts +0 -13
- package/dist/script/ui/action/tools.d.ts +0 -358
- package/dist/script/ui/action/zoom.d.ts +0 -25
- package/dist/script/ui/component/ContextMenu/ContextMenu.d.ts +0 -3
- package/dist/script/ui/component/actionmenu.d.ts +0 -9
- package/dist/script/ui/component/cliparea/cliparea.d.ts +0 -20
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +0 -8
- package/dist/script/ui/component/form/Select/Select.d.ts +0 -30
- package/dist/script/ui/component/form/Select/Select.test.d.ts +0 -1
- package/dist/script/ui/component/form/Select/index.d.ts +0 -17
- package/dist/script/ui/component/form/buttonlist.d.ts +0 -9
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +0 -28
- package/dist/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +0 -1
- package/dist/script/ui/component/form/combobox/combobox.d.ts +0 -12
- package/dist/script/ui/component/form/form/errorPopover.d.ts +0 -5
- package/dist/script/ui/component/form/form/form.d.ts +0 -25
- package/dist/script/ui/component/form/input.d.ts +0 -43
- package/dist/script/ui/component/form/select-checkbox.d.ts +0 -5
- package/dist/script/ui/component/form/select-list.d.ts +0 -26
- package/dist/script/ui/component/form/systemfonts.d.ts +0 -2
- package/dist/script/ui/component/structrender.d.ts +0 -33
- package/dist/script/ui/component/view/Atom/Atom.d.ts +0 -7
- package/dist/script/ui/component/view/Atom/index.d.ts +0 -16
- package/dist/script/ui/component/view/Tabs/Tabs.d.ts +0 -9
- package/dist/script/ui/component/view/Tabs/index.d.ts +0 -16
- package/dist/script/ui/component/view/icon.d.ts +0 -5
- package/dist/script/ui/component/view/openbutton.d.ts +0 -9
- package/dist/script/ui/component/view/savebutton.d.ts +0 -32
- package/dist/script/ui/data/convert/keynorm.d.ts +0 -6
- package/dist/script/ui/data/convert/structConverter.d.ts +0 -17
- package/dist/script/ui/data/convert/structconv.d.ts +0 -24
- package/dist/script/ui/data/schema/options-schema.d.ts +0 -26
- package/dist/script/ui/data/schema/schema-helper.d.ts +0 -2
- package/dist/script/ui/data/schema/sdata-schema.d.ts +0 -58
- package/dist/script/ui/data/schema/struct-schema.d.ts +0 -301
- package/dist/script/ui/data/templates.d.ts +0 -2
- package/dist/script/ui/dialog/index.d.ts +0 -17
- package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +0 -20
- package/dist/script/ui/dialog/template/TemplateDialog.d.ts +0 -43
- package/dist/script/ui/dialog/template/TemplateTable.d.ts +0 -39
- package/dist/script/ui/dialog/template/template-attach.d.ts +0 -28
- package/dist/script/ui/dialog/template/useSaltsAndSolvets.d.ts +0 -2
- package/dist/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +0 -44
- package/dist/script/ui/dialog/toolbox/labeledit.d.ts +0 -3
- package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +0 -15
- package/dist/script/ui/dialog/toolbox/sdata.d.ts +0 -19
- package/dist/script/ui/dialog/toolbox/sgroup.d.ts +0 -9
- package/dist/script/ui/index.d.ts +0 -16
- package/dist/script/ui/state/action/index.d.ts +0 -7
- package/dist/script/ui/state/constants.d.ts +0 -7
- package/dist/script/ui/state/editor/index.d.ts +0 -27
- package/dist/script/ui/state/functionalGroups/index.d.ts +0 -25
- package/dist/script/ui/state/functionalGroups/selectors/index.d.ts +0 -18
- package/dist/script/ui/state/handleHotkeysOverAtom.d.ts +0 -7
- package/dist/script/ui/state/hotkeys.d.ts +0 -23
- package/dist/script/ui/state/index.d.ts +0 -6
- package/dist/script/ui/state/modal/form.d.ts +0 -164
- package/dist/script/ui/state/modal/index.d.ts +0 -3
- package/dist/script/ui/state/modal/sdata.d.ts +0 -16
- package/dist/script/ui/state/options/index.d.ts +0 -68
- package/dist/script/ui/state/request/index.d.ts +0 -22
- package/dist/script/ui/state/request/reducer.test.d.ts +0 -16
- package/dist/script/ui/state/request/request.types.d.ts +0 -27
- package/dist/script/ui/state/saltsAndSolvents/index.d.ts +0 -23
- package/dist/script/ui/state/saltsAndSolvents/selectors/index.d.ts +0 -16
- package/dist/script/ui/state/server/index.d.ts +0 -7
- package/dist/script/ui/state/shared.d.ts +0 -19
- package/dist/script/ui/state/templates/index.d.ts +0 -77
- package/dist/script/ui/state/templates/init-lib.d.ts +0 -8
- package/dist/script/ui/state/toolbar/index.d.ts +0 -33
- package/dist/script/ui/storage-ext.d.ts +0 -9
- package/dist/script/ui/utils/fileOpener.d.ts +0 -16
- package/dist/script/ui/utils/index.d.ts +0 -7
- package/dist/script/ui/utils/renderStruct.d.ts +0 -9
- package/dist/script/ui/utils/settingsManager.d.ts +0 -25
- package/dist/script/ui/views/AppClipArea.d.ts +0 -18
- package/dist/script/ui/views/Editor.d.ts +0 -3
- package/dist/script/ui/views/components/ContextMenu/ContextMenu.d.ts +0 -20
- package/dist/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +0 -18
- package/dist/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +0 -8
- package/dist/script/ui/views/components/ContextMenu/index.d.ts +0 -2
- package/dist/script/ui/views/components/ContextMenu/items/AtomBatchOperations.d.ts +0 -20
- package/dist/script/ui/views/components/ContextMenu/items/AtomSingleOperations.d.ts +0 -19
- package/dist/script/ui/views/components/ContextMenu/items/BatchDelete.d.ts +0 -3
- package/dist/script/ui/views/components/ContextMenu/items/BondBatchOperations.d.ts +0 -20
- package/dist/script/ui/views/components/ContextMenu/items/BondSingleOperations.d.ts +0 -19
- package/dist/script/ui/views/components/ContextMenu/items/utils.d.ts +0 -27
- package/dist/script/ui/views/components/Cursor.d.ts +0 -6
- package/dist/script/ui/views/components/Dialog/Dialog.d.ts +0 -44
- package/dist/script/ui/views/components/Dialog/index.d.ts +0 -16
- package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +0 -17
- package/dist/script/ui/views/components/Spinner/index.d.ts +0 -16
- package/dist/script/ui/views/components/StructEditor/InfoPanel.d.ts +0 -29
- package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +0 -19
- package/dist/script/ui/views/components/StructEditor/index.d.ts +0 -16
- package/dist/script/ui/views/components/index.d.ts +0 -19
- package/dist/script/ui/views/modal/Modal.container.d.ts +0 -19
- package/dist/script/ui/views/modal/Modal.d.ts +0 -28
- package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +0 -7
- package/dist/script/ui/views/modal/components/Confirm/index.d.ts +0 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +0 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +0 -18
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +0 -24
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +0 -26
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +0 -22
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +0 -27
- package/dist/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +0 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/index.d.ts +0 -1
- package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +0 -37
- package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +0 -5
- package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +0 -9
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +0 -2
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +0 -11
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +0 -10
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +0 -19
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +0 -6
- package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/PeriodTable/components/index.d.ts +0 -20
- package/dist/script/ui/views/modal/components/PeriodTable/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +0 -22
- package/dist/script/ui/views/modal/components/Text/FontControl/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +0 -22
- package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +0 -20
- package/dist/script/ui/views/modal/components/Text/Text.d.ts +0 -26
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +0 -30
- package/dist/script/ui/views/modal/components/Text/TextButton/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/Text/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/document/Open/Open.container.d.ts +0 -26
- package/dist/script/ui/views/modal/components/document/Open/Open.d.ts +0 -29
- package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +0 -20
- package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +0 -25
- package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +0 -26
- package/dist/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +0 -24
- package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +0 -22
- package/dist/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +0 -31
- package/dist/script/ui/views/modal/components/document/Open/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +0 -44
- package/dist/script/ui/views/modal/components/document/Save/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/document/index.d.ts +0 -18
- package/dist/script/ui/views/modal/components/meta/About/About.d.ts +0 -3
- package/dist/script/ui/views/modal/components/meta/About/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +0 -22
- package/dist/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +0 -38
- package/dist/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +0 -41
- package/dist/script/ui/views/modal/components/meta/Settings/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/meta/index.d.ts +0 -18
- package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +0 -10
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +0 -5
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +0 -19
- package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/process/Analyse/components/index.d.ts +0 -18
- package/dist/script/ui/views/modal/components/process/Analyse/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +0 -3
- package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +0 -17
- package/dist/script/ui/views/modal/components/process/Check/components/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/process/Check/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +0 -31
- package/dist/script/ui/views/modal/components/process/Miew/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +0 -3
- package/dist/script/ui/views/modal/components/process/Recognize/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/process/index.d.ts +0 -20
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +0 -20
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +0 -36
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +0 -22
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/Atom/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +0 -18
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +0 -25
- package/dist/script/ui/views/modal/components/toolbox/Attach/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +0 -19
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +0 -33
- package/dist/script/ui/views/modal/components/toolbox/Automap/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +0 -18
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +0 -26
- package/dist/script/ui/views/modal/components/toolbox/Bond/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +0 -24
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +0 -18
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +0 -30
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +0 -20
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +0 -16
- package/dist/script/ui/views/modal/components/toolbox/index.d.ts +0 -21
- package/dist/script/ui/views/modal/index.d.ts +0 -16
- package/dist/script/ui/views/modal/mediaSizes.d.ts +0 -20
- package/dist/script/ui/views/modal/modal.types.d.ts +0 -28
- package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +0 -24
- package/dist/script/ui/views/toolbars/ArrowScroll/index.d.ts +0 -2
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +0 -20
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +0 -29
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +0 -34
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/BottomToolbar/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +0 -25
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +0 -24
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +0 -19
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +0 -25
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +0 -25
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +0 -25
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/LeftToolbar/Transform/Transform.d.ts +0 -25
- package/dist/script/ui/views/toolbars/LeftToolbar/Transform/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/LeftToolbar/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +0 -9
- package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +0 -32
- package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +0 -21
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +0 -30
- package/dist/script/ui/views/toolbars/RightToolbar/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +0 -36
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +0 -36
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +0 -41
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +0 -19
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +0 -19
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +0 -23
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +0 -18
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +0 -23
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +0 -18
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +0 -35
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +0 -18
- package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +0 -31
- package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +0 -17
- package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +0 -23
- package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +0 -35
- package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +0 -26
- package/dist/script/ui/views/toolbars/TopToolbar/IconButton.d.ts +0 -26
- package/dist/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +0 -24
- package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +0 -28
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +0 -18
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +0 -55
- package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +0 -27
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +0 -29
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +0 -26
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +0 -23
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +0 -22
- package/dist/script/ui/views/toolbars/TopToolbar/index.d.ts +0 -16
- package/dist/script/ui/views/toolbars/index.d.ts +0 -19
- package/dist/script/ui/views/toolbars/mediaSizes.d.ts +0 -23
- package/dist/script/ui/views/toolbars/shortcutStr.d.ts +0 -1
- package/dist/script/ui/views/toolbars/toolbar.types.d.ts +0 -32
|
@@ -1,40 +0,0 @@
|
|
|
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 function getElementsInRectangle(restruct: any, p0: any, p1: any): {
|
|
17
|
-
atoms: number[];
|
|
18
|
-
bonds: number[];
|
|
19
|
-
rxnArrows: number[];
|
|
20
|
-
rxnPluses: number[];
|
|
21
|
-
enhancedFlags: number[];
|
|
22
|
-
sgroupData: number[];
|
|
23
|
-
simpleObjects: number[];
|
|
24
|
-
texts: number[];
|
|
25
|
-
};
|
|
26
|
-
declare function getElementsInPolygon(restruct: any, rr: any): {
|
|
27
|
-
atoms: number[];
|
|
28
|
-
bonds: number[];
|
|
29
|
-
rxnArrows: number[];
|
|
30
|
-
rxnPluses: number[];
|
|
31
|
-
enhancedFlags: number[];
|
|
32
|
-
sgroupData: number[];
|
|
33
|
-
simpleObjects: number[];
|
|
34
|
-
texts: number[];
|
|
35
|
-
};
|
|
36
|
-
declare const _default: {
|
|
37
|
-
inRectangle: typeof getElementsInRectangle;
|
|
38
|
-
inPolygon: typeof getElementsInPolygon;
|
|
39
|
-
};
|
|
40
|
-
export default _default;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export default tools;
|
|
2
|
-
declare namespace tools {
|
|
3
|
-
export { HandTool as hand };
|
|
4
|
-
export { RGroupAtomTool as rgroupatom };
|
|
5
|
-
export { SelectTool as select };
|
|
6
|
-
export { SGroupTool as sgroup };
|
|
7
|
-
export { EraserTool as eraser };
|
|
8
|
-
export { AtomTool as atom };
|
|
9
|
-
export { BondTool as bond };
|
|
10
|
-
export { ChainTool as chain };
|
|
11
|
-
export { TemplateTool as template };
|
|
12
|
-
export { ChargeTool as charge };
|
|
13
|
-
export { RGroupFragmentTool as rgroupfragment };
|
|
14
|
-
export { APointTool as apoint };
|
|
15
|
-
export { AttachTool as attach };
|
|
16
|
-
export { ReactionArrowTool as reactionarrow };
|
|
17
|
-
export { ReactionPlusTool as reactionplus };
|
|
18
|
-
export { ReactionMapTool as reactionmap };
|
|
19
|
-
export { ReactionUnmapTool as reactionunmap };
|
|
20
|
-
export { PasteTool as paste };
|
|
21
|
-
export { RotateTool as rotate };
|
|
22
|
-
export { EnhancedStereoTool as enhancedStereo };
|
|
23
|
-
export { SimpleObjectTool as simpleobject };
|
|
24
|
-
export { TextTool as text };
|
|
25
|
-
}
|
|
26
|
-
import HandTool from "./hand";
|
|
27
|
-
import RGroupAtomTool from "./rgroupatom";
|
|
28
|
-
import SelectTool from "./select";
|
|
29
|
-
import SGroupTool from "./sgroup";
|
|
30
|
-
import EraserTool from "./eraser";
|
|
31
|
-
import AtomTool from "./atom";
|
|
32
|
-
import BondTool from "./bond";
|
|
33
|
-
import ChainTool from "./chain";
|
|
34
|
-
import TemplateTool from "./template";
|
|
35
|
-
import ChargeTool from "./charge";
|
|
36
|
-
import RGroupFragmentTool from "./rgroupfragment";
|
|
37
|
-
import APointTool from "./apoint";
|
|
38
|
-
import AttachTool from "./attach";
|
|
39
|
-
import ReactionArrowTool from "./reactionarrow";
|
|
40
|
-
import ReactionPlusTool from "./reactionplus";
|
|
41
|
-
import ReactionMapTool from "./reactionmap";
|
|
42
|
-
import ReactionUnmapTool from "./reactionunmap";
|
|
43
|
-
import PasteTool from "./paste";
|
|
44
|
-
import RotateTool from "./rotate";
|
|
45
|
-
import EnhancedStereoTool from "./enhanced-stereo";
|
|
46
|
-
import SimpleObjectTool from "./simpleobject";
|
|
47
|
-
import TextTool from "./text";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/****************************************************************************
|
|
2
|
-
* Copyright 2021 EPAM Systems
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
***************************************************************************/
|
|
16
|
-
import { Struct } from 'ketcher-core';
|
|
17
|
-
import Editor from '../Editor';
|
|
18
|
-
declare class PasteTool {
|
|
19
|
-
editor: Editor;
|
|
20
|
-
struct: Struct;
|
|
21
|
-
action: any;
|
|
22
|
-
mergeItems: any;
|
|
23
|
-
constructor(editor: any, struct: any);
|
|
24
|
-
mousemove(event: any): void;
|
|
25
|
-
mouseup(): void;
|
|
26
|
-
cancel(): void;
|
|
27
|
-
mouseleave(): void;
|
|
28
|
-
}
|
|
29
|
-
export default PasteTool;
|
|
@@ -1,27 +0,0 @@
|
|
|
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 ReactionArrowTool {
|
|
18
|
-
mode: any;
|
|
19
|
-
editor: Editor;
|
|
20
|
-
dragCtx: any;
|
|
21
|
-
constructor(editor: any, mode: any);
|
|
22
|
-
mousedown(event: any): void;
|
|
23
|
-
mousemove(event: any): void;
|
|
24
|
-
mouseup(): boolean;
|
|
25
|
-
click(event: any): void;
|
|
26
|
-
}
|
|
27
|
-
export default ReactionArrowTool;
|
|
@@ -1,28 +0,0 @@
|
|
|
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 ReactionMapTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
rcs: any;
|
|
20
|
-
dragCtx: any;
|
|
21
|
-
line: any;
|
|
22
|
-
constructor(editor: any);
|
|
23
|
-
mousedown(event: any): void;
|
|
24
|
-
mousemove(event: any): void;
|
|
25
|
-
updateLine(p1: any, p2: any): void;
|
|
26
|
-
mouseup(event: any): void;
|
|
27
|
-
}
|
|
28
|
-
export default ReactionMapTool;
|
|
@@ -1,26 +0,0 @@
|
|
|
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 ReactionPlusTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
dragCtx: any;
|
|
20
|
-
constructor(editor: any);
|
|
21
|
-
mousedown(event: any): void;
|
|
22
|
-
mousemove(event: any): void;
|
|
23
|
-
mouseup(): boolean;
|
|
24
|
-
click(event: any): void;
|
|
25
|
-
}
|
|
26
|
-
export default ReactionPlusTool;
|
|
@@ -1,23 +0,0 @@
|
|
|
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 ReactionUnmapTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
constructor(editor: any);
|
|
20
|
-
mousemove(event: any): void;
|
|
21
|
-
mouseup(event: any): void;
|
|
22
|
-
}
|
|
23
|
-
export default ReactionUnmapTool;
|
|
@@ -1,23 +0,0 @@
|
|
|
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 RGroupAtomTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
constructor(editor: any);
|
|
20
|
-
mousemove(event: any): void;
|
|
21
|
-
click(event: any): true | undefined;
|
|
22
|
-
}
|
|
23
|
-
export default RGroupAtomTool;
|
|
@@ -1,24 +0,0 @@
|
|
|
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 RGroupFragmentTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
constructor(editor: any);
|
|
20
|
-
mousemove(event: any): void;
|
|
21
|
-
click(event: any): true | undefined;
|
|
22
|
-
cancel(): void;
|
|
23
|
-
}
|
|
24
|
-
export default RGroupFragmentTool;
|
|
@@ -1,28 +0,0 @@
|
|
|
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 RotateTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
dragCtx: any;
|
|
20
|
-
isNotActiveTool: boolean | undefined;
|
|
21
|
-
constructor(editor: any, dir: any);
|
|
22
|
-
mousedown(event: any): boolean;
|
|
23
|
-
mousemove(event: any): boolean;
|
|
24
|
-
mouseup(): boolean;
|
|
25
|
-
cancel(): void;
|
|
26
|
-
mouseleave(): void;
|
|
27
|
-
}
|
|
28
|
-
export default RotateTool;
|
|
@@ -1,36 +0,0 @@
|
|
|
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 { ReSGroup } from 'ketcher-core';
|
|
17
|
-
import { Editor } from '../Editor';
|
|
18
|
-
declare class SelectTool {
|
|
19
|
-
#private;
|
|
20
|
-
editor: Editor;
|
|
21
|
-
dragCtx: any;
|
|
22
|
-
constructor(editor: any, mode: any);
|
|
23
|
-
isSelectionRunning(): boolean;
|
|
24
|
-
mousedown(event: any): boolean;
|
|
25
|
-
mousemove(event: any): boolean;
|
|
26
|
-
mouseup(event: any): boolean;
|
|
27
|
-
dblclick(event: any): true | undefined;
|
|
28
|
-
mouseleave(_: any): void;
|
|
29
|
-
selectElementsOnCanvas(elements: {
|
|
30
|
-
atoms: number[];
|
|
31
|
-
bonds: number[];
|
|
32
|
-
}, editor: Editor, event: any): void;
|
|
33
|
-
isDraggingStructureOnSaltOrSolvent(dragCtx: any, sgroups: Map<number, ReSGroup>): any;
|
|
34
|
-
}
|
|
35
|
-
export declare function selMerge(selection: any, add: any, reversible: boolean): any;
|
|
36
|
-
export default SelectTool;
|
|
@@ -1,31 +0,0 @@
|
|
|
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 SGroupTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
type: any;
|
|
20
|
-
lassoHelper: any;
|
|
21
|
-
isNotActiveTool: boolean | undefined;
|
|
22
|
-
constructor(editor: any, type: 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: any, id: any, defaultType: any): void;
|
|
30
|
-
}
|
|
31
|
-
export default SGroupTool;
|
|
@@ -1,26 +0,0 @@
|
|
|
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 SimpleObjectTool {
|
|
18
|
-
mode: any;
|
|
19
|
-
editor: Editor;
|
|
20
|
-
dragCtx: any;
|
|
21
|
-
constructor(editor: any, mode: any);
|
|
22
|
-
mousedown(event: any): void;
|
|
23
|
-
mousemove(event: any): void;
|
|
24
|
-
mouseup(event: any): boolean;
|
|
25
|
-
}
|
|
26
|
-
export default SimpleObjectTool;
|
|
@@ -1,30 +0,0 @@
|
|
|
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 TemplateTool {
|
|
18
|
-
editor: Editor;
|
|
19
|
-
mode: any;
|
|
20
|
-
template: any;
|
|
21
|
-
findItems: Array<string>;
|
|
22
|
-
dragCtx: any;
|
|
23
|
-
constructor(editor: any, tmpl: any);
|
|
24
|
-
mousedown(event: any): true | undefined;
|
|
25
|
-
mousemove(event: any): boolean;
|
|
26
|
-
mouseup(event: any): boolean;
|
|
27
|
-
cancel(e: any): void;
|
|
28
|
-
mouseleave(e: any): void;
|
|
29
|
-
}
|
|
30
|
-
export default TemplateTool;
|
|
@@ -1,26 +0,0 @@
|
|
|
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 class TextTool {
|
|
17
|
-
editor: any;
|
|
18
|
-
dragCtx: any;
|
|
19
|
-
constructor(editor: any);
|
|
20
|
-
mousedown(event: any): void;
|
|
21
|
-
mousemove(event: any): void;
|
|
22
|
-
mouseup(): boolean;
|
|
23
|
-
click(event: any): boolean;
|
|
24
|
-
dblclick(event: any): boolean;
|
|
25
|
-
}
|
|
26
|
-
export default TextTool;
|
|
@@ -1,16 +0,0 @@
|
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
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';
|
package/dist/script/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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 { ButtonsConfig } from './builders';
|
|
17
|
-
import { StructServiceProvider } from 'ketcher-core';
|
|
18
|
-
interface Config {
|
|
19
|
-
element: HTMLDivElement | null;
|
|
20
|
-
staticResourcesUrl: string;
|
|
21
|
-
structServiceProvider: StructServiceProvider;
|
|
22
|
-
buttons?: ButtonsConfig;
|
|
23
|
-
errorHandler: (message: string) => void;
|
|
24
|
-
}
|
|
25
|
-
declare function buildKetcherAsync({ element, staticResourcesUrl, structServiceProvider, buttons, errorHandler }: Config): Promise<import("ketcher-core").Ketcher>;
|
|
26
|
-
export type { Config, ButtonsConfig };
|
|
27
|
-
export default buildKetcherAsync;
|
|
@@ -1,20 +0,0 @@
|
|
|
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) => JSX.Element, import("react-redux").Omit<AppCallProps, "checkServer">>;
|
|
19
|
-
export { AppContainer };
|
|
20
|
-
export default AppContainer;
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|
|
20
|
-
declare type Props = AppCallProps;
|
|
21
|
-
declare const App: (props: Props) => JSX.Element;
|
|
22
|
-
export type { AppCallProps };
|
|
23
|
-
export { App };
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { AppHiddenCallProps } from './AppHidden';
|
|
18
|
-
declare const AppHiddenContainer: import("react-redux").ConnectedComponent<(props: AppHiddenCallProps) => JSX.Element, import("react-redux").Omit<AppHiddenCallProps, "onInitTmpls">>;
|
|
19
|
-
export { AppHiddenContainer };
|
|
@@ -1,23 +0,0 @@
|
|
|
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 AppHiddenCallProps {
|
|
18
|
-
onInitTmpls: (cacheEl: any, url: any) => void;
|
|
19
|
-
}
|
|
20
|
-
declare type Props = AppHiddenCallProps;
|
|
21
|
-
declare const AppHidden: (props: Props) => JSX.Element;
|
|
22
|
-
export type { AppHiddenCallProps };
|
|
23
|
-
export { AppHidden };
|
|
@@ -1,16 +0,0 @@
|
|
|
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';
|