adata-ui 3.1.79 → 3.1.80

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 (266) 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 +37 -2
  5. package/dist/runtime/components/Chip.vue +5 -5
  6. package/dist/runtime/components/Chip.vue.d.ts +21 -2
  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 +47 -2
  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 +0 -50
  19. package/dist/runtime/components/Modal.vue +78 -78
  20. package/dist/runtime/components/Modal.vue.d.ts +49 -9
  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 +79 -3
  27. package/dist/runtime/components/Tag.vue +4 -4
  28. package/dist/runtime/components/Tag.vue.d.ts +12 -2
  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 +44 -4
  32. package/dist/runtime/components/button/Button.vue +22 -22
  33. package/dist/runtime/components/button/Button.vue.d.ts +21 -3
  34. package/dist/runtime/components/checkbox/Checkbox.vue +58 -58
  35. package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +39 -7
  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 +5 -3
  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 +7 -2
  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 +35 -3
  47. package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue +54 -54
  48. package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue.d.ts +1 -7
  49. package/dist/runtime/components/forms/request-demo/RequestDemo.vue +57 -57
  50. package/dist/runtime/components/forms/request-demo/RequestDemo.vue.d.ts +0 -26
  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 +2 -8
  56. package/dist/runtime/components/header/HeaderLink.vue +46 -46
  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 +2 -8
  63. package/dist/runtime/components/header/ProfileMenu.vue +37 -37
  64. package/dist/runtime/components/header/ProfileMenu.vue.d.ts +1 -5
  65. package/dist/runtime/components/header/ProfileMenuContent.vue +140 -140
  66. package/dist/runtime/components/header/ProfileMenuContent.vue.d.ts +1 -5
  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 +14 -9
  70. package/dist/runtime/components/mobile-navigation/BottomNavigation.vue +41 -41
  71. package/dist/runtime/components/mobile-navigation/BottomNavigation.vue.d.ts +0 -29
  72. package/dist/runtime/components/mobile-navigation/MainButton.vue +8 -8
  73. package/dist/runtime/components/mobile-navigation/MainButton.vue.d.ts +1 -5
  74. package/dist/runtime/components/mobile-navigation/MobileProductMenu.vue +23 -23
  75. package/dist/runtime/components/modals/NoAccessContent.vue +34 -34
  76. package/dist/runtime/components/modals/NoAccessContent.vue.d.ts +1 -5
  77. package/dist/runtime/components/modals/NoAccessSimple.vue +16 -16
  78. package/dist/runtime/components/modals/NoAccessSimple.vue.d.ts +1 -5
  79. package/dist/runtime/components/modals/TokenTimeoutContent.vue +24 -24
  80. package/dist/runtime/components/modals/TokenTimeoutContent.vue.d.ts +1 -5
  81. package/dist/runtime/components/modals/id/IdAccessModal.vue +34 -34
  82. package/dist/runtime/components/modals/id/IdBanner.vue +29 -29
  83. package/dist/runtime/components/modals/id/IdConfirmAccountOtpModal.vue +43 -43
  84. package/dist/runtime/components/modals/id/IdConfirmSuccessfulModal.vue +17 -17
  85. package/dist/runtime/components/modals/id/IdLoginModal.vue +100 -100
  86. package/dist/runtime/components/modals/id/IdModals.vue +44 -44
  87. package/dist/runtime/components/modals/id/IdNewPasswordModal.vue +46 -46
  88. package/dist/runtime/components/modals/id/IdOtpInput.vue +30 -30
  89. package/dist/runtime/components/modals/id/IdPasswordSuccessfulModal.vue +14 -14
  90. package/dist/runtime/components/modals/id/IdRecoveryModal.vue +30 -30
  91. package/dist/runtime/components/modals/id/IdRegistrationModal.vue +68 -68
  92. package/dist/runtime/components/modals/id/IdResetPasswordOtpModal.vue +47 -47
  93. package/dist/runtime/components/modals/id/IdTwoFactorModal.vue +23 -23
  94. package/dist/runtime/components/payment/process/PaymentKaspiQrSidePanel.vue +51 -51
  95. package/dist/runtime/components/payment/process/PaymentKaspiRedirectSidePanel.vue +35 -35
  96. package/dist/runtime/components/payment/process/PaymentMethodSidePanel.vue +69 -69
  97. package/dist/runtime/components/payment/process/PaymentProcess.vue +26 -26
  98. package/dist/runtime/components/payment/process/PaymentTopUpSidePanel.vue +63 -63
  99. package/dist/runtime/components/photos-animation/PhotosAnimation.vue +9 -9
  100. package/dist/runtime/components/pill-tabs/PillTabs.vue +39 -39
  101. package/dist/runtime/components/pill-tabs/PillTabs.vue.d.ts +0 -46
  102. package/dist/runtime/components/radio-button/RadioButton.vue +33 -33
  103. package/dist/runtime/components/radio-button/RadioButton.vue.d.ts +36 -2
  104. package/dist/runtime/components/row-card/RowCard.vue +27 -27
  105. package/dist/runtime/components/row-card/RowCard.vue.d.ts +9 -2
  106. package/dist/runtime/components/select-row/index.vue +58 -58
  107. package/dist/runtime/components/select-row/index.vue.d.ts +1 -1
  108. package/dist/runtime/components/transitions/TransitionHeight.vue +9 -9
  109. package/dist/runtime/components/transitions/TransitionHeight.vue.d.ts +20 -2
  110. package/dist/runtime/components/tree-select/TreeSelect.vue +16 -16
  111. package/dist/runtime/components/tree-select/components/tree-select-nodes.vue +75 -75
  112. package/dist/runtime/icons/ai-assistant.vue +13 -13
  113. package/dist/runtime/icons/akimat.vue +20 -20
  114. package/dist/runtime/icons/arrow/arrow-circle-down.vue +18 -18
  115. package/dist/runtime/icons/arrow/arrow-graph-up.vue +24 -24
  116. package/dist/runtime/icons/arrow/arrow-side-up.vue +19 -19
  117. package/dist/runtime/icons/arrow/arrow-top-right-on-square.vue +19 -19
  118. package/dist/runtime/icons/arrow/chevron-down.vue +19 -19
  119. package/dist/runtime/icons/avatar.vue +41 -41
  120. package/dist/runtime/icons/avto/car.vue +17 -17
  121. package/dist/runtime/icons/avto/truck.vue +17 -17
  122. package/dist/runtime/icons/bank.vue +14 -14
  123. package/dist/runtime/icons/block.vue +19 -19
  124. package/dist/runtime/icons/bookmark.vue +19 -19
  125. package/dist/runtime/icons/calculator.vue +19 -19
  126. package/dist/runtime/icons/chartBar.vue +14 -14
  127. package/dist/runtime/icons/check-circle.vue +25 -25
  128. package/dist/runtime/icons/check-sb.vue +7 -7
  129. package/dist/runtime/icons/checkbox/checkbox-active.vue +19 -19
  130. package/dist/runtime/icons/checkbox/checkbox-empty.vue +20 -20
  131. package/dist/runtime/icons/checkbox/checkbox-intermediate.vue +19 -19
  132. package/dist/runtime/icons/chevron/chevron-down.vue +16 -16
  133. package/dist/runtime/icons/chevron/chevron-left.vue +5 -5
  134. package/dist/runtime/icons/chevron/chevron-right.vue +5 -5
  135. package/dist/runtime/icons/chevron/chevron-up.vue +5 -5
  136. package/dist/runtime/icons/chevron/double-chevron-right.vue +12 -12
  137. package/dist/runtime/icons/clipboard-text.vue +17 -17
  138. package/dist/runtime/icons/clock.vue +25 -25
  139. package/dist/runtime/icons/color-mode/moon.vue +20 -20
  140. package/dist/runtime/icons/color-mode/sun.vue +27 -27
  141. package/dist/runtime/icons/communication/mail.vue +19 -19
  142. package/dist/runtime/icons/communication/phone.vue +19 -19
  143. package/dist/runtime/icons/company.vue +19 -19
  144. package/dist/runtime/icons/currency/dollar.vue +19 -19
  145. package/dist/runtime/icons/currency/down.vue +22 -22
  146. package/dist/runtime/icons/currency/eur.vue +69 -69
  147. package/dist/runtime/icons/currency/rub.vue +25 -25
  148. package/dist/runtime/icons/currency/tenge.vue +9 -9
  149. package/dist/runtime/icons/currency/usd.vue +269 -269
  150. package/dist/runtime/icons/currency/yuan.vue +37 -37
  151. package/dist/runtime/icons/document/hdocument.vue +17 -17
  152. package/dist/runtime/icons/document/id.vue +19 -19
  153. package/dist/runtime/icons/document/profile.vue +19 -19
  154. package/dist/runtime/icons/eye-closed.vue +26 -26
  155. package/dist/runtime/icons/eye-open.vue +7 -7
  156. package/dist/runtime/icons/eye-opened.vue +23 -23
  157. package/dist/runtime/icons/file/excel-icon.vue +14 -14
  158. package/dist/runtime/icons/file/file.vue +19 -19
  159. package/dist/runtime/icons/file/files.vue +17 -17
  160. package/dist/runtime/icons/globe.vue +19 -19
  161. package/dist/runtime/icons/hand-with-phone/hand-with-phone-dark.vue +52 -52
  162. package/dist/runtime/icons/hand-with-phone/hand-with-phone-light.vue +52 -52
  163. package/dist/runtime/icons/handshake.vue +19 -19
  164. package/dist/runtime/icons/history.vue +19 -19
  165. package/dist/runtime/icons/hot-line.vue +6 -6
  166. package/dist/runtime/icons/id.vue +9 -9
  167. package/dist/runtime/icons/info/info-circle.vue +29 -29
  168. package/dist/runtime/icons/invoice.vue +35 -35
  169. package/dist/runtime/icons/kaspi-qr.vue +13 -13
  170. package/dist/runtime/icons/link-chain.vue +31 -31
  171. package/dist/runtime/icons/loader-circle.vue +34 -34
  172. package/dist/runtime/icons/lock.vue +19 -19
  173. package/dist/runtime/icons/logo/adata.vue +48 -48
  174. package/dist/runtime/icons/logo/logo.vue +27 -27
  175. package/dist/runtime/icons/map-paper.vue +5 -5
  176. package/dist/runtime/icons/map-pin-rect.vue +15 -15
  177. package/dist/runtime/icons/medal.vue +17 -17
  178. package/dist/runtime/icons/menu/menu-filled.vue +61 -61
  179. package/dist/runtime/icons/menu/menu.vue +41 -41
  180. package/dist/runtime/icons/message.vue +24 -24
  181. package/dist/runtime/icons/modals/door.vue +162 -162
  182. package/dist/runtime/icons/moon.vue +10 -10
  183. package/dist/runtime/icons/navigation/expand-window.vue +19 -19
  184. package/dist/runtime/icons/navigation/location.vue +25 -25
  185. package/dist/runtime/icons/navigation/logout.vue +19 -19
  186. package/dist/runtime/icons/notifications.vue +25 -25
  187. package/dist/runtime/icons/other-service/arrow-square-down.vue +15 -15
  188. package/dist/runtime/icons/other-service/arrow-top-right-on-square.vue +6 -6
  189. package/dist/runtime/icons/other-service/block.vue +16 -16
  190. package/dist/runtime/icons/other-service/currency-dollar.vue +16 -16
  191. package/dist/runtime/icons/other-service/globe.vue +16 -16
  192. package/dist/runtime/icons/other-service/link.vue +7 -7
  193. package/dist/runtime/icons/other-service/magnifying-glass.vue +9 -9
  194. package/dist/runtime/icons/other-service/standing-scales.vue +15 -15
  195. package/dist/runtime/icons/other-service/users-three.vue +7 -7
  196. package/dist/runtime/icons/payment/payment-card.vue +6 -6
  197. package/dist/runtime/icons/payment/payment-kaspi.vue +11 -11
  198. package/dist/runtime/icons/plus.vue +24 -24
  199. package/dist/runtime/icons/radio/radio-check.vue +24 -24
  200. package/dist/runtime/icons/radio/radio-empty.vue +20 -20
  201. package/dist/runtime/icons/receipt/hcheck.vue +27 -27
  202. package/dist/runtime/icons/receipt/receipt.vue +27 -27
  203. package/dist/runtime/icons/sanctions.vue +8 -8
  204. package/dist/runtime/icons/scale.vue +19 -19
  205. package/dist/runtime/icons/search.vue +27 -27
  206. package/dist/runtime/icons/socials/facebook.vue +15 -15
  207. package/dist/runtime/icons/socials/google.vue +41 -41
  208. package/dist/runtime/icons/socials/instagram.vue +19 -19
  209. package/dist/runtime/icons/socials/linkedin.vue +24 -24
  210. package/dist/runtime/icons/socials/mailru.vue +34 -34
  211. package/dist/runtime/icons/socials/telegram.vue +15 -15
  212. package/dist/runtime/icons/socials/tik-tok.vue +15 -15
  213. package/dist/runtime/icons/socials/whatsapp.vue +21 -21
  214. package/dist/runtime/icons/socials/yandex.vue +28 -28
  215. package/dist/runtime/icons/socials/youtube.vue +16 -16
  216. package/dist/runtime/icons/sun.vue +14 -14
  217. package/dist/runtime/icons/sviazi.vue +19 -19
  218. package/dist/runtime/icons/tasks.vue +10 -10
  219. package/dist/runtime/icons/toasts/check-circle-toast.vue +6 -6
  220. package/dist/runtime/icons/toasts/warning-triangle-toast.vue +7 -7
  221. package/dist/runtime/icons/users/users-three.vue +17 -17
  222. package/dist/runtime/icons/users/users.vue +31 -31
  223. package/dist/runtime/icons/warning-triangle.vue +29 -29
  224. package/dist/runtime/icons/work-bag.vue +20 -20
  225. package/dist/runtime/icons/x-mark.vue +18 -18
  226. package/dist/runtime/illustrations/address-location.vue +38 -38
  227. package/dist/runtime/illustrations/ball-with-chain.vue +120 -120
  228. package/dist/runtime/illustrations/bill.vue +133 -133
  229. package/dist/runtime/illustrations/buildings.vue +82 -82
  230. package/dist/runtime/illustrations/calendar.vue +156 -156
  231. package/dist/runtime/illustrations/chains.vue +152 -152
  232. package/dist/runtime/illustrations/coin-percent.vue +126 -126
  233. package/dist/runtime/illustrations/coins-stack.vue +202 -202
  234. package/dist/runtime/illustrations/delete-dark.vue +31 -31
  235. package/dist/runtime/illustrations/delete.vue +32 -32
  236. package/dist/runtime/illustrations/doc-with-stamp.vue +126 -126
  237. package/dist/runtime/illustrations/document.vue +64 -64
  238. package/dist/runtime/illustrations/door.vue +74 -74
  239. package/dist/runtime/illustrations/empty-box.vue +77 -77
  240. package/dist/runtime/illustrations/empty-wallet.vue +161 -161
  241. package/dist/runtime/illustrations/graph-in-coin.vue +119 -119
  242. package/dist/runtime/illustrations/hammer.vue +156 -156
  243. package/dist/runtime/illustrations/hand-cash.vue +108 -108
  244. package/dist/runtime/illustrations/info.vue +39 -39
  245. package/dist/runtime/illustrations/mail.vue +68 -68
  246. package/dist/runtime/illustrations/ok.vue +62 -62
  247. package/dist/runtime/illustrations/people-group.vue +237 -237
  248. package/dist/runtime/illustrations/person-with-phone.vue +187 -187
  249. package/dist/runtime/illustrations/person.vue +159 -159
  250. package/dist/runtime/illustrations/phone-check.vue +90 -90
  251. package/dist/runtime/illustrations/phone-payment-method.vue +223 -223
  252. package/dist/runtime/illustrations/stop-hand.vue +77 -77
  253. package/dist/runtime/illustrations/stop-sign.vue +34 -34
  254. package/dist/runtime/illustrations/suit.vue +111 -111
  255. package/dist/runtime/illustrations/suitcase.vue +105 -105
  256. package/dist/runtime/illustrations/terminal-dark.vue +48 -48
  257. package/dist/runtime/illustrations/terminal.vue +234 -234
  258. package/dist/runtime/illustrations/trash-can.vue +108 -108
  259. package/dist/runtime/illustrations/turn-on-tariff.vue +38 -38
  260. package/dist/runtime/illustrations/two-persons.vue +169 -169
  261. package/dist/runtime/lang/en.js +1 -1
  262. package/dist/runtime/lang/kk.js +1 -1
  263. package/dist/runtime/lang/ru.js +1 -1
  264. package/dist/runtime/public/kaspi/logo.svg +4 -4
  265. package/dist/runtime/server/tsconfig.json +3 -3
  266. package/package.json +73 -73
