import type { Config } from '~/components/pub/my-ui/data-table'
const action = defineAsyncComponent(() => import('./_common/btn-confirmation-detail.vue'))

export const detailTherapyProtocolListConfig: Config = {
  cols: [{}, {}, {}, {width: 100},],

  headers: [
    [
      { label: 'Program Kegiatan' },
      { label: 'Paraf Terapis' },
      { label: 'Paraf Dokter' },
      { label: 'Action' },
    ],
  ],

  keys: ['program', 'therapistSign', 'doctorSign', 'action'],

  parses: {  },
  components: {
    action(rec, idx) {
      return {
        idx,
        rec: rec as object,
        component: action,
      }
    },
  },
}