UNPKG

primeng

Version:

PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB

328 lines (327 loc) 9.8 kB
import { BaseStyle } from 'primeng/base'; import * as i0 from "@angular/core"; export declare class TableStyle extends BaseStyle { name: string; theme: ({ dt }: { dt: any; }) => string; classes: { root: ({ instance }: { instance: any; }) => { 'p-datatable p-component': boolean; 'p-datatable-hoverable': any; 'p-datatable-resizable': any; 'p-datatable-resizable-fit': boolean; 'p-datatable-scrollable': any; 'p-datatable-flex-scrollable': boolean; 'p-datatable-striped': any; 'p-datatable-gridlines': any; 'p-datatable-sm': boolean; 'p-datatable-lg': boolean; }; mask: string; loadingIcon: string; header: string; pcPaginator: ({ instance }: { instance: any; }) => string; tableContainer: string; table: ({ instance }: { instance: any; }) => { 'p-datatable-table': boolean; 'p-datatable-scrollable-table': any; 'p-datatable-resizable-table': any; 'p-datatable-resizable-table-fit': boolean; }; thead: string; columnResizer: string; columnHeaderContent: string; columnTitle: string; columnFooter: string; sortIcon: string; pcSortBadge: string; filter: ({ instance }: { instance: any; }) => { 'p-datatable-filter': boolean; 'p-datatable-inline-filter': boolean; 'p-datatable-popover-filter': boolean; }; filterElementContainer: string; pcColumnFilterButton: string; pcColumnFilterClearButton: string; filterOverlay: ({ instance }: { instance: any; }) => { 'p-datatable-filter-overlay p-component': boolean; 'p-datatable-filter-overlay-popover': boolean; }; filterConstraintList: string; filterConstraint: string; filterConstraintSeparator: string; filterOperator: string; pcFilterOperatorDropdown: string; filterRuleList: string; filterRule: string; pcFilterConstraintDropdown: string; pcFilterRemoveRuleButton: string; pcFilterAddRuleButton: string; filterButtonbar: string; pcFilterClearButton: string; pcFilterApplyButton: string; tbody: ({ instance }: { instance: any; }) => { 'p-datatable-tbody': boolean; 'p-datatable-frozen-tbody': any; 'p-virtualscroller-content': any; }; rowGroupHeader: string; rowToggleButton: string; rowToggleIcon: string; rowExpansion: string; rowGroupFooter: string; emptyMessage: string; bodyCell: ({ instance }: { instance: any; }) => { 'p-datatable-frozen-column': any; }; reorderableRowHandle: string; pcRowEditorInit: string; pcRowEditorSave: string; pcRowEditorCancel: string; tfoot: string; footerCell: ({ instance }: { instance: any; }) => { 'p-datatable-frozen-column': any; }; virtualScrollerSpacer: string; footer: string; columnResizeIndicator: string; rowReorderIndicatorUp: string; rowReorderIndicatorDown: string; }; inlineStyles: { tableContainer: ({ instance }: { instance: any; }) => { 'max-height': any; overflow: string; }; thead: { position: string; }; tfoot: { position: string; }; }; static ɵfac: i0.ɵɵFactoryDeclaration<TableStyle, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TableStyle>; } /** * * DataTable displays data in tabular format. * * [Live Demo](https://www.primeng.org/table/) * * @module tablestyle * */ export declare enum TableClasses { /** * Class name of the root element */ root = "p-datatable", /** * Class name of the mask element */ mask = "p-datatable-mask", /** * Class name of the loading icon element */ loadingIcon = "p-datatable-loading-icon", /** * Class name of the header element */ header = "p-datatable-header", /** * Class name of the paginator element */ pcPaginator = "p-datatable-paginator-[position]", /** * Class name of the table container element */ tableContainer = "p-datatable-table-container", /** * Class name of the table element */ table = "p-datatable-table", /** * Class name of the thead element */ thead = "p-datatable-thead", /** * Class name of the column resizer element */ columnResizer = "p-datatable-column-resizer", /** * Class name of the column header content element */ columnHeaderContent = "p-datatable-column-header-content", /** * Class name of the column title element */ columnTitle = "p-datatable-column-title", /** * Class name of the sort icon element */ sortIcon = "p-datatable-sort-icon", /** * Class name of the sort badge element */ pcSortBadge = "p-datatable-sort-badge", /** * Class name of the filter element */ filter = "p-datatable-filter", /** * Class name of the filter element container element */ filterElementContainer = "p-datatable-filter-element-container", /** * Class name of the column filter button element */ pcColumnFilterButton = "p-datatable-column-filter-button", /** * Class name of the column filter clear button element */ pcColumnFilterClearButton = "p-datatable-column-filter-clear-button", /** * Class name of the filter overlay element */ filterOverlay = "p-datatable-filter-overlay", /** * Class name of the filter constraint list element */ filterConstraintList = "p-datatable-filter-constraint-list", /** * Class name of the filter constraint element */ filterConstraint = "p-datatable-filter-constraint", /** * Class name of the filter constraint separator element */ filterConstraintSeparator = "p-datatable-filter-constraint-separator", /** * Class name of the filter operator element */ filterOperator = "p-datatable-filter-operator", /** * Class name of the filter operator dropdown element */ pcFilterOperatorDropdown = "p-datatable-filter-operator-dropdown", /** * Class name of the filter rule list element */ filterRuleList = "p-datatable-filter-rule-list", /** * Class name of the filter rule element */ filterRule = "p-datatable-filter-rule", /** * Class name of the filter constraint dropdown element */ pcFilterConstraintDropdown = "p-datatable-filter-constraint-dropdown", /** * Class name of the filter remove rule button element */ pcFilterRemoveRuleButton = "p-datatable-filter-remove-rule-button", /** * Class name of the filter add rule button element */ pcFilterAddRuleButton = "p-datatable-filter-add-rule-button", /** * Class name of the filter buttonbar element */ filterButtonbar = "p-datatable-filter-buttonbar", /** * Class name of the filter clear button element */ pcFilterClearButton = "p-datatable-filter-clear-button", /** * Class name of the filter apply button element */ pcFilterApplyButton = "p-datatable-filter-apply-button", /** * Class name of the tbody element */ tbody = "p-datatable-tbody", /** * Class name of the row group header element */ rowGroupHeader = "p-datatable-row-group-header", /** * Class name of the row toggle button element */ rowToggleButton = "p-datatable-row-toggle-button", /** * Class name of the row toggle icon element */ rowToggleIcon = "p-datatable-row-toggle-icon", /** * Class name of the row expansion element */ rowExpansion = "p-datatable-row-expansion", /** * Class name of the row group footer element */ rowGroupFooter = "p-datatable-row-group-footer", /** * Class name of the empty message element */ emptyMessage = "p-datatable-empty-message", /** * Class name of the reorderable row handle element */ reorderableRowHandle = "p-datatable-reorderable-row-handle", /** * Class name of the row editor init element */ pcRowEditorInit = "p-datatable-row-editor-init", /** * Class name of the row editor save element */ pcRowEditorSave = "p-datatable-row-editor-save", /** * Class name of the row editor cancel element */ pcRowEditorCancel = "p-datatable-row-editor-cancel", /** * Class name of the tfoot element */ tfoot = "p-datatable-tfoot", /** * Class name of the virtual scroller spacer element */ virtualScrollerSpacer = "p-datatable-virtualscroller-spacer", /** * Class name of the footer element */ footer = "p-datatable-footer", /** * Class name of the column resize indicator element */ columnResizeIndicator = "p-datatable-column-resize-indicator", /** * Class name of the row reorder indicator up element */ rowReorderIndicatorUp = "p-datatable-row-reorder-indicator-up", /** * Class name of the row reorder indicator down element */ rowReorderIndicatorDown = "p-datatable-row-reorder-indicator-down" }