@@ -82,146 +82,146 @@ const onReplenish = () => {
82
82
  </script>
83
83
 
84
84
  <template>
85
- <div class="max-w-full lg:w-[300px]">
86
- <!-- desktop -->
87
- <div
88
- class="gradient-bg hidden px-4 py-4 text-white dark:text-gray-900 lg:block lg:rounded-t-[0.5rem] lg:px-8 lg:dark:text-white"
89
- >
90
- <div class="hidden text-sm lg:block">
91
- {{ t("header.profile.tariff") }}
92
- </div>
93
- <div class="flex items-center justify-between gap-4 lg:mt-2">
94
- <div class="flex items-center justify-between lg:w-full">
95
- <span class="mr-2 font-semibold lg:text-lg">{{ rate }}</span>
96
- <a-status-badge
97
- type="success"
98
- class="!px-3 font-semibold text-white"
99
- size="sm"
100
- >
101
- {{ t("header.profile.connected") }}
102
- </a-status-badge>
103
- </div>
104
- <span class="bg-deepblue ml-2 rounded-xl px-2 py-1 text-xs lg:hidden">{{ balance.toLocaleString("RU-ru") }} ₸</span>
105
- </div>
106
- <div class="mt-2 hidden items-center justify-between lg:flex lg:flex-col">
107
- <div class="items-center justify-between lg:flex lg:w-full text-xs">
108
- {{ t("header.profile.currentBalance") }}
109
- <span class="ml-2 rounded-xl bg-deepblue-900 px-2 py-1">{{ balance.toLocaleString("RU-ru") }} ₸</span>
110
- </div>
111
- <a-button
112
- size="sm"
113
- class="w-full mt-4"
114
- view="outline"
115
- variant="ghost"
116
- @click="onReplenish"
117
- >
118
- <i-plus-circle class="shrink-0 size-4" />
119
- {{ t("header.profile.addBalance") }}
120
- </a-button>
121
- </div>
122
- </div>
123
- <!-- mobile -->
124
- <div class="gradient-bg px-4 py-4 text-white dark:text-gray-900 lg:hidden">
125
- <div class="flex justify-between gap-4 lg:mt-2">
126
- <div class="flex flex-col items-center">
127
- <div class="font-semibold">
128
- {{ rate }}
129
- </div>
130
- <a-status-badge
131
- type="success"
132
- class="!px-3 font-semibold text-white dark:text-gray-900"
133
- size="sm"
134
- >
135
- {{ t("header.profile.connected") }}
136
- </a-status-badge>
137
- </div>
138
- <div class="flex min-w-[90px] flex-col">
139
- <div class="font-semibold">
140
- {{ t("header.profile.balance") }}
141
- </div>
142
- <div class="flex gap-1">
143
- <a-status-badge
144
- size="sm"
145
- class="!px-3 font-semibold text-white dark:!bg-[#E3E5E8] dark:text-gray-900"
146
- type="gray"
147
- >
148
- {{ balance.toLocaleString("RU-ru") }} ₸
149
- </a-status-badge>
150
- <button
151
- class="flex h-[23px] w-[23px] items-center justify-center rounded-md bg-white text-deepblue-900 dark:bg-gray-900 dark:text-[#E3E5E8]"
152
- @click="onReplenish"
153
- >
154
- <i-plus
155
- width="16px"
156
- height="16px"
157
- />
158
- </button>
159
- </div>
160
- </div>
161
- </div>
162
- </div>
163
- <div class="rounded-b-[0.5rem] bg-white p-4 dark:bg-[#232324]">
164
- <div class="mb-2 flex justify-between gap-2 lg:hidden">
165
- <a-status-badge
166
- size="sm"
167
- class="w-full py-[6px] font-semibold"
168
- >
169
- <span>
170
- {{ limitRemainingLabel ?? t("header.profile.requests") }}
171
- </span>
172
- {{ limitRemaining }}
173
- </a-status-badge>
174
- <a-status-badge
175
- size="sm"
176
- class="w-full py-[6px] font-semibold"
177
- >
178
- <span>
179
- {{ t("header.profile.daysLeft") }}
180
- </span>
181
- {{ daysRemaining }}
182
- </a-status-badge>
183
- </div>
184
- <div class="grid grid-cols-2 gap-2 lg:flex lg:flex-col">
185
- <nuxt-link
186
- v-for="item in items"
187
- :key="item.title"
188
- class="hover:text-blue-700 dark:hover:text-blue-500 flex flex-col lg:flex-row lg:gap-3 items-center rounded-[6px] bg-gray-50 lg:bg-white lg:dark:bg-[#232324] lg:hover:bg-blue-100 py-[10px] text-center text-sm hover:bg-deepblue-900/10 active:bg-deepblue-900 active:text-white dark:bg-[#161617] active:dark:bg-[#E3E5E8] active:dark:text-gray-900 lg:px-4 lg:dark:hover:bg-gray-900"
189
- :to="item.to"
190
- target="_blank"
191
- >
192
- <component
193
- :is="item.icon"
194
- class="h-[24px] w-[24px]"
195
- />
196
- <span>{{ item.title }}</span>
197
- </nuxt-link>
198
- </div>
199
- <div class="mt-2">
200
- <div
201
- v-if="oldVersion"
202
- :url="oldVersion"
203
- />
204
- </div>
205
- <div
206
- v-if="!isLargeScreen"
207
- class="my-4 flex items-center justify-between text-sm"
208
- >
209
- <span>
210
- {{ t("header.profile.colorScheme") }}
211
- </span>
212
- <color-mode />
213
- </div>
214
- <div
215
- class="flex items-center justify-center lg:justify-start gap-3 pb-2 pt-4 px-4 cursor-pointer text-red-500 hover:text-red-700 border-t border-gray-200"
216
- @click="$emit('logout')"
217
- >
218
- <i-logout class="h-5 w-5" />
219
- <span>
220
- {{ t("header.profile.logout") }}
221
- </span>
222
- </div>
223
- </div>
224
- </div>
85
+ <div class="max-w-full lg:w-[300px]">
86
+ <!-- desktop -->
87
+ <div
88
+ class="gradient-bg hidden px-4 py-4 text-white dark:text-gray-900 lg:block lg:rounded-t-[0.5rem] lg:px-8 lg:dark:text-white"
89
+ >
90
+ <div class="hidden text-sm lg:block">
91
+ {{ t("header.profile.tariff") }}
92
+ </div>
93
+ <div class="flex items-center justify-between gap-4 lg:mt-2">
94
+ <div class="flex items-center justify-between lg:w-full">
95
+ <span class="mr-2 font-semibold lg:text-lg">{{ rate }}</span>
96
+ <a-status-badge
97
+ type="success"
98
+ class="!px-3 font-semibold text-white"
99
+ size="sm"
100
+ >
101
+ {{ t("header.profile.connected") }}
102
+ </a-status-badge>
103
+ </div>
104
+ <span class="bg-deepblue ml-2 rounded-xl px-2 py-1 text-xs lg:hidden">{{ balance.toLocaleString("RU-ru") }} ₸</span>
105
+ </div>
106
+ <div class="mt-2 hidden items-center justify-between lg:flex lg:flex-col">
107
+ <div class="items-center justify-between lg:flex lg:w-full text-xs">
108
+ {{ t("header.profile.currentBalance") }}
109
+ <span class="ml-2 rounded-xl bg-deepblue-900 px-2 py-1">{{ balance.toLocaleString("RU-ru") }} ₸</span>
110
+ </div>
111
+ <a-button
112
+ size="sm"
113
+ class="w-full mt-4"
114
+ view="outline"
115
+ variant="ghost"
116
+ @click="onReplenish"
117
+ >
118
+ <i-plus-circle class="shrink-0 size-4" />
119
+ {{ t("header.profile.addBalance") }}
120
+ </a-button>
121
+ </div>
122
+ </div>
123
+ <!-- mobile -->
124
+ <div class="gradient-bg px-4 py-4 text-white dark:text-gray-900 lg:hidden">
125
+ <div class="flex justify-between gap-4 lg:mt-2">
126
+ <div class="flex flex-col items-center">
127
+ <div class="font-semibold">
128
+ {{ rate }}
129
+ </div>
130
+ <a-status-badge
131
+ type="success"
132
+ class="!px-3 font-semibold text-white dark:text-gray-900"
133
+ size="sm"
134
+ >
135
+ {{ t("header.profile.connected") }}
136
+ </a-status-badge>
137
+ </div>
138
+ <div class="flex min-w-[90px] flex-col">
139
+ <div class="font-semibold">
140
+ {{ t("header.profile.balance") }}
141
+ </div>
142
+ <div class="flex gap-1">
143
+ <a-status-badge
144
+ size="sm"
145
+ class="!px-3 font-semibold text-white dark:!bg-[#E3E5E8] dark:text-gray-900"
146
+ type="gray"
147
+ >
148
+ {{ balance.toLocaleString("RU-ru") }} ₸
149
+ </a-status-badge>
150
+ <button
151
+ class="flex h-[23px] w-[23px] items-center justify-center rounded-md bg-white text-deepblue-900 dark:bg-gray-900 dark:text-[#E3E5E8]"
152
+ @click="onReplenish"
153
+ >
154
+ <i-plus
155
+ width="16px"
156
+ height="16px"
157
+ />
158
+ </button>
159
+ </div>
160
+ </div>
161
+ </div>
162
+ </div>
163
+ <div class="rounded-b-[0.5rem] bg-white p-4 dark:bg-[#232324]">
164
+ <div class="mb-2 flex justify-between gap-2 lg:hidden">
165
+ <a-status-badge
166
+ size="sm"
167
+ class="w-full py-[6px] font-semibold"
168
+ >
169
+ <span>
170
+ {{ limitRemainingLabel ?? t("header.profile.requests") }}
171
+ </span>
172
+ {{ limitRemaining }}
173
+ </a-status-badge>
174
+ <a-status-badge
175
+ size="sm"
176
+ class="w-full py-[6px] font-semibold"
177
+ >
178
+ <span>
179
+ {{ t("header.profile.daysLeft") }}
180
+ </span>
181
+ {{ daysRemaining }}
182
+ </a-status-badge>
183
+ </div>
184
+ <div class="grid grid-cols-2 gap-2 lg:flex lg:flex-col">
185
+ <nuxt-link
186
+ v-for="item in items"
187
+ :key="item.title"
188
+ class="hover:text-blue-700 dark:hover:text-blue-500 flex flex-col lg:flex-row lg:gap-3 items-center rounded-[6px] bg-gray-50 lg:bg-white lg:dark:bg-[#232324] lg:hover:bg-blue-100 py-[10px] text-center text-sm hover:bg-deepblue-900/10 active:bg-deepblue-900 active:text-white dark:bg-[#161617] active:dark:bg-[#E3E5E8] active:dark:text-gray-900 lg:px-4 lg:dark:hover:bg-gray-900"
189
+ :to="item.to"
190
+ target="_blank"
191
+ >
192
+ <component
193
+ :is="item.icon"
194
+ class="h-[24px] w-[24px]"
195
+ />
196
+ <span>{{ item.title }}</span>
197
+ </nuxt-link>
198
+ </div>
199
+ <div class="mt-2">
200
+ <div
201
+ v-if="oldVersion"
202
+ :url="oldVersion"
203
+ />
204
+ </div>
205
+ <div
206
+ v-if="!isLargeScreen"
207
+ class="my-4 flex items-center justify-between text-sm"
208
+ >
209
+ <span>
210
+ {{ t("header.profile.colorScheme") }}
211
+ </span>
212
+ <color-mode />
213
+ </div>
214
+ <div
215
+ class="flex items-center justify-center lg:justify-start gap-3 pb-2 pt-4 px-4 cursor-pointer text-red-500 hover:text-red-700 border-t border-gray-200"
216
+ @click="$emit('logout')"
217
+ >
218
+ <i-logout class="h-5 w-5" />
219
+ <span>
220
+ {{ t("header.profile.logout") }}
221
+ </span>
222
+ </div>
223
+ </div>
224
+ </div>
225
225
  </template>
226
226
 
227
227
  <style scoped>
@@ -10,11 +10,7 @@ interface Props {
10
10
  email?: string;
11
11
  showLogin?: boolean;
12
12
  }
13
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- logout: (...args: any[]) => void;
15
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
- onLogout?: ((...args: any[]) => any) | undefined;
17
- }>, {
13
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
18
14
  daysRemaining: number;
19
15
  limitRemaining: number;
20
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -88,78 +88,78 @@ const closeMessage = () => {
88
88
  </script>
89
89
 
90
90
  <template>
91
- <div
92
- class="min-h-[40px]"
93
- :class="[isOpenNotification && systemMessage ? '' : 'hidden lg:block']"
94
- >
95
- <transition name="fade">
96
- <div
97
- v-if="isOpenNotification && systemMessage"
98
- class="bg-[#FFF5E6] px-2 py-3 text-[#FCA204] dark:bg-[#161617] md:px-0"
99
- >
100
- <div class="a-container flex items-center justify-between">
101
- <div class="flex items-center gap-2">
102
- <i-info-circle
103
- class="max-h-[16px] w-full max-w-[16px] stroke-orange-500 dark:stroke-orange-500"
104
- />
105
- <span class="text-sm font-semibold text-orange-500">{{ systemMessage }}</span>
106
- </div>
107
- <x-mark
108
- class="max-h-[16px] w-full max-w-[16px] cursor-pointer stroke-orange-500"
109
- @click="closeMessage"
110
- />
111
- </div>
112
- </div>
113
- </transition>
114
- <div
115
- v-if="!isOpenNotification || !systemMessage"
116
- class="hidden min-h-10 bg-gray-50 dark:bg-gray-950 lg:block"
117
- >
118
- <div class="a-container flex justify-between items-center py-2 text-sm">
119
- <div class="flex items-center leading-[24px]">
120
- <div
121
- v-for="currency in currencies"
122
- :key="currency.currency"
123
- class="mr-4 flex gap-2"
124
- >
125
- <div class="flex items-center dark:text-white">
126
- <component
127
- :is="Symbols[currency.currency]"
128
- class="mr-2 size-4 rounded-sm border border-solid border-[#E0E3E6] dark:border-[#2B2B2C]"
129
- />
130
- {{ currency.buy }}
131
- <div :class="computedClass(currency.sell_state)">
132
- <down />
133
- </div>
134
- </div>
135
- <div class="flex items-center dark:text-white">
136
- {{ currency.sell }}
137
- <div :class="computedClass(currency.sell_state)">
138
- <down />
139
- </div>
140
- </div>
141
- </div>
142
- </div>
143
- <div
144
- v-if="isAuthenticated"
145
- class="flex items-center gap-5"
146
- >
147
- <div v-if="limitRemaining != null || limitRemaining != void 0">
148
- <span class="mr-2 text-xs">{{ limitRemainingLabel ?? t("header.top.requestLimit") }}</span>
149
- <a-status-badge size="sm">
150
- {{ limitRemaining }}
151
- </a-status-badge>
152
- </div>
153
- <div v-if="daysRemaining">
154
- <span class="mr-2 text-xs">{{ t("header.top.daysLeft") }}</span>
155
- <a-status-badge size="sm">
156
- {{ daysRemaining }}
157
- </a-status-badge>
158
- </div>
159
- </div>
160
- </div>
161
- </div>
162
- </div>
91
+ <div
92
+ class="min-h-[40px]"
93
+ :class="[isOpenNotification && systemMessage ? '' : 'hidden lg:block']"
94
+ >
95
+ <transition name="fade">
96
+ <div
97
+ v-if="isOpenNotification && systemMessage"
98
+ class="bg-[#FFF5E6] px-2 py-3 text-[#FCA204] dark:bg-[#161617] md:px-0"
99
+ >
100
+ <div class="a-container flex items-center justify-between">
101
+ <div class="flex items-center gap-2">
102
+ <i-info-circle
103
+ class="max-h-[16px] w-full max-w-[16px] stroke-orange-500 dark:stroke-orange-500"
104
+ />
105
+ <span class="text-sm font-semibold text-orange-500">{{ systemMessage }}</span>
106
+ </div>
107
+ <x-mark
108
+ class="max-h-[16px] w-full max-w-[16px] cursor-pointer stroke-orange-500"
109
+ @click="closeMessage"
110
+ />
111
+ </div>
112
+ </div>
113
+ </transition>
114
+ <div
115
+ v-if="!isOpenNotification || !systemMessage"
116
+ class="hidden min-h-10 bg-gray-50 dark:bg-gray-950 lg:block"
117
+ >
118
+ <div class="a-container flex justify-between items-center py-2 text-sm">
119
+ <div class="flex items-center leading-[24px]">
120
+ <div
121
+ v-for="currency in currencies"
122
+ :key="currency.currency"
123
+ class="mr-4 flex gap-2"
124
+ >
125
+ <div class="flex items-center dark:text-white">
126
+ <component
127
+ :is="Symbols[currency.currency]"
128
+ class="mr-2 size-4 rounded-sm border border-solid border-[#E0E3E6] dark:border-[#2B2B2C]"
129
+ />
130
+ {{ currency.buy }}
131
+ <div :class="computedClass(currency.sell_state)">
132
+ <down />
133
+ </div>
134
+ </div>
135
+ <div class="flex items-center dark:text-white">
136
+ {{ currency.sell }}
137
+ <div :class="computedClass(currency.sell_state)">
138
+ <down />
139
+ </div>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ <div
144
+ v-if="isAuthenticated"
145
+ class="flex items-center gap-5"
146
+ >
147
+ <div v-if="limitRemaining != null || limitRemaining != void 0">
148
+ <span class="mr-2 text-xs">{{ limitRemainingLabel ?? t("header.top.requestLimit") }}</span>
149
+ <a-status-badge size="sm">
150
+ {{ limitRemaining }}
151
+ </a-status-badge>
152
+ </div>
153
+ <div v-if="daysRemaining">
154
+ <span class="mr-2 text-xs">{{ t("header.top.daysLeft") }}</span>
155
+ <a-status-badge size="sm">
156
+ {{ daysRemaining }}
157
+ </a-status-badge>
158
+ </div>
159
+ </div>
160
+ </div>
161
+ </div>
162
+ </div>
163
163
  </template>
164
164
 
165
165
  <style scoped>
@@ -11,43 +11,43 @@ const emit = defineEmits(["goToAnotherModule", "search"]);
11
11
  </script>
12
12
 
13
13
  <template>
14
- <section
15
- id="mobile-header"
16
- class="grow lg:hidden"
17
- >
18
- <div
19
- v-if="mobileHeaderType === 'default'"
20
- class="flex justify-between"
21
- >
22
- <div>
23
- <slot name="burger" />
24
- </div>
25
- <nuxt-link
26
- class="text-deepblue dark:text-[#E3E5E8]"
27
- @click="emit('goToAnotherModule')"
28
- >
29
- <i-adata
30
- :font-controlled="false"
31
- filled
32
- />
33
- </nuxt-link>
34
- <div />
35
- </div>
36
- <div
37
- v-else-if="mobileHeaderType === 'search'"
38
- class="flex w-full items-center gap-2 bg-white dark:bg-gray-900 lg:hidden"
39
- >
40
- <i-logo
41
- class="dark:text-gray-200"
42
- @click="emit('goToAnotherModule')"
43
- />
44
- <button
45
- class="flex w-full items-center gap-2 rounded bg-gray-50 px-4 py-1.5 dark:bg-gray-800 dark:text-gray-500"
46
- @click="emit('search')"
47
- >
48
- <i-search />
49
- <span class="body-400">Найти</span>
50
- </button>
51
- </div>
52
- </section>
14
+ <section
15
+ id="mobile-header"
16
+ class="grow lg:hidden"
17
+ >
18
+ <div
19
+ v-if="mobileHeaderType === 'default'"
20
+ class="flex justify-between"
21
+ >
22
+ <div>
23
+ <slot name="burger" />
24
+ </div>
25
+ <nuxt-link
26
+ class="text-deepblue dark:text-[#E3E5E8]"
27
+ @click="emit('goToAnotherModule')"
28
+ >
29
+ <i-adata
30
+ :font-controlled="false"
31
+ filled
32
+ />
33
+ </nuxt-link>
34
+ <div />
35
+ </div>
36
+ <div
37
+ v-else-if="mobileHeaderType === 'search'"
38
+ class="flex w-full items-center gap-2 bg-white dark:bg-gray-900 lg:hidden"
39
+ >
40
+ <i-logo
41
+ class="dark:text-gray-200"
42
+ @click="emit('goToAnotherModule')"
43
+ />
44
+ <button
45
+ class="flex w-full items-center gap-2 rounded bg-gray-50 px-4 py-1.5 dark:bg-gray-800 dark:text-gray-500"
46
+ @click="emit('search')"
47
+ >
48
+ <i-search />
49
+ <span class="body-400">Найти</span>
50
+ </button>
51
+ </div>
52
+ </section>
53
53
  </template>
@@ -1,19 +1,24 @@
1
+ import IAdata from '#icons/logo/adata.vue';
2
+ import ILogo from '#icons/logo/logo.vue';
3
+ import ISearch from '#icons/search.vue';
1
4
  type __VLS_Props = {
2
5
  mobileHeaderType: 'default' | 'search';
3
6
  langIsOn: boolean;
4
7
  module: string;
5
8
  };
9
+ declare const emit: (event: "search" | "goToAnotherModule", ...args: any[]) => void;
10
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
11
  declare var __VLS_1: {};
7
- type __VLS_Slots = {} & {
12
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
13
  burger?: (props: typeof __VLS_1) => any;
9
- };
10
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- search: (...args: any[]) => void;
12
- goToAnotherModule: (...args: any[]) => void;
13
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
- onSearch?: ((...args: any[]) => any) | undefined;
15
- onGoToAnotherModule?: ((...args: any[]) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
16
+ IAdata: typeof IAdata;
17
+ ILogo: typeof ILogo;
18
+ ISearch: typeof ISearch;
19
+ emit: typeof emit;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
22
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
23
  export default _default;
19
24
  type __VLS_WithSlots<T, S> = T & {