UnisKB/ui/src/components/index.ts

43 lines
1.8 KiB
TypeScript
Raw Normal View History

2023-10-12 08:36:16 +00:00
import { type App } from 'vue'
import AppIcon from './icons/AppIcon.vue'
2023-10-25 10:35:28 +00:00
import AppAvatar from './app-avatar/index.vue'
2023-10-16 10:58:51 +00:00
import LoginLayout from './login-layout/index.vue'
import LoginContainer from './login-container/index.vue'
2023-11-03 09:45:01 +00:00
import LayoutContainer from './layout-container/index.vue'
2023-10-20 10:48:16 +00:00
import TagsInput from './tags-input/index.vue'
2023-10-25 10:35:28 +00:00
import CardBox from './card-box/index.vue'
import CardAdd from './card-add/index.vue'
2023-10-27 09:49:06 +00:00
import BackButton from './back-button/index.vue'
2023-11-09 10:52:06 +00:00
import AppTable from './app-table/index.vue'
import ReadWrite from './read-write/index.vue'
2023-11-14 10:12:55 +00:00
import TagEllipsis from './tag-ellipsis/index.vue'
2023-11-15 09:42:31 +00:00
import CommonList from './common-list/index.vue'
2023-11-30 03:29:31 +00:00
import MarkdownRenderer from './markdown-renderer/index.vue'
2023-12-01 09:30:06 +00:00
import dynamicsForm from './dynamics-form'
2023-12-04 10:28:42 +00:00
import CardCheckbox from './card-checkbox/index.vue'
2023-12-07 07:22:07 +00:00
import AiChat from './ai-chat/index.vue'
2023-12-11 02:35:26 +00:00
import InfiniteScroll from './infinite-scroll/index.vue'
2023-12-04 10:28:42 +00:00
2023-10-12 08:36:16 +00:00
export default {
install(app: App) {
app.component(AppIcon.name, AppIcon)
2023-10-25 10:35:28 +00:00
app.component(AppAvatar.name, AppAvatar)
2023-10-12 08:36:16 +00:00
app.component(LoginLayout.name, LoginLayout)
app.component(LoginContainer.name, LoginContainer)
2023-11-03 09:45:01 +00:00
app.component(LayoutContainer.name, LayoutContainer)
2023-10-20 10:48:16 +00:00
app.component(TagsInput.name, TagsInput)
2023-10-25 10:35:28 +00:00
app.component(CardBox.name, CardBox)
app.component(CardAdd.name, CardAdd)
2023-10-27 09:49:06 +00:00
app.component(BackButton.name, BackButton)
2023-11-09 10:52:06 +00:00
app.component(AppTable.name, AppTable)
app.component(ReadWrite.name, ReadWrite)
2023-11-14 10:12:55 +00:00
app.component(TagEllipsis.name, TagEllipsis)
2023-11-15 09:42:31 +00:00
app.component(CommonList.name, CommonList)
2023-12-01 09:30:06 +00:00
app.use(dynamicsForm)
2023-11-30 03:29:31 +00:00
app.component(MarkdownRenderer.name, MarkdownRenderer)
2023-12-04 10:28:42 +00:00
app.component(CardCheckbox.name, CardCheckbox)
2023-12-07 07:22:07 +00:00
app.component(AiChat.name, AiChat)
2023-12-11 02:35:26 +00:00
app.component(InfiniteScroll.name, InfiniteScroll)
2023-10-12 08:36:16 +00:00
}
}