index.ts
605 Bytes
import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '@/packages/components/Informations/index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'
const { key, conKey, chartKey } = useWidgetKey('Tree', true)
export const TreeConfig: ConfigType = {
key,
chartKey,
conKey,
title: '自定义树形控件',
category: ChatCategoryEnum.INPUTS,
categoryName: ChatCategoryEnumName.INPUTS,
package: PackagesCategoryEnum.INFORMATIONS,
chartFrame: ChartFrameEnum.STATIC,
image: 'button.png'
}