import type { FormItem } from '@/components/search-form/types'

export const searchFormConfig: FormItem[] = [
  {
    field: 'keyword',
    label: '关键字',
    type: 'input',
    placeholder: '请输入告警名称、摘要或描述',
  },
  {
    field: 'status',
    label: '告警状态',
    type: 'select',
    placeholder: '请选择告警状态',
    options: [
      { label: '待处理', value: 'pending' },
      { label: '告警中', value: 'firing' },
      { label: '已解决', value: 'resolved' },
      { label: '已屏蔽', value: 'silenced' },
      { label: '已抑制', value: 'suppressed' },
      { label: '已确认', value: 'acked' },
    ],
  },
  {
    field: 'severity_id',
    label: '告警级别',
    type: 'select',
    placeholder: '请选择告警级别',
    options: [],
  },
]
