import { ControlCategory } from '../types';

export const TIPOS_INGRESO: ControlCategory[] = [
  {
    value: 'Empleo principal',
    label: 'Empleo Principal',
    detail: [
      {
        input: 'select',
        options: ['Independiente', 'Empleado fijo', 'Otro'],
        label: 'Tipo de contrato',
        key: 'tipo_contrato',
      },
      {
        input: 'input',
        label: 'Detallar otro',
        key: 'tipo_contrato_otro',
        conditions: [
          {
            key: 'tipo_contrato',
            value: 'Otro',
            operator: '==',
          },
        ],
      },
    ],
  },
  {
    value: 'Trabajo adicional',
    label: 'Trabajo Adicional',
    detail: [
      {
        input: 'input',
        label: 'Especificar',
        key: 'detalle',
      },
    ],
  },
  {
    value: 'Pensión',
    label: 'Pensión, Jubilación o Seguridad Social',
  },
  {
    value: 'Manutención de menores',
    label: 'Manutención de menores',
  },
  {
    value: 'Ingresos por seguro de desempleo',
    label: 'Ingresos por Seguro de Desempleo o Discapacidad',
  },

  {
    value: 'Otros ingresos',
    label: 'Otros Ingresos',
  },
];
