From c6c4a488237aca9d3b9c9f423cbeae2f589fcfc3 Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 10 Aug 2023 20:25:21 +0000 Subject: [PATCH] chore: remove unused items --- packages/client/src/components/MkAbuseReport.vue | 1 - packages/client/src/components/MkAnalogClock.vue | 9 +-------- packages/client/src/components/MkChart.vue | 8 ++++---- .../client/src/components/MkCheatSheetDialog.vue | 4 ---- packages/client/src/components/MkContextMenu.vue | 4 ++-- packages/client/src/components/MkCropperDialog.vue | 2 +- packages/client/src/components/MkDrive.folder.vue | 4 ---- .../client/src/components/MkDrive.navFolder.vue | 8 -------- packages/client/src/components/MkDrive.vue | 5 ++--- .../client/src/components/MkEmojiPickerDialog.vue | 2 +- .../client/src/components/MkFileListForAdmin.vue | 3 --- packages/client/src/components/MkFollowButton.vue | 12 ++++++------ packages/client/src/components/MkFormDialog.vue | 7 +------ packages/client/src/components/MkFormula.vue | 1 - .../client/src/components/MkGalleryPostPreview.vue | 2 -- packages/client/src/components/MkHeatmap.vue | 12 +----------- packages/client/src/components/MkLaunchPad.vue | 3 --- .../client/src/components/MkManyAnnouncements.vue | 1 - packages/client/src/components/MkMediaList.vue | 1 - packages/client/src/components/MkMenu.child.vue | 10 +--------- packages/client/src/components/MkMenu.vue | 8 +------- packages/client/src/components/MkMiniChart.vue | 3 +-- .../client/src/components/MkModalPageWindow.vue | 6 +----- packages/client/src/components/MkNote.vue | 7 +------ packages/client/src/components/MkNoteDetailed.vue | 13 +------------ packages/client/src/components/MkNoteHeader.vue | 2 +- packages/client/src/components/MkNoteSimple.vue | 1 - packages/client/src/components/MkNotifications.vue | 10 +--------- packages/client/src/components/MkNumber.vue | 2 +- .../client/src/components/MkObjectView.value.vue | 2 +- packages/client/src/components/MkObjectView.vue | 7 +------ packages/client/src/components/MkPageWindow.vue | 13 ++----------- packages/client/src/components/MkPagination.vue | 2 -- packages/client/src/components/MkPopupMenu.vue | 1 - packages/client/src/components/MkReactedUsers.vue | 1 - packages/client/src/components/MkReactionIcon.vue | 2 -- .../client/src/components/MkReactionTooltip.vue | 1 - .../src/components/MkReactionsViewer.details.vue | 1 - packages/client/src/components/MkSignin.vue | 6 ------ packages/client/src/components/MkSignup.vue | 1 - packages/client/src/components/MkSignupDialog.vue | 1 - .../client/src/components/MkStarButtonNoEmoji.vue | 1 - packages/client/src/components/MkSuperMenu.vue | 4 ++-- packages/client/src/components/MkTagCloud.vue | 2 +- packages/client/src/components/MkTimeline.vue | 3 +-- packages/client/src/components/MkToast.vue | 2 +- .../client/src/components/MkTutorialDialog.vue | 2 +- packages/client/src/components/MkUrlPreview.vue | 2 +- packages/client/src/components/MkUserList.vue | 1 - .../src/components/MkUserOnlineIndicator.vue | 1 - .../client/src/components/MkUserSelectDialog.vue | 2 +- .../src/components/MkUserSelectLocalDialog.vue | 2 +- packages/client/src/components/MkVisibility.vue | 1 - packages/client/src/components/MkWidgets.vue | 2 +- packages/client/src/components/form/input.vue | 13 ++----------- packages/client/src/components/form/link.vue | 2 -- packages/client/src/components/form/radio.vue | 2 -- packages/client/src/components/form/select.vue | 1 - packages/client/src/components/form/textarea.vue | 1 - packages/client/src/components/global/MkA.vue | 9 ++++----- packages/client/src/components/global/MkAvatar.vue | 2 +- packages/client/src/components/global/MkEmoji.vue | 2 +- .../client/src/components/global/MkLoading.vue | 2 -- .../client/src/components/global/MkPageHeader.vue | 14 +------------- packages/client/src/components/global/MkSpacer.vue | 2 +- .../client/src/components/global/MkUserName.vue | 1 - .../client/src/components/global/RouterView.vue | 10 +--------- .../client/src/components/page/page.canvas.vue | 1 - .../client/src/components/page/page.counter.vue | 1 - packages/client/src/components/page/page.image.vue | 3 +-- .../src/components/page/page.number-input.vue | 1 - .../src/components/page/page.radio-button.vue | 1 - .../client/src/components/page/page.section.vue | 7 +++---- .../client/src/components/page/page.switch.vue | 1 - .../client/src/components/page/page.text-input.vue | 1 - .../src/components/page/page.textarea-input.vue | 2 -- packages/client/src/directives/click-anime.ts | 2 +- 77 files changed, 58 insertions(+), 237 deletions(-) diff --git a/packages/client/src/components/MkAbuseReport.vue b/packages/client/src/components/MkAbuseReport.vue index f92d10ba77..b1029fac04 100644 --- a/packages/client/src/components/MkAbuseReport.vue +++ b/packages/client/src/components/MkAbuseReport.vue @@ -68,7 +68,6 @@ import MkButton from "@/components/MkButton.vue"; import MkSwitch from "@/components/form/switch.vue"; import MkKeyValue from "@/components/MkKeyValue.vue"; -import { acct, userPage } from "@/filters/user"; import * as os from "@/os"; import { i18n } from "@/i18n"; diff --git a/packages/client/src/components/MkAnalogClock.vue b/packages/client/src/components/MkAnalogClock.vue index 13b662ac3c..c745e4083e 100644 --- a/packages/client/src/components/MkAnalogClock.vue +++ b/packages/client/src/components/MkAnalogClock.vue @@ -108,14 +108,7 @@ diff --git a/packages/client/src/components/MkFormula.vue b/packages/client/src/components/MkFormula.vue index e488c7da75..e2e3e11219 100644 --- a/packages/client/src/components/MkFormula.vue +++ b/packages/client/src/components/MkFormula.vue @@ -4,7 +4,6 @@ - - diff --git a/packages/client/src/components/MkPageWindow.vue b/packages/client/src/components/MkPageWindow.vue index 354abde726..2f3b469fe7 100644 --- a/packages/client/src/components/MkPageWindow.vue +++ b/packages/client/src/components/MkPageWindow.vue @@ -30,21 +30,16 @@