@iobroker/adapter-react-v5 3.1.25 → 3.1.26
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/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/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/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 +2 -1
- package/Theme.d.ts +7 -0
- package/assets/devices/parseNames.d.ts +1 -0
- package/assets/rooms/parseNames.d.ts +1 -0
- 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,37 @@
|
|
|
1
|
+
export default _export;
|
|
2
|
+
export type LoaderProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The size in pixels of this loader.
|
|
5
|
+
*/
|
|
6
|
+
size?: number;
|
|
7
|
+
/**
|
|
8
|
+
* The chosen theme type.
|
|
9
|
+
*/
|
|
10
|
+
themeType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The chosen theme.
|
|
13
|
+
*/
|
|
14
|
+
theme?: string;
|
|
15
|
+
};
|
|
16
|
+
/** @type {typeof Loader} */
|
|
17
|
+
declare const _export: typeof Loader;
|
|
18
|
+
/**
|
|
19
|
+
* @typedef {object} LoaderProps
|
|
20
|
+
* @property {number} [size] The size in pixels of this loader.
|
|
21
|
+
* @property {string} [themeType] The chosen theme type.
|
|
22
|
+
* @property {string} [theme] The chosen theme.
|
|
23
|
+
*
|
|
24
|
+
* @extends {React.Component<LoaderProps>}
|
|
25
|
+
*/
|
|
26
|
+
declare class Loader extends React.Component<LoaderProps, any, any> {
|
|
27
|
+
constructor(props: any);
|
|
28
|
+
render(): JSX.Element;
|
|
29
|
+
}
|
|
30
|
+
declare namespace Loader {
|
|
31
|
+
namespace propTypes {
|
|
32
|
+
const size: PropTypes.Requireable<number>;
|
|
33
|
+
const themeType: PropTypes.Requireable<string>;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
import React from "react";
|
|
37
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default _export;
|
|
2
|
+
export type LoaderPTProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The size in pixels of this loader.
|
|
5
|
+
*/
|
|
6
|
+
size?: number;
|
|
7
|
+
/**
|
|
8
|
+
* The chosen theme type.
|
|
9
|
+
*/
|
|
10
|
+
themeType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The chosen theme.
|
|
13
|
+
*/
|
|
14
|
+
theme?: string;
|
|
15
|
+
};
|
|
16
|
+
/** @type {typeof LoaderPT} */
|
|
17
|
+
declare const _export: typeof LoaderPT;
|
|
18
|
+
/**
|
|
19
|
+
* @typedef {object} LoaderPTProps
|
|
20
|
+
* @property {number} [size] The size in pixels of this loader.
|
|
21
|
+
* @property {string} [themeType] The chosen theme type.
|
|
22
|
+
* @property {string} [theme] The chosen theme.
|
|
23
|
+
*
|
|
24
|
+
* @extends {React.Component<LoaderPTProps>}
|
|
25
|
+
*/
|
|
26
|
+
declare class LoaderPT extends React.Component<LoaderPTProps, any, any> {
|
|
27
|
+
/**
|
|
28
|
+
* @param {LoaderPTProps} props
|
|
29
|
+
*/
|
|
30
|
+
constructor(props: LoaderPTProps);
|
|
31
|
+
size: number;
|
|
32
|
+
render(): JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
declare namespace LoaderPT {
|
|
35
|
+
namespace propTypes {
|
|
36
|
+
const size: PropTypes.Requireable<number>;
|
|
37
|
+
const themeType: PropTypes.Requireable<string>;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
import React from "react";
|
|
41
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default _export;
|
|
2
|
+
export type LoaderVendorProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The size in pixels of this loader.
|
|
5
|
+
*/
|
|
6
|
+
size?: number;
|
|
7
|
+
/**
|
|
8
|
+
* The chosen theme type.
|
|
9
|
+
*/
|
|
10
|
+
themeType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The chosen theme.
|
|
13
|
+
*/
|
|
14
|
+
theme?: string;
|
|
15
|
+
};
|
|
16
|
+
/** @type {typeof LoaderVendor} */
|
|
17
|
+
declare const _export: typeof LoaderVendor;
|
|
18
|
+
/**
|
|
19
|
+
* @typedef {object} LoaderVendorProps
|
|
20
|
+
* @property {number} [size] The size in pixels of this loader.
|
|
21
|
+
* @property {string} [themeType] The chosen theme type.
|
|
22
|
+
* @property {string} [theme] The chosen theme.
|
|
23
|
+
*
|
|
24
|
+
* @extends {React.Component<LoaderVendorProps>}
|
|
25
|
+
*/
|
|
26
|
+
declare class LoaderVendor extends React.Component<LoaderVendorProps, any, any> {
|
|
27
|
+
/**
|
|
28
|
+
* @param {LoaderVendorProps} props
|
|
29
|
+
*/
|
|
30
|
+
constructor(props: LoaderVendorProps);
|
|
31
|
+
size: number;
|
|
32
|
+
render(): JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
declare namespace LoaderVendor {
|
|
35
|
+
namespace propTypes {
|
|
36
|
+
const size: PropTypes.Requireable<number>;
|
|
37
|
+
const themeType: PropTypes.Requireable<string>;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
import React from "react";
|
|
41
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export default _export;
|
|
2
|
+
export type LogoProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Adapter common configuration from io-package.json
|
|
5
|
+
*/
|
|
6
|
+
common: any;
|
|
7
|
+
/**
|
|
8
|
+
* Adapter native data from io-package.json
|
|
9
|
+
*/
|
|
10
|
+
native: any;
|
|
11
|
+
/**
|
|
12
|
+
* Adapter instance number.
|
|
13
|
+
*/
|
|
14
|
+
instance: number;
|
|
15
|
+
onLoad?: (contents: any) => void;
|
|
16
|
+
onError?: (error: string) => void;
|
|
17
|
+
/**
|
|
18
|
+
* The styling class names.
|
|
19
|
+
*/
|
|
20
|
+
classes: {
|
|
21
|
+
buttons: string;
|
|
22
|
+
logo: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/** @type {typeof Logo} */
|
|
26
|
+
declare const _export: typeof Logo;
|
|
27
|
+
/**
|
|
28
|
+
* @typedef {object} LogoProps
|
|
29
|
+
* @property {any} common Adapter common configuration from io-package.json
|
|
30
|
+
* @property {any} native Adapter native data from io-package.json
|
|
31
|
+
* @property {number} instance Adapter instance number.
|
|
32
|
+
* @property {(contents: any) => void} [onLoad]
|
|
33
|
+
* @property {(error: string) => void} [onError]
|
|
34
|
+
* @property {{ buttons: string, logo: string }} classes The styling class names.
|
|
35
|
+
*
|
|
36
|
+
* @extends {React.Component<LogoProps>}
|
|
37
|
+
*/
|
|
38
|
+
declare class Logo extends React.Component<LogoProps, any, any> {
|
|
39
|
+
static generateFile(filename: any, obj: any): void;
|
|
40
|
+
constructor(props: LogoProps | Readonly<LogoProps>);
|
|
41
|
+
constructor(props: LogoProps, context: any);
|
|
42
|
+
handleFileSelect(evt: any): void;
|
|
43
|
+
download(): void;
|
|
44
|
+
upload(): void;
|
|
45
|
+
render(): JSX.Element;
|
|
46
|
+
}
|
|
47
|
+
declare namespace Logo {
|
|
48
|
+
namespace propTypes {
|
|
49
|
+
const common: PropTypes.Validator<object>;
|
|
50
|
+
const className: PropTypes.Requireable<string>;
|
|
51
|
+
const style: PropTypes.Requireable<object>;
|
|
52
|
+
const native: PropTypes.Validator<object>;
|
|
53
|
+
const instance: PropTypes.Validator<number>;
|
|
54
|
+
const onError: PropTypes.Validator<(...args: any[]) => any>;
|
|
55
|
+
const onLoad: PropTypes.Validator<(...args: any[]) => any>;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
import React from "react";
|
|
59
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default MDUtils;
|
|
2
|
+
declare class MDUtils {
|
|
3
|
+
static text2link(text: any): any;
|
|
4
|
+
static openLink(url: any, target: any): void;
|
|
5
|
+
static getTitle(text: any): any;
|
|
6
|
+
static extractHeader(text: any): {
|
|
7
|
+
header: {};
|
|
8
|
+
body: any;
|
|
9
|
+
};
|
|
10
|
+
static removeDocsify(text: any): any;
|
|
11
|
+
static onCopy(e: any, text: any): void;
|
|
12
|
+
}
|