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,36 @@
|
|
|
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 { UiAction, UiActionAction } from '../../../../action';
|
|
18
|
+
interface ActionButtonProps {
|
|
19
|
+
name: string;
|
|
20
|
+
action?: UiAction;
|
|
21
|
+
status?: {
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
hidden?: boolean;
|
|
24
|
+
};
|
|
25
|
+
selected?: boolean;
|
|
26
|
+
disableableButtons: string[];
|
|
27
|
+
indigoVerification: boolean;
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
interface ActionButtonCallProps {
|
|
31
|
+
onAction: (action: UiActionAction) => void;
|
|
32
|
+
}
|
|
33
|
+
declare type Props = ActionButtonProps & ActionButtonCallProps;
|
|
34
|
+
declare const ActionButton: (props: Props) => JSX.Element | null;
|
|
35
|
+
export type { ActionButtonProps, ActionButtonCallProps };
|
|
36
|
+
export { ActionButton };
|
|
@@ -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 './ActionButton';
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { UiAction, UiActionAction } from '../../../action';
|
|
18
|
+
import { ToolbarItem } from '../toolbar.types';
|
|
19
|
+
interface ToolbarGroupItemProps extends ToolbarItem {
|
|
20
|
+
status: {
|
|
21
|
+
[key in string]?: UiAction;
|
|
22
|
+
};
|
|
23
|
+
opened: string | null;
|
|
24
|
+
disableableButtons: string[];
|
|
25
|
+
indigoVerification: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
vertical?: boolean;
|
|
28
|
+
}
|
|
29
|
+
interface ToolbarGroupItemCallProps {
|
|
30
|
+
onAction: (action: UiActionAction) => void;
|
|
31
|
+
onOpen: (menuName: string, isSelected: boolean) => void;
|
|
32
|
+
}
|
|
33
|
+
declare type Props = ToolbarGroupItemProps & ToolbarGroupItemCallProps;
|
|
34
|
+
declare const ToolbarGroupItem: (props: Props) => JSX.Element;
|
|
35
|
+
export type { ToolbarGroupItemProps, ToolbarGroupItemCallProps };
|
|
36
|
+
export { ToolbarGroupItem };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
import { GroupDescriptor, MultiToolVariant } from './variants/variants.types';
|
|
18
|
+
import { ToolbarItem, ToolbarItemVariant } from '../../toolbar.types';
|
|
19
|
+
import { UiAction, UiActionAction } from '../../../../action';
|
|
20
|
+
interface ToolbarMultiToolItemProps {
|
|
21
|
+
id: ToolbarItemVariant;
|
|
22
|
+
options: ToolbarItem[];
|
|
23
|
+
groups?: GroupDescriptor[];
|
|
24
|
+
variant?: MultiToolVariant;
|
|
25
|
+
status: {
|
|
26
|
+
[key in string]?: UiAction;
|
|
27
|
+
};
|
|
28
|
+
opened: string | null;
|
|
29
|
+
disableableButtons: string[];
|
|
30
|
+
indigoVerification: boolean;
|
|
31
|
+
className?: string;
|
|
32
|
+
vertical?: boolean;
|
|
33
|
+
}
|
|
34
|
+
interface ToolbarMultiToolItemCallProps {
|
|
35
|
+
onAction: (action: UiActionAction) => void;
|
|
36
|
+
onOpen: (menuName: string, isSelected: boolean) => void;
|
|
37
|
+
}
|
|
38
|
+
declare type Props = ToolbarMultiToolItemProps & ToolbarMultiToolItemCallProps;
|
|
39
|
+
declare const ToolbarMultiToolItem: (props: Props) => JSX.Element | null;
|
|
40
|
+
export type { ToolbarMultiToolItemProps, ToolbarMultiToolItemCallProps };
|
|
41
|
+
export { ToolbarMultiToolItem };
|
|
@@ -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 './ToolbarMultiToolItem';
|
package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts
ADDED
|
@@ -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
|
+
import { ToolbarItem } from '../../toolbar.types';
|
|
17
|
+
declare type HookParams = [string, string | null, ToolbarItem[]];
|
|
18
|
+
declare function usePortalOpening([id, opened, options]: HookParams): [boolean];
|
|
19
|
+
export { usePortalOpening };
|
package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts
ADDED
|
@@ -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
|
+
import { CSSProperties, RefObject } from 'react';
|
|
17
|
+
declare type HookParams = [RefObject<HTMLDivElement>, boolean];
|
|
18
|
+
declare function usePortalStyle([ref, isOpen]: HookParams): [CSSProperties];
|
|
19
|
+
export { usePortalStyle };
|
|
@@ -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
|
+
import { MultiToolCallProps, MultiToolProps } from '../variants.types';
|
|
18
|
+
declare type DefaultMultiToolProps = MultiToolProps;
|
|
19
|
+
declare type DefaultMultiToolCallProps = MultiToolCallProps;
|
|
20
|
+
declare type Props = DefaultMultiToolProps & DefaultMultiToolCallProps;
|
|
21
|
+
declare const DefaultMultiTool: (props: Props) => JSX.Element;
|
|
22
|
+
export type { DefaultMultiToolProps, DefaultMultiToolCallProps };
|
|
23
|
+
export { DefaultMultiTool };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import classes from './DefaultMultiTool.module.less';
|
|
17
|
+
export * from './DefaultMultiTool';
|
|
18
|
+
export { classes };
|
|
@@ -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
|
+
import { MultiToolCallProps, MultiToolProps } from '../variants.types';
|
|
18
|
+
declare type GroupedMultiToolProps = MultiToolProps;
|
|
19
|
+
declare type GroupedMultiToolCallProps = MultiToolCallProps;
|
|
20
|
+
declare type Props = GroupedMultiToolProps & GroupedMultiToolCallProps;
|
|
21
|
+
declare const GroupedMultiTool: (props: Props) => JSX.Element | null;
|
|
22
|
+
export type { GroupedMultiToolProps, GroupedMultiToolCallProps };
|
|
23
|
+
export { GroupedMultiTool };
|
|
@@ -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 './GroupedMultiTool';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { MultiToolCallProps, MultiToolProps, MultiToolVariant } from './variants.types';
|
|
17
|
+
import { ComponentType } from 'react';
|
|
18
|
+
export declare function chooseMultiTool(variant?: MultiToolVariant): [ComponentType<MultiToolProps & MultiToolCallProps>, string?];
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { UiAction, UiActionAction } from '../../../../../action';
|
|
17
|
+
import { ToolbarItem } from '../../../toolbar.types';
|
|
18
|
+
declare type GroupDescriptor = {
|
|
19
|
+
start: number;
|
|
20
|
+
end: number;
|
|
21
|
+
};
|
|
22
|
+
interface MultiToolProps {
|
|
23
|
+
options: ToolbarItem[];
|
|
24
|
+
groups?: GroupDescriptor[];
|
|
25
|
+
status: {
|
|
26
|
+
[key in string]?: UiAction;
|
|
27
|
+
};
|
|
28
|
+
disableableButtons: string[];
|
|
29
|
+
indigoVerification: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface MultiToolCallProps {
|
|
32
|
+
onAction: (action: UiActionAction) => void;
|
|
33
|
+
}
|
|
34
|
+
declare type MultiToolVariant = 'default' | 'grouped';
|
|
35
|
+
export type { GroupDescriptor, MultiToolProps, MultiToolCallProps, MultiToolVariant };
|
|
@@ -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 './ToolbarGroupItem';
|
|
@@ -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 './makeItems';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { ToolbarItem, ToolbarItemVariant } from '../../toolbar.types';
|
|
17
|
+
declare function makeItems(ids: ToolbarItemVariant[]): ToolbarItem[];
|
|
18
|
+
export { makeItems };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
interface ClipboardControlsProps {
|
|
18
|
+
onCopy: () => void;
|
|
19
|
+
onCopyMol: () => void;
|
|
20
|
+
onCopyKet: () => void;
|
|
21
|
+
onCopyImage: () => void;
|
|
22
|
+
onPaste: () => void;
|
|
23
|
+
onCut: () => void;
|
|
24
|
+
disabledButtons: string[];
|
|
25
|
+
hiddenButtons: string[];
|
|
26
|
+
shortcuts: {
|
|
27
|
+
[key in string]: string;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export declare const ClipboardControls: ({ onCopy, onCopyMol, onCopyKet, onCopyImage, onPaste, onCut, shortcuts, disabledButtons, hiddenButtons }: ClipboardControlsProps) => JSX.Element;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const Divider: () => 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 ElementWithDropdownProps {
|
|
18
|
+
topElement?: JSX.Element;
|
|
19
|
+
dropDownElements: JSX.Element[];
|
|
20
|
+
onToolOpen: () => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const ElementWithDropdown: import("react-redux").ConnectedComponent<({ topElement, dropDownElements, onToolOpen }: ElementWithDropdownProps) => JSX.Element, import("react-redux").Omit<ElementWithDropdownProps, "onToolOpen">>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
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 ExternalFuncProps {
|
|
18
|
+
isCollapsed: boolean;
|
|
19
|
+
onLayout: () => void;
|
|
20
|
+
onClean: () => void;
|
|
21
|
+
onAromatize: () => void;
|
|
22
|
+
onDearomatize: () => void;
|
|
23
|
+
onCalculate: () => void;
|
|
24
|
+
onCheck: () => void;
|
|
25
|
+
onAnalyse: () => void;
|
|
26
|
+
onMiew: () => void;
|
|
27
|
+
disabledButtons: string[];
|
|
28
|
+
hiddenButtons: string[];
|
|
29
|
+
indigoVerification: boolean;
|
|
30
|
+
shortcuts: {
|
|
31
|
+
[key in string]: string;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export declare const ExternalFuncControls: ({ isCollapsed, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, disabledButtons, indigoVerification, hiddenButtons, shortcuts }: ExternalFuncProps) => JSX.Element;
|
|
35
|
+
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
|
+
/// <reference types="react" />
|
|
17
|
+
interface FileControlsProps {
|
|
18
|
+
onFileOpen: () => void;
|
|
19
|
+
onSave: () => void;
|
|
20
|
+
shortcuts: {
|
|
21
|
+
[key in string]: string;
|
|
22
|
+
};
|
|
23
|
+
hiddenButtons: string[];
|
|
24
|
+
}
|
|
25
|
+
export declare const FileControls: ({ onFileOpen, onSave, shortcuts, hiddenButtons }: FileControlsProps) => JSX.Element;
|
|
26
|
+
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
|
+
/// <reference types="react" />
|
|
17
|
+
interface ButtonProps {
|
|
18
|
+
iconName: string;
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
title: string;
|
|
21
|
+
isHidden?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
shortcut?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const IconButton: ({ onClick, iconName, title, shortcut, isHidden, disabled }: ButtonProps) => JSX.Element | null;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
export declare class ScaleTransformer {
|
|
17
|
+
a: number;
|
|
18
|
+
b: number;
|
|
19
|
+
zoomList: number[];
|
|
20
|
+
constructor(inputMax: number);
|
|
21
|
+
getSliderValue(zoom: number): number;
|
|
22
|
+
getZoomValue(sliderValue: number): any;
|
|
23
|
+
private pickNearestFromList;
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
interface SystemControlsProps {
|
|
18
|
+
disabledButtons: string[];
|
|
19
|
+
hiddenButtons: string[];
|
|
20
|
+
className?: string;
|
|
21
|
+
onSettingsOpen: () => void;
|
|
22
|
+
onAboutOpen: () => void;
|
|
23
|
+
onHistoryClick: () => void;
|
|
24
|
+
onFullscreen: () => void;
|
|
25
|
+
onHelp: () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const SystemControls: ({ disabledButtons, hiddenButtons, onSettingsOpen, onFullscreen, onHelp, onAboutOpen, className }: SystemControlsProps) => JSX.Element;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
declare const TopToolbarContainer: import("react-redux").ConnectedComponent<({ 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 }: import("./TopToolbar").PanelProps) => JSX.Element, import("react-redux").Omit<import("./TopToolbar").PanelProps, "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">>;
|
|
18
|
+
export { TopToolbarContainer };
|