@iobroker/adapter-react-v5 3.1.24 → 3.1.27
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/Components/404.d.ts +3 -0
- package/Components/ColorPicker.d.ts +138 -0
- package/Components/ComplexCron.d.ts +8 -0
- package/Components/CustomModal.d.ts +3 -0
- package/Components/FileBrowser.d.ts +125 -0
- package/Components/FileViewer.d.ts +80 -0
- package/Components/FileViewer.js +10 -9
- package/Components/FileViewer.js.map +1 -1
- package/Components/Icon.d.ts +21 -0
- package/Components/IconPicker.d.ts +64 -0
- package/Components/IconSelector.d.ts +25 -0
- package/Components/Image.d.ts +64 -0
- package/Components/JsonConfigComponent/ChipInput.d.ts +13 -0
- package/Components/JsonConfigComponent/ConfigAlive.d.ts +10 -0
- package/Components/JsonConfigComponent/ConfigAutocomplete.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCRON.d.ts +15 -0
- package/Components/JsonConfigComponent/ConfigCertificateSelect.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCheckbox.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigChip.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigColor.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCoordinates.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCustom.d.ts +26 -0
- package/Components/JsonConfigComponent/ConfigDatePicker.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigFile.d.ts +15 -0
- package/Components/JsonConfigComponent/ConfigFileSelector.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigFunc.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigGeneric.d.ts +71 -0
- package/Components/JsonConfigComponent/ConfigIP.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigImageUpload.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigInstanceSelect.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigJsonEditor.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigLanguage.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigNumber.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigObjectId.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigPanel.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigPassword.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigPattern.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigRoom.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigSelect.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigSelectSendTo.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigSendto.d.ts +18 -0
- package/Components/JsonConfigComponent/ConfigSendto.js +171 -9
- package/Components/JsonConfigComponent/ConfigSendto.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigSetState.d.ts +18 -0
- package/Components/JsonConfigComponent/ConfigSlider.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticDivider.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticHeader.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticImage.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticText.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigTable.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigTabs.d.ts +33 -0
- package/Components/JsonConfigComponent/ConfigText.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigTextSendTo.d.ts +10 -0
- package/Components/JsonConfigComponent/ConfigTimePicker.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigTopic.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigUser.d.ts +14 -0
- package/Components/JsonConfigComponent/index.d.ts +27 -0
- package/Components/JsonConfigComponent/index.js +21 -17
- package/Components/JsonConfigComponent/index.js.map +1 -1
- package/Components/Loader.d.ts +37 -0
- package/Components/Loaders/PT.d.ts +41 -0
- package/Components/Loaders/Vendor.d.ts +41 -0
- package/Components/Logo.d.ts +59 -0
- package/Components/MDUtils.d.ts +12 -0
- package/Components/ObjectBrowser.d.ts +632 -0
- package/Components/Router.d.ts +35 -0
- package/Components/SaveCloseButtons.d.ts +64 -0
- package/Components/Schedule.d.ts +7 -0
- package/Components/SelectWithIcon.d.ts +21 -0
- package/Components/SimpleCron/cron2text.d.ts +8 -0
- package/Components/SimpleCron/cronText.d.ts +2 -0
- package/Components/SimpleCron/index.d.ts +8 -0
- package/Components/SimpleCron/jquery.cron.locale.d.ts +2 -0
- package/Components/TabContainer.d.ts +42 -0
- package/Components/TabContent.d.ts +32 -0
- package/Components/TabHeader.d.ts +13 -0
- package/Components/TableResize.d.ts +14 -0
- package/Components/TextWithIcon.d.ts +3 -0
- package/Components/ToggleThemeMenu.d.ts +8 -0
- package/Components/TreeTable.d.ts +3 -0
- package/Components/UploadImage.d.ts +2 -0
- package/Components/Utils.d.ts +334 -0
- package/Components/copy-to-clipboard.d.ts +2 -0
- package/Components/withWidth.d.ts +2 -0
- package/Connection.d.ts +761 -0
- package/Connection.js +9 -1
- package/Connection.js.map +1 -1
- package/Dialogs/ComplexCron.d.ts +15 -0
- package/Dialogs/Confirm.d.ts +48 -0
- package/Dialogs/Cron.d.ts +15 -0
- package/Dialogs/Error.d.ts +49 -0
- package/Dialogs/FileSelect.d.ts +148 -0
- package/Dialogs/Message.d.ts +39 -0
- package/Dialogs/SelectID.d.ts +161 -0
- package/Dialogs/SimpleCron.d.ts +14 -0
- package/Dialogs/TextInput.d.ts +87 -0
- package/GenericApp.d.ts +213 -0
- package/Prompt.d.ts +5 -0
- package/README.md +7 -0
- package/Theme.d.ts +7 -0
- package/assets/devices/parseNames.d.ts +1 -0
- package/assets/rooms/parseNames.d.ts +1 -0
- package/i18n/de.json +4 -1
- package/i18n/en.json +4 -1
- package/i18n/es.json +4 -1
- package/i18n/fr.json +4 -1
- package/i18n/it.json +4 -1
- package/i18n/nl.json +4 -1
- package/i18n/pl.json +4 -1
- package/i18n/pt.json +4 -1
- package/i18n/ru.json +4 -1
- package/i18n/zh-cn.json +4 -1
- package/i18n.d.ts +92 -0
- package/icons/IconAdapter.d.ts +11 -0
- package/icons/IconAlias.d.ts +11 -0
- package/icons/IconChannel.d.ts +11 -0
- package/icons/IconClearFilter.d.ts +11 -0
- package/icons/IconClosed.d.ts +11 -0
- package/icons/IconCopy.d.ts +38 -0
- package/icons/IconDevice.d.ts +11 -0
- package/icons/IconDocument.d.ts +11 -0
- package/icons/IconDocumentReadOnly.d.ts +11 -0
- package/icons/IconExpert.d.ts +38 -0
- package/icons/IconFx.d.ts +11 -0
- package/icons/IconInstance.d.ts +11 -0
- package/icons/IconLogout.d.ts +38 -0
- package/icons/IconNoIcon.d.ts +38 -0
- package/icons/IconOpen.d.ts +11 -0
- package/icons/IconState.d.ts +11 -0
- package/index.d.ts +113 -0
- package/package.json +8 -8
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export default Image;
|
|
2
|
+
export type ImageProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The color.
|
|
5
|
+
*/
|
|
6
|
+
color?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The source of the image.
|
|
9
|
+
*/
|
|
10
|
+
src?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The image prefix (default: './files/')
|
|
13
|
+
*/
|
|
14
|
+
imagePrefix?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The CSS class name.
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Show image errors (or just show no image)?
|
|
21
|
+
*/
|
|
22
|
+
showError?: boolean;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @typedef {object} ImageProps
|
|
26
|
+
* @property {string} [color] The color.
|
|
27
|
+
* @property {string} [src] The source of the image.
|
|
28
|
+
* @property {string} [imagePrefix] The image prefix (default: './files/')
|
|
29
|
+
* @property {string} [className] The CSS class name.
|
|
30
|
+
* @property {boolean} [showError] Show image errors (or just show no image)?
|
|
31
|
+
*
|
|
32
|
+
* @extends {React.Component<ImageProps>}
|
|
33
|
+
*/
|
|
34
|
+
declare class Image extends React.Component<ImageProps, any, any> {
|
|
35
|
+
static getDerivedStateFromProps(props: any, state: any): {
|
|
36
|
+
src: any;
|
|
37
|
+
svg: any;
|
|
38
|
+
created: boolean;
|
|
39
|
+
color: any;
|
|
40
|
+
showError: any;
|
|
41
|
+
};
|
|
42
|
+
constructor(props: any);
|
|
43
|
+
state: {
|
|
44
|
+
svg: boolean;
|
|
45
|
+
created: boolean;
|
|
46
|
+
color: string;
|
|
47
|
+
src: string;
|
|
48
|
+
imgError: boolean;
|
|
49
|
+
showError: boolean;
|
|
50
|
+
};
|
|
51
|
+
svg: JSX.Element;
|
|
52
|
+
getSvgFromData(src: any): JSX.Element;
|
|
53
|
+
render(): JSX.Element;
|
|
54
|
+
}
|
|
55
|
+
declare namespace Image {
|
|
56
|
+
namespace propTypes {
|
|
57
|
+
const color: PropTypes.Requireable<string>;
|
|
58
|
+
const src: PropTypes.Validator<string>;
|
|
59
|
+
const className: PropTypes.Requireable<string>;
|
|
60
|
+
const imagePrefix: PropTypes.Requireable<string>;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
import React from "react";
|
|
64
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export function defaultChipRenderer({ value, text, isFocused, isDisabled, isReadOnly, handleClick, handleDelete, className }: {
|
|
4
|
+
value: any;
|
|
5
|
+
text: any;
|
|
6
|
+
isFocused: any;
|
|
7
|
+
isDisabled: any;
|
|
8
|
+
isReadOnly: any;
|
|
9
|
+
handleClick: any;
|
|
10
|
+
handleDelete: any;
|
|
11
|
+
className: any;
|
|
12
|
+
}, key: any): JSX.Element;
|
|
13
|
+
import React from "react";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
data: PropTypes.Validator<object>;
|
|
4
|
+
schema: PropTypes.Requireable<object>;
|
|
5
|
+
adapterName: PropTypes.Requireable<string>;
|
|
6
|
+
instance: PropTypes.Requireable<number>;
|
|
7
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "notAlive"> & object>;
|
|
8
|
+
export default _default;
|
|
9
|
+
import PropTypes from "prop-types";
|
|
10
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
themeType: PropTypes.Requireable<string>;
|
|
3
|
+
themeName: PropTypes.Requireable<string>;
|
|
4
|
+
style: PropTypes.Requireable<object>;
|
|
5
|
+
className: PropTypes.Requireable<string>;
|
|
6
|
+
data: PropTypes.Validator<object>;
|
|
7
|
+
schema: PropTypes.Requireable<object>;
|
|
8
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
dateFormat: PropTypes.Requireable<string>;
|
|
11
|
+
isFloatComma: PropTypes.Requireable<boolean>;
|
|
12
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"button" | "flex" | "fullWidth"> & object>;
|
|
13
|
+
export default _default;
|
|
14
|
+
import PropTypes from "prop-types";
|
|
15
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"error"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<never> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"width"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default ConfigCustom;
|
|
2
|
+
declare class ConfigCustom extends React.Component<any, any, any> {
|
|
3
|
+
constructor(props: any);
|
|
4
|
+
state: {
|
|
5
|
+
Component: any;
|
|
6
|
+
error: string;
|
|
7
|
+
};
|
|
8
|
+
componentDidMount(): Promise<void>;
|
|
9
|
+
render(): JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
declare namespace ConfigCustom {
|
|
12
|
+
namespace propTypes {
|
|
13
|
+
const socket: PropTypes.Requireable<object>;
|
|
14
|
+
const themeType: PropTypes.Requireable<string>;
|
|
15
|
+
const themeName: PropTypes.Requireable<string>;
|
|
16
|
+
const style: PropTypes.Requireable<object>;
|
|
17
|
+
const className: PropTypes.Requireable<string>;
|
|
18
|
+
const attr: PropTypes.Requireable<string>;
|
|
19
|
+
const data: PropTypes.Validator<object>;
|
|
20
|
+
const schema: PropTypes.Validator<object>;
|
|
21
|
+
const onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
const onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
import React from "react";
|
|
26
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"indeterminate"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
imagePrefix: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth" | "fullWidthOneButton" | "selectedImage" | "fullWidthIcon"> & object>;
|
|
13
|
+
export default _default;
|
|
14
|
+
import PropTypes from "prop-types";
|
|
15
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export default ConfigGeneric;
|
|
2
|
+
declare class ConfigGeneric extends React.Component<any, any, any> {
|
|
3
|
+
static DIFFERENT_VALUE: string;
|
|
4
|
+
static DIFFERENT_LABEL: string;
|
|
5
|
+
static NONE_VALUE: string;
|
|
6
|
+
static NONE_LABEL: string;
|
|
7
|
+
static AsyncFunction: any;
|
|
8
|
+
static getValue(data: any, attr: any): any;
|
|
9
|
+
static setValue(data: any, attr: any, value: any): any;
|
|
10
|
+
constructor(props: any);
|
|
11
|
+
state: {
|
|
12
|
+
confirmDialog: boolean;
|
|
13
|
+
confirmNewValue: any;
|
|
14
|
+
confirmAttr: any;
|
|
15
|
+
confirmData: any;
|
|
16
|
+
};
|
|
17
|
+
isError: {};
|
|
18
|
+
defaultValue: any;
|
|
19
|
+
lang: ioBroker.Languages;
|
|
20
|
+
componentDidMount(): void;
|
|
21
|
+
sendTo(): void;
|
|
22
|
+
defaultSendToDone: boolean;
|
|
23
|
+
componentWillUnmount(): void;
|
|
24
|
+
sendToTimeout: any;
|
|
25
|
+
onUpdate: (data: any) => void;
|
|
26
|
+
getText(text: any, noTranslation: any): any;
|
|
27
|
+
renderConfirmDialog(): JSX.Element;
|
|
28
|
+
onChange(attr: any, newValue: any): void;
|
|
29
|
+
execute(func: any, defaultValue: any, data: any, arrayIndex: any, globalData: any): any;
|
|
30
|
+
executeCustom(func: any, data: any, customObj: any, instanceObj: any, arrayIndex: any, globalData: any): any;
|
|
31
|
+
calculate(schema: any): {
|
|
32
|
+
error: boolean;
|
|
33
|
+
disabled: any;
|
|
34
|
+
hidden: any;
|
|
35
|
+
defaultValue: any;
|
|
36
|
+
};
|
|
37
|
+
onError(attr: any, error: any): void;
|
|
38
|
+
renderItem(error: any, disabled: any, defaultValue: any): any;
|
|
39
|
+
renderHelp(text: any, link: any, noTranslation: any): any;
|
|
40
|
+
getPattern(pattern: any): any;
|
|
41
|
+
render(): JSX.Element;
|
|
42
|
+
}
|
|
43
|
+
declare namespace ConfigGeneric {
|
|
44
|
+
namespace propTypes {
|
|
45
|
+
const socket: PropTypes.Validator<object>;
|
|
46
|
+
const data: PropTypes.Requireable<object>;
|
|
47
|
+
const originalData: PropTypes.Requireable<object>;
|
|
48
|
+
const schema: PropTypes.Requireable<object>;
|
|
49
|
+
const attr: PropTypes.Requireable<string>;
|
|
50
|
+
const value: PropTypes.Requireable<any>;
|
|
51
|
+
const themeName: PropTypes.Requireable<string>;
|
|
52
|
+
const style: PropTypes.Requireable<object>;
|
|
53
|
+
const onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
54
|
+
const onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
55
|
+
const customs: PropTypes.Requireable<object>;
|
|
56
|
+
const forceUpdate: PropTypes.Validator<(...args: any[]) => any>;
|
|
57
|
+
const disabled: PropTypes.Requireable<boolean>;
|
|
58
|
+
const systemConfig: PropTypes.Requireable<object>;
|
|
59
|
+
const alive: PropTypes.Requireable<boolean>;
|
|
60
|
+
const common: PropTypes.Requireable<object>;
|
|
61
|
+
const adapterName: PropTypes.Requireable<string>;
|
|
62
|
+
const instance: PropTypes.Requireable<number>;
|
|
63
|
+
const dateFormat: PropTypes.Requireable<string>;
|
|
64
|
+
const isFloatComma: PropTypes.Requireable<boolean>;
|
|
65
|
+
const customObj: PropTypes.Requireable<object>;
|
|
66
|
+
const instanceObj: PropTypes.Requireable<object>;
|
|
67
|
+
const custom: PropTypes.Requireable<boolean>;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
import React from "react";
|
|
71
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"image" | "fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"button" | "flex" | "fullWidth" | "wrapper"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
dateFormat: PropTypes.Requireable<string>;
|
|
12
|
+
isFloatComma: PropTypes.Requireable<boolean>;
|
|
13
|
+
imagePrefix: PropTypes.Requireable<string>;
|
|
14
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"button" | "flex" | "fullWidth"> & object>;
|
|
15
|
+
export default _default;
|
|
16
|
+
import PropTypes from "prop-types";
|
|
17
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth" | "halfWidth1" | "halfWidth2"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<never> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth"> & object>;
|
|
12
|
+
export default _default;
|
|
13
|
+
import PropTypes from "prop-types";
|
|
14
|
+
import React from "react";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
adapterName: PropTypes.Requireable<string>;
|
|
7
|
+
alive: PropTypes.Requireable<boolean>;
|
|
8
|
+
instance: PropTypes.Requireable<number>;
|
|
9
|
+
className: PropTypes.Requireable<string>;
|
|
10
|
+
data: PropTypes.Validator<object>;
|
|
11
|
+
schema: PropTypes.Requireable<object>;
|
|
12
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"fullWidth" | "menuPaper"> & object>;
|
|
15
|
+
export default _default;
|
|
16
|
+
import PropTypes from "prop-types";
|
|
17
|
+
import React from "react";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
themeType: PropTypes.Requireable<string>;
|
|
4
|
+
themeName: PropTypes.Requireable<string>;
|
|
5
|
+
style: PropTypes.Requireable<object>;
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
data: PropTypes.Validator<object>;
|
|
8
|
+
schema: PropTypes.Requireable<object>;
|
|
9
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
adapterName: PropTypes.Requireable<string>;
|
|
12
|
+
instance: PropTypes.Requireable<number>;
|
|
13
|
+
commandRunning: PropTypes.Requireable<boolean>;
|
|
14
|
+
onCommandRunning: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"icon" | "fullWidth"> & object>;
|
|
16
|
+
export default _default;
|
|
17
|
+
import PropTypes from "prop-types";
|
|
18
|
+
import React from "react";
|