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.
Files changed (288) 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 +73 -73
  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 +114 -114
  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 +68 -55
  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 +72 -72
  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 +26 -26
  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 +114 -0
  86. package/dist/runtime/components/modals/SubmitApplicationModal.vue.d.ts +17 -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/dist/runtime/utils/useUrls.d.ts +1 -0
  287. package/dist/runtime/utils/useUrls.js +1 -0
  288. package/package.json +73 -73
@@ -50,55 +50,55 @@ async function handleClick(link) {
50
50
  </script>
51
51
 
52
52
  <template>
53
- <section class="a-container mb-10 flex flex-col gap-4 lg:mb-20 lg:gap-8">
54
- <h2 class="heading-02 md:heading-01 px-4 md:px-0 lg:text-4xl text-2xl lg:text-left text-center font-bold">
55
- {{ t("restTasks.title") }}
56
- </h2>
57
- <ul class="grid grid-cols-1 gap-3 px-4 sm:grid-cols-2 lg:grid-cols-3 md:px-0">
58
- <li
59
- v-for="(tab, idx) in tm('restTasks.tabTitleList') || []"
60
- :key="idx"
61
- :class="{ 'sm:col-span-2 md:col-span-1': idx === 8 }"
62
- >
63
- <div
53
+ <section class="a-container mb-10 flex flex-col gap-4 lg:mb-20 lg:gap-8">
54
+ <h2 class="heading-02 md:heading-01 px-4 md:px-0 lg:text-4xl text-2xl lg:text-left text-center font-bold">
55
+ {{ t("restTasks.title") }}
56
+ </h2>
57
+ <ul class="grid grid-cols-1 gap-3 px-4 sm:grid-cols-2 lg:grid-cols-3 md:px-0">
58
+ <li
59
+ v-for="(tab, idx) in tm('restTasks.tabTitleList') || []"
60
+ :key="idx"
61
+ :class="{ 'sm:col-span-2 md:col-span-1': idx === 8 }"
62
+ >
63
+ <div
64
64
  :class="[
65
65
  { afterClasses: idx !== 8 },
66
66
  {
67
67
  'flex size-full items-center justify-center text-blue-700 dark:text-blue-500': idx === 8,
68
68
  'bg-white dark:bg-gray-900': route.path === localePath(linkByIndex[idx])
69
69
  }
70
- ]"
71
- class="relative flex cursor-pointer items-center gap-4 rounded-md p-5 transition hover:bg-white dark:hover:bg-gray-200/5"
72
- @click="() => handleClick(linkByIndex[idx])"
73
- >
74
- <div class="flex items-center gap-4">
75
- <component
76
- :is="iconById[idx]"
77
- v-if="idx < 8"
78
- width="40"
79
- height="40"
80
- class="w-[40px] shrink-0 text-blue-700 dark:text-blue-500"
81
- />
82
- <div class="flex flex-col gap-4">
83
- <h3
84
- class="size-full text-[20px] font-semibold leading-6"
85
- >
86
- {{ rt(tab.title) }}
87
- </h3>
88
- <p
89
- v-if="idx !== 8"
90
- class="text-sm"
91
- >
92
- {{ rt(tab.description) }}
93
- </p>
94
- </div>
95
- </div>
96
- <component
97
- :is="AIconArrowTopRightOnSquare"
98
- v-if="idx === 8"
99
- />
100
- </div>
101
- </li>
102
- </ul>
103
- </section>
70
+ ]"
71
+ class="relative flex cursor-pointer items-center gap-4 rounded-md p-5 transition hover:bg-white dark:hover:bg-gray-200/5"
72
+ @click="() => handleClick(linkByIndex[idx])"
73
+ >
74
+ <div class="flex items-center gap-4">
75
+ <component
76
+ :is="iconById[idx]"
77
+ v-if="idx < 8"
78
+ width="40"
79
+ height="40"
80
+ class="w-[40px] shrink-0 text-blue-700 dark:text-blue-500"
81
+ />
82
+ <div class="flex flex-col gap-4">
83
+ <h3
84
+ class="size-full text-[20px] font-semibold leading-6"
85
+ >
86
+ {{ rt(tab.title) }}
87
+ </h3>
88
+ <p
89
+ v-if="idx !== 8"
90
+ class="text-sm"
91
+ >
92
+ {{ rt(tab.description) }}
93
+ </p>
94
+ </div>
95
+ </div>
96
+ <component
97
+ :is="AIconArrowTopRightOnSquare"
98
+ v-if="idx === 8"
99
+ />
100
+ </div>
101
+ </li>
102
+ </ul>
103
+ </section>
104
104
  </template>
