1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| export interface FieldNames {
| disabled?: string;
| label?: string;
| value?: string;
| }
|
| export const checkboxProps = {
| direction: {
| default: 'horizontal',
| type: String,
| },
| fieldNames: {
| default: () => ({ disabled: 'disabled', label: 'fullName', value: 'id' }),
| type: Object as PropType<FieldNames>,
| },
| options: {
| default: () => [],
| type: Array,
| },
| value: {
| type: Array as PropType<boolean[] | number[] | string[]>,
| },
| };
|
|