@frigear-nu/account 0.2.2 → 0.2.3
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/dist/module.json
CHANGED
|
@@ -99,7 +99,7 @@ async function onChangeEmail() {
|
|
|
99
99
|
<UInput
|
|
100
100
|
v-model="state.name"
|
|
101
101
|
autocomplete="name"
|
|
102
|
-
class="w-full
|
|
102
|
+
class="w-full"
|
|
103
103
|
/>
|
|
104
104
|
</FormRow>
|
|
105
105
|
<FormRow
|
|
@@ -107,20 +107,21 @@ async function onChangeEmail() {
|
|
|
107
107
|
:label="t('avatar.label', 'Avatar')"
|
|
108
108
|
:description="t('avatar.description', 'Link to a square image.')"
|
|
109
109
|
>
|
|
110
|
-
<
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
110
|
+
<UInput
|
|
111
|
+
v-model="state.avatar"
|
|
112
|
+
type="url"
|
|
113
|
+
placeholder="https://"
|
|
114
|
+
:aria-label="t('avatar.url', 'Avatar URL')"
|
|
115
|
+
class="w-full"
|
|
116
|
+
>
|
|
117
|
+
<template #leading>
|
|
118
|
+
<UAvatar
|
|
119
|
+
:src="state.avatar || void 0"
|
|
120
|
+
:alt="state.name"
|
|
121
|
+
size="3xs"
|
|
122
|
+
/>
|
|
123
|
+
</template>
|
|
124
|
+
</UInput>
|
|
124
125
|
</FormRow>
|
|
125
126
|
</UForm>
|
|
126
127
|
<template #footer>
|
|
@@ -136,19 +137,20 @@ async function onChangeEmail() {
|
|
|
136
137
|
</template>
|
|
137
138
|
</SectionCard>
|
|
138
139
|
|
|
139
|
-
<SectionCard
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
>
|
|
144
|
-
<
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
140
|
+
<SectionCard
|
|
141
|
+
:title="t('email.label', 'Email')"
|
|
142
|
+
:description="t('email.description', 'Where we send messages and how you sign in.')"
|
|
143
|
+
>
|
|
144
|
+
<FormRow :label="t('email.address', 'Address')">
|
|
145
|
+
<UInput
|
|
146
|
+
:model-value="user?.email ?? ''"
|
|
147
|
+
type="email"
|
|
148
|
+
readonly
|
|
149
|
+
class="w-full"
|
|
150
|
+
/>
|
|
151
|
+
</FormRow>
|
|
152
|
+
<template #footer>
|
|
153
|
+
<div class="flex justify-end gap-2">
|
|
152
154
|
<UButton
|
|
153
155
|
color="neutral"
|
|
154
156
|
variant="outline"
|
|
@@ -157,7 +159,7 @@ async function onChangeEmail() {
|
|
|
157
159
|
@click="onChangeEmail"
|
|
158
160
|
/>
|
|
159
161
|
</div>
|
|
160
|
-
</
|
|
162
|
+
</template>
|
|
161
163
|
</SectionCard>
|
|
162
164
|
</div>
|
|
163
165
|
</template>
|
|
@@ -102,7 +102,7 @@ const passkeyMenu = (passkey) => [[
|
|
|
102
102
|
v-model="passwordState.currentPassword"
|
|
103
103
|
type="password"
|
|
104
104
|
autocomplete="current-password"
|
|
105
|
-
class="w-full
|
|
105
|
+
class="w-full"
|
|
106
106
|
/>
|
|
107
107
|
</FormRow>
|
|
108
108
|
<FormRow
|
|
@@ -114,7 +114,7 @@ const passkeyMenu = (passkey) => [[
|
|
|
114
114
|
v-model="passwordState.newPassword"
|
|
115
115
|
type="password"
|
|
116
116
|
autocomplete="new-password"
|
|
117
|
-
class="w-full
|
|
117
|
+
class="w-full"
|
|
118
118
|
/>
|
|
119
119
|
</FormRow>
|
|
120
120
|
<FormRow
|
|
@@ -126,7 +126,7 @@ const passkeyMenu = (passkey) => [[
|
|
|
126
126
|
v-model="passwordState.confirmNewPassword"
|
|
127
127
|
type="password"
|
|
128
128
|
autocomplete="new-password"
|
|
129
|
-
class="w-full
|
|
129
|
+
class="w-full"
|
|
130
130
|
/>
|
|
131
131
|
</FormRow>
|
|
132
132
|
</UForm>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frigear-nu/account",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "A module for managing the account area (profile, email, password, security) in the main frigear app.",
|
|
5
5
|
"homepage": "https://docs.frigear.dev/modules/account",
|
|
6
6
|
"repository": {
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"playground"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@frigear-nu/module-kit": "^1.2
|
|
28
|
-
"@frigear-nu/auth": "^0.2.
|
|
29
|
-
"@frigear-nu/ui": "^0.2.
|
|
30
|
-
"@frigear-nu/users": "^1.2.
|
|
27
|
+
"@frigear-nu/module-kit": "^1.3.2",
|
|
28
|
+
"@frigear-nu/auth": "^0.2.3",
|
|
29
|
+
"@frigear-nu/ui": "^0.2.2",
|
|
30
|
+
"@frigear-nu/users": "^1.2.3",
|
|
31
31
|
"@libsql/client": "^0.18.0",
|
|
32
32
|
"@nuxt/kit": "^4.6.1",
|
|
33
33
|
"@vueuse/core": "^15.0.0",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"zod": "^4.6.5"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@frigear-nu/authorization": "^0.2.
|
|
40
|
-
"@frigear-nu/menu": "^0.2.
|
|
41
|
-
"@frigear-nu/widget": "^0.2.
|
|
39
|
+
"@frigear-nu/authorization": "^0.2.2",
|
|
40
|
+
"@frigear-nu/menu": "^0.2.2",
|
|
41
|
+
"@frigear-nu/widget": "^0.2.2",
|
|
42
42
|
"@nuxt/ui": "^4.12.0",
|
|
43
43
|
"@nuxthub/core": "^0.10.8"
|
|
44
44
|
},
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@frigear-nu/authorization": "^0.2.
|
|
61
|
-
"@frigear-nu/menu": "^0.2.
|
|
62
|
-
"@frigear-nu/widget": "^0.2.
|
|
60
|
+
"@frigear-nu/authorization": "^0.2.2",
|
|
61
|
+
"@frigear-nu/menu": "^0.2.2",
|
|
62
|
+
"@frigear-nu/widget": "^0.2.2",
|
|
63
63
|
"@nuxt/devtools": "^3.4.2",
|
|
64
64
|
"@nuxt/eslint-config": "^1.17.0",
|
|
65
65
|
"@nuxt/module-builder": "^1.0.3",
|