adata-ui 3.1.80 → 3.1.81

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.
Files changed (286) hide show
  1. package/README.md +84 -84
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/components/Alert.vue +26 -26
  4. package/dist/runtime/components/Alert.vue.d.ts +2 -37
  5. package/dist/runtime/components/Chip.vue +5 -5
  6. package/dist/runtime/components/Chip.vue.d.ts +2 -21
  7. package/dist/runtime/components/ColorMode.vue +12 -12
  8. package/dist/runtime/components/CurveBlock.vue +177 -177
  9. package/dist/runtime/components/DigitBadge.vue +5 -5
  10. package/dist/runtime/components/DigitBadge.vue.d.ts +1 -1
  11. package/dist/runtime/components/Drawer.vue +32 -32
  12. package/dist/runtime/components/Drawer.vue.d.ts +2 -47
  13. package/dist/runtime/components/EmptyHeader.vue +6 -6
  14. package/dist/runtime/components/Error.vue +59 -59
  15. package/dist/runtime/components/Footer.vue +69 -69
  16. package/dist/runtime/components/FooterAccordion.vue +45 -45
  17. package/dist/runtime/components/Header.vue +111 -111
  18. package/dist/runtime/components/Header.vue.d.ts +50 -0
  19. package/dist/runtime/components/Modal.vue +78 -78
  20. package/dist/runtime/components/Modal.vue.d.ts +9 -49
  21. package/dist/runtime/components/NewFooter.vue +113 -113
  22. package/dist/runtime/components/NewFooterAccordion.vue +52 -52
  23. package/dist/runtime/components/OtherServiceFeatures.vue +45 -45
  24. package/dist/runtime/components/PkMobileServices.vue +22 -22
  25. package/dist/runtime/components/SidePanel.vue +76 -76
  26. package/dist/runtime/components/SidePanel.vue.d.ts +3 -79
  27. package/dist/runtime/components/Tag.vue +4 -4
  28. package/dist/runtime/components/Tag.vue.d.ts +2 -12
  29. package/dist/runtime/components/Toggle.vue +30 -30
  30. package/dist/runtime/components/accordion/Accordion.vue +41 -41
  31. package/dist/runtime/components/accordion/Accordion.vue.d.ts +4 -44
  32. package/dist/runtime/components/button/Button.vue +22 -22
  33. package/dist/runtime/components/button/Button.vue.d.ts +4 -22
  34. package/dist/runtime/components/checkbox/Checkbox.vue +58 -58
  35. package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +7 -39
  36. package/dist/runtime/components/date-picker/DatePicker.vue +38 -38
  37. package/dist/runtime/components/error-template/index.vue +32 -32
  38. package/dist/runtime/components/error-template/index.vue.d.ts +3 -5
  39. package/dist/runtime/components/feature-description/FeatureDescription.vue +46 -46
  40. package/dist/runtime/components/floating-label/FloatingLabel.vue +5 -5
  41. package/dist/runtime/components/floating-label/FloatingLabel.vue.d.ts +2 -7
  42. package/dist/runtime/components/forms/input/password/InputPassword.vue +25 -25
  43. package/dist/runtime/components/forms/input/password/InputPassword.vue.d.ts +1 -1
  44. package/dist/runtime/components/forms/input/standard/InputStandard.vue +108 -108
  45. package/dist/runtime/components/forms/input/textarea/ATextarea.vue +63 -63
  46. package/dist/runtime/components/forms/input/textarea/ATextarea.vue.d.ts +3 -35
  47. package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue +61 -55
  48. package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue.d.ts +11 -2
  49. package/dist/runtime/components/forms/request-demo/RequestDemo.vue +63 -59
  50. package/dist/runtime/components/forms/request-demo/RequestDemo.vue.d.ts +27 -0
  51. package/dist/runtime/components/header/AlmatyContacts.vue +76 -76
  52. package/dist/runtime/components/header/AstanaContacts.vue +31 -31
  53. package/dist/runtime/components/header/CardGallery.vue +60 -60
  54. package/dist/runtime/components/header/ContactMenu.vue +39 -39
  55. package/dist/runtime/components/header/ContactMenu.vue.d.ts +8 -2
  56. package/dist/runtime/components/header/HeaderLink.vue +55 -47
  57. package/dist/runtime/components/header/LangSwitcher.vue +26 -26
  58. package/dist/runtime/components/header/ListItem.vue +15 -15
  59. package/dist/runtime/components/header/NavCard.vue +28 -28
  60. package/dist/runtime/components/header/NavList.vue +52 -52
  61. package/dist/runtime/components/header/ProductMenu.vue +67 -67
  62. package/dist/runtime/components/header/ProductMenu.vue.d.ts +8 -2
  63. package/dist/runtime/components/header/ProfileMenu.vue +37 -37
  64. package/dist/runtime/components/header/ProfileMenu.vue.d.ts +5 -1
  65. package/dist/runtime/components/header/ProfileMenuContent.vue +140 -140
  66. package/dist/runtime/components/header/ProfileMenuContent.vue.d.ts +5 -1
  67. package/dist/runtime/components/header/TopHeader.vue +72 -72
  68. package/dist/runtime/components/header-mobile/HeaderMobile.vue +39 -39
  69. package/dist/runtime/components/header-mobile/HeaderMobile.vue.d.ts +9 -14
  70. package/dist/runtime/components/mobile-navigation/BottomNavigation.vue +41 -41
  71. package/dist/runtime/components/mobile-navigation/BottomNavigation.vue.d.ts +29 -0
  72. package/dist/runtime/components/mobile-navigation/MainButton.vue +8 -8
  73. package/dist/runtime/components/mobile-navigation/MainButton.vue.d.ts +5 -1
  74. package/dist/runtime/components/mobile-navigation/MobileProductMenu.vue +23 -23
  75. package/dist/runtime/components/modals/ApplicationAcceptedModal.vue +43 -0
  76. package/dist/runtime/components/modals/ApplicationAcceptedModal.vue.d.ts +9 -0
  77. package/dist/runtime/components/modals/ConnectingTariffModal.vue +58 -0
  78. package/dist/runtime/components/modals/ConnectingTariffModal.vue.d.ts +19 -0
  79. package/dist/runtime/components/modals/InsufficientFundsModal.vue +68 -0
  80. package/dist/runtime/components/modals/InsufficientFundsModal.vue.d.ts +18 -0
  81. package/dist/runtime/components/modals/NoAccessContent.vue +34 -34
  82. package/dist/runtime/components/modals/NoAccessContent.vue.d.ts +5 -1
  83. package/dist/runtime/components/modals/NoAccessSimple.vue +16 -16
  84. package/dist/runtime/components/modals/NoAccessSimple.vue.d.ts +5 -1
  85. package/dist/runtime/components/modals/SubmitApplicationModal.vue +108 -0
  86. package/dist/runtime/components/modals/SubmitApplicationModal.vue.d.ts +14 -0
  87. package/dist/runtime/components/modals/TokenTimeoutContent.vue +24 -24
  88. package/dist/runtime/components/modals/TokenTimeoutContent.vue.d.ts +5 -1
  89. package/dist/runtime/components/modals/id/IdAccessModal.vue +34 -34
  90. package/dist/runtime/components/modals/id/IdBanner.vue +29 -29
  91. package/dist/runtime/components/modals/id/IdConfirmAccountOtpModal.vue +43 -43
  92. package/dist/runtime/components/modals/id/IdConfirmSuccessfulModal.vue +17 -17
  93. package/dist/runtime/components/modals/id/IdLoginModal.vue +100 -100
  94. package/dist/runtime/components/modals/id/IdModals.vue +44 -44
  95. package/dist/runtime/components/modals/id/IdNewPasswordModal.vue +46 -46
  96. package/dist/runtime/components/modals/id/IdOtpInput.vue +30 -30
  97. package/dist/runtime/components/modals/id/IdPasswordSuccessfulModal.vue +14 -14
  98. package/dist/runtime/components/modals/id/IdRecoveryModal.vue +30 -30
  99. package/dist/runtime/components/modals/id/IdRegistrationModal.vue +68 -68
  100. package/dist/runtime/components/modals/id/IdResetPasswordOtpModal.vue +47 -47
  101. package/dist/runtime/components/modals/id/IdTwoFactorModal.vue +23 -23
  102. package/dist/runtime/components/payment/process/PaymentKaspiQrSidePanel.vue +51 -51
  103. package/dist/runtime/components/payment/process/PaymentKaspiRedirectSidePanel.vue +35 -35
  104. package/dist/runtime/components/payment/process/PaymentMethodSidePanel.vue +69 -69
  105. package/dist/runtime/components/payment/process/PaymentProcess.vue +26 -26
  106. package/dist/runtime/components/payment/process/PaymentTopUpSidePanel.vue +63 -63
  107. package/dist/runtime/components/photos-animation/PhotosAnimation.vue +9 -9
  108. package/dist/runtime/components/pill-tabs/PillTabs.vue +39 -39
  109. package/dist/runtime/components/pill-tabs/PillTabs.vue.d.ts +46 -0
  110. package/dist/runtime/components/radio-button/RadioButton.vue +33 -33
  111. package/dist/runtime/components/radio-button/RadioButton.vue.d.ts +2 -36
  112. package/dist/runtime/components/row-card/RowCard.vue +27 -27
  113. package/dist/runtime/components/row-card/RowCard.vue.d.ts +2 -9
  114. package/dist/runtime/components/select-row/index.vue +58 -58
  115. package/dist/runtime/components/select-row/index.vue.d.ts +1 -1
  116. package/dist/runtime/components/transitions/TransitionHeight.vue +9 -9
  117. package/dist/runtime/components/transitions/TransitionHeight.vue.d.ts +2 -20
  118. package/dist/runtime/components/tree-select/TreeSelect.vue +16 -16
  119. package/dist/runtime/components/tree-select/components/tree-select-nodes.vue +75 -75
  120. package/dist/runtime/composables/projectState.d.ts +2 -2
  121. package/dist/runtime/composables/useBuyTariffs.d.ts +7 -0
  122. package/dist/runtime/composables/useBuyTariffs.js +73 -0
  123. package/dist/runtime/composables/useIdModals.d.ts +11 -21
  124. package/dist/runtime/composables/usePayment.d.ts +5 -5
  125. package/dist/runtime/i18n/i18n.config.d.ts +9 -0
  126. package/dist/runtime/i18n.d.ts +1 -1
  127. package/dist/runtime/icons/ai-assistant.vue +13 -13
  128. package/dist/runtime/icons/akimat.vue +20 -20
  129. package/dist/runtime/icons/arrow/arrow-circle-down.vue +18 -18
  130. package/dist/runtime/icons/arrow/arrow-graph-up.vue +24 -24
  131. package/dist/runtime/icons/arrow/arrow-side-up.vue +19 -19
  132. package/dist/runtime/icons/arrow/arrow-top-right-on-square.vue +19 -19
  133. package/dist/runtime/icons/arrow/chevron-down.vue +19 -19
  134. package/dist/runtime/icons/avatar.vue +41 -41
  135. package/dist/runtime/icons/avto/car.vue +17 -17
  136. package/dist/runtime/icons/avto/truck.vue +17 -17
  137. package/dist/runtime/icons/bank.vue +14 -14
  138. package/dist/runtime/icons/block.vue +19 -19
  139. package/dist/runtime/icons/bookmark.vue +19 -19
  140. package/dist/runtime/icons/calculator.vue +19 -19
  141. package/dist/runtime/icons/chartBar.vue +14 -14
  142. package/dist/runtime/icons/check-circle.vue +25 -25
  143. package/dist/runtime/icons/check-sb.vue +7 -7
  144. package/dist/runtime/icons/checkbox/checkbox-active.vue +19 -19
  145. package/dist/runtime/icons/checkbox/checkbox-empty.vue +20 -20
  146. package/dist/runtime/icons/checkbox/checkbox-intermediate.vue +19 -19
  147. package/dist/runtime/icons/chevron/chevron-down.vue +16 -16
  148. package/dist/runtime/icons/chevron/chevron-left.vue +5 -5
  149. package/dist/runtime/icons/chevron/chevron-right.vue +5 -5
  150. package/dist/runtime/icons/chevron/chevron-up.vue +5 -5
  151. package/dist/runtime/icons/chevron/double-chevron-right.vue +12 -12
  152. package/dist/runtime/icons/clipboard-text.vue +17 -17
  153. package/dist/runtime/icons/clock.vue +25 -25
  154. package/dist/runtime/icons/color-mode/moon.vue +20 -20
  155. package/dist/runtime/icons/color-mode/sun.vue +27 -27
  156. package/dist/runtime/icons/communication/mail.vue +19 -19
  157. package/dist/runtime/icons/communication/phone.vue +19 -19
  158. package/dist/runtime/icons/company.vue +19 -19
  159. package/dist/runtime/icons/currency/dollar.vue +19 -19
  160. package/dist/runtime/icons/currency/down.vue +22 -22
  161. package/dist/runtime/icons/currency/eur.vue +69 -69
  162. package/dist/runtime/icons/currency/rub.vue +25 -25
  163. package/dist/runtime/icons/currency/tenge.vue +9 -9
  164. package/dist/runtime/icons/currency/usd.vue +269 -269
  165. package/dist/runtime/icons/currency/yuan.vue +37 -37
  166. package/dist/runtime/icons/document/hdocument.vue +17 -17
  167. package/dist/runtime/icons/document/id.vue +19 -19
  168. package/dist/runtime/icons/document/profile.vue +19 -19
  169. package/dist/runtime/icons/eye-closed.vue +26 -26
  170. package/dist/runtime/icons/eye-open.vue +7 -7
  171. package/dist/runtime/icons/eye-opened.vue +23 -23
  172. package/dist/runtime/icons/file/excel-icon.vue +14 -14
  173. package/dist/runtime/icons/file/file.vue +19 -19
  174. package/dist/runtime/icons/file/files.vue +17 -17
  175. package/dist/runtime/icons/globe.vue +19 -19
  176. package/dist/runtime/icons/hand-with-phone/hand-with-phone-dark.vue +52 -52
  177. package/dist/runtime/icons/hand-with-phone/hand-with-phone-light.vue +52 -52
  178. package/dist/runtime/icons/handshake.vue +19 -19
  179. package/dist/runtime/icons/history.vue +19 -19
  180. package/dist/runtime/icons/hot-line.vue +6 -6
  181. package/dist/runtime/icons/id.vue +9 -9
  182. package/dist/runtime/icons/info/info-circle.vue +29 -29
  183. package/dist/runtime/icons/invoice.vue +35 -35
  184. package/dist/runtime/icons/kaspi-qr.vue +13 -13
  185. package/dist/runtime/icons/link-chain.vue +31 -31
  186. package/dist/runtime/icons/loader-circle.vue +34 -34
  187. package/dist/runtime/icons/lock.vue +19 -19
  188. package/dist/runtime/icons/logo/adata.vue +48 -48
  189. package/dist/runtime/icons/logo/logo.vue +27 -27
  190. package/dist/runtime/icons/map-paper.vue +5 -5
  191. package/dist/runtime/icons/map-pin-rect.vue +15 -15
  192. package/dist/runtime/icons/medal.vue +17 -17
  193. package/dist/runtime/icons/menu/menu-filled.vue +61 -61
  194. package/dist/runtime/icons/menu/menu.vue +41 -41
  195. package/dist/runtime/icons/message.vue +24 -24
  196. package/dist/runtime/icons/modals/door.vue +162 -162
  197. package/dist/runtime/icons/moon.vue +10 -10
  198. package/dist/runtime/icons/navigation/expand-window.vue +19 -19
  199. package/dist/runtime/icons/navigation/location.vue +25 -25
  200. package/dist/runtime/icons/navigation/logout.vue +19 -19
  201. package/dist/runtime/icons/notifications.vue +25 -25
  202. package/dist/runtime/icons/other-service/arrow-square-down.vue +15 -15
  203. package/dist/runtime/icons/other-service/arrow-top-right-on-square.vue +6 -6
  204. package/dist/runtime/icons/other-service/block.vue +16 -16
  205. package/dist/runtime/icons/other-service/currency-dollar.vue +16 -16
  206. package/dist/runtime/icons/other-service/globe.vue +16 -16
  207. package/dist/runtime/icons/other-service/link.vue +7 -7
  208. package/dist/runtime/icons/other-service/magnifying-glass.vue +9 -9
  209. package/dist/runtime/icons/other-service/standing-scales.vue +15 -15
  210. package/dist/runtime/icons/other-service/users-three.vue +7 -7
  211. package/dist/runtime/icons/payment/payment-card.vue +6 -6
  212. package/dist/runtime/icons/payment/payment-kaspi.vue +11 -11
  213. package/dist/runtime/icons/plus.vue +24 -24
  214. package/dist/runtime/icons/radio/radio-check.vue +24 -24
  215. package/dist/runtime/icons/radio/radio-empty.vue +20 -20
  216. package/dist/runtime/icons/receipt/hcheck.vue +27 -27
  217. package/dist/runtime/icons/receipt/receipt.vue +27 -27
  218. package/dist/runtime/icons/sanctions.vue +8 -8
  219. package/dist/runtime/icons/scale.vue +19 -19
  220. package/dist/runtime/icons/search.vue +27 -27
  221. package/dist/runtime/icons/socials/facebook.vue +15 -15
  222. package/dist/runtime/icons/socials/google.vue +41 -41
  223. package/dist/runtime/icons/socials/instagram.vue +19 -19
  224. package/dist/runtime/icons/socials/linkedin.vue +24 -24
  225. package/dist/runtime/icons/socials/mailru.vue +34 -34
  226. package/dist/runtime/icons/socials/telegram.vue +15 -15
  227. package/dist/runtime/icons/socials/tik-tok.vue +15 -15
  228. package/dist/runtime/icons/socials/whatsapp.vue +21 -21
  229. package/dist/runtime/icons/socials/yandex.vue +28 -28
  230. package/dist/runtime/icons/socials/youtube.vue +16 -16
  231. package/dist/runtime/icons/sun.vue +14 -14
  232. package/dist/runtime/icons/sviazi.vue +19 -19
  233. package/dist/runtime/icons/tasks.vue +10 -10
  234. package/dist/runtime/icons/toasts/check-circle-toast.vue +6 -6
  235. package/dist/runtime/icons/toasts/warning-triangle-toast.vue +7 -7
  236. package/dist/runtime/icons/users/users-three.vue +17 -17
  237. package/dist/runtime/icons/users/users.vue +31 -31
  238. package/dist/runtime/icons/warning-triangle.vue +29 -29
  239. package/dist/runtime/icons/work-bag.vue +20 -20
  240. package/dist/runtime/icons/x-mark.vue +18 -18
  241. package/dist/runtime/illustrations/address-location.vue +38 -38
  242. package/dist/runtime/illustrations/ball-with-chain.vue +120 -120
  243. package/dist/runtime/illustrations/bill.vue +133 -133
  244. package/dist/runtime/illustrations/buildings.vue +82 -82
  245. package/dist/runtime/illustrations/calendar.vue +156 -156
  246. package/dist/runtime/illustrations/chains.vue +152 -152
  247. package/dist/runtime/illustrations/coin-percent.vue +126 -126
  248. package/dist/runtime/illustrations/coins-stack.vue +202 -202
  249. package/dist/runtime/illustrations/delete-dark.vue +31 -31
  250. package/dist/runtime/illustrations/delete.vue +32 -32
  251. package/dist/runtime/illustrations/doc-with-stamp.vue +126 -126
  252. package/dist/runtime/illustrations/document.vue +64 -64
  253. package/dist/runtime/illustrations/door.vue +74 -74
  254. package/dist/runtime/illustrations/empty-box.vue +77 -77
  255. package/dist/runtime/illustrations/empty-wallet.vue +161 -161
  256. package/dist/runtime/illustrations/graph-in-coin.vue +119 -119
  257. package/dist/runtime/illustrations/hammer.vue +156 -156
  258. package/dist/runtime/illustrations/hand-cash.vue +108 -108
  259. package/dist/runtime/illustrations/info.vue +39 -39
  260. package/dist/runtime/illustrations/mail.vue +68 -68
  261. package/dist/runtime/illustrations/ok.vue +62 -62
  262. package/dist/runtime/illustrations/people-group.vue +237 -237
  263. package/dist/runtime/illustrations/person-with-phone.vue +187 -187
  264. package/dist/runtime/illustrations/person.vue +159 -159
  265. package/dist/runtime/illustrations/phone-check.vue +90 -90
  266. package/dist/runtime/illustrations/phone-payment-method.vue +223 -223
  267. package/dist/runtime/illustrations/stop-hand.vue +77 -77
  268. package/dist/runtime/illustrations/stop-sign.vue +34 -34
  269. package/dist/runtime/illustrations/suit.vue +111 -111
  270. package/dist/runtime/illustrations/suitcase.vue +105 -105
  271. package/dist/runtime/illustrations/terminal-dark.vue +48 -48
  272. package/dist/runtime/illustrations/terminal.vue +234 -234
  273. package/dist/runtime/illustrations/trash-can.vue +108 -108
  274. package/dist/runtime/illustrations/turn-on-tariff.vue +38 -38
  275. package/dist/runtime/illustrations/two-persons.vue +169 -169
  276. package/dist/runtime/lang/en.js +5 -2
  277. package/dist/runtime/lang/kk.js +5 -2
  278. package/dist/runtime/lang/ru.d.ts +3 -0
  279. package/dist/runtime/lang/ru.js +5 -2
  280. package/dist/runtime/plugins/toast.d.ts +1 -503
  281. package/dist/runtime/public/kaspi/logo.svg +4 -4
  282. package/dist/runtime/server/tsconfig.json +3 -3
  283. package/dist/runtime/utils/getMaxZindex.d.ts +2 -0
  284. package/dist/runtime/utils/getMaxZindex.js +22 -0
  285. package/dist/runtime/utils/localizedNavigation.d.ts +1 -1
  286. package/package.json +73 -73
