itube-specs 0.0.531 → 0.0.533
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:class="{'_loading': loading}"
|
|
5
5
|
>
|
|
6
6
|
|
|
7
|
-
<SAuthIcon class="s-auth-login__icon"
|
|
7
|
+
<SAuthIcon class="s-auth-login__icon"/>
|
|
8
8
|
|
|
9
9
|
<SInput
|
|
10
10
|
v-model="form.username"
|
|
@@ -30,20 +30,24 @@
|
|
|
30
30
|
@click="login"
|
|
31
31
|
>{{ t('auth.log_in') }}
|
|
32
32
|
</SButton>
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
theme="ghost"
|
|
33
|
+
<button
|
|
34
|
+
class="s-auth-login__forgot"
|
|
35
|
+
type="button"
|
|
37
36
|
@click="onForgotClick"
|
|
38
|
-
>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
>
|
|
38
|
+
{{ t('auth.forgot') }}
|
|
39
|
+
</button>
|
|
40
|
+
|
|
41
|
+
<p class="s-auth-login__back">
|
|
42
|
+
{{ t('register_text') }}
|
|
43
|
+
<button
|
|
44
|
+
class="s-auth-login__back-button"
|
|
45
|
+
type="button"
|
|
46
|
+
@click="onCreateClick"
|
|
47
|
+
>
|
|
48
|
+
{{ t('auth.sign_up') }}
|
|
49
|
+
</button>
|
|
50
|
+
</p>
|
|
47
51
|
</div>
|
|
48
52
|
</div>
|
|
49
53
|
</template>
|
|
@@ -52,7 +56,7 @@
|
|
|
52
56
|
import { validatePassword, validateUsername } from '../../runtime';
|
|
53
57
|
import { AuthorizationApiService } from '~/services/api/authorization.service';
|
|
54
58
|
|
|
55
|
-
const {t} = useI18n();
|
|
59
|
+
const { t } = useI18n();
|
|
56
60
|
|
|
57
61
|
const form = ref({
|
|
58
62
|
username: '',
|
|
@@ -4,8 +4,12 @@
|
|
|
4
4
|
:class="{'_loading': loading}"
|
|
5
5
|
>
|
|
6
6
|
|
|
7
|
-
<SAuthIcon
|
|
8
|
-
|
|
7
|
+
<SAuthIcon
|
|
8
|
+
class="s-auth-recovery__icon"
|
|
9
|
+
icon="envelope"
|
|
10
|
+
/>
|
|
11
|
+
|
|
12
|
+
<p class="s-auth-recovery__text">{{ t('auth.recovery_text') }}</p>
|
|
9
13
|
<SInput
|
|
10
14
|
v-model="form.email"
|
|
11
15
|
label="Email"
|
|
@@ -14,23 +18,21 @@
|
|
|
14
18
|
@update:error="(val: boolean) => error.email = val"
|
|
15
19
|
/>
|
|
16
20
|
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</SButton>
|
|
33
|
-
</div>
|
|
21
|
+
<SButton
|
|
22
|
+
class="s-auth-recovery__button"
|
|
23
|
+
wide
|
|
24
|
+
size="l"
|
|
25
|
+
:disabled="loading"
|
|
26
|
+
theme="primary"
|
|
27
|
+
@click="submit"
|
|
28
|
+
>{{ t('auth.get_recovery') }}
|
|
29
|
+
</SButton>
|
|
30
|
+
<button
|
|
31
|
+
class="s-auth-recovery__login"
|
|
32
|
+
type="button"
|
|
33
|
+
@click="onLoginClick"
|
|
34
|
+
>{{ t('auth.back_to_login') }}
|
|
35
|
+
</button>
|
|
34
36
|
</div>
|
|
35
37
|
</template>
|
|
36
38
|
|
|
@@ -41,7 +43,7 @@ import { AuthorizationApiService } from '~/services/api/authorization.service';
|
|
|
41
43
|
|
|
42
44
|
const { initRecaptcha, getRecaptchaToken } = useRecaptcha();
|
|
43
45
|
|
|
44
|
-
const {t} = useI18n();
|
|
46
|
+
const { t } = useI18n();
|
|
45
47
|
|
|
46
48
|
const form = ref({
|
|
47
49
|
email: '',
|
|
@@ -10,13 +10,6 @@
|
|
|
10
10
|
class="s-auth-register__text"
|
|
11
11
|
>{{ t(additionalText) }}
|
|
12
12
|
</p>
|
|
13
|
-
<SInput
|
|
14
|
-
v-model="form.username"
|
|
15
|
-
:label="t('auth.username')"
|
|
16
|
-
name="login-name"
|
|
17
|
-
:error="error.username"
|
|
18
|
-
@update:error="(val: boolean) => error.username = val"
|
|
19
|
-
/>
|
|
20
13
|
<SInput
|
|
21
14
|
v-model="form.email"
|
|
22
15
|
:label="t('email')"
|
|
@@ -24,6 +17,13 @@
|
|
|
24
17
|
:error="error.email"
|
|
25
18
|
@update:error="(val: boolean) => error.email = val"
|
|
26
19
|
/>
|
|
20
|
+
<SInput
|
|
21
|
+
v-model="form.username"
|
|
22
|
+
:label="t('login')"
|
|
23
|
+
name="login-name"
|
|
24
|
+
:error="error.username"
|
|
25
|
+
@update:error="(val: boolean) => error.username = val"
|
|
26
|
+
/>
|
|
27
27
|
<SInput
|
|
28
28
|
v-model="form.password_hash"
|
|
29
29
|
:label="t('auth.password')"
|