@live-change/user-frontend 0.8.13 → 0.8.14
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/build-stats/ssr-srcentryserverjs-outDir-distserver.html +1 -1
- package/build-stats/ssrManifest-outDir-distclient.html +1 -1
- package/front/components.d.ts +1 -0
- package/front/src/Index.vue +12 -0
- package/front/src/NavBar.vue +3 -1
- package/front/src/notifications/NotificationsIcon.vue +1 -1
- package/package.json +26 -26
- package/server/start.js +1 -1
package/front/components.d.ts
CHANGED
package/front/src/Index.vue
CHANGED
|
@@ -2,11 +2,23 @@
|
|
|
2
2
|
<div class="w-full lg:w-6 md:w-9">
|
|
3
3
|
<div class="surface-card border-round shadow-2 p-4">
|
|
4
4
|
<div class="text-900 font-medium mb-3 text-xl">Test Index</div>
|
|
5
|
+
<div>
|
|
6
|
+
<Button @click="testNotification" label="Add test notification" />
|
|
7
|
+
</div>
|
|
5
8
|
</div>
|
|
6
9
|
</div>
|
|
7
10
|
</template>
|
|
8
11
|
|
|
9
12
|
<script setup>
|
|
13
|
+
|
|
14
|
+
import { useApi } from '@live-change/vue3-ssr'
|
|
15
|
+
|
|
16
|
+
const api = useApi()
|
|
17
|
+
|
|
18
|
+
function testNotification() {
|
|
19
|
+
api.actions.notification.testNotification({ })
|
|
20
|
+
}
|
|
21
|
+
|
|
10
22
|
</script>
|
|
11
23
|
|
|
12
24
|
<style scoped>
|
package/front/src/NavBar.vue
CHANGED
|
@@ -52,13 +52,15 @@
|
|
|
52
52
|
|
|
53
53
|
<script setup>
|
|
54
54
|
|
|
55
|
-
import
|
|
55
|
+
import NotificationsIcon from './notifications/NotificationsIcon.vue'
|
|
56
|
+
import NotificationsList from './notifications/NotificationsList.vue'
|
|
56
57
|
|
|
57
58
|
import { UserIcon } from "@live-change/user-frontend"
|
|
58
59
|
|
|
59
60
|
import { useApi } from "@live-change/vue3-ssr"
|
|
60
61
|
import { computed } from "vue"
|
|
61
62
|
|
|
63
|
+
|
|
62
64
|
const api = useApi()
|
|
63
65
|
|
|
64
66
|
const isMember = computed(() => api.client.value.roles.includes('member'))
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
class="align-items-center flex-grow-1 justify-content-between hidden absolute w-full md:w-auto surface-overlay
|
|
13
13
|
right-0 top-100 z-1 shadow-2 overflow-x-hidden overflow-y-auto"
|
|
14
14
|
style="max-height: calc(100vh - 8rem)">
|
|
15
|
-
<loading-zone suspense
|
|
15
|
+
<loading-zone suspense va-if="isMounted">
|
|
16
16
|
<template v-slot:loading>
|
|
17
17
|
<div class="flex align-items-center justify-content-center top-0 left-0 notifications-loading">
|
|
18
18
|
<ProgressSpinner animationDuration=".5s"/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/user-frontend",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.14",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node --inspect --expose-gc server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; node server/start.js localDev --enableSessions --initScript ./init.js",
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
},
|
|
22
22
|
"type": "module",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/cli": "^0.8.
|
|
25
|
-
"@live-change/dao": "^0.8.
|
|
26
|
-
"@live-change/dao-vue3": "^0.8.
|
|
27
|
-
"@live-change/dao-websocket": "^0.8.
|
|
28
|
-
"@live-change/email-service": "^0.8.
|
|
29
|
-
"@live-change/framework": "^0.8.
|
|
30
|
-
"@live-change/identicon-service": "^0.8.
|
|
31
|
-
"@live-change/image-frontend": "^0.8.
|
|
32
|
-
"@live-change/message-authentication-service": "^0.8.
|
|
33
|
-
"@live-change/notification-service": "^0.8.
|
|
34
|
-
"@live-change/password-authentication-service": "^0.8.
|
|
35
|
-
"@live-change/pattern": "^0.8.
|
|
36
|
-
"@live-change/secret-code-service": "^0.8.
|
|
37
|
-
"@live-change/secret-link-service": "^0.8.
|
|
38
|
-
"@live-change/security-frontend": "^0.8.
|
|
39
|
-
"@live-change/security-service": "^0.8.
|
|
40
|
-
"@live-change/session-service": "^0.8.
|
|
41
|
-
"@live-change/timer-service": "^0.8.
|
|
42
|
-
"@live-change/upload-service": "^0.8.
|
|
43
|
-
"@live-change/user-identification-service": "^0.8.
|
|
44
|
-
"@live-change/user-service": "^0.8.
|
|
45
|
-
"@live-change/vue3-components": "^0.8.
|
|
46
|
-
"@live-change/vue3-ssr": "^0.8.
|
|
24
|
+
"@live-change/cli": "^0.8.14",
|
|
25
|
+
"@live-change/dao": "^0.8.14",
|
|
26
|
+
"@live-change/dao-vue3": "^0.8.14",
|
|
27
|
+
"@live-change/dao-websocket": "^0.8.14",
|
|
28
|
+
"@live-change/email-service": "^0.8.14",
|
|
29
|
+
"@live-change/framework": "^0.8.14",
|
|
30
|
+
"@live-change/identicon-service": "^0.8.14",
|
|
31
|
+
"@live-change/image-frontend": "^0.8.14",
|
|
32
|
+
"@live-change/message-authentication-service": "^0.8.14",
|
|
33
|
+
"@live-change/notification-service": "^0.8.14",
|
|
34
|
+
"@live-change/password-authentication-service": "^0.8.14",
|
|
35
|
+
"@live-change/pattern": "^0.8.14",
|
|
36
|
+
"@live-change/secret-code-service": "^0.8.14",
|
|
37
|
+
"@live-change/secret-link-service": "^0.8.14",
|
|
38
|
+
"@live-change/security-frontend": "^0.8.14",
|
|
39
|
+
"@live-change/security-service": "^0.8.14",
|
|
40
|
+
"@live-change/session-service": "^0.8.14",
|
|
41
|
+
"@live-change/timer-service": "^0.8.14",
|
|
42
|
+
"@live-change/upload-service": "^0.8.14",
|
|
43
|
+
"@live-change/user-identification-service": "^0.8.14",
|
|
44
|
+
"@live-change/user-service": "^0.8.14",
|
|
45
|
+
"@live-change/vue3-components": "^0.8.14",
|
|
46
|
+
"@live-change/vue3-ssr": "^0.8.14",
|
|
47
47
|
"@vueuse/core": "^10.7.2",
|
|
48
48
|
"codeceptjs-assert": "^0.0.5",
|
|
49
49
|
"codeceptjs-video-helper": "0.1.3",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"wtfnode": "^0.9.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@live-change/codeceptjs-helper": "^0.8.
|
|
67
|
+
"@live-change/codeceptjs-helper": "^0.8.14",
|
|
68
68
|
"codeceptjs": "^3.5.12",
|
|
69
69
|
"generate-password": "1.7.1",
|
|
70
70
|
"playwright": "^1.41.2",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"author": "",
|
|
76
76
|
"license": "BSD-3-Clause",
|
|
77
77
|
"description": "",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "d81b573fb8891746ae1c67f4f68558123c9f85f7"
|
|
79
79
|
}
|
package/server/start.js
CHANGED