@iobroker/adapter-react-v5 4.9.0 → 4.9.1
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/Dialogs/SelectID.d.ts +0 -25
- package/Dialogs/SelectID.js +0 -25
- package/README.md +3 -0
- package/package.json +2 -1
package/Dialogs/SelectID.d.ts
CHANGED
|
@@ -47,31 +47,6 @@ interface DialogSelectIDState {
|
|
|
47
47
|
selected: string[];
|
|
48
48
|
name: string;
|
|
49
49
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @typedef {object} DialogSelectIDProps
|
|
52
|
-
* @property {string} [dialogName] The internal name of the dialog; default: "default"
|
|
53
|
-
* @property {string} [title] The dialog title; default: Please select object ID... (translated)
|
|
54
|
-
* @property {boolean} [multiSelect] Set to true to allow the selection of multiple IDs.
|
|
55
|
-
* @property {boolean} [foldersFirst] Show folders before any leaves.
|
|
56
|
-
* @property {string} [imagePrefix] Prefix (default: '.')
|
|
57
|
-
* @property {boolean} [showExpertButton] Show the expert button?
|
|
58
|
-
* @property {import('../Components/types').ObjectBrowserColumn[]} [columns] Columns to display; default: 'name', 'type', 'role', 'room', 'func', 'val'
|
|
59
|
-
* @property {import('../Components/types').ObjectBrowserType[]} [types] Object types to show; default: 'state' only
|
|
60
|
-
* @property {ioBroker.Languages} [lang] The language.
|
|
61
|
-
* @property {import('../Connection').default} socket The socket connection.
|
|
62
|
-
* @property {boolean} [notEditable] Can't objects be edited? (default: true)
|
|
63
|
-
* @property {string} [themeName] Theme name.
|
|
64
|
-
* @property {string} [themeType] Theme type.
|
|
65
|
-
* @property {import('../Components/types').ObjectBrowserCustomFilter} [customFilter] Custom filter.
|
|
66
|
-
* @property {string | string[]} [selected] The selected IDs.
|
|
67
|
-
* @property {string} [ok] The ok button text; default: OK (translated)
|
|
68
|
-
* @property {string} [cancel] The cancel button text; default: Cancel (translated)
|
|
69
|
-
* @property {() => void} onClose Close handler that is always called when the dialog is closed.
|
|
70
|
-
* @property {(selected: string | string[] | undefined, name: string) => void} onOk Handler that is called when the user presses OK.
|
|
71
|
-
* @property {{headerID: string; dialog: string; content: string}} [classes] The styling class names.
|
|
72
|
-
*
|
|
73
|
-
* @extends {React.Component<DialogSelectIDProps>}
|
|
74
|
-
*/
|
|
75
50
|
declare class DialogSelectID extends Component<DialogSelectIDProps, DialogSelectIDState> {
|
|
76
51
|
private readonly dialogName;
|
|
77
52
|
private filters;
|
package/Dialogs/SelectID.js
CHANGED
|
@@ -38,31 +38,6 @@ const material_1 = require("@mui/material");
|
|
|
38
38
|
const icons_material_1 = require("@mui/icons-material");
|
|
39
39
|
const i18n_1 = __importDefault(require("../i18n"));
|
|
40
40
|
const ObjectBrowser_1 = __importDefault(require("../Components/ObjectBrowser"));
|
|
41
|
-
/**
|
|
42
|
-
* @typedef {object} DialogSelectIDProps
|
|
43
|
-
* @property {string} [dialogName] The internal name of the dialog; default: "default"
|
|
44
|
-
* @property {string} [title] The dialog title; default: Please select object ID... (translated)
|
|
45
|
-
* @property {boolean} [multiSelect] Set to true to allow the selection of multiple IDs.
|
|
46
|
-
* @property {boolean} [foldersFirst] Show folders before any leaves.
|
|
47
|
-
* @property {string} [imagePrefix] Prefix (default: '.')
|
|
48
|
-
* @property {boolean} [showExpertButton] Show the expert button?
|
|
49
|
-
* @property {import('../Components/types').ObjectBrowserColumn[]} [columns] Columns to display; default: 'name', 'type', 'role', 'room', 'func', 'val'
|
|
50
|
-
* @property {import('../Components/types').ObjectBrowserType[]} [types] Object types to show; default: 'state' only
|
|
51
|
-
* @property {ioBroker.Languages} [lang] The language.
|
|
52
|
-
* @property {import('../Connection').default} socket The socket connection.
|
|
53
|
-
* @property {boolean} [notEditable] Can't objects be edited? (default: true)
|
|
54
|
-
* @property {string} [themeName] Theme name.
|
|
55
|
-
* @property {string} [themeType] Theme type.
|
|
56
|
-
* @property {import('../Components/types').ObjectBrowserCustomFilter} [customFilter] Custom filter.
|
|
57
|
-
* @property {string | string[]} [selected] The selected IDs.
|
|
58
|
-
* @property {string} [ok] The ok button text; default: OK (translated)
|
|
59
|
-
* @property {string} [cancel] The cancel button text; default: Cancel (translated)
|
|
60
|
-
* @property {() => void} onClose Close handler that is always called when the dialog is closed.
|
|
61
|
-
* @property {(selected: string | string[] | undefined, name: string) => void} onOk Handler that is called when the user presses OK.
|
|
62
|
-
* @property {{headerID: string; dialog: string; content: string}} [classes] The styling class names.
|
|
63
|
-
*
|
|
64
|
-
* @extends {React.Component<DialogSelectIDProps>}
|
|
65
|
-
*/
|
|
66
41
|
class DialogSelectID extends react_1.Component {
|
|
67
42
|
constructor(props) {
|
|
68
43
|
super(props);
|
package/README.md
CHANGED
|
@@ -670,6 +670,9 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
|
|
|
670
670
|
-->
|
|
671
671
|
|
|
672
672
|
## Changelog
|
|
673
|
+
### 4.9.1 (2023-12-22)
|
|
674
|
+
* (foxriver76) `@iobroker/json-config` moved to real dependencies
|
|
675
|
+
|
|
673
676
|
### 4.9.0 (2023-12-22)
|
|
674
677
|
* (foxriver76) migrate to `@iobroker/json-config` module to have a single point of truth
|
|
675
678
|
* (bluefox) Allowed using of `filterFunc` as string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/adapter-react-v5",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"description": "React classes to develop admin interfaces for ioBroker with react.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Denis Haev (bluefox)",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"@emotion/react": "^11.11.1",
|
|
31
31
|
"@emotion/styled": "^11.11.0",
|
|
32
32
|
"@iobroker/dm-utils": "^0.1.8",
|
|
33
|
+
"@iobroker/json-config": "^6.13.3",
|
|
33
34
|
"@iobroker/socket-client": "^2.3.13",
|
|
34
35
|
"@iobroker/types": "^5.0.17",
|
|
35
36
|
"@mui/icons-material": "^5.15.1",
|