system-dashboard-frontend 2.1.2 → 2.1.4
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": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@kronos-integration/svelte-components": "^4.0.7",
|
|
32
|
-
"mf-styling": "^3.
|
|
32
|
+
"mf-styling": "^3.3.0",
|
|
33
33
|
"reader-line-iterator": "^1.2.3",
|
|
34
|
-
"svelte-command": "^3.0.
|
|
35
|
-
"svelte-common": "^6.19.
|
|
36
|
-
"svelte-guard-history-router": "^7.0.
|
|
37
|
-
"svelte-log-view": "^6.4.
|
|
38
|
-
"svelte-session-manager": "^3.0.
|
|
34
|
+
"svelte-command": "^3.0.50",
|
|
35
|
+
"svelte-common": "^6.19.44",
|
|
36
|
+
"svelte-guard-history-router": "^7.0.6",
|
|
37
|
+
"svelte-log-view": "^6.4.1",
|
|
38
|
+
"svelte-session-manager": "^3.0.68",
|
|
39
39
|
"svelte-websocket-store": "^1.2.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { lineIterator } from "reader-line-iterator";
|
|
4
4
|
import JournalEntry from "./JournalEntry.svelte";
|
|
5
5
|
|
|
6
|
-
let { api, headers, query = {}, visibleRows = 30 } = $props();
|
|
6
|
+
let { api, headers, query = $bindable({}), visibleRows = $bindable(30) } = $props();
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Decodes json lines
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
bind:follow
|
|
77
77
|
let:selected
|
|
78
78
|
let:position
|
|
79
|
+
fetchAboveRows={10}
|
|
79
80
|
{row}
|
|
80
81
|
>
|
|
81
82
|
</LogView>
|
package/src/pages/Journal.svelte
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
import JournalView from "../components/JournalView.svelte";
|
|
3
3
|
import { session } from "../session.mjs";
|
|
4
4
|
import { journalEndpoint } from "../constants.mjs";
|
|
5
|
+
|
|
6
|
+
let innerHeight = $state(window.innerHeight);
|
|
7
|
+
|
|
8
|
+
let visibleRows = $derived(Math.floor(innerHeight / 13) - 30);
|
|
5
9
|
</script>
|
|
6
10
|
|
|
7
|
-
<
|
|
11
|
+
<svelte:window bind:innerHeight />
|
|
12
|
+
|
|
13
|
+
<JournalView
|
|
14
|
+
headers={session.authorizationHeader}
|
|
15
|
+
api={journalEndpoint}
|
|
16
|
+
bind:visibleRows
|
|
17
|
+
/>
|