feat: 新增组件预览

This commit is contained in:
MTrun
2022-03-07 12:33:05 +08:00
parent 8aa4490ea9
commit e6a99302d6
32 changed files with 102 additions and 93 deletions
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const FunnelConfig: ConfigType = {
key: 'VFunnel',
conKey: 'VCFunnel',
title: '漏斗图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: Funnel,
node: () => Funnel,
conNode: () => Configuration,
image: image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const HeatmapConfig: ConfigType = {
key: 'VHeatmap',
conKey: 'VCHeatmap',
title: '热力图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: Heatmap,
node: () => Heatmap,
conNode: () => Configuration,
image: image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const PointConfig: ConfigType = {
key: 'VPoint',
conKey: 'VCPoint',
title: '热力图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: Point,
node: () => Point,
conNode: () => Configuration,
image: image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const RadarConfig: ConfigType = {
key: 'VRadar',
conKey: 'VCRadar',
title: '雷达',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: Radar,
node: () => Radar,
conNode: () => Configuration,
image: image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const TreeMapConfig: ConfigType = {
key: 'VTreeMap',
conKey: 'VCTreeMap',
title: '树形分布',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: TreeMap,
node: () => TreeMap,
conNode: () => Configuration,
image: image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const VariableConfig: ConfigType = {
key: 'VVariable',
conKey: 'VCVariable',
title: '折线面积图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: Variable,
node: () => Variable,
conNode: () => Configuration,
image: image
}