@@ -28,31 +28,31 @@ const isActive = (to) => {
28
28
  </script>
29
29
 
30
30
  <template>
31
- <div class="grid grid-cols-3">
32
- <nuxt-link-locale
33
- v-for="(service, index) in services"
34
- :key="index"
35
- :to="service.to"
36
- :class="['flex flex-col items-center gap-2 p-2', blockStyles[index]]"
37
- >
38
- <div
39
- class="size-10 p-2 rounded-lg"
31
+ <div class="grid grid-cols-3">
32
+ <nuxt-link-locale
33
+ v-for="(service, index) in services"
34
+ :key="index"
35
+ :to="service.to"
36
+ :class="['flex flex-col items-center gap-2 p-2', blockStyles[index]]"
37
+ >
38
+ <div
39
+ class="size-10 p-2 rounded-lg"
40
40
  :class="[
41
41
  'bg-deepblue-900/5 dark:bg-gray-200/5',
42
42
  { '!bg-blue-700 text-white dark:!bg-blue-500': isActive(service.to) }
43
- ]"
44
- >
45
- <component
46
- :is="service.icon"
47
- class="size-6 shrink-0"
48
- />
49
- </div>
50
- <p class="text-xs text-center">
51
- {{ service.title }}
52
- </p>
53
-
54
- </nuxt-link-locale>
55
- </div>
43
+ ]"
44
+ >
45
+ <component
46
+ :is="service.icon"
47
+ class="size-6 shrink-0"
48
+ />
49
+ </div>
50
+ <p class="text-xs text-center">
51
+ {{ service.title }}
52
+ </p>
53
+
54
+ </nuxt-link-locale>
55
+ </div>
56
56
  </template>
57
57
 
58
58
  <style scoped>
@@ -53,88 +53,88 @@ const motionAnimate = { x: 0, y: 0 };
53
53
  </script>
54
54
 
55
55
  <template>
56
- <dialog-root
57
- v-if="showSidePanel"
58
- v-model:open="open"
59
- >
60
- <dialog-portal>
61
- <animate-presence>
62
- <dialog-overlay as-child>
63
- <Motion
64
- class="fixed inset-0 bg-black/50"
65
- :initial="{ opacity: 0 }"
66
- :animate="{ opacity: 1 }"
67
- :exit="{ opacity: 0 }"
68
- :transition="{ duration: 0.3, ease: 'easeOut' }"
69
- />
70
- </dialog-overlay>
71
-
72
- <dialog-content
73
- as-child
74
- :data-side="props.side"
75
- :style="sizeStyle"
56
+ <dialog-root
57
+ v-if="showSidePanel"
58
+ v-model:open="open"
59
+ >
60
+ <dialog-portal>
61
+ <animate-presence>
62
+ <dialog-overlay as-child>
63
+ <Motion
64
+ class="fixed inset-0 bg-black/50"
65
+ :initial="{ opacity: 0 }"
66
+ :animate="{ opacity: 1 }"
67
+ :exit="{ opacity: 0 }"
68
+ :transition="{ duration: 0.3, ease: 'easeOut' }"
69
+ />
70
+ </dialog-overlay>
71
+
72
+ <dialog-content
73
+ as-child
74
+ :data-side="props.side"
75
+ :style="sizeStyle"
76
76
  :class="[
77
77
  'fixed bg-white dark:bg-gray-900 shadow-2xl',
78
78
  POSITION_CLASSES[props.side],
79
79
  CORNER_CLASSES[props.side]
80
- ]"
81
- >
82
- <Motion
83
- :initial="motionInitial[props.side]"
84
- :animate="motionAnimate"
85
- :exit="motionInitial[props.side]"
86
- :transition="{ duration: 0.3, ease: 'easeInOut' }"
87
- >
88
- <button
80
+ ]"
81
+ >
82
+ <Motion
83
+ :initial="motionInitial[props.side]"
84
+ :animate="motionAnimate"
85
+ :exit="motionInitial[props.side]"
86
+ :transition="{ duration: 0.3, ease: 'easeInOut' }"
87
+ >
88
+ <button
89
89
  :class="[
90
90
  'absolute h-12 w-8 bg-blue-700 dark:bg-blue-500 cursor-pointer',
91
91
  BUTTON_CORNERS[props.side],
92
92
  BUTTON_POSITIONS[props.side]
