index.ts
595 Bytes
import { useWidgetKey } from '@/packages/external/useWidgetKey'
import { ConfigType, ChartFrameEnum } from '@/packages/index.d'
import { EPackagesCategoryEnum } from '../../../types'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
const { key, conKey, chartKey } = useWidgetKey('WordCloud')
export const WordCloudConfig: ConfigType = {
key,
chartKey,
conKey,
title: '词云',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: EPackagesCategoryEnum.COMPOSES,
chartFrame: ChartFrameEnum.COMMON,
image: 'words_cloud.png'
}