adata-ui 2.1.37 → 2.1.38
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.
|
@@ -49,13 +49,18 @@ const close = () => {
|
|
|
49
49
|
</script>
|
|
50
50
|
|
|
51
51
|
<template>
|
|
52
|
-
<a-modal
|
|
52
|
+
<a-modal
|
|
53
|
+
v-model="isOpen"
|
|
54
|
+
:title="t('modals.auth.title')"
|
|
55
|
+
data-test-id="no-access-popup"
|
|
56
|
+
>
|
|
53
57
|
<div class="flex flex-col items-center gap-5 text-center text-sm">
|
|
54
58
|
<a-ill-door />
|
|
55
59
|
<div>{{ t('modals.auth.content') }}</div>
|
|
56
60
|
<a-button
|
|
57
61
|
block
|
|
58
62
|
variant="success"
|
|
63
|
+
data-test-id="no-access-popup-authorize-button"
|
|
59
64
|
@click="goAuth"
|
|
60
65
|
>
|
|
61
66
|
{{ t('modals.buttons.logIn') }}
|
|
@@ -67,11 +72,16 @@ const close = () => {
|
|
|
67
72
|
<a-button
|
|
68
73
|
view="outline"
|
|
69
74
|
block
|
|
75
|
+
data-test-id="no-access-popup-close-button"
|
|
70
76
|
@click="close"
|
|
71
77
|
>
|
|
72
78
|
{{ t('modals.buttons.close') }}
|
|
73
79
|
</a-button>
|
|
74
|
-
<a-button
|
|
80
|
+
<a-button
|
|
81
|
+
block
|
|
82
|
+
data-test-id="no-access-popup-register-button"
|
|
83
|
+
@click="goRegister"
|
|
84
|
+
>
|
|
75
85
|
{{ t('modals.buttons.register') }}
|
|
76
86
|
</a-button>
|
|
77
87
|
</div>
|
|
@@ -177,6 +177,7 @@ const onReplenish = () => {
|
|
|
177
177
|
|
|
178
178
|
<div
|
|
179
179
|
class="flex items-center justify-center lg:justify-start gap-3 pb-2 pt-4 px-4 cursor-pointer text-red-500 hover:text-red-700 border-t"
|
|
180
|
+
data-test-id="logout-button"
|
|
180
181
|
@click="$emit('logout')"
|
|
181
182
|
>
|
|
182
183
|
<icon-logout class="h-5 w-5" />
|