2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* DataView displays data in grid or list layout with pagination and sorting features.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/dataview/)
|
|
|
|
*
|
|
|
|
* @module dataviewstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum DataViewClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-dataview',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-dataview-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the paginator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcPaginator = 'p-dataview-paginator-[position]',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
content = 'p-dataview-content',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the empty message element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
emptyMessage = 'p-dataview-empty-message', // TODO: remove?
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the footer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
footer = 'p-dataview-footer'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface DataViewStyle extends BaseStyle {}
|