mediacube-ui-v2 0.0.3 → 0.0.5

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 (717) hide show
  1. package/dist/components/elements/McAvatar/McAvatar.vue.d.ts +2 -2
  2. package/dist/components/elements/McNodata/McNoData.vue.d.ts +2 -2
  3. package/dist/components/templates/McTable/McTable/McTable.vue.d.ts +2 -2
  4. package/dist/index.cjs +3 -0
  5. package/dist/{index-DUxSE0Pp.js → index.js} +6785 -21800
  6. package/dist/style.css +1 -1
  7. package/package.json +23 -5
  8. package/src/App.vue +8 -0
  9. package/src/assets/base.css +0 -0
  10. package/src/assets/fonts/inter/Inter-Bold.woff +0 -0
  11. package/src/assets/fonts/inter/Inter-Bold.woff2 +0 -0
  12. package/src/assets/fonts/inter/Inter-Italic.woff +0 -0
  13. package/src/assets/fonts/inter/Inter-Italic.woff2 +0 -0
  14. package/src/assets/fonts/inter/Inter-Medium.woff +0 -0
  15. package/src/assets/fonts/inter/Inter-Medium.woff2 +0 -0
  16. package/src/assets/fonts/inter/Inter-Regular.woff +0 -0
  17. package/src/assets/fonts/inter/Inter-Regular.woff2 +0 -0
  18. package/src/assets/fonts/inter/Inter-SemiBold.woff +0 -0
  19. package/src/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
  20. package/src/assets/fonts/inter/inter.css +44 -0
  21. package/src/assets/icons/a_circle.svg +3 -0
  22. package/src/assets/icons/access_time.svg +5 -0
  23. package/src/assets/icons/account_circle.svg +1 -0
  24. package/src/assets/icons/account_edit.svg +3 -0
  25. package/src/assets/icons/add.svg +3 -0
  26. package/src/assets/icons/add_circle.svg +3 -0
  27. package/src/assets/icons/address.svg +6 -0
  28. package/src/assets/icons/ads_banner.svg +3 -0
  29. package/src/assets/icons/album.svg +1 -0
  30. package/src/assets/icons/alert_solid.svg +3 -0
  31. package/src/assets/icons/alternate_email.svg +1 -0
  32. package/src/assets/icons/amocrm.svg +4 -0
  33. package/src/assets/icons/amper_music.svg +4 -0
  34. package/src/assets/icons/analytics.svg +3 -0
  35. package/src/assets/icons/animation_motion.svg +4 -0
  36. package/src/assets/icons/api.svg +1 -0
  37. package/src/assets/icons/apple_icon.svg +3 -0
  38. package/src/assets/icons/applications.svg +3 -0
  39. package/src/assets/icons/applications_new.svg +3 -0
  40. package/src/assets/icons/apps.svg +3 -0
  41. package/src/assets/icons/archive.svg +1 -0
  42. package/src/assets/icons/archive_in.svg +3 -0
  43. package/src/assets/icons/archive_out.svg +3 -0
  44. package/src/assets/icons/arrow-stats-down.svg +3 -0
  45. package/src/assets/icons/arrow-stats-up.svg +3 -0
  46. package/src/assets/icons/arrow_backward.svg +3 -0
  47. package/src/assets/icons/arrow_downward.svg +3 -0
  48. package/src/assets/icons/arrow_drop_down.svg +3 -0
  49. package/src/assets/icons/arrow_drop_up.svg +3 -0
  50. package/src/assets/icons/arrow_forward.svg +3 -0
  51. package/src/assets/icons/arrow_leftward.svg +3 -0
  52. package/src/assets/icons/arrow_rightward.svg +3 -0
  53. package/src/assets/icons/arrow_to_grow_circle.svg +3 -0
  54. package/src/assets/icons/arrow_up_down.svg +3 -0
  55. package/src/assets/icons/arrow_upward.svg +3 -0
  56. package/src/assets/icons/arrows.svg +6 -0
  57. package/src/assets/icons/artist.svg +8 -0
  58. package/src/assets/icons/assessment.svg +1 -0
  59. package/src/assets/icons/assets_unassigned.svg +3 -0
  60. package/src/assets/icons/assignment.svg +9 -0
  61. package/src/assets/icons/assignment_ind.svg +1 -0
  62. package/src/assets/icons/assist_icon.svg +13 -0
  63. package/src/assets/icons/attach_money.svg +1 -0
  64. package/src/assets/icons/audiotrack.svg +1 -0
  65. package/src/assets/icons/backspace.svg +1 -0
  66. package/src/assets/icons/bank.svg +12 -0
  67. package/src/assets/icons/bank_building.svg +3 -0
  68. package/src/assets/icons/bank_building_blue.svg +4 -0
  69. package/src/assets/icons/bank_card.svg +3 -0
  70. package/src/assets/icons/bank_card_arrow.svg +3 -0
  71. package/src/assets/icons/bank_card_clock.svg +3 -0
  72. package/src/assets/icons/bank_card_double.svg +3 -0
  73. package/src/assets/icons/bank_card_virtual_blue.svg +7 -0
  74. package/src/assets/icons/bank_money_colored.svg +4 -0
  75. package/src/assets/icons/bankwire.svg +70 -0
  76. package/src/assets/icons/bell.svg +3 -0
  77. package/src/assets/icons/binance_coin_colored.svg +4 -0
  78. package/src/assets/icons/biometrics.svg +8 -0
  79. package/src/assets/icons/bitcoin.svg +6 -0
  80. package/src/assets/icons/bitcoin_cash_colored.svg +4 -0
  81. package/src/assets/icons/bitcoin_colored.svg +4 -0
  82. package/src/assets/icons/bloggerhood.svg +19 -0
  83. package/src/assets/icons/board.svg +7 -0
  84. package/src/assets/icons/book.svg +3 -0
  85. package/src/assets/icons/broken_link.svg +8 -0
  86. package/src/assets/icons/bug.svg +10 -0
  87. package/src/assets/icons/bug_big.svg +3 -0
  88. package/src/assets/icons/bug_report.svg +3 -0
  89. package/src/assets/icons/building.svg +17 -0
  90. package/src/assets/icons/building_colored.svg +18 -0
  91. package/src/assets/icons/business_center.svg +1 -0
  92. package/src/assets/icons/calendar.svg +3 -0
  93. package/src/assets/icons/calendar_colored.svg +7 -0
  94. package/src/assets/icons/calendar_load.svg +3 -0
  95. package/src/assets/icons/calendar_sixteen.svg +5 -0
  96. package/src/assets/icons/calendar_two_weeks.svg +3 -0
  97. package/src/assets/icons/calendar_user.svg +11 -0
  98. package/src/assets/icons/camera_alt.svg +1 -0
  99. package/src/assets/icons/camera_plus.svg +1 -0
  100. package/src/assets/icons/camera_video.svg +3 -0
  101. package/src/assets/icons/cancel.svg +4 -0
  102. package/src/assets/icons/cancel_alt.svg +1 -0
  103. package/src/assets/icons/capitalist.svg +23 -0
  104. package/src/assets/icons/capitalist_colored.svg +4 -0
  105. package/src/assets/icons/card.svg +1 -0
  106. package/src/assets/icons/card_off.svg +7 -0
  107. package/src/assets/icons/card_off_circle.svg +4 -0
  108. package/src/assets/icons/card_to_card_blue.svg +11 -0
  109. package/src/assets/icons/card_to_card_colored.svg +11 -0
  110. package/src/assets/icons/cash-ad.svg +7 -0
  111. package/src/assets/icons/cash.svg +7 -0
  112. package/src/assets/icons/category.svg +6 -0
  113. package/src/assets/icons/cellphone.svg +1 -0
  114. package/src/assets/icons/change_sheet.svg +3 -0
  115. package/src/assets/icons/channels_icon.svg +12 -0
  116. package/src/assets/icons/chart_bar.svg +3 -0
  117. package/src/assets/icons/chart_line.svg +3 -0
  118. package/src/assets/icons/chat.svg +3 -0
  119. package/src/assets/icons/chat_add.svg +6 -0
  120. package/src/assets/icons/chat_forum.svg +3 -0
  121. package/src/assets/icons/chat_messages.svg +3 -0
  122. package/src/assets/icons/check-rhombus.svg +3 -0
  123. package/src/assets/icons/check.svg +4 -0
  124. package/src/assets/icons/check_all.svg +6 -0
  125. package/src/assets/icons/check_circle.svg +4 -0
  126. package/src/assets/icons/check_circle_second.svg +4 -0
  127. package/src/assets/icons/check_circle_solid.svg +3 -0
  128. package/src/assets/icons/check_polygonal.svg +3 -0
  129. package/src/assets/icons/checkbox--checked.svg +3 -0
  130. package/src/assets/icons/checkbox.svg +3 -0
  131. package/src/assets/icons/checkboxes.svg +8 -0
  132. package/src/assets/icons/circle.svg +3 -0
  133. package/src/assets/icons/circle_arrows.svg +3 -0
  134. package/src/assets/icons/click.svg +3 -0
  135. package/src/assets/icons/clickup.svg +14 -0
  136. package/src/assets/icons/clip.svg +3 -0
  137. package/src/assets/icons/clock_check.svg +6 -0
  138. package/src/assets/icons/clock_solid.svg +5 -0
  139. package/src/assets/icons/close.svg +3 -0
  140. package/src/assets/icons/close_circle_outline.svg +5 -0
  141. package/src/assets/icons/close_circle_solid.svg +3 -0
  142. package/src/assets/icons/cloud_upload.svg +1 -0
  143. package/src/assets/icons/coin_speed.svg +7 -0
  144. package/src/assets/icons/comment.svg +4 -0
  145. package/src/assets/icons/company.svg +1 -0
  146. package/src/assets/icons/confetti.svg +18 -0
  147. package/src/assets/icons/connection.svg +3 -0
  148. package/src/assets/icons/contacts.svg +1 -0
  149. package/src/assets/icons/contracts.svg +3 -0
  150. package/src/assets/icons/convert.svg +6 -0
  151. package/src/assets/icons/copy.svg +3 -0
  152. package/src/assets/icons/copyright.svg +3 -0
  153. package/src/assets/icons/credit-card.svg +5 -0
  154. package/src/assets/icons/credit_card_blink.svg +4 -0
  155. package/src/assets/icons/crypto.svg +8 -0
  156. package/src/assets/icons/crypto_blue.svg +9 -0
  157. package/src/assets/icons/crypto_colored.svg +9 -0
  158. package/src/assets/icons/cryptowallet.svg +5 -0
  159. package/src/assets/icons/cryptowallet_blue.svg +6 -0
  160. package/src/assets/icons/cryptowallet_colored.svg +6 -0
  161. package/src/assets/icons/cup.svg +7 -0
  162. package/src/assets/icons/dashboard.svg +1 -0
  163. package/src/assets/icons/date_range.svg +1 -0
  164. package/src/assets/icons/deeplinks.svg +3 -0
  165. package/src/assets/icons/delete-account.svg +5 -0
  166. package/src/assets/icons/delete.svg +3 -0
  167. package/src/assets/icons/delete_alt.svg +1 -0
  168. package/src/assets/icons/deprecated.svg +1 -0
  169. package/src/assets/icons/desktop_device.svg +3 -0
  170. package/src/assets/icons/dialog.svg +3 -0
  171. package/src/assets/icons/discord.svg +9 -0
  172. package/src/assets/icons/discord_colored.svg +4 -0
  173. package/src/assets/icons/dislike.svg +3 -0
  174. package/src/assets/icons/doc-export.svg +10 -0
  175. package/src/assets/icons/document.svg +1 -0
  176. package/src/assets/icons/dollar.svg +3 -0
  177. package/src/assets/icons/donate_blue.svg +7 -0
  178. package/src/assets/icons/donate_colored.svg +7 -0
  179. package/src/assets/icons/dot-status.svg +3 -0
  180. package/src/assets/icons/download.svg +3 -0
  181. package/src/assets/icons/drag.svg +1 -0
  182. package/src/assets/icons/eWallet.svg +25 -0
  183. package/src/assets/icons/e_wallet_blue.svg +9 -0
  184. package/src/assets/icons/e_wallet_colored.svg +9 -0
  185. package/src/assets/icons/edit.svg +3 -0
  186. package/src/assets/icons/edit_solid.svg +4 -0
  187. package/src/assets/icons/email.svg +12 -0
  188. package/src/assets/icons/email_circle.svg +5 -0
  189. package/src/assets/icons/email_colored.svg +5 -0
  190. package/src/assets/icons/enrollment.svg +1 -0
  191. package/src/assets/icons/epayments_colored.svg +4 -0
  192. package/src/assets/icons/epidemic-sound.svg +66 -0
  193. package/src/assets/icons/epidemic_sound_circle.svg +4 -0
  194. package/src/assets/icons/error.svg +3 -0
  195. package/src/assets/icons/ethereum_colored.svg +8 -0
  196. package/src/assets/icons/event.svg +1 -0
  197. package/src/assets/icons/event_alt.svg +1 -0
  198. package/src/assets/icons/exit_to_app.svg +1 -0
  199. package/src/assets/icons/explicit.svg +1 -0
  200. package/src/assets/icons/export.svg +5 -0
  201. package/src/assets/icons/export_all.svg +6 -0
  202. package/src/assets/icons/express_payment.svg +3 -0
  203. package/src/assets/icons/face.svg +1 -0
  204. package/src/assets/icons/face_alt.svg +1 -0
  205. package/src/assets/icons/facebook.svg +3 -0
  206. package/src/assets/icons/facebook_colored.svg +4 -0
  207. package/src/assets/icons/fast.svg +10 -0
  208. package/src/assets/icons/favorite.svg +1 -0
  209. package/src/assets/icons/file.svg +1 -0
  210. package/src/assets/icons/file_add.svg +3 -0
  211. package/src/assets/icons/file_copy.svg +4 -0
  212. package/src/assets/icons/file_download.svg +1 -0
  213. package/src/assets/icons/file_export.svg +3 -0
  214. package/src/assets/icons/file_eye.svg +3 -0
  215. package/src/assets/icons/file_import.svg +7 -0
  216. package/src/assets/icons/file_new.svg +3 -0
  217. package/src/assets/icons/filter_list.svg +3 -0
  218. package/src/assets/icons/find_in_page.svg +1 -0
  219. package/src/assets/icons/fire.svg +3 -0
  220. package/src/assets/icons/fire_colored.svg +8 -0
  221. package/src/assets/icons/fire_solid.svg +3 -0
  222. package/src/assets/icons/flag_ar.svg +19 -0
  223. package/src/assets/icons/flag_en.svg +6 -0
  224. package/src/assets/icons/flag_es.svg +564 -0
  225. package/src/assets/icons/flag_pt.svg +43 -0
  226. package/src/assets/icons/flag_ru.svg +5 -0
  227. package/src/assets/icons/flag_th.svg +6 -0
  228. package/src/assets/icons/flag_vi.svg +5 -0
  229. package/src/assets/icons/fly_dollar.svg +13 -0
  230. package/src/assets/icons/fly_euro.svg +5 -0
  231. package/src/assets/icons/freeze.svg +3 -0
  232. package/src/assets/icons/fullscreen.svg +1 -0
  233. package/src/assets/icons/get_app.svg +4 -0
  234. package/src/assets/icons/gift_solid.svg +8 -0
  235. package/src/assets/icons/glasses.svg +3 -0
  236. package/src/assets/icons/google_colored.svg +6 -0
  237. package/src/assets/icons/googleplus_colored.svg +5 -0
  238. package/src/assets/icons/graph-no-data.svg +3 -0
  239. package/src/assets/icons/group.svg +3 -0
  240. package/src/assets/icons/group_connection.svg +9 -0
  241. package/src/assets/icons/growth_arrow_circle.svg +3 -0
  242. package/src/assets/icons/hand_money.svg +13 -0
  243. package/src/assets/icons/help.svg +1 -0
  244. package/src/assets/icons/help_invert.svg +1 -0
  245. package/src/assets/icons/help_solid.svg +4 -0
  246. package/src/assets/icons/help_ukraine_colored.svg +14 -0
  247. package/src/assets/icons/home.svg +3 -0
  248. package/src/assets/icons/iban.svg +9 -0
  249. package/src/assets/icons/iban_blue.svg +10 -0
  250. package/src/assets/icons/id_square.svg +3 -0
  251. package/src/assets/icons/id_thin.svg +5 -0
  252. package/src/assets/icons/image.svg +1 -0
  253. package/src/assets/icons/infinity.svg +3 -0
  254. package/src/assets/icons/info.svg +3 -0
  255. package/src/assets/icons/info_rounded_square.svg +5 -0
  256. package/src/assets/icons/info_solid.svg +4 -0
  257. package/src/assets/icons/instagram.svg +23 -0
  258. package/src/assets/icons/instagram_colored.svg +18 -0
  259. package/src/assets/icons/keyboard.svg +1 -0
  260. package/src/assets/icons/keyboard_arrow_left.svg +4 -0
  261. package/src/assets/icons/keyboard_arrow_right.svg +4 -0
  262. package/src/assets/icons/keyboard_arrow_right_thin.svg +3 -0
  263. package/src/assets/icons/kraken.svg +10 -0
  264. package/src/assets/icons/language.svg +3 -0
  265. package/src/assets/icons/layers.svg +3 -0
  266. package/src/assets/icons/lightning.svg +3 -0
  267. package/src/assets/icons/lightning_circle.svg +4 -0
  268. package/src/assets/icons/lightning_circle_solid.svg +4 -0
  269. package/src/assets/icons/lightning_outlined.svg +3 -0
  270. package/src/assets/icons/like.svg +3 -0
  271. package/src/assets/icons/link.svg +3 -0
  272. package/src/assets/icons/link_broken.svg +7 -0
  273. package/src/assets/icons/link_colored.svg +4 -0
  274. package/src/assets/icons/link_external.svg +3 -0
  275. package/src/assets/icons/link_external_new.svg +3 -0
  276. package/src/assets/icons/linkedin.svg +9 -0
  277. package/src/assets/icons/linkedin_colored.svg +6 -0
  278. package/src/assets/icons/list.svg +1 -0
  279. package/src/assets/icons/litecoin_colored.svg +4 -0
  280. package/src/assets/icons/live_help.svg +1 -0
  281. package/src/assets/icons/loader.svg +3 -0
  282. package/src/assets/icons/location_city.svg +1 -0
  283. package/src/assets/icons/location_on.svg +3 -0
  284. package/src/assets/icons/lock.svg +3 -0
  285. package/src/assets/icons/lock_old.svg +1 -0
  286. package/src/assets/icons/logout.svg +3 -0
  287. package/src/assets/icons/magic_blink.svg +3 -0
  288. package/src/assets/icons/mail_outline.svg +1 -0
  289. package/src/assets/icons/mc_assist.svg +4 -0
  290. package/src/assets/icons/mc_dashboard.svg +5 -0
  291. package/src/assets/icons/mc_id.svg +3 -0
  292. package/src/assets/icons/mc_pay.svg +10 -0
  293. package/src/assets/icons/mc_pay_app.svg +6 -0
  294. package/src/assets/icons/mc_pay_compact.svg +4 -0
  295. package/src/assets/icons/mc_pay_menu.svg +4 -0
  296. package/src/assets/icons/mc_pay_menu_circle_colored.svg +4 -0
  297. package/src/assets/icons/mc_pay_mobile_app.svg +21 -0
  298. package/src/assets/icons/mc_studio.svg +3 -0
  299. package/src/assets/icons/mc_vidwide.svg +11 -0
  300. package/src/assets/icons/mcadslogo.svg +37 -0
  301. package/src/assets/icons/mediacube.svg +1 -0
  302. package/src/assets/icons/menu.svg +3 -0
  303. package/src/assets/icons/menu_new.svg +3 -0
  304. package/src/assets/icons/message.svg +3 -0
  305. package/src/assets/icons/messenger.svg +6 -0
  306. package/src/assets/icons/messenger_colored.svg +10 -0
  307. package/src/assets/icons/minus.svg +5 -0
  308. package/src/assets/icons/mobile_device.svg +3 -0
  309. package/src/assets/icons/money_clock.svg +8 -0
  310. package/src/assets/icons/money_input.svg +8 -0
  311. package/src/assets/icons/more_horiz.svg +1 -0
  312. package/src/assets/icons/music.svg +1 -0
  313. package/src/assets/icons/music_icon.svg +8 -0
  314. package/src/assets/icons/new.svg +1 -0
  315. package/src/assets/icons/notes.svg +3 -0
  316. package/src/assets/icons/objects.svg +3 -0
  317. package/src/assets/icons/obs.svg +3 -0
  318. package/src/assets/icons/okru.svg +12 -0
  319. package/src/assets/icons/okru_colored.svg +4 -0
  320. package/src/assets/icons/ondemand_video.svg +1 -0
  321. package/src/assets/icons/partners.svg +3 -0
  322. package/src/assets/icons/pause.svg +1 -0
  323. package/src/assets/icons/payment.svg +1 -0
  324. package/src/assets/icons/payoneer.svg +13 -0
  325. package/src/assets/icons/payoneer_colored.svg +19 -0
  326. package/src/assets/icons/payoneer_cy.svg +13 -0
  327. package/src/assets/icons/paypal.svg +1 -0
  328. package/src/assets/icons/paypal_colored.svg +6 -0
  329. package/src/assets/icons/percent.svg +3 -0
  330. package/src/assets/icons/personal_email_colored.svg +11 -0
  331. package/src/assets/icons/phone_colored.svg +4 -0
  332. package/src/assets/icons/photo_add.svg +3 -0
  333. package/src/assets/icons/picture.svg +3 -0
  334. package/src/assets/icons/picture_thin.svg +3 -0
  335. package/src/assets/icons/plane.svg +3 -0
  336. package/src/assets/icons/play-videos.svg +4 -0
  337. package/src/assets/icons/play.svg +1 -0
  338. package/src/assets/icons/print.svg +1 -0
  339. package/src/assets/icons/prototype.svg +1 -0
  340. package/src/assets/icons/public.svg +1 -0
  341. package/src/assets/icons/qiwi.svg +11 -0
  342. package/src/assets/icons/qiwi_colored.svg +4 -0
  343. package/src/assets/icons/radio--checked.svg +4 -0
  344. package/src/assets/icons/ready.svg +1 -0
  345. package/src/assets/icons/receipt.svg +1 -0
  346. package/src/assets/icons/receipt_thin.svg +6 -0
  347. package/src/assets/icons/recording_circle.svg +3 -0
  348. package/src/assets/icons/recruiters.svg +3 -0
  349. package/src/assets/icons/redo.svg +3 -0
  350. package/src/assets/icons/referral.svg +10 -0
  351. package/src/assets/icons/referral_solid.svg +10 -0
  352. package/src/assets/icons/reload.svg +3 -0
  353. package/src/assets/icons/reload_right.svg +3 -0
  354. package/src/assets/icons/remove_red_eye.svg +1 -0
  355. package/src/assets/icons/repair.svg +6 -0
  356. package/src/assets/icons/reply_arrow.svg +3 -0
  357. package/src/assets/icons/requisites.svg +7 -0
  358. package/src/assets/icons/reset.svg +7 -0
  359. package/src/assets/icons/resize_video.svg +3 -0
  360. package/src/assets/icons/revenue.svg +3 -0
  361. package/src/assets/icons/review.svg +1 -0
  362. package/src/assets/icons/ripple_colored.svg +4 -0
  363. package/src/assets/icons/rocket.svg +7 -0
  364. package/src/assets/icons/rocket_colored.svg +6 -0
  365. package/src/assets/icons/rocket_small.svg +6 -0
  366. package/src/assets/icons/role.svg +3 -0
  367. package/src/assets/icons/safety.svg +5 -0
  368. package/src/assets/icons/sand_clock.svg +4 -0
  369. package/src/assets/icons/save.svg +1 -0
  370. package/src/assets/icons/search.svg +3 -0
  371. package/src/assets/icons/send.svg +1 -0
  372. package/src/assets/icons/send_solid.svg +3 -0
  373. package/src/assets/icons/settings.svg +4 -0
  374. package/src/assets/icons/settings_solid.svg +3 -0
  375. package/src/assets/icons/settings_tools.svg +3 -0
  376. package/src/assets/icons/shield.svg +4 -0
  377. package/src/assets/icons/shield_blue.svg +5 -0
  378. package/src/assets/icons/shield_colored.svg +5 -0
  379. package/src/assets/icons/shield_usd.svg +3 -0
  380. package/src/assets/icons/shop.svg +1 -0
  381. package/src/assets/icons/shopping_cart.svg +1 -0
  382. package/src/assets/icons/shuffle.svg +7 -0
  383. package/src/assets/icons/sign_out.svg +8 -0
  384. package/src/assets/icons/skype.svg +56 -0
  385. package/src/assets/icons/skype_colored.svg +4 -0
  386. package/src/assets/icons/slack.svg +6 -0
  387. package/src/assets/icons/smile_star_eye.svg +6 -0
  388. package/src/assets/icons/sort_asc.svg +4 -0
  389. package/src/assets/icons/sort_az.svg +4 -0
  390. package/src/assets/icons/sort_desc.svg +4 -0
  391. package/src/assets/icons/sort_directions.svg +3 -0
  392. package/src/assets/icons/sort_list.svg +1 -0
  393. package/src/assets/icons/sort_za.svg +4 -0
  394. package/src/assets/icons/spy_colored.svg +15 -0
  395. package/src/assets/icons/staff.svg +10 -0
  396. package/src/assets/icons/star.svg +1 -0
  397. package/src/assets/icons/star_round.svg +3 -0
  398. package/src/assets/icons/star_round_solid.svg +3 -0
  399. package/src/assets/icons/stars.svg +4 -0
  400. package/src/assets/icons/stars_fill.svg +4 -0
  401. package/src/assets/icons/stats_icon.svg +8 -0
  402. package/src/assets/icons/steam.svg +12 -0
  403. package/src/assets/icons/steam_colored.svg +15 -0
  404. package/src/assets/icons/studio_icon.svg +7 -0
  405. package/src/assets/icons/subscriptions.svg +1 -0
  406. package/src/assets/icons/suitcase.svg +4 -0
  407. package/src/assets/icons/supervised_user_circle.svg +1 -0
  408. package/src/assets/icons/support.svg +7 -0
  409. package/src/assets/icons/swap_cubes.svg +5 -0
  410. package/src/assets/icons/swap_cubes_colored.svg +6 -0
  411. package/src/assets/icons/swap_horizontal_circle.svg +3 -0
  412. package/src/assets/icons/switches.svg +3 -0
  413. package/src/assets/icons/table.svg +1 -0
  414. package/src/assets/icons/telegram.svg +40 -0
  415. package/src/assets/icons/telegram_colored.svg +12 -0
  416. package/src/assets/icons/tether.svg +8 -0
  417. package/src/assets/icons/tether_colored.svg +4 -0
  418. package/src/assets/icons/three_dots.svg +3 -0
  419. package/src/assets/icons/thumb_down.svg +4 -0
  420. package/src/assets/icons/thumb_up.svg +4 -0
  421. package/src/assets/icons/tiktok.svg +8 -0
  422. package/src/assets/icons/time.svg +3 -0
  423. package/src/assets/icons/time_thin.svg +3 -0
  424. package/src/assets/icons/timelapse.svg +4 -0
  425. package/src/assets/icons/timeline.svg +1 -0
  426. package/src/assets/icons/tipalti.svg +48 -0
  427. package/src/assets/icons/transaction.svg +1 -0
  428. package/src/assets/icons/twitter_colored.svg +4 -0
  429. package/src/assets/icons/unarchive.svg +1 -0
  430. package/src/assets/icons/unfold_more.svg +1 -0
  431. package/src/assets/icons/unlock.svg +3 -0
  432. package/src/assets/icons/upload_img.svg +1 -0
  433. package/src/assets/icons/usd_coin_colored.svg +5 -0
  434. package/src/assets/icons/user.svg +3 -0
  435. package/src/assets/icons/user_edit.svg +3 -0
  436. package/src/assets/icons/user_kyc.svg +8 -0
  437. package/src/assets/icons/viber.svg +17 -0
  438. package/src/assets/icons/viber_colored.svg +8 -0
  439. package/src/assets/icons/videoblocks.svg +8 -0
  440. package/src/assets/icons/vidiq-logo-mono.svg +10 -0
  441. package/src/assets/icons/vidiq_circle.svg +5 -0
  442. package/src/assets/icons/visibility.svg +4 -0
  443. package/src/assets/icons/visibility_off.svg +7 -0
  444. package/src/assets/icons/vkontakte.svg +1 -0
  445. package/src/assets/icons/vkontakte_colored.svg +4 -0
  446. package/src/assets/icons/wallet.svg +5 -0
  447. package/src/assets/icons/warning.svg +3 -0
  448. package/src/assets/icons/webmoney.svg +10 -0
  449. package/src/assets/icons/webmoney_colored.svg +4 -0
  450. package/src/assets/icons/website_colored.svg +4 -0
  451. package/src/assets/icons/whatsapp.svg +12 -0
  452. package/src/assets/icons/whatsapp_colored.svg +4 -0
  453. package/src/assets/icons/wise_colored.svg +4 -0
  454. package/src/assets/icons/worldfirst.svg +12 -0
  455. package/src/assets/icons/x_network.svg +4 -0
  456. package/src/assets/icons/yandexmoney.svg +1 -0
  457. package/src/assets/icons/yoomoney_colored.svg +4 -0
  458. package/src/assets/icons/youtube.svg +3 -0
  459. package/src/assets/icons/youtube_circled.svg +4 -0
  460. package/src/assets/icons/youtube_circled_second.svg +4 -0
  461. package/src/assets/icons/youtube_colored.svg +4 -0
  462. package/src/assets/icons/youtube_outlined.svg +4 -0
  463. package/src/assets/icons/zcash_colored.svg +4 -0
  464. package/src/assets/iconsSprite.svg +1 -0
  465. package/src/assets/main.scss +233 -0
  466. package/src/assets/styles/_functions.scss +187 -0
  467. package/src/assets/styles/_mixins.scss +664 -0
  468. package/src/assets/styles/_spacing.scss +33 -0
  469. package/src/assets/styles/_tooltip.scss +123 -0
  470. package/src/assets/styles/_variables.scss +23 -0
  471. package/src/assets/styles/main.scss +4 -0
  472. package/src/assets/styles/table.scss +10 -0
  473. package/src/assets/styles/toast.scss +57 -0
  474. package/src/assets/tokens/animations.scss +57 -0
  475. package/src/assets/tokens/border-radius.scss +23 -0
  476. package/src/assets/tokens/box-shadows.scss +22 -0
  477. package/src/assets/tokens/colors.scss +81 -0
  478. package/src/assets/tokens/durations.scss +13 -0
  479. package/src/assets/tokens/easings.scss +6 -0
  480. package/src/assets/tokens/font-families.scss +8 -0
  481. package/src/assets/tokens/font-sizes.scss +23 -0
  482. package/src/assets/tokens/font-weights.scss +16 -0
  483. package/src/assets/tokens/gradients.scss +18 -0
  484. package/src/assets/tokens/json/animations.json +6 -0
  485. package/src/assets/tokens/json/border-radius.json +24 -0
  486. package/src/assets/tokens/json/box-shadows.json +24 -0
  487. package/src/assets/tokens/json/colors.json +71 -0
  488. package/src/assets/tokens/json/durations.json +10 -0
  489. package/src/assets/tokens/json/easings.json +3 -0
  490. package/src/assets/tokens/json/font-families.json +4 -0
  491. package/src/assets/tokens/json/font-sizes.json +18 -0
  492. package/src/assets/tokens/json/font-weights.json +12 -0
  493. package/src/assets/tokens/json/gradients.json +13 -0
  494. package/src/assets/tokens/json/index.ts +37 -0
  495. package/src/assets/tokens/json/letter-spacings.json +4 -0
  496. package/src/assets/tokens/json/line-heights.json +18 -0
  497. package/src/assets/tokens/json/media-queries.json +26 -0
  498. package/src/assets/tokens/json/opacities.json +5 -0
  499. package/src/assets/tokens/json/sizes.json +42 -0
  500. package/src/assets/tokens/json/spacings.json +34 -0
  501. package/src/assets/tokens/json/z-indexes.json +12 -0
  502. package/src/assets/tokens/letter-spacings.scss +6 -0
  503. package/src/assets/tokens/line-heights.scss +22 -0
  504. package/src/assets/tokens/media-queries.scss +32 -0
  505. package/src/assets/tokens/opacities.scss +8 -0
  506. package/src/assets/tokens/sizes.scss +47 -0
  507. package/src/assets/tokens/spacings.scss +38 -0
  508. package/src/assets/tokens/z-indexes.scss +14 -0
  509. package/src/components/elements/McAvatar/McAvatar.stories.ts +71 -0
  510. package/src/components/elements/McAvatar/McAvatar.vue +252 -0
  511. package/src/components/elements/McBadge/McBadge.stories.ts +40 -0
  512. package/src/components/elements/McBadge/McBadge.vue +150 -0
  513. package/src/components/elements/McBottomLoader/McBottomLoader.stories.ts +47 -0
  514. package/src/components/elements/McBottomLoader/McBottomLoader.vue +79 -0
  515. package/src/components/elements/McButton/McButton.stories.ts +145 -0
  516. package/src/components/elements/McButton/McButton.vue +844 -0
  517. package/src/components/elements/McChip/McChip.stories.ts +102 -0
  518. package/src/components/elements/McChip/McChip.vue +309 -0
  519. package/src/components/elements/McCropper/McCropper.stories.ts +31 -0
  520. package/src/components/elements/McCropper/McCropper.vue +129 -0
  521. package/src/components/elements/McDatepicker/McDatepicker.stories.ts +440 -0
  522. package/src/components/elements/McDatepicker/McDatepicker.vue +832 -0
  523. package/src/components/elements/McDraggable/McDraggable.stories.ts +52 -0
  524. package/src/components/elements/McDraggable/McDraggable.vue +211 -0
  525. package/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue +329 -0
  526. package/src/components/elements/McFieldCheckbox/McFieldCheckox.stories.ts +97 -0
  527. package/src/components/elements/McFieldRadio/McFieldRadio.stories.ts +91 -0
  528. package/src/components/elements/McFieldRadio/McFieldRadio.vue +258 -0
  529. package/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.stories.ts +70 -0
  530. package/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue +215 -0
  531. package/src/components/elements/McFieldRange/McFieldRange.stories.ts +93 -0
  532. package/src/components/elements/McFieldRange/McFieldRange.vue +279 -0
  533. package/src/components/elements/McFieldSelect/McFieldSelect.stories.ts +257 -0
  534. package/src/components/elements/McFieldSelect/McFieldSelect.vue +920 -0
  535. package/src/components/elements/McFieldText/McFieldText.stories.ts +258 -0
  536. package/src/components/elements/McFieldText/McFieldText.vue +898 -0
  537. package/src/components/elements/McFieldToggle/McFieldToggle.stories.ts +63 -0
  538. package/src/components/elements/McFieldToggle/McFieldToggle.vue +280 -0
  539. package/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.stories.ts +49 -0
  540. package/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue +95 -0
  541. package/src/components/elements/McNodata/McNoData.stories.ts +34 -0
  542. package/src/components/elements/McNodata/McNoData.vue +191 -0
  543. package/src/components/elements/McNotification/McNotification.stories.ts +43 -0
  544. package/src/components/elements/McNotification/McNotification.vue +219 -0
  545. package/src/components/elements/McProgress/McProgress.stories.ts +39 -0
  546. package/src/components/elements/McProgress/McProgress.vue +194 -0
  547. package/src/components/elements/McSeparator/McSeparator.stories.ts +35 -0
  548. package/src/components/elements/McSeparator/McSeparator.vue +131 -0
  549. package/src/components/elements/McSlideUpDown/McSlideUpDown.stories.ts +54 -0
  550. package/src/components/elements/McSlideUpDown/McSlideUpDown.vue +142 -0
  551. package/src/components/elements/McStack/McStack.stories.ts +108 -0
  552. package/src/components/elements/McStack/McStack.vue +147 -0
  553. package/src/components/elements/McSvgIcon/McSvgIcon.stories.ts +135 -0
  554. package/src/components/elements/McSvgIcon/McSvgIcon.vue +114 -0
  555. package/src/components/elements/McTitle/McTitle.stories.ts +73 -0
  556. package/src/components/elements/McTitle/McTitle.vue +368 -0
  557. package/src/components/elements/McTooltip/McTooltip.stories.ts +39 -0
  558. package/src/components/elements/McTooltip/McTooltip.vue +85 -0
  559. package/src/components/index.ts +136 -0
  560. package/src/components/patterns/McAccordion/McAccordion.stories.ts +99 -0
  561. package/src/components/patterns/McAccordion/McAccordion.vue +65 -0
  562. package/src/components/patterns/McCell/McCell.stories.ts +36 -0
  563. package/src/components/patterns/McCell/McCell.vue +96 -0
  564. package/src/components/patterns/McCollapse/McCollapse.stories.ts +100 -0
  565. package/src/components/patterns/McCollapse/McCollapse.vue +303 -0
  566. package/src/components/patterns/McDropdown/McDropdown.stories.ts +65 -0
  567. package/src/components/patterns/McDropdown/McDropdown.vue +297 -0
  568. package/src/components/patterns/McDropdown/McDropdownPanel.vue +65 -0
  569. package/src/components/patterns/McFilter/McFilter.stories.ts +76 -0
  570. package/src/components/patterns/McFilter/McFilter.vue +887 -0
  571. package/src/components/patterns/McFilter/McFilterChip/McFilterChip.stories.ts +37 -0
  572. package/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue +98 -0
  573. package/src/components/patterns/McFilter/McFilterTags/McFilterTags.stories.ts +41 -0
  574. package/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue +377 -0
  575. package/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.stories.ts +29 -0
  576. package/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue +69 -0
  577. package/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.stories.ts +26 -0
  578. package/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue +139 -0
  579. package/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.stories.ts +26 -0
  580. package/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue +247 -0
  581. package/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.stories.ts +26 -0
  582. package/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue +61 -0
  583. package/src/components/patterns/McGridCol/McGridCol.stories.ts +34 -0
  584. package/src/components/patterns/McGridCol/McGridCol.vue +159 -0
  585. package/src/components/patterns/McGridRow/McGridRow.stories.ts +74 -0
  586. package/src/components/patterns/McGridRow/McGridRow.vue +143 -0
  587. package/src/components/patterns/McOverlay/McOverlay.stories.ts +44 -0
  588. package/src/components/patterns/McOverlay/McOverlay.vue +77 -0
  589. package/src/components/patterns/McPreview/McPreview.stories.ts +45 -0
  590. package/src/components/patterns/McPreview/McPreview.vue +109 -0
  591. package/src/components/patterns/McSideBar/McSideBar.stories.ts +54 -0
  592. package/src/components/patterns/McSideBar/McSideBar.vue +378 -0
  593. package/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.stories.ts +32 -0
  594. package/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue +116 -0
  595. package/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.stories.ts +23 -0
  596. package/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue +232 -0
  597. package/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.stories.ts +34 -0
  598. package/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue +342 -0
  599. package/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.stories.ts +40 -0
  600. package/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue +211 -0
  601. package/src/components/patterns/McTab/McTab.stories.ts +23 -0
  602. package/src/components/patterns/McTab/McTab.vue +209 -0
  603. package/src/components/patterns/McTabs/McTabs.stories.ts +96 -0
  604. package/src/components/patterns/McTabs/McTabs.vue +387 -0
  605. package/src/components/patterns/McWrapScroll/McWrapScroll.stories.ts +56 -0
  606. package/src/components/patterns/McWrapScroll/McWrapScroll.vue +305 -0
  607. package/src/components/templates/McDrawer/McDrawer.stories.ts +88 -0
  608. package/src/components/templates/McDrawer/McDrawer.vue +217 -0
  609. package/src/components/templates/McDrawer/McDrawerContainer.vue +54 -0
  610. package/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.stories.ts +33 -0
  611. package/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue +88 -0
  612. package/src/components/templates/McModal/McModal.stories.ts +92 -0
  613. package/src/components/templates/McModal/McModal.vue +716 -0
  614. package/src/components/templates/McModal/McModalContainer.vue +51 -0
  615. package/src/components/templates/McTable/McTable/McTable.stories.ts +192 -0
  616. package/src/components/templates/McTable/McTable/McTable.vue +650 -0
  617. package/src/components/templates/McTable/McTableCard/McTableCard.stories.ts +94 -0
  618. package/src/components/templates/McTable/McTableCard/McTableCard.vue +239 -0
  619. package/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue +74 -0
  620. package/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue +155 -0
  621. package/src/components/templates/McTable/McTableSort/McTableSort.vue +66 -0
  622. package/src/components/templates/McTopBar/McTopBar.stories.ts +68 -0
  623. package/src/components/templates/McTopBar/McTopBar.vue +149 -0
  624. package/src/components/templates/McVirtualScroll/McVirtualScroll.stories.ts +59 -0
  625. package/src/components/templates/McVirtualScroll/McVirtualScroll.vue +124 -0
  626. package/src/composables/index.ts +9 -0
  627. package/src/composables/useDrawer.ts +90 -0
  628. package/src/composables/useEncodeDecode.ts +22 -0
  629. package/src/composables/useFieldErrors.ts +24 -0
  630. package/src/composables/useHelper.ts +85 -0
  631. package/src/composables/useModal.ts +88 -0
  632. package/src/composables/useRandomNumber.ts +10 -0
  633. package/src/composables/useTooltip.ts +174 -0
  634. package/src/consts/table.ts +6 -0
  635. package/src/enums/Cell.ts +5 -0
  636. package/src/enums/Chip.ts +10 -0
  637. package/src/enums/Datepicker.ts +38 -0
  638. package/src/enums/Drawer.ts +4 -0
  639. package/src/enums/Dropdown.ts +11 -0
  640. package/src/enums/Filter.ts +13 -0
  641. package/src/enums/Grid.ts +21 -0
  642. package/src/enums/Input.ts +19 -0
  643. package/src/enums/Modal.ts +4 -0
  644. package/src/enums/Preview.ts +5 -0
  645. package/src/enums/Radio.ts +4 -0
  646. package/src/enums/RadioGroup.ts +4 -0
  647. package/src/enums/Select.ts +10 -0
  648. package/src/enums/Sidebar.ts +4 -0
  649. package/src/enums/Tab.ts +5 -0
  650. package/src/enums/Title.ts +20 -0
  651. package/src/enums/Tooltip.ts +14 -0
  652. package/src/enums/index.ts +23 -0
  653. package/src/enums/ui/Alignment.ts +5 -0
  654. package/src/enums/ui/Button.ts +23 -0
  655. package/src/enums/ui/Directions.ts +4 -0
  656. package/src/enums/ui/Weights.ts +6 -0
  657. package/src/index.js +16 -0
  658. package/src/main.ts +9 -0
  659. package/src/mocks/authUser.ts +163 -0
  660. package/src/mocks/categories.js +107 -0
  661. package/src/mocks/filterMocks.ts +133 -0
  662. package/src/mocks/icons.json +1 -0
  663. package/src/mocks/menuLangs.ts +20 -0
  664. package/src/mocks/selectOptions.json +111 -0
  665. package/src/mocks/sidebar.ts +131 -0
  666. package/src/mocks/tableData.ts +8338 -0
  667. package/src/types/IButton.ts +48 -0
  668. package/src/types/ICell.ts +5 -0
  669. package/src/types/IChip.ts +13 -0
  670. package/src/types/ICollapse.ts +15 -0
  671. package/src/types/IDatepicker.ts +44 -0
  672. package/src/types/IDirections.ts +5 -0
  673. package/src/types/IDrawer.ts +29 -0
  674. package/src/types/IDropdown.ts +6 -0
  675. package/src/types/IFilter.ts +185 -0
  676. package/src/types/IGrid.ts +4 -0
  677. package/src/types/IInput.ts +6 -0
  678. package/src/types/IModal.ts +30 -0
  679. package/src/types/IPreview.ts +5 -0
  680. package/src/types/IRadio.ts +5 -0
  681. package/src/types/IRadioGroup.ts +12 -0
  682. package/src/types/IRoute.ts +14 -0
  683. package/src/types/ISelect.ts +19 -0
  684. package/src/types/ISideBar.ts +76 -0
  685. package/src/types/ITable.ts +76 -0
  686. package/src/types/ITabs.ts +33 -0
  687. package/src/types/ITitle.ts +6 -0
  688. package/src/types/ITooltip.ts +30 -0
  689. package/src/types/index.ts +39 -0
  690. package/src/types/styles/Alignment.ts +4 -0
  691. package/src/types/styles/AvatarSizes.ts +5 -0
  692. package/src/types/styles/Colors.ts +6 -0
  693. package/src/types/styles/Durations.ts +6 -0
  694. package/src/types/styles/FontSizes.ts +5 -0
  695. package/src/types/styles/FontWeights.ts +6 -0
  696. package/src/types/styles/Grid.ts +18 -0
  697. package/src/types/styles/Icons.ts +4 -0
  698. package/src/types/styles/LineHeights.ts +5 -0
  699. package/src/types/styles/MediaQueries.ts +5 -0
  700. package/src/types/styles/Radiuses.ts +5 -0
  701. package/src/types/styles/Sizes.ts +6 -0
  702. package/src/types/styles/Spaces.ts +6 -0
  703. package/src/types/styles/Weights.ts +3 -0
  704. package/src/utils/dayjs.js +22 -0
  705. package/src/utils/mcGridColAdaptiveProps.ts +15 -0
  706. package/src/utils/mcTitleAdaptiveProps.ts +15 -0
  707. package/dist/McBottomLoader-DP6VeK0N.js +0 -4
  708. package/dist/McOverlay-BZft7En3.js +0 -4
  709. package/dist/es-CKatgsl2.js +0 -39
  710. package/dist/index.es.js +0 -135
  711. package/dist/index.umd.js +0 -38
  712. package/dist/pt-CEavNnlV.js +0 -39
  713. package/dist/ru-DX_6fNBy.js +0 -54
  714. package/dist/th-DGTC0w1I.js +0 -39
  715. package/dist/vi-Pc8KAwzf.js +0 -39
  716. /package/{dist → src/assets/img}/no_table_data.png +0 -0
  717. /package/{dist → src/assets/img}/no_user.png +0 -0
