2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* TreeTable is used to display hierarchical data in tabular format.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/treetable/)
|
|
|
|
*
|
|
|
|
* @module treetablestyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum TreeTableClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-treetable',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the loading element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
loading = 'p-treetable-loading',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the mask element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
mask = 'p-treetable-mask',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the loading icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
loadingIcon = 'p-treetable-loading-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-treetable-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the paginator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
paginator = 'p-treetable-paginator-[position]',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the table container element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
tableContainer = 'p-treetable-table-container',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the table element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
table = 'p-treetable-table',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the thead element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
thead = 'p-treetable-thead',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the column resizer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
columnResizer = 'p-treetable-column-resizer',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the column title element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
columnTitle = 'p-treetable-column-title',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the sort icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
sortIcon = 'p-treetable-sort-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the sort badge element
|
|
|
|
*/
|
2024-05-13 10:08:24 +00:00
|
|
|
pcSortBadge = 'p-treetable-sort-badge',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the tbody element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
tbody = 'p-treetable-tbody',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node toggle button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeToggleButton = 'p-treetable-node-toggle-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node toggle icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeToggleIcon = 'p-treetable-node-toggle-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node checkbox element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcNodeCheckbox = 'p-treetable-node-checkbox',
|
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-treetable-empty-message',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the tfoot element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
tfoot = 'p-treetable-tfoot',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the footer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
footer = 'p-treetable-footer',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the column resize indicator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
columnResizeIndicator = 'p-treetable-column-resize-indicator'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface TreeTableStyle extends BaseStyle {}
|