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

export const searchFormConfig: FormItem[] = [
  {
    field: 'keyword',
    label: '关键字',
    type: 'input',
    placeholder: '请输入策略名称或描述',
  },
  {
    field: 'enabled',
    label: '启用状态',
    type: 'select',
    placeholder: '请选择启用状态',
    options: [
      { label: '全部', value: 'all' },
      { label: '已启用', value: 'true' },
      { label: '已禁用', value: 'false' },
    ],
  },
  {
    field: 'priority',
    label: '优先级',
    type: 'select',
    placeholder: '请选择优先级',
    options: [
      { label: '1 (最高)', value: 1 },
      { label: '2', value: 2 },
      { label: '3', value: 3 },
      { label: '4', value: 4 },
      { label: '5 (最低)', value: 5 },
    ],
  },
]