@@ -0,0 +1,174 @@
1
+ import { type ITooltip, type ITooltipInstance, type ITooltipStyles } from '@/types/ITooltip'
2
+ import { useDebounceFn } from '@vueuse/core'
3
+ import { useRandomNumber } from '@/composables/useRandomNumber'
4
+ import { onBeforeUnmount, onMounted, ref } from 'vue'
5
+ import { TooltipPositions, TooltipSizes } from '@/enums'
6
+ import { Colors, type ColorsUnion } from '@/types'
7
+ import { useHelper } from '@/composables/useHelper'
8
+
9
+ const debounce = useDebounceFn((method) => {
10
+ method()
11
+ }, 150)
12
+
13
+ const tooltipInstances = ref<ITooltipInstance[]>([])
14
+ const helper = useHelper()
15
+
16
+ class TooltipInstance {
17
+ id: number
18
+ target: HTMLElement
19
+ content: string | undefined
20
+ visible = ref(false)
21
+ position = ref<ITooltipStyles>({ top: null, left: null, translate: 'translate(0, 0)' })
22
+ placement: TooltipPositions
23
+ size: TooltipSizes
24
+ arrow: boolean
25
+ color: ColorsUnion
26
+ textColor: ColorsUnion
27
+
28
+ constructor(el: HTMLElement, value: ITooltip) {
29
+ this.target = el
30
+ this.content = value.content
31
+ this.placement = value.placement || TooltipPositions.Top
32
+ this.size = value.size || TooltipSizes.M
33
+ this.id = useRandomNumber().timestamp(5)
34
+ this.arrow = helper.hasProperty(value, 'arrow') ? !!value.arrow : true
35
+ this.color = value.color || Colors.black
36
+ this.textColor = value.textColor || Colors.white
37
+
38
+ this.target.addEventListener('mouseenter', this.showTooltip)
39
+ this.target.addEventListener('mouseleave', this.hideTooltip)
40
+
41
+ //@ts-ignore
42
+ tooltipInstances.value.push(this)
43
+ }
44
+
45
+ showTooltip = (): void => {
46
+ this.updateTooltipPosition()
47
+ this.visible.value = true
48
+
49
+ let tooltipElement = document.getElementById(String(this.id))
50
+
51
+ if (!tooltipElement) {
52
+ const tooltipDiv = document.createElement('div')
53
+ tooltipDiv.classList.add('mc-tooltip')
54
+ tooltipDiv.id = String(this.id)
55
+ tooltipDiv.innerText = this.content || ''
56
+ tooltipDiv.style.setProperty('--tooltip-color', this.color)
57
+ tooltipDiv.style.setProperty('--tooltip-text-color', this.textColor)
58
+ tooltipDiv.setAttribute('tooltip-placement', this.placement)
59
+ tooltipDiv.setAttribute('tooltip-size', this.size)
60
+ tooltipDiv.setAttribute('tooltip-arrow', String(this.arrow))
61
+ document.getElementById('tooltip-container')?.appendChild(tooltipDiv)
62
+ }
63
+
64
+ tooltipElement = document.getElementById(String(this.id))
65
+ if (tooltipElement) {
66
+ tooltipElement.style.visibility = 'visible'
67
+ for (const key in this.position.value) {
68
+ if (key && helper.hasProperty(this.position.value, key)) {
69
+ //@ts-ignore
70
+ tooltipElement.style[key] = `${this.position.value[key]}px`
71
+ }
72
+ }
73
+ tooltipElement.style.transform = this.position.value.translate
74
+ }
75
+ }
76
+
77
+ hideTooltip = (): void => {
78
+ this.visible.value = false
79
+ const tooltipElement = document.getElementById(String(this.id))
80
+ if (tooltipElement) {
81
+ tooltipElement.style.visibility = 'hidden'
82
+ }
83
+ }
84
+
85
+ updateTooltipPosition = (): void => {
86
+ const { top, left, width, height } = this.target.getBoundingClientRect()
87
+ const requiredTop = top + window.scrollY
88
+ const requiredLeft = left + window.scrollX
89
+ const space = 4
90
+ const arrow = this.arrow ? 4 : 0
91
+
92
+ switch (this.placement) {
93
+ case TooltipPositions.Right:
94
+ this.position.value = {
95
+ top: requiredTop,
96
+ left: requiredLeft + width + (space + arrow),
97
+ translate: `translate(0, calc(-50% + ${height / 2}px))`
98
+ }
99
+ break
100
+ case TooltipPositions.Left:
101
+ this.position.value = {
102
+ top: requiredTop,
103
+ left: requiredLeft - (space + arrow),
104
+ translate: `translate(-100%, calc(-50% + ${height / 2}px))`
105
+ }
106
+ break
107
+ case TooltipPositions.Top:
108
+ this.position.value = {
109
+ top: requiredTop - (space + arrow),
110
+ left: requiredLeft + width / 2,
111
+ translate: 'translate(-50%, -100%)'
112
+ }
113
+ break
114
+ case TooltipPositions.Bottom:
115
+ this.position.value = {
116
+ top: requiredTop + height + (space + arrow),
117
+ left: requiredLeft + width / 2,
118
+ translate: 'translate(-50%, 0%)'
119
+ }
120
+ break
121
+ }
122
+ }
123
+
124
+ destroy = (): void => {
125
+ this.target.removeEventListener('mouseenter', this.showTooltip)
126
+ this.target.removeEventListener('mouseleave', this.hideTooltip)
127
+ tooltipInstances.value = tooltipInstances.value.filter((instance) => instance.id !== this.id)
128
+ const tooltipToDestroy = document.getElementById(String(this.id))
129
+ tooltipToDestroy && tooltipToDestroy.remove()
130
+ }
131
+ }
132
+ const updateAllTooltips = debounce(() => {
133
+ tooltipInstances.value.forEach((instance) => instance.updateTooltipPosition())
134
+ })
135
+
136
+ const createTooltipContainer = () => {
137
+ const modalContainerElement = document.createElement('div')
138
+ modalContainerElement.id = 'tooltip-container'
139
+ document.body.appendChild(modalContainerElement)
140
+ }
141
+
142
+ const ensureTooltipContainerExists = () => {
143
+ if (!document.getElementById('tooltip-container')) {
144
+ createTooltipContainer()
145
+ }
146
+ }
147
+
148
+ onMounted(() => {
149
+ window.addEventListener('scroll', () => updateAllTooltips)
150
+ window.addEventListener('resize', () => updateAllTooltips)
151
+ })
152
+
153
+ onBeforeUnmount(() => {
154
+ window.removeEventListener('scroll', () => updateAllTooltips)
155
+ window.removeEventListener('resize', () => updateAllTooltips)
156
+ })
157
+
158
+ export function useTooltip() {
159
+ const tooltip = ref<ITooltipInstance | null>(null)
160
+ return {
161
+ mounted(el: HTMLElement, binding: { value: ITooltip }) {
162
+ ensureTooltipContainerExists()
163
+
164
+ const content = binding.value.content
165
+ if (!content) return
166
+ //@ts-ignore
167
+ tooltip.value = new TooltipInstance(el, binding.value)
168
+ },
169
+ updated() {},
170
+ beforeUnmount() {
171
+ tooltip.value?.destroy()
172
+ }
173
+ }
174
+ }
@@ -0,0 +1,6 @@
1
+ export const TABLE = {
2
+ defaultHeaderHeight: 40,
3
+ defaultRowHeight: 40,
4
+ defaultFooterRowHeight: 40,
5
+ defaultTableFirstColWidth: 251,
6
+ }
@@ -0,0 +1,5 @@
1
+ export enum CellSizes {
2
+ S = 's',
3
+ M = 'm',
4
+ L = 'l'
5
+ }
@@ -0,0 +1,10 @@
1
+ export enum ChipSize {
2
+ Xs = 'xs',
3
+ S = 's',
4
+ M = 'm'
5
+ }
6
+
7
+ export enum ChipModifiers {
8
+ Invert = 'invert',
9
+ Outline = 'outline'
10
+ }
@@ -0,0 +1,38 @@
1
+ export enum DatepickerTypes {
2
+ TimePicker = 'time-picker',
3
+ DatePicker = 'date-picker',
4
+ DateTimePicker = 'date-time-picker',
5
+ WeekPicker = 'week-picker',
6
+ MonthPicker = 'month-picker',
7
+ YearPicker = 'year-picker'
8
+ }
9
+ export enum DatepickerFormatsVariations {
10
+ Picker = 'picker',
11
+ Dayjs = 'dayjs',
12
+ Output = 'output'
13
+ }
14
+
15
+ export enum DatepickerFormat {
16
+ TimePicker = 'HH:mm',
17
+ DateTimePicker = 'dd.MM.yyyy HH:mm',
18
+ DatePicker = 'dd.MM.yyyy',
19
+ WeekPicker = 'ww.yyyy',
20
+ MonthPicker = 'MM.yyyy',
21
+ YearPicker = 'yyyy'
22
+ }
23
+ export enum DayjsFormat {
24
+ TimePicker = 'HH:mm',
25
+ DateTimePicker = 'DD.MM.YYYY HH:mm',
26
+ DatePicker = 'DD.MM.YYYY',
27
+ WeekPicker = 'WW.YYYY',
28
+ MonthPicker = 'MM.YYYY',
29
+ YearPicker = 'YYYY'
30
+ }
31
+ export enum DatepickerOutputFormat {
32
+ TimePicker = 'HH:mm',
33
+ DateTimePicker = 'YYYY-MM-DD HH:mm',
34
+ DatePicker = 'YYYY-MM-DD',
35
+ WeekPicker = 'YYYY-WW',
36
+ MonthPicker = 'YYYY-MM-DD',
37
+ YearPicker = 'YYYY'
38
+ }
@@ -0,0 +1,4 @@
1
+ export enum DrawerPositions {
2
+ Left = 'left',
3
+ Right = 'right'
4
+ }
@@ -0,0 +1,11 @@
1
+ export enum DropdownListPositions {
2
+ Top = 'top',
3
+ Bottom = 'bottom',
4
+ Auto = 'auto'
5
+ }
6
+
7
+ export enum DropdownPositions {
8
+ Left = 'left',
9
+ Right = 'right',
10
+ Auto = 'auto'
11
+ }
@@ -0,0 +1,13 @@
1
+ export enum FilterRelations {
2
+ Exists = 'exists',
3
+ Is = 'is',
4
+ IsNot = 'is_not'
5
+ }
6
+
7
+ export enum FilterTypes {
8
+ Relation = 'relation',
9
+ Date = 'date',
10
+ Text = 'text',
11
+ Range = 'range',
12
+ Fast = 'fast'
13
+ }
@@ -0,0 +1,21 @@
1
+ export enum ColumnSizes {
2
+ Xs = 'xs',
3
+ S = 's',
4
+ M = 'm',
5
+ L = 'l',
6
+ Xl = 'xl',
7
+ Xxl = 'xxl'
8
+ }
9
+ export enum ColumnJustifyAlignment {
10
+ Left = 'left',
11
+ Right = 'right',
12
+ Center = 'center',
13
+ Around = 'around',
14
+ Between = 'between'
15
+ }
16
+ export enum ColumnAlignment {
17
+ Top = 'top',
18
+ Middle = 'middle',
19
+ Bottom = 'bottom',
20
+ Stretch = 'stretch'
21
+ }
@@ -0,0 +1,19 @@
1
+ export enum InputTypes {
2
+ Text = 'text',
3
+ Password = 'password',
4
+ Email = 'email',
5
+ Date = 'date',
6
+ Textarea = 'textarea',
7
+ TextareaAutosize = 'textarea-autosize',
8
+ Num = 'num',
9
+ Int = 'int',
10
+ AmountFormat = 'amount_format',
11
+ Uppercase = 'uppercase',
12
+ Lowercase = 'lowercase',
13
+ PhoneNumber = 'phone_number'
14
+ }
15
+
16
+ export enum Autocomplete {
17
+ On = 'on',
18
+ Off = 'off'
19
+ }
@@ -0,0 +1,4 @@
1
+ export enum ModalVariation {
2
+ Default = 'default',
3
+ Info = 'info'
4
+ }
@@ -0,0 +1,5 @@
1
+ export enum PreviewSizes {
2
+ S = 's',
3
+ M = 'm',
4
+ L = 'l'
5
+ }
@@ -0,0 +1,4 @@
1
+ export enum RadioVariation {
2
+ Circle = 'circle',
3
+ Checkmark = 'checkmark'
4
+ }
@@ -0,0 +1,4 @@
1
+ export enum RadioGroupDirection {
2
+ Column = 'column',
3
+ Row = 'row'
4
+ }
@@ -0,0 +1,10 @@
1
+ export enum SelectGroupKeys {
2
+ Label = 'label',
3
+ Values = 'values'
4
+ }
5
+
6
+ export enum SelectListDirections {
7
+ Top = 'above',
8
+ Bottom = 'below',
9
+ Auto = 'auto'
10
+ }
@@ -0,0 +1,4 @@
1
+ export enum SidebarTheme {
2
+ Black = 'black',
3
+ White = 'white'
4
+ }
@@ -0,0 +1,5 @@
1
+ export enum TabVariations {
2
+ Body = 'body',
3
+ Captions = 'caption',
4
+ Overline = 'overline'
5
+ }
@@ -0,0 +1,20 @@
1
+ export enum TitleSizes {
2
+ Xs = 'xs',
3
+ S = 's',
4
+ M = 'm',
5
+ L = 'l',
6
+ Xl = 'xl',
7
+ Xxl = 'xxl'
8
+ }
9
+
10
+ export enum TitleVariations {
11
+ H1 = 'h1',
12
+ H2 = 'h2',
13
+ H3 = 'h3',
14
+ H4 = 'h4',
15
+ Subtitle = 'subtitle',
16
+ Body = 'body',
17
+ Overline = 'overline',
18
+ Article = 'article',
19
+ Info = 'info'
20
+ }
@@ -0,0 +1,14 @@
1
+ export enum TooltipPositions {
2
+ Top = 'top',
3
+ Left = 'left',
4
+ Right = 'right',
5
+ Bottom = 'bottom'
6
+ }
7
+
8
+ export enum TooltipSizes {
9
+ Xs = 'xs',
10
+ S = 's',
11
+ M = 'm',
12
+ L = 'l',
13
+ XL = 'xl'
14
+ }
@@ -0,0 +1,23 @@
1
+ export * from './Cell'
2
+ export * from './Chip'
3
+ export * from './Datepicker'
4
+ export * from './Drawer'
5
+ export * from './Dropdown'
6
+ export * from './Filter'
7
+ export * from './Grid'
8
+ export * from './Input'
9
+ export * from './Modal'
10
+ export * from './Preview'
11
+ export * from './Radio'
12
+ export * from './RadioGroup'
13
+ export * from './Select'
14
+ export * from './Sidebar'
15
+ export * from './Tab'
16
+ export * from './Title'
17
+ export * from './Tooltip'
18
+
19
+ // UI enums
20
+ export * from './ui/Alignment'
21
+ export * from './ui/Button'
22
+ export * from './ui/Directions'
23
+ export * from './ui/Weights'
@@ -0,0 +1,5 @@
1
+ export enum HorizontalAlignment {
2
+ Left = 'left',
3
+ Center = 'center',
4
+ Right = 'right'
5
+ }
@@ -0,0 +1,23 @@
1
+ export enum ButtonType {
2
+ Button = 'button',
3
+ Submit = 'submit',
4
+ Reset = 'reset'
5
+ }
6
+
7
+ export enum ButtonSize {
8
+ Xs = 'xs',
9
+ XsCompact = 'xs-compact',
10
+ S = 's',
11
+ SCompact = 's-compact',
12
+ M = 'm',
13
+ MCompact = 'm-compact',
14
+ L = 'l',
15
+ LCompact = 'l-compact'
16
+ }
17
+
18
+ export enum ButtonModifiers {
19
+ Invert = 'invert',
20
+ Outline = 'outline',
21
+ Link = 'link',
22
+ Flat = 'flat'
23
+ }
@@ -0,0 +1,4 @@
1
+ export enum Directions {
2
+ Rtl = 'rtl',
3
+ Ltr = 'ltr'
4
+ }
@@ -0,0 +1,6 @@
1
+ export enum Weights {
2
+ Normal = 'normal',
3
+ Medium = 'medium',
4
+ SemiBold = 'semi-bold',
5
+ Bold = 'bold'
6
+ }
package/src/index.js ADDED
@@ -0,0 +1,16 @@
1
+ export * from './types'
2
+ export * from './enums'
3
+ export * from './components'
4
+ export * from './composables'
5
+ export * from './assets/tokens/json'
6
+ export * from './assets/iconsSprite.svg'
7
+
8
+ export default {
9
+ install(app, options = {}) {
10
+ const defaultOptions = {
11
+ drawerComponents: {},
12
+ modalComponents: {}
13
+ }
14
+ app.config.globalProperties.$dsOptions = { ...defaultOptions, ...options }
15
+ }
16
+ }
package/src/main.ts ADDED
@@ -0,0 +1,9 @@
1
+ import { createApp } from 'vue'
2
+ import App from './App.vue'
3
+
4
+ import './assets/main.scss'
5
+ import './assets/fonts/inter/inter.css'
6
+
7
+ const app = createApp(App)
8
+
9
+ app.mount('#app')
@@ -0,0 +1,163 @@
1
+ const authUser = {
2
+ id: 4,
3
+ uid: "a87ff679a2f3e71d9181a67b7542122c",
4
+ first_name: "Татьяна",
5
+ last_name: "Владимирова",
6
+ name: "MediaCube Network",
7
+ email: "info@mediacube.network",
8
+ is_confirmed: true,
9
+ avatar: null,
10
+ profile: {
11
+ id: 6,
12
+ user_id: 4,
13
+ country_id: 7,
14
+ country: {
15
+ id: 7,
16
+ youtube_id: "BY",
17
+ code: "BY",
18
+ name: "Belarus",
19
+ created_at: "2017-09-27 14:51:59",
20
+ updated_at: "2019-05-22 18:58:21",
21
+ order: null,
22
+ },
23
+ birthday: "2018-01-01T00:00:00+03:00",
24
+ sex: true,
25
+ region: "Минская Область",
26
+ city: "Минск",
27
+ postcode: null,
28
+ address: "ул.",
29
+ },
30
+ contacts: [
31
+ {
32
+ id: 13,
33
+ user_id: 4,
34
+ network: "vkontakte",
35
+ link: "Тест",
36
+ },
37
+ {
38
+ id: 14,
39
+ user_id: 4,
40
+ network: "okru",
41
+ link: "Тест",
42
+ },
43
+ {
44
+ id: 27,
45
+ user_id: 4,
46
+ network: "email",
47
+ link: "qwerty",
48
+ },
49
+ {
50
+ id: 28,
51
+ user_id: 4,
52
+ network: "messenger",
53
+ link: "344",
54
+ },
55
+ {
56
+ id: 29,
57
+ user_id: 4,
58
+ network: "instagram",
59
+ link: "sdwfwef",
60
+ },
61
+ {
62
+ id: 30,
63
+ user_id: 4,
64
+ network: "telegram",
65
+ link: "Qwerty",
66
+ },
67
+ {
68
+ id: 10,
69
+ user_id: 4,
70
+ network: "telegram",
71
+ link: "Тест",
72
+ },
73
+ {
74
+ id: 69,
75
+ user_id: 4,
76
+ network: "email",
77
+ link: "margarete44@yahoo.com",
78
+ },
79
+ ],
80
+ payment_methods: [
81
+ {
82
+ id: 426,
83
+ user_id: 4,
84
+ provider: "paypal",
85
+ identity: {
86
+ email: "1@1.q",
87
+ },
88
+ created_at: "2019-01-14T19:17:19+03:00",
89
+ updated_at: "2019-01-14T19:17:19+03:00",
90
+ },
91
+ {
92
+ id: 427,
93
+ user_id: 4,
94
+ provider: "card_by",
95
+ identity: {
96
+ last_name: "Петрушкин",
97
+ first_name: "Петр",
98
+ middle_name: "Петрович",
99
+ address: "ул. Пушкина",
100
+ zip: "220021",
101
+ passport_number: "мр2789909",
102
+ passport_issue_date: "1972-07-15",
103
+ passport_personal_number: "2345245",
104
+ card_bank_name: "4542",
105
+ card_bank_address: "4542",
106
+ swift: "4545",
107
+ iban: "234",
108
+ bank_account: "5545",
109
+ },
110
+ created_at: "2019-01-15T20:28:45+03:00",
111
+ updated_at: "2019-01-15T20:28:45+03:00",
112
+ },
113
+ {
114
+ id: 429,
115
+ user_id: 4,
116
+ provider: "payoneer",
117
+ identity: {
118
+ id: "2266099",
119
+ },
120
+ created_at: "2019-01-16T14:09:09+03:00",
121
+ updated_at: "2019-01-16T14:09:09+03:00",
122
+ },
123
+ {
124
+ id: 431,
125
+ user_id: 4,
126
+ provider: "payoneer",
127
+ identity: {
128
+ id: "2266099",
129
+ },
130
+ created_at: "2019-01-16T14:13:24+03:00",
131
+ updated_at: "2019-01-16T14:13:24+03:00",
132
+ },
133
+ ],
134
+ roles: [
135
+ {
136
+ id: 1,
137
+ name: "admin",
138
+ title: "Администратор",
139
+ level: 1,
140
+ users_count: null,
141
+ },
142
+ ],
143
+ organization_count: 0,
144
+ groups_count: 1,
145
+ recruiters_count: 2,
146
+ last_action_at: "2019-05-22T21:22:04+03:00",
147
+ is_banned: false,
148
+ balance: {
149
+ user_id: 4,
150
+ balance: "7987.00",
151
+ real_balance: "0.00",
152
+ credit_balance: "7987.00",
153
+ },
154
+ agree_at: "2017-10-17T15:53:15+03:00",
155
+ auto_transaction_active: false,
156
+ auto_transaction_min_sum: null,
157
+ auto_transaction_payment_method_id: null,
158
+ express_payment_active: false,
159
+ created_at: "2017-10-17T15:53:15+03:00",
160
+ updated_at: "2019-05-22T21:22:04+03:00",
161
+ }
162
+
163
+ export { authUser }