import type { IVFormComponent } from '../types';

export const basicControls: IVFormComponent[] = [
  {
    label: '单行文本',
    fieldName: '',
    component: 'Input',
    icon: 'proicons:terminal',
    componentProps: {
      placeholder: '请输入单行文本',
      prefix: '',
      suffix: '',
      maxlength: 0,
      showCount: false,
    },
    hideLabel: false,
    rules: '',
  },
  {
    label: '多选文本',
    fieldName: '',
    component: 'Textarea',
    icon: 'proicons:screen-size',
    componentProps: {
      placeholder: '请输入多选文本',
      showCount: false,
      maxlength: 0,
    },
    hideLabel: false,
    rules: '',
  },
  {
    label: '密码框',
    fieldName: '',
    component: 'InputPassword',
    icon: 'proicons:lock',
    componentProps: {
      placeholder: '请输入密码框',
    },
    hideLabel: false,
    rules: '',
  },
  {
    label: '数字框',
    fieldName: '',
    component: 'InputNumber',
    icon: 'proicons:server',
    componentProps: {
      placeholder: '请输入数字框',
      min: 0,
      max: 100,
      step: 1,
    },
    hideLabel: false,
    rules: '',
  },
];
