ketcher-react 2.15.0-rc.5 → 2.16.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 +2 -1
- package/dist/components/Accordion/Accordion.d.ts +2 -1
- package/dist/components/Buttons/Button/Button.d.ts +2 -1
- package/dist/components/Buttons/IconButton/IconButton.d.ts +2 -1
- package/dist/components/Buttons/IconButton/types.d.ts +2 -0
- package/dist/components/Icon/Icon.d.ts +2 -1
- package/dist/components/Icon/types.d.ts +2 -2
- package/dist/components/Icon/utils/iconNameToIcon.d.ts +2 -0
- package/dist/components/Input/Input.d.ts +2 -1
- package/dist/components/StructRender/StructRender.d.ts +2 -1
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +4105 -3033
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4143 -3070
- package/dist/index.modern.js.map +1 -1
- package/dist/script/editor/tool/paste.d.ts +2 -0
- package/dist/script/editor/tool/select.d.ts +3 -1
- package/dist/script/editor/tool/sgroup.d.ts +2 -1
- package/dist/script/editor/tool/template.d.ts +7 -12
- package/dist/script/editor/tool/templatePreview.d.ts +42 -0
- package/dist/script/ui/App/App.container.d.ts +2 -1
- package/dist/script/ui/App/App.d.ts +2 -1
- package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +2 -1
- package/dist/script/ui/App/AppHidden/AppHidden.d.ts +2 -1
- package/dist/script/ui/action/atoms.d.ts +1 -1
- package/dist/script/ui/action/index.d.ts +6 -6
- package/dist/script/ui/action/templates.d.ts +1 -1
- package/dist/script/ui/action/tools.d.ts +7 -7
- package/dist/script/ui/action/zoom.d.ts +1 -1
- package/dist/script/ui/component/actionmenu.d.ts +1 -1
- package/dist/script/ui/component/cliparea/cliparea.d.ts +4 -3
- package/dist/script/ui/component/form/Input/Input.d.ts +1 -1
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +3 -2
- package/dist/script/ui/component/form/Select/Select.d.ts +4 -2
- package/dist/script/ui/component/form/buttonlist.d.ts +1 -1
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +2 -1
- 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 +7 -5
- 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/convert/keynorm.d.ts +1 -0
- package/dist/script/ui/data/convert/structconv.d.ts +12 -0
- package/dist/script/ui/data/schema/struct-schema.d.ts +298 -180
- package/dist/script/ui/data/templates.d.ts +1 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +2 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +2 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +4 -3
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +3 -2
- package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +2 -1
- 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/constants.d.ts +1 -0
- package/dist/script/ui/state/hotkeys.d.ts +3 -3
- package/dist/script/ui/state/hotkeys.test.d.ts +1 -0
- package/dist/script/ui/state/modal/atoms.d.ts +2 -2
- package/dist/script/ui/state/modal/form.d.ts +14 -5
- package/dist/script/ui/views/components/Cursor.d.ts +1 -1
- package/dist/script/ui/views/components/Dialog/Dialog.d.ts +1 -0
- package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +2 -1
- package/dist/script/ui/views/components/StructEditor/InfoTooltip.d.ts +23 -0
- package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +1 -1
- package/dist/script/ui/views/modal/Modal.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +2 -1
- 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 +3 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +2 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +2 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +2 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +2 -1
- package/dist/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +2 -1
- 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 +2 -1
- package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Text/Text.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +1 -1
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +2 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +2 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +4 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Atom/helper.d.ts +6 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +8 -4
- package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +2 -1
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +2 -1
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +3 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +2 -1
- package/package.json +3 -3
|
@@ -29,9 +29,11 @@ interface AtomProps extends BaseCallProps, BaseProps {
|
|
|
29
29
|
stereoParity: number;
|
|
30
30
|
substitutionCount: number;
|
|
31
31
|
unsaturatedAtom: boolean;
|
|
32
|
+
customQuery: string;
|
|
32
33
|
}
|
|
33
34
|
declare type Props = AtomProps & {
|
|
34
35
|
isMultipleAtoms?: boolean;
|
|
36
|
+
isRestoredModal: boolean;
|
|
35
37
|
};
|
|
36
38
|
declare const Atom: FC<Props>;
|
|
37
39
|
export type { AtomProps };
|
|
@@ -13,9 +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" />
|
|
16
17
|
interface ElementNumberProps {
|
|
17
18
|
label: string;
|
|
18
19
|
}
|
|
19
20
|
declare type Props = ElementNumberProps;
|
|
20
|
-
declare const ElementNumber: (props: Props) =>
|
|
21
|
+
declare const ElementNumber: (props: Props) => JSX.Element;
|
|
21
22
|
export default ElementNumber;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AtomType } from 'ketcher-core';
|
|
2
|
+
export declare function atomValid(label: string, isMultipleAtoms: boolean, atomType: AtomType, isCustomQuery: boolean): boolean | "";
|
|
3
|
+
export declare function AtomListValid(value: string, atomType: AtomType, isCustomQuery: boolean): boolean;
|
|
4
|
+
export declare function pseudoAtomValid(value: string, atomType: AtomType, isCustomQuery: boolean): boolean | "";
|
|
5
|
+
export declare function chargeValid(charge: any, isMultipleAtoms: boolean, isCustomQuery: boolean): boolean | null;
|
|
6
|
+
export declare function customQueryValid(value: string, isCustomQuery: boolean): boolean;
|
|
@@ -13,5 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
declare const AttachPointsContainer: import("react-redux").ConnectedComponent<(props: import("./Attach").AttachPointsProps & import("../../../modal.types").BaseCallProps) => JSX.Element, import("react-redux").Omit<import("./Attach").AttachPointsProps & import("../../../modal.types").BaseCallProps, "formState">>;
|
|
17
18
|
export default AttachPointsContainer;
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { BaseCallProps, BaseProps } from '../../../modal.types';
|
|
17
18
|
interface AttachPointsProps extends BaseProps {
|
|
18
19
|
primary: boolean;
|
|
19
20
|
secondary: boolean;
|
|
20
21
|
}
|
|
21
22
|
declare type Props = AttachPointsProps & BaseCallProps;
|
|
22
|
-
declare const AttachPoints: (props: Props) =>
|
|
23
|
+
declare const AttachPoints: (props: Props) => JSX.Element;
|
|
23
24
|
export type { AttachPointsProps };
|
|
24
25
|
export default AttachPoints;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { BaseCallProps, BaseProps } from '../../../modal.types';
|
|
17
|
-
declare const AutomapContainer: import("react-redux").ConnectedComponent<(props: BaseProps & BaseCallProps) =>
|
|
18
|
+
declare const AutomapContainer: import("react-redux").ConnectedComponent<(props: BaseProps & BaseCallProps) => JSX.Element, any>;
|
|
18
19
|
export default AutomapContainer;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { BaseCallProps, BaseProps } from '../../../modal.types';
|
|
17
18
|
declare type Props = BaseProps & BaseCallProps;
|
|
18
19
|
export declare const automapSchema: {
|
|
@@ -28,5 +29,5 @@ export declare const automapSchema: {
|
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
|
-
declare const Automap: (props: Props) =>
|
|
32
|
+
declare const Automap: (props: Props) => JSX.Element;
|
|
32
33
|
export default Automap;
|
|
@@ -13,5 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
declare const BondContainer: import("react-redux").ConnectedComponent<(props: import("./Bond").BondProps & import("../../../modal.types").BaseCallProps) => JSX.Element, import("react-redux").Omit<import("./Bond").BondProps & import("../../../modal.types").BaseCallProps, "formState">>;
|
|
17
18
|
export default BondContainer;
|
|
@@ -13,13 +13,17 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { BaseCallProps, BaseProps } from '../../../modal.types';
|
|
17
|
-
interface
|
|
18
|
-
center: number;
|
|
19
|
-
topology: number;
|
|
18
|
+
interface BondSettings {
|
|
20
19
|
type: string;
|
|
20
|
+
topology: number | null;
|
|
21
|
+
center: number | null;
|
|
22
|
+
customQuery: string;
|
|
23
|
+
}
|
|
24
|
+
interface BondProps extends BaseProps, BondSettings {
|
|
21
25
|
}
|
|
22
26
|
declare type Props = BondProps & BaseCallProps;
|
|
23
|
-
declare const Bond: (props: Props) =>
|
|
27
|
+
declare const Bond: (props: Props) => JSX.Element;
|
|
24
28
|
export type { BondProps };
|
|
25
29
|
export default Bond;
|
|
@@ -13,11 +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" />
|
|
16
17
|
import { BaseCallProps, BaseProps } from '../../../modal.types';
|
|
17
18
|
interface RemoveFGProps extends BaseProps {
|
|
18
19
|
fgIds: any;
|
|
19
20
|
}
|
|
20
21
|
declare type Props = RemoveFGProps & BaseCallProps;
|
|
21
|
-
declare const RemoveFG: (props: Props) =>
|
|
22
|
+
declare const RemoveFG: (props: Props) => JSX.Element;
|
|
22
23
|
export type { RemoveFGProps };
|
|
23
24
|
export { RemoveFG };
|
package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts
CHANGED
|
@@ -13,5 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
declare const RgroupLogicContainer: import("react-redux").ConnectedComponent<(props: import("./RgroupLogic").RgroupLogicProps & import("../../../modal.types").BaseCallProps) => JSX.Element, import("react-redux").Omit<import("./RgroupLogic").RgroupLogicProps & import("../../../modal.types").BaseCallProps, "formState">>;
|
|
17
18
|
export default RgroupLogicContainer;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
/****************************************************************************
|
|
2
3
|
* Copyright 2021 EPAM Systems
|
|
3
4
|
*
|
|
@@ -24,6 +25,6 @@ interface RgroupLogicProps extends BaseProps {
|
|
|
24
25
|
name?: string;
|
|
25
26
|
}
|
|
26
27
|
declare type Props = RgroupLogicProps & BaseCallProps;
|
|
27
|
-
declare const RgroupLogic: (props: Props) =>
|
|
28
|
+
declare const RgroupLogic: (props: Props) => JSX.Element;
|
|
28
29
|
export type { RgroupLogicProps };
|
|
29
30
|
export default RgroupLogic;
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { RgroupLogicProps } from '../../RgroupLogic';
|
|
17
18
|
declare type Props = Pick<RgroupLogicProps, 'label' | 'rgroupLabels' | 'name'>;
|
|
18
|
-
declare const IfThenSelect: (props: Props) =>
|
|
19
|
+
declare const IfThenSelect: (props: Props) => JSX.Element;
|
|
19
20
|
export default IfThenSelect;
|
|
@@ -13,11 +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" />
|
|
16
17
|
interface ArrowScrollProps {
|
|
17
18
|
startInView: boolean;
|
|
18
19
|
endInView: boolean;
|
|
19
20
|
scrollUp: any;
|
|
20
21
|
scrollDown: any;
|
|
21
22
|
}
|
|
22
|
-
declare const ArrowScroll: ({ startInView, endInView, scrollUp, scrollDown, }: ArrowScrollProps) =>
|
|
23
|
+
declare const ArrowScroll: ({ startInView, endInView, scrollUp, scrollDown, }: ArrowScrollProps) => JSX.Element;
|
|
23
24
|
export { ArrowScroll };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../ToolbarGroupItem';
|
|
17
18
|
interface BottomToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
18
19
|
className?: string;
|
|
@@ -23,6 +24,6 @@ interface BottomToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options
|
|
|
23
24
|
}
|
|
24
25
|
declare type BottomToolbarCallProps = ToolbarGroupItemCallProps;
|
|
25
26
|
declare type Props = BottomToolbarProps & BottomToolbarCallProps;
|
|
26
|
-
declare const BottomToolbar: (props: Props) =>
|
|
27
|
+
declare const BottomToolbar: (props: Props) => JSX.Element;
|
|
27
28
|
export type { BottomToolbarProps, BottomToolbarCallProps };
|
|
28
29
|
export { BottomToolbar };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { UiActionAction } from '../../../../action';
|
|
17
18
|
interface TemplatesListProps {
|
|
18
19
|
active?: {
|
|
@@ -28,6 +29,6 @@ interface TemplatesListCallProps {
|
|
|
28
29
|
onAction: (action: UiActionAction) => void;
|
|
29
30
|
}
|
|
30
31
|
declare type Props = TemplatesListProps & TemplatesListCallProps;
|
|
31
|
-
declare const TemplatesList: (props: Props) =>
|
|
32
|
+
declare const TemplatesList: (props: Props) => JSX.Element;
|
|
32
33
|
export type { TemplatesListProps, TemplatesListCallProps };
|
|
33
34
|
export { TemplatesList };
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../../ToolbarGroupItem';
|
|
17
18
|
interface BondProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
18
19
|
height?: number;
|
|
19
20
|
}
|
|
20
21
|
declare type BondCallProps = ToolbarGroupItemCallProps;
|
|
21
22
|
declare type Props = BondProps & BondCallProps;
|
|
22
|
-
declare const Bond: (props: Props) =>
|
|
23
|
+
declare const Bond: (props: Props) => JSX.Element;
|
|
23
24
|
export type { BondProps, BondCallProps };
|
|
24
25
|
export { Bond };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { LeftToolbarProps } from './LeftToolbar';
|
|
17
|
-
declare const LeftToolbarContainer: import("react-redux").ConnectedComponent<(props: LeftToolbarProps & import("../ToolbarGroupItem/ToolbarGroupItem").ToolbarGroupItemCallProps) =>
|
|
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">>;
|
|
18
19
|
export { LeftToolbarContainer };
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../ToolbarGroupItem';
|
|
17
18
|
interface LeftToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
18
19
|
className?: string;
|
|
19
20
|
}
|
|
20
21
|
declare type LeftToolbarCallProps = ToolbarGroupItemCallProps;
|
|
21
22
|
declare type Props = LeftToolbarProps & LeftToolbarCallProps;
|
|
22
|
-
declare const LeftToolbar: (props: Props) =>
|
|
23
|
+
declare const LeftToolbar: (props: Props) => JSX.Element;
|
|
23
24
|
export type { LeftToolbarProps, LeftToolbarCallProps };
|
|
24
25
|
export { LeftToolbar };
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../../ToolbarGroupItem';
|
|
17
18
|
interface RGroupProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
18
19
|
height?: number;
|
|
19
20
|
}
|
|
20
21
|
declare type RGroupCallProps = ToolbarGroupItemCallProps;
|
|
21
22
|
declare type Props = RGroupProps & RGroupCallProps;
|
|
22
|
-
declare const RGroup: (props: Props) =>
|
|
23
|
+
declare const RGroup: (props: Props) => JSX.Element;
|
|
23
24
|
export type { RGroupProps, RGroupCallProps };
|
|
24
25
|
export { RGroup };
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../../ToolbarGroupItem';
|
|
17
18
|
interface ShapeProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
18
19
|
height?: number;
|
|
19
20
|
}
|
|
20
21
|
declare type ShapeCallProps = ToolbarGroupItemCallProps;
|
|
21
22
|
declare type Props = ShapeProps & ShapeCallProps;
|
|
22
|
-
declare const Shape: (props: Props) =>
|
|
23
|
+
declare const Shape: (props: Props) => JSX.Element;
|
|
23
24
|
export type { ShapeProps, ShapeCallProps };
|
|
24
25
|
export { Shape };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../ToolbarGroupItem';
|
|
17
18
|
interface RightToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
|
|
18
19
|
className?: string;
|
|
@@ -24,6 +25,6 @@ interface RightToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'
|
|
|
24
25
|
}
|
|
25
26
|
declare type RightToolbarCallProps = ToolbarGroupItemCallProps;
|
|
26
27
|
declare type Props = RightToolbarProps & RightToolbarCallProps;
|
|
27
|
-
declare const RightToolbar: (props: Props) =>
|
|
28
|
+
declare const RightToolbar: (props: Props) => JSX.Element;
|
|
28
29
|
export type { RightToolbarProps, RightToolbarCallProps };
|
|
29
30
|
export { RightToolbar };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { UiAction, UiActionAction } from '../../../../action';
|
|
17
18
|
import { IconName } from 'components';
|
|
18
19
|
interface ActionButtonProps {
|
|
@@ -32,6 +33,6 @@ interface ActionButtonCallProps {
|
|
|
32
33
|
onAction: (action: UiActionAction) => void;
|
|
33
34
|
}
|
|
34
35
|
declare type Props = ActionButtonProps & ActionButtonCallProps;
|
|
35
|
-
declare const ActionButton: (props: Props) =>
|
|
36
|
+
declare const ActionButton: (props: Props) => JSX.Element | null;
|
|
36
37
|
export type { ActionButtonProps, ActionButtonCallProps };
|
|
37
38
|
export { ActionButton };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { UiAction, UiActionAction } from '../../../action';
|
|
17
18
|
import { ToolbarItem } from '../toolbar.types';
|
|
18
19
|
interface ToolbarGroupItemProps extends ToolbarItem {
|
|
@@ -31,6 +32,6 @@ interface ToolbarGroupItemCallProps {
|
|
|
31
32
|
onOpen: (menuName: string, isSelected: boolean) => void;
|
|
32
33
|
}
|
|
33
34
|
declare type Props = ToolbarGroupItemProps & ToolbarGroupItemCallProps;
|
|
34
|
-
declare const ToolbarGroupItem: (props: Props) =>
|
|
35
|
+
declare const ToolbarGroupItem: (props: Props) => JSX.Element | null;
|
|
35
36
|
export type { ToolbarGroupItemProps, ToolbarGroupItemCallProps };
|
|
36
37
|
export { ToolbarGroupItem };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { GroupDescriptor, MultiToolVariant } from './variants/variants.types';
|
|
17
18
|
import { ToolbarItem, ToolbarItemVariant } from '../../toolbar.types';
|
|
18
19
|
import { UiAction, UiActionAction } from '../../../../action';
|
|
@@ -36,6 +37,6 @@ interface ToolbarMultiToolItemCallProps {
|
|
|
36
37
|
onOpen: (menuName: string, isSelected: boolean) => void;
|
|
37
38
|
}
|
|
38
39
|
declare type Props = ToolbarMultiToolItemProps & ToolbarMultiToolItemCallProps;
|
|
39
|
-
declare const ToolbarMultiToolItem: (props: Props) =>
|
|
40
|
+
declare const ToolbarMultiToolItem: (props: Props) => JSX.Element | null;
|
|
40
41
|
export type { ToolbarMultiToolItemProps, ToolbarMultiToolItemCallProps };
|
|
41
42
|
export { ToolbarMultiToolItem };
|
|
@@ -13,10 +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" />
|
|
16
17
|
import { MultiToolCallProps, MultiToolProps } from '../variants.types';
|
|
17
18
|
declare type DefaultMultiToolProps = MultiToolProps;
|
|
18
19
|
declare type DefaultMultiToolCallProps = MultiToolCallProps;
|
|
19
20
|
declare type Props = DefaultMultiToolProps & DefaultMultiToolCallProps;
|
|
20
|
-
declare const DefaultMultiTool: (props: Props) =>
|
|
21
|
+
declare const DefaultMultiTool: (props: Props) => JSX.Element;
|
|
21
22
|
export type { DefaultMultiToolProps, DefaultMultiToolCallProps };
|
|
22
23
|
export { DefaultMultiTool };
|
|
@@ -13,10 +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" />
|
|
16
17
|
import { MultiToolCallProps, MultiToolProps } from '../variants.types';
|
|
17
18
|
declare type GroupedMultiToolProps = MultiToolProps;
|
|
18
19
|
declare type GroupedMultiToolCallProps = MultiToolCallProps;
|
|
19
20
|
declare type Props = GroupedMultiToolProps & GroupedMultiToolCallProps;
|
|
20
|
-
declare const GroupedMultiTool: (props: Props) =>
|
|
21
|
+
declare const GroupedMultiTool: (props: Props) => JSX.Element | null;
|
|
21
22
|
export type { GroupedMultiToolProps, GroupedMultiToolCallProps };
|
|
22
23
|
export { GroupedMultiTool };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
interface ClipboardControlsProps {
|
|
17
18
|
onCopy: () => void;
|
|
18
19
|
onCopyMol: () => void;
|
|
@@ -26,5 +27,5 @@ interface ClipboardControlsProps {
|
|
|
26
27
|
[key in string]: string;
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
|
-
export declare const ClipboardControls: ({ onCopy, onCopyMol, onCopyKet, onCopyImage, onPaste, onCut, shortcuts, disabledButtons, hiddenButtons, }: ClipboardControlsProps) =>
|
|
30
|
+
export declare const ClipboardControls: ({ onCopy, onCopyMol, onCopyKet, onCopyImage, onPaste, onCut, shortcuts, disabledButtons, hiddenButtons, }: ClipboardControlsProps) => JSX.Element;
|
|
30
31
|
export {};
|
|
@@ -13,5 +13,6 @@
|
|
|
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
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const Divider: () => JSX.Element;
|
|
18
|
+
export declare const HorizontalDivider: () => 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) =>
|
|
22
|
+
export declare const ElementWithDropdown: import("react-redux").ConnectedComponent<({ topElement, dropDownElements, onToolOpen, }: ElementWithDropdownProps) => JSX.Element, import("react-redux").Omit<ElementWithDropdownProps, "onToolOpen">>;
|
|
23
23
|
export {};
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
interface ExternalFuncProps {
|
|
17
18
|
isCollapsed: boolean;
|
|
18
19
|
onLayout: () => void;
|
|
@@ -30,5 +31,5 @@ interface ExternalFuncProps {
|
|
|
30
31
|
[key in string]: string;
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
|
-
export declare const ExternalFuncControls: ({ isCollapsed, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, disabledButtons, indigoVerification, hiddenButtons, shortcuts, }: ExternalFuncProps) =>
|
|
34
|
+
export declare const ExternalFuncControls: ({ isCollapsed, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, disabledButtons, indigoVerification, hiddenButtons, shortcuts, }: ExternalFuncProps) => JSX.Element;
|
|
34
35
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
interface FileControlsProps {
|
|
2
3
|
onFileOpen: () => void;
|
|
3
4
|
onSave: () => void;
|
|
@@ -6,5 +7,5 @@ interface FileControlsProps {
|
|
|
6
7
|
};
|
|
7
8
|
hiddenButtons: string[];
|
|
8
9
|
}
|
|
9
|
-
export declare const FileControls: ({ onFileOpen, onSave, shortcuts, hiddenButtons, }: FileControlsProps) =>
|
|
10
|
+
export declare const FileControls: ({ onFileOpen, onSave, shortcuts, hiddenButtons, }: FileControlsProps) => JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
interface SystemControlsProps {
|
|
17
18
|
disabledButtons: string[];
|
|
18
19
|
hiddenButtons: string[];
|
|
@@ -23,5 +24,5 @@ interface SystemControlsProps {
|
|
|
23
24
|
onFullscreen: () => void;
|
|
24
25
|
onHelp: () => void;
|
|
25
26
|
}
|
|
26
|
-
export declare const SystemControls: ({ disabledButtons, hiddenButtons, onSettingsOpen, onFullscreen, onHelp, onAboutOpen, className, }: SystemControlsProps) =>
|
|
27
|
+
export declare const SystemControls: ({ disabledButtons, hiddenButtons, onSettingsOpen, onFullscreen, onHelp, onAboutOpen, className, }: SystemControlsProps) => JSX.Element;
|
|
27
28
|
export {};
|
|
@@ -13,5 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
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">>;
|
|
17
18
|
export { TopToolbarContainer };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
declare type VoidFunction = () => void;
|
|
17
18
|
export interface PanelProps {
|
|
18
19
|
className: string;
|
|
@@ -50,5 +51,5 @@ export interface PanelProps {
|
|
|
50
51
|
onAbout: VoidFunction;
|
|
51
52
|
onHelp: VoidFunction;
|
|
52
53
|
}
|
|
53
|
-
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) =>
|
|
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;
|
|
54
55
|
export {};
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
interface UndoRedoProps {
|
|
17
18
|
disabledButtons: string[];
|
|
18
19
|
hiddenButtons: string[];
|
|
@@ -22,5 +23,5 @@ interface UndoRedoProps {
|
|
|
22
23
|
onUndo: () => void;
|
|
23
24
|
onRedo: () => void;
|
|
24
25
|
}
|
|
25
|
-
export declare const UndoRedo: ({ onUndo, onRedo, disabledButtons, hiddenButtons, shortcuts, }: UndoRedoProps) =>
|
|
26
|
+
export declare const UndoRedo: ({ onUndo, onRedo, disabledButtons, hiddenButtons, shortcuts, }: UndoRedoProps) => JSX.Element;
|
|
26
27
|
export {};
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
interface ZoomProps {
|
|
17
18
|
currentZoom: number;
|
|
18
19
|
onZoom: (arg: number) => void;
|
|
@@ -24,5 +25,5 @@ interface ZoomProps {
|
|
|
24
25
|
[key in string]: string;
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
|
-
export declare const ZoomControls: ({ currentZoom, onZoom, onZoomIn, onZoomOut, disabledButtons, hiddenButtons, shortcuts, }: ZoomProps) =>
|
|
28
|
+
export declare const ZoomControls: ({ currentZoom, onZoom, onZoomIn, onZoomOut, disabledButtons, hiddenButtons, shortcuts, }: ZoomProps) => JSX.Element;
|
|
28
29
|
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) =>
|
|
26
|
+
export declare const ZoomInput: ({ onZoomSubmit, currentZoom, inputRef, shortcuts, }: ZoomInputProps) => JSX.Element;
|
|
@@ -13,10 +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" />
|
|
16
17
|
interface ZoomListProps {
|
|
17
18
|
zoom: number;
|
|
18
19
|
setZoom: (zoom: number) => void;
|
|
19
20
|
}
|
|
20
|
-
declare const ZoomList: ({ zoom, setZoom }: ZoomListProps) =>
|
|
21
|
+
declare const ZoomList: ({ zoom, setZoom }: ZoomListProps) => JSX.Element;
|
|
21
22
|
export type { ZoomListProps };
|
|
22
23
|
export { ZoomList };
|
|
@@ -13,9 +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" />
|
|
16
17
|
interface SliderProps {
|
|
17
18
|
zoom: number;
|
|
18
19
|
setZoom: (arg: any) => void;
|
|
19
20
|
}
|
|
20
|
-
export declare const ZoomSlider: ({ zoom, setZoom }: SliderProps) =>
|
|
21
|
+
export declare const ZoomSlider: ({ zoom, setZoom }: SliderProps) => JSX.Element;
|
|
21
22
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ketcher-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0-rc.2",
|
|
4
4
|
"description": "Web-based molecule sketcher",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "http://lifescience.opensource.epam.com/ketcher",
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
"autoprefixer": "^10.2.5",
|
|
112
112
|
"babel-jest": "^27.4.5",
|
|
113
113
|
"cross-env": "^7.0.3",
|
|
114
|
-
"eslint": "^8.
|
|
114
|
+
"eslint": "^8.49.0",
|
|
115
115
|
"eslint-plugin-jest": "^25.3.0",
|
|
116
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
116
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
117
117
|
"eslint-plugin-react": "^7.27.1",
|
|
118
118
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
119
119
|
"eslint-plugin-testing-library": "^5.0.1",
|