import type { FormProps } from '../Form/types/form'; import type { tableProp } from './types'; export const basicProps = { showTableAction: { type: Boolean, default: true }, api: { type: Function as PropType, default: () => Promise.resolve() }, columns: { type: Array as PropType, default: () => [] }, searchFormConfig: { type: Object as PropType, default: { labelWidth: 120, layout: 'horizontal', gridProps: { cols: '1 xl:4 s:1 l:3', itemResponsive: true }, collapsedRows: 1 } }, tableConfig: { type: Object as PropType, default: { opWdith: 130, title: '', showDeleteButton: false, showAddButton: true, keyField: 'id', scrollX: 1000, showTableHeaderAction: true, showSearch: true } } };