ketcher-react 2.16.0-rc.4 → 2.17.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Editor.d.ts +1 -2
- package/dist/components/Accordion/Accordion.d.ts +1 -2
- package/dist/components/Buttons/Button/Button.d.ts +1 -2
- package/dist/components/Buttons/IconButton/IconButton.d.ts +1 -2
- package/dist/{script/ui/views/components → components}/Dialog/Dialog.d.ts +4 -4
- package/dist/{script/ui/views/components → components}/Dialog/index.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -2
- package/dist/components/Icon/utils/iconNameToIcon.d.ts +4 -0
- package/dist/components/Input/Input.d.ts +1 -2
- package/dist/components/StructRender/StructRender.d.ts +1 -2
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/constants.d.ts +0 -2
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +2992 -2966
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3024 -2999
- package/dist/index.modern.js.map +1 -1
- package/dist/script/builders/ketcher/KetcherBuilder.d.ts +2 -1
- package/dist/script/editor/Editor.d.ts +5 -4
- package/dist/script/editor/HoverIcon.d.ts +1 -1
- package/dist/script/editor/tool/helper/dropAndMerge.d.ts +1 -1
- package/dist/script/editor/tool/select.d.ts +3 -1
- package/dist/script/editor/utils/structLayout.d.ts +1 -2
- package/dist/script/index.d.ts +4 -1
- package/dist/script/providers/index.d.ts +1 -0
- package/dist/script/providers/indigoProvider.d.ts +5 -0
- package/dist/script/ui/App/App.container.d.ts +3 -1
- package/dist/script/ui/App/App.d.ts +2 -1
- package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +1 -2
- package/dist/script/ui/App/AppHidden/AppHidden.d.ts +1 -2
- package/dist/script/ui/App/initApp.d.ts +2 -1
- package/dist/script/ui/action/atoms.d.ts +1 -1
- package/dist/script/ui/action/index.d.ts +3 -3
- package/dist/script/ui/action/templates.d.ts +1 -1
- package/dist/script/ui/action/tools.d.ts +1 -1
- package/dist/script/ui/action/zoom.d.ts +4 -4
- package/dist/script/ui/component/actionmenu.d.ts +1 -1
- package/dist/script/ui/component/cliparea/cliparea.d.ts +1 -1
- package/dist/script/ui/component/form/Input/Input.d.ts +1 -1
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +1 -1
- package/dist/script/ui/component/form/Select/Select.d.ts +2 -2
- package/dist/script/ui/component/form/buttonlist.d.ts +1 -1
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +1 -2
- package/dist/script/ui/component/form/combobox/combobox.d.ts +1 -1
- package/dist/script/ui/component/form/form/errorPopover.d.ts +1 -1
- package/dist/script/ui/component/form/form/form.d.ts +6 -6
- package/dist/script/ui/component/form/select-checkbox.d.ts +1 -1
- package/dist/script/ui/component/form/select-list.d.ts +1 -1
- package/dist/script/ui/component/form/systemfonts.d.ts +1 -1
- package/dist/script/ui/component/view/Atom/Atom.d.ts +1 -1
- package/dist/script/ui/component/view/Tabs/Tabs.d.ts +1 -1
- package/dist/script/ui/component/view/openbutton.d.ts +1 -1
- package/dist/script/ui/component/view/savebutton.d.ts +1 -1
- package/dist/script/ui/data/templates.d.ts +1 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +1 -2
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +1 -2
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +3 -4
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +2 -3
- package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +1 -2
- package/dist/script/ui/dialog/template/template-attach.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/SDataFieldset.d.ts +1 -1
- package/dist/script/ui/dialog/toolbox/SGroupFieldset.d.ts +1 -1
- package/dist/script/ui/dialog/toolbox/labeledit.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/sgroup.d.ts +2 -2
- package/dist/script/ui/state/editor/index.d.ts +1 -0
- package/dist/script/ui/state/functionalGroups/index.d.ts +7 -0
- package/dist/script/ui/state/saltsAndSolvents/index.d.ts +7 -0
- package/dist/script/ui/state/shared.d.ts +9 -0
- package/dist/script/ui/views/components/Cursor.d.ts +1 -1
- package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +1 -2
- package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +14 -2
- package/dist/script/ui/views/components/StructEditor/helpers.d.ts +2 -3
- package/dist/script/ui/views/components/index.d.ts +1 -1
- package/dist/script/ui/views/modal/Modal.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +1 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +2 -3
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +1 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +1 -2
- package/dist/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +1 -2
- package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +2 -2
- package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +1 -1
- package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +1 -2
- package/dist/script/ui/views/modal/components/Text/Text.d.ts +2 -3
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +1 -2
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +5 -5
- package/dist/script/ui/views/modal/components/meta/About/About.d.ts +1 -1
- package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +1 -2
- package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +1 -2
- package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +1 -1
- package/dist/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +1 -2
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +1 -2
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +1 -2
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +1 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +1 -2
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +1 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +2 -3
- package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +1 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +1 -2
- package/package.json +1 -1
- package/dist/script/ui/utils/optionsManager.d.ts +0 -10
- package/dist/script/ui/utils/settingsManager.d.ts +0 -25
|
@@ -13,12 +13,11 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface ArrowScrollProps {
|
|
18
17
|
startInView: boolean;
|
|
19
18
|
endInView: boolean;
|
|
20
19
|
scrollUp: any;
|
|
21
20
|
scrollDown: any;
|
|
22
21
|
}
|
|
23
|
-
declare const ArrowScroll: ({ startInView, endInView, scrollUp, scrollDown, }: ArrowScrollProps) => JSX.Element;
|
|
22
|
+
declare const ArrowScroll: ({ startInView, endInView, scrollUp, scrollDown, }: ArrowScrollProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export { ArrowScroll };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../ToolbarGroupItem';
|
|
18
17
|
interface BottomToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
19
18
|
className?: string;
|
|
@@ -24,6 +23,6 @@ interface BottomToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options
|
|
|
24
23
|
}
|
|
25
24
|
declare type BottomToolbarCallProps = ToolbarGroupItemCallProps;
|
|
26
25
|
declare type Props = BottomToolbarProps & BottomToolbarCallProps;
|
|
27
|
-
declare const BottomToolbar: (props: Props) => JSX.Element;
|
|
26
|
+
declare const BottomToolbar: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
28
27
|
export type { BottomToolbarProps, BottomToolbarCallProps };
|
|
29
28
|
export { BottomToolbar };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { UiActionAction } from '../../../../action';
|
|
18
17
|
interface TemplatesListProps {
|
|
19
18
|
active?: {
|
|
@@ -29,6 +28,6 @@ interface TemplatesListCallProps {
|
|
|
29
28
|
onAction: (action: UiActionAction) => void;
|
|
30
29
|
}
|
|
31
30
|
declare type Props = TemplatesListProps & TemplatesListCallProps;
|
|
32
|
-
declare const TemplatesList: (props: Props) => JSX.Element;
|
|
31
|
+
declare const TemplatesList: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
33
32
|
export type { TemplatesListProps, TemplatesListCallProps };
|
|
34
33
|
export { TemplatesList };
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../../ToolbarGroupItem';
|
|
18
17
|
interface BondProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
19
18
|
height?: number;
|
|
20
19
|
}
|
|
21
20
|
declare type BondCallProps = ToolbarGroupItemCallProps;
|
|
22
21
|
declare type Props = BondProps & BondCallProps;
|
|
23
|
-
declare const Bond: (props: Props) => JSX.Element;
|
|
22
|
+
declare const Bond: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export type { BondProps, BondCallProps };
|
|
25
24
|
export { Bond };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { LeftToolbarProps } from './LeftToolbar';
|
|
18
|
-
declare const LeftToolbarContainer: import("react-redux").ConnectedComponent<(props: LeftToolbarProps & import("../ToolbarGroupItem/ToolbarGroupItem").ToolbarGroupItemCallProps) => JSX.Element, import("react-redux").Omit<LeftToolbarProps & import("../ToolbarGroupItem/ToolbarGroupItem").ToolbarGroupItemCallProps, "status" | "opened" | "disableableButtons" | "indigoVerification" | "vertical" | "dataTestId" | "onAction" | "onOpen">>;
|
|
17
|
+
declare const LeftToolbarContainer: import("react-redux").ConnectedComponent<(props: LeftToolbarProps & import("../ToolbarGroupItem/ToolbarGroupItem").ToolbarGroupItemCallProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<LeftToolbarProps & import("../ToolbarGroupItem/ToolbarGroupItem").ToolbarGroupItemCallProps, "status" | "opened" | "disableableButtons" | "indigoVerification" | "vertical" | "dataTestId" | "onAction" | "onOpen">>;
|
|
19
18
|
export { LeftToolbarContainer };
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../ToolbarGroupItem';
|
|
18
17
|
interface LeftToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
19
18
|
className?: string;
|
|
20
19
|
}
|
|
21
20
|
declare type LeftToolbarCallProps = ToolbarGroupItemCallProps;
|
|
22
21
|
declare type Props = LeftToolbarProps & LeftToolbarCallProps;
|
|
23
|
-
declare const LeftToolbar: (props: Props) => JSX.Element;
|
|
22
|
+
declare const LeftToolbar: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export type { LeftToolbarProps, LeftToolbarCallProps };
|
|
25
24
|
export { LeftToolbar };
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../../ToolbarGroupItem';
|
|
18
17
|
interface RGroupProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
19
18
|
height?: number;
|
|
20
19
|
}
|
|
21
20
|
declare type RGroupCallProps = ToolbarGroupItemCallProps;
|
|
22
21
|
declare type Props = RGroupProps & RGroupCallProps;
|
|
23
|
-
declare const RGroup: (props: Props) => JSX.Element;
|
|
22
|
+
declare const RGroup: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export type { RGroupProps, RGroupCallProps };
|
|
25
24
|
export { RGroup };
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../../ToolbarGroupItem';
|
|
18
17
|
interface ShapeProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
19
18
|
height?: number;
|
|
20
19
|
}
|
|
21
20
|
declare type ShapeCallProps = ToolbarGroupItemCallProps;
|
|
22
21
|
declare type Props = ShapeProps & ShapeCallProps;
|
|
23
|
-
declare const Shape: (props: Props) => JSX.Element;
|
|
22
|
+
declare const Shape: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export type { ShapeProps, ShapeCallProps };
|
|
25
24
|
export { Shape };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../ToolbarGroupItem';
|
|
18
17
|
interface RightToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
19
18
|
className?: string;
|
|
@@ -25,6 +24,6 @@ interface RightToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'
|
|
|
25
24
|
}
|
|
26
25
|
declare type RightToolbarCallProps = ToolbarGroupItemCallProps;
|
|
27
26
|
declare type Props = RightToolbarProps & RightToolbarCallProps;
|
|
28
|
-
declare const RightToolbar: (props: Props) => JSX.Element;
|
|
27
|
+
declare const RightToolbar: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
export type { RightToolbarProps, RightToolbarCallProps };
|
|
30
29
|
export { RightToolbar };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { UiAction, UiActionAction } from '../../../../action';
|
|
18
17
|
import { IconName } from 'components';
|
|
19
18
|
interface ActionButtonProps {
|
|
@@ -33,6 +32,6 @@ interface ActionButtonCallProps {
|
|
|
33
32
|
onAction: (action: UiActionAction) => void;
|
|
34
33
|
}
|
|
35
34
|
declare type Props = ActionButtonProps & ActionButtonCallProps;
|
|
36
|
-
declare const ActionButton: (props: Props) => JSX.Element | null;
|
|
35
|
+
declare const ActionButton: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
37
36
|
export type { ActionButtonProps, ActionButtonCallProps };
|
|
38
37
|
export { ActionButton };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { UiAction, UiActionAction } from '../../../action';
|
|
18
17
|
import { ToolbarItem } from '../toolbar.types';
|
|
19
18
|
interface ToolbarGroupItemProps extends ToolbarItem {
|
|
@@ -32,6 +31,6 @@ interface ToolbarGroupItemCallProps {
|
|
|
32
31
|
onOpen: (menuName: string, isSelected: boolean) => void;
|
|
33
32
|
}
|
|
34
33
|
declare type Props = ToolbarGroupItemProps & ToolbarGroupItemCallProps;
|
|
35
|
-
declare const ToolbarGroupItem: (props: Props) => JSX.Element | null;
|
|
34
|
+
declare const ToolbarGroupItem: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
36
35
|
export type { ToolbarGroupItemProps, ToolbarGroupItemCallProps };
|
|
37
36
|
export { ToolbarGroupItem };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { GroupDescriptor, MultiToolVariant } from './variants/variants.types';
|
|
18
17
|
import { ToolbarItem, ToolbarItemVariant } from '../../toolbar.types';
|
|
19
18
|
import { UiAction, UiActionAction } from '../../../../action';
|
|
@@ -37,6 +36,6 @@ interface ToolbarMultiToolItemCallProps {
|
|
|
37
36
|
onOpen: (menuName: string, isSelected: boolean) => void;
|
|
38
37
|
}
|
|
39
38
|
declare type Props = ToolbarMultiToolItemProps & ToolbarMultiToolItemCallProps;
|
|
40
|
-
declare const ToolbarMultiToolItem: (props: Props) => JSX.Element | null;
|
|
39
|
+
declare const ToolbarMultiToolItem: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
41
40
|
export type { ToolbarMultiToolItemProps, ToolbarMultiToolItemCallProps };
|
|
42
41
|
export { ToolbarMultiToolItem };
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { MultiToolCallProps, MultiToolProps } from '../variants.types';
|
|
18
17
|
declare type DefaultMultiToolProps = MultiToolProps;
|
|
19
18
|
declare type DefaultMultiToolCallProps = MultiToolCallProps;
|
|
20
19
|
declare type Props = DefaultMultiToolProps & DefaultMultiToolCallProps;
|
|
21
|
-
declare const DefaultMultiTool: (props: Props) => JSX.Element;
|
|
20
|
+
declare const DefaultMultiTool: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
export type { DefaultMultiToolProps, DefaultMultiToolCallProps };
|
|
23
22
|
export { DefaultMultiTool };
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { MultiToolCallProps, MultiToolProps } from '../variants.types';
|
|
18
17
|
declare type GroupedMultiToolProps = MultiToolProps;
|
|
19
18
|
declare type GroupedMultiToolCallProps = MultiToolCallProps;
|
|
20
19
|
declare type Props = GroupedMultiToolProps & GroupedMultiToolCallProps;
|
|
21
|
-
declare const GroupedMultiTool: (props: Props) => JSX.Element | null;
|
|
20
|
+
declare const GroupedMultiTool: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export type { GroupedMultiToolProps, GroupedMultiToolCallProps };
|
|
23
22
|
export { GroupedMultiTool };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface ClipboardControlsProps {
|
|
18
17
|
onCopy: () => void;
|
|
19
18
|
onCopyMol: () => void;
|
|
@@ -27,5 +26,5 @@ interface ClipboardControlsProps {
|
|
|
27
26
|
[key in string]: string;
|
|
28
27
|
};
|
|
29
28
|
}
|
|
30
|
-
export declare const ClipboardControls: ({ onCopy, onCopyMol, onCopyKet, onCopyImage, onPaste, onCut, shortcuts, disabledButtons, hiddenButtons, }: ClipboardControlsProps) => JSX.Element;
|
|
29
|
+
export declare const ClipboardControls: ({ onCopy, onCopyMol, onCopyKet, onCopyImage, onPaste, onCut, shortcuts, disabledButtons, hiddenButtons, }: ClipboardControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
30
|
export {};
|
|
@@ -13,6 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const HorizontalDivider: () => JSX.Element;
|
|
16
|
+
export declare const Divider: () => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const HorizontalDivider: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,5 +19,5 @@ interface ElementWithDropdownProps {
|
|
|
19
19
|
dropDownElements: JSX.Element[];
|
|
20
20
|
onToolOpen: () => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const ElementWithDropdown: import("react-redux").ConnectedComponent<({ topElement, dropDownElements, onToolOpen, }: ElementWithDropdownProps) => JSX.Element, import("react-redux").Omit<ElementWithDropdownProps, "onToolOpen">>;
|
|
22
|
+
export declare const ElementWithDropdown: import("react-redux").ConnectedComponent<({ topElement, dropDownElements, onToolOpen, }: ElementWithDropdownProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<ElementWithDropdownProps, "onToolOpen">>;
|
|
23
23
|
export {};
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface ExternalFuncProps {
|
|
18
17
|
isCollapsed: boolean;
|
|
19
18
|
onLayout: () => void;
|
|
@@ -31,5 +30,5 @@ interface ExternalFuncProps {
|
|
|
31
30
|
[key in string]: string;
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
|
-
export declare const ExternalFuncControls: ({ isCollapsed, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, disabledButtons, indigoVerification, hiddenButtons, shortcuts, }: ExternalFuncProps) => JSX.Element;
|
|
33
|
+
export declare const ExternalFuncControls: ({ isCollapsed, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, disabledButtons, indigoVerification, hiddenButtons, shortcuts, }: ExternalFuncProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
34
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface FileControlsProps {
|
|
3
2
|
onFileOpen: () => void;
|
|
4
3
|
onSave: () => void;
|
|
@@ -7,5 +6,5 @@ interface FileControlsProps {
|
|
|
7
6
|
};
|
|
8
7
|
hiddenButtons: string[];
|
|
9
8
|
}
|
|
10
|
-
export declare const FileControls: ({ onFileOpen, onSave, shortcuts, hiddenButtons, }: FileControlsProps) => JSX.Element;
|
|
9
|
+
export declare const FileControls: ({ onFileOpen, onSave, shortcuts, hiddenButtons, }: FileControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface SystemControlsProps {
|
|
18
17
|
disabledButtons: string[];
|
|
19
18
|
hiddenButtons: string[];
|
|
@@ -24,5 +23,5 @@ interface SystemControlsProps {
|
|
|
24
23
|
onFullscreen: () => void;
|
|
25
24
|
onHelp: () => void;
|
|
26
25
|
}
|
|
27
|
-
export declare const SystemControls: ({ disabledButtons, hiddenButtons, onSettingsOpen, onFullscreen, onHelp, onAboutOpen, className, }: SystemControlsProps) => JSX.Element;
|
|
26
|
+
export declare const SystemControls: ({ disabledButtons, hiddenButtons, onSettingsOpen, onFullscreen, onHelp, onAboutOpen, className, }: SystemControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
27
|
export {};
|
|
@@ -13,6 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
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">>;
|
|
16
|
+
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, togglerComponent, }: import("./TopToolbar").PanelProps) => import("react/jsx-runtime").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
17
|
export { TopToolbarContainer };
|
|
@@ -50,6 +50,7 @@ export interface PanelProps {
|
|
|
50
50
|
onFullscreen: VoidFunction;
|
|
51
51
|
onAbout: VoidFunction;
|
|
52
52
|
onHelp: VoidFunction;
|
|
53
|
+
togglerComponent?: JSX.Element;
|
|
53
54
|
}
|
|
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 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, togglerComponent, }: PanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
56
|
export {};
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface UndoRedoProps {
|
|
18
17
|
disabledButtons: string[];
|
|
19
18
|
hiddenButtons: string[];
|
|
@@ -23,5 +22,5 @@ interface UndoRedoProps {
|
|
|
23
22
|
onUndo: () => void;
|
|
24
23
|
onRedo: () => void;
|
|
25
24
|
}
|
|
26
|
-
export declare const UndoRedo: ({ onUndo, onRedo, disabledButtons, hiddenButtons, shortcuts, }: UndoRedoProps) => JSX.Element;
|
|
25
|
+
export declare const UndoRedo: ({ onUndo, onRedo, disabledButtons, hiddenButtons, shortcuts, }: UndoRedoProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
26
|
export {};
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface ZoomProps {
|
|
18
17
|
currentZoom: number;
|
|
19
18
|
onZoom: (arg: number) => void;
|
|
@@ -25,5 +24,5 @@ interface ZoomProps {
|
|
|
25
24
|
[key in string]: string;
|
|
26
25
|
};
|
|
27
26
|
}
|
|
28
|
-
export declare const ZoomControls: ({ currentZoom, onZoom, onZoomIn, onZoomOut, disabledButtons, hiddenButtons, shortcuts, }: ZoomProps) => JSX.Element;
|
|
27
|
+
export declare const ZoomControls: ({ currentZoom, onZoom, onZoomIn, onZoomOut, disabledButtons, hiddenButtons, shortcuts, }: ZoomProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
export {};
|
|
@@ -23,4 +23,4 @@ export interface ZoomInputProps {
|
|
|
23
23
|
[key in string]: string;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
export declare const ZoomInput: ({ onZoomSubmit, currentZoom, inputRef, shortcuts, }: ZoomInputProps) => JSX.Element;
|
|
26
|
+
export declare const ZoomInput: ({ onZoomSubmit, currentZoom, inputRef, shortcuts, }: ZoomInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface ZoomListProps {
|
|
18
17
|
zoom: number;
|
|
19
18
|
setZoom: (zoom: number) => void;
|
|
20
19
|
}
|
|
21
|
-
declare const ZoomList: ({ zoom, setZoom }: ZoomListProps) => JSX.Element;
|
|
20
|
+
declare const ZoomList: ({ zoom, setZoom }: ZoomListProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
export type { ZoomListProps };
|
|
23
22
|
export { ZoomList };
|
|
@@ -13,10 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
interface SliderProps {
|
|
18
17
|
zoom: number;
|
|
19
18
|
setZoom: (arg: any) => void;
|
|
20
19
|
}
|
|
21
|
-
export declare const ZoomSlider: ({ zoom, setZoom }: SliderProps) => JSX.Element;
|
|
20
|
+
export declare const ZoomSlider: ({ zoom, setZoom }: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
export {};
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface SavedOptions {
|
|
2
|
-
ignoreChiralFlag?: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare class OptionsManager {
|
|
5
|
-
static getOptions(): SavedOptions;
|
|
6
|
-
static saveSettings(settings: SavedOptions): void;
|
|
7
|
-
static get ignoreChiralFlag(): boolean | undefined;
|
|
8
|
-
static set ignoreChiralFlag(ignoreChiralFlag: boolean | undefined);
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/****************************************************************************
|
|
2
|
-
* Copyright 2021 EPAM Systems
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
***************************************************************************/
|
|
16
|
-
interface SavedSettings {
|
|
17
|
-
selectionTool?: any;
|
|
18
|
-
}
|
|
19
|
-
export declare class SettingsManager {
|
|
20
|
-
static getSettings(): SavedSettings;
|
|
21
|
-
static saveSettings(settings: SavedSettings): void;
|
|
22
|
-
static get selectionTool(): any;
|
|
23
|
-
static set selectionTool(selectionTool: any);
|
|
24
|
-
}
|
|
25
|
-
export {};
|