vue3-easy-data-table
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -6,3 +6,3 @@ { | ||
"private": false, | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"types": "./types/main.d.ts", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"dev": "vite", | ||
"build": "vue-tsc --noEmit && vite build", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview", | ||
@@ -36,0 +36,0 @@ "lint": "eslint --fix 'src/**/*.{vue,html,css,js,ts}'", |
@@ -1,49 +0,2 @@ | ||
export type SortType = 'asc' | 'desc' | ||
export type FilterComparison = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'between'; | ||
export type Item = Record<string, any> | ||
export type FilterOption = { | ||
field: string | ||
comparison: 'between' | ||
criteria: [number, number] | ||
} | { | ||
field: string | ||
comparison: '=' | '!=' | ||
criteria: number | string | ||
} | { | ||
field: string | ||
comparison: '>' | '>=' | '<' | '<=' | ||
criteria: number | ||
} | { | ||
field: string | ||
comparison: (value: any, criteria: string) => boolean | ||
criteria: string | ||
} | ||
export type Header = { | ||
text: string | ||
value: string | ||
sortable?: boolean | ||
fixed?: boolean | ||
width?: number | ||
} | ||
export type ServerOptions = { | ||
page: number | ||
rowsPerPage: number | ||
sortBy?: string | ||
sortType?: SortType | ||
} | ||
export type clickRowArgument = Item & { | ||
isSelected?: boolean | ||
indexInCurrentPage?: number | ||
} | ||
export type HeaderItemClassNameFunction = (header: Header, index: number) => string | ||
export type BodyRowClassNameFunction = (item: Item, index: number) => string | ||
export type BodyItemClassNameFunction = (column: string, index: number) => string | ||
export type { DataTableRef, UsePaginationReturn } from '../src/customization/usePagination'; | ||
export {}; | ||
//# sourceMappingURL=main.d.ts.map |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140873
58
2391