system-dashboard-frontend 1.37.21 → 2.0.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "system-dashboard-frontend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -28,31 +28,31 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@kronos-integration/svelte-components": "^3.0.1",
|
|
31
|
-
"mf-styling": "^3.1.
|
|
31
|
+
"mf-styling": "^3.1.7",
|
|
32
32
|
"reader-line-iterator": "^1.2.0",
|
|
33
|
-
"svelte-command": "^
|
|
34
|
-
"svelte-common": "^6.
|
|
33
|
+
"svelte-command": "^3.0.1",
|
|
34
|
+
"svelte-common": "^6.11.3",
|
|
35
35
|
"svelte-guard-history-router": "^6.1.2",
|
|
36
|
-
"svelte-log-view": "^
|
|
37
|
-
"svelte-session-manager": "^
|
|
36
|
+
"svelte-log-view": "^6.3.0",
|
|
37
|
+
"svelte-session-manager": "^3.0.0",
|
|
38
38
|
"svelte-websocket-store": "^1.1.34"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
42
42
|
"@semantic-release/exec": "^6.0.3",
|
|
43
|
-
"@semantic-release/github": "^10.1.
|
|
43
|
+
"@semantic-release/github": "^10.1.3",
|
|
44
44
|
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
45
45
|
"@sveltejs/vite-plugin-svelte": "^3.1.1",
|
|
46
|
-
"npm-pkgbuild": "^15.3.
|
|
46
|
+
"npm-pkgbuild": "^15.3.29",
|
|
47
47
|
"semantic-release": "^24.0.0",
|
|
48
|
-
"stylelint": "^16.
|
|
48
|
+
"stylelint": "^16.8.1",
|
|
49
49
|
"stylelint-config-standard": "^36.0.1",
|
|
50
|
-
"svelte": "^5.0.0-next.
|
|
51
|
-
"vite": "^5.3.
|
|
52
|
-
"vite-plugin-compression2": "^1.1.
|
|
50
|
+
"svelte": "^5.0.0-next.208",
|
|
51
|
+
"vite": "^5.3.5",
|
|
52
|
+
"vite-plugin-compression2": "^1.1.3"
|
|
53
53
|
},
|
|
54
54
|
"optionalDependencies": {
|
|
55
|
-
"mf-hosting-frontend": "^3.2.
|
|
55
|
+
"mf-hosting-frontend": "^3.2.2"
|
|
56
56
|
},
|
|
57
57
|
"repository": {
|
|
58
58
|
"type": "git",
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
import { lineIterator } from "reader-line-iterator";
|
|
4
4
|
import JournalEntry from "./JournalEntry.svelte";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
export let headers;
|
|
8
|
-
export let query = {};
|
|
9
|
-
export let visibleRows = 30;
|
|
6
|
+
let { api, headers, query = {}, visibleRows = 30 } = $props();
|
|
10
7
|
|
|
11
8
|
/**
|
|
12
9
|
* Decodes json lines
|
|
@@ -23,8 +20,7 @@
|
|
|
23
20
|
* https://www.man7.org/linux/man-pages/man8/systemd-journal-gatewayd.service.8.html
|
|
24
21
|
*/
|
|
25
22
|
|
|
26
|
-
let follow;
|
|
27
|
-
let entries = [];
|
|
23
|
+
let follow = $state(false);
|
|
28
24
|
let controller;
|
|
29
25
|
|
|
30
26
|
const source = {
|
|
@@ -69,14 +65,17 @@
|
|
|
69
65
|
};
|
|
70
66
|
</script>
|
|
71
67
|
|
|
68
|
+
{#snippet row(entry,selected,position,follow)}
|
|
69
|
+
<JournalEntry {entry} highlight={selected === position} {follow} />
|
|
70
|
+
{/snippet}
|
|
71
|
+
|
|
72
72
|
<LogView
|
|
73
73
|
{visibleRows}
|
|
74
74
|
{source}
|
|
75
|
-
bind:entries
|
|
76
75
|
let:entry
|
|
77
76
|
bind:follow
|
|
78
77
|
let:selected
|
|
79
78
|
let:position
|
|
79
|
+
{row}
|
|
80
80
|
>
|
|
81
|
-
<JournalEntry {entry} highlight={selected === position} {follow} />
|
|
82
81
|
</LogView>
|
package/vite.config.mts
CHANGED
|
@@ -42,12 +42,18 @@ export default defineConfig(async ({ command, mode }) => {
|
|
|
42
42
|
compression({
|
|
43
43
|
algorithm: "brotliCompress",
|
|
44
44
|
exclude: [
|
|
45
|
+
/\.(map)$/,
|
|
45
46
|
/\.(br)$/,
|
|
46
47
|
/\.(gz)$/,
|
|
47
48
|
/\.(png)$/,
|
|
48
49
|
/\.(jpg)$/,
|
|
50
|
+
/\.(gif)$/,
|
|
49
51
|
/\.(webp)$/,
|
|
50
|
-
/\.(
|
|
52
|
+
/\.(heic)$/,
|
|
53
|
+
/\.(avif)$/,
|
|
54
|
+
/\.(jxl)$/,
|
|
55
|
+
/\.(pdf)$/,
|
|
56
|
+
/\.(docx)$/
|
|
51
57
|
],
|
|
52
58
|
threshold: 500
|
|
53
59
|
})
|