@nextcloud/files 3.12.0 → 3.12.1
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/dist/chunks/dav-CQDyL7M_.mjs.map +1 -1
- package/dist/chunks/dav-CqLa8DSX.cjs.map +1 -1
- package/dist/index.cjs +93 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +99 -32
- package/dist/index.mjs.map +1 -1
- package/dist/navigation/view.d.ts +9 -2
- package/package.json +33 -26
- package/dist/vendor.LICENSE.txt +0 -21
|
@@ -16,6 +16,15 @@ interface ViewData {
|
|
|
16
16
|
emptyTitle?: string;
|
|
17
17
|
/** Translated description of the empty view */
|
|
18
18
|
emptyCaption?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Custom implementation of the empty view.
|
|
21
|
+
* If set and no content is found for the current view,
|
|
22
|
+
* then this method is called with the container element
|
|
23
|
+
* where to render your empty view implementation.
|
|
24
|
+
*
|
|
25
|
+
* @param div - The container element to render into
|
|
26
|
+
*/
|
|
27
|
+
emptyView?: (div: HTMLDivElement) => void;
|
|
19
28
|
/**
|
|
20
29
|
* Method return the content of the provided path
|
|
21
30
|
* This ideally should be a cancellable promise.
|
|
@@ -47,8 +56,6 @@ interface ViewData {
|
|
|
47
56
|
* by default always included
|
|
48
57
|
*/
|
|
49
58
|
columns?: Column[];
|
|
50
|
-
/** The empty view element to render your empty content into */
|
|
51
|
-
emptyView?: (div: HTMLDivElement) => void;
|
|
52
59
|
/** The parent unique ID */
|
|
53
60
|
parent?: string;
|
|
54
61
|
/** This view is sticky (sent at the bottom) */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextcloud/files",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.1",
|
|
4
4
|
"description": "Nextcloud files utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nextcloud",
|
|
@@ -47,47 +47,54 @@
|
|
|
47
47
|
"test:watch": "vitest watch",
|
|
48
48
|
"watch": "vite --mode development build --watch"
|
|
49
49
|
},
|
|
50
|
+
"overrides": {
|
|
51
|
+
"@codecov/vite-plugin": {
|
|
52
|
+
"vite": "^7.0"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
50
55
|
"dependencies": {
|
|
51
|
-
"@nextcloud/auth": "^2.5.
|
|
52
|
-
"@nextcloud/capabilities": "^1.2.
|
|
53
|
-
"@nextcloud/l10n": "^3.
|
|
54
|
-
"@nextcloud/logger": "^3.0.
|
|
55
|
-
"@nextcloud/paths": "^2.
|
|
56
|
-
"@nextcloud/router": "^3.0
|
|
57
|
-
"@nextcloud/sharing": "^0.
|
|
56
|
+
"@nextcloud/auth": "^2.5.3",
|
|
57
|
+
"@nextcloud/capabilities": "^1.2.1",
|
|
58
|
+
"@nextcloud/l10n": "^3.4.1",
|
|
59
|
+
"@nextcloud/logger": "^3.0.3",
|
|
60
|
+
"@nextcloud/paths": "^2.3.0",
|
|
61
|
+
"@nextcloud/router": "^3.1.0",
|
|
62
|
+
"@nextcloud/sharing": "^0.3.0",
|
|
58
63
|
"cancelable-promise": "^4.3.1",
|
|
59
|
-
"is-svg": "^6.
|
|
64
|
+
"is-svg": "^6.1.0",
|
|
60
65
|
"typescript-event-target": "^1.1.1",
|
|
61
66
|
"webdav": "^5.8.0"
|
|
62
67
|
},
|
|
63
68
|
"devDependencies": {
|
|
64
69
|
"@codecov/vite-plugin": "^1.9.1",
|
|
65
70
|
"@nextcloud/eslint-config": "^8.4.2",
|
|
66
|
-
"@nextcloud/event-bus": "^3.3.
|
|
67
|
-
"@nextcloud/typings": "^1.
|
|
68
|
-
"@nextcloud/vite-config": "^2.
|
|
69
|
-
"@types/node": "^24.
|
|
70
|
-
"@vitest/coverage-istanbul": "^
|
|
71
|
-
"fast-xml-parser": "^5.2
|
|
72
|
-
"jsdom": "^
|
|
71
|
+
"@nextcloud/event-bus": "^3.3.3",
|
|
72
|
+
"@nextcloud/typings": "^1.10.0",
|
|
73
|
+
"@nextcloud/vite-config": "^2.5.2",
|
|
74
|
+
"@types/node": "^24.10.3",
|
|
75
|
+
"@vitest/coverage-istanbul": "^4.0.15",
|
|
76
|
+
"fast-xml-parser": "^5.3.2",
|
|
77
|
+
"jsdom": "^27.3.0",
|
|
73
78
|
"tslib": "^2.8.1",
|
|
74
|
-
"typedoc": "^0.28.
|
|
75
|
-
"typedoc-plugin-missing-exports": "^4.
|
|
76
|
-
"typescript": "^5.
|
|
77
|
-
"vite": "^
|
|
78
|
-
"vitest": "^
|
|
79
|
+
"typedoc": "^0.28.15",
|
|
80
|
+
"typedoc-plugin-missing-exports": "^4.1.2",
|
|
81
|
+
"typescript": "^5.9.3",
|
|
82
|
+
"vite": "^7.2.7",
|
|
83
|
+
"vitest": "^4.0.6"
|
|
79
84
|
},
|
|
80
85
|
"engines": {
|
|
81
86
|
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
|
82
87
|
},
|
|
83
88
|
"devEngines": {
|
|
84
|
-
"packageManager":
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
"packageManager": [
|
|
90
|
+
{
|
|
91
|
+
"name": "npm",
|
|
92
|
+
"version": "^11.3.0"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
88
95
|
"runtime": {
|
|
89
96
|
"name": "node",
|
|
90
|
-
"version": "^
|
|
97
|
+
"version": "^24.0.0"
|
|
91
98
|
}
|
|
92
99
|
}
|
|
93
100
|
}
|
package/dist/vendor.LICENSE.txt
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
Included dependencies:
|
|
2
|
-
|
|
3
|
-
@file-type/xml
|
|
4
|
-
version: 0.4.3
|
|
5
|
-
license: MIT
|
|
6
|
-
|
|
7
|
-
@nextcloud/event-bus
|
|
8
|
-
version: 3.3.2
|
|
9
|
-
license: GPL-3.0-or-later
|
|
10
|
-
|
|
11
|
-
is-svg
|
|
12
|
-
version: 6.0.0
|
|
13
|
-
license: MIT
|
|
14
|
-
|
|
15
|
-
sax
|
|
16
|
-
version: 1.4.1
|
|
17
|
-
license: ISC
|
|
18
|
-
|
|
19
|
-
semver
|
|
20
|
-
version: 7.6.3
|
|
21
|
-
license: ISC
|