index.ts 617 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('OverrideProcess', true)

export const OverrideProcessConfig: ConfigType = {
  key,
  chartKey,
  conKey,
  title: '自定义NaiveUI-进度',
  category: ChatCategoryEnum.MORE,
  categoryName: ChatCategoryEnumName.MORE,
  package: PackagesCategoryEnum.CHARTS,
  chartFrame: ChartFrameEnum.ECHARTS,
  image: 'process.png'
}