@iobroker/adapter-react-v5 4.1.2 → 4.2.0
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/JsonConfigComponent/ConfigCertCollection.js +2 -2
- package/Components/JsonConfigComponent/ConfigCertCollection.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigCertificates.js +2 -2
- package/Components/JsonConfigComponent/ConfigCertificates.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigCheckLicense.js +7 -7
- package/Components/JsonConfigComponent/ConfigCheckLicense.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigPort.js +1 -1
- package/Components/JsonConfigComponent/ConfigPort.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigSendto.js +2 -2
- package/Components/JsonConfigComponent/ConfigSendto.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigSetState.js +2 -2
- package/Components/JsonConfigComponent/ConfigSetState.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigTable.js +2 -2
- package/Components/JsonConfigComponent/ConfigTable.js.map +1 -1
- package/Components/JsonConfigComponent/ConfigUUID.js +1 -1
- package/Components/JsonConfigComponent/ConfigUUID.js.map +1 -1
- package/Components/ObjectBrowser.js +22 -25
- package/Components/ObjectBrowser.js.map +1 -1
- package/Components/UploadImage.js +2 -2
- package/Components/UploadImage.js.map +1 -1
- package/Components/Utils.js +1 -1
- package/Components/Utils.js.map +1 -1
- package/Dialogs/Confirm.js +1 -1
- package/Dialogs/Confirm.js.map +1 -1
- package/LegacyConnection.d.ts +6 -0
- package/LegacyConnection.js +181 -161
- package/LegacyConnection.js.map +1 -1
- package/README.md +7 -3
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
You can find demo on https://github.com/ioBroker/adapter-react-demo
|
|
3
3
|
|
|
4
4
|
## Getting started
|
|
5
|
-
If you want to create the configuration page with
|
|
5
|
+
If you want to create the configuration page with ReactJS:
|
|
6
6
|
1. Create github repo for adapter.
|
|
7
7
|
2. execute `npx create-react-app src` . It will take a while.
|
|
8
8
|
3. `cd src`
|
|
@@ -181,7 +181,7 @@ onPrepareSave(settings) {
|
|
|
181
181
|
## Components
|
|
182
182
|
|
|
183
183
|
### Connection.js
|
|
184
|
-
This is non-react class to provide the communication for socket connection with server.
|
|
184
|
+
This is a non-react class to provide the communication for socket connection with server.
|
|
185
185
|
|
|
186
186
|
### GenericApp.js
|
|
187
187
|
|
|
@@ -322,7 +322,7 @@ function renderCron() {
|
|
|
322
322
|
##### getObjectNameFromObj
|
|
323
323
|
`getObjectNameFromObj(obj, settings, options, isDesc)`
|
|
324
324
|
|
|
325
|
-
Get object name from single object.
|
|
325
|
+
Get object name from a single object.
|
|
326
326
|
|
|
327
327
|
Usage: `Utils.getObjectNameFromObj(this.objects[id], null, {language: I18n.getLanguage()})`
|
|
328
328
|
|
|
@@ -661,6 +661,10 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
|
|
|
661
661
|
-->
|
|
662
662
|
|
|
663
663
|
## Changelog
|
|
664
|
+
### 4.2.0 (2023-07-07)
|
|
665
|
+
* (bluefox) Updated packages
|
|
666
|
+
* (bluefox) Added new method `getObjectsById` to the socket communication
|
|
667
|
+
|
|
664
668
|
### 4.1.2 (2023-06-20)
|
|
665
669
|
* (bluefox) Allowed setting theme name directly by theme toggle
|
|
666
670
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/adapter-react-v5",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "React classes to develop admin interfaces for ioBroker with react.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bluefox",
|
|
@@ -29,19 +29,19 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@emotion/react": "^11.11.1",
|
|
31
31
|
"@emotion/styled": "^11.11.0",
|
|
32
|
-
"@mui/icons-material": "^5.
|
|
33
|
-
"@mui/material": "^5.13.
|
|
34
|
-
"@mui/styles": "^5.13.
|
|
35
|
-
"@mui/x-date-pickers": "6.
|
|
36
|
-
"@iobroker/socket-client": "^2.
|
|
32
|
+
"@mui/icons-material": "^5.13.7",
|
|
33
|
+
"@mui/material": "^5.13.7",
|
|
34
|
+
"@mui/styles": "^5.13.7",
|
|
35
|
+
"@mui/x-date-pickers": "6.9.2",
|
|
36
|
+
"@iobroker/socket-client": "^2.2.0",
|
|
37
37
|
"react-cropper": "^2.3.3",
|
|
38
|
-
"@sentry/browser": "^7.
|
|
39
|
-
"@sentry/integrations": "^7.
|
|
38
|
+
"@sentry/browser": "^7.57.0",
|
|
39
|
+
"@sentry/integrations": "^7.57.0",
|
|
40
40
|
"@types/iobroker": "^4.0.5",
|
|
41
41
|
"react-color": "^2.19.3",
|
|
42
42
|
"react-colorful": "^5.6.1",
|
|
43
43
|
"react-dropzone": "^14.2.3",
|
|
44
|
-
"react-icons": "^4.
|
|
44
|
+
"react-icons": "^4.10.1",
|
|
45
45
|
"react-inlinesvg": "^3.0.2",
|
|
46
46
|
"react-text-mask": "^5.5.0"
|
|
47
47
|
}
|