adata-ui 3.1.80 → 3.1.82
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/README.md +84 -84
- package/dist/module.json +1 -1
- package/dist/runtime/components/Alert.vue +26 -26
- package/dist/runtime/components/Alert.vue.d.ts +2 -37
- package/dist/runtime/components/Chip.vue +5 -5
- package/dist/runtime/components/Chip.vue.d.ts +2 -21
- package/dist/runtime/components/ColorMode.vue +12 -12
- package/dist/runtime/components/CurveBlock.vue +177 -177
- package/dist/runtime/components/DigitBadge.vue +5 -5
- package/dist/runtime/components/DigitBadge.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.vue +32 -32
- package/dist/runtime/components/Drawer.vue.d.ts +2 -47
- package/dist/runtime/components/EmptyHeader.vue +6 -6
- package/dist/runtime/components/Error.vue +59 -59
- package/dist/runtime/components/Footer.vue +73 -73
- package/dist/runtime/components/FooterAccordion.vue +45 -45
- package/dist/runtime/components/Header.vue +111 -111
- package/dist/runtime/components/Header.vue.d.ts +50 -0
- package/dist/runtime/components/Modal.vue +78 -78
- package/dist/runtime/components/Modal.vue.d.ts +9 -49
- package/dist/runtime/components/NewFooter.vue +114 -114
- package/dist/runtime/components/NewFooterAccordion.vue +52 -52
- package/dist/runtime/components/OtherServiceFeatures.vue +45 -45
- package/dist/runtime/components/PkMobileServices.vue +22 -22
- package/dist/runtime/components/SidePanel.vue +76 -76
- package/dist/runtime/components/SidePanel.vue.d.ts +3 -79
- package/dist/runtime/components/Tag.vue +4 -4
- package/dist/runtime/components/Tag.vue.d.ts +2 -12
- package/dist/runtime/components/Toggle.vue +30 -30
- package/dist/runtime/components/accordion/Accordion.vue +41 -41
- package/dist/runtime/components/accordion/Accordion.vue.d.ts +4 -44
- package/dist/runtime/components/button/Button.vue +22 -22
- package/dist/runtime/components/button/Button.vue.d.ts +4 -22
- package/dist/runtime/components/checkbox/Checkbox.vue +58 -58
- package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +7 -39
- package/dist/runtime/components/date-picker/DatePicker.vue +38 -38
- package/dist/runtime/components/error-template/index.vue +32 -32
- package/dist/runtime/components/error-template/index.vue.d.ts +3 -5
- package/dist/runtime/components/feature-description/FeatureDescription.vue +46 -46
- package/dist/runtime/components/floating-label/FloatingLabel.vue +5 -5
- package/dist/runtime/components/floating-label/FloatingLabel.vue.d.ts +2 -7
- package/dist/runtime/components/forms/input/password/InputPassword.vue +25 -25
- package/dist/runtime/components/forms/input/password/InputPassword.vue.d.ts +1 -1
- package/dist/runtime/components/forms/input/standard/InputStandard.vue +108 -108
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue +63 -63
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue.d.ts +3 -35
- package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue +61 -55
- package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue.d.ts +11 -2
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue +63 -59
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue.d.ts +27 -0
- package/dist/runtime/components/header/AlmatyContacts.vue +76 -76
- package/dist/runtime/components/header/AstanaContacts.vue +31 -31
- package/dist/runtime/components/header/CardGallery.vue +60 -60
- package/dist/runtime/components/header/ContactMenu.vue +39 -39
- package/dist/runtime/components/header/ContactMenu.vue.d.ts +8 -2
- package/dist/runtime/components/header/HeaderLink.vue +68 -55
- package/dist/runtime/components/header/LangSwitcher.vue +26 -26
- package/dist/runtime/components/header/ListItem.vue +15 -15
- package/dist/runtime/components/header/NavCard.vue +28 -28
- package/dist/runtime/components/header/NavList.vue +52 -52
- package/dist/runtime/components/header/ProductMenu.vue +72 -72
- package/dist/runtime/components/header/ProductMenu.vue.d.ts +8 -2
- package/dist/runtime/components/header/ProfileMenu.vue +37 -37
- package/dist/runtime/components/header/ProfileMenu.vue.d.ts +5 -1
- package/dist/runtime/components/header/ProfileMenuContent.vue +140 -140
- package/dist/runtime/components/header/ProfileMenuContent.vue.d.ts +5 -1
- package/dist/runtime/components/header/TopHeader.vue +72 -72
- package/dist/runtime/components/header-mobile/HeaderMobile.vue +39 -39
- package/dist/runtime/components/header-mobile/HeaderMobile.vue.d.ts +9 -14
- package/dist/runtime/components/mobile-navigation/BottomNavigation.vue +41 -41
- package/dist/runtime/components/mobile-navigation/BottomNavigation.vue.d.ts +29 -0
- package/dist/runtime/components/mobile-navigation/MainButton.vue +8 -8
- package/dist/runtime/components/mobile-navigation/MainButton.vue.d.ts +5 -1
- package/dist/runtime/components/mobile-navigation/MobileProductMenu.vue +26 -26
- package/dist/runtime/components/modals/ApplicationAcceptedModal.vue +43 -0
- package/dist/runtime/components/modals/ApplicationAcceptedModal.vue.d.ts +9 -0
- package/dist/runtime/components/modals/ConnectingTariffModal.vue +58 -0
- package/dist/runtime/components/modals/ConnectingTariffModal.vue.d.ts +19 -0
- package/dist/runtime/components/modals/InsufficientFundsModal.vue +68 -0
- package/dist/runtime/components/modals/InsufficientFundsModal.vue.d.ts +18 -0
- package/dist/runtime/components/modals/NoAccessContent.vue +34 -34
- package/dist/runtime/components/modals/NoAccessContent.vue.d.ts +5 -1
- package/dist/runtime/components/modals/NoAccessSimple.vue +16 -16
- package/dist/runtime/components/modals/NoAccessSimple.vue.d.ts +5 -1
- package/dist/runtime/components/modals/SubmitApplicationModal.vue +114 -0
- package/dist/runtime/components/modals/SubmitApplicationModal.vue.d.ts +17 -0
- package/dist/runtime/components/modals/TokenTimeoutContent.vue +24 -24
- package/dist/runtime/components/modals/TokenTimeoutContent.vue.d.ts +5 -1
- package/dist/runtime/components/modals/id/IdAccessModal.vue +34 -34
- package/dist/runtime/components/modals/id/IdBanner.vue +29 -29
- package/dist/runtime/components/modals/id/IdConfirmAccountOtpModal.vue +43 -43
- package/dist/runtime/components/modals/id/IdConfirmSuccessfulModal.vue +17 -17
- package/dist/runtime/components/modals/id/IdLoginModal.vue +100 -100
- package/dist/runtime/components/modals/id/IdModals.vue +44 -44
- package/dist/runtime/components/modals/id/IdNewPasswordModal.vue +46 -46
- package/dist/runtime/components/modals/id/IdOtpInput.vue +30 -30
- package/dist/runtime/components/modals/id/IdPasswordSuccessfulModal.vue +14 -14
- package/dist/runtime/components/modals/id/IdRecoveryModal.vue +30 -30
- package/dist/runtime/components/modals/id/IdRegistrationModal.vue +68 -68
- package/dist/runtime/components/modals/id/IdResetPasswordOtpModal.vue +47 -47
- package/dist/runtime/components/modals/id/IdTwoFactorModal.vue +23 -23
- package/dist/runtime/components/payment/process/PaymentKaspiQrSidePanel.vue +51 -51
- package/dist/runtime/components/payment/process/PaymentKaspiRedirectSidePanel.vue +35 -35
- package/dist/runtime/components/payment/process/PaymentMethodSidePanel.vue +69 -69
- package/dist/runtime/components/payment/process/PaymentProcess.vue +26 -26
- package/dist/runtime/components/payment/process/PaymentTopUpSidePanel.vue +63 -63
- package/dist/runtime/components/photos-animation/PhotosAnimation.vue +9 -9
- package/dist/runtime/components/pill-tabs/PillTabs.vue +39 -39
- package/dist/runtime/components/pill-tabs/PillTabs.vue.d.ts +46 -0
- package/dist/runtime/components/radio-button/RadioButton.vue +33 -33
- package/dist/runtime/components/radio-button/RadioButton.vue.d.ts +2 -36
- package/dist/runtime/components/row-card/RowCard.vue +27 -27
- package/dist/runtime/components/row-card/RowCard.vue.d.ts +2 -9
- package/dist/runtime/components/select-row/index.vue +58 -58
- package/dist/runtime/components/select-row/index.vue.d.ts +1 -1
- package/dist/runtime/components/transitions/TransitionHeight.vue +9 -9
- package/dist/runtime/components/transitions/TransitionHeight.vue.d.ts +2 -20
- package/dist/runtime/components/tree-select/TreeSelect.vue +16 -16
- package/dist/runtime/components/tree-select/components/tree-select-nodes.vue +75 -75
- package/dist/runtime/composables/projectState.d.ts +2 -2
- package/dist/runtime/composables/useBuyTariffs.d.ts +7 -0
- package/dist/runtime/composables/useBuyTariffs.js +73 -0
- package/dist/runtime/composables/useIdModals.d.ts +11 -21
- package/dist/runtime/composables/usePayment.d.ts +5 -5
- package/dist/runtime/i18n/i18n.config.d.ts +9 -0
- package/dist/runtime/i18n.d.ts +1 -1
- package/dist/runtime/icons/ai-assistant.vue +13 -13
- package/dist/runtime/icons/akimat.vue +20 -20
- package/dist/runtime/icons/arrow/arrow-circle-down.vue +18 -18
- package/dist/runtime/icons/arrow/arrow-graph-up.vue +24 -24
- package/dist/runtime/icons/arrow/arrow-side-up.vue +19 -19
- package/dist/runtime/icons/arrow/arrow-top-right-on-square.vue +19 -19
- package/dist/runtime/icons/arrow/chevron-down.vue +19 -19
- package/dist/runtime/icons/avatar.vue +41 -41
- package/dist/runtime/icons/avto/car.vue +17 -17
- package/dist/runtime/icons/avto/truck.vue +17 -17
- package/dist/runtime/icons/bank.vue +14 -14
- package/dist/runtime/icons/block.vue +19 -19
- package/dist/runtime/icons/bookmark.vue +19 -19
- package/dist/runtime/icons/calculator.vue +19 -19
- package/dist/runtime/icons/chartBar.vue +14 -14
- package/dist/runtime/icons/check-circle.vue +25 -25
- package/dist/runtime/icons/check-sb.vue +7 -7
- package/dist/runtime/icons/checkbox/checkbox-active.vue +19 -19
- package/dist/runtime/icons/checkbox/checkbox-empty.vue +20 -20
- package/dist/runtime/icons/checkbox/checkbox-intermediate.vue +19 -19
- package/dist/runtime/icons/chevron/chevron-down.vue +16 -16
- package/dist/runtime/icons/chevron/chevron-left.vue +5 -5
- package/dist/runtime/icons/chevron/chevron-right.vue +5 -5
- package/dist/runtime/icons/chevron/chevron-up.vue +5 -5
- package/dist/runtime/icons/chevron/double-chevron-right.vue +12 -12
- package/dist/runtime/icons/clipboard-text.vue +17 -17
- package/dist/runtime/icons/clock.vue +25 -25
- package/dist/runtime/icons/color-mode/moon.vue +20 -20
- package/dist/runtime/icons/color-mode/sun.vue +27 -27
- package/dist/runtime/icons/communication/mail.vue +19 -19
- package/dist/runtime/icons/communication/phone.vue +19 -19
- package/dist/runtime/icons/company.vue +19 -19
- package/dist/runtime/icons/currency/dollar.vue +19 -19
- package/dist/runtime/icons/currency/down.vue +22 -22
- package/dist/runtime/icons/currency/eur.vue +69 -69
- package/dist/runtime/icons/currency/rub.vue +25 -25
- package/dist/runtime/icons/currency/tenge.vue +9 -9
- package/dist/runtime/icons/currency/usd.vue +269 -269
- package/dist/runtime/icons/currency/yuan.vue +37 -37
- package/dist/runtime/icons/document/hdocument.vue +17 -17
- package/dist/runtime/icons/document/id.vue +19 -19
- package/dist/runtime/icons/document/profile.vue +19 -19
- package/dist/runtime/icons/eye-closed.vue +26 -26
- package/dist/runtime/icons/eye-open.vue +7 -7
- package/dist/runtime/icons/eye-opened.vue +23 -23
- package/dist/runtime/icons/file/excel-icon.vue +14 -14
- package/dist/runtime/icons/file/file.vue +19 -19
- package/dist/runtime/icons/file/files.vue +17 -17
- package/dist/runtime/icons/globe.vue +19 -19
- package/dist/runtime/icons/hand-with-phone/hand-with-phone-dark.vue +52 -52
- package/dist/runtime/icons/hand-with-phone/hand-with-phone-light.vue +52 -52
- package/dist/runtime/icons/handshake.vue +19 -19
- package/dist/runtime/icons/history.vue +19 -19
- package/dist/runtime/icons/hot-line.vue +6 -6
- package/dist/runtime/icons/id.vue +9 -9
- package/dist/runtime/icons/info/info-circle.vue +29 -29
- package/dist/runtime/icons/invoice.vue +35 -35
- package/dist/runtime/icons/kaspi-qr.vue +13 -13
- package/dist/runtime/icons/link-chain.vue +31 -31
- package/dist/runtime/icons/loader-circle.vue +34 -34
- package/dist/runtime/icons/lock.vue +19 -19
- package/dist/runtime/icons/logo/adata.vue +48 -48
- package/dist/runtime/icons/logo/logo.vue +27 -27
- package/dist/runtime/icons/map-paper.vue +5 -5
- package/dist/runtime/icons/map-pin-rect.vue +15 -15
- package/dist/runtime/icons/medal.vue +17 -17
- package/dist/runtime/icons/menu/menu-filled.vue +61 -61
- package/dist/runtime/icons/menu/menu.vue +41 -41
- package/dist/runtime/icons/message.vue +24 -24
- package/dist/runtime/icons/modals/door.vue +162 -162
- package/dist/runtime/icons/moon.vue +10 -10
- package/dist/runtime/icons/navigation/expand-window.vue +19 -19
- package/dist/runtime/icons/navigation/location.vue +25 -25
- package/dist/runtime/icons/navigation/logout.vue +19 -19
- package/dist/runtime/icons/notifications.vue +25 -25
- package/dist/runtime/icons/other-service/arrow-square-down.vue +15 -15
- package/dist/runtime/icons/other-service/arrow-top-right-on-square.vue +6 -6
- package/dist/runtime/icons/other-service/block.vue +16 -16
- package/dist/runtime/icons/other-service/currency-dollar.vue +16 -16
- package/dist/runtime/icons/other-service/globe.vue +16 -16
- package/dist/runtime/icons/other-service/link.vue +7 -7
- package/dist/runtime/icons/other-service/magnifying-glass.vue +9 -9
- package/dist/runtime/icons/other-service/standing-scales.vue +15 -15
- package/dist/runtime/icons/other-service/users-three.vue +7 -7
- package/dist/runtime/icons/payment/payment-card.vue +6 -6
- package/dist/runtime/icons/payment/payment-kaspi.vue +11 -11
- package/dist/runtime/icons/plus.vue +24 -24
- package/dist/runtime/icons/radio/radio-check.vue +24 -24
- package/dist/runtime/icons/radio/radio-empty.vue +20 -20
- package/dist/runtime/icons/receipt/hcheck.vue +27 -27
- package/dist/runtime/icons/receipt/receipt.vue +27 -27
- package/dist/runtime/icons/sanctions.vue +8 -8
- package/dist/runtime/icons/scale.vue +19 -19
- package/dist/runtime/icons/search.vue +27 -27
- package/dist/runtime/icons/socials/facebook.vue +15 -15
- package/dist/runtime/icons/socials/google.vue +41 -41
- package/dist/runtime/icons/socials/instagram.vue +19 -19
- package/dist/runtime/icons/socials/linkedin.vue +24 -24
- package/dist/runtime/icons/socials/mailru.vue +34 -34
- package/dist/runtime/icons/socials/telegram.vue +15 -15
- package/dist/runtime/icons/socials/tik-tok.vue +15 -15
- package/dist/runtime/icons/socials/whatsapp.vue +21 -21
- package/dist/runtime/icons/socials/yandex.vue +28 -28
- package/dist/runtime/icons/socials/youtube.vue +16 -16
- package/dist/runtime/icons/sun.vue +14 -14
- package/dist/runtime/icons/sviazi.vue +19 -19
- package/dist/runtime/icons/tasks.vue +10 -10
- package/dist/runtime/icons/toasts/check-circle-toast.vue +6 -6
- package/dist/runtime/icons/toasts/warning-triangle-toast.vue +7 -7
- package/dist/runtime/icons/users/users-three.vue +17 -17
- package/dist/runtime/icons/users/users.vue +31 -31
- package/dist/runtime/icons/warning-triangle.vue +29 -29
- package/dist/runtime/icons/work-bag.vue +20 -20
- package/dist/runtime/icons/x-mark.vue +18 -18
- package/dist/runtime/illustrations/address-location.vue +38 -38
- package/dist/runtime/illustrations/ball-with-chain.vue +120 -120
- package/dist/runtime/illustrations/bill.vue +133 -133
- package/dist/runtime/illustrations/buildings.vue +82 -82
- package/dist/runtime/illustrations/calendar.vue +156 -156
- package/dist/runtime/illustrations/chains.vue +152 -152
- package/dist/runtime/illustrations/coin-percent.vue +126 -126
- package/dist/runtime/illustrations/coins-stack.vue +202 -202
- package/dist/runtime/illustrations/delete-dark.vue +31 -31
- package/dist/runtime/illustrations/delete.vue +32 -32
- package/dist/runtime/illustrations/doc-with-stamp.vue +126 -126
- package/dist/runtime/illustrations/document.vue +64 -64
- package/dist/runtime/illustrations/door.vue +74 -74
- package/dist/runtime/illustrations/empty-box.vue +77 -77
- package/dist/runtime/illustrations/empty-wallet.vue +161 -161
- package/dist/runtime/illustrations/graph-in-coin.vue +119 -119
- package/dist/runtime/illustrations/hammer.vue +156 -156
- package/dist/runtime/illustrations/hand-cash.vue +108 -108
- package/dist/runtime/illustrations/info.vue +39 -39
- package/dist/runtime/illustrations/mail.vue +68 -68
- package/dist/runtime/illustrations/ok.vue +62 -62
- package/dist/runtime/illustrations/people-group.vue +237 -237
- package/dist/runtime/illustrations/person-with-phone.vue +187 -187
- package/dist/runtime/illustrations/person.vue +159 -159
- package/dist/runtime/illustrations/phone-check.vue +90 -90
- package/dist/runtime/illustrations/phone-payment-method.vue +223 -223
- package/dist/runtime/illustrations/stop-hand.vue +77 -77
- package/dist/runtime/illustrations/stop-sign.vue +34 -34
- package/dist/runtime/illustrations/suit.vue +111 -111
- package/dist/runtime/illustrations/suitcase.vue +105 -105
- package/dist/runtime/illustrations/terminal-dark.vue +48 -48
- package/dist/runtime/illustrations/terminal.vue +234 -234
- package/dist/runtime/illustrations/trash-can.vue +108 -108
- package/dist/runtime/illustrations/turn-on-tariff.vue +38 -38
- package/dist/runtime/illustrations/two-persons.vue +169 -169
- package/dist/runtime/lang/en.js +5 -2
- package/dist/runtime/lang/kk.js +5 -2
- package/dist/runtime/lang/ru.d.ts +3 -0
- package/dist/runtime/lang/ru.js +5 -2
- package/dist/runtime/plugins/toast.d.ts +1 -503
- package/dist/runtime/public/kaspi/logo.svg +4 -4
- package/dist/runtime/server/tsconfig.json +3 -3
- package/dist/runtime/utils/getMaxZindex.d.ts +2 -0
- package/dist/runtime/utils/getMaxZindex.js +22 -0
- package/dist/runtime/utils/localizedNavigation.d.ts +1 -1
- package/dist/runtime/utils/useUrls.d.ts +1 -0
- package/dist/runtime/utils/useUrls.js +1 -0
- package/package.json +73 -73
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
import useUIValidation from "#adata-ui/composables/useUIValidation";
|
|
4
|
+
import { useI18n } from "#i18n";
|
|
5
|
+
import AModal from "#adata-ui/components/Modal.vue";
|
|
6
|
+
import AIllMail from "#adata-ui/illustrations/mail.vue";
|
|
7
|
+
import AInputStandard from "#adata-ui/components/forms/input/standard/InputStandard.vue";
|
|
8
|
+
import ATextarea from "#adata-ui/components/forms/input/textarea/ATextarea.vue";
|
|
9
|
+
import AButton from "#adata-ui/components/button/Button.vue";
|
|
10
|
+
const props = defineProps({
|
|
11
|
+
userInfo: { type: null, required: true }
|
|
12
|
+
});
|
|
13
|
+
const emit = defineEmits(["send"]);
|
|
14
|
+
const { t } = useI18n();
|
|
15
|
+
const isOpen = defineModel({ type: Boolean, ...{ default: false } });
|
|
16
|
+
const form = reactive({
|
|
17
|
+
name: "",
|
|
18
|
+
email: "",
|
|
19
|
+
phone: "",
|
|
20
|
+
comment: ""
|
|
21
|
+
});
|
|
22
|
+
const scheme = z.object({
|
|
23
|
+
name: z.string().nonempty(t("modals.submit_application_modal.rules.required")),
|
|
24
|
+
email: z.string().nonempty(t("modals.submit_application_modal.rules.required")).email(t("modals.submit_application_modal.rules.email")),
|
|
25
|
+
phone: z.string().nonempty(t("modals.submit_application_modal.rules.required")).min(17, t("forms.feedback.phoneMinLength", { count: 10 })),
|
|
26
|
+
comment: z.string().nonempty(t("modals.submit_application_modal.rules.required"))
|
|
27
|
+
});
|
|
28
|
+
const submitted = ref(false);
|
|
29
|
+
const { validation, getError } = useUIValidation(
|
|
30
|
+
scheme,
|
|
31
|
+
() => form,
|
|
32
|
+
submitted
|
|
33
|
+
);
|
|
34
|
+
const send = () => {
|
|
35
|
+
submitted.value = true;
|
|
36
|
+
if (validation.value) return;
|
|
37
|
+
emit("send", form);
|
|
38
|
+
form.name = "";
|
|
39
|
+
form.email = props.userInfo?.email || "";
|
|
40
|
+
form.phone = "";
|
|
41
|
+
form.comment = "";
|
|
42
|
+
};
|
|
43
|
+
const cancel = () => {
|
|
44
|
+
isOpen.value = false;
|
|
45
|
+
};
|
|
46
|
+
defineExpose({
|
|
47
|
+
reset: () => submitted.value = false
|
|
48
|
+
});
|
|
49
|
+
onMounted(() => {
|
|
50
|
+
form.email = props.userInfo?.email || "";
|
|
51
|
+
});
|
|
52
|
+
</script>
|
|
53
|
+
|
|
54
|
+
<template>
|
|
55
|
+
<a-modal
|
|
56
|
+
v-model="isOpen"
|
|
57
|
+
name="submit-application"
|
|
58
|
+
:prevent-close="true"
|
|
59
|
+
>
|
|
60
|
+
<div class="flex flex-col gap-5">
|
|
61
|
+
<p class="text-center heading-02">
|
|
62
|
+
{{ t("modals.submit_application_modal.title") }}
|
|
63
|
+
</p>
|
|
64
|
+
<a-ill-mail class="w-full" />
|
|
65
|
+
<div class="flex flex-col gap-2">
|
|
66
|
+
<a-input-standard
|
|
67
|
+
v-model="form.name"
|
|
68
|
+
:label="t('modals.submit_application_modal.labels.name')"
|
|
69
|
+
:error="getError('name')"
|
|
70
|
+
required
|
|
71
|
+
/>
|
|
72
|
+
<a-input-standard
|
|
73
|
+
v-model="form.email"
|
|
74
|
+
:label="t('modals.submit_application_modal.labels.email')"
|
|
75
|
+
:error="getError('email')"
|
|
76
|
+
required
|
|
77
|
+
/>
|
|
78
|
+
<a-input-standard
|
|
79
|
+
v-model="form.phone"
|
|
80
|
+
v-maska
|
|
81
|
+
:label="t('modals.submit_application_modal.labels.phone')"
|
|
82
|
+
data-maska="8 (###) ###-##-##"
|
|
83
|
+
:error="getError('phone')"
|
|
84
|
+
clearable
|
|
85
|
+
required
|
|
86
|
+
/>
|
|
87
|
+
<a-textarea
|
|
88
|
+
v-model="form.comment"
|
|
89
|
+
:label="t('modals.submit_application_modal.labels.comment')"
|
|
90
|
+
:error="getError('comment')"
|
|
91
|
+
resizeable="none"
|
|
92
|
+
required
|
|
93
|
+
/>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<template #footer>
|
|
97
|
+
<div class="flex gap-2 ">
|
|
98
|
+
<a-button
|
|
99
|
+
view="outline"
|
|
100
|
+
block
|
|
101
|
+
@click="cancel"
|
|
102
|
+
>
|
|
103
|
+
{{ t("reuse.close") }}
|
|
104
|
+
</a-button>
|
|
105
|
+
<a-button
|
|
106
|
+
block
|
|
107
|
+
@click="send"
|
|
108
|
+
>
|
|
109
|
+
{{ t("reuse.send") }}
|
|
110
|
+
</a-button>
|
|
111
|
+
</div>
|
|
112
|
+
</template>
|
|
113
|
+
</a-modal>
|
|
114
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
userInfo: any;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
5
|
+
modelValue?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
8
|
+
reset: () => boolean;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: boolean) => any;
|
|
11
|
+
} & {
|
|
12
|
+
send: (num: number) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
onSend?: ((num: number) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -11,28 +11,28 @@ function login() {
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<div class="flex flex-col justify-center items-center gap-5">
|
|
15
|
-
<h1 class="font-bold text-2xl text-center">
|
|
16
|
-
{{ t("modals.token_timeout.title") }}
|
|
17
|
-
</h1>
|
|
18
|
-
<ill-info />
|
|
19
|
-
<p class="text-sm text-center">
|
|
20
|
-
{{ t("modals.token_timeout.info") }}
|
|
21
|
-
</p>
|
|
22
|
-
<div class="flex gap-2 items-center w-full">
|
|
23
|
-
<a-button
|
|
24
|
-
view="outline"
|
|
25
|
-
class="w-full font-semibold"
|
|
26
|
-
@click="emit('close')"
|
|
27
|
-
>
|
|
28
|
-
{{ t("modals.buttons.close") }}
|
|
29
|
-
</a-button>
|
|
30
|
-
<a-button
|
|
31
|
-
class="w-full font-semibold"
|
|
32
|
-
@click="login"
|
|
33
|
-
>
|
|
34
|
-
{{ t("modals.buttons.enter") }}
|
|
35
|
-
</a-button>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
14
|
+
<div class="flex flex-col justify-center items-center gap-5">
|
|
15
|
+
<h1 class="font-bold text-2xl text-center">
|
|
16
|
+
{{ t("modals.token_timeout.title") }}
|
|
17
|
+
</h1>
|
|
18
|
+
<ill-info />
|
|
19
|
+
<p class="text-sm text-center">
|
|
20
|
+
{{ t("modals.token_timeout.info") }}
|
|
21
|
+
</p>
|
|
22
|
+
<div class="flex gap-2 items-center w-full">
|
|
23
|
+
<a-button
|
|
24
|
+
view="outline"
|
|
25
|
+
class="w-full font-semibold"
|
|
26
|
+
@click="emit('close')"
|
|
27
|
+
>
|
|
28
|
+
{{ t("modals.buttons.close") }}
|
|
29
|
+
</a-button>
|
|
30
|
+
<a-button
|
|
31
|
+
class="w-full font-semibold"
|
|
32
|
+
@click="login"
|
|
33
|
+
>
|
|
34
|
+
{{ t("modals.buttons.enter") }}
|
|
35
|
+
</a-button>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
38
|
</template>
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
close: (...args: any[]) => void;
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
6
|
export default _default;
|
|
@@ -42,38 +42,38 @@ function onClose() {
|
|
|
42
42
|
</script>
|
|
43
43
|
|
|
44
44
|
<template>
|
|
45
|
-
<adt-modal
|
|
46
|
-
v-model="accessModal"
|
|
47
|
-
:title="t('modals.auth.title')"
|
|
48
|
-
>
|
|
49
|
-
<div class="flex flex-col items-center gap-5 text-center text-sm">
|
|
50
|
-
<ill-door />
|
|
51
|
-
<div>{{ t("modals.auth.content") }}</div>
|
|
52
|
-
<adt-button
|
|
53
|
-
block
|
|
54
|
-
variant="success"
|
|
55
|
-
@click="goAuth"
|
|
56
|
-
>
|
|
57
|
-
{{ t("modals.buttons.logIn") }}
|
|
58
|
-
</adt-button>
|
|
59
|
-
<div>{{ t("modals.auth.firstTime") }}</div>
|
|
60
|
-
</div>
|
|
61
|
-
<template #footer>
|
|
62
|
-
<div class="flex gap-2">
|
|
63
|
-
<adt-button
|
|
64
|
-
view="outline"
|
|
65
|
-
block
|
|
66
|
-
@click="onClose"
|
|
67
|
-
>
|
|
68
|
-
{{ t("modals.buttons.close") }}
|
|
69
|
-
</adt-button>
|
|
70
|
-
<adt-button
|
|
71
|
-
block
|
|
72
|
-
@click="goRegister"
|
|
73
|
-
>
|
|
74
|
-
{{ t("modals.buttons.register") }}
|
|
75
|
-
</adt-button>
|
|
76
|
-
</div>
|
|
77
|
-
</template>
|
|
78
|
-
</adt-modal>
|
|
45
|
+
<adt-modal
|
|
46
|
+
v-model="accessModal"
|
|
47
|
+
:title="t('modals.auth.title')"
|
|
48
|
+
>
|
|
49
|
+
<div class="flex flex-col items-center gap-5 text-center text-sm">
|
|
50
|
+
<ill-door />
|
|
51
|
+
<div>{{ t("modals.auth.content") }}</div>
|
|
52
|
+
<adt-button
|
|
53
|
+
block
|
|
54
|
+
variant="success"
|
|
55
|
+
@click="goAuth"
|
|
56
|
+
>
|
|
57
|
+
{{ t("modals.buttons.logIn") }}
|
|
58
|
+
</adt-button>
|
|
59
|
+
<div>{{ t("modals.auth.firstTime") }}</div>
|
|
60
|
+
</div>
|
|
61
|
+
<template #footer>
|
|
62
|
+
<div class="flex gap-2">
|
|
63
|
+
<adt-button
|
|
64
|
+
view="outline"
|
|
65
|
+
block
|
|
66
|
+
@click="onClose"
|
|
67
|
+
>
|
|
68
|
+
{{ t("modals.buttons.close") }}
|
|
69
|
+
</adt-button>
|
|
70
|
+
<adt-button
|
|
71
|
+
block
|
|
72
|
+
@click="goRegister"
|
|
73
|
+
>
|
|
74
|
+
{{ t("modals.buttons.register") }}
|
|
75
|
+
</adt-button>
|
|
76
|
+
</div>
|
|
77
|
+
</template>
|
|
78
|
+
</adt-modal>
|
|
79
79
|
</template>
|
|
@@ -9,35 +9,35 @@ function onRegister() {
|
|
|
9
9
|
</script>
|
|
10
10
|
|
|
11
11
|
<template>
|
|
12
|
-
<div class="gradient flex justify-between rounded-lg p-4 ring-1 ring-inset ring-blue-700/80 dark:bg-gray-800">
|
|
13
|
-
<div>
|
|
14
|
-
<p class="mb-2 font-semibold">
|
|
15
|
-
{{ t("modals.id.banners.auth.title") }}
|
|
16
|
-
</p>
|
|
17
|
-
<i18n-t
|
|
18
|
-
keypath="modals.id.banners.auth.subtitle"
|
|
19
|
-
tag="p"
|
|
20
|
-
class="text-sm text-gray-600 dark:text-gray-200"
|
|
21
|
-
>
|
|
22
|
-
<template #register>
|
|
23
|
-
<button
|
|
24
|
-
class="font-semibold text-blue-700 dark:text-blue-500"
|
|
25
|
-
@click="onRegister"
|
|
26
|
-
>
|
|
27
|
-
{{ t("modals.id.banners.auth.register") }}
|
|
28
|
-
</button>
|
|
29
|
-
</template>
|
|
30
|
-
</i18n-t>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<adt-button
|
|
34
|
-
size="md"
|
|
35
|
-
class="self-end"
|
|
36
|
-
@click="onRegister"
|
|
37
|
-
>
|
|
38
|
-
{{ t("actions.register") }}
|
|
39
|
-
</adt-button>
|
|
40
|
-
</div>
|
|
12
|
+
<div class="gradient flex justify-between rounded-lg p-4 ring-1 ring-inset ring-blue-700/80 dark:bg-gray-800">
|
|
13
|
+
<div>
|
|
14
|
+
<p class="mb-2 font-semibold">
|
|
15
|
+
{{ t("modals.id.banners.auth.title") }}
|
|
16
|
+
</p>
|
|
17
|
+
<i18n-t
|
|
18
|
+
keypath="modals.id.banners.auth.subtitle"
|
|
19
|
+
tag="p"
|
|
20
|
+
class="text-sm text-gray-600 dark:text-gray-200"
|
|
21
|
+
>
|
|
22
|
+
<template #register>
|
|
23
|
+
<button
|
|
24
|
+
class="font-semibold text-blue-700 dark:text-blue-500"
|
|
25
|
+
@click="onRegister"
|
|
26
|
+
>
|
|
27
|
+
{{ t("modals.id.banners.auth.register") }}
|
|
28
|
+
</button>
|
|
29
|
+
</template>
|
|
30
|
+
</i18n-t>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<adt-button
|
|
34
|
+
size="md"
|
|
35
|
+
class="self-end"
|
|
36
|
+
@click="onRegister"
|
|
37
|
+
>
|
|
38
|
+
{{ t("actions.register") }}
|
|
39
|
+
</adt-button>
|
|
40
|
+
</div>
|
|
41
41
|
</template>
|
|
42
42
|
|
|
43
43
|
<style scoped>
|
|
@@ -123,47 +123,47 @@ onBeforeUnmount(() => {
|
|
|
123
123
|
</script>
|
|
124
124
|
|
|
125
125
|
<template>
|
|
126
|
-
<div class="flex flex-col items-center gap-4 text-center">
|
|
127
|
-
<h2 class="text-2xl font-bold">
|
|
128
|
-
{{ t("modals.id.confirmAccount.title") }}
|
|
129
|
-
</h2>
|
|
130
|
-
|
|
131
|
-
<i-hand-with-phone-light class="size-32 dark:hidden" />
|
|
132
|
-
<i-hand-with-phone-dark class="hidden size-32 dark:block" />
|
|
133
|
-
|
|
134
|
-
<div class="text-sm">
|
|
135
|
-
<p class="mb-1">
|
|
136
|
-
{{ t("modals.id.resetPasswordOtp.content") }}
|
|
137
|
-
</p>
|
|
138
|
-
|
|
139
|
-
<div
|
|
140
|
-
v-if="timer > 0"
|
|
141
|
-
class="text-2xl font-bold"
|
|
142
|
-
>
|
|
143
|
-
{{ timer }} {{ t("modals.id.resetPasswordOtp.seconds") }}
|
|
144
|
-
</div>
|
|
145
|
-
<button
|
|
146
|
-
v-else
|
|
147
|
-
class="text-blue-700 dark:text-blue-500"
|
|
148
|
-
:disabled="isResendLoading"
|
|
149
|
-
@click="onResend"
|
|
150
|
-
>
|
|
151
|
-
{{ t("actions.resend") }}
|
|
152
|
-
</button>
|
|
153
|
-
</div>
|
|
154
|
-
|
|
155
|
-
<id-otp-input
|
|
156
|
-
v-model="otp"
|
|
157
|
-
v-model:error="showError"
|
|
158
|
-
@on-completed="onConfirm"
|
|
159
|
-
/>
|
|
160
|
-
|
|
161
|
-
<adt-button
|
|
162
|
-
block
|
|
163
|
-
view="outline"
|
|
164
|
-
@click="onClose"
|
|
165
|
-
>
|
|
166
|
-
{{ t("actions.close") }}
|
|
167
|
-
</adt-button>
|
|
168
|
-
</div>
|
|
126
|
+
<div class="flex flex-col items-center gap-4 text-center">
|
|
127
|
+
<h2 class="text-2xl font-bold">
|
|
128
|
+
{{ t("modals.id.confirmAccount.title") }}
|
|
129
|
+
</h2>
|
|
130
|
+
|
|
131
|
+
<i-hand-with-phone-light class="size-32 dark:hidden" />
|
|
132
|
+
<i-hand-with-phone-dark class="hidden size-32 dark:block" />
|
|
133
|
+
|
|
134
|
+
<div class="text-sm">
|
|
135
|
+
<p class="mb-1">
|
|
136
|
+
{{ t("modals.id.resetPasswordOtp.content") }}
|
|
137
|
+
</p>
|
|
138
|
+
|
|
139
|
+
<div
|
|
140
|
+
v-if="timer > 0"
|
|
141
|
+
class="text-2xl font-bold"
|
|
142
|
+
>
|
|
143
|
+
{{ timer }} {{ t("modals.id.resetPasswordOtp.seconds") }}
|
|
144
|
+
</div>
|
|
145
|
+
<button
|
|
146
|
+
v-else
|
|
147
|
+
class="text-blue-700 dark:text-blue-500"
|
|
148
|
+
:disabled="isResendLoading"
|
|
149
|
+
@click="onResend"
|
|
150
|
+
>
|
|
151
|
+
{{ t("actions.resend") }}
|
|
152
|
+
</button>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
<id-otp-input
|
|
156
|
+
v-model="otp"
|
|
157
|
+
v-model:error="showError"
|
|
158
|
+
@on-completed="onConfirm"
|
|
159
|
+
/>
|
|
160
|
+
|
|
161
|
+
<adt-button
|
|
162
|
+
block
|
|
163
|
+
view="outline"
|
|
164
|
+
@click="onClose"
|
|
165
|
+
>
|
|
166
|
+
{{ t("actions.close") }}
|
|
167
|
+
</adt-button>
|
|
168
|
+
</div>
|
|
169
169
|
</template>
|
|
@@ -18,21 +18,21 @@ function onClose() {
|
|
|
18
18
|
</script>
|
|
19
19
|
|
|
20
20
|
<template>
|
|
21
|
-
<div class="flex flex-col gap-4 text-center">
|
|
22
|
-
<h2 class="text-2xl font-bold">
|
|
23
|
-
{{ t("modals.id.confirmSuccessful.title") }}
|
|
24
|
-
</h2>
|
|
25
|
-
<span class="mx-auto size-[100px] rounded-full bg-[#BDC7CE26]">
|
|
26
|
-
<ill-ok />
|
|
27
|
-
</span>
|
|
28
|
-
<p class="text-sm">
|
|
29
|
-
{{ t("modals.id.confirmSuccessful.content") }}
|
|
30
|
-
</p>
|
|
31
|
-
<adt-button
|
|
32
|
-
view="outline"
|
|
33
|
-
@click="onClose"
|
|
34
|
-
>
|
|
35
|
-
{{ t("actions.close") }}
|
|
36
|
-
</adt-button>
|
|
37
|
-
</div>
|
|
21
|
+
<div class="flex flex-col gap-4 text-center">
|
|
22
|
+
<h2 class="text-2xl font-bold">
|
|
23
|
+
{{ t("modals.id.confirmSuccessful.title") }}
|
|
24
|
+
</h2>
|
|
25
|
+
<span class="mx-auto size-[100px] rounded-full bg-[#BDC7CE26]">
|
|
26
|
+
<ill-ok />
|
|
27
|
+
</span>
|
|
28
|
+
<p class="text-sm">
|
|
29
|
+
{{ t("modals.id.confirmSuccessful.content") }}
|
|
30
|
+
</p>
|
|
31
|
+
<adt-button
|
|
32
|
+
view="outline"
|
|
33
|
+
@click="onClose"
|
|
34
|
+
>
|
|
35
|
+
{{ t("actions.close") }}
|
|
36
|
+
</adt-button>
|
|
37
|
+
</div>
|
|
38
38
|
</template>
|
|
@@ -184,104 +184,104 @@ onBeforeUnmount(() => {
|
|
|
184
184
|
</script>
|
|
185
185
|
|
|
186
186
|
<template>
|
|
187
|
-
<div class="flex flex-col gap-5">
|
|
188
|
-
<h1 class="heading-02 text-center">
|
|
189
|
-
{{ t("modals.id.login.title") }}
|
|
190
|
-
</h1>
|
|
191
|
-
<p class="body-400 text-center">
|
|
192
|
-
{{ t("modals.id.login.subtitle") }}
|
|
193
|
-
</p>
|
|
194
|
-
<div class="flex flex-col gap-4">
|
|
195
|
-
<adt-forms-input-standard
|
|
196
|
-
v-model="form.username"
|
|
197
|
-
type="email"
|
|
198
|
-
:label="t('modals.id.login.labels.email')"
|
|
199
|
-
:error="getError('username')"
|
|
200
|
-
/>
|
|
201
|
-
<adt-forms-input-password
|
|
202
|
-
v-model="form.password"
|
|
203
|
-
:label="t('modals.id.login.labels.password')"
|
|
204
|
-
:error="getError('password')"
|
|
205
|
-
/>
|
|
206
|
-
<div class="flex items-center justify-between">
|
|
207
|
-
<div class="body-400 flex gap-2">
|
|
208
|
-
<adt-checkbox
|
|
209
|
-
v-model="rememberMe"
|
|
210
|
-
name="remember_me"
|
|
211
|
-
/>
|
|
212
|
-
<label
|
|
213
|
-
for="remember_me"
|
|
214
|
-
class="cursor-pointer"
|
|
215
|
-
>{{
|
|
216
|
-
t("modals.id.login.remember_me")
|
|
217
|
-
}}</label>
|
|
218
|
-
</div>
|
|
219
|
-
<button
|
|
220
|
-
class="link-s-400"
|
|
221
|
-
@click="onForgotPassword"
|
|
222
|
-
>
|
|
223
|
-
{{ t("modals.id.login.forget_password") }}
|
|
224
|
-
</button>
|
|
225
|
-
</div>
|
|
226
|
-
</div>
|
|
227
|
-
<div class="flex items-center gap-4">
|
|
228
|
-
<div class="h-px w-full bg-deepblue-500/30" />
|
|
229
|
-
<div class="flex shrink-0 gap-4">
|
|
230
|
-
<span
|
|
231
|
-
class="cursor-pointer"
|
|
232
|
-
@click="authWithSocial('google')"
|
|
233
|
-
>
|
|
234
|
-
<i-socials-google />
|
|
235
|
-
</span>
|
|
236
|
-
<span
|
|
237
|
-
class="cursor-pointer"
|
|
238
|
-
@click="authWithSocial('yandex')"
|
|
239
|
-
>
|
|
240
|
-
<i-socials-yandex />
|
|
241
|
-
</span>
|
|
242
|
-
<span
|
|
243
|
-
class="cursor-pointer"
|
|
244
|
-
@click="authWithSocial('mailru')"
|
|
245
|
-
>
|
|
246
|
-
<i-socials-mailru />
|
|
247
|
-
</span>
|
|
248
|
-
</div>
|
|
249
|
-
<div class="h-px w-full bg-deepblue-500/30" />
|
|
250
|
-
</div>
|
|
251
|
-
<adt-button
|
|
252
|
-
:loading="loading"
|
|
253
|
-
type="submit"
|
|
254
|
-
@click="submit"
|
|
255
|
-
>
|
|
256
|
-
{{ t("actions.login") }}
|
|
257
|
-
</adt-button>
|
|
258
|
-
<p class="body-400 text-center">
|
|
259
|
-
{{ t("modals.id.login.first_time") }}
|
|
260
|
-
</p>
|
|
261
|
-
|
|
262
|
-
<adt-button
|
|
263
|
-
type="button"
|
|
264
|
-
view="outline"
|
|
265
|
-
class="w-full"
|
|
266
|
-
@click="onRegister"
|
|
267
|
-
>
|
|
268
|
-
{{ t("actions.register") }}
|
|
269
|
-
</adt-button>
|
|
270
|
-
|
|
271
|
-
<adt-button
|
|
272
|
-
type="button"
|
|
273
|
-
view="transparent"
|
|
274
|
-
class="w-full"
|
|
275
|
-
@click="toTariffs"
|
|
276
|
-
>
|
|
277
|
-
{{ t("actions.toTariffs") }}
|
|
278
|
-
</adt-button>
|
|
279
|
-
|
|
280
|
-
<adt-alert
|
|
281
|
-
class="max-w-screen-sm !text-[10px]"
|
|
282
|
-
size="xs"
|
|
283
|
-
>
|
|
284
|
-
{{ t("info.userAgreement") }}
|
|
285
|
-
</adt-alert>
|
|
286
|
-
</div>
|
|
187
|
+
<div class="flex flex-col gap-5">
|
|
188
|
+
<h1 class="heading-02 text-center">
|
|
189
|
+
{{ t("modals.id.login.title") }}
|
|
190
|
+
</h1>
|
|
191
|
+
<p class="body-400 text-center">
|
|
192
|
+
{{ t("modals.id.login.subtitle") }}
|
|
193
|
+
</p>
|
|
194
|
+
<div class="flex flex-col gap-4">
|
|
195
|
+
<adt-forms-input-standard
|
|
196
|
+
v-model="form.username"
|
|
197
|
+
type="email"
|
|
198
|
+
:label="t('modals.id.login.labels.email')"
|
|
199
|
+
:error="getError('username')"
|
|
200
|
+
/>
|
|
201
|
+
<adt-forms-input-password
|
|
202
|
+
v-model="form.password"
|
|
203
|
+
:label="t('modals.id.login.labels.password')"
|
|
204
|
+
:error="getError('password')"
|
|
205
|
+
/>
|
|
206
|
+
<div class="flex items-center justify-between">
|
|
207
|
+
<div class="body-400 flex gap-2">
|
|
208
|
+
<adt-checkbox
|
|
209
|
+
v-model="rememberMe"
|
|
210
|
+
name="remember_me"
|
|
211
|
+
/>
|
|
212
|
+
<label
|
|
213
|
+
for="remember_me"
|
|
214
|
+
class="cursor-pointer"
|
|
215
|
+
>{{
|
|
216
|
+
t("modals.id.login.remember_me")
|
|
217
|
+
}}</label>
|
|
218
|
+
</div>
|
|
219
|
+
<button
|
|
220
|
+
class="link-s-400"
|
|
221
|
+
@click="onForgotPassword"
|
|
222
|
+
>
|
|
223
|
+
{{ t("modals.id.login.forget_password") }}
|
|
224
|
+
</button>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="flex items-center gap-4">
|
|
228
|
+
<div class="h-px w-full bg-deepblue-500/30" />
|
|
229
|
+
<div class="flex shrink-0 gap-4">
|
|
230
|
+
<span
|
|
231
|
+
class="cursor-pointer"
|
|
232
|
+
@click="authWithSocial('google')"
|
|
233
|
+
>
|
|
234
|
+
<i-socials-google />
|
|
235
|
+
</span>
|
|
236
|
+
<span
|
|
237
|
+
class="cursor-pointer"
|
|
238
|
+
@click="authWithSocial('yandex')"
|
|
239
|
+
>
|
|
240
|
+
<i-socials-yandex />
|
|
241
|
+
</span>
|
|
242
|
+
<span
|
|
243
|
+
class="cursor-pointer"
|
|
244
|
+
@click="authWithSocial('mailru')"
|
|
245
|
+
>
|
|
246
|
+
<i-socials-mailru />
|
|
247
|
+
</span>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="h-px w-full bg-deepblue-500/30" />
|
|
250
|
+
</div>
|
|
251
|
+
<adt-button
|
|
252
|
+
:loading="loading"
|
|
253
|
+
type="submit"
|
|
254
|
+
@click="submit"
|
|
255
|
+
>
|
|
256
|
+
{{ t("actions.login") }}
|
|
257
|
+
</adt-button>
|
|
258
|
+
<p class="body-400 text-center">
|
|
259
|
+
{{ t("modals.id.login.first_time") }}
|
|
260
|
+
</p>
|
|
261
|
+
|
|
262
|
+
<adt-button
|
|
263
|
+
type="button"
|
|
264
|
+
view="outline"
|
|
265
|
+
class="w-full"
|
|
266
|
+
@click="onRegister"
|
|
267
|
+
>
|
|
268
|
+
{{ t("actions.register") }}
|
|
269
|
+
</adt-button>
|
|
270
|
+
|
|
271
|
+
<adt-button
|
|
272
|
+
type="button"
|
|
273
|
+
view="transparent"
|
|
274
|
+
class="w-full"
|
|
275
|
+
@click="toTariffs"
|
|
276
|
+
>
|
|
277
|
+
{{ t("actions.toTariffs") }}
|
|
278
|
+
</adt-button>
|
|
279
|
+
|
|
280
|
+
<adt-alert
|
|
281
|
+
class="max-w-screen-sm !text-[10px]"
|
|
282
|
+
size="xs"
|
|
283
|
+
>
|
|
284
|
+
{{ t("info.userAgreement") }}
|
|
285
|
+
</adt-alert>
|
|
286
|
+
</div>
|
|
287
287
|
</template>
|