@cloudron/pankow 4.1.6 → 4.1.8

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.
@@ -85,7 +85,7 @@ function confirm(options) {
85
85
  if (options.confirmStyle) confirmStyle.value = options.confirmStyle;
86
86
  if (options.rejectStyle) rejectStyle.value = options.rejectStyle;
87
87
 
88
- autoCloseOnConfirm.value = !!options.autoCloseOnConfirm;
88
+ if (typeof options.autoCloseOnConfirm !== 'undefined') autoCloseOnConfirm.value = !!options.autoCloseOnConfirm;
89
89
 
90
90
  dialog.value.open();
91
91
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudron/pankow",
3
3
  "private": false,
4
- "version": "4.1.6",
4
+ "version": "4.1.8",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "types": "types/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@fontsource/inter": "^5.2.8",
26
26
  "@fortawesome/fontawesome-free": "^7.2.0",
27
- "filesize": "^11.0.13",
27
+ "filesize": "^11.0.15",
28
28
  "monaco-editor": "^0.55.1",
29
29
  "online-3d-viewer": "^0.18.0"
30
30
  },
@@ -32,9 +32,9 @@
32
32
  "@highlightjs/vue-plugin": "^2.1.0",
33
33
  "@vitejs/plugin-vue": "^6.0.5",
34
34
  "highlight.js": "^11.11.1",
35
- "typescript": "^5.9.3",
36
- "vite": "^8.0.1",
37
- "vue": "^3.5.30",
35
+ "typescript": "^6.0.2",
36
+ "vite": "^8.0.3",
37
+ "vue": "^3.5.31",
38
38
  "vue-router": "^5.0.4"
39
39
  }
40
40
  }
@@ -11,7 +11,7 @@ export default _default;
11
11
  declare namespace globalOptions {
12
12
  let credentials: string;
13
13
  let redirect: string;
14
- let errorHook: any;
14
+ let errorHook: null;
15
15
  }
16
16
  declare function head(uri: any, query?: {}, options?: {}): Promise<{
17
17
  status: number;
package/types/utils.d.ts CHANGED
@@ -34,13 +34,13 @@ export function isValidDomainOrURL(domain: any): boolean;
34
34
  export function isValidEmail(email: any): boolean;
35
35
  export function prettyBinarySize(size: any, fallback: any): any;
36
36
  export function prettyDecimalSize(size: any, fallback: any): any;
37
- export function prettyDate(value: any): any;
37
+ export function prettyDate(value: any): string;
38
38
  export function prettyShortDate(value: any): string;
39
39
  export function formatDate(format: any, value: any): any;
40
40
  export function prettyLongDate(value: any): string;
41
41
  export function prettyFileSize(value: any): string;
42
42
  export function prettyEmailAddresses(addresses: any): any;
43
- export function prettyDuration(ms: any): any;
43
+ export function prettyDuration(ms: any): string;
44
44
  export function sanitize(path: any): any;
45
45
  export function pathJoin(...args: any[]): any;
46
46
  export function download(entries: any, name: any): void;
@@ -56,5 +56,5 @@ export function parseResourcePath(resourcePath: any): {
56
56
  };
57
57
  export function getEntryIdentifier(entry: any): string;
58
58
  export function entryListSort(list: any, prop: any, desc: any): any;
59
- export function sleep(ms: any): any;
59
+ export function sleep(ms: any): Promise<any>;
60
60
  export function uuidv4(): string;