93
- ]"
94
- @click="open = false"
95
- >
96
- <i-x-mark class="size-4 m-auto text-white dark:text-gray-900" />
97
- </button>
98
- <div
99
- v-if="$slots.header"
100
- class="border-b border-deepblue-900/5 dark:border-gray-200/5 lg:px-8 p-4"
101
- >
102
- <slot name="header" />
103
- </div>
104
- <div class="lg:px-8 p-4">
105
- <slot name="default" />
106
- </div>
107
- <div
108
- v-if="$slots.footer"
109
- class="border-b border-deepblue-900/5 dark:border-gray-200/5 lg:px-8 p-4"
110
- >
111
- <slot name="footer" />
112
- </div>
113
- </Motion>
114
- </dialog-content>
115
- </animate-presence>
116
- </dialog-portal>
117
- </dialog-root>
118
- <adt-drawer
119
- v-else
120
- v-model:open="open"
121
- :width="widthDrawer"
122
- :height="heightDrawer"
123
- >
124
- <template
125
- v-if="$slots.header"
126
- #header
127
- >
128
- <slot name="header" />
129
- </template>
130
- <template #default>
131
- <slot name="default" />
132
- </template>
133
- <template
134
- v-if="$slots.footer"
135
- #footer
136
- >
137
- <slot name="footer" />
138
- </template>
139
- </adt-drawer>
93
+ ]"
94
+ @click="open = false"
95
+ >
96
+ <i-x-mark class="size-4 m-auto text-white dark:text-gray-900" />
97
+ </button>
98
+ <div
99
+ v-if="$slots.header"
100
+ class="border-b border-deepblue-900/5 dark:border-gray-200/5 lg:px-8 p-4"
101
+ >
102
+ <slot name="header" />
103
+ </div>
104
+ <div class="lg:px-8 p-4">
105
+ <slot name="default" />
106
+ </div>
107
+ <div
108
+ v-if="$slots.footer"
109
+ class="border-b border-deepblue-900/5 dark:border-gray-200/5 lg:px-8 p-4"
110
+ >
111
+ <slot name="footer" />
112
+ </div>
113
+ </Motion>
114
+ </dialog-content>
115
+ </animate-presence>
116
+ </dialog-portal>
117
+ </dialog-root>
118
+ <adt-drawer
119
+ v-else
120
+ v-model:open="open"
121
+ :width="widthDrawer"
122
+ :height="heightDrawer"
123
+ >
124
+ <template
125
+ v-if="$slots.header"
126
+ #header
127
+ >
128
+ <slot name="header" />
129
+ </template>
130
+ <template #default>
131
+ <slot name="default" />
132
+ </template>
133
+ <template
134
+ v-if="$slots.footer"
135
+ #footer
136
+ >
137
+ <slot name="footer" />
138
+ </template>
139
+ </adt-drawer>
140
140
  </template>
