mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
refactor: remove component auto import (#740)
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
import type { Ref } from 'vue'
|
||||
import type { GridLayout } from '~/logic'
|
||||
import type { DataItem as MomentItem, MomentResult } from '~/models/moment/moment'
|
||||
import Button from '~/components/Button.vue'
|
||||
import Empty from '~/components/Empty.vue'
|
||||
import Loading from '~/components/Loading.vue'
|
||||
import VideoCard from '~/components/VideoCard/VideoCard.vue'
|
||||
import VideoCardSkeleton from '~/components/VideoCard/VideoCardSkeleton.vue'
|
||||
|
||||
const props = defineProps<{
|
||||
gridLayout: GridLayout
|
||||
|
||||
@@ -10,6 +10,12 @@ import { accessKey, settings } from '~/logic'
|
||||
import { LanguageType } from '~/enums/appEnums'
|
||||
import { TVAppKey, getTvSign } from '~/utils/authProvider'
|
||||
import { isVerticalVideo } from '~/utils/uriParse'
|
||||
import Button from '~/components/Button.vue'
|
||||
import Dialog from '~/components/Dialog.vue'
|
||||
import Empty from '~/components/Empty.vue'
|
||||
import Loading from '~/components/Loading.vue'
|
||||
import VideoCard from '~/components/VideoCard/VideoCard.vue'
|
||||
import VideoCardSkeleton from '~/components/VideoCard/VideoCardSkeleton.vue'
|
||||
|
||||
const props = defineProps<{
|
||||
gridLayout: GridLayout
|
||||
|
||||
@@ -6,6 +6,11 @@ import type { List as RankingPgcItem, RankingPgcResult } from '~/models/video/ra
|
||||
import type { GridLayout } from '~/logic'
|
||||
import { settings } from '~/logic'
|
||||
import emitter from '~/utils/mitt'
|
||||
import LongCoverCard from '~/components/LongCoverCard/LongCoverCard.vue'
|
||||
import LongCoverCardSkeleton from '~/components/LongCoverCard/LongCoverCardSkeleton.vue'
|
||||
import OverlayScrollbarsComponent from '~/components/OverlayScrollbarsComponent'
|
||||
import VideoCard from '~/components/VideoCard/VideoCard.vue'
|
||||
import VideoCardSkeleton from '~/components/VideoCard/VideoCardSkeleton.vue'
|
||||
|
||||
const props = defineProps<{
|
||||
gridLayout: GridLayout
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
import type { Ref } from 'vue'
|
||||
import type { GridLayout } from '~/logic'
|
||||
import type { DataItem as MomentItem, MomentResult } from '~/models/moment/moment'
|
||||
import Button from '~/components/Button.vue'
|
||||
import Empty from '~/components/Empty.vue'
|
||||
import Loading from '~/components/Loading.vue'
|
||||
import VideoCard from '~/components/VideoCard/VideoCard.vue'
|
||||
import VideoCardSkeleton from '~/components/VideoCard/VideoCardSkeleton.vue'
|
||||
|
||||
const props = defineProps<{
|
||||
gridLayout: GridLayout
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
import type { Ref } from 'vue'
|
||||
import type { GridLayout } from '~/logic'
|
||||
import type { TrendingResult, List as VideoItem } from '~/models/video/trending'
|
||||
import Loading from '~/components/Loading.vue'
|
||||
import VideoCard from '~/components/VideoCard/VideoCard.vue'
|
||||
import VideoCardSkeleton from '~/components/VideoCard/VideoCardSkeleton.vue'
|
||||
|
||||
const props = defineProps<{
|
||||
gridLayout: GridLayout
|
||||
|
||||
Reference in New Issue
Block a user