ketcher-react 2.8.0-rc.3-dev.1 → 2.8.0-rc.3-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Editor.d.ts +29 -0
- package/dist/constants.d.ts +17 -0
- package/dist/contexts/appContext.d.ts +22 -0
- package/dist/contexts/errorsContext.d.ts +21 -0
- package/dist/contexts/formContext.d.ts +18 -0
- package/dist/contexts/index.d.ts +21 -0
- package/dist/contexts/settingsContext.d.ts +21 -0
- package/dist/hooks/index.d.ts +21 -0
- package/dist/hooks/useAppContext.d.ts +16 -0
- package/dist/hooks/useFormContext.d.ts +16 -0
- package/dist/hooks/useInterval.d.ts +16 -0
- package/dist/hooks/useResizeObserver.d.ts +26 -0
- package/dist/hooks/useSettingsContext.d.ts +16 -0
- package/dist/hooks/useSubscribtionOnEvents.d.ts +16 -0
- package/dist/icons/index.d.ts +16 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +23859 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +23794 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/script/api.d.ts +19 -0
- package/dist/script/builders/index.d.ts +16 -0
- package/dist/script/builders/ketcher/ButtonConfig.d.ts +18 -0
- package/dist/script/builders/ketcher/ButtonName.d.ts +16 -0
- package/dist/script/builders/ketcher/ButtonsConfig.d.ts +20 -0
- package/dist/script/builders/ketcher/KetcherBuilder.d.ts +29 -0
- package/dist/script/builders/ketcher/index.d.ts +17 -0
- package/dist/script/editor/Editor.d.ts +96 -0
- package/dist/script/editor/highlighter.d.ts +32 -0
- package/dist/script/editor/index.d.ts +18 -0
- package/dist/script/editor/shared/closest.d.ts +25 -0
- package/dist/script/editor/shared/utils.d.ts +48 -0
- package/dist/script/editor/tool/apoint.d.ts +23 -0
- package/dist/script/editor/tool/atom.d.ts +31 -0
- package/dist/script/editor/tool/attach.d.ts +24 -0
- package/dist/script/editor/tool/bond.d.ts +32 -0
- package/dist/script/editor/tool/chain.d.ts +27 -0
- package/dist/script/editor/tool/charge.d.ts +24 -0
- package/dist/script/editor/tool/enhanced-stereo.d.ts +24 -0
- package/dist/script/editor/tool/eraser.d.ts +31 -0
- package/dist/script/editor/tool/hand.d.ts +30 -0
- package/dist/script/editor/tool/helper/dropAndMerge.d.ts +8 -0
- package/dist/script/editor/tool/helper/getGroupIdsFromItems.d.ts +12 -0
- package/dist/script/editor/tool/helper/getMergeItems.d.ts +2 -0
- package/dist/script/editor/tool/helper/lasso.d.ts +59 -0
- package/dist/script/editor/tool/helper/locate.d.ts +40 -0
- package/dist/script/editor/tool/index.d.ts +47 -0
- package/dist/script/editor/tool/paste.d.ts +34 -0
- package/dist/script/editor/tool/reactionarrow.d.ts +27 -0
- package/dist/script/editor/tool/reactionmap.d.ts +28 -0
- package/dist/script/editor/tool/reactionplus.d.ts +26 -0
- package/dist/script/editor/tool/reactionunmap.d.ts +23 -0
- package/dist/script/editor/tool/rgroupatom.d.ts +23 -0
- package/dist/script/editor/tool/rgroupfragment.d.ts +24 -0
- package/dist/script/editor/tool/rotate.d.ts +28 -0
- package/dist/script/editor/tool/select.d.ts +38 -0
- package/dist/script/editor/tool/sgroup.d.ts +30 -0
- package/dist/script/editor/tool/simpleobject.d.ts +26 -0
- package/dist/script/editor/tool/template.d.ts +32 -0
- package/dist/script/editor/tool/text.d.ts +26 -0
- package/dist/script/editor/utils/customOnChangeHandler.d.ts +16 -0
- package/dist/script/editor/utils/elementOffset.d.ts +17 -0
- package/dist/script/editor/utils/functionalGroupsTooltip.d.ts +3 -0
- package/dist/script/editor/utils/index.d.ts +17 -0
- package/dist/script/index.d.ts +27 -0
- package/dist/script/ui/App/App.container.d.ts +20 -0
- package/dist/script/ui/App/App.d.ts +23 -0
- package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +19 -0
- package/dist/script/ui/App/AppHidden/AppHidden.d.ts +23 -0
- package/dist/script/ui/App/AppHidden/index.d.ts +16 -0
- package/dist/script/ui/App/index.d.ts +16 -0
- package/dist/script/ui/App/initApp.d.ts +18 -0
- package/dist/script/ui/Portal/Portal.d.ts +38 -0
- package/dist/script/ui/Portal/index.d.ts +16 -0
- package/dist/script/ui/action/action.types.d.ts +44 -0
- package/dist/script/ui/action/atoms.d.ts +40 -0
- package/dist/script/ui/action/copyAs.d.ts +1 -0
- package/dist/script/ui/action/copyImageToClipboard.d.ts +2 -0
- package/dist/script/ui/action/debug.d.ts +13 -0
- package/dist/script/ui/action/flips.d.ts +1 -0
- package/dist/script/ui/action/fullscreen.d.ts +23 -0
- package/dist/script/ui/action/functionalGroups.d.ts +31 -0
- package/dist/script/ui/action/help.d.ts +8 -0
- package/dist/script/ui/action/index.d.ts +662 -0
- package/dist/script/ui/action/isHidden.d.ts +16 -0
- package/dist/script/ui/action/server.d.ts +125 -0
- package/dist/script/ui/action/templates.d.ts +13 -0
- package/dist/script/ui/action/tools.d.ts +350 -0
- package/dist/script/ui/action/zoom.d.ts +27 -0
- package/dist/script/ui/component/actionmenu.d.ts +9 -0
- package/dist/script/ui/component/cliparea/cliparea.d.ts +20 -0
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +8 -0
- package/dist/script/ui/component/form/Select/Select.d.ts +30 -0
- package/dist/script/ui/component/form/Select/Select.test.d.ts +1 -0
- package/dist/script/ui/component/form/Select/index.d.ts +17 -0
- package/dist/script/ui/component/form/buttonlist.d.ts +9 -0
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +28 -0
- package/dist/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +1 -0
- package/dist/script/ui/component/form/combobox/combobox.d.ts +12 -0
- package/dist/script/ui/component/form/form/errorPopover.d.ts +5 -0
- package/dist/script/ui/component/form/form/form.d.ts +25 -0
- package/dist/script/ui/component/form/input.d.ts +43 -0
- package/dist/script/ui/component/form/select-checkbox.d.ts +5 -0
- package/dist/script/ui/component/form/select-list.d.ts +26 -0
- package/dist/script/ui/component/form/systemfonts.d.ts +2 -0
- package/dist/script/ui/component/structrender.d.ts +33 -0
- package/dist/script/ui/component/view/Atom/Atom.d.ts +7 -0
- package/dist/script/ui/component/view/Atom/index.d.ts +16 -0
- package/dist/script/ui/component/view/Tabs/Tabs.d.ts +9 -0
- package/dist/script/ui/component/view/Tabs/index.d.ts +16 -0
- package/dist/script/ui/component/view/icon.d.ts +5 -0
- package/dist/script/ui/component/view/openbutton.d.ts +9 -0
- package/dist/script/ui/component/view/savebutton.d.ts +32 -0
- package/dist/script/ui/data/convert/keynorm.d.ts +6 -0
- package/dist/script/ui/data/convert/structConverter.d.ts +17 -0
- package/dist/script/ui/data/convert/structconv.d.ts +40 -0
- package/dist/script/ui/data/schema/options-schema.d.ts +26 -0
- package/dist/script/ui/data/schema/schema-helper.d.ts +2 -0
- package/dist/script/ui/data/schema/sdata-schema.d.ts +60 -0
- package/dist/script/ui/data/schema/struct-schema.d.ts +301 -0
- package/dist/script/ui/data/templates.d.ts +2 -0
- package/dist/script/ui/dialog/index.d.ts +17 -0
- package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +20 -0
- package/dist/script/ui/dialog/template/TemplateDialog.d.ts +42 -0
- package/dist/script/ui/dialog/template/TemplateTable.d.ts +39 -0
- package/dist/script/ui/dialog/template/template-attach.d.ts +28 -0
- package/dist/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
- package/dist/script/ui/dialog/toolbox/SDataFieldset.d.ts +4 -0
- package/dist/script/ui/dialog/toolbox/SGroupFieldset.d.ts +4 -0
- package/dist/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +42 -0
- package/dist/script/ui/dialog/toolbox/labeledit.d.ts +3 -0
- package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +15 -0
- package/dist/script/ui/dialog/toolbox/sgroup.d.ts +9 -0
- package/dist/script/ui/index.d.ts +16 -0
- package/dist/script/ui/state/action/index.d.ts +7 -0
- package/dist/script/ui/state/constants.d.ts +6 -0
- package/dist/script/ui/state/editor/index.d.ts +23 -0
- package/dist/script/ui/state/functionalGroups/index.d.ts +25 -0
- package/dist/script/ui/state/functionalGroups/selectors/index.d.ts +18 -0
- package/dist/script/ui/state/handleHotkeysOverItem.d.ts +15 -0
- package/dist/script/ui/state/hotkeys.d.ts +23 -0
- package/dist/script/ui/state/index.d.ts +6 -0
- package/dist/script/ui/state/modal/atoms.d.ts +13 -0
- package/dist/script/ui/state/modal/form.d.ts +153 -0
- package/dist/script/ui/state/modal/index.d.ts +3 -0
- package/dist/script/ui/state/modal/sdata.d.ts +16 -0
- package/dist/script/ui/state/options/index.d.ts +68 -0
- package/dist/script/ui/state/request/index.d.ts +22 -0
- package/dist/script/ui/state/request/reducer.test.d.ts +16 -0
- package/dist/script/ui/state/request/request.types.d.ts +27 -0
- package/dist/script/ui/state/saltsAndSolvents/index.d.ts +23 -0
- package/dist/script/ui/state/saltsAndSolvents/selectors/index.d.ts +16 -0
- package/dist/script/ui/state/server/index.d.ts +7 -0
- package/dist/script/ui/state/shared.d.ts +19 -0
- package/dist/script/ui/state/templates/index.d.ts +77 -0
- package/dist/script/ui/state/templates/init-lib.d.ts +8 -0
- package/dist/script/ui/state/toolbar/index.d.ts +33 -0
- package/dist/script/ui/storage-ext.d.ts +9 -0
- package/dist/script/ui/utils/fileOpener.d.ts +16 -0
- package/dist/script/ui/utils/index.d.ts +15 -0
- package/dist/script/ui/utils/renderStruct.d.ts +9 -0
- package/dist/script/ui/utils/settingsManager.d.ts +25 -0
- package/dist/script/ui/views/AppClipArea.d.ts +18 -0
- package/dist/script/ui/views/Editor.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/ContextMenu.d.ts +19 -0
- package/dist/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +18 -0
- package/dist/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +16 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useAtomEdit.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useAtomStereo.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useBondEdit.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useBondSGroupAttach.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useBondSGroupEdit.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useBondTypeChange.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useDelete.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupEoc.d.ts +6 -0
- package/dist/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupRemove.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/index.d.ts +2 -0
- package/dist/script/ui/views/components/ContextMenu/menuItems/AtomMenuItems.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/menuItems/BondMenuItems.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/menuItems/FunctionalGroupMenuItems.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/menuItems/SelectionMenuItems.d.ts +3 -0
- package/dist/script/ui/views/components/ContextMenu/utils.d.ts +25 -0
- package/dist/script/ui/views/components/Cursor.d.ts +6 -0
- package/dist/script/ui/views/components/Dialog/Dialog.d.ts +44 -0
- package/dist/script/ui/views/components/Dialog/index.d.ts +16 -0
- package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +17 -0
- package/dist/script/ui/views/components/Spinner/index.d.ts +16 -0
- package/dist/script/ui/views/components/StructEditor/InfoPanel.d.ts +27 -0
- package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +19 -0
- package/dist/script/ui/views/components/StructEditor/index.d.ts +16 -0
- package/dist/script/ui/views/components/index.d.ts +19 -0
- package/dist/script/ui/views/modal/Modal.container.d.ts +19 -0
- package/dist/script/ui/views/modal/Modal.d.ts +28 -0
- package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +7 -0
- package/dist/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +18 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
- package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +37 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +5 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +9 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +2 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +11 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +10 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +19 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +6 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/index.d.ts +20 -0
- package/dist/script/ui/views/modal/components/PeriodTable/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +22 -0
- package/dist/script/ui/views/modal/components/Text/FontControl/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +22 -0
- package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +20 -0
- package/dist/script/ui/views/modal/components/Text/Text.d.ts +26 -0
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +30 -0
- package/dist/script/ui/views/modal/components/Text/TextButton/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/Text/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/document/Open/Open.container.d.ts +24 -0
- package/dist/script/ui/views/modal/components/document/Open/Open.d.ts +29 -0
- package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +20 -0
- package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +25 -0
- package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
- package/dist/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
- package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +22 -0
- package/dist/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +31 -0
- package/dist/script/ui/views/modal/components/document/Open/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +45 -0
- package/dist/script/ui/views/modal/components/document/Save/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/document/index.d.ts +18 -0
- package/dist/script/ui/views/modal/components/meta/About/About.d.ts +3 -0
- package/dist/script/ui/views/modal/components/meta/About/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
- package/dist/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +38 -0
- package/dist/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +41 -0
- package/dist/script/ui/views/modal/components/meta/Settings/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/meta/index.d.ts +18 -0
- package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +10 -0
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +5 -0
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +19 -0
- package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/process/Analyse/components/index.d.ts +18 -0
- package/dist/script/ui/views/modal/components/process/Analyse/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +3 -0
- package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +17 -0
- package/dist/script/ui/views/modal/components/process/Check/components/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/process/Check/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +31 -0
- package/dist/script/ui/views/modal/components/process/Miew/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +3 -0
- package/dist/script/ui/views/modal/components/process/Recognize/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/process/index.d.ts +20 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +22 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +38 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +22 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +18 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +25 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +19 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +33 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +18 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +26 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +24 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +18 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +30 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +20 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
- package/dist/script/ui/views/modal/index.d.ts +16 -0
- package/dist/script/ui/views/modal/mediaSizes.d.ts +20 -0
- package/dist/script/ui/views/modal/modal.types.d.ts +28 -0
- package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +24 -0
- package/dist/script/ui/views/toolbars/ArrowScroll/index.d.ts +2 -0
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +20 -0
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +29 -0
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +34 -0
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/BottomToolbar/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +25 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +24 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +19 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +25 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +25 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +25 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Transform/Transform.d.ts +25 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Transform/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +9 -0
- package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +32 -0
- package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +21 -0
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +30 -0
- package/dist/script/ui/views/toolbars/RightToolbar/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +36 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +36 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +41 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +19 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +19 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +23 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +18 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +23 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +18 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +35 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +18 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +31 -0
- package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +17 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +35 -0
- package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +26 -0
- package/dist/script/ui/views/toolbars/TopToolbar/IconButton.d.ts +26 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
- package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +28 -0
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +18 -0
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +55 -0
- package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +27 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +29 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +26 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +23 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +22 -0
- package/dist/script/ui/views/toolbars/TopToolbar/index.d.ts +16 -0
- package/dist/script/ui/views/toolbars/index.d.ts +19 -0
- package/dist/script/ui/views/toolbars/mediaSizes.d.ts +23 -0
- package/dist/script/ui/views/toolbars/shortcutStr.d.ts +1 -0
- package/dist/script/ui/views/toolbars/toolbar.types.d.ts +32 -0
- package/package.json +9 -10
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
declare type VoidFunction = () => void;
|
|
18
|
+
export interface PanelProps {
|
|
19
|
+
className: string;
|
|
20
|
+
disabledButtons: string[];
|
|
21
|
+
indigoVerification: boolean;
|
|
22
|
+
hiddenButtons: string[];
|
|
23
|
+
shortcuts: {
|
|
24
|
+
[key in string]: string;
|
|
25
|
+
};
|
|
26
|
+
onClear: VoidFunction;
|
|
27
|
+
onFileOpen: VoidFunction;
|
|
28
|
+
onSave: VoidFunction;
|
|
29
|
+
onUndo: VoidFunction;
|
|
30
|
+
onRedo: VoidFunction;
|
|
31
|
+
onCopy: VoidFunction;
|
|
32
|
+
onCopyMol: VoidFunction;
|
|
33
|
+
onCopyKet: VoidFunction;
|
|
34
|
+
onCopyImage: VoidFunction;
|
|
35
|
+
onCut: VoidFunction;
|
|
36
|
+
onPaste: VoidFunction;
|
|
37
|
+
currentZoom: number | undefined;
|
|
38
|
+
onZoom: (zoom: number) => void;
|
|
39
|
+
onZoomIn: VoidFunction;
|
|
40
|
+
onZoomOut: VoidFunction;
|
|
41
|
+
onSettingsOpen: VoidFunction;
|
|
42
|
+
onLayout: VoidFunction;
|
|
43
|
+
onClean: VoidFunction;
|
|
44
|
+
onAromatize: VoidFunction;
|
|
45
|
+
onDearomatize: VoidFunction;
|
|
46
|
+
onCalculate: VoidFunction;
|
|
47
|
+
onCheck: VoidFunction;
|
|
48
|
+
onAnalyse: VoidFunction;
|
|
49
|
+
onMiew: VoidFunction;
|
|
50
|
+
onFullscreen: VoidFunction;
|
|
51
|
+
onAbout: VoidFunction;
|
|
52
|
+
onHelp: VoidFunction;
|
|
53
|
+
}
|
|
54
|
+
export declare const TopToolbar: ({ className, disabledButtons, indigoVerification, hiddenButtons, shortcuts, onClear, onFileOpen, onSave, onUndo, onRedo, onCopy, onCopyMol, onCopyKet, onCopyImage, onCut, onPaste, currentZoom, onZoom, onZoomIn, onZoomOut, onSettingsOpen, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, onFullscreen, onAbout, onHelp }: PanelProps) => JSX.Element;
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
interface UndoRedoProps {
|
|
18
|
+
disabledButtons: string[];
|
|
19
|
+
hiddenButtons: string[];
|
|
20
|
+
shortcuts: {
|
|
21
|
+
[key in string]: string;
|
|
22
|
+
};
|
|
23
|
+
onUndo: () => void;
|
|
24
|
+
onRedo: () => void;
|
|
25
|
+
}
|
|
26
|
+
export declare const UndoRedo: ({ onUndo, onRedo, disabledButtons, hiddenButtons, shortcuts }: UndoRedoProps) => JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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 ZoomProps {
|
|
18
|
+
currentZoom: number;
|
|
19
|
+
onZoom: (arg: number) => void;
|
|
20
|
+
onZoomIn: VoidFunction;
|
|
21
|
+
onZoomOut: VoidFunction;
|
|
22
|
+
disabledButtons: string[];
|
|
23
|
+
hiddenButtons: string[];
|
|
24
|
+
shortcuts: {
|
|
25
|
+
[key in string]: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export declare const ZoomControls: ({ currentZoom, onZoom, onZoomIn, onZoomOut, disabledButtons, hiddenButtons, shortcuts }: ZoomProps) => JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { RefObject } from 'react';
|
|
17
|
+
export declare const updateInputString: (zoom: number, inputElement: HTMLInputElement | null) => void;
|
|
18
|
+
export interface ZoomInputProps {
|
|
19
|
+
onZoomSubmit: () => void;
|
|
20
|
+
currentZoom: number;
|
|
21
|
+
inputRef: RefObject<HTMLInputElement>;
|
|
22
|
+
shortcuts: {
|
|
23
|
+
[key in string]: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export declare const ZoomInput: ({ onZoomSubmit, currentZoom, inputRef, shortcuts }: ZoomInputProps) => JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
interface ZoomListProps {
|
|
18
|
+
zoom: number;
|
|
19
|
+
setZoom: (zoom: number) => void;
|
|
20
|
+
}
|
|
21
|
+
declare const ZoomList: ({ zoom, setZoom }: ZoomListProps) => JSX.Element;
|
|
22
|
+
export type { ZoomListProps };
|
|
23
|
+
export { ZoomList };
|
|
@@ -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
|
+
interface SliderProps {
|
|
18
|
+
zoom: number;
|
|
19
|
+
setZoom: (arg: any) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const ZoomSlider: ({ zoom, setZoom }: SliderProps) => JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export * from './TopToolbar.container';
|
|
@@ -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 './BottomToolbar';
|
|
17
|
+
export * from './LeftToolbar';
|
|
18
|
+
export * from './RightToolbar';
|
|
19
|
+
export * from './TopToolbar';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
declare const mediaSizes: {
|
|
17
|
+
topSeparatorsShowingWidth: number;
|
|
18
|
+
bondCollapsableHeight: number;
|
|
19
|
+
rGroupCollapsableHeight: number;
|
|
20
|
+
shapeCollapsableHeight: number;
|
|
21
|
+
transformCollapsableHeight: number;
|
|
22
|
+
};
|
|
23
|
+
export { mediaSizes };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function shortcutStr(shortcut?: string | string[]): string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
declare type TopGroup = 'document' | 'edit' | 'zoom' | 'process' | 'meta';
|
|
17
|
+
declare type LeftGroup = 'hand' | 'select' | 'bond' | 'charge' | 'transform' | 'sgroup' | 'rgroup' | 'shape' | 'text';
|
|
18
|
+
declare type BottomGroup = 'template-common' | 'template-lib';
|
|
19
|
+
declare type RightGroup = 'atom' | 'period-table';
|
|
20
|
+
declare type ToolbarGroupVariant = TopGroup | LeftGroup | BottomGroup | RightGroup;
|
|
21
|
+
declare type TopToolbarItemVariant = 'clear' | 'open' | 'save' | 'undo' | 'redo' | 'cut' | 'copies' | 'copy' | 'copy-image' | 'copy-mol' | 'copy-ket' | 'paste' | 'zoom-in' | 'zoom-out' | 'zoom-list' | 'layout' | 'clean' | 'arom' | 'dearom' | 'cip' | 'check' | 'analyse' | 'recognize' | 'miew' | 'settings' | 'help' | 'about';
|
|
22
|
+
declare type LeftToolbarItemVariant = 'hand' | 'select' | 'select-lasso' | 'select-rectangle' | 'select-fragment' | 'erase' | 'bonds' | 'bond-common' | 'bond-single' | 'bond-double' | 'bond-triple' | 'bond-dative' | 'bond-stereo' | 'bond-up' | 'bond-down' | 'bond-updown' | 'bond-crossed' | 'bond-query' | 'bond-special' | 'bond-any' | 'bond-hydrogen' | 'bond-aromatic' | 'bond-singledouble' | 'bond-singlearomatic' | 'bond-doublearomatic' | 'chain' | 'charge-plus' | 'charge-minus' | 'transforms' | 'transform-rotate' | 'transform-flip-h' | 'transform-flip-v' | 'sgroup' | 'reaction-plus' | 'arrows' | 'reaction-arrow-open-angle' | 'reaction-arrow-filled-triangle' | 'reaction-arrow-filled-bow' | 'reaction-arrow-dashed-open-angle' | 'reaction-arrow-failed' | 'reaction-arrow-both-ends-filled-triangle' | 'reaction-arrow-equilibrium-filled-half-bow' | 'reaction-arrow-equilibrium-filled-triangle' | 'reaction-arrow-equilibrium-open-angle' | 'reaction-arrow-unbalanced-equilibrium-filled-half-bow' | 'reaction-arrow-unbalanced-equilibrium-open-half-angle' | 'reaction-arrow-unbalanced-equilibrium-large-filled-half-bow' | 'reaction-arrow-unbalanced-equilibrium-filled-half-triangle' | 'reaction-arrow-elliptical-arc-arrow-filled-bow' | 'reaction-arrow-elliptical-arc-arrow-filled-triangle' | 'reaction-arrow-elliptical-arc-arrow-open-angle' | 'reaction-arrow-elliptical-arc-arrow-open-half-angle' | 'reaction-mapping-tools' | 'reaction-automap' | 'reaction-map' | 'reaction-unmap' | 'rgroup' | 'rgroup-label' | 'rgroup-fragment' | 'rgroup-attpoints' | 'shapes' | 'shape-ellipse' | 'shape-rectangle' | 'shape-line' | 'text';
|
|
23
|
+
declare type BottomToolbarItemVariant = 'template-common' | 'template-lib' | 'enhanced-stereo' | 'fullscreen';
|
|
24
|
+
declare type RightToolbarItemVariant = 'atom' | 'freq-atoms' | 'period-table' | 'extended-table' | 'any-atom';
|
|
25
|
+
declare type ToolbarItemVariant = TopToolbarItemVariant | LeftToolbarItemVariant | BottomToolbarItemVariant | RightToolbarItemVariant;
|
|
26
|
+
interface ToolbarItem {
|
|
27
|
+
id: ToolbarItemVariant;
|
|
28
|
+
options?: ToolbarItem[];
|
|
29
|
+
}
|
|
30
|
+
export type { ToolbarGroupVariant };
|
|
31
|
+
export type { BottomToolbarItemVariant, LeftToolbarItemVariant, RightToolbarItemVariant, TopToolbarItemVariant, ToolbarItemVariant };
|
|
32
|
+
export type { ToolbarItem };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ketcher-react",
|
|
3
|
-
"version": "2.8.0-rc.3-dev.
|
|
3
|
+
"version": "2.8.0-rc.3-dev.3",
|
|
4
4
|
"description": "Web-based molecule sketcher",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "http://lifescience.opensource.epam.com/ketcher",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"stylelint:fix": "stylelint \"./**/*.{css,less}\" --formatter verbose --fix"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"react": "^
|
|
45
|
-
"react-dom": "^
|
|
44
|
+
"react": "^18.2.0",
|
|
45
|
+
"react-dom": "^18.2.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.17.9",
|
|
@@ -58,12 +58,11 @@
|
|
|
58
58
|
"font-face-observer": "^1.0.0",
|
|
59
59
|
"hoist-non-react-statics": "^3.3.2",
|
|
60
60
|
"intersection-observer": "^0.12.0",
|
|
61
|
-
"ketcher-core": "
|
|
61
|
+
"ketcher-core": "*",
|
|
62
62
|
"lodash": "^4.17.21",
|
|
63
63
|
"miew-react": "^1.0.0",
|
|
64
64
|
"react-colorful": "^5.4.0",
|
|
65
65
|
"react-contexify": "^6.0.0",
|
|
66
|
-
"react-contextmenu": "^2.14.0",
|
|
67
66
|
"react-device-detect": "^2.2.2",
|
|
68
67
|
"react-dropzone": "^11.7.1",
|
|
69
68
|
"react-intersection-observer": "^8.32.1",
|
|
@@ -95,15 +94,15 @@
|
|
|
95
94
|
"@rollup/plugin-replace": "^2.3.4",
|
|
96
95
|
"@rollup/plugin-strip": "^2.0.0",
|
|
97
96
|
"@svgr/rollup": "^5.4.0",
|
|
98
|
-
"@testing-library/jest-dom": "
|
|
99
|
-
"@testing-library/react": "
|
|
100
|
-
"@testing-library/user-event": "
|
|
97
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
98
|
+
"@testing-library/react": "13.4.0",
|
|
99
|
+
"@testing-library/user-event": "14.4.3",
|
|
101
100
|
"@types/draft-js": "^0.11.7",
|
|
102
101
|
"@types/jest": "^27.0.3",
|
|
103
102
|
"@types/lodash": "^4.14.178",
|
|
104
103
|
"@types/node": "^16.11.12",
|
|
105
|
-
"@types/react": "^
|
|
106
|
-
"@types/react-dom": "^
|
|
104
|
+
"@types/react": "^18.0.25",
|
|
105
|
+
"@types/react-dom": "^18.0.8",
|
|
107
106
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
108
107
|
"@typescript-eslint/parser": "^5.6.0",
|
|
109
108
|
"autoprefixer": "^10.2.5",
|