@spaceone/design-system
Version:
SpaceONE Design System
44 lines (41 loc) • 1.1 kB
text/typescript
import { QueryTag } from '@/inputs/search/query-search-tags/type';
export interface PToolboxTableProps {
// PDataTableProps
loading: boolean;
fields: any[] | Readonly<any[]>;
items: any[];
sortable?: boolean;
sortBy?: string;
sortDesc?: boolean;
colCopy?: boolean;
selectable?: boolean;
selectIndex?: number[] | number;
multiSelect?: boolean;
rowClickMultiSelectMode?: boolean;
useCursorLoading?: boolean;
tableStyleType?: string;
striped?: boolean;
bordered?: boolean|null|unknown;
hover?: boolean;
width?: string;
rowHeightFixed?: boolean;
rowCursorPointer?: boolean;
//
paginationVisible?: boolean;
pageSizeVisible?: boolean;
settingVisible?: boolean;
refreshVisible?: boolean;
excelVisible?: boolean;
pageSize?: number;
allPage?: number;
thisPage?: number;
pageNationValues?: number[];
}
export interface ToolboxTableOptions {
sortBy?: string;
sortDesc?: boolean;
pageStart?: number;
pageLimit?: number;
searchText?: string;
queryTags?: QueryTag[];
}