2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* DataTable displays data in tabular format.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/datatable/)
|
|
|
|
*
|
|
|
|
* @module datatablestyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum DataTableClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-datatable',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the mask element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
mask = 'p-datatable-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-datatable-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-datatable-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-datatable-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-datatable-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-datatable-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-datatable-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-datatable-column-resizer',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the column header content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
columnHeaderContent = 'p-datatable-column-header-content',
|
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-datatable-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-datatable-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-datatable-sort-badge',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filter = 'p-datatable-filter',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter element container element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterElementContainer = 'p-datatable-filter-element-container',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the column filter button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcColumnFilterButton = 'p-datatable-column-filter-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the column filter clear button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcColumnFilterClearButton = 'p-datatable-column-filter-clear-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter overlay element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterOverlay = 'p-datatable-filter-overlay',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter constraint list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterConstraintList = 'p-datatable-filter-constraint-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter constraint element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterConstraint = 'p-datatable-filter-constraint',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter constraint separator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterConstraintSeparator = 'p-datatable-filter-constraint-separator',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter operator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterOperator = 'p-datatable-filter-operator',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter operator dropdown element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFilterOperatorDropdown = 'p-datatable-filter-operator-dropdown',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter rule list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterRuleList = 'p-datatable-filter-rule-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter rule element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterRule = 'p-datatable-filter-rule',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter constraint dropdown element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFilterConstraintDropdown = 'p-datatable-filter-constraint-dropdown',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter remove rule button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFilterRemoveRuleButton = 'p-datatable-filter-remove-rule-button',
|
2024-05-22 19:18:12 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter add rule button element
|
|
|
|
*/
|
|
|
|
pcFilterAddRuleButton = 'p-datatable-filter-add-rule-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter buttonbar element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
filterButtonbar = 'p-datatable-filter-buttonbar',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter clear button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFilterClearButton = 'p-datatable-filter-clear-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter apply button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFilterApplyButton = 'p-datatable-filter-apply-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the tbody element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
tbody = 'p-datatable-tbody',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row group header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rowGroupHeader = 'p-datatable-row-group-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row toggle button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rowToggleButton = 'p-datatable-row-toggle-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row toggle icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rowToggleIcon = 'p-datatable-row-toggle-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row expansion element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rowExpansion = 'p-datatable-row-expansion',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row group footer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rowGroupFooter = 'p-datatable-row-group-footer',
|
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-datatable-empty-message',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the reorderable row handle element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
reorderableRowHandle = 'p-datatable-reorderable-row-handle',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row editor init element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcRowEditorInit = 'p-datatable-row-editor-init',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row editor save element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcRowEditorSave = 'p-datatable-row-editor-save',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row editor cancel element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcRowEditorCancel = 'p-datatable-row-editor-cancel',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the tfoot element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
tfoot = 'p-datatable-tfoot',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the virtual scroller spacer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
virtualScrollerSpacer = 'p-datatable-virtualscroller-spacer',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the footer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
footer = 'p-datatable-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-datatable-column-resize-indicator',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row reorder indicator up element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rowReorderIndicatorUp = 'p-datatable-row-reorder-indicator-up',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row reorder indicator down element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rowReorderIndicatorDown = 'p-datatable-row-reorder-indicator-down'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface DataTableStyle extends BaseStyle {}
|