@iobroker/dm-utils 1.0.13 → 1.0.16
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/LICENSE +1 -1
- package/README.md +5 -1
- package/build/types/common.d.ts +8 -1
- package/package.json +9 -4
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2023-
|
|
3
|
+
Copyright (c) 2023-2026 ioBroker Community Developers
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -301,6 +301,10 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
301
301
|
### **WORK IN PROGRESS**
|
|
302
302
|
-->
|
|
303
303
|
## Changelog
|
|
304
|
+
### 1.0.16 (2026-01-02)
|
|
305
|
+
* (@GermanBluefox) Added `ignoreApplyDisabled` flag
|
|
306
|
+
* (@GermanBluefox) Added `update` icon
|
|
307
|
+
|
|
304
308
|
### 1.0.13 (2025-10-21)
|
|
305
309
|
* (@GermanBluefox) Updated packages
|
|
306
310
|
|
|
@@ -401,7 +405,7 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
401
405
|
## License
|
|
402
406
|
MIT License
|
|
403
407
|
|
|
404
|
-
Copyright (c) 2023-
|
|
408
|
+
Copyright (c) 2023-2026 ioBroker Community Developers
|
|
405
409
|
|
|
406
410
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
407
411
|
of this software and associated documentation files (the "Software"), to deal
|
package/build/types/common.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ interface ObjectBrowserCustomFilter {
|
|
|
28
28
|
}
|
|
29
29
|
export type ObjectBrowserType = 'state' | 'instance' | 'channel' | 'device' | 'chart';
|
|
30
30
|
export type ConfigItemType = 'accordion' | 'alive' | 'autocomplete' | 'autocompleteSendTo' | 'certCollection' | 'certificate' | 'certificates' | 'checkDocker' | 'checkLicense' | 'checkbox' | 'chips' | 'color' | 'coordinates' | 'cron' | 'custom' | 'datePicker' | 'deviceManager' | 'divider' | 'file' | 'fileSelector' | 'func' | 'header' | 'image' | 'imageSendTo' | 'infoBox' | 'instance' | 'interface' | 'ip' | 'jsonEditor' | 'language' | 'license' | 'number' | 'oauth2' | 'objectId' | 'panel' | 'password' | 'pattern' | 'port' | 'qrCode' | 'room' | 'select' | 'selectSendTo' | 'sendto' | 'setState' | 'slider' | 'state' | 'staticImage' | 'staticInfo' | 'staticLink' | 'staticText' | 'table' | 'tabs' | 'text' | 'textSendTo' | 'timePicker' | 'topic' | 'user' | 'uuid';
|
|
31
|
-
export type ConfigIconType = 'add' | 'backlight' | 'book' | 'delete' | 'dimmer' | 'edit' | 'error' | 'group' | 'help' | 'identify' | 'info' | 'light' | 'lines' | 'next' | 'pair' | 'pause' | 'play' | 'previous' | 'qrcode' | 'refresh' | 'search' | 'send' | 'settings' | 'socket' | 'stop' | 'unpair' | 'upload' | 'user' | 'warning' | 'web' | string;
|
|
31
|
+
export type ConfigIconType = 'add' | 'backlight' | 'book' | 'delete' | 'dimmer' | 'edit' | 'error' | 'group' | 'help' | 'identify' | 'info' | 'light' | 'lines' | 'next' | 'pair' | 'pause' | 'play' | 'previous' | 'qrcode' | 'refresh' | 'search' | 'send' | 'settings' | 'socket' | 'stop' | 'unpair' | 'update' | 'upload' | 'user' | 'warning' | 'web' | string;
|
|
32
32
|
export interface ConfigItemConfirmData {
|
|
33
33
|
condition: string;
|
|
34
34
|
text?: ioBroker.StringOrTranslated;
|
|
@@ -911,13 +911,20 @@ export type ActionButton = {
|
|
|
911
911
|
copyToClipboardAttr?: string;
|
|
912
912
|
};
|
|
913
913
|
export type BackEndCommandJsonFormOptions = {
|
|
914
|
+
/** Data for the form */
|
|
914
915
|
data?: JsonFormData;
|
|
916
|
+
/** Form title */
|
|
915
917
|
title?: ioBroker.StringOrTranslated;
|
|
918
|
+
/** Buttons that will be shown on the bottom of the form */
|
|
916
919
|
buttons?: (ActionButton | 'apply' | 'cancel' | 'close')[];
|
|
920
|
+
/** Maximal form width */
|
|
917
921
|
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
918
922
|
/** Minimal width of the dialog */
|
|
919
923
|
minWidth?: number;
|
|
924
|
+
/** Do not translate title */
|
|
920
925
|
noTranslation?: boolean;
|
|
926
|
+
/** Always allow the apply button. Even when nothing was changed */
|
|
927
|
+
ignoreApplyDisabled?: boolean;
|
|
921
928
|
};
|
|
922
929
|
export type JsonFormSchema = ConfigItemPanel | ConfigItemTabs;
|
|
923
930
|
export type JsonFormData = Record<string, any>;
|
package/package.json
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/dm-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "ioBroker Device Manager utilities for backend",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/ioBroker/dm-utils.git"
|
|
12
|
+
},
|
|
9
13
|
"types": "build/index.d.ts",
|
|
10
14
|
"scripts": {
|
|
11
15
|
"build": "tsc -p tsconfig.json",
|
|
12
|
-
"
|
|
16
|
+
"test:package": "node -e \"process.exit(0)\"",
|
|
17
|
+
"lint": "eslint -c eslint.config.mjs src",
|
|
13
18
|
"updateCommonTs": "node tasks.js",
|
|
14
19
|
"prettier": "prettier -u -w examples src",
|
|
15
20
|
"release": "release-script",
|
|
@@ -28,8 +33,8 @@
|
|
|
28
33
|
"@alcalzone/release-script": "^5.0.0",
|
|
29
34
|
"@alcalzone/release-script-plugin-license": "^4.0.0",
|
|
30
35
|
"@iobroker/eslint-config": "^2.2.0",
|
|
31
|
-
"@types/node": "^
|
|
32
|
-
"axios": "^1.
|
|
36
|
+
"@types/node": "^25.0.3",
|
|
37
|
+
"axios": "^1.13.2",
|
|
33
38
|
"typescript": "~5.9.3"
|
|
34
39
|
},
|
|
35
40
|
"files": [
|