@iobroker/dm-utils 0.6.7 → 0.6.9
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/README.md +8 -0
- package/build/ActionContext.d.ts +1 -0
- package/build/types/base.d.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -295,6 +295,14 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
295
295
|
### **WORK IN PROGRESS**
|
|
296
296
|
-->
|
|
297
297
|
## Changelog
|
|
298
|
+
### 0.6.9 (2024-11-22)
|
|
299
|
+
|
|
300
|
+
* (@GermanBluefox) Added max-width option for form
|
|
301
|
+
|
|
302
|
+
### 0.6.8 (2024-11-22)
|
|
303
|
+
|
|
304
|
+
* (@GermanBluefox) Allow grouping of devices
|
|
305
|
+
|
|
298
306
|
### 0.6.7 (2024-11-20)
|
|
299
307
|
|
|
300
308
|
* (@GermanBluefox) Updated types
|
package/build/ActionContext.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export interface ActionContext {
|
|
|
7
7
|
data?: JsonFormData;
|
|
8
8
|
title?: ioBroker.StringOrTranslated;
|
|
9
9
|
buttons?: (ActionButton | 'apply' | 'cancel')[];
|
|
10
|
+
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10
11
|
}): Promise<JsonFormData | undefined>;
|
|
11
12
|
openProgress(title: string, options?: {
|
|
12
13
|
indeterminate?: boolean;
|
package/build/types/base.d.ts
CHANGED
|
@@ -101,5 +101,10 @@ export interface DeviceInfo<T extends ActionType = 'api'> {
|
|
|
101
101
|
actions?: DeviceAction<T>[];
|
|
102
102
|
controls?: DeviceControl<T>[];
|
|
103
103
|
hasDetails?: boolean;
|
|
104
|
+
group?: {
|
|
105
|
+
key: string;
|
|
106
|
+
name?: ioBroker.StringOrTranslated;
|
|
107
|
+
icon?: string;
|
|
108
|
+
};
|
|
104
109
|
}
|
|
105
110
|
export {};
|