chore: npm upgrades (#21251)

This commit is contained in:
Michael Geers 2025-05-16 11:47:20 +02:00 • committed by GitHub
parent 1c4fe7b7f3
commit cba15ba646
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 1763 additions and 1373 deletions

View file

@ -1,7 +1,7 @@
import "bootstrap/dist/css/bootstrap.min.css";
import "../css/app.css";
import { createApp, h } from "vue";
import { VueHeadMixin, createHead } from "@unhead/vue";
import { VueHeadMixin, createHead } from "@unhead/vue/client";
import App from "./views/App.vue";
import setupRouter from "./router";
import setupI18n from "./i18n";

View file

@ -53,8 +53,7 @@ export default {
return { reconnectTimeout: null, ws: null, authNotConfigured: false };
},
head() {
const siteTitle = store.state.siteTitle;
return { title: siteTitle ? `${siteTitle} | evcc` : "evcc" };
return { title: "...", titleTemplate: "%s | evcc" };
},
computed: {
version() {

View file

@ -494,6 +494,9 @@ export default {
isPageVisible: true,
};
},
head() {
return { title: this.$t("config.main.title") };
},
computed: {
loadpointsRequired() {
return this.loadpoints.length === 0;

View file

@ -74,7 +74,7 @@ export default defineComponent({
};
},
head() {
return { title: `${this.$t("sessions.title")} | evcc` };
return { title: this.$t("energy.title") };
},
computed: {
typeIcons() {

View file

@ -142,6 +142,9 @@ export default {
busy: false,
};
},
head() {
return { title: this.$t("log.title") };
},
computed: {
filteredLines() {
return this.lines.filter(

View file

@ -20,5 +20,13 @@ export default {
data() {
return store;
},
head() {
const title = store.state.siteTitle;
if (title) {
return { title };
}
// no custom title
return { title: "evcc", titleTemplate: null };
},
};
</script>

View file

@ -263,7 +263,7 @@ export default {
};
},
head() {
return { title: `${this.$t("sessions.title")} | evcc` };
return { title: this.$t("sessions.title") };
},
computed: {
currency() {

3107
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -23,7 +23,7 @@
"@popperjs/core": "^2.11.5",
"@types/bootstrap": "^5.2.10",
"@types/canvas-confetti": "^1.9.0",
"@unhead/vue": "^1.8.9",
"@unhead/vue": "^2.0.8",
"@vitejs/plugin-legacy": "^6.0.1",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.2.30",
@ -32,7 +32,7 @@
"@vue/test-utils": "^2.2.7",
"@vue/tsconfig": "^0.7.0",
"axios": "^1.7.4",
"body-parser": "^1.20.2",
"body-parser": "^2.2.0",
"bootstrap": "^5.2.2",
"canvas-confetti": "^1.4.0",
"chart.js": "^4.4.4",
@ -52,7 +52,7 @@
"monaco-editor": "^0.52.2",
"mqtt": "^5.11.0",
"prettier": "^3.0.0",
"prettier-plugin-sh": "^0.15.0",
"prettier-plugin-sh": "^0.17.4",
"rollup-plugin-visualizer": "^5.8.3",
"smoothscroll-polyfill": "^0.4.4",
"snarkdown": "^2.0.0",