adata-ui 2.0.24 → 2.0.26
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/.nuxtrc +1 -1
- package/.playground/app.config.ts +5 -5
- package/README.md +75 -75
- package/components/elements/README.md +1 -1
- package/components/forms/README.md +1 -1
- package/components/modals/AConfirmationEmail.vue +40 -40
- package/components/modals/ContentNavigationModal.vue +38 -32
- package/components/modals/Resend.vue +81 -81
- package/components/modals/id/IdConfirmAccountOtpModal.vue +147 -0
- package/components/modals/id/IdConfirmSuccessfulModal.vue +25 -0
- package/components/modals/id/IdLoginModal.vue +150 -131
- package/components/modals/id/IdModals.vue +41 -7
- package/components/modals/id/IdNewPasswordModal.vue +55 -62
- package/components/modals/id/IdPasswordSuccessfulModal.vue +15 -16
- package/components/modals/id/IdRecoveryModal.vue +39 -34
- package/components/modals/id/IdRegistrationModal.vue +75 -103
- package/components/modals/id/IdResetPasswordOtpModal.vue +154 -0
- package/components/modals/two-factor/otp-input.vue +1 -1
- package/components/navigation/README.md +1 -1
- package/components/overlays/README.md +1 -1
- package/composables/useIdModals.ts +10 -2
- package/icons/chart-pie.vue +16 -0
- package/icons/google.vue +41 -41
- package/icons/linkedin.vue +24 -24
- package/icons/mailru.vue +34 -34
- package/icons/sun.vue +14 -14
- package/icons/work-case.vue +9 -0
- package/icons/yandex.vue +28 -28
- package/lang/ru.ts +16 -5
- package/layouts/default.vue +13 -13
- package/nuxt.config.ts +1 -0
- package/package.json +3 -1
- package/stores/auth.store.ts +12 -0
- package/components/modals/Accept.vue +0 -45
- package/components/modals/id/IdEmailModal.vue +0 -29
package/icons/linkedin.vue
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<rect width="28" height="28" rx="14" fill="white" />
|
|
4
|
-
<g clip-path="url(#clip0_11045_8656)">
|
|
5
|
-
<path
|
|
6
|
-
d="M9.72564 11.1482H6.51458C6.37207 11.1482 6.25659 11.2637 6.25659 11.4062V21.722C6.25659 21.8645 6.37207 21.9799 6.51458 21.9799H9.72564C9.86815 21.9799 9.98363 21.8645 9.98363 21.722V11.4062C9.98363 11.2637 9.86815 11.1482 9.72564 11.1482Z"
|
|
7
|
-
fill="#2C3E50"
|
|
8
|
-
/>
|
|
9
|
-
<path
|
|
10
|
-
d="M8.12134 6.02002C6.95297 6.02002 6.00244 6.96952 6.00244 8.1366C6.00244 9.3042 6.95297 10.2541 8.12134 10.2541C9.28878 10.2541 10.2385 9.30414 10.2385 8.1366C10.2386 6.96952 9.28878 6.02002 8.12134 6.02002Z"
|
|
11
|
-
fill="#2C3E50"
|
|
12
|
-
/>
|
|
13
|
-
<path
|
|
14
|
-
d="M17.8931 10.8918C16.6035 10.8918 15.6501 11.4463 15.0718 12.0762V11.4062C15.0718 11.2638 14.9564 11.1482 14.8139 11.1482H11.7387C11.5962 11.1482 11.4807 11.2638 11.4807 11.4062V21.722C11.4807 21.8645 11.5962 21.98 11.7387 21.98H14.9427C15.0853 21.98 15.2007 21.8645 15.2007 21.722V16.6181C15.2007 14.8982 15.6679 14.2281 16.8668 14.2281C18.1725 14.2281 18.2763 15.3023 18.2763 16.7066V21.722C18.2763 21.8646 18.3918 21.98 18.5343 21.98H21.7395C21.882 21.98 21.9975 21.8646 21.9975 21.722V16.0637C21.9975 13.5062 21.5099 10.8918 17.8931 10.8918Z"
|
|
15
|
-
fill="#2C3E50"
|
|
16
|
-
/>
|
|
17
|
-
</g>
|
|
18
|
-
<defs>
|
|
19
|
-
<clipPath id="clip0_11045_8656">
|
|
20
|
-
<rect width="15.9952" height="16" fill="white" transform="translate(6.00244 6)" />
|
|
21
|
-
</clipPath>
|
|
22
|
-
</defs>
|
|
23
|
-
</svg>
|
|
24
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<rect width="28" height="28" rx="14" fill="white" />
|
|
4
|
+
<g clip-path="url(#clip0_11045_8656)">
|
|
5
|
+
<path
|
|
6
|
+
d="M9.72564 11.1482H6.51458C6.37207 11.1482 6.25659 11.2637 6.25659 11.4062V21.722C6.25659 21.8645 6.37207 21.9799 6.51458 21.9799H9.72564C9.86815 21.9799 9.98363 21.8645 9.98363 21.722V11.4062C9.98363 11.2637 9.86815 11.1482 9.72564 11.1482Z"
|
|
7
|
+
fill="#2C3E50"
|
|
8
|
+
/>
|
|
9
|
+
<path
|
|
10
|
+
d="M8.12134 6.02002C6.95297 6.02002 6.00244 6.96952 6.00244 8.1366C6.00244 9.3042 6.95297 10.2541 8.12134 10.2541C9.28878 10.2541 10.2385 9.30414 10.2385 8.1366C10.2386 6.96952 9.28878 6.02002 8.12134 6.02002Z"
|
|
11
|
+
fill="#2C3E50"
|
|
12
|
+
/>
|
|
13
|
+
<path
|
|
14
|
+
d="M17.8931 10.8918C16.6035 10.8918 15.6501 11.4463 15.0718 12.0762V11.4062C15.0718 11.2638 14.9564 11.1482 14.8139 11.1482H11.7387C11.5962 11.1482 11.4807 11.2638 11.4807 11.4062V21.722C11.4807 21.8645 11.5962 21.98 11.7387 21.98H14.9427C15.0853 21.98 15.2007 21.8645 15.2007 21.722V16.6181C15.2007 14.8982 15.6679 14.2281 16.8668 14.2281C18.1725 14.2281 18.2763 15.3023 18.2763 16.7066V21.722C18.2763 21.8646 18.3918 21.98 18.5343 21.98H21.7395C21.882 21.98 21.9975 21.8646 21.9975 21.722V16.0637C21.9975 13.5062 21.5099 10.8918 17.8931 10.8918Z"
|
|
15
|
+
fill="#2C3E50"
|
|
16
|
+
/>
|
|
17
|
+
</g>
|
|
18
|
+
<defs>
|
|
19
|
+
<clipPath id="clip0_11045_8656">
|
|
20
|
+
<rect width="15.9952" height="16" fill="white" transform="translate(6.00244 6)" />
|
|
21
|
+
</clipPath>
|
|
22
|
+
</defs>
|
|
23
|
+
</svg>
|
|
24
|
+
</template>
|
package/icons/mailru.vue
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
width="32"
|
|
4
|
-
height="32"
|
|
5
|
-
viewBox="0 0 32 32"
|
|
6
|
-
fill="none"
|
|
7
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
x="0.5"
|
|
11
|
-
y="0.5"
|
|
12
|
-
width="31"
|
|
13
|
-
height="31"
|
|
14
|
-
rx="5.5"
|
|
15
|
-
stroke="#9DA3AC"
|
|
16
|
-
/>
|
|
17
|
-
<g clip-path="url(#clip0_680_206687)">
|
|
18
|
-
<path
|
|
19
|
-
d="M19.1585 15.5C19.1585 17.2417 17.7417 18.6585 16 18.6585C14.2583 18.6585 12.8415 17.2417 12.8415 15.5C12.8415 13.7583 14.2583 12.3415 16 12.3415C17.7417 12.3415 19.1585 13.7583 19.1585 15.5ZM16 5C10.2106 5 5.5 9.71056 5.5 15.5C5.5 21.2894 10.2106 26 16 26C18.121 26 20.1665 25.3687 21.9148 24.1737L21.945 24.1527L20.5301 22.5081L20.5065 22.5238C19.1605 23.3894 17.6019 23.8475 16 23.8475C11.3971 23.8475 7.6525 20.1029 7.6525 15.5C7.6525 10.8971 11.3971 7.1525 16 7.1525C20.6029 7.1525 24.3475 10.8971 24.3475 15.5C24.3475 16.0965 24.2812 16.7003 24.1506 17.2942C23.8868 18.3777 23.1282 18.7097 22.5586 18.6657C21.9857 18.6192 21.3156 18.211 21.311 17.2122V16.4509V15.5C21.311 12.5712 18.9288 10.189 16 10.189C13.0712 10.189 10.689 12.5712 10.689 15.5C10.689 18.4288 13.0712 20.811 16 20.811C17.4227 20.811 18.7569 20.2545 19.7629 19.2432C20.3477 20.1535 21.3012 20.7244 22.386 20.811C22.4792 20.8189 22.5743 20.8228 22.6688 20.8228C23.432 20.8228 24.1893 20.5676 24.7997 20.1036C25.429 19.6258 25.8989 18.9348 26.1588 18.1047C26.2001 17.9708 26.2762 17.6637 26.2769 17.6617L26.2788 17.6505C26.4317 16.9844 26.5 16.3203 26.5 15.5C26.5 9.71056 21.7894 5 16 5Z"
|
|
20
|
-
fill="#FF9E00"
|
|
21
|
-
/>
|
|
22
|
-
</g>
|
|
23
|
-
<defs>
|
|
24
|
-
<clipPath id="clip0_680_206687">
|
|
25
|
-
<rect
|
|
26
|
-
width="21"
|
|
27
|
-
height="21"
|
|
28
|
-
fill="white"
|
|
29
|
-
transform="translate(5.5 5)"
|
|
30
|
-
/>
|
|
31
|
-
</clipPath>
|
|
32
|
-
</defs>
|
|
33
|
-
</svg>
|
|
34
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="32"
|
|
4
|
+
height="32"
|
|
5
|
+
viewBox="0 0 32 32"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<rect
|
|
10
|
+
x="0.5"
|
|
11
|
+
y="0.5"
|
|
12
|
+
width="31"
|
|
13
|
+
height="31"
|
|
14
|
+
rx="5.5"
|
|
15
|
+
stroke="#9DA3AC"
|
|
16
|
+
/>
|
|
17
|
+
<g clip-path="url(#clip0_680_206687)">
|
|
18
|
+
<path
|
|
19
|
+
d="M19.1585 15.5C19.1585 17.2417 17.7417 18.6585 16 18.6585C14.2583 18.6585 12.8415 17.2417 12.8415 15.5C12.8415 13.7583 14.2583 12.3415 16 12.3415C17.7417 12.3415 19.1585 13.7583 19.1585 15.5ZM16 5C10.2106 5 5.5 9.71056 5.5 15.5C5.5 21.2894 10.2106 26 16 26C18.121 26 20.1665 25.3687 21.9148 24.1737L21.945 24.1527L20.5301 22.5081L20.5065 22.5238C19.1605 23.3894 17.6019 23.8475 16 23.8475C11.3971 23.8475 7.6525 20.1029 7.6525 15.5C7.6525 10.8971 11.3971 7.1525 16 7.1525C20.6029 7.1525 24.3475 10.8971 24.3475 15.5C24.3475 16.0965 24.2812 16.7003 24.1506 17.2942C23.8868 18.3777 23.1282 18.7097 22.5586 18.6657C21.9857 18.6192 21.3156 18.211 21.311 17.2122V16.4509V15.5C21.311 12.5712 18.9288 10.189 16 10.189C13.0712 10.189 10.689 12.5712 10.689 15.5C10.689 18.4288 13.0712 20.811 16 20.811C17.4227 20.811 18.7569 20.2545 19.7629 19.2432C20.3477 20.1535 21.3012 20.7244 22.386 20.811C22.4792 20.8189 22.5743 20.8228 22.6688 20.8228C23.432 20.8228 24.1893 20.5676 24.7997 20.1036C25.429 19.6258 25.8989 18.9348 26.1588 18.1047C26.2001 17.9708 26.2762 17.6637 26.2769 17.6617L26.2788 17.6505C26.4317 16.9844 26.5 16.3203 26.5 15.5C26.5 9.71056 21.7894 5 16 5Z"
|
|
20
|
+
fill="#FF9E00"
|
|
21
|
+
/>
|
|
22
|
+
</g>
|
|
23
|
+
<defs>
|
|
24
|
+
<clipPath id="clip0_680_206687">
|
|
25
|
+
<rect
|
|
26
|
+
width="21"
|
|
27
|
+
height="21"
|
|
28
|
+
fill="white"
|
|
29
|
+
transform="translate(5.5 5)"
|
|
30
|
+
/>
|
|
31
|
+
</clipPath>
|
|
32
|
+
</defs>
|
|
33
|
+
</svg>
|
|
34
|
+
</template>
|
package/icons/sun.vue
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="https://www.w3.org/2000/svg">
|
|
7
|
-
<path opacity="0.4" d="M7.99998 12.6666C10.5773 12.6666 12.6666 10.5772 12.6666 7.99992C12.6666 5.42259 10.5773 3.33325 7.99998 3.33325C5.42265 3.33325 3.33331 5.42259 3.33331 7.99992C3.33331 10.5772 5.42265 12.6666 7.99998 12.6666Z" fill="#FBC920"/>
|
|
8
|
-
<path d="M8.00002 15.3067C7.63335 15.3067 7.33335 15.0334 7.33335 14.6667V14.6134C7.33335 14.2467 7.63335 13.9467 8.00002 13.9467C8.36669 13.9467 8.66669 14.2467 8.66669 14.6134C8.66669 14.9801 8.36669 15.3067 8.00002 15.3067ZM12.76 13.4267C12.5867 13.4267 12.42 13.3601 12.2867 13.2334L12.2 13.1467C11.94 12.8867 11.94 12.4667 12.2 12.2067C12.46 11.9467 12.88 11.9467 13.14 12.2067L13.2267 12.2934C13.4867 12.5534 13.4867 12.9734 13.2267 13.2334C13.1 13.3601 12.9334 13.4267 12.76 13.4267ZM3.24002 13.4267C3.06669 13.4267 2.90002 13.3601 2.76669 13.2334C2.50669 12.9734 2.50669 12.5534 2.76669 12.2934L2.85335 12.2067C3.11335 11.9467 3.53335 11.9467 3.79335 12.2067C4.05335 12.4667 4.05335 12.8867 3.79335 13.1467L3.70669 13.2334C3.58002 13.3601 3.40669 13.4267 3.24002 13.4267ZM14.6667 8.66675H14.6134C14.2467 8.66675 13.9467 8.36675 13.9467 8.00008C13.9467 7.63341 14.2467 7.33342 14.6134 7.33342C14.98 7.33342 15.3067 7.63341 15.3067 8.00008C15.3067 8.36675 15.0334 8.66675 14.6667 8.66675ZM1.38669 8.66675H1.33335C0.966687 8.66675 0.666687 8.36675 0.666687 8.00008C0.666687 7.63341 0.966687 7.33342 1.33335 7.33342C1.70002 7.33342 2.02669 7.63341 2.02669 8.00008C2.02669 8.36675 1.75335 8.66675 1.38669 8.66675ZM12.6734 3.99341C12.5 3.99341 12.3334 3.92675 12.2 3.80008C11.94 3.54008 11.94 3.12008 12.2 2.86008L12.2867 2.77341C12.5467 2.51341 12.9667 2.51341 13.2267 2.77341C13.4867 3.03341 13.4867 3.45341 13.2267 3.71341L13.14 3.80008C13.0134 3.92675 12.8467 3.99341 12.6734 3.99341ZM3.32669 3.99341C3.15335 3.99341 2.98669 3.92675 2.85335 3.80008L2.76669 3.70675C2.50669 3.44675 2.50669 3.02675 2.76669 2.76675C3.02669 2.50675 3.44669 2.50675 3.70669 2.76675L3.79335 2.85342C4.05335 3.11342 4.05335 3.53341 3.79335 3.79341C3.66669 3.92675 3.49335 3.99341 3.32669 3.99341ZM8.00002 2.02675C7.63335 2.02675 7.33335 1.75341 7.33335 1.38675V1.33341C7.33335 0.966748 7.63335 0.666748 8.00002 0.666748C8.36669 0.666748 8.66669 0.966748 8.66669 1.33341C8.66669 1.70008 8.36669 2.02675 8.00002 2.02675Z" fill="#FBC920"/>
|
|
9
|
-
</svg>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<style scoped>
|
|
13
|
-
|
|
14
|
-
</style>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="https://www.w3.org/2000/svg">
|
|
7
|
+
<path opacity="0.4" d="M7.99998 12.6666C10.5773 12.6666 12.6666 10.5772 12.6666 7.99992C12.6666 5.42259 10.5773 3.33325 7.99998 3.33325C5.42265 3.33325 3.33331 5.42259 3.33331 7.99992C3.33331 10.5772 5.42265 12.6666 7.99998 12.6666Z" fill="#FBC920"/>
|
|
8
|
+
<path d="M8.00002 15.3067C7.63335 15.3067 7.33335 15.0334 7.33335 14.6667V14.6134C7.33335 14.2467 7.63335 13.9467 8.00002 13.9467C8.36669 13.9467 8.66669 14.2467 8.66669 14.6134C8.66669 14.9801 8.36669 15.3067 8.00002 15.3067ZM12.76 13.4267C12.5867 13.4267 12.42 13.3601 12.2867 13.2334L12.2 13.1467C11.94 12.8867 11.94 12.4667 12.2 12.2067C12.46 11.9467 12.88 11.9467 13.14 12.2067L13.2267 12.2934C13.4867 12.5534 13.4867 12.9734 13.2267 13.2334C13.1 13.3601 12.9334 13.4267 12.76 13.4267ZM3.24002 13.4267C3.06669 13.4267 2.90002 13.3601 2.76669 13.2334C2.50669 12.9734 2.50669 12.5534 2.76669 12.2934L2.85335 12.2067C3.11335 11.9467 3.53335 11.9467 3.79335 12.2067C4.05335 12.4667 4.05335 12.8867 3.79335 13.1467L3.70669 13.2334C3.58002 13.3601 3.40669 13.4267 3.24002 13.4267ZM14.6667 8.66675H14.6134C14.2467 8.66675 13.9467 8.36675 13.9467 8.00008C13.9467 7.63341 14.2467 7.33342 14.6134 7.33342C14.98 7.33342 15.3067 7.63341 15.3067 8.00008C15.3067 8.36675 15.0334 8.66675 14.6667 8.66675ZM1.38669 8.66675H1.33335C0.966687 8.66675 0.666687 8.36675 0.666687 8.00008C0.666687 7.63341 0.966687 7.33342 1.33335 7.33342C1.70002 7.33342 2.02669 7.63341 2.02669 8.00008C2.02669 8.36675 1.75335 8.66675 1.38669 8.66675ZM12.6734 3.99341C12.5 3.99341 12.3334 3.92675 12.2 3.80008C11.94 3.54008 11.94 3.12008 12.2 2.86008L12.2867 2.77341C12.5467 2.51341 12.9667 2.51341 13.2267 2.77341C13.4867 3.03341 13.4867 3.45341 13.2267 3.71341L13.14 3.80008C13.0134 3.92675 12.8467 3.99341 12.6734 3.99341ZM3.32669 3.99341C3.15335 3.99341 2.98669 3.92675 2.85335 3.80008L2.76669 3.70675C2.50669 3.44675 2.50669 3.02675 2.76669 2.76675C3.02669 2.50675 3.44669 2.50675 3.70669 2.76675L3.79335 2.85342C4.05335 3.11342 4.05335 3.53341 3.79335 3.79341C3.66669 3.92675 3.49335 3.99341 3.32669 3.99341ZM8.00002 2.02675C7.63335 2.02675 7.33335 1.75341 7.33335 1.38675V1.33341C7.33335 0.966748 7.63335 0.666748 8.00002 0.666748C8.36669 0.666748 8.66669 0.966748 8.66669 1.33341C8.66669 1.70008 8.36669 2.02675 8.00002 2.02675Z" fill="#FBC920"/>
|
|
9
|
+
</svg>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<style scoped>
|
|
13
|
+
|
|
14
|
+
</style>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M23.0203 6.41943H0.979492V21.4619H23.0203V6.41943Z" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M23.0203 6.41943H0.979492V10.1586C0.979492 11.5352 2.29533 12.6513 3.91827 12.6513H20.0815C21.7045 12.6513 23.0203 11.5352 23.0203 10.1586V6.41943Z" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M6.92188 6.32556V3.80058C6.92188 3.10305 7.48998 2.53809 8.19138 2.53809H15.8084C16.5098 2.53809 17.0779 3.10305 17.0779 3.80058V6.32556" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M12 15.1628C11.2986 15.1628 10.7305 14.5978 10.7305 13.9003V11.3753C10.7305 10.6778 11.2986 10.1128 12 10.1128C12.7014 10.1128 13.2695 10.6778 13.2695 11.3753V13.9003C13.2695 14.5978 12.7014 15.1628 12 15.1628Z" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M13.2695 12.6377H10.7305" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
8
|
+
</svg>
|
|
9
|
+
</template>
|
package/icons/yandex.vue
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
width="32"
|
|
4
|
-
height="32"
|
|
5
|
-
viewBox="0 0 32 32"
|
|
6
|
-
fill="none"
|
|
7
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
x="0.5"
|
|
11
|
-
y="0.5"
|
|
12
|
-
width="31"
|
|
13
|
-
height="31"
|
|
14
|
-
rx="5.5"
|
|
15
|
-
stroke="#9DA3AC"
|
|
16
|
-
/>
|
|
17
|
-
<circle
|
|
18
|
-
cx="16"
|
|
19
|
-
cy="16"
|
|
20
|
-
r="10.5"
|
|
21
|
-
fill="#FC3F1D"
|
|
22
|
-
/>
|
|
23
|
-
<path
|
|
24
|
-
d="M19.75 22.75H17.3928V11.076H16.3409C14.4125 11.076 13.3995 12.0469 13.3995 13.4845C13.3995 15.1158 14.1008 15.8736 15.5421 16.845L16.7304 17.6415L13.3019 22.75H10.75L13.8279 18.1853C12.0553 16.9224 11.0618 15.6988 11.0618 13.6206C11.0618 11.0174 12.8736 9.25 16.3215 9.25H19.75V22.75Z"
|
|
25
|
-
fill="white"
|
|
26
|
-
/>
|
|
27
|
-
</svg>
|
|
28
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="32"
|
|
4
|
+
height="32"
|
|
5
|
+
viewBox="0 0 32 32"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<rect
|
|
10
|
+
x="0.5"
|
|
11
|
+
y="0.5"
|
|
12
|
+
width="31"
|
|
13
|
+
height="31"
|
|
14
|
+
rx="5.5"
|
|
15
|
+
stroke="#9DA3AC"
|
|
16
|
+
/>
|
|
17
|
+
<circle
|
|
18
|
+
cx="16"
|
|
19
|
+
cy="16"
|
|
20
|
+
r="10.5"
|
|
21
|
+
fill="#FC3F1D"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
d="M19.75 22.75H17.3928V11.076H16.3409C14.4125 11.076 13.3995 12.0469 13.3995 13.4845C13.3995 15.1158 14.1008 15.8736 15.5421 16.845L16.7304 17.6415L13.3019 22.75H10.75L13.8279 18.1853C12.0553 16.9224 11.0618 15.6988 11.0618 13.6206C11.0618 11.0174 12.8736 9.25 16.3215 9.25H19.75V22.75Z"
|
|
25
|
+
fill="white"
|
|
26
|
+
/>
|
|
27
|
+
</svg>
|
|
28
|
+
</template>
|
package/lang/ru.ts
CHANGED
|
@@ -470,7 +470,9 @@ const RuLocale = {
|
|
|
470
470
|
back: 'Назад',
|
|
471
471
|
recover: 'Восстановить',
|
|
472
472
|
cancel: 'Отменить',
|
|
473
|
-
|
|
473
|
+
set: 'Установить',
|
|
474
|
+
resend: 'Отправить еще раз',
|
|
475
|
+
confirm: 'Подтвердить',
|
|
474
476
|
},
|
|
475
477
|
modals: {
|
|
476
478
|
id: {
|
|
@@ -479,9 +481,9 @@ const RuLocale = {
|
|
|
479
481
|
content: 'Укажите Вашу электронную почту / номер телефона',
|
|
480
482
|
placeholder: 'Введите email или номер телефона',
|
|
481
483
|
},
|
|
482
|
-
|
|
483
|
-
title: '
|
|
484
|
-
content: '
|
|
484
|
+
resetPasswordOtp: {
|
|
485
|
+
title: 'Подтвердите действие',
|
|
486
|
+
content: 'Введите 6-значный код подтверждения отправленный на ваш адрес электронной почты',
|
|
485
487
|
},
|
|
486
488
|
newPassword: {
|
|
487
489
|
title: 'Создание нового пароля',
|
|
@@ -499,6 +501,14 @@ const RuLocale = {
|
|
|
499
501
|
confirm: 'Подтвердить',
|
|
500
502
|
error: 'Вы ввели неверный код',
|
|
501
503
|
},
|
|
504
|
+
passwordSuccessful: {
|
|
505
|
+
title: 'Отлично',
|
|
506
|
+
content: 'Вы успешно сменили пароль от учетной записи',
|
|
507
|
+
},
|
|
508
|
+
confirmSuccessful: {
|
|
509
|
+
title: 'Успешно!',
|
|
510
|
+
content: 'Электронная почта подтверждена. Спасибо!',
|
|
511
|
+
},
|
|
502
512
|
},
|
|
503
513
|
auth: {
|
|
504
514
|
title: 'Нет доступа',
|
|
@@ -678,7 +688,7 @@ const RuLocale = {
|
|
|
678
688
|
},
|
|
679
689
|
},
|
|
680
690
|
modal: {
|
|
681
|
-
title: 'Подтверждение',
|
|
691
|
+
title: 'Подтверждение аккаунта',
|
|
682
692
|
subtitle1: 'На вашу почту отправлено письмо с ссылкой на подтверждение аккаунта',
|
|
683
693
|
subtitle2: 'Ожидание подтверждения, повторно отправить письмо можно через',
|
|
684
694
|
confirmationEmail: 'Если Вы не получили письмо с подтверждением',
|
|
@@ -694,6 +704,7 @@ const RuLocale = {
|
|
|
694
704
|
user_canceled_auth: 'Вы отменили авторизацию',
|
|
695
705
|
email_not_verified: 'Почта не подтверждена',
|
|
696
706
|
email: 'Неправильный email',
|
|
707
|
+
otp: 'Вы ввели неверный код',
|
|
697
708
|
authorization_error_with_yandex:
|
|
698
709
|
'Не удалось авторизоваться через Яндекс',
|
|
699
710
|
authorization_error_with_google:
|
package/layouts/default.vue
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div>
|
|
7
|
-
<slot></slot>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<style scoped>
|
|
12
|
-
|
|
13
|
-
</style>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div>
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<style scoped>
|
|
12
|
+
|
|
13
|
+
</style>
|
package/nuxt.config.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adata-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.26",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "nuxi dev .playground",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"@nuxtjs/google-fonts": "^3.2.0",
|
|
44
44
|
"@nuxtjs/i18n": "9.3.3",
|
|
45
45
|
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
46
|
+
"@pinia/nuxt": "^0.11.2",
|
|
46
47
|
"@popperjs/core": "^2.11.8",
|
|
47
48
|
"@samk-dev/nuxt-vcalendar": "^1.0.4",
|
|
48
49
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"lodash.isequal": "^4.5.0",
|
|
58
59
|
"maska": "^2.1.11",
|
|
59
60
|
"ofetch": "^1.4.1",
|
|
61
|
+
"pinia": "^3.0.3",
|
|
60
62
|
"sass": "^1.90.0",
|
|
61
63
|
"scss": "^0.2.4",
|
|
62
64
|
"tailwind-merge": "^2.6.0",
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
defineEmits<{ (e: 'back'): void, (e: 'repeated'): void }>()
|
|
4
|
-
|
|
5
|
-
const timer = ref(60)
|
|
6
|
-
|
|
7
|
-
function runTimer() {
|
|
8
|
-
const intervalId = setInterval(() => {
|
|
9
|
-
if (!timer.value) clearInterval(intervalId)
|
|
10
|
-
return timer.value--
|
|
11
|
-
}, 1000)
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
onMounted(() => runTimer())
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<template>
|
|
18
|
-
<section class="flex flex-col items-stretch gap-4 py-4 py-8 text-center md:px-8">
|
|
19
|
-
<h2 class="text-2xl font-bold">
|
|
20
|
-
{{ $t('register.modal.title') }}
|
|
21
|
-
</h2>
|
|
22
|
-
<span class="mx-auto">
|
|
23
|
-
<a-ill-mail/>
|
|
24
|
-
</span>
|
|
25
|
-
<p class="text-sm">
|
|
26
|
-
{{ $t('register.modal.subtitle1') }}
|
|
27
|
-
</p>
|
|
28
|
-
<p class="text-sm">
|
|
29
|
-
{{ $t('register.modal.subtitle2') }}
|
|
30
|
-
</p>
|
|
31
|
-
<div v-if="timer > 0" class="text-2xl font-bold">
|
|
32
|
-
{{ timer }} {{ $t('register.modal.seconds') }}
|
|
33
|
-
</div>
|
|
34
|
-
<button
|
|
35
|
-
v-else
|
|
36
|
-
class="text-sm text-blue-500"
|
|
37
|
-
@click="$emit('repeated')"
|
|
38
|
-
>
|
|
39
|
-
{{ $t('register.modal.resend') }}
|
|
40
|
-
</button>
|
|
41
|
-
<a-button @click="$emit('back')">
|
|
42
|
-
{{ $t('actions.back') }}
|
|
43
|
-
</a-button>
|
|
44
|
-
</section>
|
|
45
|
-
</template>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const { emailModal } = useIdModals()
|
|
3
|
-
const { t } = useI18n()
|
|
4
|
-
</script>
|
|
5
|
-
|
|
6
|
-
<template>
|
|
7
|
-
<a-modal v-model="emailModal">
|
|
8
|
-
<div class="flex flex-col items-stretch gap-5 rounded-lg text-center">
|
|
9
|
-
<h2 class="text-center text-2xl font-bold">
|
|
10
|
-
{{ t('modals.id.email.title') }}
|
|
11
|
-
</h2>
|
|
12
|
-
<div class="flex justify-center">
|
|
13
|
-
<span class="flex size-[100px] items-center justify-center rounded-full bg-[#BDC7CE26]">
|
|
14
|
-
<a-ill-info />
|
|
15
|
-
</span>
|
|
16
|
-
</div>
|
|
17
|
-
<p class="text-center text-sm">
|
|
18
|
-
{{ t('modals.id.email.content') }}
|
|
19
|
-
</p>
|
|
20
|
-
<a-button @click="emailModal = false">
|
|
21
|
-
{{ t('actions.close') }}
|
|
22
|
-
</a-button>
|
|
23
|
-
</div>
|
|
24
|
-
</a-modal>
|
|
25
|
-
</template>
|
|
26
|
-
|
|
27
|
-
<style scoped>
|
|
28
|
-
|
|
29
|
-
</style>
|