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
|
@@ -95,55 +95,55 @@ watch(isOpen, async (value) => {
|
|
|
95
95
|
</script>
|
|
96
96
|
|
|
97
97
|
<template>
|
|
98
|
-
<adt-side-panel
|
|
99
|
-
v-model="isOpen"
|
|
100
|
-
:width="484"
|
|
101
|
-
:height-drawer="800"
|
|
102
|
-
>
|
|
103
|
-
<template #header>
|
|
104
|
-
<div class="flex items-center gap-2">
|
|
105
|
-
<button @click="onBack">
|
|
106
|
-
<i-chevron-left class="size-6" />
|
|
107
|
-
</button>
|
|
108
|
-
<p class="text-xl font-semibold">
|
|
109
|
-
{{ t("payment.kaspi.title") }}
|
|
110
|
-
</p>
|
|
111
|
-
</div>
|
|
112
|
-
</template>
|
|
113
|
-
|
|
114
|
-
<div class="flex flex-col gap-6">
|
|
115
|
-
<div class="flex flex-col items-center text-center text-black dark:text-white">
|
|
116
|
-
<p class="mb-4 font-semibold text-sm">
|
|
117
|
-
{{ t("payment.kaspi.description") }}
|
|
118
|
-
</p>
|
|
119
|
-
|
|
120
|
-
<div class="flex gap-3 items-center">
|
|
121
|
-
<i-kaspi-qr class="size-16" />
|
|
122
|
-
<span class="font-bold text-[44px]">
|
|
123
|
-
{{ t("payment.kaspi.qr") }}
|
|
124
|
-
</span>
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
<p class="mt-5 font-bold text-2xl">
|
|
128
|
-
{{ t("payment.kaspi.scan") }}
|
|
129
|
-
</p>
|
|
130
|
-
|
|
131
|
-
<canvas
|
|
132
|
-
id="kaspiQr"
|
|
133
|
-
class="mt-5"
|
|
134
|
-
/>
|
|
135
|
-
|
|
136
|
-
<p class="mt-10 text-lg">
|
|
137
|
-
{{ t("payment.kaspi.adata") }}
|
|
138
|
-
</p>
|
|
139
|
-
</div>
|
|
140
|
-
|
|
141
|
-
<adt-button
|
|
142
|
-
view="outline"
|
|
143
|
-
@click="onBack"
|
|
144
|
-
>
|
|
145
|
-
{{ t("payment.kaspi.changeMethod") }}
|
|
146
|
-
</adt-button>
|
|
147
|
-
</div>
|
|
148
|
-
</adt-side-panel>
|
|
98
|
+
<adt-side-panel
|
|
99
|
+
v-model="isOpen"
|
|
100
|
+
:width="484"
|
|
101
|
+
:height-drawer="800"
|
|
102
|
+
>
|
|
103
|
+
<template #header>
|
|
104
|
+
<div class="flex items-center gap-2">
|
|
105
|
+
<button @click="onBack">
|
|
106
|
+
<i-chevron-left class="size-6" />
|
|
107
|
+
</button>
|
|
108
|
+
<p class="text-xl font-semibold">
|
|
109
|
+
{{ t("payment.kaspi.title") }}
|
|
110
|
+
</p>
|
|
111
|
+
</div>
|
|
112
|
+
</template>
|
|
113
|
+
|
|
114
|
+
<div class="flex flex-col gap-6">
|
|
115
|
+
<div class="flex flex-col items-center text-center text-black dark:text-white">
|
|
116
|
+
<p class="mb-4 font-semibold text-sm">
|
|
117
|
+
{{ t("payment.kaspi.description") }}
|
|
118
|
+
</p>
|
|
119
|
+
|
|
120
|
+
<div class="flex gap-3 items-center">
|
|
121
|
+
<i-kaspi-qr class="size-16" />
|
|
122
|
+
<span class="font-bold text-[44px]">
|
|
123
|
+
{{ t("payment.kaspi.qr") }}
|
|
124
|
+
</span>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<p class="mt-5 font-bold text-2xl">
|
|
128
|
+
{{ t("payment.kaspi.scan") }}
|
|
129
|
+
</p>
|
|
130
|
+
|
|
131
|
+
<canvas
|
|
132
|
+
id="kaspiQr"
|
|
133
|
+
class="mt-5"
|
|
134
|
+
/>
|
|
135
|
+
|
|
136
|
+
<p class="mt-10 text-lg">
|
|
137
|
+
{{ t("payment.kaspi.adata") }}
|
|
138
|
+
</p>
|
|
139
|
+
</div>
|
|
140
|
+
|
|
141
|
+
<adt-button
|
|
142
|
+
view="outline"
|
|
143
|
+
@click="onBack"
|
|
144
|
+
>
|
|
145
|
+
{{ t("payment.kaspi.changeMethod") }}
|
|
146
|
+
</adt-button>
|
|
147
|
+
</div>
|
|
148
|
+
</adt-side-panel>
|
|
149
149
|
</template>
|
|
@@ -60,39 +60,39 @@ watch(isOpen, async (value) => {
|
|
|
60
60
|
</script>
|
|
61
61
|
|
|
62
62
|
<template>
|
|
63
|
-
<adt-side-panel
|
|
64
|
-
v-model="isOpen"
|
|
65
|
-
:width="484"
|
|
66
|
-
:height-drawer="800"
|
|
67
|
-
>
|
|
68
|
-
<div class="flex flex-col gap-5">
|
|
69
|
-
<p class="text-center text-2xl font-bold whitespace-pre-wrap">
|
|
70
|
-
{{ t("payment.redirect.title") }}
|
|
71
|
-
</p>
|
|
72
|
-
<adt-button
|
|
73
|
-
block
|
|
74
|
-
@click="goKaspi"
|
|
75
|
-
>
|
|
76
|
-
{{ t("payment.redirect.goKaspi") }}
|
|
77
|
-
</adt-button>
|
|
78
|
-
<div class="flex flex-col gap-2">
|
|
79
|
-
<p class="text-center text-sm">
|
|
80
|
-
{{ t("payment.redirect.paymentId") }}
|
|
81
|
-
</p>
|
|
82
|
-
<p class="text-center text-xl font-semibold">
|
|
83
|
-
{{ requestId }}
|
|
84
|
-
</p>
|
|
85
|
-
</div>
|
|
86
|
-
<p class="text-center text-sm">
|
|
87
|
-
{{ t("payment.redirect.description") }}
|
|
88
|
-
</p>
|
|
89
|
-
<adt-button
|
|
90
|
-
view="outline"
|
|
91
|
-
block
|
|
92
|
-
@click="onBack"
|
|
93
|
-
>
|
|
94
|
-
{{ t("payment.redirect.changeMethod") }}
|
|
95
|
-
</adt-button>
|
|
96
|
-
</div>
|
|
97
|
-
</adt-side-panel>
|
|
63
|
+
<adt-side-panel
|
|
64
|
+
v-model="isOpen"
|
|
65
|
+
:width="484"
|
|
66
|
+
:height-drawer="800"
|
|
67
|
+
>
|
|
68
|
+
<div class="flex flex-col gap-5">
|
|
69
|
+
<p class="text-center text-2xl font-bold whitespace-pre-wrap">
|
|
70
|
+
{{ t("payment.redirect.title") }}
|
|
71
|
+
</p>
|
|
72
|
+
<adt-button
|
|
73
|
+
block
|
|
74
|
+
@click="goKaspi"
|
|
75
|
+
>
|
|
76
|
+
{{ t("payment.redirect.goKaspi") }}
|
|
77
|
+
</adt-button>
|
|
78
|
+
<div class="flex flex-col gap-2">
|
|
79
|
+
<p class="text-center text-sm">
|
|
80
|
+
{{ t("payment.redirect.paymentId") }}
|
|
81
|
+
</p>
|
|
82
|
+
<p class="text-center text-xl font-semibold">
|
|
83
|
+
{{ requestId }}
|
|
84
|
+
</p>
|
|
85
|
+
</div>
|
|
86
|
+
<p class="text-center text-sm">
|
|
87
|
+
{{ t("payment.redirect.description") }}
|
|
88
|
+
</p>
|
|
89
|
+
<adt-button
|
|
90
|
+
view="outline"
|
|
91
|
+
block
|
|
92
|
+
@click="onBack"
|
|
93
|
+
>
|
|
94
|
+
{{ t("payment.redirect.changeMethod") }}
|
|
95
|
+
</adt-button>
|
|
96
|
+
</div>
|
|
97
|
+
</adt-side-panel>
|
|
98
98
|
</template>
|
|
@@ -35,73 +35,73 @@ function onBack() {
|
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
37
|
<template>
|
|
38
|
-
<adt-side-panel
|
|
39
|
-
v-model="isOpen"
|
|
40
|
-
:width="484"
|
|
41
|
-
:height-drawer="600"
|
|
42
|
-
>
|
|
43
|
-
<template #header>
|
|
44
|
-
<div class="flex items-center gap-2">
|
|
45
|
-
<button @click="onBack">
|
|
46
|
-
<i-chevron-left class="size-6" />
|
|
47
|
-
</button>
|
|
48
|
-
<p class="text-xl font-semibold">
|
|
49
|
-
{{ t("payment.method.title") }}
|
|
50
|
-
</p>
|
|
51
|
-
</div>
|
|
52
|
-
</template>
|
|
53
|
-
|
|
54
|
-
<div class="flex flex-col gap-6">
|
|
55
|
-
<div class="flex flex-col items-center gap-4">
|
|
56
|
-
<ill-phone-check class="size-[120px]" />
|
|
57
|
-
<p class="text-center text-sm font-semibold">
|
|
58
|
-
{{ t("payment.method.description") }}
|
|
59
|
-
</p>
|
|
60
|
-
</div>
|
|
61
|
-
|
|
62
|
-
<div class="font-semibold">
|
|
63
|
-
{{ t("payment.method.note") }}
|
|
64
|
-
</div>
|
|
65
|
-
|
|
66
|
-
<div class="flex flex-col gap-2">
|
|
67
|
-
<adt-radio-button
|
|
68
|
-
v-for="(item) in cards"
|
|
69
|
-
:key="item.id"
|
|
70
|
-
v-model="checkbox"
|
|
71
|
-
:name="`${item.name}`"
|
|
72
|
-
side="right"
|
|
73
|
-
size="lg"
|
|
74
|
-
:value="item.id"
|
|
75
|
-
class="flex items-center justify-between gap-2 rounded-md bg-gray-50 p-[10px_16px] dark:bg-[#393D40]"
|
|
76
|
-
>
|
|
77
|
-
<div class="flex w-full items-center gap-2">
|
|
78
|
-
<component :is="item.img" />
|
|
79
|
-
<div class="flex w-full items-center justify-between">
|
|
80
|
-
{{ t(item.name) }}
|
|
81
|
-
<p class="body-600">
|
|
82
|
-
{{ Math.round(sum).toLocaleString("RU-ru") }} ₸
|
|
83
|
-
</p>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
</adt-radio-button>
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
<div class="flex flex-col gap-2 ">
|
|
90
|
-
<adt-button
|
|
91
|
-
:disabled="!checkbox"
|
|
92
|
-
block
|
|
93
|
-
@click="confirm"
|
|
94
|
-
>
|
|
95
|
-
{{ t("actions.topUp") }}
|
|
96
|
-
</adt-button>
|
|
97
|
-
<adt-button
|
|
98
|
-
view="outline"
|
|
99
|
-
block
|
|
100
|
-
@click="cancel"
|
|
101
|
-
>
|
|
102
|
-
{{ t("actions.close") }}
|
|
103
|
-
</adt-button>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</adt-side-panel>
|
|
38
|
+
<adt-side-panel
|
|
39
|
+
v-model="isOpen"
|
|
40
|
+
:width="484"
|
|
41
|
+
:height-drawer="600"
|
|
42
|
+
>
|
|
43
|
+
<template #header>
|
|
44
|
+
<div class="flex items-center gap-2">
|
|
45
|
+
<button @click="onBack">
|
|
46
|
+
<i-chevron-left class="size-6" />
|
|
47
|
+
</button>
|
|
48
|
+
<p class="text-xl font-semibold">
|
|
49
|
+
{{ t("payment.method.title") }}
|
|
50
|
+
</p>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<div class="flex flex-col gap-6">
|
|
55
|
+
<div class="flex flex-col items-center gap-4">
|
|
56
|
+
<ill-phone-check class="size-[120px]" />
|
|
57
|
+
<p class="text-center text-sm font-semibold">
|
|
58
|
+
{{ t("payment.method.description") }}
|
|
59
|
+
</p>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<div class="font-semibold">
|
|
63
|
+
{{ t("payment.method.note") }}
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div class="flex flex-col gap-2">
|
|
67
|
+
<adt-radio-button
|
|
68
|
+
v-for="(item) in cards"
|
|
69
|
+
:key="item.id"
|
|
70
|
+
v-model="checkbox"
|
|
71
|
+
:name="`${item.name}`"
|
|
72
|
+
side="right"
|
|
73
|
+
size="lg"
|
|
74
|
+
:value="item.id"
|
|
75
|
+
class="flex items-center justify-between gap-2 rounded-md bg-gray-50 p-[10px_16px] dark:bg-[#393D40]"
|
|
76
|
+
>
|
|
77
|
+
<div class="flex w-full items-center gap-2">
|
|
78
|
+
<component :is="item.img" />
|
|
79
|
+
<div class="flex w-full items-center justify-between">
|
|
80
|
+
{{ t(item.name) }}
|
|
81
|
+
<p class="body-600">
|
|
82
|
+
{{ Math.round(sum).toLocaleString("RU-ru") }} ₸
|
|
83
|
+
</p>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</adt-radio-button>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<div class="flex flex-col gap-2 ">
|
|
90
|
+
<adt-button
|
|
91
|
+
:disabled="!checkbox"
|
|
92
|
+
block
|
|
93
|
+
@click="confirm"
|
|
94
|
+
>
|
|
95
|
+
{{ t("actions.topUp") }}
|
|
96
|
+
</adt-button>
|
|
97
|
+
<adt-button
|
|
98
|
+
view="outline"
|
|
99
|
+
block
|
|
100
|
+
@click="cancel"
|
|
101
|
+
>
|
|
102
|
+
{{ t("actions.close") }}
|
|
103
|
+
</adt-button>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</adt-side-panel>
|
|
107
107
|
</template>
|
|
@@ -83,30 +83,30 @@ async function updateUserRate() {
|
|
|
83
83
|
</script>
|
|
84
84
|
|
|
85
85
|
<template>
|
|
86
|
-
<payment-top-up-side-panel
|
|
87
|
-
v-model="topUpSidePanel"
|
|
88
|
-
@next="actionPayment"
|
|
89
|
-
/>
|
|
90
|
-
|
|
91
|
-
<payment-method-side-panel
|
|
92
|
-
v-model="methodSidePanel"
|
|
93
|
-
:sum="paymentSum"
|
|
94
|
-
@back="onBack"
|
|
95
|
-
@next-bank="directionsBanks"
|
|
96
|
-
/>
|
|
97
|
-
|
|
98
|
-
<payment-kaspi-qr-side-panel
|
|
99
|
-
v-model="kaspiQRSidePanel"
|
|
100
|
-
:request-url="requestUrl"
|
|
101
|
-
:request-id="requestId"
|
|
102
|
-
@back="onBack"
|
|
103
|
-
@update-user-rate="updateUserRate"
|
|
104
|
-
/>
|
|
105
|
-
|
|
106
|
-
<payment-kaspi-redirect-side-panel
|
|
107
|
-
v-model="kaspiRedirectSidePanel"
|
|
108
|
-
:request-id="requestId"
|
|
109
|
-
@back="onBack"
|
|
110
|
-
@update-user-rate="updateUserRate"
|
|
111
|
-
/>
|
|
86
|
+
<payment-top-up-side-panel
|
|
87
|
+
v-model="topUpSidePanel"
|
|
88
|
+
@next="actionPayment"
|
|
89
|
+
/>
|
|
90
|
+
|
|
91
|
+
<payment-method-side-panel
|
|
92
|
+
v-model="methodSidePanel"
|
|
93
|
+
:sum="paymentSum"
|
|
94
|
+
@back="onBack"
|
|
95
|
+
@next-bank="directionsBanks"
|
|
96
|
+
/>
|
|
97
|
+
|
|
98
|
+
<payment-kaspi-qr-side-panel
|
|
99
|
+
v-model="kaspiQRSidePanel"
|
|
100
|
+
:request-url="requestUrl"
|
|
101
|
+
:request-id="requestId"
|
|
102
|
+
@back="onBack"
|
|
103
|
+
@update-user-rate="updateUserRate"
|
|
104
|
+
/>
|
|
105
|
+
|
|
106
|
+
<payment-kaspi-redirect-side-panel
|
|
107
|
+
v-model="kaspiRedirectSidePanel"
|
|
108
|
+
:request-id="requestId"
|
|
109
|
+
@back="onBack"
|
|
110
|
+
@update-user-rate="updateUserRate"
|
|
111
|
+
/>
|
|
112
112
|
</template>
|
|
@@ -50,69 +50,69 @@ function handlePayment() {
|
|
|
50
50
|
</script>
|
|
51
51
|
|
|
52
52
|
<template>
|
|
53
|
-
<adt-side-panel
|
|
54
|
-
v-model="isOpen"
|
|
55
|
-
:width="484"
|
|
56
|
-
:height-drawer="500"
|
|
57
|
-
>
|
|
58
|
-
<template #header>
|
|
59
|
-
<div class="text-xl font-semibold">
|
|
60
|
-
{{ t("payment.topUp.title") }}
|
|
61
|
-
</div>
|
|
62
|
-
</template>
|
|
63
|
-
|
|
64
|
-
<div class="flex flex-col gap-6">
|
|
65
|
-
<div class="flex flex-col items-center gap-4 ">
|
|
66
|
-
<ill-bill class="size-[120px]" />
|
|
67
|
-
<p class="text-center text-sm font-semibold">
|
|
68
|
-
{{ t("payment.topUp.info") }}
|
|
69
|
-
</p>
|
|
70
|
-
</div>
|
|
71
|
-
|
|
72
|
-
<div class="flex flex-col gap-4">
|
|
73
|
-
<adt-forms-input-standard
|
|
74
|
-
v-model="money"
|
|
75
|
-
:label="`${t('payment.topUp.enterAmount')}`"
|
|
76
|
-
type="number"
|
|
77
|
-
pattern="[0-9]*"
|
|
78
|
-
clearable
|
|
79
|
-
/>
|
|
80
|
-
<adt-alert
|
|
81
|
-
v-if="errorAlert"
|
|
82
|
-
color="red"
|
|
83
|
-
>
|
|
84
|
-
{{ t("modals.replenish_modal.error") }}
|
|
85
|
-
</adt-alert>
|
|
86
|
-
<div class="flex gap-4">
|
|
87
|
-
<adt-chip
|
|
88
|
-
v-for="item in sumArr"
|
|
89
|
-
:key="item.id"
|
|
90
|
-
view="standard"
|
|
91
|
-
size="lg"
|
|
53
|
+
<adt-side-panel
|
|
54
|
+
v-model="isOpen"
|
|
55
|
+
:width="484"
|
|
56
|
+
:height-drawer="500"
|
|
57
|
+
>
|
|
58
|
+
<template #header>
|
|
59
|
+
<div class="text-xl font-semibold">
|
|
60
|
+
{{ t("payment.topUp.title") }}
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
|
|
64
|
+
<div class="flex flex-col gap-6">
|
|
65
|
+
<div class="flex flex-col items-center gap-4 ">
|
|
66
|
+
<ill-bill class="size-[120px]" />
|
|
67
|
+
<p class="text-center text-sm font-semibold">
|
|
68
|
+
{{ t("payment.topUp.info") }}
|
|
69
|
+
</p>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="flex flex-col gap-4">
|
|
73
|
+
<adt-forms-input-standard
|
|
74
|
+
v-model="money"
|
|
75
|
+
:label="`${t('payment.topUp.enterAmount')}`"
|
|
76
|
+
type="number"
|
|
77
|
+
pattern="[0-9]*"
|
|
78
|
+
clearable
|
|
79
|
+
/>
|
|
80
|
+
<adt-alert
|
|
81
|
+
v-if="errorAlert"
|
|
82
|
+
color="red"
|
|
83
|
+
>
|
|
84
|
+
{{ t("modals.replenish_modal.error") }}
|
|
85
|
+
</adt-alert>
|
|
86
|
+
<div class="flex gap-4">
|
|
87
|
+
<adt-chip
|
|
88
|
+
v-for="item in sumArr"
|
|
89
|
+
:key="item.id"
|
|
90
|
+
view="standard"
|
|
91
|
+
size="lg"
|
|
92
92
|
:class="[
|
|
93
93
|
money === item.value ? 'bg-blue-700 text-white hover:bg-blue-700 dark:border-blue-500 dark:bg-transparent dark:text-blue-500 dark:hover:bg-transparent' : ''
|
|
94
|
-
]"
|
|
95
|
-
@click.stop="onSelectAmount(item.value)"
|
|
96
|
-
>
|
|
97
|
-
<span>{{ item.label }}</span>
|
|
98
|
-
</adt-chip>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
|
|
102
|
-
<div class="flex flex-col gap-2">
|
|
103
|
-
<adt-button
|
|
104
|
-
:disabled="!filterMoney"
|
|
105
|
-
@click="handlePayment"
|
|
106
|
-
>
|
|
107
|
-
{{ t("actions.topUp") }}
|
|
108
|
-
</adt-button>
|
|
109
|
-
<adt-button
|
|
110
|
-
view="outline"
|
|
111
|
-
@click="onClose"
|
|
112
|
-
>
|
|
113
|
-
{{ t("actions.back") }}
|
|
114
|
-
</adt-button>
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
</adt-side-panel>
|
|
94
|
+
]"
|
|
95
|
+
@click.stop="onSelectAmount(item.value)"
|
|
96
|
+
>
|
|
97
|
+
<span>{{ item.label }}</span>
|
|
98
|
+
</adt-chip>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<div class="flex flex-col gap-2">
|
|
103
|
+
<adt-button
|
|
104
|
+
:disabled="!filterMoney"
|
|
105
|
+
@click="handlePayment"
|
|
106
|
+
>
|
|
107
|
+
{{ t("actions.topUp") }}
|
|
108
|
+
</adt-button>
|
|
109
|
+
<adt-button
|
|
110
|
+
view="outline"
|
|
111
|
+
@click="onClose"
|
|
112
|
+
>
|
|
113
|
+
{{ t("actions.back") }}
|
|
114
|
+
</adt-button>
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
</adt-side-panel>
|
|
118
118
|
</template>
|
|
@@ -10,15 +10,15 @@ const getAnimationClass = (index) => {
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<div class="relative size-full">
|
|
14
|
-
<img
|
|
15
|
-
v-for="(photo, index) in photos"
|
|
16
|
-
:key="index"
|
|
17
|
-
:src="photo.src"
|
|
18
|
-
:alt="photo.src"
|
|
19
|
-
:class="['photo', getAnimationClass(index), photo.classes]"
|
|
20
|
-
>
|
|
21
|
-
</div>
|
|
13
|
+
<div class="relative size-full">
|
|
14
|
+
<img
|
|
15
|
+
v-for="(photo, index) in photos"
|
|
16
|
+
:key="index"
|
|
17
|
+
:src="photo.src"
|
|
18
|
+
:alt="photo.src"
|
|
19
|
+
:class="['photo', getAnimationClass(index), photo.classes]"
|
|
20
|
+
>
|
|
21
|
+
</div>
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<style scoped>
|
|
@@ -88,48 +88,48 @@ onMounted(() => {
|
|
|
88
88
|
</script>
|
|
89
89
|
|
|
90
90
|
<template>
|
|
91
|
-
<div
|
|
92
|
-
ref="tabs"
|
|
93
|
-
class="scroll-container overflow-auto whitespace-nowrap"
|
|
94
|
-
:class="props.wrapper === 'row' ? 'flex gap-1' : 'flex flex-col gap-1'"
|
|
95
|
-
>
|
|
96
|
-
<button
|
|
97
|
-
v-for="option in options"
|
|
98
|
-
:key="option.key"
|
|
99
|
-
:disabled="option.disabled || disabled"
|
|
100
|
-
:data-active="activeTab === option.key"
|
|
91
|
+
<div
|
|
92
|
+
ref="tabs"
|
|
93
|
+
class="scroll-container overflow-auto whitespace-nowrap"
|
|
94
|
+
:class="props.wrapper === 'row' ? 'flex gap-1' : 'flex flex-col gap-1'"
|
|
95
|
+
>
|
|
96
|
+
<button
|
|
97
|
+
v-for="option in options"
|
|
98
|
+
:key="option.key"
|
|
99
|
+
:disabled="option.disabled || disabled"
|
|
100
|
+
:data-active="activeTab === option.key"
|
|
101
101
|
:class="[
|
|
102
102
|
activeTab === option.key ? selectedClasses() : defaultClasses(!!option.disabled),
|
|
103
103
|
sizeOptions[size]
|
|
104
|
-
]"
|
|
105
|
-
@click="onChanged(option, $event)"
|
|
106
|
-
>
|
|
107
|
-
<slot
|
|
108
|
-
name="option"
|
|
109
|
-
:option="option"
|
|
110
|
-
>
|
|
111
|
-
<span
|
|
112
|
-
class="flex items-center gap-1 whitespace-nowrap"
|
|
113
|
-
:class="[align === 'left' ? 'justify-start' : 'justify-center']"
|
|
114
|
-
>
|
|
115
|
-
<span>
|
|
116
|
-
{{ t(option.name) }}
|
|
117
|
-
</span>
|
|
118
|
-
<template v-if="option.count !== void 0">
|
|
119
|
-
<a-digit-badge
|
|
120
|
-
v-if="props.countView === 'badge'"
|
|
121
|
-
:value="option.count"
|
|
122
|
-
:type="option.badgeColor ? option.badgeColor : 'primary'"
|
|
123
|
-
:disabled="(option.disabled || option.count === 0) && activeTab !== option.key"
|
|
124
|
-
:view="activeTab === option.key ? 'inverted' : 'default'"
|
|
125
|
-
:size="badgeSize"
|
|
126
|
-
/>
|
|
127
|
-
<span v-else-if="props.countView === 'brackets'"> ({{ option.count }}) </span>
|
|
128
|
-
</template>
|
|
129
|
-
</span>
|
|
130
|
-
</slot>
|
|
131
|
-
</button>
|
|
132
|
-
</div>
|
|
104
|
+
]"
|
|
105
|
+
@click="onChanged(option, $event)"
|
|
106
|
+
>
|
|
107
|
+
<slot
|
|
108
|
+
name="option"
|
|
109
|
+
:option="option"
|
|
110
|
+
>
|
|
111
|
+
<span
|
|
112
|
+
class="flex items-center gap-1 whitespace-nowrap"
|
|
113
|
+
:class="[align === 'left' ? 'justify-start' : 'justify-center']"
|
|
114
|
+
>
|
|
115
|
+
<span>
|
|
116
|
+
{{ t(option.name) }}
|
|
117
|
+
</span>
|
|
118
|
+
<template v-if="option.count !== void 0">
|
|
119
|
+
<a-digit-badge
|
|
120
|
+
v-if="props.countView === 'badge'"
|
|
121
|
+
:value="option.count"
|
|
122
|
+
:type="option.badgeColor ? option.badgeColor : 'primary'"
|
|
123
|
+
:disabled="(option.disabled || option.count === 0) && activeTab !== option.key"
|
|
124
|
+
:view="activeTab === option.key ? 'inverted' : 'default'"
|
|
125
|
+
:size="badgeSize"
|
|
126
|
+
/>
|
|
127
|
+
<span v-else-if="props.countView === 'brackets'"> ({{ option.count }}) </span>
|
|
128
|
+
</template>
|
|
129
|
+
</span>
|
|
130
|
+
</slot>
|
|
131
|
+
</button>
|
|
132
|
+
</div>
|
|
133
133
|
</template>
|
|
134
134
|
|
|
135
135
|
<style scoped>
|