import { AnimationEvent } from '@angular/animations'; import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core'; import { BlockableUI, FilterMetadata, FilterService, LazyLoadMeta, OverlayService, PrimeNGConfig, PrimeTemplate, ScrollerOptions, SelectItem, SortMeta, TableState } from 'primeng/api'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; import { Scroller } from 'primeng/scroller'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { Subscription } from 'rxjs'; import { ExportCSVOptions, TableColResizeEvent, TableColumnReorderEvent, TableContextMenuSelectEvent, TableEditCancelEvent, TableEditCompleteEvent, TableEditInitEvent, TableFilterEvent, TableHeaderCheckboxToggleEvent, TableLazyLoadEvent, TablePageEvent, TableRowCollapseEvent, TableRowExpandEvent, TableRowReorderEvent, TableRowSelectEvent, TableRowUnSelectEvent, TableSelectAllChangeEvent } from './table.interface'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "primeng/paginator"; import * as i3 from "primeng/inputtext"; import * as i4 from "primeng/dropdown"; import * as i5 from "@angular/forms"; import * as i6 from "primeng/button"; import * as i7 from "primeng/selectbutton"; import * as i8 from "primeng/calendar"; import * as i9 from "primeng/inputnumber"; import * as i10 from "primeng/tristatecheckbox"; import * as i11 from "primeng/scroller"; import * as i12 from "primeng/icons/arrowdown"; import * as i13 from "primeng/icons/arrowup"; import * as i14 from "primeng/icons/spinner"; import * as i15 from "primeng/icons/sortalt"; import * as i16 from "primeng/icons/sortamountupalt"; import * as i17 from "primeng/icons/sortamountdown"; import * as i18 from "primeng/icons/check"; import * as i19 from "primeng/icons/filter"; import * as i20 from "primeng/icons/filterslash"; import * as i21 from "primeng/icons/plus"; import * as i22 from "primeng/icons/trash"; import * as i23 from "primeng/api"; export declare class TableService { private sortSource; private selectionSource; private contextMenuSource; private valueSource; private totalRecordsSource; private columnsSource; sortSource$: import("rxjs").Observable; selectionSource$: import("rxjs").Observable; contextMenuSource$: import("rxjs").Observable; valueSource$: import("rxjs").Observable; totalRecordsSource$: import("rxjs").Observable; columnsSource$: import("rxjs").Observable; onSort(sortMeta: SortMeta | SortMeta[] | null): void; onSelectionChange(): void; onContextMenu(data: any): void; onValueChange(value: any): void; onTotalRecordsChange(value: number): void; onColumnsChange(columns: any[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Table displays data in tabular format. * @group Components */ export declare class Table implements OnInit, AfterViewInit, AfterContentInit, BlockableUI, OnChanges { private document; private platformId; private renderer; el: ElementRef; zone: NgZone; tableService: TableService; cd: ChangeDetectorRef; filterService: FilterService; overlayService: OverlayService; config: PrimeNGConfig; /** * An array of objects to represent dynamic columns that are frozen. * @group Props */ frozenColumns: any[] | undefined; /** * An array of objects to display as frozen. * @group Props */ frozenValue: any[] | undefined; /** * Inline style of the component. * @group Props */ style: { [klass: string]: any; } | null | undefined; /** * Style class of the component. * @group Props */ styleClass: string | undefined; /** * Inline style of the table. * @group Props */ tableStyle: { [klass: string]: any; } | null | undefined; /** * Style class of the table. * @group Props */ tableStyleClass: string | undefined; /** * When specified as true, enables the pagination. * @group Props */ paginator: boolean | undefined; /** * Number of page links to display in paginator. * @group Props */ pageLinks: number; /** * Array of integer/object values to display inside rows per page dropdown of paginator * @group Props */ rowsPerPageOptions: any[] | undefined; /** * Whether to show it even there is only one page. * @group Props */ alwaysShowPaginator: boolean; /** * Position of the paginator, options are "top", "bottom" or "both". * @group Props */ paginatorPosition: 'top' | 'bottom' | 'both'; /** * Custom style class for paginator * @group Props */ paginatorStyleClass: string | undefined; /** * Target element to attach the paginator dropdown overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). * @group Props */ paginatorDropdownAppendTo: HTMLElement | ElementRef | TemplateRef | string | null | undefined | any; /** * Paginator dropdown height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value. * @group Props */ paginatorDropdownScrollHeight: string; /** * Template of the current page report element. Available placeholders are {currentPage},{totalPages},{rows},{first},{last} and {totalRecords} * @group Props */ currentPageReportTemplate: string; /** * Whether to display current page report. * @group Props */ showCurrentPageReport: boolean | undefined; /** * Whether to display a dropdown to navigate to any page. * @group Props */ showJumpToPageDropdown: boolean | undefined; /** * Whether to display a input to navigate to any page. * @group Props */ showJumpToPageInput: boolean | undefined; /** * When enabled, icons are displayed on paginator to go first and last page. * @group Props */ showFirstLastIcon: boolean; /** * Whether to show page links. * @group Props */ showPageLinks: boolean; /** * Sort order to use when an unsorted column gets sorted by user interaction. * @group Props */ defaultSortOrder: number; /** * Defines whether sorting works on single column or on multiple columns. * @group Props */ sortMode: 'single' | 'multiple'; /** * When true, resets paginator to first page after sorting. Available only when sortMode is set to single. * @group Props */ resetPageOnSort: boolean; /** * Specifies the selection mode, valid values are "single" and "multiple". * @group Props */ selectionMode: 'single' | 'multiple' | undefined | null; /** * When enabled with paginator and checkbox selection mode, the select all checkbox in the header will select all rows on the current page. * @group Props */ selectionPageOnly: boolean | undefined; /** * Selected row with a context menu. * @group Props */ contextMenuSelection: any; /** * Callback to invoke on context menu selection change. * @param {*} object - row data. * @group Emits */ contextMenuSelectionChange: EventEmitter; /** * Defines the behavior of context menu selection, in "separate" mode context menu updates contextMenuSelection property whereas in joint mode selection property is used instead so that when row selection is enabled, both row selection and context menu selection use the same property. * @group Props */ contextMenuSelectionMode: string; /** * A property to uniquely identify a record in data. * @group Props */ dataKey: string | undefined; /** * Defines whether metaKey should be considered for the selection. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ metaKeySelection: boolean | undefined; /** * Defines if the row is selectable. * @group Props */ rowSelectable: (row: { data: any; index: number; }) => boolean | undefined; /** * Function to optimize the dom operations by delegating to ngForTrackBy, default algorithm checks for object identity. * @group Props */ rowTrackBy: Function; /** * Defines if data is loaded and interacted with in lazy manner. * @group Props */ lazy: boolean; /** * Whether to call lazy loading on initialization. * @group Props */ lazyLoadOnInit: boolean; /** * Algorithm to define if a row is selected, valid values are "equals" that compares by reference and "deepEquals" that compares all fields. * @group Props */ compareSelectionBy: 'equals' | 'deepEquals'; /** * Character to use as the csv separator. * @group Props */ csvSeparator: string; /** * Name of the exported file. * @group Props */ exportFilename: string; /** * An array of FilterMetadata objects to provide external filters. * @group Props */ filters: { [s: string]: FilterMetadata | FilterMetadata[]; }; /** * An array of fields as string to use in global filtering. * @group Props */ globalFilterFields: string[] | undefined; /** * Delay in milliseconds before filtering the data. * @group Props */ filterDelay: number; /** * Locale to use in filtering. The default locale is the host environment's current locale. * @group Props */ filterLocale: string | undefined; /** * Map instance to keep the expanded rows where key of the map is the data key of the row. * @group Props */ expandedRowKeys: { [s: string]: boolean; }; /** * Map instance to keep the rows being edited where key of the map is the data key of the row. * @group Props */ editingRowKeys: { [s: string]: boolean; }; /** * Whether multiple rows can be expanded at any time. Valid values are "multiple" and "single". * @group Props */ rowExpandMode: 'multiple' | 'single'; /** * Enables scrollable tables. * @group Props */ scrollable: boolean | undefined; /** * Orientation of the scrolling, options are "vertical", "horizontal" and "both". * @group Props * @deprecated Property is obselete since v14.2.0. */ scrollDirection: 'vertical' | 'horizontal' | 'both'; /** * Type of the row grouping, valid values are "subheader" and "rowspan". * @group Props */ rowGroupMode: 'subheader' | 'rowspan' | undefined; /** * Height of the scroll viewport in fixed pixels or the "flex" keyword for a dynamic size. * @group Props */ scrollHeight: string | undefined; /** * Whether the data should be loaded on demand during scroll. * @group Props */ virtualScroll: boolean | undefined; /** * Height of a row to use in calculations of virtual scrolling. * @group Props */ virtualScrollItemSize: number | undefined; /** * Whether to use the scroller feature. The properties of scroller component can be used like an object in it. * @group Props */ virtualScrollOptions: ScrollerOptions | undefined; /** * Threshold in milliseconds to delay lazy loading during scrolling. * @group Props */ virtualScrollDelay: number; /** * Width of the frozen columns container. * @group Props */ frozenWidth: string | undefined; /** * Defines if the table is responsive. * @group Props * @deprecated table is always responsive with scrollable behavior. */ get responsive(): boolean | undefined | null; set responsive(val: boolean | undefined | null); _responsive: boolean | undefined | null; /** * Local ng-template varilable of a ContextMenu. * @group Props */ contextMenu: any; /** * When enabled, columns can be resized using drag and drop. * @group Props */ resizableColumns: boolean | undefined; /** * Defines whether the overall table width should change on column resize, valid values are "fit" and "expand". * @group Props */ columnResizeMode: string; /** * When enabled, columns can be reordered using drag and drop. * @group Props */ reorderableColumns: boolean | undefined; /** * Displays a loader to indicate data load is in progress. * @group Props */ loading: boolean | undefined; /** * The icon to show while indicating data load is in progress. * @group Props */ loadingIcon: string | undefined; /** * Whether to show the loading mask when loading property is true. * @group Props */ showLoader: boolean; /** * Adds hover effect to rows without the need for selectionMode. Note that tr elements that can be hovered need to have "p-selectable-row" class for rowHover to work. * @group Props */ rowHover: boolean | undefined; /** * Whether to use the default sorting or a custom one using sortFunction. * @group Props */ customSort: boolean | undefined; /** * Whether to use the initial sort badge or not. * @group Props */ showInitialSortBadge: boolean; /** * Whether the cell widths scale according to their content or not. Deprecated: Table layout is always "auto". * @group Props */ autoLayout: boolean | undefined; /** * Export function. * @group Props */ exportFunction: Function | undefined; /** * Custom export header of the column to be exported as CSV. * @group Props */ exportHeader: string | undefined; /** * Unique identifier of a stateful table to use in state storage. * @group Props */ stateKey: string | undefined; /** * Defines where a stateful table keeps its state, valid values are "session" for sessionStorage and "local" for localStorage. * @group Props */ stateStorage: 'session' | 'local'; /** * Defines the editing mode, valid values are "cell" and "row". * @group Props */ editMode: 'cell' | 'row'; /** * Field name to use in row grouping. * @group Props */ groupRowsBy: any; /** * Order to sort when default row grouping is enabled. * @group Props */ groupRowsByOrder: number; /** * Defines the responsive mode, valid options are "stack" and "scroll". * @group Props */ responsiveLayout: string; /** * The breakpoint to define the maximum width boundary when using stack responsive layout. * @group Props */ breakpoint: string; /** * Locale to be used in paginator formatting. * @group Props */ paginatorLocale: string | undefined; /** * An array of objects to display. * @group Props */ get value(): any[]; set value(val: any[]); /** * An array of objects to represent dynamic columns. * @group Props */ get columns(): any[] | undefined; set columns(cols: any[] | undefined); /** * Index of the first row to be displayed. * @group Props */ get first(): number | null | undefined; set first(val: number | null | undefined); /** * Number of rows to display per page. * @group Props */ get rows(): number | undefined; set rows(val: number | undefined); /** * Number of total records, defaults to length of value when not defined. * @group Props */ get totalRecords(): number; set totalRecords(val: number); /** * Name of the field to sort data by default. * @group Props */ get sortField(): string | undefined | null; set sortField(val: string | undefined | null); /** * Order to sort when default sorting is enabled. * @group Props */ get sortOrder(): number; set sortOrder(val: number); /** * An array of SortMeta objects to sort the data by default in multiple sort mode. * @group Props */ get multiSortMeta(): SortMeta[] | undefined | null; set multiSortMeta(val: SortMeta[] | undefined | null); /** * Selected row in single mode or an array of values in multiple mode. * @group Props */ get selection(): any; set selection(val: any); /** * Whether all data is selected. * @group Props */ get selectAll(): boolean | null; set selectAll(val: boolean | null); /** * Emits when the all of the items selected or unselected. * @param {TableSelectAllChangeEvent} event - custom all selection change event. * @group Emits */ selectAllChange: EventEmitter; /** * Callback to invoke on selection changed. * @param {any | null} value - selected data. * @group Emits */ selectionChange: EventEmitter; /** * Callback to invoke when a row is selected. * @param {TableRowSelectEvent} event - custom select event. * @group Emits */ onRowSelect: EventEmitter; /** * Callback to invoke when a row is unselected. * @param {TableRowUnSelectEvent} event - custom unselect event. * @group Emits */ onRowUnselect: EventEmitter; /** * Callback to invoke when pagination occurs. * @param {TablePageEvent} event - custom pagination event. * @group Emits */ onPage: EventEmitter; /** * Callback to invoke when a column gets sorted. * @param {Object} object - sort meta. * @group Emits */ onSort: EventEmitter<{ multisortmeta: SortMeta[]; } | any>; /** * Callback to invoke when data is filtered. * @param {TableFilterEvent} event - custom filtering event. * @group Emits */ onFilter: EventEmitter; /** * Callback to invoke when paging, sorting or filtering happens in lazy mode. * @param {TableLazyLoadEvent} event - custom lazy loading event. * @group Emits */ onLazyLoad: EventEmitter; /** * Callback to invoke when a row is expanded. * @param {TableRowExpandEvent} event - custom row expand event. * @group Emits */ onRowExpand: EventEmitter; /** * Callback to invoke when a row is collapsed. * @param {TableRowCollapseEvent} event - custom row collapse event. * @group Emits */ onRowCollapse: EventEmitter; /** * Callback to invoke when a row is selected with right click. * @param {TableContextMenuSelectEvent} event - custom context menu select event. * @group Emits */ onContextMenuSelect: EventEmitter; /** * Callback to invoke when a column is resized. * @param {TableColResizeEvent} event - custom column resize event. * @group Emits */ onColResize: EventEmitter; /** * Callback to invoke when a column is reordered. * @param {TableColumnReorderEvent} event - custom column reorder event. * @group Emits */ onColReorder: EventEmitter; /** * Callback to invoke when a row is reordered. * @param {TableRowReorderEvent} event - custom row reorder event. * @group Emits */ onRowReorder: EventEmitter; /** * Callback to invoke when a cell switches to edit mode. * @param {TableEditInitEvent} event - custom edit init event. * @group Emits */ onEditInit: EventEmitter; /** * Callback to invoke when cell edit is completed. * @param {TableEditCompleteEvent} event - custom edit complete event. * @group Emits */ onEditComplete: EventEmitter; /** * Callback to invoke when cell edit is cancelled with escape key. * @param {TableEditCancelEvent} event - custom edit cancel event. * @group Emits */ onEditCancel: EventEmitter; /** * Callback to invoke when state of header checkbox changes. * @param {TableHeaderCheckboxToggleEvent} event - custom header checkbox event. * @group Emits */ onHeaderCheckboxToggle: EventEmitter; /** * A function to implement custom sorting, refer to sorting section for details. * @param {any} any - sort meta. * @group Emits */ sortFunction: EventEmitter; /** * Callback to invoke on pagination. * @param {number} number - first element. * @group Emits */ firstChange: EventEmitter; /** * Callback to invoke on rows change. * @param {number} number - Row count. * @group Emits */ rowsChange: EventEmitter; /** * Callback to invoke table state is saved. * @param {TableState} object - table state. * @group Emits */ onStateSave: EventEmitter; /** * Callback to invoke table state is restored. * @param {TableState} object - table state. * @group Emits */ onStateRestore: EventEmitter; containerViewChild: Nullable; resizeHelperViewChild: Nullable; reorderIndicatorUpViewChild: Nullable; reorderIndicatorDownViewChild: Nullable; wrapperViewChild: Nullable; tableViewChild: Nullable; tableHeaderViewChild: Nullable; tableFooterViewChild: Nullable; scroller: Nullable; templates: Nullable>; /** * Indicates the height of rows to be scrolled. * @group Props * @deprecated use virtualScrollItemSize property instead. */ get virtualRowHeight(): number; set virtualRowHeight(val: number); _virtualRowHeight: number; _value: any[]; _columns: any[] | undefined; _totalRecords: number; _first: number | null | undefined; _rows: number | undefined; filteredValue: any[] | undefined | null; headerTemplate: Nullable>; headerGroupedTemplate: Nullable>; bodyTemplate: Nullable>; loadingBodyTemplate: Nullable>; captionTemplate: Nullable>; footerTemplate: Nullable>; footerGroupedTemplate: Nullable>; summaryTemplate: Nullable>; colGroupTemplate: Nullable>; expandedRowTemplate: Nullable>; groupHeaderTemplate: Nullable>; groupFooterTemplate: Nullable>; frozenExpandedRowTemplate: Nullable>; frozenHeaderTemplate: Nullable>; frozenBodyTemplate: Nullable>; frozenFooterTemplate: Nullable>; frozenColGroupTemplate: Nullable>; emptyMessageTemplate: Nullable>; paginatorLeftTemplate: Nullable>; paginatorRightTemplate: Nullable>; paginatorDropdownItemTemplate: Nullable>; loadingIconTemplate: Nullable>; reorderIndicatorUpIconTemplate: Nullable>; reorderIndicatorDownIconTemplate: Nullable>; sortIconTemplate: Nullable>; checkboxIconTemplate: Nullable>; headerCheckboxIconTemplate: Nullable>; paginatorDropdownIconTemplate: Nullable>; paginatorFirstPageLinkIconTemplate: Nullable>; paginatorLastPageLinkIconTemplate: Nullable>; paginatorPreviousPageLinkIconTemplate: Nullable>; paginatorNextPageLinkIconTemplate: Nullable>; selectionKeys: any; lastResizerHelperX: number | undefined; reorderIconWidth: number | undefined; reorderIconHeight: number | undefined; draggedColumn: any; draggedRowIndex: number | undefined | null; droppedRowIndex: number | undefined | null; rowDragging: boolean | undefined | null; dropPosition: number | undefined | null; editingCell: Element | undefined | null; editingCellData: any; editingCellField: any; editingCellRowIndex: number | undefined | null; selfClick: boolean | undefined | null; documentEditListener: any; _multiSortMeta: SortMeta[] | undefined | null; _sortField: string | undefined | null; _sortOrder: number; preventSelectionSetterPropagation: boolean | undefined; _selection: any; _selectAll: boolean | null; anchorRowIndex: number | undefined | null; rangeRowIndex: number | undefined; filterTimeout: any; initialized: boolean | undefined | null; rowTouched: boolean | undefined; restoringSort: boolean | undefined; restoringFilter: boolean | undefined; stateRestored: boolean | undefined; columnOrderStateRestored: boolean | undefined; columnWidthsState: string | undefined; tableWidthState: string | undefined; overlaySubscription: Subscription | undefined; resizeColumnElement: any; columnResizing: boolean; rowGroupHeaderStyleObject: any; id: string; styleElement: any; responsiveStyleElement: any; private window; constructor(document: Document, platformId: any, renderer: Renderer2, el: ElementRef, zone: NgZone, tableService: TableService, cd: ChangeDetectorRef, filterService: FilterService, overlayService: OverlayService, config: PrimeNGConfig); ngOnInit(): void; ngAfterContentInit(): void; ngAfterViewInit(): void; ngOnChanges(simpleChange: SimpleChanges): void; get processedData(): any[]; private _initialColWidths; dataToRender(data: any): any; updateSelectionKeys(): void; onPageChange(event: TablePageEvent): void; sort(event: any): void; sortSingle(): void; sortMultiple(): void; multisortField(data1: any, data2: any, multiSortMeta: SortMeta[], index: number): any; compareValuesOnSort(value1: any, value2: any, order: any): number; getSortMeta(field: string): SortMeta; isSorted(field: string): boolean; handleRowClick(event: any): void; handleRowTouchEnd(event: Event): void; handleRowRightClick(event: any): void; selectRange(event: MouseEvent | KeyboardEvent, rowIndex: number): void; clearSelectionRange(event: MouseEvent | KeyboardEvent): void; isSelected(rowData: any): boolean; findIndexInSelection(rowData: any): number; isRowSelectable(data: any, index: number): boolean; toggleRowWithRadio(event: any, rowData: any): void; toggleRowWithCheckbox(event: any, rowData: any): void; toggleRowsWithCheckbox(event: Event, check: boolean): void; equals(data1: any, data2: any): boolean; filter(value: any, field: string, matchMode: string): void; filterGlobal(value: any, matchMode: string): void; isFilterBlank(filter: any): boolean; _filter(): void; executeLocalFilter(field: string, rowData: any, filterMeta: FilterMetadata): boolean; hasFilter(): boolean; createLazyLoadMetadata(): any; clear(): void; clearFilterValues(): void; reset(): void; getExportHeader(column: any): any; /** * Data export method. * @param {ExportCSVOptions} object - Export options. * @group Method */ exportCSV(options?: ExportCSVOptions): void; onLazyItemLoad(event: LazyLoadMeta): void; /** * Resets scroll to top. * @group Method */ resetScrollTop(): void; /** * Scrolls to given index when using virtual scroll. * @param {number} index - index of the element. * @group Method */ scrollToVirtualIndex(index: number): void; /** * Scrolls to given index. * @param {ScrollToOptions} options - scroll options. * @group Method */ scrollTo(options: any): void; updateEditingCell(cell: any, data: any, field: string, index: number): void; isEditingCellValid(): boolean; bindDocumentEditListener(): void; unbindDocumentEditListener(): void; initRowEdit(rowData: any): void; saveRowEdit(rowData: any, rowElement: HTMLTableRowElement): void; cancelRowEdit(rowData: any): void; toggleRow(rowData: any, event?: Event): void; isRowExpanded(rowData: any): boolean; isRowEditing(rowData: any): boolean; isSingleSelectionMode(): boolean; isMultipleSelectionMode(): boolean; onColumnResizeBegin(event: any): void; onColumnResize(event: any): void; onColumnResizeEnd(): void; private _totalTableWidth; onColumnDragStart(event: any, columnElement: any): void; onColumnDragEnter(event: any, dropHeader: any): void; onColumnDragLeave(event: Event): void; onColumnDrop(event: Event, dropColumn: any): void; resizeTableCells(newColumnWidth: number, nextColumnWidth: number | null): void; updateStyleElement(width: number[], colIndex: number, newColumnWidth: number, nextColumnWidth: number | null): void; onRowDragStart(event: any, index: number): void; onRowDragOver(event: MouseEvent, index: number, rowElement: any): void; onRowDragLeave(event: Event, rowElement: any): void; onRowDragEnd(event: Event): void; onRowDrop(event: Event, rowElement: any): void; isEmpty(): boolean; getBlockableElement(): HTMLElement; getStorage(): Storage; isStateful(): boolean; saveState(): void; clearState(): void; restoreState(): void; saveColumnWidths(state: any): void; setResizeTableWidth(width: string): void; restoreColumnWidths(): void; saveColumnOrder(state: any): void; restoreColumnOrder(): void; findColumnByKey(key: any): any; createStyleElement(): void; getGroupRowsMeta(): { field: any; order: number; }; createResponsiveStyle(): void; destroyResponsiveStyle(): void; destroyStyleElement(): void; ngOnDestroy(): void; getPaginatorStyleClasses(className?: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_paginator: unknown; static ngAcceptInputType_pageLinks: unknown; static ngAcceptInputType_alwaysShowPaginator: unknown; static ngAcceptInputType_showCurrentPageReport: unknown; static ngAcceptInputType_showJumpToPageDropdown: unknown; static ngAcceptInputType_showJumpToPageInput: unknown; static ngAcceptInputType_showFirstLastIcon: unknown; static ngAcceptInputType_showPageLinks: unknown; static ngAcceptInputType_defaultSortOrder: unknown; static ngAcceptInputType_resetPageOnSort: unknown; static ngAcceptInputType_selectionPageOnly: unknown; static ngAcceptInputType_metaKeySelection: unknown; static ngAcceptInputType_lazy: unknown; static ngAcceptInputType_lazyLoadOnInit: unknown; static ngAcceptInputType_filterDelay: unknown; static ngAcceptInputType_scrollable: unknown; static ngAcceptInputType_virtualScroll: unknown; static ngAcceptInputType_virtualScrollItemSize: unknown; static ngAcceptInputType_virtualScrollDelay: unknown; static ngAcceptInputType_resizableColumns: unknown; static ngAcceptInputType_reorderableColumns: unknown; static ngAcceptInputType_loading: unknown; static ngAcceptInputType_showLoader: unknown; static ngAcceptInputType_rowHover: unknown; static ngAcceptInputType_customSort: unknown; static ngAcceptInputType_showInitialSortBadge: unknown; static ngAcceptInputType_autoLayout: unknown; static ngAcceptInputType_groupRowsByOrder: unknown; } export declare class TableBody implements AfterViewInit, OnDestroy { dt: Table; tableService: TableService; cd: ChangeDetectorRef; el: ElementRef; columns: any[] | undefined; template: Nullable>; get value(): any[] | undefined; set value(val: any[] | undefined); frozen: boolean | undefined; frozenRows: boolean | undefined; scrollerOptions: any; subscription: Subscription; _value: any[] | undefined; ngAfterViewInit(): void; constructor(dt: Table, tableService: TableService, cd: ChangeDetectorRef, el: ElementRef); shouldRenderRowGroupHeader(value: any, rowData: any, i: number): boolean; shouldRenderRowGroupFooter(value: any, rowData: any, i: number): boolean; shouldRenderRowspan(value: any, rowData: any, i: number): boolean; calculateRowGroupSize(value: any, rowData: any, index: number): number; ngOnDestroy(): void; updateFrozenRowStickyPosition(): void; updateFrozenRowGroupHeaderStickyPosition(): void; getScrollerOption(option: any, options?: any): any; getRowIndex(rowIndex: number): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_frozen: unknown; static ngAcceptInputType_frozenRows: unknown; } export declare class RowGroupHeader { dt: Table; constructor(dt: Table); get getFrozenRowGroupHeaderStickyPosition(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class FrozenColumn implements AfterViewInit { private el; private zone; get frozen(): boolean; set frozen(val: boolean); alignFrozen: string; constructor(el: ElementRef, zone: NgZone); ngAfterViewInit(): void; recalculateColumns(): void; _frozen: boolean; updateStickyPosition(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class SortableColumn implements OnInit, OnDestroy { dt: Table; field: string | undefined; pSortableColumnDisabled: boolean | undefined; sorted: boolean | undefined; sortOrder: string | undefined; subscription: Subscription | undefined; constructor(dt: Table); ngOnInit(): void; updateSortState(): void; onClick(event: MouseEvent): void; onEnterKey(event: MouseEvent): void; isEnabled(): boolean; isFilterElement(element: HTMLElement): boolean; private isFilterElementIconOrButton; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pSortableColumnDisabled: unknown; } export declare class SortIcon implements OnInit, OnDestroy { dt: Table; cd: ChangeDetectorRef; field: string | undefined; subscription: Subscription | undefined; sortOrder: number | undefined; constructor(dt: Table, cd: ChangeDetectorRef); ngOnInit(): void; onClick(event: Event): void; updateSortState(): void; getMultiSortMetaIndex(): number; getBadgeValue(): number; isMultiSorted(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class SelectableRow implements OnInit, OnDestroy { dt: Table; tableService: TableService; private el; data: any; index: number | undefined; pSelectableRowDisabled: boolean | undefined; selected: boolean | undefined; subscription: Subscription | undefined; constructor(dt: Table, tableService: TableService, el: ElementRef); setRowTabIndex(): 0 | -1; ngOnInit(): void; onClick(event: Event): void; onTouchEnd(event: Event): void; onKeyDown(event: KeyboardEvent): void; onArrowDownKey(event: KeyboardEvent): void; onArrowUpKey(event: KeyboardEvent): void; onEnterKey(event: KeyboardEvent): void; onEndKey(event: KeyboardEvent): void; onHomeKey(event: KeyboardEvent): void; onSpaceKey(event: any): void; focusRowChange(firstFocusableRow: any, currentFocusedRow: any): void; findLastSelectableRow(): any; findFirstSelectableRow(): any; findNextSelectableRow(row: HTMLTableRowElement): HTMLTableRowElement | null; findPrevSelectableRow(row: HTMLTableRowElement): HTMLTableRowElement | null; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pSelectableRowDisabled: unknown; } export declare class SelectableRowDblClick implements OnInit, OnDestroy { dt: Table; tableService: TableService; data: any; index: number | undefined; pSelectableRowDisabled: boolean | undefined; selected: boolean | undefined; subscription: Subscription | undefined; constructor(dt: Table, tableService: TableService); ngOnInit(): void; onClick(event: Event): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pSelectableRowDisabled: unknown; } export declare class ContextMenuRow { dt: Table; tableService: TableService; private el; data: any; index: number | undefined; pContextMenuRowDisabled: boolean | undefined; selected: boolean | undefined; subscription: Subscription | undefined; constructor(dt: Table, tableService: TableService, el: ElementRef); onContextMenu(event: Event): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pContextMenuRowDisabled: unknown; } export declare class RowToggler { dt: Table; data: any; pRowTogglerDisabled: boolean | undefined; constructor(dt: Table); onClick(event: Event): void; isEnabled(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pRowTogglerDisabled: unknown; } export declare class ResizableColumn implements AfterViewInit, OnDestroy { private document; private platformId; private renderer; dt: Table; el: ElementRef; zone: NgZone; pResizableColumnDisabled: boolean | undefined; resizer: HTMLSpanElement | undefined; resizerMouseDownListener: VoidListener; resizerTouchStartListener: VoidListener; resizerTouchMoveListener: VoidListener; resizerTouchEndListener: VoidListener; documentMouseMoveListener: VoidListener; documentMouseUpListener: VoidListener; constructor(document: Document, platformId: any, renderer: Renderer2, dt: Table, el: ElementRef, zone: NgZone); ngAfterViewInit(): void; bindDocumentEvents(): void; unbindDocumentEvents(): void; onMouseDown(event: MouseEvent): void; onTouchStart(event: TouchEvent): void; onTouchMove(event: TouchEvent): void; onDocumentMouseMove(event: MouseEvent): void; onDocumentMouseUp(event: MouseEvent): void; onTouchEnd(event: TouchEvent): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pResizableColumnDisabled: unknown; } export declare class ReorderableColumn implements AfterViewInit, OnDestroy { private platformId; private renderer; dt: Table; el: ElementRef; zone: NgZone; pReorderableColumnDisabled: boolean | undefined; dragStartListener: VoidListener; dragOverListener: VoidListener; dragEnterListener: VoidListener; dragLeaveListener: VoidListener; mouseDownListener: VoidListener; constructor(platformId: any, renderer: Renderer2, dt: Table, el: ElementRef, zone: NgZone); ngAfterViewInit(): void; bindEvents(): void; unbindEvents(): void; onMouseDown(event: any): void; onDragStart(event: any): void; onDragOver(event: any): void; onDragEnter(event: any): void; onDragLeave(event: any): void; onDrop(event: any): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pReorderableColumnDisabled: unknown; } export declare class EditableColumn implements OnChanges, AfterViewInit, OnDestroy { dt: Table; el: ElementRef; zone: NgZone; data: any; field: any; rowIndex: number | undefined; pEditableColumnDisabled: boolean | undefined; pFocusCellSelector: string | undefined; overlayEventListener: any; constructor(dt: Table, el: ElementRef, zone: NgZone); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; onClick(event: MouseEvent): void; openCell(): void; closeEditingCell(completed: any, event: Event): void; onEnterKeyDown(event: KeyboardEvent): void; onTabKeyDown(event: KeyboardEvent): void; onEscapeKeyDown(event: KeyboardEvent): void; onShiftKeyDown(event: KeyboardEvent): void; onArrowDown(event: KeyboardEvent): void; onArrowUp(event: KeyboardEvent): void; onArrowLeft(event: KeyboardEvent): void; onArrowRight(event: KeyboardEvent): void; findCell(element: any): any; moveToPreviousCell(event: KeyboardEvent): void; moveToNextCell(event: KeyboardEvent): void; findPreviousEditableColumn(cell: any): HTMLTableCellElement | null; findNextEditableColumn(cell: any): HTMLTableCellElement | null; findNextEditableColumnByIndex(cell: Element, index: number): Element; findPrevEditableColumnByIndex(cell: Element, index: number): Element; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pEditableColumnDisabled: unknown; } export declare class EditableRow { el: ElementRef; data: any; pEditableRowDisabled: boolean | undefined; constructor(el: ElementRef); isEnabled(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pEditableRowDisabled: unknown; } export declare class InitEditableRow { dt: Table; editableRow: EditableRow; constructor(dt: Table, editableRow: EditableRow); onClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class SaveEditableRow { dt: Table; editableRow: EditableRow; constructor(dt: Table, editableRow: EditableRow); onClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class CancelEditableRow { dt: Table; editableRow: EditableRow; constructor(dt: Table, editableRow: EditableRow); onClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class CellEditor implements AfterContentInit { dt: Table; editableColumn: EditableColumn; editableRow: EditableRow; templates: Nullable>; inputTemplate: Nullable>; outputTemplate: Nullable>; constructor(dt: Table, editableColumn: EditableColumn, editableRow: EditableRow); ngAfterContentInit(): void; get editing(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TableRadioButton { dt: Table; cd: ChangeDetectorRef; disabled: boolean | undefined; value: any; index: number | undefined; inputId: string | undefined; name: string | undefined; ariaLabel: string | undefined; inputViewChild: Nullable; checked: boolean | undefined; focused: boolean | undefined; subscription: Subscription; constructor(dt: Table, cd: ChangeDetectorRef); ngOnInit(): void; onClick(event: Event): void; onFocus(): void; onBlur(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_disabled: unknown; static ngAcceptInputType_index: unknown; } export declare class TableCheckbox { dt: Table; tableService: TableService; cd: ChangeDetectorRef; disabled: boolean | undefined; value: any; index: number | undefined; inputId: string | undefined; name: string | undefined; required: boolean | undefined; ariaLabel: string | undefined; checked: boolean | undefined; focused: boolean | undefined; subscription: Subscription; constructor(dt: Table, tableService: TableService, cd: ChangeDetectorRef); ngOnInit(): void; onClick(event: Event): void; onFocus(): void; onBlur(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_disabled: unknown; static ngAcceptInputType_index: unknown; static ngAcceptInputType_required: unknown; } export declare class TableHeaderCheckbox { dt: Table; tableService: TableService; cd: ChangeDetectorRef; disabled: boolean | undefined; inputId: string | undefined; name: string | undefined; ariaLabel: string | undefined; checked: boolean | undefined; focused: boolean | undefined; selectionChangeSubscription: Subscription; valueChangeSubscription: Subscription; constructor(dt: Table, tableService: TableService, cd: ChangeDetectorRef); ngOnInit(): void; onClick(event: Event): void; onFocus(): void; onBlur(): void; isDisabled(): boolean; ngOnDestroy(): void; updateCheckedState(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_disabled: unknown; } export declare class ReorderableRowHandle implements AfterViewInit { el: ElementRef; constructor(el: ElementRef); ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ReorderableRow implements AfterViewInit { private renderer; dt: Table; el: ElementRef; zone: NgZone; index: number | undefined; pReorderableRowDisabled: boolean | undefined; mouseDownListener: VoidListener; dragStartListener: VoidListener; dragEndListener: VoidListener; dragOverListener: VoidListener; dragLeaveListener: VoidListener; dropListener: VoidListener; constructor(renderer: Renderer2, dt: Table, el: ElementRef, zone: NgZone); ngAfterViewInit(): void; bindEvents(): void; unbindEvents(): void; onMouseDown(event: Event): void; isHandleElement(element: HTMLElement): boolean; onDragStart(event: DragEvent): void; onDragEnd(event: DragEvent): void; onDragOver(event: DragEvent): void; onDragLeave(event: DragEvent): void; isEnabled(): boolean; onDrop(event: DragEvent): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_pReorderableRowDisabled: unknown; } export declare class ColumnFilter implements AfterContentInit { private document; el: ElementRef; dt: Table; renderer: Renderer2; config: PrimeNGConfig; overlayService: OverlayService; private cd; /** * Property represented by the column. * @group Props */ field: string | undefined; /** * Type of the input. * @group Props */ type: string; /** * Filter display. * @group Props */ display: string; /** * Decides whether to display filter menu popup. * @group Props */ showMenu: boolean; /** * Filter match mode. * @group Props */ matchMode: string | undefined; /** * Filter operator. * @defaultValue 'AND' * @group Props */ operator: string; /** * Decides whether to display filter operator. * @group Props */ showOperator: boolean; /** * Decides whether to display clear filter button. * @group Props */ showClearButton: boolean; /** * Decides whether to display apply filter button. * @group Props */ showApplyButton: boolean; /** * Decides whether to display filter match modes. * @group Props */ showMatchModes: boolean; /** * Decides whether to display add filter button. * @group Props */ showAddButton: boolean; /** * Decides whether to close popup on clear button click. * @group Props */ hideOnClear: boolean; /** * Filter placeholder. * @group Props */ placeholder: string | undefined; /** * Filter match mode options. * @group Props */ matchModeOptions: SelectItem[] | undefined; /** * Defines maximum amount of constraints. * @group Props */ maxConstraints: number; /** * Defines minimum fraction of digits. * @group Props */ minFractionDigits: number | undefined; /** * Defines maximum fraction of digits. * @group Props */ maxFractionDigits: number | undefined; /** * Defines prefix of the filter. * @group Props */ prefix: string | undefined; /** * Defines suffix of the filter. * @group Props */ suffix: string | undefined; /** * Defines filter locale. * @group Props */ locale: string | undefined; /** * Defines filter locale matcher. * @group Props */ localeMatcher: string | undefined; /** * Enables currency input. * @group Props */ currency: boolean | undefined; /** * Defines the display of the currency input. * @group Props */ currencyDisplay: string | undefined; /** * Defines if filter grouping will be enabled. * @group Props */ useGrouping: boolean; /** * Defines the visibility of buttons. * @group Props */ showButtons: boolean; /** * Defines the aria-label of the form element. * @group Props */ ariaLabel: string | undefined; /** * Callback to invoke on overlay is shown. * @param {AnimationEvent} originalEvent - animation event. * @group Emits */ onShow: EventEmitter<{ originalEvent: AnimationEvent; }>; /** * Callback to invoke on overlay is hidden. * @param {AnimationEvent} originalEvent - animation event. * @group Emits */ onHide: EventEmitter<{ originalEvent: AnimationEvent; }>; icon: Nullable; clearButtonViewChild: Nullable; templates: Nullable>; overlaySubscription: Subscription | undefined; headerTemplate: Nullable>; filterTemplate: Nullable>; footerTemplate: Nullable>; filterIconTemplate: Nullable>; removeRuleIconTemplate: Nullable>; addRuleIconTemplate: Nullable>; clearFilterIconTemplate: Nullable>; operatorOptions: any[] | undefined; overlayVisible: boolean | undefined; overlay: HTMLElement | undefined | null; scrollHandler: ConnectedOverlayScrollHandler | null | undefined; documentClickListener: VoidListener; documentResizeListener: VoidListener; matchModes: SelectItem[] | undefined; translationSubscription: Subscription | undefined; resetSubscription: Subscription | undefined; selfClick: boolean | undefined; overlayEventListener: any; private window; overlayId: any; get fieldConstraints(): FilterMetadata[] | undefined | null; get showRemoveIcon(): boolean; get showMenuButton(): boolean; get isShowOperator(): boolean; get isShowAddConstraint(): boolean | undefined | null; get showMenuButtonLabel(): any; get applyButtonLabel(): string; get clearButtonLabel(): string; get addRuleButtonLabel(): string; get removeRuleButtonLabel(): string; get noFilterLabel(): string; get filterMenuButtonAriaLabel(): string; get removeRuleButtonAriaLabel(): string; get filterOperatorAriaLabel(): string; get filterConstraintAriaLabel(): string; constructor(document: Document, el: ElementRef, dt: Table, renderer: Renderer2, config: PrimeNGConfig, overlayService: OverlayService, cd: ChangeDetectorRef); ngOnInit(): void; generateMatchModeOptions(): void; generateOperatorOptions(): void; ngAfterContentInit(): void; initFieldFilterConstraint(): void; onMenuMatchModeChange(value: any, filterMeta: FilterMetadata): void; onRowMatchModeChange(matchMode: string): void; onRowMatchModeKeyDown(event: KeyboardEvent): void; onRowClearItemClick(): void; isRowMatchModeSelected(matchMode: string): boolean; addConstraint(): void; removeConstraint(filterMeta: FilterMetadata): void; onOperatorChange(value: any): void; toggleMenu(): void; onToggleButtonKeyDown(event: KeyboardEvent): void; onEscape(): void; findNextItem(item: HTMLLIElement): any; findPrevItem(item: HTMLLIElement): any; onContentClick(): void; onOverlayAnimationStart(event: AnimationEvent): void; onOverlayAnimationEnd(event: AnimationEvent): void; focusOnFirstElement(): void; getDefaultMatchMode(): string; getDefaultOperator(): string | undefined; hasRowFilter(): boolean; hasFilter(): boolean; isOutsideClicked(event: any): boolean; bindDocumentClickListener(): void; unbindDocumentClickListener(): void; bindDocumentResizeListener(): void; unbindDocumentResizeListener(): void; bindScrollListener(): void; unbindScrollListener(): void; hide(): void; onOverlayHide(): void; clearFilter(): void; applyFilter(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_showMenu: unknown; static ngAcceptInputType_showOperator: unknown; static ngAcceptInputType_showClearButton: unknown; static ngAcceptInputType_showApplyButton: unknown; static ngAcceptInputType_showMatchModes: unknown; static ngAcceptInputType_showAddButton: unknown; static ngAcceptInputType_hideOnClear: unknown; static ngAcceptInputType_maxConstraints: unknown; static ngAcceptInputType_minFractionDigits: unknown; static ngAcceptInputType_maxFractionDigits: unknown; static ngAcceptInputType_currency: unknown; static ngAcceptInputType_useGrouping: unknown; static ngAcceptInputType_showButtons: unknown; } export declare class ColumnFilterFormElement implements OnInit { dt: Table; private colFilter; field: string | undefined; type: string | undefined; filterConstraint: FilterMetadata | undefined; filterTemplate: Nullable>; placeholder: string | undefined; minFractionDigits: number | undefined; maxFractionDigits: number | undefined; prefix: string | undefined; suffix: string | undefined; locale: string | undefined; localeMatcher: string | undefined; currency: string | undefined; currencyDisplay: string | undefined; useGrouping: boolean; ariaLabel: string | undefined; get showButtons(): boolean; filterCallback: any; constructor(dt: Table, colFilter: ColumnFilter); ngOnInit(): void; onModelChange(value: any): void; onTextInputEnterKeyDown(event: KeyboardEvent): void; onNumericInputKeyDown(event: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_minFractionDigits: unknown; static ngAcceptInputType_maxFractionDigits: unknown; static ngAcceptInputType_useGrouping: unknown; } export declare class TableModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }