@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.
Files changed (116) hide show
  1. package/Components/404.d.ts +3 -0
  2. package/Components/ColorPicker.d.ts +138 -0
  3. package/Components/ComplexCron.d.ts +8 -0
  4. package/Components/CustomModal.d.ts +3 -0
  5. package/Components/FileBrowser.d.ts +125 -0
  6. package/Components/FileViewer.d.ts +80 -0
  7. package/Components/Icon.d.ts +21 -0
  8. package/Components/IconPicker.d.ts +64 -0
  9. package/Components/IconSelector.d.ts +25 -0
  10. package/Components/Image.d.ts +64 -0
  11. package/Components/JsonConfigComponent/ChipInput.d.ts +13 -0
  12. package/Components/JsonConfigComponent/ConfigAlive.d.ts +10 -0
  13. package/Components/JsonConfigComponent/ConfigAutocomplete.d.ts +14 -0
  14. package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.d.ts +14 -0
  15. package/Components/JsonConfigComponent/ConfigCRON.d.ts +15 -0
  16. package/Components/JsonConfigComponent/ConfigCertificateSelect.d.ts +14 -0
  17. package/Components/JsonConfigComponent/ConfigCheckbox.d.ts +14 -0
  18. package/Components/JsonConfigComponent/ConfigChip.d.ts +14 -0
  19. package/Components/JsonConfigComponent/ConfigColor.d.ts +14 -0
  20. package/Components/JsonConfigComponent/ConfigCoordinates.d.ts +14 -0
  21. package/Components/JsonConfigComponent/ConfigCustom.d.ts +26 -0
  22. package/Components/JsonConfigComponent/ConfigDatePicker.d.ts +14 -0
  23. package/Components/JsonConfigComponent/ConfigFile.d.ts +15 -0
  24. package/Components/JsonConfigComponent/ConfigFileSelector.d.ts +3 -0
  25. package/Components/JsonConfigComponent/ConfigFunc.d.ts +14 -0
  26. package/Components/JsonConfigComponent/ConfigGeneric.d.ts +71 -0
  27. package/Components/JsonConfigComponent/ConfigIP.d.ts +14 -0
  28. package/Components/JsonConfigComponent/ConfigImageUpload.d.ts +14 -0
  29. package/Components/JsonConfigComponent/ConfigInstanceSelect.d.ts +14 -0
  30. package/Components/JsonConfigComponent/ConfigJsonEditor.d.ts +14 -0
  31. package/Components/JsonConfigComponent/ConfigLanguage.d.ts +14 -0
  32. package/Components/JsonConfigComponent/ConfigNumber.d.ts +3 -0
  33. package/Components/JsonConfigComponent/ConfigObjectId.d.ts +17 -0
  34. package/Components/JsonConfigComponent/ConfigPanel.d.ts +3 -0
  35. package/Components/JsonConfigComponent/ConfigPassword.d.ts +14 -0
  36. package/Components/JsonConfigComponent/ConfigPattern.d.ts +14 -0
  37. package/Components/JsonConfigComponent/ConfigRoom.d.ts +14 -0
  38. package/Components/JsonConfigComponent/ConfigSelect.d.ts +14 -0
  39. package/Components/JsonConfigComponent/ConfigSelectSendTo.d.ts +17 -0
  40. package/Components/JsonConfigComponent/ConfigSendto.d.ts +18 -0
  41. package/Components/JsonConfigComponent/ConfigSetState.d.ts +18 -0
  42. package/Components/JsonConfigComponent/ConfigSlider.d.ts +14 -0
  43. package/Components/JsonConfigComponent/ConfigStaticDivider.d.ts +14 -0
  44. package/Components/JsonConfigComponent/ConfigStaticHeader.d.ts +14 -0
  45. package/Components/JsonConfigComponent/ConfigStaticImage.d.ts +14 -0
  46. package/Components/JsonConfigComponent/ConfigStaticText.d.ts +14 -0
  47. package/Components/JsonConfigComponent/ConfigTable.d.ts +3 -0
  48. package/Components/JsonConfigComponent/ConfigTabs.d.ts +33 -0
  49. package/Components/JsonConfigComponent/ConfigText.d.ts +14 -0
  50. package/Components/JsonConfigComponent/ConfigTextSendTo.d.ts +10 -0
  51. package/Components/JsonConfigComponent/ConfigTimePicker.d.ts +14 -0
  52. package/Components/JsonConfigComponent/ConfigTopic.d.ts +17 -0
  53. package/Components/JsonConfigComponent/ConfigUser.d.ts +14 -0
  54. package/Components/JsonConfigComponent/index.d.ts +27 -0
  55. package/Components/Loader.d.ts +37 -0
  56. package/Components/Loaders/PT.d.ts +41 -0
  57. package/Components/Loaders/Vendor.d.ts +41 -0
  58. package/Components/Logo.d.ts +59 -0
  59. package/Components/MDUtils.d.ts +12 -0
  60. package/Components/ObjectBrowser.d.ts +632 -0
  61. package/Components/Router.d.ts +35 -0
  62. package/Components/SaveCloseButtons.d.ts +64 -0
  63. package/Components/Schedule.d.ts +7 -0
  64. package/Components/SelectWithIcon.d.ts +21 -0
  65. package/Components/SimpleCron/cron2text.d.ts +8 -0
  66. package/Components/SimpleCron/cronText.d.ts +2 -0
  67. package/Components/SimpleCron/index.d.ts +8 -0
  68. package/Components/SimpleCron/jquery.cron.locale.d.ts +2 -0
  69. package/Components/TabContainer.d.ts +42 -0
  70. package/Components/TabContent.d.ts +32 -0
  71. package/Components/TabHeader.d.ts +13 -0
  72. package/Components/TableResize.d.ts +14 -0
  73. package/Components/TextWithIcon.d.ts +3 -0
  74. package/Components/ToggleThemeMenu.d.ts +8 -0
  75. package/Components/TreeTable.d.ts +3 -0
  76. package/Components/UploadImage.d.ts +2 -0
  77. package/Components/Utils.d.ts +334 -0
  78. package/Components/copy-to-clipboard.d.ts +2 -0
  79. package/Components/withWidth.d.ts +2 -0
  80. package/Connection.d.ts +761 -0
  81. package/Connection.js +9 -1
  82. package/Connection.js.map +1 -1
  83. package/Dialogs/ComplexCron.d.ts +15 -0
  84. package/Dialogs/Confirm.d.ts +48 -0
  85. package/Dialogs/Cron.d.ts +15 -0
  86. package/Dialogs/Error.d.ts +49 -0
  87. package/Dialogs/FileSelect.d.ts +148 -0
  88. package/Dialogs/Message.d.ts +39 -0
  89. package/Dialogs/SelectID.d.ts +161 -0
  90. package/Dialogs/SimpleCron.d.ts +14 -0
  91. package/Dialogs/TextInput.d.ts +87 -0
  92. package/GenericApp.d.ts +213 -0
  93. package/Prompt.d.ts +5 -0
  94. package/README.md +2 -1
  95. package/Theme.d.ts +7 -0
  96. package/assets/devices/parseNames.d.ts +1 -0
  97. package/assets/rooms/parseNames.d.ts +1 -0
  98. package/i18n.d.ts +92 -0
  99. package/icons/IconAdapter.d.ts +11 -0
  100. package/icons/IconAlias.d.ts +11 -0
  101. package/icons/IconChannel.d.ts +11 -0
  102. package/icons/IconClearFilter.d.ts +11 -0
  103. package/icons/IconClosed.d.ts +11 -0
  104. package/icons/IconCopy.d.ts +38 -0
  105. package/icons/IconDevice.d.ts +11 -0
  106. package/icons/IconDocument.d.ts +11 -0
  107. package/icons/IconDocumentReadOnly.d.ts +11 -0
  108. package/icons/IconExpert.d.ts +38 -0
  109. package/icons/IconFx.d.ts +11 -0
  110. package/icons/IconInstance.d.ts +11 -0
  111. package/icons/IconLogout.d.ts +38 -0
  112. package/icons/IconNoIcon.d.ts +38 -0
  113. package/icons/IconOpen.d.ts +11 -0
  114. package/icons/IconState.d.ts +11 -0
  115. package/index.d.ts +113 -0
  116. 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
+ }