@live-change/frontend-base 0.9.44 → 0.9.46
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/index.js +1 -2
- package/package.json +18 -18
- package/NavBar.vue +0 -95
package/index.js
CHANGED
|
@@ -3,10 +3,9 @@ export { ComponentDialog }
|
|
|
3
3
|
|
|
4
4
|
import ViewRoot from "./ViewRoot.vue"
|
|
5
5
|
import Page from "./Page.vue"
|
|
6
|
-
import NavBar from "./NavBar.vue"
|
|
7
6
|
import UpdateBanner from "./UpdateBanner.vue"
|
|
8
7
|
|
|
9
|
-
export { ViewRoot, Page,
|
|
8
|
+
export { ViewRoot, Page, UpdateBanner }
|
|
10
9
|
|
|
11
10
|
import { useHost } from "./host.js"
|
|
12
11
|
export { useHost }
|
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.46",
|
|
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.46",
|
|
39
|
+
"@live-change/dao": "^0.9.46",
|
|
40
|
+
"@live-change/dao-message": "^0.9.46",
|
|
41
|
+
"@live-change/dao-sockjs": "^0.9.46",
|
|
42
|
+
"@live-change/dao-vue3": "^0.9.46",
|
|
43
|
+
"@live-change/dao-websocket": "^0.9.46",
|
|
44
|
+
"@live-change/email-service": "^0.9.46",
|
|
45
|
+
"@live-change/password-authentication-service": "^0.9.46",
|
|
46
|
+
"@live-change/secret-code-service": "^0.9.46",
|
|
47
|
+
"@live-change/secret-link-service": "^0.9.46",
|
|
48
|
+
"@live-change/security-frontend": "^0.9.46",
|
|
49
|
+
"@live-change/session-service": "^0.9.46",
|
|
50
|
+
"@live-change/user-service": "^0.9.46",
|
|
51
|
+
"@live-change/vue3-components": "^0.9.46",
|
|
52
|
+
"@live-change/vue3-ssr": "^0.9.46",
|
|
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.46",
|
|
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": "9d2fe9cbfb28f6cd389c8cbc5cf051f583f58e9e"
|
|
123
123
|
}
|
package/NavBar.vue
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="bg-surface-0 dark:bg-surface-900 py-1 px-6 shadow flex items-center justify-content-between
|
|
3
|
-
relative md:sticky top-0 z-5"
|
|
4
|
-
style="min-height: 80px" key="navbar">
|
|
5
|
-
|
|
6
|
-
<router-link to="/" class="no-underline mr-0 lg:mr-12">
|
|
7
|
-
<div class="flex items-center text-2xl text-surface-800 dark:text-surface-50 font-medium">
|
|
8
|
-
<img src="/images/logo.svg" alt="Logo" class="w-12 mr-3">
|
|
9
|
-
<span class="hidden md:block">
|
|
10
|
-
Live
|
|
11
|
-
</span>
|
|
12
|
-
<span class="hidden md:block text-primary-400">
|
|
13
|
-
Change
|
|
14
|
-
</span>
|
|
15
|
-
<span class="hidden md:block ml-2">
|
|
16
|
-
App
|
|
17
|
-
</span>
|
|
18
|
-
</div>
|
|
19
|
-
</router-link>
|
|
20
|
-
|
|
21
|
-
<div class="align-items-center flex-grow-1 justify-content-between hidden lg:block lg:ml-6 absolute lg:static w-full
|
|
22
|
-
bg-surface-0 dark:bg-surface-900 left-0 top-1/1 z-1 shadow lg:shadow-none top-menu
|
|
23
|
-
dark:border-t-1 dark:border-surface-700 md:dark:border-t-0">
|
|
24
|
-
<ul class="list-none p-0 m-0 flex items-end lg:items-center select-none flex-col lg:flex-row justify-end">
|
|
25
|
-
<li class="w-1/1 lg:w-auto">
|
|
26
|
-
<router-link
|
|
27
|
-
:to="'/'" v-ripple
|
|
28
|
-
class="flex justify-end px-6 p-3 lg:px-3 lg:py-2 items-center
|
|
29
|
-
text-surface-600 hover:text-900 hover:bg-surface-100
|
|
30
|
-
dark:text-primary-400 dark:hover:text-primary-100 dark:hover:bg-surface-800
|
|
31
|
-
font-medium text-2xl md:text-xl border-round cursor-pointer transition-colors
|
|
32
|
-
transition-duration-150 p-ripple no-underline">
|
|
33
|
-
<!-- <i class="pi pi-home mr-2"></i>-->
|
|
34
|
-
<span>Home</span>
|
|
35
|
-
</router-link>
|
|
36
|
-
</li>
|
|
37
|
-
<li v-if="!client.user" class="w-1/1 lg:w-auto">
|
|
38
|
-
<router-link
|
|
39
|
-
:to="{ name: 'user:signInEmail' }" v-ripple
|
|
40
|
-
class="flex justify-end px-6 p-3 lg:px-3 lg:py-2 align-items-center
|
|
41
|
-
text-surface-600 hover:text-900 hover:bg-surface-100
|
|
42
|
-
dark:text-primary-400 dark:hover:text-primary-100 dark:hover:bg-surface-800
|
|
43
|
-
font-medium text-2xl md:text-xl border-round cursor-pointer transition-colors
|
|
44
|
-
transition-duration-150 p-ripple no-underline">
|
|
45
|
-
<!-- <i class="pi pi-home mr-2"></i>-->
|
|
46
|
-
<span>Sign in</span>
|
|
47
|
-
</router-link>
|
|
48
|
-
</li>
|
|
49
|
-
<li v-if="!client.user" class="w-1/1 lg:w-auto">
|
|
50
|
-
<router-link
|
|
51
|
-
:to="{ name: 'user:signUpEmail' }" v-ripple
|
|
52
|
-
class="flex justify-end px-6 p-3 lg:px-3 lg:py-2 align-items-center
|
|
53
|
-
text-surface-600 hover:text-900 hover:bg-surface-100
|
|
54
|
-
dark:text-primary-400 dark:hover:text-primary-100 dark:hover:bg-surface-800
|
|
55
|
-
font-medium text-2xl md:text-xl border-round cursor-pointer transition-colors
|
|
56
|
-
transition-duration-150 p-ripple no-underline">
|
|
57
|
-
<!-- <i class="pi pi-home mr-2"></i>-->
|
|
58
|
-
<span>Sign up</span>
|
|
59
|
-
</router-link>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<div class="flex grow"></div>
|
|
65
|
-
|
|
66
|
-
<NotificationsIcon v-if="client.user" />
|
|
67
|
-
|
|
68
|
-
<UserIcon v-if="client.user" />
|
|
69
|
-
|
|
70
|
-
<a v-ripple class="cursor-pointer flex items-center justify-content-center no-underline lg:hidden text-surface-700 dark:text-surface-100 p-ripple
|
|
71
|
-
ml-2 hover:bg-surface-100 dark:hover:bg-surface-700 p-2"
|
|
72
|
-
v-styleclass="{
|
|
73
|
-
selector: '.top-menu', enterFromClass: 'hidden', leaveToClass: 'hidden', hideOnOutsideClick: true
|
|
74
|
-
}">
|
|
75
|
-
<i class="pi pi-bars" style="font-size: 2.46rem;"></i>
|
|
76
|
-
</a>
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
</div>
|
|
80
|
-
</template>
|
|
81
|
-
|
|
82
|
-
<script setup>
|
|
83
|
-
|
|
84
|
-
import { NotificationsIcon } from "@live-change/user-frontend"
|
|
85
|
-
|
|
86
|
-
import { UserIcon } from "@live-change/user-frontend"
|
|
87
|
-
import { client as useClient, useApi } from '@live-change/vue3-ssr'
|
|
88
|
-
const client = useClient()
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
</script>
|
|
92
|
-
|
|
93
|
-
<style scoped>
|
|
94
|
-
|
|
95
|
-
</style>
|