source: trip-planner-front/node_modules/primeng/table/table.d.ts@ 571e0df

Last change on this file since 571e0df was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 37.7 KB
Line 
1import { OnInit, OnDestroy, AfterViewInit, AfterContentInit, EventEmitter, ElementRef, TemplateRef, QueryList, NgZone, ChangeDetectorRef, OnChanges, SimpleChanges, Renderer2 } from '@angular/core';
2import { PrimeTemplate, SelectItem, PrimeNGConfig, FilterService, OverlayService } from 'primeng/api';
3import { SortMeta } from 'primeng/api';
4import { FilterMetadata } from 'primeng/api';
5import { BlockableUI } from 'primeng/api';
6import { Subscription } from 'rxjs';
7import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
8import { AnimationEvent } from '@angular/animations';
9import * as i0 from "@angular/core";
10import * as i1 from "@angular/common";
11import * as i2 from "primeng/paginator";
12import * as i3 from "primeng/inputtext";
13import * as i4 from "primeng/dropdown";
14import * as i5 from "@angular/cdk/scrolling";
15import * as i6 from "@angular/forms";
16import * as i7 from "primeng/button";
17import * as i8 from "primeng/selectbutton";
18import * as i9 from "primeng/calendar";
19import * as i10 from "primeng/inputnumber";
20import * as i11 from "primeng/tristatecheckbox";
21import * as i12 from "primeng/api";
22export declare class TableService {
23 private sortSource;
24 private selectionSource;
25 private contextMenuSource;
26 private valueSource;
27 private totalRecordsSource;
28 private columnsSource;
29 private resetSource;
30 sortSource$: import("rxjs").Observable<SortMeta | SortMeta[]>;
31 selectionSource$: import("rxjs").Observable<unknown>;
32 contextMenuSource$: import("rxjs").Observable<any>;
33 valueSource$: import("rxjs").Observable<any>;
34 totalRecordsSource$: import("rxjs").Observable<any>;
35 columnsSource$: import("rxjs").Observable<unknown>;
36 resetSource$: import("rxjs").Observable<unknown>;
37 onSort(sortMeta: SortMeta | SortMeta[]): void;
38 onSelectionChange(): void;
39 onResetChange(): void;
40 onContextMenu(data: any): void;
41 onValueChange(value: any): void;
42 onTotalRecordsChange(value: number): void;
43 onColumnsChange(columns: any[]): void;
44 static ɵfac: i0.ɵɵFactoryDeclaration<TableService, never>;
45 static ɵprov: i0.ɵɵInjectableDeclaration<TableService>;
46}
47export declare class Table implements OnInit, AfterViewInit, AfterContentInit, BlockableUI, OnChanges {
48 el: ElementRef;
49 zone: NgZone;
50 tableService: TableService;
51 cd: ChangeDetectorRef;
52 filterService: FilterService;
53 overlayService: OverlayService;
54 frozenColumns: any[];
55 frozenValue: any[];
56 style: any;
57 styleClass: string;
58 tableStyle: any;
59 tableStyleClass: string;
60 paginator: boolean;
61 pageLinks: number;
62 rowsPerPageOptions: any[];
63 alwaysShowPaginator: boolean;
64 paginatorPosition: string;
65 paginatorDropdownAppendTo: any;
66 paginatorDropdownScrollHeight: string;
67 currentPageReportTemplate: string;
68 showCurrentPageReport: boolean;
69 showJumpToPageDropdown: boolean;
70 showJumpToPageInput: boolean;
71 showFirstLastIcon: boolean;
72 showPageLinks: boolean;
73 defaultSortOrder: number;
74 sortMode: string;
75 resetPageOnSort: boolean;
76 selectionMode: string;
77 selectionChange: EventEmitter<any>;
78 contextMenuSelection: any;
79 contextMenuSelectionChange: EventEmitter<any>;
80 contextMenuSelectionMode: string;
81 dataKey: string;
82 metaKeySelection: boolean;
83 rowTrackBy: Function;
84 lazy: boolean;
85 lazyLoadOnInit: boolean;
86 compareSelectionBy: string;
87 csvSeparator: string;
88 exportFilename: string;
89 filters: {
90 [s: string]: FilterMetadata | FilterMetadata[];
91 };
92 globalFilterFields: string[];
93 filterDelay: number;
94 filterLocale: string;
95 expandedRowKeys: {
96 [s: string]: boolean;
97 };
98 editingRowKeys: {
99 [s: string]: boolean;
100 };
101 rowExpandMode: string;
102 scrollable: boolean;
103 scrollDirection: string;
104 rowGroupMode: string;
105 scrollHeight: string;
106 virtualScroll: boolean;
107 virtualScrollDelay: number;
108 virtualRowHeight: number;
109 frozenWidth: string;
110 responsive: boolean;
111 contextMenu: any;
112 resizableColumns: boolean;
113 columnResizeMode: string;
114 reorderableColumns: boolean;
115 loading: boolean;
116 loadingIcon: string;
117 showLoader: boolean;
118 rowHover: boolean;
119 customSort: boolean;
120 showInitialSortBadge: boolean;
121 autoLayout: boolean;
122 exportFunction: any;
123 stateKey: string;
124 stateStorage: string;
125 editMode: string;
126 groupRowsBy: any;
127 groupRowsByOrder: number;
128 minBufferPx: number;
129 maxBufferPx: number;
130 responsiveLayout: string;
131 breakpoint: string;
132 onRowSelect: EventEmitter<any>;
133 onRowUnselect: EventEmitter<any>;
134 onPage: EventEmitter<any>;
135 onSort: EventEmitter<any>;
136 onFilter: EventEmitter<any>;
137 onLazyLoad: EventEmitter<any>;
138 onRowExpand: EventEmitter<any>;
139 onRowCollapse: EventEmitter<any>;
140 onContextMenuSelect: EventEmitter<any>;
141 onColResize: EventEmitter<any>;
142 onColReorder: EventEmitter<any>;
143 onRowReorder: EventEmitter<any>;
144 onEditInit: EventEmitter<any>;
145 onEditComplete: EventEmitter<any>;
146 onEditCancel: EventEmitter<any>;
147 onHeaderCheckboxToggle: EventEmitter<any>;
148 sortFunction: EventEmitter<any>;
149 firstChange: EventEmitter<number>;
150 rowsChange: EventEmitter<number>;
151 onStateSave: EventEmitter<any>;
152 onStateRestore: EventEmitter<any>;
153 containerViewChild: ElementRef;
154 resizeHelperViewChild: ElementRef;
155 reorderIndicatorUpViewChild: ElementRef;
156 reorderIndicatorDownViewChild: ElementRef;
157 wrapperViewChild: ElementRef;
158 tableViewChild: ElementRef;
159 tableHeaderViewChild: ElementRef;
160 virtualScrollBody: CdkVirtualScrollViewport;
161 templates: QueryList<PrimeTemplate>;
162 _value: any[];
163 _columns: any[];
164 _totalRecords: number;
165 _first: number;
166 _rows: number;
167 filteredValue: any[];
168 headerTemplate: TemplateRef<any>;
169 headerGroupedTemplate: TemplateRef<any>;
170 bodyTemplate: TemplateRef<any>;
171 loadingBodyTemplate: TemplateRef<any>;
172 captionTemplate: TemplateRef<any>;
173 frozenRowsTemplate: TemplateRef<any>;
174 footerTemplate: TemplateRef<any>;
175 footerGroupedTemplate: TemplateRef<any>;
176 summaryTemplate: TemplateRef<any>;
177 colGroupTemplate: TemplateRef<any>;
178 expandedRowTemplate: TemplateRef<any>;
179 groupHeaderTemplate: TemplateRef<any>;
180 groupFooterTemplate: TemplateRef<any>;
181 rowspanTemplate: TemplateRef<any>;
182 frozenExpandedRowTemplate: TemplateRef<any>;
183 frozenHeaderTemplate: TemplateRef<any>;
184 frozenBodyTemplate: TemplateRef<any>;
185 frozenFooterTemplate: TemplateRef<any>;
186 frozenColGroupTemplate: TemplateRef<any>;
187 emptyMessageTemplate: TemplateRef<any>;
188 paginatorLeftTemplate: TemplateRef<any>;
189 paginatorRightTemplate: TemplateRef<any>;
190 paginatorDropdownItemTemplate: TemplateRef<any>;
191 selectionKeys: any;
192 lastResizerHelperX: number;
193 reorderIconWidth: number;
194 reorderIconHeight: number;
195 draggedColumn: any;
196 draggedRowIndex: number;
197 droppedRowIndex: number;
198 rowDragging: boolean;
199 dropPosition: number;
200 editingCell: Element;
201 editingCellData: any;
202 editingCellField: any;
203 editingCellRowIndex: number;
204 selfClick: boolean;
205 documentEditListener: any;
206 _multiSortMeta: SortMeta[];
207 _sortField: string;
208 _sortOrder: number;
209 preventSelectionSetterPropagation: boolean;
210 _selection: any;
211 anchorRowIndex: number;
212 rangeRowIndex: number;
213 filterTimeout: any;
214 initialized: boolean;
215 rowTouched: boolean;
216 restoringSort: boolean;
217 restoringFilter: boolean;
218 stateRestored: boolean;
219 columnOrderStateRestored: boolean;
220 columnWidthsState: string;
221 tableWidthState: string;
222 overlaySubscription: Subscription;
223 virtualScrollSubscription: Subscription;
224 resizeColumnElement: any;
225 columnResizing: boolean;
226 rowGroupHeaderStyleObject: any;
227 id: string;
228 styleElement: any;
229 responsiveStyleElement: any;
230 constructor(el: ElementRef, zone: NgZone, tableService: TableService, cd: ChangeDetectorRef, filterService: FilterService, overlayService: OverlayService);
231 ngOnInit(): void;
232 ngAfterContentInit(): void;
233 ngAfterViewInit(): void;
234 ngOnChanges(simpleChange: SimpleChanges): void;
235 get value(): any[];
236 set value(val: any[]);
237 get columns(): any[];
238 set columns(cols: any[]);
239 get first(): number;
240 set first(val: number);
241 get rows(): number;
242 set rows(val: number);
243 get totalRecords(): number;
244 set totalRecords(val: number);
245 get sortField(): string;
246 set sortField(val: string);
247 get sortOrder(): number;
248 set sortOrder(val: number);
249 get multiSortMeta(): SortMeta[];
250 set multiSortMeta(val: SortMeta[]);
251 get selection(): any;
252 set selection(val: any);
253 get dataToRender(): any[];
254 updateSelectionKeys(): void;
255 onPageChange(event: any): void;
256 sort(event: any): void;
257 sortSingle(): void;
258 sortMultiple(): void;
259 multisortField(data1: any, data2: any, multiSortMeta: any, index: any): any;
260 getSortMeta(field: string): SortMeta;
261 isSorted(field: string): boolean;
262 handleRowClick(event: any): void;
263 handleRowTouchEnd(event: any): void;
264 handleRowRightClick(event: any): void;
265 selectRange(event: MouseEvent, rowIndex: number): void;
266 clearSelectionRange(event: MouseEvent): void;
267 isSelected(rowData: any): boolean;
268 findIndexInSelection(rowData: any): number;
269 toggleRowWithRadio(event: any, rowData: any): void;
270 toggleRowWithCheckbox(event: any, rowData: any): void;
271 toggleRowsWithCheckbox(event: Event, check: boolean): void;
272 equals(data1: any, data2: any): boolean;
273 filter(value: any, field: string, matchMode: string): void;
274 filterGlobal(value: any, matchMode: any): void;
275 isFilterBlank(filter: any): boolean;
276 _filter(): void;
277 executeLocalFilter(field: string, rowData: any, filterMeta: FilterMetadata): boolean;
278 hasFilter(): boolean;
279 createLazyLoadMetadata(): any;
280 clear(): void;
281 reset(): void;
282 exportCSV(options?: any): void;
283 resetScrollTop(): void;
284 scrollToVirtualIndex(index: number): void;
285 virtualScrollTimeout: any;
286 virtualPage: number;
287 onScrollIndexChange(index: number): void;
288 scrollTo(options: any): void;
289 updateEditingCell(cell: any, data: any, field: any, index: any): void;
290 isEditingCellValid(): boolean;
291 bindDocumentEditListener(): void;
292 unbindDocumentEditListener(): void;
293 initRowEdit(rowData: any): void;
294 saveRowEdit(rowData: any, rowElement: HTMLTableRowElement): void;
295 cancelRowEdit(rowData: any): void;
296 toggleRow(rowData: any, event?: Event): void;
297 isRowExpanded(rowData: any): boolean;
298 isRowEditing(rowData: any): boolean;
299 isSingleSelectionMode(): boolean;
300 isMultipleSelectionMode(): boolean;
301 onColumnResizeBegin(event: any): void;
302 onColumnResize(event: any): void;
303 onColumnResizeEnd(): void;
304 resizeTableCells(newColumnWidth: any, nextColumnWidth: any): void;
305 onColumnDragStart(event: any, columnElement: any): void;
306 onColumnDragEnter(event: any, dropHeader: any): void;
307 onColumnDragLeave(event: any): void;
308 onColumnDrop(event: any, dropColumn: any): void;
309 onRowDragStart(event: any, index: any): void;
310 onRowDragOver(event: any, index: any, rowElement: any): void;
311 onRowDragLeave(event: any, rowElement: any): void;
312 onRowDragEnd(event: any): void;
313 onRowDrop(event: any, rowElement: any): void;
314 isEmpty(): boolean;
315 getBlockableElement(): HTMLElement;
316 getStorage(): Storage;
317 isStateful(): boolean;
318 saveState(): void;
319 clearState(): void;
320 restoreState(): void;
321 saveColumnWidths(state: any): void;
322 restoreColumnWidths(): void;
323 saveColumnOrder(state: any): void;
324 restoreColumnOrder(): void;
325 findColumnByKey(key: any): any;
326 createStyleElement(): void;
327 getGroupRowsMeta(): {
328 field: any;
329 order: number;
330 };
331 createResponsiveStyle(): void;
332 destroyResponsiveStyle(): void;
333 destroyStyleElement(): void;
334 ngOnDestroy(): void;
335 static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
336 static ɵcmp: i0.ɵɵComponentDeclaration<Table, "p-table", never, { "frozenColumns": "frozenColumns"; "frozenValue": "frozenValue"; "style": "style"; "styleClass": "styleClass"; "tableStyle": "tableStyle"; "tableStyleClass": "tableStyleClass"; "paginator": "paginator"; "pageLinks": "pageLinks"; "rowsPerPageOptions": "rowsPerPageOptions"; "alwaysShowPaginator": "alwaysShowPaginator"; "paginatorPosition": "paginatorPosition"; "paginatorDropdownAppendTo": "paginatorDropdownAppendTo"; "paginatorDropdownScrollHeight": "paginatorDropdownScrollHeight"; "currentPageReportTemplate": "currentPageReportTemplate"; "showCurrentPageReport": "showCurrentPageReport"; "showJumpToPageDropdown": "showJumpToPageDropdown"; "showJumpToPageInput": "showJumpToPageInput"; "showFirstLastIcon": "showFirstLastIcon"; "showPageLinks": "showPageLinks"; "defaultSortOrder": "defaultSortOrder"; "sortMode": "sortMode"; "resetPageOnSort": "resetPageOnSort"; "selectionMode": "selectionMode"; "contextMenuSelection": "contextMenuSelection"; "contextMenuSelectionMode": "contextMenuSelectionMode"; "dataKey": "dataKey"; "metaKeySelection": "metaKeySelection"; "rowTrackBy": "rowTrackBy"; "lazy": "lazy"; "lazyLoadOnInit": "lazyLoadOnInit"; "compareSelectionBy": "compareSelectionBy"; "csvSeparator": "csvSeparator"; "exportFilename": "exportFilename"; "filters": "filters"; "globalFilterFields": "globalFilterFields"; "filterDelay": "filterDelay"; "filterLocale": "filterLocale"; "expandedRowKeys": "expandedRowKeys"; "editingRowKeys": "editingRowKeys"; "rowExpandMode": "rowExpandMode"; "scrollable": "scrollable"; "scrollDirection": "scrollDirection"; "rowGroupMode": "rowGroupMode"; "scrollHeight": "scrollHeight"; "virtualScroll": "virtualScroll"; "virtualScrollDelay": "virtualScrollDelay"; "virtualRowHeight": "virtualRowHeight"; "frozenWidth": "frozenWidth"; "responsive": "responsive"; "contextMenu": "contextMenu"; "resizableColumns": "resizableColumns"; "columnResizeMode": "columnResizeMode"; "reorderableColumns": "reorderableColumns"; "loading": "loading"; "loadingIcon": "loadingIcon"; "showLoader": "showLoader"; "rowHover": "rowHover"; "customSort": "customSort"; "showInitialSortBadge": "showInitialSortBadge"; "autoLayout": "autoLayout"; "exportFunction": "exportFunction"; "stateKey": "stateKey"; "stateStorage": "stateStorage"; "editMode": "editMode"; "groupRowsBy": "groupRowsBy"; "groupRowsByOrder": "groupRowsByOrder"; "minBufferPx": "minBufferPx"; "maxBufferPx": "maxBufferPx"; "responsiveLayout": "responsiveLayout"; "breakpoint": "breakpoint"; "value": "value"; "columns": "columns"; "first": "first"; "rows": "rows"; "totalRecords": "totalRecords"; "sortField": "sortField"; "sortOrder": "sortOrder"; "multiSortMeta": "multiSortMeta"; "selection": "selection"; }, { "selectionChange": "selectionChange"; "contextMenuSelectionChange": "contextMenuSelectionChange"; "onRowSelect": "onRowSelect"; "onRowUnselect": "onRowUnselect"; "onPage": "onPage"; "onSort": "onSort"; "onFilter": "onFilter"; "onLazyLoad": "onLazyLoad"; "onRowExpand": "onRowExpand"; "onRowCollapse": "onRowCollapse"; "onContextMenuSelect": "onContextMenuSelect"; "onColResize": "onColResize"; "onColReorder": "onColReorder"; "onRowReorder": "onRowReorder"; "onEditInit": "onEditInit"; "onEditComplete": "onEditComplete"; "onEditCancel": "onEditCancel"; "onHeaderCheckboxToggle": "onHeaderCheckboxToggle"; "sortFunction": "sortFunction"; "firstChange": "firstChange"; "rowsChange": "rowsChange"; "onStateSave": "onStateSave"; "onStateRestore": "onStateRestore"; }, ["templates"], never>;
337}
338export declare class TableBody implements AfterViewInit, OnDestroy {
339 dt: Table;
340 tableService: TableService;
341 cd: ChangeDetectorRef;
342 el: ElementRef;
343 columns: any[];
344 template: TemplateRef<any>;
345 get value(): any[];
346 set value(val: any[]);
347 frozen: boolean;
348 frozenRows: boolean;
349 subscription: Subscription;
350 _value: any[];
351 ngAfterViewInit(): void;
352 constructor(dt: Table, tableService: TableService, cd: ChangeDetectorRef, el: ElementRef);
353 shouldRenderRowGroupHeader(value: any, rowData: any, i: any): boolean;
354 shouldRenderRowGroupFooter(value: any, rowData: any, i: any): boolean;
355 shouldRenderRowspan(value: any, rowData: any, i: any): boolean;
356 calculateRowGroupSize(value: any, rowData: any, index: any): number;
357 ngOnDestroy(): void;
358 updateFrozenRowStickyPosition(): void;
359 updateFrozenRowGroupHeaderStickyPosition(): void;
360 static ɵfac: i0.ɵɵFactoryDeclaration<TableBody, never>;
361 static ɵcmp: i0.ɵɵComponentDeclaration<TableBody, "[pTableBody]", never, { "columns": "pTableBody"; "template": "pTableBodyTemplate"; "value": "value"; "frozen": "frozen"; "frozenRows": "frozenRows"; }, {}, never, never>;
362}
363export declare class RowGroupHeader {
364 dt: Table;
365 constructor(dt: Table);
366 get getFrozenRowGroupHeaderStickyPosition(): any;
367 static ɵfac: i0.ɵɵFactoryDeclaration<RowGroupHeader, never>;
368 static ɵdir: i0.ɵɵDirectiveDeclaration<RowGroupHeader, "[pRowGroupHeader]", never, {}, {}, never>;
369}
370export declare class FrozenColumn implements AfterViewInit {
371 private el;
372 get frozen(): boolean;
373 set frozen(val: boolean);
374 alignFrozen: string;
375 constructor(el: ElementRef);
376 ngAfterViewInit(): void;
377 _frozen: boolean;
378 updateStickyPosition(): void;
379 static ɵfac: i0.ɵɵFactoryDeclaration<FrozenColumn, never>;
380 static ɵdir: i0.ɵɵDirectiveDeclaration<FrozenColumn, "[pFrozenColumn]", never, { "frozen": "frozen"; "alignFrozen": "alignFrozen"; }, {}, never>;
381}
382export declare class SortableColumn implements OnInit, OnDestroy {
383 dt: Table;
384 field: string;
385 pSortableColumnDisabled: boolean;
386 sorted: boolean;
387 sortOrder: string;
388 subscription: Subscription;
389 constructor(dt: Table);
390 ngOnInit(): void;
391 updateSortState(): void;
392 onClick(event: MouseEvent): void;
393 onEnterKey(event: MouseEvent): void;
394 isEnabled(): boolean;
395 isFilterElement(element: HTMLElement): boolean;
396 ngOnDestroy(): void;
397 static ɵfac: i0.ɵɵFactoryDeclaration<SortableColumn, never>;
398 static ɵdir: i0.ɵɵDirectiveDeclaration<SortableColumn, "[pSortableColumn]", never, { "field": "pSortableColumn"; "pSortableColumnDisabled": "pSortableColumnDisabled"; }, {}, never>;
399}
400export declare class SortIcon implements OnInit, OnDestroy {
401 dt: Table;
402 cd: ChangeDetectorRef;
403 field: string;
404 subscription: Subscription;
405 sortOrder: number;
406 constructor(dt: Table, cd: ChangeDetectorRef);
407 ngOnInit(): void;
408 onClick(event: any): void;
409 updateSortState(): void;
410 getMultiSortMetaIndex(): number;
411 getBadgeValue(): number;
412 isMultiSorted(): boolean;
413 ngOnDestroy(): void;
414 static ɵfac: i0.ɵɵFactoryDeclaration<SortIcon, never>;
415 static ɵcmp: i0.ɵɵComponentDeclaration<SortIcon, "p-sortIcon", never, { "field": "field"; }, {}, never, never>;
416}
417export declare class SelectableRow implements OnInit, OnDestroy {
418 dt: Table;
419 tableService: TableService;
420 data: any;
421 index: number;
422 pSelectableRowDisabled: boolean;
423 selected: boolean;
424 subscription: Subscription;
425 constructor(dt: Table, tableService: TableService);
426 ngOnInit(): void;
427 onClick(event: Event): void;
428 onTouchEnd(event: Event): void;
429 onArrowDownKeyDown(event: KeyboardEvent): void;
430 onArrowUpKeyDown(event: KeyboardEvent): void;
431 onEnterKeyDown(event: KeyboardEvent): void;
432 onPageDownKeyDown(): void;
433 onSpaceKeydown(): void;
434 findNextSelectableRow(row: HTMLTableRowElement): HTMLTableRowElement;
435 findPrevSelectableRow(row: HTMLTableRowElement): HTMLTableRowElement;
436 isEnabled(): boolean;
437 ngOnDestroy(): void;
438 static ɵfac: i0.ɵɵFactoryDeclaration<SelectableRow, never>;
439 static ɵdir: i0.ɵɵDirectiveDeclaration<SelectableRow, "[pSelectableRow]", never, { "data": "pSelectableRow"; "index": "pSelectableRowIndex"; "pSelectableRowDisabled": "pSelectableRowDisabled"; }, {}, never>;
440}
441export declare class SelectableRowDblClick implements OnInit, OnDestroy {
442 dt: Table;
443 tableService: TableService;
444 data: any;
445 index: number;
446 pSelectableRowDisabled: boolean;
447 selected: boolean;
448 subscription: Subscription;
449 constructor(dt: Table, tableService: TableService);
450 ngOnInit(): void;
451 onClick(event: Event): void;
452 isEnabled(): boolean;
453 ngOnDestroy(): void;
454 static ɵfac: i0.ɵɵFactoryDeclaration<SelectableRowDblClick, never>;
455 static ɵdir: i0.ɵɵDirectiveDeclaration<SelectableRowDblClick, "[pSelectableRowDblClick]", never, { "data": "pSelectableRowDblClick"; "index": "pSelectableRowIndex"; "pSelectableRowDisabled": "pSelectableRowDisabled"; }, {}, never>;
456}
457export declare class ContextMenuRow {
458 dt: Table;
459 tableService: TableService;
460 private el;
461 data: any;
462 index: number;
463 pContextMenuRowDisabled: boolean;
464 selected: boolean;
465 subscription: Subscription;
466 constructor(dt: Table, tableService: TableService, el: ElementRef);
467 onContextMenu(event: Event): void;
468 isEnabled(): boolean;
469 ngOnDestroy(): void;
470 static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuRow, never>;
471 static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuRow, "[pContextMenuRow]", never, { "data": "pContextMenuRow"; "index": "pContextMenuRowIndex"; "pContextMenuRowDisabled": "pContextMenuRowDisabled"; }, {}, never>;
472}
473export declare class RowToggler {
474 dt: Table;
475 data: any;
476 pRowTogglerDisabled: boolean;
477 constructor(dt: Table);
478 onClick(event: Event): void;
479 isEnabled(): boolean;
480 static ɵfac: i0.ɵɵFactoryDeclaration<RowToggler, never>;
481 static ɵdir: i0.ɵɵDirectiveDeclaration<RowToggler, "[pRowToggler]", never, { "data": "pRowToggler"; "pRowTogglerDisabled": "pRowTogglerDisabled"; }, {}, never>;
482}
483export declare class ResizableColumn implements AfterViewInit, OnDestroy {
484 dt: Table;
485 el: ElementRef;
486 zone: NgZone;
487 pResizableColumnDisabled: boolean;
488 resizer: HTMLSpanElement;
489 resizerMouseDownListener: any;
490 documentMouseMoveListener: any;
491 documentMouseUpListener: any;
492 constructor(dt: Table, el: ElementRef, zone: NgZone);
493 ngAfterViewInit(): void;
494 bindDocumentEvents(): void;
495 unbindDocumentEvents(): void;
496 onMouseDown(event: MouseEvent): void;
497 onDocumentMouseMove(event: MouseEvent): void;
498 onDocumentMouseUp(event: MouseEvent): void;
499 isEnabled(): boolean;
500 ngOnDestroy(): void;
501 static ɵfac: i0.ɵɵFactoryDeclaration<ResizableColumn, never>;
502 static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableColumn, "[pResizableColumn]", never, { "pResizableColumnDisabled": "pResizableColumnDisabled"; }, {}, never>;
503}
504export declare class ReorderableColumn implements AfterViewInit, OnDestroy {
505 dt: Table;
506 el: ElementRef;
507 zone: NgZone;
508 pReorderableColumnDisabled: boolean;
509 dragStartListener: any;
510 dragOverListener: any;
511 dragEnterListener: any;
512 dragLeaveListener: any;
513 mouseDownListener: any;
514 constructor(dt: Table, el: ElementRef, zone: NgZone);
515 ngAfterViewInit(): void;
516 bindEvents(): void;
517 unbindEvents(): void;
518 onMouseDown(event: any): void;
519 onDragStart(event: any): void;
520 onDragOver(event: any): void;
521 onDragEnter(event: any): void;
522 onDragLeave(event: any): void;
523 onDrop(event: any): void;
524 isEnabled(): boolean;
525 ngOnDestroy(): void;
526 static ɵfac: i0.ɵɵFactoryDeclaration<ReorderableColumn, never>;
527 static ɵdir: i0.ɵɵDirectiveDeclaration<ReorderableColumn, "[pReorderableColumn]", never, { "pReorderableColumnDisabled": "pReorderableColumnDisabled"; }, {}, never>;
528}
529export declare class EditableColumn implements AfterViewInit, OnDestroy {
530 dt: Table;
531 el: ElementRef;
532 zone: NgZone;
533 data: any;
534 field: any;
535 rowIndex: number;
536 pEditableColumnDisabled: boolean;
537 pFocusCellSelector: string;
538 overlayEventListener: any;
539 constructor(dt: Table, el: ElementRef, zone: NgZone);
540 ngAfterViewInit(): void;
541 onClick(event: MouseEvent): void;
542 openCell(): void;
543 closeEditingCell(completed: any, event: any): void;
544 onEnterKeyDown(event: KeyboardEvent): void;
545 onEscapeKeyDown(event: KeyboardEvent): void;
546 onShiftKeyDown(event: KeyboardEvent): void;
547 onArrowDown(event: KeyboardEvent): void;
548 onArrowUp(event: KeyboardEvent): void;
549 onArrowLeft(event: KeyboardEvent): void;
550 onArrowRight(event: KeyboardEvent): void;
551 findCell(element: any): any;
552 moveToPreviousCell(event: KeyboardEvent): void;
553 moveToNextCell(event: KeyboardEvent): void;
554 findPreviousEditableColumn(cell: Element): any;
555 findNextEditableColumn(cell: Element): any;
556 findNextEditableColumnByIndex(cell: Element, index: number): Element;
557 findPrevEditableColumnByIndex(cell: Element, index: number): Element;
558 isEnabled(): boolean;
559 ngOnDestroy(): void;
560 static ɵfac: i0.ɵɵFactoryDeclaration<EditableColumn, never>;
561 static ɵdir: i0.ɵɵDirectiveDeclaration<EditableColumn, "[pEditableColumn]", never, { "data": "pEditableColumn"; "field": "pEditableColumnField"; "rowIndex": "pEditableColumnRowIndex"; "pEditableColumnDisabled": "pEditableColumnDisabled"; "pFocusCellSelector": "pFocusCellSelector"; }, {}, never>;
562}
563export declare class EditableRow {
564 el: ElementRef;
565 data: any;
566 pEditableRowDisabled: boolean;
567 constructor(el: ElementRef);
568 isEnabled(): boolean;
569 static ɵfac: i0.ɵɵFactoryDeclaration<EditableRow, never>;
570 static ɵdir: i0.ɵɵDirectiveDeclaration<EditableRow, "[pEditableRow]", never, { "data": "pEditableRow"; "pEditableRowDisabled": "pEditableRowDisabled"; }, {}, never>;
571}
572export declare class InitEditableRow {
573 dt: Table;
574 editableRow: EditableRow;
575 constructor(dt: Table, editableRow: EditableRow);
576 onClick(event: Event): void;
577 static ɵfac: i0.ɵɵFactoryDeclaration<InitEditableRow, never>;
578 static ɵdir: i0.ɵɵDirectiveDeclaration<InitEditableRow, "[pInitEditableRow]", never, {}, {}, never>;
579}
580export declare class SaveEditableRow {
581 dt: Table;
582 editableRow: EditableRow;
583 constructor(dt: Table, editableRow: EditableRow);
584 onClick(event: Event): void;
585 static ɵfac: i0.ɵɵFactoryDeclaration<SaveEditableRow, never>;
586 static ɵdir: i0.ɵɵDirectiveDeclaration<SaveEditableRow, "[pSaveEditableRow]", never, {}, {}, never>;
587}
588export declare class CancelEditableRow {
589 dt: Table;
590 editableRow: EditableRow;
591 constructor(dt: Table, editableRow: EditableRow);
592 onClick(event: Event): void;
593 static ɵfac: i0.ɵɵFactoryDeclaration<CancelEditableRow, never>;
594 static ɵdir: i0.ɵɵDirectiveDeclaration<CancelEditableRow, "[pCancelEditableRow]", never, {}, {}, never>;
595}
596export declare class CellEditor implements AfterContentInit {
597 dt: Table;
598 editableColumn: EditableColumn;
599 editableRow: EditableRow;
600 templates: QueryList<PrimeTemplate>;
601 inputTemplate: TemplateRef<any>;
602 outputTemplate: TemplateRef<any>;
603 constructor(dt: Table, editableColumn: EditableColumn, editableRow: EditableRow);
604 ngAfterContentInit(): void;
605 get editing(): boolean;
606 static ɵfac: i0.ɵɵFactoryDeclaration<CellEditor, [null, { optional: true; }, { optional: true; }]>;
607 static ɵcmp: i0.ɵɵComponentDeclaration<CellEditor, "p-cellEditor", never, {}, {}, ["templates"], never>;
608}
609export declare class TableRadioButton {
610 dt: Table;
611 tableService: TableService;
612 cd: ChangeDetectorRef;
613 disabled: boolean;
614 value: any;
615 index: number;
616 inputId: string;
617 name: string;
618 ariaLabel: string;
619 boxViewChild: ElementRef;
620 checked: boolean;
621 subscription: Subscription;
622 constructor(dt: Table, tableService: TableService, cd: ChangeDetectorRef);
623 ngOnInit(): void;
624 onClick(event: Event): void;
625 onFocus(): void;
626 onBlur(): void;
627 ngOnDestroy(): void;
628 static ɵfac: i0.ɵɵFactoryDeclaration<TableRadioButton, never>;
629 static ɵcmp: i0.ɵɵComponentDeclaration<TableRadioButton, "p-tableRadioButton", never, { "disabled": "disabled"; "value": "value"; "index": "index"; "inputId": "inputId"; "name": "name"; "ariaLabel": "ariaLabel"; }, {}, never, never>;
630}
631export declare class TableCheckbox {
632 dt: Table;
633 tableService: TableService;
634 cd: ChangeDetectorRef;
635 disabled: boolean;
636 value: any;
637 index: number;
638 inputId: string;
639 name: string;
640 required: boolean;
641 ariaLabel: string;
642 boxViewChild: ElementRef;
643 checked: boolean;
644 subscription: Subscription;
645 constructor(dt: Table, tableService: TableService, cd: ChangeDetectorRef);
646 ngOnInit(): void;
647 onClick(event: Event): void;
648 onFocus(): void;
649 onBlur(): void;
650 ngOnDestroy(): void;
651 static ɵfac: i0.ɵɵFactoryDeclaration<TableCheckbox, never>;
652 static ɵcmp: i0.ɵɵComponentDeclaration<TableCheckbox, "p-tableCheckbox", never, { "disabled": "disabled"; "value": "value"; "index": "index"; "inputId": "inputId"; "name": "name"; "required": "required"; "ariaLabel": "ariaLabel"; }, {}, never, never>;
653}
654export declare class TableHeaderCheckbox {
655 dt: Table;
656 tableService: TableService;
657 cd: ChangeDetectorRef;
658 boxViewChild: ElementRef;
659 disabled: boolean;
660 inputId: string;
661 name: string;
662 ariaLabel: string;
663 checked: boolean;
664 selectionChangeSubscription: Subscription;
665 valueChangeSubscription: Subscription;
666 constructor(dt: Table, tableService: TableService, cd: ChangeDetectorRef);
667 ngOnInit(): void;
668 onClick(event: Event): void;
669 onFocus(): void;
670 onBlur(): void;
671 isDisabled(): boolean;
672 ngOnDestroy(): void;
673 updateCheckedState(): boolean;
674 isAllFilteredValuesChecked(): boolean;
675 static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCheckbox, never>;
676 static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderCheckbox, "p-tableHeaderCheckbox", never, { "disabled": "disabled"; "inputId": "inputId"; "name": "name"; "ariaLabel": "ariaLabel"; }, {}, never, never>;
677}
678export declare class ReorderableRowHandle implements AfterViewInit {
679 el: ElementRef;
680 index: number;
681 constructor(el: ElementRef);
682 ngAfterViewInit(): void;
683 static ɵfac: i0.ɵɵFactoryDeclaration<ReorderableRowHandle, never>;
684 static ɵdir: i0.ɵɵDirectiveDeclaration<ReorderableRowHandle, "[pReorderableRowHandle]", never, { "index": "pReorderableRowHandle"; }, {}, never>;
685}
686export declare class ReorderableRow implements AfterViewInit {
687 dt: Table;
688 el: ElementRef;
689 zone: NgZone;
690 index: number;
691 pReorderableRowDisabled: boolean;
692 mouseDownListener: any;
693 dragStartListener: any;
694 dragEndListener: any;
695 dragOverListener: any;
696 dragLeaveListener: any;
697 dropListener: any;
698 constructor(dt: Table, el: ElementRef, zone: NgZone);
699 ngAfterViewInit(): void;
700 bindEvents(): void;
701 unbindEvents(): void;
702 onMouseDown(event: any): void;
703 onDragStart(event: any): void;
704 onDragEnd(event: any): void;
705 onDragOver(event: any): void;
706 onDragLeave(event: any): void;
707 isEnabled(): boolean;
708 onDrop(event: any): void;
709 static ɵfac: i0.ɵɵFactoryDeclaration<ReorderableRow, never>;
710 static ɵdir: i0.ɵɵDirectiveDeclaration<ReorderableRow, "[pReorderableRow]", never, { "index": "pReorderableRow"; "pReorderableRowDisabled": "pReorderableRowDisabled"; }, {}, never>;
711}
712export declare class ColumnFilterFormElement implements OnInit {
713 dt: Table;
714 field: string;
715 type: string;
716 filterConstraint: FilterMetadata;
717 filterTemplate: TemplateRef<any>;
718 placeholder: string;
719 minFractionDigits: number;
720 maxFractionDigits: number;
721 prefix: string;
722 suffix: string;
723 locale: string;
724 localeMatcher: string;
725 currency: string;
726 currencyDisplay: string;
727 useGrouping: boolean;
728 filterCallback: Function;
729 constructor(dt: Table);
730 ngOnInit(): void;
731 onModelChange(value: any): void;
732 onTextInputEnterKeyDown(event: KeyboardEvent): void;
733 onNumericInputKeyDown(event: KeyboardEvent): void;
734 static ɵfac: i0.ɵɵFactoryDeclaration<ColumnFilterFormElement, never>;
735 static ɵcmp: i0.ɵɵComponentDeclaration<ColumnFilterFormElement, "p-columnFilterFormElement", never, { "field": "field"; "type": "type"; "filterConstraint": "filterConstraint"; "filterTemplate": "filterTemplate"; "placeholder": "placeholder"; "minFractionDigits": "minFractionDigits"; "maxFractionDigits": "maxFractionDigits"; "prefix": "prefix"; "suffix": "suffix"; "locale": "locale"; "localeMatcher": "localeMatcher"; "currency": "currency"; "currencyDisplay": "currencyDisplay"; "useGrouping": "useGrouping"; }, {}, never, never>;
736}
737export declare class ColumnFilter implements AfterContentInit {
738 el: ElementRef;
739 dt: Table;
740 renderer: Renderer2;
741 config: PrimeNGConfig;
742 overlayService: OverlayService;
743 field: string;
744 type: string;
745 display: string;
746 showMenu: boolean;
747 matchMode: string;
748 operator: string;
749 showOperator: boolean;
750 showClearButton: boolean;
751 showApplyButton: boolean;
752 showMatchModes: boolean;
753 showAddButton: boolean;
754 hideOnClear: boolean;
755 placeholder: string;
756 matchModeOptions: SelectItem[];
757 maxConstraints: number;
758 minFractionDigits: number;
759 maxFractionDigits: number;
760 prefix: string;
761 suffix: string;
762 locale: string;
763 localeMatcher: string;
764 currency: string;
765 currencyDisplay: string;
766 useGrouping: boolean;
767 icon: ElementRef;
768 templates: QueryList<any>;
769 constructor(el: ElementRef, dt: Table, renderer: Renderer2, config: PrimeNGConfig, overlayService: OverlayService);
770 overlaySubscription: Subscription;
771 headerTemplate: TemplateRef<any>;
772 filterTemplate: TemplateRef<any>;
773 footerTemplate: TemplateRef<any>;
774 operatorOptions: any[];
775 overlayVisible: boolean;
776 overlay: HTMLElement;
777 scrollHandler: any;
778 documentClickListener: any;
779 documentResizeListener: any;
780 matchModes: SelectItem[];
781 translationSubscription: Subscription;
782 resetSubscription: Subscription;
783 selfClick: boolean;
784 overlayEventListener: any;
785 ngOnInit(): void;
786 generateMatchModeOptions(): void;
787 generateOperatorOptions(): void;
788 ngAfterContentInit(): void;
789 initFieldFilterConstraint(): void;
790 onMenuMatchModeChange(value: any, filterMeta: FilterMetadata): void;
791 onRowMatchModeChange(matchMode: string): void;
792 onRowMatchModeKeyDown(event: KeyboardEvent): void;
793 onRowClearItemClick(): void;
794 isRowMatchModeSelected(matchMode: string): boolean;
795 addConstraint(): void;
796 removeConstraint(filterMeta: FilterMetadata): void;
797 onOperatorChange(value: any): void;
798 toggleMenu(): void;
799 onToggleButtonKeyDown(event: KeyboardEvent): void;
800 onEscape(): void;
801 findNextItem(item: HTMLLIElement): any;
802 findPrevItem(item: HTMLLIElement): any;
803 onContentClick(): void;
804 onOverlayAnimationStart(event: AnimationEvent): void;
805 onOverlayAnimationEnd(event: AnimationEvent): void;
806 getDefaultMatchMode(): string;
807 getDefaultOperator(): string;
808 hasRowFilter(): boolean;
809 get fieldConstraints(): FilterMetadata[];
810 get showRemoveIcon(): boolean;
811 get showMenuButton(): boolean;
812 get isShowOperator(): boolean;
813 get isShowAddConstraint(): boolean;
814 get applyButtonLabel(): string;
815 get clearButtonLabel(): string;
816 get addRuleButtonLabel(): string;
817 get removeRuleButtonLabel(): string;
818 get noFilterLabel(): string;
819 hasFilter(): boolean;
820 isOutsideClicked(event: any): boolean;
821 bindDocumentClickListener(): void;
822 unbindDocumentClickListener(): void;
823 bindDocumentResizeListener(): void;
824 unbindDocumentResizeListener(): void;
825 bindScrollListener(): void;
826 unbindScrollListener(): void;
827 hide(): void;
828 onOverlayHide(): void;
829 clearFilter(): void;
830 applyFilter(): void;
831 ngOnDestroy(): void;
832 static ɵfac: i0.ɵɵFactoryDeclaration<ColumnFilter, never>;
833 static ɵcmp: i0.ɵɵComponentDeclaration<ColumnFilter, "p-columnFilter", never, { "field": "field"; "type": "type"; "display": "display"; "showMenu": "showMenu"; "matchMode": "matchMode"; "operator": "operator"; "showOperator": "showOperator"; "showClearButton": "showClearButton"; "showApplyButton": "showApplyButton"; "showMatchModes": "showMatchModes"; "showAddButton": "showAddButton"; "hideOnClear": "hideOnClear"; "placeholder": "placeholder"; "matchModeOptions": "matchModeOptions"; "maxConstraints": "maxConstraints"; "minFractionDigits": "minFractionDigits"; "maxFractionDigits": "maxFractionDigits"; "prefix": "prefix"; "suffix": "suffix"; "locale": "locale"; "localeMatcher": "localeMatcher"; "currency": "currency"; "currencyDisplay": "currencyDisplay"; "useGrouping": "useGrouping"; }, {}, ["templates"], never>;
834}
835export declare class TableModule {
836 static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
837 static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof Table, typeof SortableColumn, typeof FrozenColumn, typeof RowGroupHeader, typeof SelectableRow, typeof RowToggler, typeof ContextMenuRow, typeof ResizableColumn, typeof ReorderableColumn, typeof EditableColumn, typeof CellEditor, typeof TableBody, typeof SortIcon, typeof TableRadioButton, typeof TableCheckbox, typeof TableHeaderCheckbox, typeof ReorderableRowHandle, typeof ReorderableRow, typeof SelectableRowDblClick, typeof EditableRow, typeof InitEditableRow, typeof SaveEditableRow, typeof CancelEditableRow, typeof ColumnFilter, typeof ColumnFilterFormElement], [typeof i1.CommonModule, typeof i2.PaginatorModule, typeof i3.InputTextModule, typeof i4.DropdownModule, typeof i5.ScrollingModule, typeof i6.FormsModule, typeof i7.ButtonModule, typeof i8.SelectButtonModule, typeof i9.CalendarModule, typeof i10.InputNumberModule, typeof i11.TriStateCheckboxModule], [typeof Table, typeof i12.SharedModule, typeof SortableColumn, typeof FrozenColumn, typeof RowGroupHeader, typeof SelectableRow, typeof RowToggler, typeof ContextMenuRow, typeof ResizableColumn, typeof ReorderableColumn, typeof EditableColumn, typeof CellEditor, typeof SortIcon, typeof TableRadioButton, typeof TableCheckbox, typeof TableHeaderCheckbox, typeof ReorderableRowHandle, typeof ReorderableRow, typeof SelectableRowDblClick, typeof EditableRow, typeof InitEditableRow, typeof SaveEditableRow, typeof CancelEditableRow, typeof i5.ScrollingModule, typeof ColumnFilter]>;
838 static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
839}
Note: See TracBrowser for help on using the repository browser.