mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
- Update table grid for dynamic height row rendering - Expose reset rendered row methods for Grid - Expose enums in virtual table for user facing usages. - Update table-v2 style.
22 lines
362 B
TypeScript
22 lines
362 B
TypeScript
export enum SortOrder {
|
|
ASC = 'asc',
|
|
DESC = 'desc',
|
|
}
|
|
|
|
export enum Alignment {
|
|
CENTER = 'center',
|
|
RIGHT = 'right',
|
|
}
|
|
|
|
export enum FixedDir {
|
|
LEFT = 'left',
|
|
RIGHT = 'right',
|
|
}
|
|
|
|
export const oppositeOrderMap = {
|
|
[SortOrder.ASC]: SortOrder.DESC,
|
|
[SortOrder.DESC]: SortOrder.ASC,
|
|
}
|
|
|
|
export const sortOrders = [SortOrder.ASC, SortOrder.DESC] as const
|