@iobroker/dm-utils 1.0.13 → 1.0.15
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 +4 -1
- package/build/types/common.d.ts +7 -0
- 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,9 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
301
301
|
### **WORK IN PROGRESS**
|
|
302
302
|
-->
|
|
303
303
|
## Changelog
|
|
304
|
+
### 1.0.15 (2026-01-02)
|
|
305
|
+
* (@GermanBluefox) Added `ignoreApplyDisabled` flag
|
|
306
|
+
|
|
304
307
|
### 1.0.13 (2025-10-21)
|
|
305
308
|
* (@GermanBluefox) Updated packages
|
|
306
309
|
|
|
@@ -401,7 +404,7 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
401
404
|
## License
|
|
402
405
|
MIT License
|
|
403
406
|
|
|
404
|
-
Copyright (c) 2023-
|
|
407
|
+
Copyright (c) 2023-2026 ioBroker Community Developers
|
|
405
408
|
|
|
406
409
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
407
410
|
of this software and associated documentation files (the "Software"), to deal
|
package/build/types/common.d.ts
CHANGED
|
@@ -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.15",
|
|
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": [
|