@iobroker/adapter-react-v5 3.2.2 → 3.2.4
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/ColorPicker.d.ts +1 -1
- package/Components/ColorPicker.js +77 -53
- package/Components/ColorPicker.js.map +1 -1
- package/Components/FileBrowser.js +2 -2
- package/Components/FileBrowser.js.map +1 -1
- package/Components/ObjectBrowser.d.ts +21 -24
- package/Components/ObjectBrowser.js +624 -655
- package/Components/ObjectBrowser.js.map +1 -1
- package/Components/Router.js.map +1 -1
- package/Components/TableResize.js.map +1 -1
- package/Components/Utils.js +11 -4
- package/Components/Utils.js.map +1 -1
- package/Dialogs/SelectID.js +6 -6
- package/Dialogs/SelectID.js.map +1 -1
- package/GenericApp.js.map +1 -1
- package/README.md +6 -0
- package/package.json +5 -5
|
@@ -11,6 +11,25 @@ declare class ObjectBrowser extends React.Component<import("./types").ObjectBrow
|
|
|
11
11
|
* @param {any} state
|
|
12
12
|
*/
|
|
13
13
|
private static getDerivedStateFromProps;
|
|
14
|
+
/**
|
|
15
|
+
* @private
|
|
16
|
+
* @param {number} depth
|
|
17
|
+
* @param {any[]} expanded
|
|
18
|
+
*/
|
|
19
|
+
private static collapseDepth;
|
|
20
|
+
/**
|
|
21
|
+
* @private
|
|
22
|
+
* @param {any} obj
|
|
23
|
+
* @param {any} it
|
|
24
|
+
*/
|
|
25
|
+
private static getCustomValue;
|
|
26
|
+
/**
|
|
27
|
+
* @private
|
|
28
|
+
* @param {any} obj
|
|
29
|
+
* @param {any} it
|
|
30
|
+
* @param {any} value
|
|
31
|
+
*/
|
|
32
|
+
private static setCustomValue;
|
|
14
33
|
/**
|
|
15
34
|
* @param {import('./types').ObjectBrowserProps} props
|
|
16
35
|
*/
|
|
@@ -33,7 +52,6 @@ declare class ObjectBrowser extends React.Component<import("./types").ObjectBrow
|
|
|
33
52
|
statesUpdateTimer: any;
|
|
34
53
|
objectsUpdateTimer: any;
|
|
35
54
|
visibleCols: any[];
|
|
36
|
-
possibleCols: string[];
|
|
37
55
|
imagePrefix: string;
|
|
38
56
|
state: {
|
|
39
57
|
loaded: boolean;
|
|
@@ -53,7 +71,6 @@ declare class ObjectBrowser extends React.Component<import("./types").ObjectBrow
|
|
|
53
71
|
viewFileDialog: string;
|
|
54
72
|
enumDialog: any;
|
|
55
73
|
roleDialog: any;
|
|
56
|
-
modalEmptyId: any;
|
|
57
74
|
statesView: boolean;
|
|
58
75
|
columns: any;
|
|
59
76
|
columnsForAdmin: any;
|
|
@@ -217,9 +234,8 @@ declare class ObjectBrowser extends React.Component<import("./types").ObjectBrow
|
|
|
217
234
|
/**
|
|
218
235
|
* @param {string} id
|
|
219
236
|
* @param {ioBroker.Object} obj
|
|
220
|
-
* @param {import('./types').OldObject} oldObj
|
|
221
237
|
*/
|
|
222
|
-
onObjectChange: (id: string, obj: ioBroker.Object
|
|
238
|
+
onObjectChange: (id: string, obj: ioBroker.Object) => void;
|
|
223
239
|
/**
|
|
224
240
|
* @private
|
|
225
241
|
* @param {string} id
|
|
@@ -291,12 +307,6 @@ declare class ObjectBrowser extends React.Component<import("./types").ObjectBrow
|
|
|
291
307
|
* @param {any[]} expanded
|
|
292
308
|
*/
|
|
293
309
|
private expandDepth;
|
|
294
|
-
/**
|
|
295
|
-
* @private
|
|
296
|
-
* @param {number} depth
|
|
297
|
-
* @param {any[]} expanded
|
|
298
|
-
*/
|
|
299
|
-
private collapseDepth;
|
|
300
310
|
/**
|
|
301
311
|
* @private
|
|
302
312
|
*/
|
|
@@ -322,7 +332,7 @@ declare class ObjectBrowser extends React.Component<import("./types").ObjectBrow
|
|
|
322
332
|
private _createAllEnums;
|
|
323
333
|
/**
|
|
324
334
|
* @private
|
|
325
|
-
* @param {any}
|
|
335
|
+
* @param {any} objs
|
|
326
336
|
*/
|
|
327
337
|
private loadObjects;
|
|
328
338
|
_getSelectedIdsForExport(): string[];
|
|
@@ -416,19 +426,6 @@ declare class ObjectBrowser extends React.Component<import("./types").ObjectBrow
|
|
|
416
426
|
* @private
|
|
417
427
|
*/
|
|
418
428
|
private renderColumnsEditCustomDialog;
|
|
419
|
-
/**
|
|
420
|
-
* @private
|
|
421
|
-
* @param {any} obj
|
|
422
|
-
* @param {any} it
|
|
423
|
-
*/
|
|
424
|
-
private getCustomValue;
|
|
425
|
-
/**
|
|
426
|
-
* @private
|
|
427
|
-
* @param {any} obj
|
|
428
|
-
* @param {any} it
|
|
429
|
-
* @param {any} value
|
|
430
|
-
*/
|
|
431
|
-
private setCustomValue;
|
|
432
429
|
/**
|
|
433
430
|
* Renders a custom value.
|
|
434
431
|
* @param {any} obj
|