@live-change/user-frontend 0.9.32 → 0.9.34
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/front/locales/en.json +3 -1
- package/front/src/App.vue +32 -1
- package/front/src/Index.vue +3 -3
- package/front/src/NavBar.vue +8 -8
- package/front/src/SettingsTabs.vue +1 -1
- package/front/src/config.js +19 -0
- package/front/src/connected/ConnectEmail.vue +13 -10
- package/front/src/connected/ConnectFinished.vue +4 -4
- package/front/src/connected/ConnectPhone.vue +13 -9
- package/front/src/connected/Connected.vue +13 -13
- package/front/src/delete/Delete.vue +5 -5
- package/front/src/delete/DeleteFeedbackSent.vue +4 -4
- package/front/src/delete/DeleteFinished.vue +6 -6
- package/front/src/google-access/GoogleAccess.vue +4 -4
- package/front/src/google-access/GoogleAccessGained.vue +6 -6
- package/front/src/identification/IdentificationSettings.vue +17 -14
- package/front/src/identification/UserIdentification.vue +8 -8
- package/front/src/locale/LocaleSettings.vue +9 -7
- package/front/src/message-auth/MessageLink.vue +12 -12
- package/front/src/message-auth/MessageSent.vue +20 -17
- package/front/src/message-auth/email/ConnectEmail.vue +1 -1
- package/front/src/message-auth/email/ResetPasswordEmail.vue +1 -1
- package/front/src/message-auth/email/SignInEmail.vue +1 -1
- package/front/src/message-auth/email/SignUpEmail.vue +1 -1
- package/front/src/nav/UserIcon.vue +11 -12
- package/front/src/nav/UserMenu.vue +20 -15
- package/front/src/notifications/NotificationButtons.vue +3 -3
- package/front/src/notifications/NotificationListPage.vue +2 -2
- package/front/src/notifications/NotificationsIcon.vue +12 -10
- package/front/src/notifications/NotificationsList.vue +4 -4
- package/front/src/notifications/NotificationsSettings.vue +4 -4
- package/front/src/notifications/SimpleNotification.vue +3 -3
- package/front/src/password/ChangePassword.vue +19 -14
- package/front/src/password/ChangePasswordFinished.vue +4 -4
- package/front/src/password/Password.vue +406 -449
- package/front/src/password/ResetPassword.vue +11 -8
- package/front/src/password/ResetPasswordFinished.vue +4 -4
- package/front/src/password/ResetPasswordForm.vue +22 -19
- package/front/src/phone/CountryInput.vue +13 -15
- package/front/src/phone/PhoneInput.vue +3 -3
- package/front/src/settings/Settings.vue +5 -5
- package/front/src/settings/SettingsIndex.vue +4 -4
- package/front/src/settings/SettingsMenu.vue +10 -10
- package/front/src/sign/GoogleAuth.vue +4 -4
- package/front/src/sign/GoogleAuthReturn.vue +4 -4
- package/front/src/sign/LinkedinAuth.vue +4 -4
- package/front/src/sign/LinkedinAuthReturn.vue +4 -4
- package/front/src/sign/SignInEmail.vue +22 -21
- package/front/src/sign/SignInFinished.vue +6 -6
- package/front/src/sign/SignOut.vue +5 -5
- package/front/src/sign/SignOutFinished.vue +4 -4
- package/front/src/sign/SignUpEmail.vue +14 -13
- package/front/src/sign/SignUpFinished.vue +19 -16
- package/package.json +26 -26
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="w-full lg:w-6 md:w-9" v-shared-element:form="{ duration: '300ms', includeChildren: true }">
|
|
3
|
-
<div class="surface-
|
|
4
|
-
<div class="text-center mb-
|
|
5
|
-
<div class="text-900 text-3xl font-medium mb-
|
|
2
|
+
<div class="w-full lg:w-6/12 md:w-9/12" v-shared-element:form="{ duration: '300ms', includeChildren: true }">
|
|
3
|
+
<div class="bg-surface-0 dark:bg-surface-900 rounded-border shadow p-6">
|
|
4
|
+
<div class="text-center mb-8">
|
|
5
|
+
<div class="text-surface-900 dark:text-surface-0 text-3xl font-medium mb-4">
|
|
6
6
|
Signed Up
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
|
-
<p class="mt-0 p-0
|
|
9
|
+
<p class="mt-0 p-0 leading-normal">
|
|
10
10
|
Congratulations! You have successfully created your account.
|
|
11
11
|
<span v-if="needPassword && !afterSignIn">
|
|
12
12
|
You can now set password to secure your account.
|
|
13
13
|
</span>
|
|
14
|
-
<div v-else-if="afterSignIn" class="flex flex-row justify-
|
|
14
|
+
<div v-else-if="afterSignIn" class="flex flex-row justify-center items-center">
|
|
15
15
|
<router-link :to="afterSignIn" class="no-underline">
|
|
16
16
|
<Button label="Next" v-ripple />
|
|
17
17
|
</router-link>
|
|
18
|
-
<p class="ml-
|
|
18
|
+
<p class="ml-6" v-if="isMounted && redirectTime">
|
|
19
19
|
Redirect in {{ pluralize('second', Math.ceil((redirectTime - currentTime) / 1000), true) }}...
|
|
20
20
|
</p>
|
|
21
21
|
</div>
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
</p>
|
|
28
28
|
</div>
|
|
29
29
|
|
|
30
|
-
<div class="surface-
|
|
31
|
-
<div class="text-center mb-
|
|
32
|
-
<div class="text-900 text-3xl font-medium mb-
|
|
30
|
+
<div class="bg-surface-0 dark:bg-surface-900 p-6 shadow rounded-border mt-2" v-if="needPassword && !afterSignIn">
|
|
31
|
+
<div class="text-center mb-8">
|
|
32
|
+
<div class="text-surface-900 dark:text-surface-0 text-3xl font-medium mb-4">
|
|
33
33
|
{{ passwordExists ? 'Change password' : 'Set password' }}
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
|
|
41
41
|
<template v-if="isMounted">
|
|
42
42
|
|
|
43
|
-
<div class="p-field mb-
|
|
44
|
-
<label for="newPassword" class="block text-900 font-medium mb-2">New password</label>
|
|
43
|
+
<div class="p-field mb-4">
|
|
44
|
+
<label for="newPassword" class="block text-surface-900 dark:text-surface-0 font-medium mb-2">New password</label>
|
|
45
45
|
<Password id="newPassword" class="w-full" inputClass="w-full"
|
|
46
46
|
toggleMask v-model:masked="masked"
|
|
47
|
-
:
|
|
47
|
+
:invalid="!!data.passwordHashError"
|
|
48
48
|
v-model="data.passwordHash">
|
|
49
49
|
<template #footer>
|
|
50
50
|
<Divider />
|
|
@@ -57,11 +57,13 @@
|
|
|
57
57
|
</ul>
|
|
58
58
|
</template>
|
|
59
59
|
</Password>
|
|
60
|
-
<
|
|
60
|
+
<Message v-if="data.passwordHashError" severity="error" variant="simple" size="small">
|
|
61
|
+
{{ t(`errors.${data.passwordHashError}`) }}
|
|
62
|
+
</Message>
|
|
61
63
|
</div>
|
|
62
64
|
|
|
63
|
-
<div class="p-field mb-
|
|
64
|
-
<label for="reenterPassword" class="block text-900 font-medium mb-2">Re-enter password</label>
|
|
65
|
+
<div class="p-field mb-4">
|
|
66
|
+
<label for="reenterPassword" class="block text-surface-900 dark:text-surface-0 font-medium mb-2">Re-enter password</label>
|
|
65
67
|
<Password id="reenterPassword" class="w-full" inputClass="w-full"
|
|
66
68
|
toggleMask v-model:masked="masked"
|
|
67
69
|
v-model="secondPassword"
|
|
@@ -85,6 +87,7 @@
|
|
|
85
87
|
|
|
86
88
|
import Button from "primevue/button"
|
|
87
89
|
import Divider from "primevue/divider"
|
|
90
|
+
import Message from "primevue/message"
|
|
88
91
|
import Password from "../password/Password.vue"
|
|
89
92
|
|
|
90
93
|
import { live, path, useApi } from '@live-change/vue3-ssr'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/user-frontend",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.34",
|
|
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",
|
|
@@ -22,29 +22,29 @@
|
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@live-change/cli": "^0.9.
|
|
26
|
-
"@live-change/dao": "^0.9.
|
|
27
|
-
"@live-change/dao-vue3": "^0.9.
|
|
28
|
-
"@live-change/dao-websocket": "^0.9.
|
|
29
|
-
"@live-change/email-service": "^0.9.
|
|
30
|
-
"@live-change/framework": "^0.9.
|
|
31
|
-
"@live-change/identicon-service": "^0.9.
|
|
32
|
-
"@live-change/image-frontend": "^0.9.
|
|
33
|
-
"@live-change/message-authentication-service": "^0.9.
|
|
34
|
-
"@live-change/notification-service": "^0.9.
|
|
35
|
-
"@live-change/password-authentication-service": "^0.9.
|
|
36
|
-
"@live-change/pattern": "^0.9.
|
|
37
|
-
"@live-change/secret-code-service": "^0.9.
|
|
38
|
-
"@live-change/secret-link-service": "^0.9.
|
|
39
|
-
"@live-change/security-frontend": "^0.9.
|
|
40
|
-
"@live-change/security-service": "^0.9.
|
|
41
|
-
"@live-change/session-service": "^0.9.
|
|
42
|
-
"@live-change/timer-service": "^0.9.
|
|
43
|
-
"@live-change/upload-service": "^0.9.
|
|
44
|
-
"@live-change/user-identification-service": "^0.9.
|
|
45
|
-
"@live-change/user-service": "^0.9.
|
|
46
|
-
"@live-change/vue3-components": "^0.9.
|
|
47
|
-
"@live-change/vue3-ssr": "^0.9.
|
|
25
|
+
"@live-change/cli": "^0.9.34",
|
|
26
|
+
"@live-change/dao": "^0.9.34",
|
|
27
|
+
"@live-change/dao-vue3": "^0.9.34",
|
|
28
|
+
"@live-change/dao-websocket": "^0.9.34",
|
|
29
|
+
"@live-change/email-service": "^0.9.34",
|
|
30
|
+
"@live-change/framework": "^0.9.34",
|
|
31
|
+
"@live-change/identicon-service": "^0.9.34",
|
|
32
|
+
"@live-change/image-frontend": "^0.9.34",
|
|
33
|
+
"@live-change/message-authentication-service": "^0.9.34",
|
|
34
|
+
"@live-change/notification-service": "^0.9.34",
|
|
35
|
+
"@live-change/password-authentication-service": "^0.9.34",
|
|
36
|
+
"@live-change/pattern": "^0.9.34",
|
|
37
|
+
"@live-change/secret-code-service": "^0.9.34",
|
|
38
|
+
"@live-change/secret-link-service": "^0.9.34",
|
|
39
|
+
"@live-change/security-frontend": "^0.9.34",
|
|
40
|
+
"@live-change/security-service": "^0.9.34",
|
|
41
|
+
"@live-change/session-service": "^0.9.34",
|
|
42
|
+
"@live-change/timer-service": "^0.9.34",
|
|
43
|
+
"@live-change/upload-service": "^0.9.34",
|
|
44
|
+
"@live-change/user-identification-service": "^0.9.34",
|
|
45
|
+
"@live-change/user-service": "^0.9.34",
|
|
46
|
+
"@live-change/vue3-components": "^0.9.34",
|
|
47
|
+
"@live-change/vue3-ssr": "^0.9.34",
|
|
48
48
|
"@vueuse/core": "^12.3.0",
|
|
49
49
|
"codeceptjs-assert": "^0.0.5",
|
|
50
50
|
"codeceptjs-video-helper": "0.1.3",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"wtfnode": "^0.9.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@live-change/codeceptjs-helper": "^0.9.
|
|
68
|
+
"@live-change/codeceptjs-helper": "^0.9.34",
|
|
69
69
|
"codeceptjs": "^3.6.10",
|
|
70
70
|
"generate-password": "1.7.1",
|
|
71
71
|
"playwright": "1.49.1",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
77
77
|
"license": "BSD-3-Clause",
|
|
78
78
|
"description": "",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "e5f22de77fe6a3c0a0e1b91d17593e195aaae3b3"
|
|
80
80
|
}
|