@@ -30,45 +30,45 @@ function pushProfile() {
30
30
  </script>
31
31
 
32
32
  <template>
33
- <div class="sticky bottom-0 z-100 lg:hidden">
34
- <div class="w-full border-t border-gray-500/50 bg-white dark:bg-gray-900">
35
- <div class="grid w-full grid-flow-col auto-cols-fr items-center">
36
- <slot>
37
- <button
38
- v-for="item in items"
39
- :key="item"
40
- class="h-16 w-full flex flex-col justify-center items-center"
41
- @click="pushItem(item.value)"
42
- >
43
- <component
44
- :is="item.icon"
45
- class="size-6 shrink-0"
46
- />
47
- <span class="text-[10px] leading-5">{{ t(item.label) }}</span>
48
- </button>
49
- </slot>
50
- <slot
51
- name="notifications"
52
- :items="items"
53
- />
54
- <button
55
- class="h-16 w-full flex flex-col justify-center items-center"
56
- @click="pushProfile"
57
- >
58
- <template v-if="isAuthenticated">
59
- <i-avatar class="shrink-0" />
60
- <span class="text-[10px] leading-5 mt-1">
61
- {{ t("modals.mobile_navigation.type_profile") }}
62
- </span>
63
- </template>
64
- <template v-else>
65
- <i-navigation-logout class="shrink-0" />
66
- <span class="text-[10px] leading-5 mt-1">
67
- {{ t("header.login") }}
68
- </span>
69
- </template>
70
- </button>
71
- </div>
72
- </div>
73
- </div>
33
+ <div class="sticky bottom-0 z-100 lg:hidden">
34
+ <div class="w-full border-t border-gray-500/50 bg-white dark:bg-gray-900">
35
+ <div class="grid w-full grid-flow-col auto-cols-fr items-center">
36
+ <slot>
37
+ <button
38
+ v-for="item in items"
39
+ :key="item"
40
+ class="h-16 w-full flex flex-col justify-center items-center"
41
+ @click="pushItem(item.value)"
42
+ >
43
+ <component
44
+ :is="item.icon"
45
+ class="size-6 shrink-0"
46
+ />
47
+ <span class="text-[10px] leading-5">{{ t(item.label) }}</span>
48
+ </button>
49
+ </slot>
50
+ <slot
51
+ name="notifications"
52
+ :items="items"
53
+ />
54
+ <button
55
+ class="h-16 w-full flex flex-col justify-center items-center"
56
+ @click="pushProfile"
57
+ >
58
+ <template v-if="isAuthenticated">
59
+ <i-avatar class="shrink-0" />
60
+ <span class="text-[10px] leading-5 mt-1">
61
+ {{ t("modals.mobile_navigation.type_profile") }}
62
+ </span>
63
+ </template>
64
+ <template v-else>
65
+ <i-navigation-logout class="shrink-0" />
66
+ <span class="text-[10px] leading-5 mt-1">
67
+ {{ t("header.login") }}
68
+ </span>
69
+ </template>
70
+ </button>
71
+ </div>
72
+ </div>
73
+ </div>
74
74
  </template>
@@ -0,0 +1,29 @@
1
+ interface Props {
2
+ items: T[];
3
+ hasNotification?: boolean;
4
+ isAuthenticated: boolean;
5
+ }
6
+ type __VLS_Props = Props;
7
+ type __VLS_PublicProps = __VLS_Props & {
8
+ modelValue?: string;
9
+ };
10
+ declare var __VLS_1: {}, __VLS_7: {
11
+ items: T[];
12
+ };
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_1) => any;
15
+ } & {
16
+ notifications?: (props: typeof __VLS_7) => any;
17
+ };
18
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (value: string) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -5,12 +5,12 @@ const { t } = useI18n();
5
5
  </script>
