@live-change/frontend-base 0.9.51 → 0.9.52
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/UpdateBanner.vue +6 -6
- package/package.json +18 -18
package/UpdateBanner.vue
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="updateAvailable && !updateBannerHidden" class="bg-yellow-400 text-gray-900 p-3 flex
|
|
3
|
-
justify-
|
|
3
|
+
justify-between lg:justify-center items-center flex-wrap">
|
|
4
4
|
<div class="font-bold mr-20">{{ t('app.updateAvailable') }}</div>
|
|
5
5
|
<div class="items-center hidden md:flex">
|
|
6
6
|
<span class="leading-normal">{{ t("app.newVersions") }}</span>
|
|
7
7
|
</div>
|
|
8
8
|
<div class="flex items-center ml-2 mr-20">
|
|
9
9
|
<a class="text-gray-900" href="#" @click="update">
|
|
10
|
-
<span class="underline font-bold">{{ t("app.reload") }}</span>
|
|
10
|
+
<span class="underline font-bold hover:no-underline">{{ t("app.reload") }}</span>
|
|
11
11
|
</a>
|
|
12
12
|
</div>
|
|
13
|
-
<a v-ripple class="flex
|
|
14
|
-
hover:bg-
|
|
13
|
+
<a v-ripple class="flex items-center no-underline justify-center border-circle text-gray-900
|
|
14
|
+
hover:bg-yellow-300 cursor-pointer transition-colors transition-duration-150 p-ripple"
|
|
15
15
|
style="width:2rem; height: 2rem" @click="hideUpdateBanner">
|
|
16
16
|
<i class="pi pi-times"></i>
|
|
17
17
|
</a>
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
const codeVersion = ref(ENV_VERSION)
|
|
32
32
|
|
|
33
33
|
const updateAvailable = computed(
|
|
34
|
-
() => codeVersion.value !== 'unknown'
|
|
35
|
-
&& api.metadata.version.value && api.metadata.version.value !== codeVersion.value
|
|
34
|
+
() => true /* codeVersion.value !== 'unknown'
|
|
35
|
+
&& api.metadata.version.value && api.metadata.version.value !== codeVersion.value */
|
|
36
36
|
)
|
|
37
37
|
const updateBannerHidden = ref(false)
|
|
38
38
|
function hideUpdateBanner() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/frontend-base",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.52",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --templatePath ../../base-frontend/index.html",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"@lezer/rust": "=1.0.1",
|
|
36
36
|
"@lezer/sass": "=1.0.3",
|
|
37
37
|
"@lezer/xml": "=1.0.2",
|
|
38
|
-
"@live-change/cli": "^0.9.
|
|
39
|
-
"@live-change/dao": "^0.9.
|
|
40
|
-
"@live-change/dao-message": "^0.9.
|
|
41
|
-
"@live-change/dao-sockjs": "^0.9.
|
|
42
|
-
"@live-change/dao-vue3": "^0.9.
|
|
43
|
-
"@live-change/dao-websocket": "^0.9.
|
|
44
|
-
"@live-change/email-service": "^0.9.
|
|
45
|
-
"@live-change/password-authentication-service": "^0.9.
|
|
46
|
-
"@live-change/secret-code-service": "^0.9.
|
|
47
|
-
"@live-change/secret-link-service": "^0.9.
|
|
48
|
-
"@live-change/security-frontend": "^0.9.
|
|
49
|
-
"@live-change/session-service": "^0.9.
|
|
50
|
-
"@live-change/user-service": "^0.9.
|
|
51
|
-
"@live-change/vue3-components": "^0.9.
|
|
52
|
-
"@live-change/vue3-ssr": "^0.9.
|
|
38
|
+
"@live-change/cli": "^0.9.52",
|
|
39
|
+
"@live-change/dao": "^0.9.52",
|
|
40
|
+
"@live-change/dao-message": "^0.9.52",
|
|
41
|
+
"@live-change/dao-sockjs": "^0.9.52",
|
|
42
|
+
"@live-change/dao-vue3": "^0.9.52",
|
|
43
|
+
"@live-change/dao-websocket": "^0.9.52",
|
|
44
|
+
"@live-change/email-service": "^0.9.52",
|
|
45
|
+
"@live-change/password-authentication-service": "^0.9.52",
|
|
46
|
+
"@live-change/secret-code-service": "^0.9.52",
|
|
47
|
+
"@live-change/secret-link-service": "^0.9.52",
|
|
48
|
+
"@live-change/security-frontend": "^0.9.52",
|
|
49
|
+
"@live-change/session-service": "^0.9.52",
|
|
50
|
+
"@live-change/user-service": "^0.9.52",
|
|
51
|
+
"@live-change/vue3-components": "^0.9.52",
|
|
52
|
+
"@live-change/vue3-ssr": "^0.9.52",
|
|
53
53
|
"@primevue/themes": "^4.2.5",
|
|
54
54
|
"@tailwindcss/vite": "4.0.6",
|
|
55
55
|
"@unhead/ssr": "^1.6.2",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"vue3-scroll-border": "0.1.6"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@live-change/codeceptjs-helper": "^0.9.
|
|
108
|
+
"@live-change/codeceptjs-helper": "^0.9.52",
|
|
109
109
|
"codeceptjs": "^3.6.10",
|
|
110
110
|
"generate-password": "1.7.1",
|
|
111
111
|
"playwright": "1.49.1",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
120
120
|
"license": "BSD-3-Clause",
|
|
121
121
|
"description": "",
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "aa4c4be4492a73b2ac75cd3daab782d91e45e3bf"
|
|
123
123
|
}
|