itube-specs 0.0.547 → 0.0.549
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.
|
@@ -9,9 +9,6 @@
|
|
|
9
9
|
class="s-auth-popup"
|
|
10
10
|
@back="currentStep -= 1"
|
|
11
11
|
>
|
|
12
|
-
<template #aside>
|
|
13
|
-
<slot/>
|
|
14
|
-
</template>
|
|
15
12
|
<template #title>{{ $t('auth.create_new') }}</template>
|
|
16
13
|
<SAuthRegister
|
|
17
14
|
:additional-text="additionalText"
|
|
@@ -29,9 +26,6 @@
|
|
|
29
26
|
class="s-auth-popup"
|
|
30
27
|
@back="currentStep -= 1"
|
|
31
28
|
>
|
|
32
|
-
<template #aside>
|
|
33
|
-
<slot/>
|
|
34
|
-
</template>
|
|
35
29
|
<template #title>{{ $t('auth.welcome_back') }}</template>
|
|
36
30
|
<SAuthLogin @forgot="onRecoveryClick" @create="currentStep -= 1"/>
|
|
37
31
|
</SPopup>
|
|
@@ -46,9 +40,6 @@
|
|
|
46
40
|
class="s-auth-popup"
|
|
47
41
|
@back="currentStep -= 1"
|
|
48
42
|
>
|
|
49
|
-
<template #aside>
|
|
50
|
-
<slot/>
|
|
51
|
-
</template>
|
|
52
43
|
<template #title>{{ $t('auth.recovery_title')}}</template>
|
|
53
44
|
<SAuthRecovery @login="onLoginClick"/>
|
|
54
45
|
</SPopup>
|
|
@@ -30,11 +30,6 @@
|
|
|
30
30
|
@mouseenter="mouseHandler(true)"
|
|
31
31
|
@mouseleave="mouseHandler(false)"
|
|
32
32
|
>
|
|
33
|
-
<button
|
|
34
|
-
class="s-dropdown__sheet-close _to-sm"
|
|
35
|
-
type="button"
|
|
36
|
-
@click="close"
|
|
37
|
-
/>
|
|
38
33
|
<button
|
|
39
34
|
class="s-dropdown__crest _to-sm"
|
|
40
35
|
type="button"
|
|
@@ -93,7 +88,7 @@ function checkPosition() {
|
|
|
93
88
|
|
|
94
89
|
function openDropdown() {
|
|
95
90
|
open.value = !open.value
|
|
96
|
-
if (open.value) checkPosition()
|
|
91
|
+
if (open.value) nextTick(() => checkPosition())
|
|
97
92
|
|
|
98
93
|
if (isMobileWidth(breakpoints).value) {
|
|
99
94
|
nextTick(() => {
|
|
@@ -123,8 +118,8 @@ function mouseHandler(event: boolean) {
|
|
|
123
118
|
if (hoverTimeout) clearTimeout(hoverTimeout)
|
|
124
119
|
|
|
125
120
|
if (event) {
|
|
126
|
-
checkPosition()
|
|
127
121
|
open.value = true
|
|
122
|
+
nextTick(() => checkPosition())
|
|
128
123
|
} else {
|
|
129
124
|
hoverTimeout = setTimeout(() => {
|
|
130
125
|
open.value = false
|
|
@@ -5,30 +5,11 @@
|
|
|
5
5
|
:class="[
|
|
6
6
|
{'--sheet': sheet},
|
|
7
7
|
{'--transparent-backdrop': transparentBackdrop},
|
|
8
|
-
{'--aside': $slots.aside}
|
|
9
8
|
]"
|
|
10
9
|
@click="closeByBackdropClick"
|
|
11
10
|
@cancel="close"
|
|
12
11
|
>
|
|
13
12
|
<div class="s-popup__wrapper">
|
|
14
|
-
<div
|
|
15
|
-
v-if="sheet"
|
|
16
|
-
class="s-popup__sheet"
|
|
17
|
-
>
|
|
18
|
-
<button
|
|
19
|
-
class="s-popup__sheet-handler"
|
|
20
|
-
type="button"
|
|
21
|
-
@click="close"
|
|
22
|
-
/>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<aside
|
|
26
|
-
v-if="$slots.aside && !isMobileWidth(breakpoints).value"
|
|
27
|
-
class="s-popup__aside"
|
|
28
|
-
>
|
|
29
|
-
<slot name="aside"/>
|
|
30
|
-
</aside>
|
|
31
|
-
|
|
32
13
|
<header
|
|
33
14
|
class="s-popup__header"
|
|
34
15
|
>
|
package/package.json
CHANGED