6
6
 
7
7
  <template>
8
- <nuxt-link
9
- to="/"
10
- class="flex items-center gap-4 px-4 py-3 bg-gray-50 rounded-md dark:bg-gray-800"
11
- @click="emits('pushMain')"
12
- >
13
- <i-menu />
14
- {{ t("modals.mobile_navigation.return_button") }}
15
- </nuxt-link>
8
+ <nuxt-link
9
+ to="/"
10
+ class="flex items-center gap-4 px-4 py-3 bg-gray-50 rounded-md dark:bg-gray-800"
11
+ @click="emits('pushMain')"
12
+ >
13
+ <i-menu />
14
+ {{ t("modals.mobile_navigation.return_button") }}
15
+ </nuxt-link>
16
16
  </template>
@@ -1,2 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ pushMain: (...args: any[]) => void;
3
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
+ onPushMain?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
6
  export default _default;
@@ -298,27 +298,27 @@ watch(tab, (e) => {
298
298
  </script>
299
299
 
300
300
  <template>
301
- <div class="flex flex-col gap-5">
302
- <div class="h-[1px] w-full bg-deepblue-900/5 dark:bg-gray-200/5"/>
303
- <div>
304
- <adt-pill-tabs v-model="tab" :options="tabOptions" view="gray" />
305
- </div>
306
- <div class="h-[40vh] sm:h-[300px] overflow-auto no-scrollbar">
307
- <nuxt-link
308
- v-for="item in currentLinks"
309
- :key="item.label"
310
- :to="item.link"
311
- class="flex items-center gap-4 px-4 py-3 bg-gray-50 dark:bg-gray-800 mb-2 rounded"
312
- >
313
- <div class="bg-gradient-blue p-1 rounded-lg">
314
- <component
315
- :is="item.icon"
316
- class="size-5 text-white dark:text-gray-900"
317
- />
318
- </div>
319
- <span>{{ t(item.label) }}</span>
320
- </nuxt-link>
321
- </div>
322
- <div class="h-[1px] w-full bg-deepblue-900/5 dark:bg-gray-200/5"/>
323
- </div>
301
+ <div class="flex flex-col gap-5">
302
+ <div class="h-[1px] w-full bg-deepblue-900/5 dark:bg-gray-200/5"/>
303
+ <div>
304
+ <adt-pill-tabs v-model="tab" :options="tabOptions" view="gray" />
305
+ </div>
306
+ <div class="h-[40vh] sm:h-[300px] overflow-auto no-scrollbar">
307
+ <nuxt-link
308
+ v-for="item in currentLinks"
309
+ :key="item.label"
310
+ :to="item.link"
311
+ class="flex items-center gap-4 px-4 py-3 bg-gray-50 dark:bg-gray-800 mb-2 rounded"
312
+ >
313
+ <div class="bg-gradient-blue p-1 rounded-lg">
314
+ <component
315
+ :is="item.icon"
316
+ class="size-5 text-white dark:text-gray-900"
317
+ />
318
+ </div>
319
+ <span>{{ t(item.label) }}</span>
320
+ </nuxt-link>
321
+ </div>
322
+ <div class="h-[1px] w-full bg-deepblue-900/5 dark:bg-gray-200/5"/>
323
+ </div>
324
324
  </template>
@@ -0,0 +1,43 @@
1
+ <script setup>
2
+ import { useI18n } from "#i18n";
3
+ import AModal from "#adata-ui/components/Modal.vue";
4
+ import AButton from "#adata-ui/components/button/Button.vue";
5
+ import AIllOk from "#adata-ui/illustrations/ok.vue";
6
+ const { t } = useI18n();
7
+ const isOpen = defineModel({ type: Boolean, ...{ default: false } });
8
+ const cancel = () => {
9
+ isOpen.value = false;
10
+ };
11
+ const modalText = {
12
+ title: t("modals.application_accepted_modal.title"),
13
+ info: t("modals.application_accepted_modal.info"),
14
+ close: t("modals.buttons.close")
15
+ };
16
+ </script>
17
+
18
+ <template>
19
+ <a-modal
20
+ v-model="isOpen"
21
+ name="application-accepted"
22
+ :prevent-close="true"
23
+ >
24
+ <div class="flex flex-col gap-5">
25
+ <p class="text-center heading-02">
26
+ {{ modalText.title }}
27
+ </p>
28
+ <a-ill-ok class="w-full" />
29
+ <p class="text-center body-400">
30
+ {{ modalText.info }}
31
+ </p>
32
+ </div>
33
+ <template #footer>
34
+ <a-button
35
+ view="outline"
36
+ block
37
+ @click="cancel"
38
+ >
39
+ {{ modalText.close }}
40
+ </a-button>
41
+ </template>
42
+ </a-modal>
43
+ </template>
@@ -0,0 +1,9 @@
1
+ type __VLS_PublicProps = {
2
+ modelValue?: boolean;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:modelValue": (value: boolean) => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1,58 @@
1
+ <script setup>
2
+ import { handleElementPosition } from "#adata-ui/utils/getMaxZindex";
3
+ import { useI18n } from "#i18n";
4
+ import AModal from "#adata-ui/components/Modal.vue";
5
+ import AButton from "#adata-ui/components/button/Button.vue";
6
+ import AIllTurnOnTariff from "#adata-ui/illustrations/turn-on-tariff.vue";
7
+ const props = defineProps({
8
+ tariff: { type: String, required: true, default: "" },
9
+ deleteFromDom: { type: Boolean, required: false, default: false }
10
+ });
11
+ const emit = defineEmits(["buyTariff"]);
12
+ const { t } = useI18n();
13
+ const isOpen = defineModel({ type: Boolean, ...{ default: false } });
14
+ function confirm() {
15
+ emit("buyTariff", props.tariff);
16
+ }
17
+ function cancel() {
18
+ isOpen.value = false;
19
+ }
20
+ if (props.deleteFromDom) {
21
+ handleElementPosition("connecting-tariff");
22
+ }
23
+ </script>
24
+
25
+ <template>
26
+ <a-modal
27
+ v-model="isOpen"
28
+ name="connecting-tariff"
29
+ >
30
+ <div class="flex flex-col gap-5">
31
+ <p class="heading-02 text-center">
32
+ {{ t("modals.connecting.title") }}
33
+ </p>
34
+ <a-ill-turn-on-tariff class="w-full" />
35
+ <p class="body-400 whitespace-pre-wrap text-center">
36
+ {{ t("modals.connecting.questions") }}
37
+ </p>
38
+ </div>
39
+
40
+ <template #footer>
41
+ <div class="flex gap-2 ">
42
+ <a-button
43
+ view="outline"
44
+ block
45
+ @click="cancel"
46
+ >
47
+ {{ t("modals.buttons.close") }}
48
+ </a-button>
49
+ <a-button
50
+ block
51
+ @click="confirm"
52
+ >
53
+ {{ t("reuse.yes") }}
54
+ </a-button>
55
+ </div>
56
+ </template>
57
+ </a-modal>
58
+ </template>
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ tariff: string;
3
+ deleteFromDom?: boolean;
4
+ };
5
+ type __VLS_PublicProps = __VLS_Props & {
6
+ modelValue?: boolean;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: boolean) => any;
10
+ } & {
11
+ buyTariff: (num: number) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
+ onBuyTariff?: ((num: number) => any) | undefined;
15
+ }>, {
16
+ tariff: string;
17
+ deleteFromDom: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
@@ -0,0 +1,68 @@
1
+ <script setup>
2
+ import { handleElementPosition } from "#adata-ui/utils/getMaxZindex";
3
+ import { useI18n } from "#i18n";
4
+ import { usePayment } from "#adata-ui/composables/usePayment";
5
+ import AModal from "#adata-ui/components/Modal.vue";
6
+ import AIllEmptyWallet from "#adata-ui/illustrations/empty-wallet.vue";
7
+ import AButton from "#adata-ui/components/button/Button.vue";
8
+ const props = defineProps({
9
+ deleteFromDom: { type: Boolean, required: false, default: false }
10
+ });
11
+ const emit = defineEmits(["next"]);
12
+ const { t } = useI18n();
13
+ const { topUpSidePanel } = usePayment();
14
+ const isOpen = defineModel({ type: Boolean, ...{ default: false } });
15
+ const userInfo = useState("user-info", () => ({}));
16
+ function confirm() {
17
+ isOpen.value = false;
18
+ topUpSidePanel.value = true;
19
+ }
20
+ function cancel() {
21
+ isOpen.value = false;
22
+ }
23
+ if (props.deleteFromDom) {
24
+ handleElementPosition("insufficient-funds");
25
+ }
26
+ </script>
27
+
28
+ <template>
29
+ <a-modal
30
+ v-model="isOpen"
31
+ name="insufficient-funds"
32
+ >
33
+ <div class="flex flex-col gap-5">
34
+ <p class="heading-02 text-center">
35
+ {{ t("modals.low_balance.title") }}
36
+ </p>
37
+ <a-ill-empty-wallet class="self-center" />
38
+ <div class="m-[0_-32px] flex flex-col bg-green-500 py-1.5">
39
+ <p class="body-600 text-center text-white ">
40
+ {{ t("modals.low_balance.current_balance") }}
41
+ </p>
42
+ <p class="body-600 text-center text-xl text-white ">
43
+ {{ userInfo?.balance ? userInfo?.balance.toLocaleString("ru-RU") : 0 }}₸
44
+ </p>
45
+ </div>
46
+ <p class="text-center">
47
+ {{ t("modals.low_balance.questions") }}
48
+ </p>
49
+ </div>
50
+ <template #footer>
51
+ <div class="flex gap-2 ">
52
+ <a-button
53
+ view="outline"
54
+ block
55
+ @click="cancel"
56
+ >
57
+ {{ t("modals.buttons.close") }}
58
+ </a-button>
59
+ <a-button
60
+ block
61
+ @click="confirm"
62
+ >
63
+ {{ t("modals.buttons.topUp") }}
64
+ </a-button>
65
+ </div>
66
+ </template>
67
+ </a-modal>
68
+ </template>
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = Props;
2
+ interface Props {
3
+ deleteFromDom?: boolean;
4
+ }
5
+ type __VLS_PublicProps = __VLS_Props & {
6
+ modelValue?: boolean;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: boolean) => any;
10
+ } & {
11
+ next: () => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
+ onNext?: (() => any) | undefined;
15
+ }>, {
16
+ deleteFromDom: boolean;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -32,38 +32,38 @@ function register() {
32
32
  </script>
33
33
 
34
34
  <template>
35
- <div class="flex flex-col justify-center items-center gap-5">
36
- <h1 class="font-bold text-2xl text-center">
37
- {{ t("modals.auth.title") }}
38
- </h1>
39
- <i-modals-door class="size-30" />
40
- <p class="text-sm text-center">
41
- {{ t("modals.auth.content") }}
42
- </p>
43
- <a-button
44
- variant="success"
45
- class="w-full font-semibold"
46
- @click="logIn"
47
- >
48
- {{ t("modals.buttons.logIn") }}
49
- </a-button>
50
- <p class="text-sm text-center">
51
- {{ t("modals.auth.firstTime") }}
52
- </p>
53
- <div class="flex gap-2 items-center w-full">
54
- <a-button
55
- view="outline"
56
- class="w-full font-semibold"
57
- @click="emit('close')"
58
- >
59
- {{ t("modals.buttons.close") }}
60
- </a-button>
61
- <a-button
62
- class="w-full font-semibold"
63
- @click="register"
64
- >
65
- {{ t("modals.buttons.register") }}
66
- </a-button>
67
- </div>
68
- </div>
35
+ <div class="flex flex-col justify-center items-center gap-5">
36
+ <h1 class="font-bold text-2xl text-center">
37
+ {{ t("modals.auth.title") }}
38
+ </h1>
39
+ <i-modals-door class="size-30" />
40
+ <p class="text-sm text-center">
41
+ {{ t("modals.auth.content") }}
42
+ </p>
43
+ <a-button
44
+ variant="success"
45
+ class="w-full font-semibold"
46
+ @click="logIn"
47
+ >
48
+ {{ t("modals.buttons.logIn") }}
49
+ </a-button>
50
+ <p class="text-sm text-center">
51
+ {{ t("modals.auth.firstTime") }}
52
+ </p>
53
+ <div class="flex gap-2 items-center w-full">
54
+ <a-button
55
+ view="outline"
56
+ class="w-full font-semibold"
57
+ @click="emit('close')"
58
+ >
59
+ {{ t("modals.buttons.close") }}
60
+ </a-button>
61
+ <a-button
62
+ class="w-full font-semibold"
63
+ @click="register"
64
+ >
65
+ {{ t("modals.buttons.register") }}
66
+ </a-button>
67
+ </div>
68
+ </div>
69
69
  </template>
@@ -1,5 +1,9 @@
1
1
  type __VLS_Props = {
2
2
  redirectPath: string;
3
3
  };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ close: (...args: any[]) => void;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ onClose?: ((...args: any[]) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
9
  export default _default;
@@ -5,20 +5,20 @@ const { t } = useI18n();
5
5
  </script>
6
6
 
7
7
  <template>
8
- <div class="flex flex-col gap-5 items-center">
9
- <p class="font-bold text-2xl text-center">
10
- {{ t("modals.auth.title") }}
11
- </p>
12
- <i-modals-door class="size-30" />
13
- <p class="text-sm text-center">
14
- {{ t("modals.no_access.info") }}
15
- </p>
16
- <adt-button
17
- view="outline"
18
- class="w-full font-semibold"
19
- @click="emit('close')"
20
- >
21
- {{ t("modals.buttons.close") }}
22
- </adt-button>
23
- </div>
8
+ <div class="flex flex-col gap-5 items-center">
9
+ <p class="font-bold text-2xl text-center">
10
+ {{ t("modals.auth.title") }}
11
+ </p>
12
+ <i-modals-door class="size-30" />
13
+ <p class="text-sm text-center">
14
+ {{ t("modals.no_access.info") }}
15
+ </p>
16
+ <adt-button
17
+ view="outline"
18
+ class="w-full font-semibold"
19
+ @click="emit('close')"
20
+ >
21
+ {{ t("modals.buttons.close") }}
22
+ </adt-button>
23
+ </div>
24
24
  </template>
@@ -1,2 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
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;
@@ -0,0 +1,108 @@
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 emit = defineEmits(["send"]);
11
+ const { t } = useI18n();
12
+ const isOpen = defineModel({ type: Boolean, ...{ default: false } });
13
+ const form = reactive({
14
+ name: "",
15
+ email: "",
16
+ phone: "",
17
+ comment: ""
18
+ });
19
+ const scheme = z.object({
20
+ name: z.string().nonempty(t("modals.submit_application_modal.rules.required")),
21
+ email: z.string().nonempty(t("modals.submit_application_modal.rules.required")).email(t("modals.submit_application_modal.rules.email")),
22
+ phone: z.string().nonempty(t("modals.submit_application_modal.rules.required")).min(17, t("forms.feedback.phoneMinLength", { count: 10 })),
23
+ comment: z.string().nonempty(t("modals.submit_application_modal.rules.required"))
24
+ });
25
+ const submitted = ref(false);
26
+ const { validation, getError } = useUIValidation(
27
+ scheme,
28
+ () => form,
29
+ submitted
30
+ );
31
+ const send = () => {
32
+ submitted.value = true;
33
+ if (validation.value) return;
34
+ emit("send", form);
35
+ form.name = "";
36
+ form.email = "";
37
+ form.phone = "";
38
+ form.comment = "";
39
+ };
40
+ const cancel = () => {
41
+ isOpen.value = false;
42
+ };
43
+ defineExpose({
44
+ reset: () => submitted.value = false
45
+ });
46
+ </script>
47
+
48
+ <template>
49
+ <a-modal
50
+ v-model="isOpen"
51
+ name="submit-application"
52
+ :prevent-close="true"
53
+ >
54
+ <div class="flex flex-col gap-5">
55
+ <p class="text-center heading-02">
56
+ {{ t("modals.submit_application_modal.title") }}
57
+ </p>
58
+ <a-ill-mail class="w-full" />
59
+ <div class="flex flex-col gap-2">
60
+ <a-input-standard
61
+ v-model="form.name"
62
+ :label="t('modals.submit_application_modal.labels.name')"
63
+ :error="getError('name')"
64
+ required
65
+ />
66
+ <a-input-standard
67
+ v-model="form.email"
68
+ :label="t('modals.submit_application_modal.labels.email')"
69
+ :error="getError('email')"
70
+ required
71
+ />
72
+ <a-input-standard
73
+ v-model="form.phone"
74
+ v-maska
75
+ :label="t('modals.submit_application_modal.labels.phone')"
76
+ data-maska="8 (###) ###-##-##"
77
+ :error="getError('phone')"
78
+ clearable
79
+ required
80
+ />
81
+ <a-textarea
82
+ v-model="form.comment"
83
+ :label="t('modals.submit_application_modal.labels.comment')"
84
+ :error="getError('comment')"
85
+ resizeable="none"
86
+ required
87
+ />
88
+ </div>
89
+ </div>
90
+ <template #footer>
91
+ <div class="flex gap-2 ">
92
+ <a-button
93
+ view="outline"
94
+ block
95
+ @click="cancel"
96
+ >
97
+ {{ t("reuse.close") }}
98
+ </a-button>
99
+ <a-button
100
+ block
101
+ @click="send"
102
+ >
103
+ {{ t("reuse.send") }}
104
+ </a-button>
105
+ </div>
106
+ </template>
107
+ </a-modal>
108
+ </template>