@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,38 @@
|
|
|
1
|
+
export default IconLogout;
|
|
2
|
+
export type IconLogoutProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The width in pixels of the icon.
|
|
5
|
+
*/
|
|
6
|
+
width?: number;
|
|
7
|
+
/**
|
|
8
|
+
* The height in pixels of the icon.
|
|
9
|
+
*/
|
|
10
|
+
height?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Click handler.
|
|
13
|
+
*/
|
|
14
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
15
|
+
/**
|
|
16
|
+
* The class name for the SVG element.
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {object} IconLogoutProps
|
|
22
|
+
* @property {number} [width] The width in pixels of the icon.
|
|
23
|
+
* @property {number} [height] The height in pixels of the icon.
|
|
24
|
+
* @property {(e: React.MouseEvent) => void} [onClick] Click handler.
|
|
25
|
+
* @property {string} [className] The class name for the SVG element.
|
|
26
|
+
*
|
|
27
|
+
* @extends {React.Component<ExpertIconProps>}
|
|
28
|
+
*/
|
|
29
|
+
declare function IconLogout(props: any): JSX.Element;
|
|
30
|
+
declare namespace IconLogout {
|
|
31
|
+
namespace propTypes {
|
|
32
|
+
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
+
const width: PropTypes.Requireable<string | number>;
|
|
34
|
+
const height: PropTypes.Requireable<string | number>;
|
|
35
|
+
const className: PropTypes.Requireable<string>;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export default IconNoIcon;
|
|
2
|
+
export type IconNoIconProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The width in pixels of the icon.
|
|
5
|
+
*/
|
|
6
|
+
width?: number;
|
|
7
|
+
/**
|
|
8
|
+
* The height in pixels of the icon.
|
|
9
|
+
*/
|
|
10
|
+
height?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Click handler.
|
|
13
|
+
*/
|
|
14
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
15
|
+
/**
|
|
16
|
+
* The class name for the SVG element.
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {object} IconNoIconProps
|
|
22
|
+
* @property {number} [width] The width in pixels of the icon.
|
|
23
|
+
* @property {number} [height] The height in pixels of the icon.
|
|
24
|
+
* @property {(e: React.MouseEvent) => void} [onClick] Click handler.
|
|
25
|
+
* @property {string} [className] The class name for the SVG element.
|
|
26
|
+
*
|
|
27
|
+
* @extends {React.Component<IconNoIconProps>}
|
|
28
|
+
*/
|
|
29
|
+
declare function IconNoIcon(props: any): JSX.Element;
|
|
30
|
+
declare namespace IconNoIcon {
|
|
31
|
+
namespace propTypes {
|
|
32
|
+
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
+
const width: PropTypes.Requireable<string | number>;
|
|
34
|
+
const height: PropTypes.Requireable<string | number>;
|
|
35
|
+
const className: PropTypes.Requireable<string>;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default IconOpen;
|
|
2
|
+
declare function IconOpen(props: any): JSX.Element;
|
|
3
|
+
declare namespace IconOpen {
|
|
4
|
+
namespace propTypes {
|
|
5
|
+
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
6
|
+
const width: PropTypes.Requireable<string | number>;
|
|
7
|
+
const height: PropTypes.Requireable<string | number>;
|
|
8
|
+
const className: PropTypes.Requireable<string>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default IconState;
|
|
2
|
+
declare function IconState(props: any): JSX.Element;
|
|
3
|
+
declare namespace IconState {
|
|
4
|
+
namespace propTypes {
|
|
5
|
+
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
6
|
+
const width: PropTypes.Requireable<string | number>;
|
|
7
|
+
const height: PropTypes.Requireable<string | number>;
|
|
8
|
+
const className: PropTypes.Requireable<string>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
import PropTypes from "prop-types";
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export { default as Theme } from "./Theme";
|
|
2
|
+
export * from "./Theme";
|
|
3
|
+
export * from "./Connection";
|
|
4
|
+
export * from "./i18n";
|
|
5
|
+
export * from "./Prompt";
|
|
6
|
+
export * from "./Components/ColorPicker";
|
|
7
|
+
export * from "./Components/ComplexCron";
|
|
8
|
+
export * from "./Components/CustomModal";
|
|
9
|
+
export * from "./Components/FileBrowser";
|
|
10
|
+
export * from "./Components/FileViewer";
|
|
11
|
+
export * from "./Components/Icon";
|
|
12
|
+
export * from "./Components/IconPicker";
|
|
13
|
+
export * from "./Components/IconSelector";
|
|
14
|
+
export * from "./Components/Image";
|
|
15
|
+
export * from "./Components/Loader";
|
|
16
|
+
export * from "./Components/Logo";
|
|
17
|
+
export * from "./Components/MDUtils";
|
|
18
|
+
export * from "./Components/ObjectBrowser";
|
|
19
|
+
export * from "./Components/Router";
|
|
20
|
+
export * from "./Components/SaveCloseButtons";
|
|
21
|
+
export * from "./Components/Schedule";
|
|
22
|
+
export * from "./Components/SelectWithIcon";
|
|
23
|
+
export * from "./Components/TabContainer";
|
|
24
|
+
export * from "./Components/TabContent";
|
|
25
|
+
export * from "./Components/TabHeader";
|
|
26
|
+
export * from "./Components/TextWithIcon";
|
|
27
|
+
export * from "./Components/ToggleThemeMenu";
|
|
28
|
+
export * from "./Components/TreeTable";
|
|
29
|
+
export * from "./Components/UploadImage";
|
|
30
|
+
export * from "./Components/Utils";
|
|
31
|
+
export * from "./Components/withWidth";
|
|
32
|
+
export * from "./Components/SimpleCron";
|
|
33
|
+
export * from "./Components/Loaders/Vendor";
|
|
34
|
+
export * from "./Components/Loaders/PT";
|
|
35
|
+
export * from "./Components/JsonConfigComponent";
|
|
36
|
+
export * from "./icons/IconAdapter";
|
|
37
|
+
export * from "./icons/IconAlias";
|
|
38
|
+
export * from "./icons/IconChannel";
|
|
39
|
+
export * from "./icons/IconClosed";
|
|
40
|
+
export * from "./icons/IconCopy";
|
|
41
|
+
export * from "./icons/IconDevice";
|
|
42
|
+
export * from "./icons/IconDocument";
|
|
43
|
+
export * from "./icons/IconExpert";
|
|
44
|
+
export * from "./icons/IconFx";
|
|
45
|
+
export * from "./icons/IconInstance";
|
|
46
|
+
export * from "./icons/IconLogout";
|
|
47
|
+
export * from "./icons/IconOpen";
|
|
48
|
+
export * from "./icons/IconState";
|
|
49
|
+
export * from "./Dialogs/ComplexCron";
|
|
50
|
+
export * from "./Dialogs/Confirm";
|
|
51
|
+
export * from "./Dialogs/Cron";
|
|
52
|
+
export * from "./Dialogs/Error";
|
|
53
|
+
export * from "./Dialogs/Message";
|
|
54
|
+
export * from "./Dialogs/SelectID";
|
|
55
|
+
export * from "./Dialogs/SimpleCron";
|
|
56
|
+
export * from "./Dialogs/TextInput";
|
|
57
|
+
export * from "./Components/JsonConfigComponent/ConfigGeneric";
|
|
58
|
+
export { default as Connection } from "./Connection";
|
|
59
|
+
export { default as Prompt } from "./Prompt";
|
|
60
|
+
export { default as ColorPicker } from "./Components/ColorPicker";
|
|
61
|
+
export { default as ComplexCron } from "./Components/ComplexCron";
|
|
62
|
+
export { default as copy } from "./Components/copy-to-clipboard";
|
|
63
|
+
export { default as CustomModal } from "./Components/CustomModal";
|
|
64
|
+
export { default as FileBrowser } from "./Components/FileBrowser";
|
|
65
|
+
export { default as FileViewer } from "./Components/FileViewer";
|
|
66
|
+
export { default as Icon } from "./Components/Icon";
|
|
67
|
+
export { default as IconPicker } from "./Components/IconPicker";
|
|
68
|
+
export { default as IconSelector } from "./Components/IconSelector";
|
|
69
|
+
export { default as Image } from "./Components/Image";
|
|
70
|
+
export { default as Loader } from "./Components/Loader";
|
|
71
|
+
export { default as Logo } from "./Components/Logo";
|
|
72
|
+
export { default as MDUtils } from "./Components/MDUtils";
|
|
73
|
+
export { default as ObjectBrowser } from "./Components/ObjectBrowser";
|
|
74
|
+
export { default as Router } from "./Components/Router";
|
|
75
|
+
export { default as SaveCloseButtons } from "./Components/SaveCloseButtons";
|
|
76
|
+
export { default as Schedule } from "./Components/Schedule";
|
|
77
|
+
export { default as SelectWithIcon } from "./Components/SelectWithIcon";
|
|
78
|
+
export { default as TabContainer } from "./Components/TabContainer";
|
|
79
|
+
export { default as TabContent } from "./Components/TabContent";
|
|
80
|
+
export { default as TabHeader } from "./Components/TabHeader";
|
|
81
|
+
export { default as TextWithIcon } from "./Components/TextWithIcon";
|
|
82
|
+
export { default as ToggleThemeMenu } from "./Components/ToggleThemeMenu";
|
|
83
|
+
export { default as TreeTable } from "./Components/TreeTable";
|
|
84
|
+
export { default as UploadImage } from "./Components/UploadImage";
|
|
85
|
+
export { default as Utils } from "./Components/Utils";
|
|
86
|
+
export { default as withWidth } from "./Components/withWidth";
|
|
87
|
+
export { default as SimpleCron } from "./Components/SimpleCron";
|
|
88
|
+
export { default as LoaderVendor } from "./Components/Loaders/Vendor";
|
|
89
|
+
export { default as LoaderPT } from "./Components/Loaders/PT";
|
|
90
|
+
export { default as JsonConfigComponent } from "./Components/JsonConfigComponent";
|
|
91
|
+
export { default as IconAdapter } from "./icons/IconAdapter";
|
|
92
|
+
export { default as IconAlias } from "./icons/IconAlias";
|
|
93
|
+
export { default as IconChannel } from "./icons/IconChannel";
|
|
94
|
+
export { default as IconClosed } from "./icons/IconClosed";
|
|
95
|
+
export { default as IconCopy } from "./icons/IconCopy";
|
|
96
|
+
export { default as IconDevice } from "./icons/IconDevice";
|
|
97
|
+
export { default as IconDocument } from "./icons/IconDocument";
|
|
98
|
+
export { default as IconExpert } from "./icons/IconExpert";
|
|
99
|
+
export { default as IconFx } from "./icons/IconFx";
|
|
100
|
+
export { default as IconInstance } from "./icons/IconInstance";
|
|
101
|
+
export { default as IconLogout } from "./icons/IconLogout";
|
|
102
|
+
export { default as IconOpen } from "./icons/IconOpen";
|
|
103
|
+
export { default as IconState } from "./icons/IconState";
|
|
104
|
+
export { default as ComplexCronDialog } from "./Dialogs/ComplexCron";
|
|
105
|
+
export { default as Confirm } from "./Dialogs/Confirm";
|
|
106
|
+
export { default as Cron } from "./Dialogs/Cron";
|
|
107
|
+
export { default as Error } from "./Dialogs/Error";
|
|
108
|
+
export { default as Message } from "./Dialogs/Message";
|
|
109
|
+
export { default as SelectID } from "./Dialogs/SelectID";
|
|
110
|
+
export { default as SimpleCronDialog } from "./Dialogs/SimpleCron";
|
|
111
|
+
export { default as TextInput } from "./Dialogs/TextInput";
|
|
112
|
+
export { default as ConfigGeneric } from "./Components/JsonConfigComponent/ConfigGeneric";
|
|
113
|
+
export { default as i18n, default as I18n } from "./i18n";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/adapter-react-v5",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.27",
|
|
4
4
|
"description": "React classes to develop admin interfaces for ioBroker with react.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bluefox",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"homepage": "https://github.com/ioBroker/adapter-react-v5#readme",
|
|
28
28
|
"devDependencies": {},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@emotion/react": "^11.
|
|
31
|
-
"@emotion/styled": "^11.
|
|
30
|
+
"@emotion/react": "^11.10.0",
|
|
31
|
+
"@emotion/styled": "^11.10.0",
|
|
32
32
|
"@mui/icons-material": "^5.8.4",
|
|
33
|
-
"@mui/material": "^5.9.
|
|
34
|
-
"@mui/styles": "^5.9.
|
|
35
|
-
"@mui/x-date-pickers": "^5.0.0-beta.
|
|
33
|
+
"@mui/material": "^5.9.2",
|
|
34
|
+
"@mui/styles": "^5.9.2",
|
|
35
|
+
"@mui/x-date-pickers": "^5.0.0-beta.3",
|
|
36
36
|
"react-cropper": "^2.1.8",
|
|
37
|
-
"@sentry/browser": "^7.
|
|
38
|
-
"@sentry/integrations": "^7.
|
|
37
|
+
"@sentry/browser": "^7.8.0",
|
|
38
|
+
"@sentry/integrations": "^7.8.0",
|
|
39
39
|
"@types/iobroker": "^4.0.4",
|
|
40
40
|
"react-color": "^2.19.3",
|
|
41
41
|
"react-colorful": "^5.5.1",
|