index.ts 639 Bytes
import { ChartFrameEnum, ConfigType } from '@/packages/index.d'
import { EPackagesCategoryEnum } from '@/packages/components/external/types'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'

const { key, chartKey, conKey } = useWidgetKey('DateTime')
export const DateTimeConfig: ConfigType = {
    key,
    chartKey,
    conKey,
    title: '日期时间',
    category: ChatCategoryEnum.MORE,
    categoryName: ChatCategoryEnumName.MORE,
    package: EPackagesCategoryEnum.COMPOSES,
    chartFrame: ChartFrameEnum.NAIVE_UI,
    image: 'dateTime.png',
}