mediacube-ui-v2 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +1 -1
- package/dist/components/patterns/McFilter/McFilter.vue.d.ts +3 -3
- package/dist/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +1 -1
- package/dist/components/templates/McDrawer/McDrawer.vue.d.ts +2 -2
- package/dist/components/templates/McDrawer/McDrawerContainer.vue.d.ts +1 -1
- package/dist/components/templates/McModal/McModal.vue.d.ts +4 -4
- package/dist/components/templates/McModal/McModalContainer.vue.d.ts +1 -1
- package/dist/composables/useHelper.d.ts +2 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +1651 -1647
- package/dist/style.css +1 -1
- package/package.json +3 -11
- package/src/App.vue +0 -8
- package/src/assets/base.css +0 -0
- package/src/assets/fonts/inter/Inter-Bold.woff +0 -0
- package/src/assets/fonts/inter/Inter-Bold.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-Italic.woff +0 -0
- package/src/assets/fonts/inter/Inter-Italic.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-Medium.woff +0 -0
- package/src/assets/fonts/inter/Inter-Medium.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-Regular.woff +0 -0
- package/src/assets/fonts/inter/Inter-Regular.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-SemiBold.woff +0 -0
- package/src/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/src/assets/fonts/inter/inter.css +0 -44
- package/src/assets/icons/a_circle.svg +0 -3
- package/src/assets/icons/access_time.svg +0 -5
- package/src/assets/icons/account_circle.svg +0 -1
- package/src/assets/icons/account_edit.svg +0 -3
- package/src/assets/icons/add.svg +0 -3
- package/src/assets/icons/add_circle.svg +0 -3
- package/src/assets/icons/address.svg +0 -6
- package/src/assets/icons/ads_banner.svg +0 -3
- package/src/assets/icons/album.svg +0 -1
- package/src/assets/icons/alert_solid.svg +0 -3
- package/src/assets/icons/alternate_email.svg +0 -1
- package/src/assets/icons/amocrm.svg +0 -4
- package/src/assets/icons/amper_music.svg +0 -4
- package/src/assets/icons/analytics.svg +0 -3
- package/src/assets/icons/animation_motion.svg +0 -4
- package/src/assets/icons/api.svg +0 -1
- package/src/assets/icons/apple_icon.svg +0 -3
- package/src/assets/icons/applications.svg +0 -3
- package/src/assets/icons/applications_new.svg +0 -3
- package/src/assets/icons/apps.svg +0 -3
- package/src/assets/icons/archive.svg +0 -1
- package/src/assets/icons/archive_in.svg +0 -3
- package/src/assets/icons/archive_out.svg +0 -3
- package/src/assets/icons/arrow-stats-down.svg +0 -3
- package/src/assets/icons/arrow-stats-up.svg +0 -3
- package/src/assets/icons/arrow_backward.svg +0 -3
- package/src/assets/icons/arrow_downward.svg +0 -3
- package/src/assets/icons/arrow_drop_down.svg +0 -3
- package/src/assets/icons/arrow_drop_up.svg +0 -3
- package/src/assets/icons/arrow_forward.svg +0 -3
- package/src/assets/icons/arrow_leftward.svg +0 -3
- package/src/assets/icons/arrow_rightward.svg +0 -3
- package/src/assets/icons/arrow_to_grow_circle.svg +0 -3
- package/src/assets/icons/arrow_up_down.svg +0 -3
- package/src/assets/icons/arrow_upward.svg +0 -3
- package/src/assets/icons/arrows.svg +0 -6
- package/src/assets/icons/artist.svg +0 -8
- package/src/assets/icons/assessment.svg +0 -1
- package/src/assets/icons/assets_unassigned.svg +0 -3
- package/src/assets/icons/assignment.svg +0 -9
- package/src/assets/icons/assignment_ind.svg +0 -1
- package/src/assets/icons/assist_icon.svg +0 -13
- package/src/assets/icons/attach_money.svg +0 -1
- package/src/assets/icons/audiotrack.svg +0 -1
- package/src/assets/icons/backspace.svg +0 -1
- package/src/assets/icons/bank.svg +0 -12
- package/src/assets/icons/bank_building.svg +0 -3
- package/src/assets/icons/bank_building_blue.svg +0 -4
- package/src/assets/icons/bank_card.svg +0 -3
- package/src/assets/icons/bank_card_arrow.svg +0 -3
- package/src/assets/icons/bank_card_clock.svg +0 -3
- package/src/assets/icons/bank_card_double.svg +0 -3
- package/src/assets/icons/bank_card_virtual_blue.svg +0 -7
- package/src/assets/icons/bank_money_colored.svg +0 -4
- package/src/assets/icons/bankwire.svg +0 -70
- package/src/assets/icons/bell.svg +0 -3
- package/src/assets/icons/binance_coin_colored.svg +0 -4
- package/src/assets/icons/biometrics.svg +0 -8
- package/src/assets/icons/bitcoin.svg +0 -6
- package/src/assets/icons/bitcoin_cash_colored.svg +0 -4
- package/src/assets/icons/bitcoin_colored.svg +0 -4
- package/src/assets/icons/bloggerhood.svg +0 -19
- package/src/assets/icons/board.svg +0 -7
- package/src/assets/icons/book.svg +0 -3
- package/src/assets/icons/broken_link.svg +0 -8
- package/src/assets/icons/bug.svg +0 -10
- package/src/assets/icons/bug_big.svg +0 -3
- package/src/assets/icons/bug_report.svg +0 -3
- package/src/assets/icons/building.svg +0 -17
- package/src/assets/icons/building_colored.svg +0 -18
- package/src/assets/icons/business_center.svg +0 -1
- package/src/assets/icons/calendar.svg +0 -3
- package/src/assets/icons/calendar_colored.svg +0 -7
- package/src/assets/icons/calendar_load.svg +0 -3
- package/src/assets/icons/calendar_sixteen.svg +0 -5
- package/src/assets/icons/calendar_two_weeks.svg +0 -3
- package/src/assets/icons/calendar_user.svg +0 -11
- package/src/assets/icons/camera_alt.svg +0 -1
- package/src/assets/icons/camera_plus.svg +0 -1
- package/src/assets/icons/camera_video.svg +0 -3
- package/src/assets/icons/cancel.svg +0 -4
- package/src/assets/icons/cancel_alt.svg +0 -1
- package/src/assets/icons/capitalist.svg +0 -23
- package/src/assets/icons/capitalist_colored.svg +0 -4
- package/src/assets/icons/card.svg +0 -1
- package/src/assets/icons/card_off.svg +0 -7
- package/src/assets/icons/card_off_circle.svg +0 -4
- package/src/assets/icons/card_to_card_blue.svg +0 -11
- package/src/assets/icons/card_to_card_colored.svg +0 -11
- package/src/assets/icons/cash-ad.svg +0 -7
- package/src/assets/icons/cash.svg +0 -7
- package/src/assets/icons/category.svg +0 -6
- package/src/assets/icons/cellphone.svg +0 -1
- package/src/assets/icons/change_sheet.svg +0 -3
- package/src/assets/icons/channels_icon.svg +0 -12
- package/src/assets/icons/chart_bar.svg +0 -3
- package/src/assets/icons/chart_line.svg +0 -3
- package/src/assets/icons/chat.svg +0 -3
- package/src/assets/icons/chat_add.svg +0 -6
- package/src/assets/icons/chat_forum.svg +0 -3
- package/src/assets/icons/chat_messages.svg +0 -3
- package/src/assets/icons/check-rhombus.svg +0 -3
- package/src/assets/icons/check.svg +0 -4
- package/src/assets/icons/check_all.svg +0 -6
- package/src/assets/icons/check_circle.svg +0 -4
- package/src/assets/icons/check_circle_second.svg +0 -4
- package/src/assets/icons/check_circle_solid.svg +0 -3
- package/src/assets/icons/check_polygonal.svg +0 -3
- package/src/assets/icons/checkbox--checked.svg +0 -3
- package/src/assets/icons/checkbox.svg +0 -3
- package/src/assets/icons/checkboxes.svg +0 -8
- package/src/assets/icons/circle.svg +0 -3
- package/src/assets/icons/circle_arrows.svg +0 -3
- package/src/assets/icons/click.svg +0 -3
- package/src/assets/icons/clickup.svg +0 -14
- package/src/assets/icons/clip.svg +0 -3
- package/src/assets/icons/clock_check.svg +0 -6
- package/src/assets/icons/clock_solid.svg +0 -5
- package/src/assets/icons/close.svg +0 -3
- package/src/assets/icons/close_circle_outline.svg +0 -5
- package/src/assets/icons/close_circle_solid.svg +0 -3
- package/src/assets/icons/cloud_upload.svg +0 -1
- package/src/assets/icons/coin_speed.svg +0 -7
- package/src/assets/icons/comment.svg +0 -4
- package/src/assets/icons/company.svg +0 -1
- package/src/assets/icons/confetti.svg +0 -18
- package/src/assets/icons/connection.svg +0 -3
- package/src/assets/icons/contacts.svg +0 -1
- package/src/assets/icons/contracts.svg +0 -3
- package/src/assets/icons/convert.svg +0 -6
- package/src/assets/icons/copy.svg +0 -3
- package/src/assets/icons/copyright.svg +0 -3
- package/src/assets/icons/credit-card.svg +0 -5
- package/src/assets/icons/credit_card_blink.svg +0 -4
- package/src/assets/icons/crypto.svg +0 -8
- package/src/assets/icons/crypto_blue.svg +0 -9
- package/src/assets/icons/crypto_colored.svg +0 -9
- package/src/assets/icons/cryptowallet.svg +0 -5
- package/src/assets/icons/cryptowallet_blue.svg +0 -6
- package/src/assets/icons/cryptowallet_colored.svg +0 -6
- package/src/assets/icons/cup.svg +0 -7
- package/src/assets/icons/dashboard.svg +0 -1
- package/src/assets/icons/date_range.svg +0 -1
- package/src/assets/icons/deeplinks.svg +0 -3
- package/src/assets/icons/delete-account.svg +0 -5
- package/src/assets/icons/delete.svg +0 -3
- package/src/assets/icons/delete_alt.svg +0 -1
- package/src/assets/icons/deprecated.svg +0 -1
- package/src/assets/icons/desktop_device.svg +0 -3
- package/src/assets/icons/dialog.svg +0 -3
- package/src/assets/icons/discord.svg +0 -9
- package/src/assets/icons/discord_colored.svg +0 -4
- package/src/assets/icons/dislike.svg +0 -3
- package/src/assets/icons/doc-export.svg +0 -10
- package/src/assets/icons/document.svg +0 -1
- package/src/assets/icons/dollar.svg +0 -3
- package/src/assets/icons/donate_blue.svg +0 -7
- package/src/assets/icons/donate_colored.svg +0 -7
- package/src/assets/icons/dot-status.svg +0 -3
- package/src/assets/icons/download.svg +0 -3
- package/src/assets/icons/drag.svg +0 -1
- package/src/assets/icons/eWallet.svg +0 -25
- package/src/assets/icons/e_wallet_blue.svg +0 -9
- package/src/assets/icons/e_wallet_colored.svg +0 -9
- package/src/assets/icons/edit.svg +0 -3
- package/src/assets/icons/edit_solid.svg +0 -4
- package/src/assets/icons/email.svg +0 -12
- package/src/assets/icons/email_circle.svg +0 -5
- package/src/assets/icons/email_colored.svg +0 -5
- package/src/assets/icons/enrollment.svg +0 -1
- package/src/assets/icons/epayments_colored.svg +0 -4
- package/src/assets/icons/epidemic-sound.svg +0 -66
- package/src/assets/icons/epidemic_sound_circle.svg +0 -4
- package/src/assets/icons/error.svg +0 -3
- package/src/assets/icons/ethereum_colored.svg +0 -8
- package/src/assets/icons/event.svg +0 -1
- package/src/assets/icons/event_alt.svg +0 -1
- package/src/assets/icons/exit_to_app.svg +0 -1
- package/src/assets/icons/explicit.svg +0 -1
- package/src/assets/icons/export.svg +0 -5
- package/src/assets/icons/export_all.svg +0 -6
- package/src/assets/icons/express_payment.svg +0 -3
- package/src/assets/icons/face.svg +0 -1
- package/src/assets/icons/face_alt.svg +0 -1
- package/src/assets/icons/facebook.svg +0 -3
- package/src/assets/icons/facebook_colored.svg +0 -4
- package/src/assets/icons/fast.svg +0 -10
- package/src/assets/icons/favorite.svg +0 -1
- package/src/assets/icons/file.svg +0 -1
- package/src/assets/icons/file_add.svg +0 -3
- package/src/assets/icons/file_copy.svg +0 -4
- package/src/assets/icons/file_download.svg +0 -1
- package/src/assets/icons/file_export.svg +0 -3
- package/src/assets/icons/file_eye.svg +0 -3
- package/src/assets/icons/file_import.svg +0 -7
- package/src/assets/icons/file_new.svg +0 -3
- package/src/assets/icons/filter_list.svg +0 -3
- package/src/assets/icons/find_in_page.svg +0 -1
- package/src/assets/icons/fire.svg +0 -3
- package/src/assets/icons/fire_colored.svg +0 -8
- package/src/assets/icons/fire_solid.svg +0 -3
- package/src/assets/icons/flag_ar.svg +0 -19
- package/src/assets/icons/flag_en.svg +0 -6
- package/src/assets/icons/flag_es.svg +0 -564
- package/src/assets/icons/flag_pt.svg +0 -43
- package/src/assets/icons/flag_ru.svg +0 -5
- package/src/assets/icons/flag_th.svg +0 -6
- package/src/assets/icons/flag_vi.svg +0 -5
- package/src/assets/icons/fly_dollar.svg +0 -13
- package/src/assets/icons/fly_euro.svg +0 -5
- package/src/assets/icons/freeze.svg +0 -3
- package/src/assets/icons/fullscreen.svg +0 -1
- package/src/assets/icons/get_app.svg +0 -4
- package/src/assets/icons/gift_solid.svg +0 -8
- package/src/assets/icons/glasses.svg +0 -3
- package/src/assets/icons/google_colored.svg +0 -6
- package/src/assets/icons/googleplus_colored.svg +0 -5
- package/src/assets/icons/graph-no-data.svg +0 -3
- package/src/assets/icons/group.svg +0 -3
- package/src/assets/icons/group_connection.svg +0 -9
- package/src/assets/icons/growth_arrow_circle.svg +0 -3
- package/src/assets/icons/hand_money.svg +0 -13
- package/src/assets/icons/help.svg +0 -1
- package/src/assets/icons/help_invert.svg +0 -1
- package/src/assets/icons/help_solid.svg +0 -4
- package/src/assets/icons/help_ukraine_colored.svg +0 -14
- package/src/assets/icons/home.svg +0 -3
- package/src/assets/icons/iban.svg +0 -9
- package/src/assets/icons/iban_blue.svg +0 -10
- package/src/assets/icons/id_square.svg +0 -3
- package/src/assets/icons/id_thin.svg +0 -5
- package/src/assets/icons/image.svg +0 -1
- package/src/assets/icons/infinity.svg +0 -3
- package/src/assets/icons/info.svg +0 -3
- package/src/assets/icons/info_rounded_square.svg +0 -5
- package/src/assets/icons/info_solid.svg +0 -4
- package/src/assets/icons/instagram.svg +0 -23
- package/src/assets/icons/instagram_colored.svg +0 -18
- package/src/assets/icons/keyboard.svg +0 -1
- package/src/assets/icons/keyboard_arrow_left.svg +0 -4
- package/src/assets/icons/keyboard_arrow_right.svg +0 -4
- package/src/assets/icons/keyboard_arrow_right_thin.svg +0 -3
- package/src/assets/icons/kraken.svg +0 -10
- package/src/assets/icons/language.svg +0 -3
- package/src/assets/icons/layers.svg +0 -3
- package/src/assets/icons/lightning.svg +0 -3
- package/src/assets/icons/lightning_circle.svg +0 -4
- package/src/assets/icons/lightning_circle_solid.svg +0 -4
- package/src/assets/icons/lightning_outlined.svg +0 -3
- package/src/assets/icons/like.svg +0 -3
- package/src/assets/icons/link.svg +0 -3
- package/src/assets/icons/link_broken.svg +0 -7
- package/src/assets/icons/link_colored.svg +0 -4
- package/src/assets/icons/link_external.svg +0 -3
- package/src/assets/icons/link_external_new.svg +0 -3
- package/src/assets/icons/linkedin.svg +0 -9
- package/src/assets/icons/linkedin_colored.svg +0 -6
- package/src/assets/icons/list.svg +0 -1
- package/src/assets/icons/litecoin_colored.svg +0 -4
- package/src/assets/icons/live_help.svg +0 -1
- package/src/assets/icons/loader.svg +0 -3
- package/src/assets/icons/location_city.svg +0 -1
- package/src/assets/icons/location_on.svg +0 -3
- package/src/assets/icons/lock.svg +0 -3
- package/src/assets/icons/lock_old.svg +0 -1
- package/src/assets/icons/logout.svg +0 -3
- package/src/assets/icons/magic_blink.svg +0 -3
- package/src/assets/icons/mail_outline.svg +0 -1
- package/src/assets/icons/mc_assist.svg +0 -4
- package/src/assets/icons/mc_dashboard.svg +0 -5
- package/src/assets/icons/mc_id.svg +0 -3
- package/src/assets/icons/mc_pay.svg +0 -10
- package/src/assets/icons/mc_pay_app.svg +0 -6
- package/src/assets/icons/mc_pay_compact.svg +0 -4
- package/src/assets/icons/mc_pay_menu.svg +0 -4
- package/src/assets/icons/mc_pay_menu_circle_colored.svg +0 -4
- package/src/assets/icons/mc_pay_mobile_app.svg +0 -21
- package/src/assets/icons/mc_studio.svg +0 -3
- package/src/assets/icons/mc_vidwide.svg +0 -11
- package/src/assets/icons/mcadslogo.svg +0 -37
- package/src/assets/icons/mediacube.svg +0 -1
- package/src/assets/icons/menu.svg +0 -3
- package/src/assets/icons/menu_new.svg +0 -3
- package/src/assets/icons/message.svg +0 -3
- package/src/assets/icons/messenger.svg +0 -6
- package/src/assets/icons/messenger_colored.svg +0 -10
- package/src/assets/icons/minus.svg +0 -5
- package/src/assets/icons/mobile_device.svg +0 -3
- package/src/assets/icons/money_clock.svg +0 -8
- package/src/assets/icons/money_input.svg +0 -8
- package/src/assets/icons/more_horiz.svg +0 -1
- package/src/assets/icons/music.svg +0 -1
- package/src/assets/icons/music_icon.svg +0 -8
- package/src/assets/icons/new.svg +0 -1
- package/src/assets/icons/notes.svg +0 -3
- package/src/assets/icons/objects.svg +0 -3
- package/src/assets/icons/obs.svg +0 -3
- package/src/assets/icons/okru.svg +0 -12
- package/src/assets/icons/okru_colored.svg +0 -4
- package/src/assets/icons/ondemand_video.svg +0 -1
- package/src/assets/icons/partners.svg +0 -3
- package/src/assets/icons/pause.svg +0 -1
- package/src/assets/icons/payment.svg +0 -1
- package/src/assets/icons/payoneer.svg +0 -13
- package/src/assets/icons/payoneer_colored.svg +0 -19
- package/src/assets/icons/payoneer_cy.svg +0 -13
- package/src/assets/icons/paypal.svg +0 -1
- package/src/assets/icons/paypal_colored.svg +0 -6
- package/src/assets/icons/percent.svg +0 -3
- package/src/assets/icons/personal_email_colored.svg +0 -11
- package/src/assets/icons/phone_colored.svg +0 -4
- package/src/assets/icons/photo_add.svg +0 -3
- package/src/assets/icons/picture.svg +0 -3
- package/src/assets/icons/picture_thin.svg +0 -3
- package/src/assets/icons/plane.svg +0 -3
- package/src/assets/icons/play-videos.svg +0 -4
- package/src/assets/icons/play.svg +0 -1
- package/src/assets/icons/print.svg +0 -1
- package/src/assets/icons/prototype.svg +0 -1
- package/src/assets/icons/public.svg +0 -1
- package/src/assets/icons/qiwi.svg +0 -11
- package/src/assets/icons/qiwi_colored.svg +0 -4
- package/src/assets/icons/radio--checked.svg +0 -4
- package/src/assets/icons/ready.svg +0 -1
- package/src/assets/icons/receipt.svg +0 -1
- package/src/assets/icons/receipt_thin.svg +0 -6
- package/src/assets/icons/recording_circle.svg +0 -3
- package/src/assets/icons/recruiters.svg +0 -3
- package/src/assets/icons/redo.svg +0 -3
- package/src/assets/icons/referral.svg +0 -10
- package/src/assets/icons/referral_solid.svg +0 -10
- package/src/assets/icons/reload.svg +0 -3
- package/src/assets/icons/reload_right.svg +0 -3
- package/src/assets/icons/remove_red_eye.svg +0 -1
- package/src/assets/icons/repair.svg +0 -6
- package/src/assets/icons/reply_arrow.svg +0 -3
- package/src/assets/icons/requisites.svg +0 -7
- package/src/assets/icons/reset.svg +0 -7
- package/src/assets/icons/resize_video.svg +0 -3
- package/src/assets/icons/revenue.svg +0 -3
- package/src/assets/icons/review.svg +0 -1
- package/src/assets/icons/ripple_colored.svg +0 -4
- package/src/assets/icons/rocket.svg +0 -7
- package/src/assets/icons/rocket_colored.svg +0 -6
- package/src/assets/icons/rocket_small.svg +0 -6
- package/src/assets/icons/role.svg +0 -3
- package/src/assets/icons/safety.svg +0 -5
- package/src/assets/icons/sand_clock.svg +0 -4
- package/src/assets/icons/save.svg +0 -1
- package/src/assets/icons/search.svg +0 -3
- package/src/assets/icons/send.svg +0 -1
- package/src/assets/icons/send_solid.svg +0 -3
- package/src/assets/icons/settings.svg +0 -4
- package/src/assets/icons/settings_solid.svg +0 -3
- package/src/assets/icons/settings_tools.svg +0 -3
- package/src/assets/icons/shield.svg +0 -4
- package/src/assets/icons/shield_blue.svg +0 -5
- package/src/assets/icons/shield_colored.svg +0 -5
- package/src/assets/icons/shield_usd.svg +0 -3
- package/src/assets/icons/shop.svg +0 -1
- package/src/assets/icons/shopping_cart.svg +0 -1
- package/src/assets/icons/shuffle.svg +0 -7
- package/src/assets/icons/sign_out.svg +0 -8
- package/src/assets/icons/skype.svg +0 -56
- package/src/assets/icons/skype_colored.svg +0 -4
- package/src/assets/icons/slack.svg +0 -6
- package/src/assets/icons/smile_star_eye.svg +0 -6
- package/src/assets/icons/sort_asc.svg +0 -4
- package/src/assets/icons/sort_az.svg +0 -4
- package/src/assets/icons/sort_desc.svg +0 -4
- package/src/assets/icons/sort_directions.svg +0 -3
- package/src/assets/icons/sort_list.svg +0 -1
- package/src/assets/icons/sort_za.svg +0 -4
- package/src/assets/icons/spy_colored.svg +0 -15
- package/src/assets/icons/staff.svg +0 -10
- package/src/assets/icons/star.svg +0 -1
- package/src/assets/icons/star_round.svg +0 -3
- package/src/assets/icons/star_round_solid.svg +0 -3
- package/src/assets/icons/stars.svg +0 -4
- package/src/assets/icons/stars_fill.svg +0 -4
- package/src/assets/icons/stats_icon.svg +0 -8
- package/src/assets/icons/steam.svg +0 -12
- package/src/assets/icons/steam_colored.svg +0 -15
- package/src/assets/icons/studio_icon.svg +0 -7
- package/src/assets/icons/subscriptions.svg +0 -1
- package/src/assets/icons/suitcase.svg +0 -4
- package/src/assets/icons/supervised_user_circle.svg +0 -1
- package/src/assets/icons/support.svg +0 -7
- package/src/assets/icons/swap_cubes.svg +0 -5
- package/src/assets/icons/swap_cubes_colored.svg +0 -6
- package/src/assets/icons/swap_horizontal_circle.svg +0 -3
- package/src/assets/icons/switches.svg +0 -3
- package/src/assets/icons/table.svg +0 -1
- package/src/assets/icons/telegram.svg +0 -40
- package/src/assets/icons/telegram_colored.svg +0 -12
- package/src/assets/icons/tether.svg +0 -8
- package/src/assets/icons/tether_colored.svg +0 -4
- package/src/assets/icons/three_dots.svg +0 -3
- package/src/assets/icons/thumb_down.svg +0 -4
- package/src/assets/icons/thumb_up.svg +0 -4
- package/src/assets/icons/tiktok.svg +0 -8
- package/src/assets/icons/time.svg +0 -3
- package/src/assets/icons/time_thin.svg +0 -3
- package/src/assets/icons/timelapse.svg +0 -4
- package/src/assets/icons/timeline.svg +0 -1
- package/src/assets/icons/tipalti.svg +0 -48
- package/src/assets/icons/transaction.svg +0 -1
- package/src/assets/icons/twitter_colored.svg +0 -4
- package/src/assets/icons/unarchive.svg +0 -1
- package/src/assets/icons/unfold_more.svg +0 -1
- package/src/assets/icons/unlock.svg +0 -3
- package/src/assets/icons/upload_img.svg +0 -1
- package/src/assets/icons/usd_coin_colored.svg +0 -5
- package/src/assets/icons/user.svg +0 -3
- package/src/assets/icons/user_edit.svg +0 -3
- package/src/assets/icons/user_kyc.svg +0 -8
- package/src/assets/icons/viber.svg +0 -17
- package/src/assets/icons/viber_colored.svg +0 -8
- package/src/assets/icons/videoblocks.svg +0 -8
- package/src/assets/icons/vidiq-logo-mono.svg +0 -10
- package/src/assets/icons/vidiq_circle.svg +0 -5
- package/src/assets/icons/visibility.svg +0 -4
- package/src/assets/icons/visibility_off.svg +0 -7
- package/src/assets/icons/vkontakte.svg +0 -1
- package/src/assets/icons/vkontakte_colored.svg +0 -4
- package/src/assets/icons/wallet.svg +0 -5
- package/src/assets/icons/warning.svg +0 -3
- package/src/assets/icons/webmoney.svg +0 -10
- package/src/assets/icons/webmoney_colored.svg +0 -4
- package/src/assets/icons/website_colored.svg +0 -4
- package/src/assets/icons/whatsapp.svg +0 -12
- package/src/assets/icons/whatsapp_colored.svg +0 -4
- package/src/assets/icons/wise_colored.svg +0 -4
- package/src/assets/icons/worldfirst.svg +0 -12
- package/src/assets/icons/x_network.svg +0 -4
- package/src/assets/icons/yandexmoney.svg +0 -1
- package/src/assets/icons/yoomoney_colored.svg +0 -4
- package/src/assets/icons/youtube.svg +0 -3
- package/src/assets/icons/youtube_circled.svg +0 -4
- package/src/assets/icons/youtube_circled_second.svg +0 -4
- package/src/assets/icons/youtube_colored.svg +0 -4
- package/src/assets/icons/youtube_outlined.svg +0 -4
- package/src/assets/icons/zcash_colored.svg +0 -4
- package/src/assets/iconsSprite.svg +0 -1
- package/src/assets/img/no_table_data.png +0 -0
- package/src/assets/img/no_user.png +0 -0
- package/src/assets/main.scss +0 -233
- package/src/assets/styles/_functions.scss +0 -187
- package/src/assets/styles/_mixins.scss +0 -664
- package/src/assets/styles/_spacing.scss +0 -33
- package/src/assets/styles/_tooltip.scss +0 -123
- package/src/assets/styles/_variables.scss +0 -23
- package/src/assets/styles/main.scss +0 -4
- package/src/assets/styles/table.scss +0 -10
- package/src/assets/styles/toast.scss +0 -57
- package/src/assets/tokens/animations.scss +0 -57
- package/src/assets/tokens/border-radius.scss +0 -23
- package/src/assets/tokens/box-shadows.scss +0 -22
- package/src/assets/tokens/colors.scss +0 -81
- package/src/assets/tokens/durations.scss +0 -13
- package/src/assets/tokens/easings.scss +0 -6
- package/src/assets/tokens/font-families.scss +0 -8
- package/src/assets/tokens/font-sizes.scss +0 -23
- package/src/assets/tokens/font-weights.scss +0 -16
- package/src/assets/tokens/gradients.scss +0 -18
- package/src/assets/tokens/json/animations.json +0 -6
- package/src/assets/tokens/json/border-radius.json +0 -24
- package/src/assets/tokens/json/box-shadows.json +0 -24
- package/src/assets/tokens/json/colors.json +0 -71
- package/src/assets/tokens/json/durations.json +0 -10
- package/src/assets/tokens/json/easings.json +0 -3
- package/src/assets/tokens/json/font-families.json +0 -4
- package/src/assets/tokens/json/font-sizes.json +0 -18
- package/src/assets/tokens/json/font-weights.json +0 -12
- package/src/assets/tokens/json/gradients.json +0 -13
- package/src/assets/tokens/json/index.ts +0 -37
- package/src/assets/tokens/json/letter-spacings.json +0 -4
- package/src/assets/tokens/json/line-heights.json +0 -18
- package/src/assets/tokens/json/media-queries.json +0 -26
- package/src/assets/tokens/json/opacities.json +0 -5
- package/src/assets/tokens/json/sizes.json +0 -42
- package/src/assets/tokens/json/spacings.json +0 -34
- package/src/assets/tokens/json/z-indexes.json +0 -12
- package/src/assets/tokens/letter-spacings.scss +0 -6
- package/src/assets/tokens/line-heights.scss +0 -22
- package/src/assets/tokens/media-queries.scss +0 -32
- package/src/assets/tokens/opacities.scss +0 -8
- package/src/assets/tokens/sizes.scss +0 -47
- package/src/assets/tokens/spacings.scss +0 -38
- package/src/assets/tokens/z-indexes.scss +0 -14
- package/src/components/elements/McAvatar/McAvatar.stories.ts +0 -71
- package/src/components/elements/McAvatar/McAvatar.vue +0 -252
- package/src/components/elements/McBadge/McBadge.stories.ts +0 -40
- package/src/components/elements/McBadge/McBadge.vue +0 -150
- package/src/components/elements/McBottomLoader/McBottomLoader.stories.ts +0 -47
- package/src/components/elements/McBottomLoader/McBottomLoader.vue +0 -79
- package/src/components/elements/McButton/McButton.stories.ts +0 -145
- package/src/components/elements/McButton/McButton.vue +0 -844
- package/src/components/elements/McChip/McChip.stories.ts +0 -102
- package/src/components/elements/McChip/McChip.vue +0 -309
- package/src/components/elements/McCropper/McCropper.stories.ts +0 -31
- package/src/components/elements/McCropper/McCropper.vue +0 -129
- package/src/components/elements/McDatepicker/McDatepicker.stories.ts +0 -440
- package/src/components/elements/McDatepicker/McDatepicker.vue +0 -832
- package/src/components/elements/McDraggable/McDraggable.stories.ts +0 -52
- package/src/components/elements/McDraggable/McDraggable.vue +0 -211
- package/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue +0 -329
- package/src/components/elements/McFieldCheckbox/McFieldCheckox.stories.ts +0 -97
- package/src/components/elements/McFieldRadio/McFieldRadio.stories.ts +0 -91
- package/src/components/elements/McFieldRadio/McFieldRadio.vue +0 -258
- package/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.stories.ts +0 -70
- package/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue +0 -215
- package/src/components/elements/McFieldRange/McFieldRange.stories.ts +0 -93
- package/src/components/elements/McFieldRange/McFieldRange.vue +0 -279
- package/src/components/elements/McFieldSelect/McFieldSelect.stories.ts +0 -257
- package/src/components/elements/McFieldSelect/McFieldSelect.vue +0 -920
- package/src/components/elements/McFieldText/McFieldText.stories.ts +0 -258
- package/src/components/elements/McFieldText/McFieldText.vue +0 -898
- package/src/components/elements/McFieldToggle/McFieldToggle.stories.ts +0 -63
- package/src/components/elements/McFieldToggle/McFieldToggle.vue +0 -280
- package/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.stories.ts +0 -49
- package/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue +0 -95
- package/src/components/elements/McNodata/McNoData.stories.ts +0 -34
- package/src/components/elements/McNodata/McNoData.vue +0 -191
- package/src/components/elements/McNotification/McNotification.stories.ts +0 -43
- package/src/components/elements/McNotification/McNotification.vue +0 -219
- package/src/components/elements/McProgress/McProgress.stories.ts +0 -39
- package/src/components/elements/McProgress/McProgress.vue +0 -194
- package/src/components/elements/McSeparator/McSeparator.stories.ts +0 -35
- package/src/components/elements/McSeparator/McSeparator.vue +0 -131
- package/src/components/elements/McSlideUpDown/McSlideUpDown.stories.ts +0 -54
- package/src/components/elements/McSlideUpDown/McSlideUpDown.vue +0 -142
- package/src/components/elements/McStack/McStack.stories.ts +0 -108
- package/src/components/elements/McStack/McStack.vue +0 -147
- package/src/components/elements/McSvgIcon/McSvgIcon.stories.ts +0 -135
- package/src/components/elements/McSvgIcon/McSvgIcon.vue +0 -114
- package/src/components/elements/McTitle/McTitle.stories.ts +0 -73
- package/src/components/elements/McTitle/McTitle.vue +0 -368
- package/src/components/elements/McTooltip/McTooltip.stories.ts +0 -39
- package/src/components/elements/McTooltip/McTooltip.vue +0 -85
- package/src/components/index.ts +0 -136
- package/src/components/patterns/McAccordion/McAccordion.stories.ts +0 -99
- package/src/components/patterns/McAccordion/McAccordion.vue +0 -65
- package/src/components/patterns/McCell/McCell.stories.ts +0 -36
- package/src/components/patterns/McCell/McCell.vue +0 -96
- package/src/components/patterns/McCollapse/McCollapse.stories.ts +0 -100
- package/src/components/patterns/McCollapse/McCollapse.vue +0 -303
- package/src/components/patterns/McDropdown/McDropdown.stories.ts +0 -65
- package/src/components/patterns/McDropdown/McDropdown.vue +0 -297
- package/src/components/patterns/McDropdown/McDropdownPanel.vue +0 -65
- package/src/components/patterns/McFilter/McFilter.stories.ts +0 -76
- package/src/components/patterns/McFilter/McFilter.vue +0 -887
- package/src/components/patterns/McFilter/McFilterChip/McFilterChip.stories.ts +0 -37
- package/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue +0 -98
- package/src/components/patterns/McFilter/McFilterTags/McFilterTags.stories.ts +0 -41
- package/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue +0 -377
- package/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.stories.ts +0 -29
- package/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue +0 -69
- package/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.stories.ts +0 -26
- package/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue +0 -139
- package/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.stories.ts +0 -26
- package/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue +0 -247
- package/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.stories.ts +0 -26
- package/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue +0 -61
- package/src/components/patterns/McGridCol/McGridCol.stories.ts +0 -34
- package/src/components/patterns/McGridCol/McGridCol.vue +0 -159
- package/src/components/patterns/McGridRow/McGridRow.stories.ts +0 -74
- package/src/components/patterns/McGridRow/McGridRow.vue +0 -143
- package/src/components/patterns/McOverlay/McOverlay.stories.ts +0 -44
- package/src/components/patterns/McOverlay/McOverlay.vue +0 -77
- package/src/components/patterns/McPreview/McPreview.stories.ts +0 -45
- package/src/components/patterns/McPreview/McPreview.vue +0 -109
- package/src/components/patterns/McSideBar/McSideBar.stories.ts +0 -54
- package/src/components/patterns/McSideBar/McSideBar.vue +0 -378
- package/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.stories.ts +0 -32
- package/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue +0 -116
- package/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.stories.ts +0 -23
- package/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue +0 -232
- package/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.stories.ts +0 -34
- package/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue +0 -342
- package/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.stories.ts +0 -40
- package/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue +0 -211
- package/src/components/patterns/McTab/McTab.stories.ts +0 -23
- package/src/components/patterns/McTab/McTab.vue +0 -209
- package/src/components/patterns/McTabs/McTabs.stories.ts +0 -96
- package/src/components/patterns/McTabs/McTabs.vue +0 -387
- package/src/components/patterns/McWrapScroll/McWrapScroll.stories.ts +0 -56
- package/src/components/patterns/McWrapScroll/McWrapScroll.vue +0 -305
- package/src/components/templates/McDrawer/McDrawer.stories.ts +0 -88
- package/src/components/templates/McDrawer/McDrawer.vue +0 -217
- package/src/components/templates/McDrawer/McDrawerContainer.vue +0 -54
- package/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.stories.ts +0 -33
- package/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue +0 -88
- package/src/components/templates/McModal/McModal.stories.ts +0 -92
- package/src/components/templates/McModal/McModal.vue +0 -716
- package/src/components/templates/McModal/McModalContainer.vue +0 -51
- package/src/components/templates/McTable/McTable/McTable.stories.ts +0 -192
- package/src/components/templates/McTable/McTable/McTable.vue +0 -650
- package/src/components/templates/McTable/McTableCard/McTableCard.stories.ts +0 -94
- package/src/components/templates/McTable/McTableCard/McTableCard.vue +0 -239
- package/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue +0 -74
- package/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue +0 -155
- package/src/components/templates/McTable/McTableSort/McTableSort.vue +0 -66
- package/src/components/templates/McTopBar/McTopBar.stories.ts +0 -68
- package/src/components/templates/McTopBar/McTopBar.vue +0 -149
- package/src/components/templates/McVirtualScroll/McVirtualScroll.stories.ts +0 -59
- package/src/components/templates/McVirtualScroll/McVirtualScroll.vue +0 -124
- package/src/composables/index.ts +0 -9
- package/src/composables/useDrawer.ts +0 -90
- package/src/composables/useEncodeDecode.ts +0 -22
- package/src/composables/useFieldErrors.ts +0 -24
- package/src/composables/useHelper.ts +0 -85
- package/src/composables/useModal.ts +0 -88
- package/src/composables/useRandomNumber.ts +0 -10
- package/src/composables/useTooltip.ts +0 -174
- package/src/consts/table.ts +0 -6
- package/src/enums/Cell.ts +0 -5
- package/src/enums/Chip.ts +0 -10
- package/src/enums/Datepicker.ts +0 -38
- package/src/enums/Drawer.ts +0 -4
- package/src/enums/Dropdown.ts +0 -11
- package/src/enums/Filter.ts +0 -13
- package/src/enums/Grid.ts +0 -21
- package/src/enums/Input.ts +0 -19
- package/src/enums/Modal.ts +0 -4
- package/src/enums/Preview.ts +0 -5
- package/src/enums/Radio.ts +0 -4
- package/src/enums/RadioGroup.ts +0 -4
- package/src/enums/Select.ts +0 -10
- package/src/enums/Sidebar.ts +0 -4
- package/src/enums/Tab.ts +0 -5
- package/src/enums/Title.ts +0 -20
- package/src/enums/Tooltip.ts +0 -14
- package/src/enums/index.ts +0 -23
- package/src/enums/ui/Alignment.ts +0 -5
- package/src/enums/ui/Button.ts +0 -23
- package/src/enums/ui/Directions.ts +0 -4
- package/src/enums/ui/Weights.ts +0 -6
- package/src/index.js +0 -16
- package/src/main.ts +0 -9
- package/src/mocks/authUser.ts +0 -163
- package/src/mocks/categories.js +0 -107
- package/src/mocks/filterMocks.ts +0 -133
- package/src/mocks/icons.json +0 -1
- package/src/mocks/menuLangs.ts +0 -20
- package/src/mocks/selectOptions.json +0 -111
- package/src/mocks/sidebar.ts +0 -131
- package/src/mocks/tableData.ts +0 -8338
- package/src/types/IButton.ts +0 -48
- package/src/types/ICell.ts +0 -5
- package/src/types/IChip.ts +0 -13
- package/src/types/ICollapse.ts +0 -15
- package/src/types/IDatepicker.ts +0 -44
- package/src/types/IDirections.ts +0 -5
- package/src/types/IDrawer.ts +0 -29
- package/src/types/IDropdown.ts +0 -6
- package/src/types/IFilter.ts +0 -185
- package/src/types/IGrid.ts +0 -4
- package/src/types/IInput.ts +0 -6
- package/src/types/IModal.ts +0 -30
- package/src/types/IPreview.ts +0 -5
- package/src/types/IRadio.ts +0 -5
- package/src/types/IRadioGroup.ts +0 -12
- package/src/types/IRoute.ts +0 -14
- package/src/types/ISelect.ts +0 -19
- package/src/types/ISideBar.ts +0 -76
- package/src/types/ITable.ts +0 -76
- package/src/types/ITabs.ts +0 -33
- package/src/types/ITitle.ts +0 -6
- package/src/types/ITooltip.ts +0 -30
- package/src/types/index.ts +0 -39
- package/src/types/styles/Alignment.ts +0 -4
- package/src/types/styles/AvatarSizes.ts +0 -5
- package/src/types/styles/Colors.ts +0 -6
- package/src/types/styles/Durations.ts +0 -6
- package/src/types/styles/FontSizes.ts +0 -5
- package/src/types/styles/FontWeights.ts +0 -6
- package/src/types/styles/Grid.ts +0 -18
- package/src/types/styles/Icons.ts +0 -4
- package/src/types/styles/LineHeights.ts +0 -5
- package/src/types/styles/MediaQueries.ts +0 -5
- package/src/types/styles/Radiuses.ts +0 -5
- package/src/types/styles/Sizes.ts +0 -6
- package/src/types/styles/Spaces.ts +0 -6
- package/src/types/styles/Weights.ts +0 -3
- package/src/utils/dayjs.js +0 -22
- package/src/utils/mcGridColAdaptiveProps.ts +0 -15
- package/src/utils/mcTitleAdaptiveProps.ts +0 -15
|
@@ -1,650 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed, defineAsyncComponent, onBeforeUnmount, onMounted, type PropType, reactive, ref, useSlots } from 'vue'
|
|
3
|
-
import { useHelper } from '@/composables/useHelper'
|
|
4
|
-
import { ChipSize, Weights } from '@/enums'
|
|
5
|
-
import {
|
|
6
|
-
type ITableColumn,
|
|
7
|
-
type ITableColumnEnriched,
|
|
8
|
-
type ITableData,
|
|
9
|
-
type ITableSort,
|
|
10
|
-
type ITableTotals,
|
|
11
|
-
type ITablePlaceholders,
|
|
12
|
-
type TableCardState,
|
|
13
|
-
type ITableCardProps
|
|
14
|
-
} from '@/types/ITable'
|
|
15
|
-
import { TABLE } from '@/consts/table'
|
|
16
|
-
import McInfinityLoadingTrigger from '@/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue'
|
|
17
|
-
import McTitle from '@/components/elements/McTitle/McTitle.vue'
|
|
18
|
-
import McChip from '@/components/elements/McChip/McChip.vue'
|
|
19
|
-
import McTableSort from '@/components/templates/McTable/McTableSort/McTableSort.vue'
|
|
20
|
-
import McTableSkeletonLoading from '@/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue'
|
|
21
|
-
import McNoData from '@/components/elements/McNodata/McNoData.vue'
|
|
22
|
-
const McBottomLoader = defineAsyncComponent(() => import('@/components/elements/McBottomLoader/McBottomLoader.vue'))
|
|
23
|
-
const McOverlay = defineAsyncComponent(() => import('@/components/patterns/McOverlay/McOverlay.vue'))
|
|
24
|
-
import { useThrottleFn } from '@vueuse/core'
|
|
25
|
-
import type { IconsListUnion } from '@/types'
|
|
26
|
-
//@ts-ignore
|
|
27
|
-
import noTableDataImg from '../../../../assets/img/no_table_data.png'
|
|
28
|
-
|
|
29
|
-
const defaultPlaceholders = {
|
|
30
|
-
no_data: 'No data',
|
|
31
|
-
loading: 'Loading...',
|
|
32
|
-
all_loaded: 'All loaded',
|
|
33
|
-
total: 'Total'
|
|
34
|
-
} as ITablePlaceholders
|
|
35
|
-
|
|
36
|
-
const emit = defineEmits<{
|
|
37
|
-
(e: 'loading'): void
|
|
38
|
-
(e: 'row-click', value: any): void
|
|
39
|
-
(e: 'sort', value: ITableSort): void
|
|
40
|
-
(e: 'table-card-opened', value: TableCardState): void
|
|
41
|
-
}>()
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Слоты
|
|
45
|
-
*
|
|
46
|
-
* #header-cell - Заголовок колонки, каждая колонка
|
|
47
|
-
* #`{column.field}-header-right` - Справа от заголовка колонки, именной слот, работает по имени колонки, что бы добавлять в конкретную колонку
|
|
48
|
-
* #`{column.field}-total` - Тотал колонки, именной слот, работает по имени колонки, что бы добавлять в конкретную колонку
|
|
49
|
-
* #column.field - Тело ячейки таблицы. Если не использовать слот, просто будут выводиться данные по названию поля
|
|
50
|
-
* #`{column.field}-right` - Справа от контента колонки, именной слот, работает по имени колонки, что бы добавлять в конкретную колонку
|
|
51
|
-
* №footer-cell - тотал колонки (строка внизу таблицы), каждая колонка
|
|
52
|
-
* */
|
|
53
|
-
|
|
54
|
-
const helper = useHelper()
|
|
55
|
-
const slots = useSlots()
|
|
56
|
-
const props = defineProps({
|
|
57
|
-
columns: {
|
|
58
|
-
type: Array as PropType<ITableColumn[]>,
|
|
59
|
-
required: true,
|
|
60
|
-
default: () => [] as ITableColumn[]
|
|
61
|
-
},
|
|
62
|
-
data: {
|
|
63
|
-
type: Array as PropType<ITableData>,
|
|
64
|
-
required: true,
|
|
65
|
-
default: () => []
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* Тоталы таблицы (отображаются в футере), обьект ключи которого = поле field из массива колонок
|
|
69
|
-
* */
|
|
70
|
-
totals: {
|
|
71
|
-
type: Object as PropType<ITableTotals<ITableColumn>>,
|
|
72
|
-
default: () => ({})
|
|
73
|
-
},
|
|
74
|
-
sort: {
|
|
75
|
-
type: Object as PropType<ITableSort>,
|
|
76
|
-
default: () => ({})
|
|
77
|
-
},
|
|
78
|
-
/**
|
|
79
|
-
* Фиксировать ли первую колонку таблицы
|
|
80
|
-
* */
|
|
81
|
-
fixedFirstColumn: {
|
|
82
|
-
type: Boolean as PropType<boolean>,
|
|
83
|
-
default: true
|
|
84
|
-
},
|
|
85
|
-
/**
|
|
86
|
-
* Фиксировать ли последнюю колонку таблицы
|
|
87
|
-
* */
|
|
88
|
-
fixedLastColumn: {
|
|
89
|
-
type: Boolean as PropType<boolean>,
|
|
90
|
-
default: false
|
|
91
|
-
},
|
|
92
|
-
/**
|
|
93
|
-
* Есть ли у таблицы еще данные, если true, при полном пролистывании таблицы вниз, будет вызываться метод @loading
|
|
94
|
-
* */
|
|
95
|
-
hasLoadMore: {
|
|
96
|
-
type: Boolean as PropType<boolean>,
|
|
97
|
-
default: true
|
|
98
|
-
},
|
|
99
|
-
height: {
|
|
100
|
-
type: [Number, String] as PropType<number | 'auto'>,
|
|
101
|
-
default: 'auto'
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* Высота строки в шапке
|
|
105
|
-
* */
|
|
106
|
-
headerRowHeight: {
|
|
107
|
-
type: Number as PropType<number>,
|
|
108
|
-
default: TABLE.defaultHeaderHeight
|
|
109
|
-
},
|
|
110
|
-
/**
|
|
111
|
-
* Высота строки в теле таблицы
|
|
112
|
-
* */
|
|
113
|
-
rowHeight: {
|
|
114
|
-
type: Number as PropType<number>,
|
|
115
|
-
default: TABLE.defaultRowHeight
|
|
116
|
-
},
|
|
117
|
-
/**
|
|
118
|
-
* Высота строки в подвале (строка с тоталами)
|
|
119
|
-
* */
|
|
120
|
-
footerRowHeight: {
|
|
121
|
-
type: Number as PropType<number>,
|
|
122
|
-
default: TABLE.defaultFooterRowHeight
|
|
123
|
-
},
|
|
124
|
-
/**
|
|
125
|
-
* Отрисовка всей таблицы и полоса загрузки в каждой ячейке (скелетная загрузка)
|
|
126
|
-
*/
|
|
127
|
-
skeletonLoading: {
|
|
128
|
-
type: Boolean as PropType<boolean>,
|
|
129
|
-
default: false
|
|
130
|
-
},
|
|
131
|
-
/**
|
|
132
|
-
* Лоадинг внизу таблицы
|
|
133
|
-
* */
|
|
134
|
-
bottomLoading: {
|
|
135
|
-
type: Boolean as PropType<boolean>,
|
|
136
|
-
default: false
|
|
137
|
-
},
|
|
138
|
-
/**
|
|
139
|
-
* Оверлей с затемнение на всю таблицу
|
|
140
|
-
* */
|
|
141
|
-
loading: {
|
|
142
|
-
type: Boolean as PropType<boolean>,
|
|
143
|
-
default: false
|
|
144
|
-
},
|
|
145
|
-
/**
|
|
146
|
-
* Переводы плейсхолеров и текстов
|
|
147
|
-
*/
|
|
148
|
-
placeholders: {
|
|
149
|
-
type: Object as PropType<Partial<ITablePlaceholders>>,
|
|
150
|
-
default: () => ({})
|
|
151
|
-
},
|
|
152
|
-
noDataIcon: {
|
|
153
|
-
type: String as () => IconsListUnion,
|
|
154
|
-
default: null
|
|
155
|
-
},
|
|
156
|
-
noDataImg: {
|
|
157
|
-
type: String as PropType<string>,
|
|
158
|
-
default: noTableDataImg
|
|
159
|
-
},
|
|
160
|
-
/**
|
|
161
|
-
* Любые данные что бы передать их в карточку из таблицы
|
|
162
|
-
* */
|
|
163
|
-
toTableCardProps: {
|
|
164
|
-
type: Object as PropType<Record<any, any>>,
|
|
165
|
-
default: () => ({})
|
|
166
|
-
}
|
|
167
|
-
})
|
|
168
|
-
|
|
169
|
-
const openCardState = ref<TableCardState>({ state: false })
|
|
170
|
-
|
|
171
|
-
const mcTable = ref<null | HTMLElement>(null)
|
|
172
|
-
|
|
173
|
-
const hasData = computed((): boolean => {
|
|
174
|
-
return !helper.isEmpty(props.data)
|
|
175
|
-
})
|
|
176
|
-
const hasTotals = computed((): boolean => {
|
|
177
|
-
return !helper.isEmpty(props.totals)
|
|
178
|
-
})
|
|
179
|
-
const hasFixedColumn = computed((): boolean => {
|
|
180
|
-
return props.fixedFirstColumn || props.fixedLastColumn
|
|
181
|
-
})
|
|
182
|
-
const placeholders = reactive<ITablePlaceholders>(helper.deepMerge(defaultPlaceholders, props.placeholders))
|
|
183
|
-
|
|
184
|
-
const shadows = reactive({
|
|
185
|
-
firstColHasShadow: false,
|
|
186
|
-
lastColHasShadow: false
|
|
187
|
-
})
|
|
188
|
-
|
|
189
|
-
const computedColumns = computed((): ITableColumnEnriched[] => {
|
|
190
|
-
const [first] = props.columns
|
|
191
|
-
return (openCardState.value.state ? [first] : props.columns).map((column, index) => {
|
|
192
|
-
const fixedFirst = props.fixedFirstColumn && index === 0
|
|
193
|
-
const fixedLast = props.fixedLastColumn && index === props.columns.length - 1
|
|
194
|
-
|
|
195
|
-
return {
|
|
196
|
-
...column,
|
|
197
|
-
fixedFirst,
|
|
198
|
-
fixedLast,
|
|
199
|
-
style: {
|
|
200
|
-
...(column.width
|
|
201
|
-
? {
|
|
202
|
-
'--mc-table-cell-width': `${column.width}px`,
|
|
203
|
-
'--mc-table-cell-max-width': `${column.width}px`,
|
|
204
|
-
'--mc-table-cell-min-width': `${column.width}px`
|
|
205
|
-
}
|
|
206
|
-
: {
|
|
207
|
-
'--mc-table-cell-min-width': column.minWidth && `${column.minWidth}px`,
|
|
208
|
-
'--mc-table-cell-width': '100%'
|
|
209
|
-
})
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
})
|
|
213
|
-
})
|
|
214
|
-
|
|
215
|
-
const computedHeaderColumns = computed((): ITableColumnEnriched[] => {
|
|
216
|
-
return computedColumns.value.map((column) => ({
|
|
217
|
-
...column,
|
|
218
|
-
class: {
|
|
219
|
-
'mc-table__table_header-cell': true,
|
|
220
|
-
'mc-table__table_header-cell--fixed-first': column.fixedFirst,
|
|
221
|
-
'mc-table__table_header-cell--fixed-last': column.fixedLast,
|
|
222
|
-
'mc-table__table_header-cell--shadow-first': column.fixedFirst && shadows.firstColHasShadow,
|
|
223
|
-
'mc-table__table_header-cell--shadow-last': column.fixedLast && shadows.lastColHasShadow
|
|
224
|
-
}
|
|
225
|
-
}))
|
|
226
|
-
})
|
|
227
|
-
|
|
228
|
-
const computedBodyColumns = computed((): ITableColumnEnriched[] => {
|
|
229
|
-
return computedColumns.value.map((column) => ({
|
|
230
|
-
...column,
|
|
231
|
-
class: {
|
|
232
|
-
'mc-table__table_body-cell': true,
|
|
233
|
-
'mc-table__table_body-cell--fixed-first': column.fixedFirst,
|
|
234
|
-
'mc-table__table_body-cell--fixed-last': column.fixedLast,
|
|
235
|
-
'mc-table__table_body-cell--shadow-first': column.fixedFirst && shadows.firstColHasShadow,
|
|
236
|
-
'mc-table__table_body-cell--shadow-last': column.fixedLast && shadows.lastColHasShadow
|
|
237
|
-
}
|
|
238
|
-
}))
|
|
239
|
-
})
|
|
240
|
-
|
|
241
|
-
const computedFooterColumns = computed((): ITableColumnEnriched[] => {
|
|
242
|
-
return computedColumns.value.map((column) => ({
|
|
243
|
-
...column,
|
|
244
|
-
class: {
|
|
245
|
-
'mc-table__table_footer-cell': true,
|
|
246
|
-
'mc-table__table_footer-cell--fixed-first': column.fixedFirst,
|
|
247
|
-
'mc-table__table_footer-cell--fixed-last': column.fixedLast,
|
|
248
|
-
'mc-table__table_footer-cell--shadow-first': column.fixedFirst && shadows.firstColHasShadow,
|
|
249
|
-
'mc-table__table_footer-cell--shadow-last': column.fixedLast && shadows.lastColHasShadow
|
|
250
|
-
}
|
|
251
|
-
}))
|
|
252
|
-
})
|
|
253
|
-
|
|
254
|
-
const containerStyle = computed((): { [key: string]: string } => {
|
|
255
|
-
return {
|
|
256
|
-
'--mc-table-height': typeof props.height === 'number' ? `${props.height}px` : props.height,
|
|
257
|
-
'--mc-table-header-row-height': helper.isNumber(props.headerRowHeight) ? `${props.headerRowHeight}px` : '40px',
|
|
258
|
-
'--mc-table-row-height': helper.isNumber(props.rowHeight) ? `${props.rowHeight}px` : '40px',
|
|
259
|
-
'--mc-table-footer-row-height': helper.isNumber(props.footerRowHeight) ? `${props.footerRowHeight}px` : '40px'
|
|
260
|
-
}
|
|
261
|
-
})
|
|
262
|
-
|
|
263
|
-
const computedTableCardProps = computed((): ITableCardProps => {
|
|
264
|
-
return {
|
|
265
|
-
tableColumns: props.columns,
|
|
266
|
-
tableData: props.data,
|
|
267
|
-
tableTotals: props.totals,
|
|
268
|
-
tableSort: props.sort,
|
|
269
|
-
tableHeaderRowHeight: props.headerRowHeight,
|
|
270
|
-
tableFooterRowHeight: props.footerRowHeight,
|
|
271
|
-
tableFixedFirstColumn: props.fixedFirstColumn,
|
|
272
|
-
tableCardProps: props.toTableCardProps
|
|
273
|
-
}
|
|
274
|
-
})
|
|
275
|
-
|
|
276
|
-
const onBodyScroll = useThrottleFn((): void => {
|
|
277
|
-
if (mcTable.value) {
|
|
278
|
-
const { scrollLeft, scrollWidth, clientWidth } = mcTable.value
|
|
279
|
-
const firstColShadow = props.fixedFirstColumn && scrollLeft > 0
|
|
280
|
-
const lastColShadow = props.fixedLastColumn && scrollLeft + clientWidth < scrollWidth
|
|
281
|
-
|
|
282
|
-
if (shadows.firstColHasShadow !== firstColShadow) shadows.firstColHasShadow = firstColShadow
|
|
283
|
-
if (shadows.lastColHasShadow !== lastColShadow) shadows.lastColHasShadow = lastColShadow
|
|
284
|
-
}
|
|
285
|
-
}, 10)
|
|
286
|
-
|
|
287
|
-
const addListeners = (): void => {
|
|
288
|
-
if (hasFixedColumn.value && mcTable.value) {
|
|
289
|
-
onBodyScroll()
|
|
290
|
-
mcTable.value.addEventListener('scroll', onBodyScroll)
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
const removeListeners = (): void => {
|
|
294
|
-
if (hasFixedColumn.value && mcTable.value) mcTable.value.removeEventListener('scroll', onBodyScroll)
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
const handleRowClick = (row: any): void => {
|
|
298
|
-
emit('row-click', row)
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
const handleSetCardState = (payload: TableCardState) => {
|
|
302
|
-
openCardState.value = payload
|
|
303
|
-
emit('table-card-opened', payload)
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
onMounted((): void => {
|
|
307
|
-
addListeners()
|
|
308
|
-
})
|
|
309
|
-
onBeforeUnmount((): void => {
|
|
310
|
-
removeListeners()
|
|
311
|
-
})
|
|
312
|
-
</script>
|
|
313
|
-
|
|
314
|
-
<template>
|
|
315
|
-
<div class="mc-table__container" :style="containerStyle">
|
|
316
|
-
<div ref="mcTable" class="mc-table">
|
|
317
|
-
<div class="mc-table__table">
|
|
318
|
-
<!-- HEADER -->
|
|
319
|
-
<div class="mc-table__table_header">
|
|
320
|
-
<div class="mc-table__table_header-row">
|
|
321
|
-
<div v-for="(column, cI) in computedHeaderColumns" :key="cI" :class="column.class" :style="column.style">
|
|
322
|
-
<div class="mc-table__table_header-cell_content">
|
|
323
|
-
<div class="mc-table__table_header-cell_content-left">
|
|
324
|
-
<mc-table-sort
|
|
325
|
-
v-if="column.sortable"
|
|
326
|
-
:column="column.field"
|
|
327
|
-
:sort="sort"
|
|
328
|
-
@change="(val) => emit('sort', val)"
|
|
329
|
-
/>
|
|
330
|
-
<!-- slot для колонки хедера -->
|
|
331
|
-
<slot name="header-cell" :column="column" :cellIndex="cI">
|
|
332
|
-
<mc-title :text-align="column.align" :weight="Weights.SemiBold" pre-line
|
|
333
|
-
>{{ column.header }}
|
|
334
|
-
</mc-title>
|
|
335
|
-
</slot>
|
|
336
|
-
</div>
|
|
337
|
-
<div class="mc-table__table_header-cell_content-right">
|
|
338
|
-
<!-- slot справа от хедера колонки -->
|
|
339
|
-
<slot :name="`${column.field}-header-right`" :column="column" :cellIndex="cI" />
|
|
340
|
-
<!-- slot для тотала (выводится в chip) -->
|
|
341
|
-
<slot :name="`${column.field}-total`" :column="column" :cellIndex="cI">
|
|
342
|
-
<mc-chip
|
|
343
|
-
v-if="column.total"
|
|
344
|
-
:title="column.total"
|
|
345
|
-
variation="hover-gray"
|
|
346
|
-
text-color="gray"
|
|
347
|
-
:size="ChipSize.S"
|
|
348
|
-
/>
|
|
349
|
-
</slot>
|
|
350
|
-
</div>
|
|
351
|
-
</div>
|
|
352
|
-
</div>
|
|
353
|
-
</div>
|
|
354
|
-
</div>
|
|
355
|
-
|
|
356
|
-
<!-- BODY -->
|
|
357
|
-
<div class="mc-table__table_body">
|
|
358
|
-
<!-- Отображение скелетной загрузки -->
|
|
359
|
-
<mc-table-skeleton-loading v-if="props.skeletonLoading" :columns="computedBodyColumns" />
|
|
360
|
-
<template v-if="hasData">
|
|
361
|
-
<div
|
|
362
|
-
v-for="(row, rI) in data"
|
|
363
|
-
:key="rI"
|
|
364
|
-
class="mc-table__table_body-row"
|
|
365
|
-
:class="{ 'mc-table__table_body-row--active': String(openCardState.id) === String(row.id) }"
|
|
366
|
-
@click="() => handleRowClick(row)"
|
|
367
|
-
>
|
|
368
|
-
<div v-for="(column, cI) in computedBodyColumns" :key="cI" :class="column.class" :style="column.style">
|
|
369
|
-
<div class="mc-table__table_body-cell_content">
|
|
370
|
-
<div class="mc-table__table_body-cell_content-left">
|
|
371
|
-
<!-- slot для контента (по именем колонки) -->
|
|
372
|
-
<slot
|
|
373
|
-
:name="column.field"
|
|
374
|
-
:row="row"
|
|
375
|
-
:rowIndex="rI"
|
|
376
|
-
:column="column"
|
|
377
|
-
:cellIndex="cI"
|
|
378
|
-
:cellValue="row[column.field]"
|
|
379
|
-
>
|
|
380
|
-
<mc-title :text-align="column.align" ellipsis>{{ row[column.field] }}</mc-title>
|
|
381
|
-
</slot>
|
|
382
|
-
</div>
|
|
383
|
-
<!-- slot срава от контента (по именем колонки + '-right') -->
|
|
384
|
-
<div v-if="slots[`${column.field}-right`]" class="mc-table__table_body-cell_content-right">
|
|
385
|
-
<slot :name="`${column.field}-right`" />
|
|
386
|
-
</div>
|
|
387
|
-
</div>
|
|
388
|
-
</div>
|
|
389
|
-
</div>
|
|
390
|
-
</template>
|
|
391
|
-
<mc-infinity-loading-trigger :active="props.hasLoadMore" @loading="emit('loading')" />
|
|
392
|
-
</div>
|
|
393
|
-
|
|
394
|
-
<!-- FOOTER -->
|
|
395
|
-
<div v-if="hasTotals" class="mc-table__table_footer">
|
|
396
|
-
<div class="mc-table__table_footer-row">
|
|
397
|
-
<div v-for="(column, cI) in computedFooterColumns" :key="cI" :class="column.class" :style="column.style">
|
|
398
|
-
<slot name="footer-cell" :column="column" :cellIndex="cI" :cellValue="totals[column.field]">
|
|
399
|
-
<mc-title :text-align="column.align" :weight="Weights.SemiBold">
|
|
400
|
-
{{ totals[column.field] }}
|
|
401
|
-
</mc-title>
|
|
402
|
-
</slot>
|
|
403
|
-
</div>
|
|
404
|
-
</div>
|
|
405
|
-
</div>
|
|
406
|
-
</div>
|
|
407
|
-
</div>
|
|
408
|
-
<!-- slot для карточки, по дефолту будет вывлдить карточку из вложенного роута -->
|
|
409
|
-
<slot v-bind="computedTableCardProps" @setTableCardState="handleSetCardState">
|
|
410
|
-
<!-- место для рендера карточки, когда она находится по вложенному роуту -->
|
|
411
|
-
<router-view v-bind="computedTableCardProps" @setTableCardState="handleSetCardState" />
|
|
412
|
-
</slot>
|
|
413
|
-
<mc-bottom-loader v-if="bottomLoading" />
|
|
414
|
-
<mc-overlay v-if="loading" />
|
|
415
|
-
<mc-no-data
|
|
416
|
-
v-if="!hasData"
|
|
417
|
-
variation="small"
|
|
418
|
-
:title="placeholders.no_data"
|
|
419
|
-
:img="props.noDataImg"
|
|
420
|
-
:icon="props.noDataIcon"
|
|
421
|
-
/>
|
|
422
|
-
</div>
|
|
423
|
-
</template>
|
|
424
|
-
|
|
425
|
-
<style lang="scss">
|
|
426
|
-
@use '../../../../assets/styles/mixins' as *;
|
|
427
|
-
@use '../../../../assets/tokens/colors' as *;
|
|
428
|
-
@use '../../../../assets/tokens/font-families' as *;
|
|
429
|
-
@use '../../../../assets/tokens/font-weights' as *;
|
|
430
|
-
@use '../../../../assets/tokens/font-sizes' as *;
|
|
431
|
-
@use '../../../../assets/tokens/spacings' as *;
|
|
432
|
-
@use '../../../../assets/tokens/sizes' as *;
|
|
433
|
-
@use '../../../../assets/tokens/box-shadows' as *;
|
|
434
|
-
@use '../../../../assets/tokens/z-indexes' as *;
|
|
435
|
-
@use '../../../../assets/tokens/media-queries' as *;
|
|
436
|
-
@mixin fixed-first {
|
|
437
|
-
left: 0;
|
|
438
|
-
z-index: $z-index-notification;
|
|
439
|
-
border-right: var(--border-style);
|
|
440
|
-
background-color: $color-white;
|
|
441
|
-
}
|
|
442
|
-
@mixin fixed-last {
|
|
443
|
-
right: 0;
|
|
444
|
-
z-index: $z-index-notification;
|
|
445
|
-
background-color: $color-white;
|
|
446
|
-
}
|
|
447
|
-
@mixin fixed-classes {
|
|
448
|
-
&--fixed-first {
|
|
449
|
-
@include fixed-first;
|
|
450
|
-
}
|
|
451
|
-
&--fixed-last {
|
|
452
|
-
@include fixed-last;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
@mixin shadow-classes {
|
|
456
|
-
&--shadow-first {
|
|
457
|
-
@include shadow-first;
|
|
458
|
-
}
|
|
459
|
-
&--shadow-last {
|
|
460
|
-
@include shadow-last;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
@mixin shadow-first {
|
|
464
|
-
border-right-color: $color-transparent;
|
|
465
|
-
&::after {
|
|
466
|
-
content: '';
|
|
467
|
-
position: absolute;
|
|
468
|
-
top: 0;
|
|
469
|
-
right: 0;
|
|
470
|
-
bottom: 0;
|
|
471
|
-
background: none;
|
|
472
|
-
width: 1px;
|
|
473
|
-
height: 100%;
|
|
474
|
-
box-shadow: 5px 0 8px $color-black;
|
|
475
|
-
pointer-events: none;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
@mixin shadow-last {
|
|
479
|
-
border-left-color: $color-transparent;
|
|
480
|
-
&::before {
|
|
481
|
-
content: '';
|
|
482
|
-
position: absolute;
|
|
483
|
-
top: 0;
|
|
484
|
-
left: 0;
|
|
485
|
-
bottom: 0;
|
|
486
|
-
background: none;
|
|
487
|
-
width: 1px;
|
|
488
|
-
height: 100%;
|
|
489
|
-
box-shadow: -5px 0 8px $color-black;
|
|
490
|
-
pointer-events: none;
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
@mixin grow {
|
|
494
|
-
display: flex;
|
|
495
|
-
flex-direction: column;
|
|
496
|
-
flex-grow: 1;
|
|
497
|
-
}
|
|
498
|
-
@mixin cell-alignment {
|
|
499
|
-
display: flex;
|
|
500
|
-
align-items: center;
|
|
501
|
-
padding: 0 $space-200;
|
|
502
|
-
}
|
|
503
|
-
.mc-table {
|
|
504
|
-
font-family: $font-family-main;
|
|
505
|
-
overflow-y: auto;
|
|
506
|
-
max-height: 100%;
|
|
507
|
-
@include grow;
|
|
508
|
-
* {
|
|
509
|
-
box-sizing: border-box;
|
|
510
|
-
}
|
|
511
|
-
&__container {
|
|
512
|
-
--border-style: 1px solid #{$color-hover-gray};
|
|
513
|
-
--table-row-hover-background-color: #{$color-hover-gray};
|
|
514
|
-
position: relative;
|
|
515
|
-
overflow: hidden;
|
|
516
|
-
font-size: $font-size-200;
|
|
517
|
-
height: var(--mc-table-height);
|
|
518
|
-
border: var(--border-style);
|
|
519
|
-
@include grow;
|
|
520
|
-
}
|
|
521
|
-
&__table {
|
|
522
|
-
@include grow;
|
|
523
|
-
&_header {
|
|
524
|
-
position: sticky;
|
|
525
|
-
top: 0;
|
|
526
|
-
z-index: $z-index-overlay;
|
|
527
|
-
&-row {
|
|
528
|
-
display: flex;
|
|
529
|
-
flex-wrap: nowrap;
|
|
530
|
-
height: var(--mc-table-header-row-height);
|
|
531
|
-
}
|
|
532
|
-
&-cell {
|
|
533
|
-
position: sticky;
|
|
534
|
-
text-align: left;
|
|
535
|
-
top: 0;
|
|
536
|
-
z-index: 10;
|
|
537
|
-
width: var(--mc-table-cell-width);
|
|
538
|
-
max-width: var(--mc-table-cell-max-width);
|
|
539
|
-
min-width: var(--mc-table-cell-min-width);
|
|
540
|
-
background-color: $color-white;
|
|
541
|
-
border-bottom: var(--border-style);
|
|
542
|
-
@include cell-alignment;
|
|
543
|
-
@include fixed-classes;
|
|
544
|
-
@include shadow-classes;
|
|
545
|
-
&_content {
|
|
546
|
-
width: 100%;
|
|
547
|
-
display: flex;
|
|
548
|
-
justify-content: space-between;
|
|
549
|
-
align-items: center;
|
|
550
|
-
&-left {
|
|
551
|
-
display: flex;
|
|
552
|
-
align-items: center;
|
|
553
|
-
@include child-indent-right($space-50);
|
|
554
|
-
}
|
|
555
|
-
&-right {
|
|
556
|
-
display: flex;
|
|
557
|
-
align-items: center;
|
|
558
|
-
@include child-indent-right($space-50);
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
&_body {
|
|
564
|
-
@include grow;
|
|
565
|
-
$body: &;
|
|
566
|
-
&-row {
|
|
567
|
-
display: flex;
|
|
568
|
-
flex-wrap: nowrap;
|
|
569
|
-
height: var(--mc-table-row-height);
|
|
570
|
-
cursor: pointer;
|
|
571
|
-
&--active {
|
|
572
|
-
#{$body}-cell {
|
|
573
|
-
background-color: var(--table-row-hover-background-color);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
&:hover {
|
|
577
|
-
#{$body}-cell {
|
|
578
|
-
background-color: var(--table-row-hover-background-color);
|
|
579
|
-
&_content-right {
|
|
580
|
-
display: flex;
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
@media #{$media-mobile} {
|
|
585
|
-
#{$body}-cell {
|
|
586
|
-
&_content-right {
|
|
587
|
-
display: flex;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
&-cell {
|
|
593
|
-
position: sticky;
|
|
594
|
-
z-index: 15;
|
|
595
|
-
text-align: left;
|
|
596
|
-
width: var(--mc-table-cell-width);
|
|
597
|
-
max-width: var(--mc-table-cell-max-width);
|
|
598
|
-
min-width: var(--mc-table-cell-min-width);
|
|
599
|
-
@include cell-alignment;
|
|
600
|
-
@include fixed-classes;
|
|
601
|
-
@include shadow-classes;
|
|
602
|
-
&_content {
|
|
603
|
-
width: 100%;
|
|
604
|
-
&-right {
|
|
605
|
-
position: absolute;
|
|
606
|
-
display: none;
|
|
607
|
-
top: 0;
|
|
608
|
-
right: 0;
|
|
609
|
-
padding-right: $space-200;
|
|
610
|
-
padding-left: $space-200;
|
|
611
|
-
height: var(--mc-table-row-height);
|
|
612
|
-
align-items: center;
|
|
613
|
-
background: linear-gradient(90deg, rgba($color-hover-gray, 0.2) 0%, $color-hover-gray 60%);
|
|
614
|
-
z-index: $z-index-notification;
|
|
615
|
-
@include child-indent-right($space-50);
|
|
616
|
-
}
|
|
617
|
-
&-left {
|
|
618
|
-
display: flex;
|
|
619
|
-
align-items: center;
|
|
620
|
-
@include child-indent-right($space-50);
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
&_footer {
|
|
626
|
-
position: sticky;
|
|
627
|
-
bottom: 0;
|
|
628
|
-
z-index: $z-index-notification;
|
|
629
|
-
&-row {
|
|
630
|
-
display: flex;
|
|
631
|
-
flex-wrap: nowrap;
|
|
632
|
-
height: var(--mc-table-footer-row-height);
|
|
633
|
-
}
|
|
634
|
-
&-cell {
|
|
635
|
-
position: sticky;
|
|
636
|
-
z-index: 15;
|
|
637
|
-
text-align: left;
|
|
638
|
-
width: var(--mc-table-cell-width);
|
|
639
|
-
max-width: var(--mc-table-cell-max-width);
|
|
640
|
-
min-width: var(--mc-table-cell-min-width);
|
|
641
|
-
background-color: $color-white;
|
|
642
|
-
border-top: var(--border-style);
|
|
643
|
-
@include cell-alignment;
|
|
644
|
-
@include fixed-classes;
|
|
645
|
-
@include shadow-classes;
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
</style>
|