@@ -1,5 +1,3 @@
1
- import { DialogContent, DialogOverlay, DialogPortal, DialogRoot } from 'reka-ui';
2
- import { AnimatePresence, Motion } from 'motion-v';
3
1
  type __VLS_Props = {
4
2
  side?: 'right' | 'left' | 'top' | 'bottom';
5
3
  width?: number;
@@ -7,60 +5,11 @@ type __VLS_Props = {
7
5
  heightDrawer?: number;
8
6
  widthDrawer?: number;
9
7
  };
10
- declare const open: import("vue").ModelRef<boolean, string, boolean, boolean>;
11
- declare const showSidePanel: import("vue").ComputedRef<boolean>;
12
- declare const POSITION_CLASSES: {
13
- right: string;
14
- left: string;
15
- top: string;
16
- bottom: string;
17
- };
18
- declare const CORNER_CLASSES: {
19
- left: string;
20
- right: string;
21
- top: string;
22
- bottom: string;
23
- };
24
- declare const BUTTON_POSITIONS: {
25
- left: string;
26
- right: string;
27
- top: string;
28
- bottom: string;
29
- };
30
- declare const BUTTON_CORNERS: {
31
- left: string;
32
- right: string;
33
- top: string;
34
- bottom: string;
35
- };
36
- declare const sizeStyle: import("vue").ComputedRef<{
37
- width: string;
38
- height: string;
39
- }>;
40
- declare const motionInitial: {
41
- right: {
42
- x: number;
43
- };
44
- left: {
45
- x: number;
46
- };
47
- top: {
48
- y: number;
49
- };
50
- bottom: {
51
- y: number;
52
- };
53
- };
54
- declare const motionAnimate: {
55
- x: number;
56
- y: number;
57
- };
58
8
  type __VLS_PublicProps = __VLS_Props & {
59
9
  modelValue?: boolean;
60
10
  };
61
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
62
11
  declare var __VLS_34: {}, __VLS_36: {}, __VLS_38: {}, __VLS_45: {}, __VLS_47: {}, __VLS_49: {};
63
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
+ type __VLS_Slots = {} & {
64
13
  header?: (props: typeof __VLS_34) => any;
65
14
  } & {
66
15
  default?: (props: typeof __VLS_36) => any;
@@ -72,40 +21,15 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
72
21
  default?: (props: typeof __VLS_47) => any;
73
22
  } & {
74
23
  footer?: (props: typeof __VLS_49) => any;
75
- }>;
76
- declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
77
- DialogContent: typeof DialogContent;
78
- DialogOverlay: typeof DialogOverlay;
79
- DialogPortal: typeof DialogPortal;
80
- DialogRoot: typeof DialogRoot;
81
- AnimatePresence: typeof AnimatePresence;
82
- Motion: typeof Motion;
83
- open: typeof open;
84
- showSidePanel: typeof showSidePanel;
85
- POSITION_CLASSES: typeof POSITION_CLASSES;
86
- CORNER_CLASSES: typeof CORNER_CLASSES;
87
- BUTTON_POSITIONS: typeof BUTTON_POSITIONS;
88
- BUTTON_CORNERS: typeof BUTTON_CORNERS;
89
- sizeStyle: typeof sizeStyle;
90
- motionInitial: typeof motionInitial;
91
- motionAnimate: typeof motionAnimate;
92
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
93
- "update:modelValue": (value: boolean) => any;
94
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
95
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
96
- }>, {
97
- side: "right" | "left" | "top" | "bottom";
98
- width: number;
99
- height: number;
100
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ };
101
25
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
102
26
  "update:modelValue": (value: boolean) => any;
