import { ComponentDescription } from '@vtj/engine';
const TimePicker: ComponentDescription = {
  name: 'ElTimePicker',
  title: '时间选择器',
  groupId: 'el',
  childIncludes: false,
  categoryId: 'form',
  package: 'element-plus',
  props: [
    {
      name: 'modelValue',
      defaultValue: '',
      setters: 'ExpressionSetter'
    },
    {
      name: 'readonly',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'disabled',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'editable',
      defaultValue: true,
      setters: 'BooleanSetter'
    },
    {
      name: 'clearable',
      defaultValue: true,
      setters: 'BooleanSetter'
    },
    {
      name: 'size',
      defaultValue: 'default',
      options: ['large', 'default', 'small'],
      setters: 'SelectSetter'
    },
    {
      name: 'placeholder',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'startPlaceholder',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'endPlaceholder',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'isRange',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'arrowControl',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'popperClass',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'rangeSeparator',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'format',
      defaultValue: 'HH:mm:ss',
      setters: 'InputSetter'
    },
    {
      name: 'defaultValue',
      defaultValue: '',
      setters: ['InputSetter', 'ExpressionSetter']
    },
    {
      name: 'id',
      defaultValue: '',
      setters: ['InputSetter', 'JSONSetter']
    },
    {
      name: 'name',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'prefixIcon',
      defaultValue: 'Clock',
      setters: 'InputSetter'
    },
    {
      name: 'clearIcon',
      defaultValue: 'CircleClose',
      setters: 'InputSetter'
    },
    {
      name: 'disabledHours',
      defaultValue: '',
      setters: 'ExpressionSetter'
    },
    {
      name: 'disabledMinutes',
      defaultValue: '',
      setters: 'ExpressionSetter'
    },
    {
      name: 'disabledSeconds',
      defaultValue: '',
      setters: 'ExpressionSetter'
    },
    {
      name: 'teleported',
      defaultValue: true,
      setters: 'BooleanSetter'
    }
  ],
  events: ['change', 'blur', 'focus', 'visible-change']
};

export default TimePicker;
