import { type App } from 'vue'
import AppIcon from './icons/AppIcon.vue'
import AppAvatar from './app-avatar/index.vue'
import LoginLayout from './login-layout/index.vue'
import LoginContainer from './login-container/index.vue'
import LayoutContainer from './layout-container/index.vue'
import TagsInput from './tags-input/index.vue'
import CardBox from './card-box/index.vue'
import CardAdd from './card-add/index.vue'
import BackButton from './back-button/index.vue'
import AppTable from './app-table/index.vue'
import ReadWrite from './read-write/index.vue'
import TagEllipsis from './tag-ellipsis/index.vue'
import CommonList from './common-list/index.vue'
import dynamicsForm from './dynamics-form'
import CardCheckbox from './card-checkbox/index.vue'
import AiChat from './ai-chat/index.vue'
import InfiniteScroll from './infinite-scroll/index.vue'
import AutoTooltip from './auto-tooltip/index.vue'
import MdEditor from './markdown/MdEditor.vue'
import MdPreview from './markdown/MdPreview.vue'
import MdEditorMagnify from './markdown/MdEditorMagnify.vue'
import LogoFull from './logo/LogoFull.vue'
import LogoIcon from './logo/LogoIcon.vue'
import SendIcon from './logo/SendIcon.vue'
import CodemirrorEditor from './codemirror-editor/index.vue'
import ModelSelect from './model-select/index.vue'
export default {
  install(app: App) {
    app.component(AppIcon.name, AppIcon)
    app.component(AppAvatar.name, AppAvatar)
    app.component(LoginLayout.name, LoginLayout)
    app.component(LoginContainer.name, LoginContainer)
    app.component(LayoutContainer.name, LayoutContainer)
    app.component(TagsInput.name, TagsInput)
    app.component(CardBox.name, CardBox)
    app.component(CardAdd.name, CardAdd)
    app.component(BackButton.name, BackButton)
    app.component(AppTable.name, AppTable)
    app.component(ReadWrite.name, ReadWrite)
    app.component(TagEllipsis.name, TagEllipsis)
    app.component(CommonList.name, CommonList)
    app.use(dynamicsForm)
    app.component(CardCheckbox.name, CardCheckbox)
    app.component(AiChat.name, AiChat)
    app.component(InfiniteScroll.name, InfiniteScroll)
    app.component(AutoTooltip.name, AutoTooltip)
    app.component(MdPreview.name, MdPreview)
    app.component(MdEditor.name, MdEditor)
    app.component(LogoFull.name, LogoFull)
    app.component(LogoIcon.name, LogoIcon)
    app.component(SendIcon.name, SendIcon)
    app.component(CodemirrorEditor.name, CodemirrorEditor)
    app.component(MdEditorMagnify.name, MdEditorMagnify)
    app.component(ModelSelect.name, ModelSelect)
  }
}