103
27
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
104
28
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
105
29
  }>, {
106
- side: "right" | "left" | "top" | "bottom";
107
30
  width: number;
108
31
  height: number;
32
+ side: "right" | "left" | "top" | "bottom";
109
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
34
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
111
35
  export default _default;
@@ -39,8 +39,8 @@ const typeSwitchValues = {
39
39
  </script>
40
40
 
41
41
  <template>
42
- <div :class="[[classes], customClasses]">
43
- <slot name="point" />
44
- <slot />
45
- </div>
42
+ <div :class="[[classes], customClasses]">
43
+ <slot name="point" />
44
+ <slot />
45
+ </div>
46
46
  </template>
@@ -4,22 +4,12 @@ interface Props {
4
4
  size?: 'xs' | 'sm' | 'lg';
5
5
  customClasses?: string;
6
6
  }
7
- declare const classes: import("vue").ComputedRef<(string | undefined)[]>;
8
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
7
  declare var __VLS_1: {}, __VLS_3: {};
10
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ type __VLS_Slots = {} & {
11
9
  point?: (props: typeof __VLS_1) => any;
12
10
  } & {
13
11
  default?: (props: typeof __VLS_3) => any;
14
- }>;
15
- declare const __VLS_self: import("vue").DefineComponent<Props, {
16
- classes: typeof classes;
17
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
18
- size: "xs" | "sm" | "lg";
19
- type: "primary" | "success" | "danger" | "gray" | "orange" | "warning";
20
- view: "default" | "inverted" | "transparent";
21
- customClasses: string;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ };
23
13
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
24
14
  size: "xs" | "sm" | "lg";
25
15
  type: "primary" | "success" | "danger" | "gray" | "orange" | "warning";
@@ -106,34 +106,34 @@ const ui = {
106
106
  </script>
107
107
 
108
108
  <template>
109
- <SwitchRoot
110
- id="airplane-mode"
111
- v-model="active"
112
- :disabled="disabled"
113
- :class="switchClass"
114
- aria-label="Switch"
115
- >
116
- <SwitchThumb
117
- :class="containerClass"
118
- >
119
- <span
120
- v-if="onIcon"
121
- :class="[active ? ui.icon.active : ui.icon.inactive, ui.icon.base]"
122
- >
123
- <component
124
- :is="onIcon"
125
- :class="onIconClassFormatted"
126
- />
127
- </span>
128
- <span
129
- v-if="offIcon"
130
- :class="[active ? ui.icon.inactive : ui.icon.active, ui.icon.base]"
131
- >
132
- <component
133
- :is="offIcon"
134
- :class="offIconClassFormatted"
135
- />
136
- </span>
137
- </SwitchThumb>
138
- </SwitchRoot>
109
+ <SwitchRoot
110
+ id="airplane-mode"
111
+ v-model="active"
112
+ :disabled="disabled"
113
+ :class="switchClass"
114
+ aria-label="Switch"
115
+ >
116
+ <SwitchThumb
117
+ :class="containerClass"
118
+ >
119
+ <span
120
+ v-if="onIcon"
121
+ :class="[active ? ui.icon.active : ui.icon.inactive, ui.icon.base]"
122
+ >
123
+ <component
124
+ :is="onIcon"
125
+ :class="onIconClassFormatted"
126
+ />
127
+ </span>
128
+ <span
129
+ v-if="offIcon"
130
+ :class="[active ? ui.icon.inactive : ui.icon.active, ui.icon.base]"
131
+ >
132
+ <component
133
+ :is="offIcon"
134
+ :class="offIconClassFormatted"
135
+ />
136
+ </span>
137
+ </SwitchThumb>
138
+ </SwitchRoot>
139
139
  </template>
@@ -74,47 +74,47 @@ defineExpose({
74
74
  </script>
75
75
 
76
76
  <template>
77
- <accordion-root
78
- type="single"
79
- :disabled="disabled"
80
- collapsible
81
- :default-value="defaultOpen ? 'accordion' : ''"
82
- v-bind="attrs"
83
- >
84
- <accordion-item
85
- value="accordion"
86
- :class="bodyClassCompute"
87
- >
88
- <accordion-header class="w-full">
89
- <accordion-trigger
90
- ref="accordion"
91
- class="w-full"
92
- >
93
- <slot name="head">
94
- <button :class="buttonClass">
95
- <span :class="size === 'md' ? 'text-sm' : 'text-base'">{{ label }}</span>
96
- <slot name="additional" />
97
- <i-arrow-chevron-down
98
- :arrow-attrs="{ class: 'stroke-deepblue-900' }"
99
- :class="[{ 'rotate-180': isOpen }, 'max-h-[16px] min-h-[16px] min-w-[16px] max-w-[16px]', ui.item.icon]"
100
- />
101
- </button>
102
- </slot>
103
- </accordion-trigger>
104
- </accordion-header>
105
- <slot name="closedToShow" />
106
- <accordion-content class="AccordionContent">
107
- <div :class="[contClass, { 'mt-4 border-t': divider }]">
108
- <slot
109
- :name="slot || 'default'"
110
- :content="content"
111
- >
112
- {{ content }}
113
- </slot>
114
- </div>
115
- </accordion-content>
116
- </accordion-item>
117
- </accordion-root>
77
+ <accordion-root
78
+ type="single"
79
+ :disabled="disabled"
80
+ collapsible
81
+ :default-value="defaultOpen ? 'accordion' : ''"
82
+ v-bind="attrs"
83
+ >
84
+ <accordion-item
85
+ value="accordion"
86
+ :class="bodyClassCompute"
87
+ >
88
+ <accordion-header class="w-full">
89
+ <accordion-trigger
90
+ ref="accordion"
91
+ class="w-full"
92
+ >
93
+ <slot name="head">
94
+ <button :class="buttonClass">
95
+ <span :class="size === 'md' ? 'text-sm' : 'text-base'">{{ label }}</span>
96
+ <slot name="additional" />
97
+ <i-arrow-chevron-down
98
+ :arrow-attrs="{ class: 'stroke-deepblue-900' }"
99
+ :class="[{ 'rotate-180': isOpen }, 'max-h-[16px] min-h-[16px] min-w-[16px] max-w-[16px]', ui.item.icon]"
100
+ />
101
+ </button>
102
+ </slot>
103
+ </accordion-trigger>
104
+ </accordion-header>
105
+ <slot name="closedToShow" />
106
+ <accordion-content class="AccordionContent">
107
+ <div :class="[contClass, { 'mt-4 border-t': divider }]">
108
+ <slot
109
+ :name="slot || 'default'"
110
+ :content="content"
111
+ >
112
+ {{ content }}
113
+ </slot>
114
+ </div>
115
+ </accordion-content>
116
+ </accordion-item>
117
+ </accordion-root>
118
118
  </template>
119
119
 
120
120
  <style scoped>