mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat:新增图表
This commit is contained in:
Vendored
+10
-4
@@ -6,16 +6,22 @@ export type ConfigType = {
|
||||
title: string
|
||||
category: string
|
||||
node: Component
|
||||
image: string | (() => Promise<typeof import("*.png")>),
|
||||
image: string | (() => Promise<typeof import('*.png')>)
|
||||
[T: string]: unknown
|
||||
}
|
||||
|
||||
|
||||
export enum PackagesCategoryEnum {
|
||||
CHARTS = 'CHARTS',
|
||||
TABLES = 'TABLES',
|
||||
INFORMATION = 'INFORMATION',
|
||||
DECORATES = 'DECORATES'
|
||||
DECORATES = 'DECORATES',
|
||||
}
|
||||
|
||||
export enum PackagesCategoryName {
|
||||
CHARTS = '图表',
|
||||
TABLES = '表格',
|
||||
INFORMATION = '信息',
|
||||
DECORATES = '小组件',
|
||||
}
|
||||
|
||||
export type PackagesType = {
|
||||
@@ -23,4 +29,4 @@ export type PackagesType = {
|
||||
[PackagesCategoryEnum.INFORMATION]: ConfigType[]
|
||||
[PackagesCategoryEnum.TABLES]: ConfigType[]
|
||||
[PackagesCategoryEnum.DECORATES]: ConfigType[]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user