index.ts 597 Bytes
import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '@/packages/components/Charts/index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'

const { key, conKey, chartKey } = useWidgetKey('OverrideDial', true)

export const OverrideDialConfig: ConfigType = {
  key,
  chartKey,
  conKey,
  title: '自定义表盘',
  category: ChatCategoryEnum.MORE,
  categoryName: ChatCategoryEnumName.MORE,
  package: PackagesCategoryEnum.CHARTS,
  chartFrame: ChartFrameEnum.COMMON,
  image: 'dial.png'
}