[59329aa] | 1 | import { AfterContentInit, OnInit, OnDestroy, EventEmitter, TemplateRef, QueryList, ElementRef, NgZone, AfterViewInit, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
---|
| 2 | import { TreeNode } from 'primeng/api';
|
---|
| 3 | import { Subscription } from 'rxjs';
|
---|
| 4 | import { PrimeTemplate, FilterService } from 'primeng/api';
|
---|
| 5 | import { SortMeta } from 'primeng/api';
|
---|
| 6 | import { BlockableUI } from 'primeng/api';
|
---|
| 7 | import { FilterMetadata } from 'primeng/api';
|
---|
| 8 | import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
---|
| 9 | import * as i0 from "@angular/core";
|
---|
| 10 | import * as i1 from "@angular/common";
|
---|
| 11 | import * as i2 from "primeng/paginator";
|
---|
| 12 | import * as i3 from "@angular/cdk/scrolling";
|
---|
| 13 | import * as i4 from "primeng/ripple";
|
---|
| 14 | import * as i5 from "primeng/api";
|
---|
| 15 | export declare class TreeTableService {
|
---|
| 16 | private sortSource;
|
---|
| 17 | private selectionSource;
|
---|
| 18 | private contextMenuSource;
|
---|
| 19 | private uiUpdateSource;
|
---|
| 20 | private totalRecordsSource;
|
---|
| 21 | sortSource$: import("rxjs").Observable<SortMeta | SortMeta[]>;
|
---|
| 22 | selectionSource$: import("rxjs").Observable<unknown>;
|
---|
| 23 | contextMenuSource$: import("rxjs").Observable<any>;
|
---|
| 24 | uiUpdateSource$: import("rxjs").Observable<any>;
|
---|
| 25 | totalRecordsSource$: import("rxjs").Observable<any>;
|
---|
| 26 | onSort(sortMeta: SortMeta | SortMeta[]): void;
|
---|
| 27 | onSelectionChange(): void;
|
---|
| 28 | onContextMenu(node: any): void;
|
---|
| 29 | onUIUpdate(value: any): void;
|
---|
| 30 | onTotalRecordsChange(value: number): void;
|
---|
| 31 | static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableService, never>;
|
---|
| 32 | static ɵprov: i0.ɵɵInjectableDeclaration<TreeTableService>;
|
---|
| 33 | }
|
---|
| 34 | export declare class TreeTable implements AfterContentInit, OnInit, OnDestroy, BlockableUI, OnChanges {
|
---|
| 35 | el: ElementRef;
|
---|
| 36 | zone: NgZone;
|
---|
| 37 | tableService: TreeTableService;
|
---|
| 38 | filterService: FilterService;
|
---|
| 39 | columns: any[];
|
---|
| 40 | style: any;
|
---|
| 41 | styleClass: string;
|
---|
| 42 | tableStyle: any;
|
---|
| 43 | tableStyleClass: string;
|
---|
| 44 | autoLayout: boolean;
|
---|
| 45 | lazy: boolean;
|
---|
| 46 | lazyLoadOnInit: boolean;
|
---|
| 47 | paginator: boolean;
|
---|
| 48 | rows: number;
|
---|
| 49 | first: number;
|
---|
| 50 | pageLinks: number;
|
---|
| 51 | rowsPerPageOptions: any[];
|
---|
| 52 | alwaysShowPaginator: boolean;
|
---|
| 53 | paginatorPosition: string;
|
---|
| 54 | paginatorDropdownAppendTo: any;
|
---|
| 55 | currentPageReportTemplate: string;
|
---|
| 56 | showCurrentPageReport: boolean;
|
---|
| 57 | showJumpToPageDropdown: boolean;
|
---|
| 58 | showFirstLastIcon: boolean;
|
---|
| 59 | showPageLinks: boolean;
|
---|
| 60 | defaultSortOrder: number;
|
---|
| 61 | sortMode: string;
|
---|
| 62 | resetPageOnSort: boolean;
|
---|
| 63 | customSort: boolean;
|
---|
| 64 | selectionMode: string;
|
---|
| 65 | selectionChange: EventEmitter<any>;
|
---|
| 66 | contextMenuSelection: any;
|
---|
| 67 | contextMenuSelectionChange: EventEmitter<any>;
|
---|
| 68 | contextMenuSelectionMode: string;
|
---|
| 69 | dataKey: string;
|
---|
| 70 | metaKeySelection: boolean;
|
---|
| 71 | compareSelectionBy: string;
|
---|
| 72 | rowHover: boolean;
|
---|
| 73 | loading: boolean;
|
---|
| 74 | loadingIcon: string;
|
---|
| 75 | showLoader: boolean;
|
---|
| 76 | scrollable: boolean;
|
---|
| 77 | scrollHeight: string;
|
---|
| 78 | virtualScroll: boolean;
|
---|
| 79 | virtualScrollDelay: number;
|
---|
| 80 | virtualRowHeight: number;
|
---|
| 81 | minBufferPx: number;
|
---|
| 82 | maxBufferPx: number;
|
---|
| 83 | frozenWidth: string;
|
---|
| 84 | frozenColumns: any[];
|
---|
| 85 | resizableColumns: boolean;
|
---|
| 86 | columnResizeMode: string;
|
---|
| 87 | reorderableColumns: boolean;
|
---|
| 88 | contextMenu: any;
|
---|
| 89 | rowTrackBy: Function;
|
---|
| 90 | filters: {
|
---|
| 91 | [s: string]: FilterMetadata;
|
---|
| 92 | };
|
---|
| 93 | globalFilterFields: string[];
|
---|
| 94 | filterDelay: number;
|
---|
| 95 | filterMode: string;
|
---|
| 96 | filterLocale: string;
|
---|
| 97 | onFilter: EventEmitter<any>;
|
---|
| 98 | onNodeExpand: EventEmitter<any>;
|
---|
| 99 | onNodeCollapse: EventEmitter<any>;
|
---|
| 100 | onPage: EventEmitter<any>;
|
---|
| 101 | onSort: EventEmitter<any>;
|
---|
| 102 | onLazyLoad: EventEmitter<any>;
|
---|
| 103 | sortFunction: EventEmitter<any>;
|
---|
| 104 | onColResize: EventEmitter<any>;
|
---|
| 105 | onColReorder: EventEmitter<any>;
|
---|
| 106 | onNodeSelect: EventEmitter<any>;
|
---|
| 107 | onNodeUnselect: EventEmitter<any>;
|
---|
| 108 | onContextMenuSelect: EventEmitter<any>;
|
---|
| 109 | onHeaderCheckboxToggle: EventEmitter<any>;
|
---|
| 110 | onEditInit: EventEmitter<any>;
|
---|
| 111 | onEditComplete: EventEmitter<any>;
|
---|
| 112 | onEditCancel: EventEmitter<any>;
|
---|
| 113 | containerViewChild: ElementRef;
|
---|
| 114 | resizeHelperViewChild: ElementRef;
|
---|
| 115 | reorderIndicatorUpViewChild: ElementRef;
|
---|
| 116 | reorderIndicatorDownViewChild: ElementRef;
|
---|
| 117 | tableViewChild: ElementRef;
|
---|
| 118 | scrollableViewChild: any;
|
---|
| 119 | scrollableFrozenViewChild: any;
|
---|
| 120 | templates: QueryList<PrimeTemplate>;
|
---|
| 121 | _value: TreeNode[];
|
---|
| 122 | serializedValue: any[];
|
---|
| 123 | _totalRecords: number;
|
---|
| 124 | _multiSortMeta: SortMeta[];
|
---|
| 125 | _sortField: string;
|
---|
| 126 | _sortOrder: number;
|
---|
| 127 | filteredNodes: any[];
|
---|
| 128 | filterTimeout: any;
|
---|
| 129 | colGroupTemplate: TemplateRef<any>;
|
---|
| 130 | captionTemplate: TemplateRef<any>;
|
---|
| 131 | headerTemplate: TemplateRef<any>;
|
---|
| 132 | bodyTemplate: TemplateRef<any>;
|
---|
| 133 | loadingBodyTemplate: TemplateRef<any>;
|
---|
| 134 | footerTemplate: TemplateRef<any>;
|
---|
| 135 | summaryTemplate: TemplateRef<any>;
|
---|
| 136 | emptyMessageTemplate: TemplateRef<any>;
|
---|
| 137 | paginatorLeftTemplate: TemplateRef<any>;
|
---|
| 138 | paginatorRightTemplate: TemplateRef<any>;
|
---|
| 139 | paginatorDropdownItemTemplate: TemplateRef<any>;
|
---|
| 140 | frozenHeaderTemplate: TemplateRef<any>;
|
---|
| 141 | frozenBodyTemplate: TemplateRef<any>;
|
---|
| 142 | frozenFooterTemplate: TemplateRef<any>;
|
---|
| 143 | frozenColGroupTemplate: TemplateRef<any>;
|
---|
| 144 | lastResizerHelperX: number;
|
---|
| 145 | reorderIconWidth: number;
|
---|
| 146 | reorderIconHeight: number;
|
---|
| 147 | draggedColumn: any;
|
---|
| 148 | dropPosition: number;
|
---|
| 149 | preventSelectionSetterPropagation: boolean;
|
---|
| 150 | _selection: any;
|
---|
| 151 | selectionKeys: any;
|
---|
| 152 | rowTouched: boolean;
|
---|
| 153 | editingCell: Element;
|
---|
| 154 | editingCellData: any;
|
---|
| 155 | editingCellField: any;
|
---|
| 156 | editingCellClick: boolean;
|
---|
| 157 | documentEditListener: any;
|
---|
| 158 | initialized: boolean;
|
---|
| 159 | toggleRowIndex: number;
|
---|
| 160 | ngOnInit(): void;
|
---|
| 161 | ngAfterContentInit(): void;
|
---|
| 162 | constructor(el: ElementRef, zone: NgZone, tableService: TreeTableService, filterService: FilterService);
|
---|
| 163 | ngOnChanges(simpleChange: SimpleChanges): void;
|
---|
| 164 | get value(): any[];
|
---|
| 165 | set value(val: any[]);
|
---|
| 166 | updateSerializedValue(): void;
|
---|
| 167 | serializeNodes(parent: any, nodes: any, level: any, visible: any): void;
|
---|
| 168 | serializePageNodes(): void;
|
---|
| 169 | get totalRecords(): number;
|
---|
| 170 | set totalRecords(val: number);
|
---|
| 171 | get sortField(): string;
|
---|
| 172 | set sortField(val: string);
|
---|
| 173 | get sortOrder(): number;
|
---|
| 174 | set sortOrder(val: number);
|
---|
| 175 | get multiSortMeta(): SortMeta[];
|
---|
| 176 | set multiSortMeta(val: SortMeta[]);
|
---|
| 177 | get selection(): any;
|
---|
| 178 | set selection(val: any);
|
---|
| 179 | updateSelectionKeys(): void;
|
---|
| 180 | onPageChange(event: any): void;
|
---|
| 181 | sort(event: any): void;
|
---|
| 182 | sortSingle(): void;
|
---|
| 183 | sortNodes(nodes: any): void;
|
---|
| 184 | sortMultiple(): void;
|
---|
| 185 | sortMultipleNodes(nodes: any): void;
|
---|
| 186 | multisortField(node1: any, node2: any, multiSortMeta: any, index: any): any;
|
---|
| 187 | getSortMeta(field: string): SortMeta;
|
---|
| 188 | isSorted(field: string): boolean;
|
---|
| 189 | createLazyLoadMetadata(): any;
|
---|
| 190 | resetScrollTop(): void;
|
---|
| 191 | scrollToVirtualIndex(index: number): void;
|
---|
| 192 | scrollTo(options: any): void;
|
---|
| 193 | isEmpty(): boolean;
|
---|
| 194 | getBlockableElement(): HTMLElement;
|
---|
| 195 | onColumnResizeBegin(event: any): void;
|
---|
| 196 | onColumnResize(event: any): void;
|
---|
| 197 | onColumnResizeEnd(event: any, column: any): void;
|
---|
| 198 | findParentScrollableView(column: any): any;
|
---|
| 199 | resizeColGroup(table: any, resizeColumnIndex: any, newColumnWidth: any, nextColumnWidth: any): void;
|
---|
| 200 | onColumnDragStart(event: any, columnElement: any): void;
|
---|
| 201 | onColumnDragEnter(event: any, dropHeader: any): void;
|
---|
| 202 | onColumnDragLeave(event: any): void;
|
---|
| 203 | onColumnDrop(event: any, dropColumn: any): void;
|
---|
| 204 | handleRowClick(event: any): void;
|
---|
| 205 | handleRowTouchEnd(event: any): void;
|
---|
| 206 | handleRowRightClick(event: any): void;
|
---|
| 207 | toggleNodeWithCheckbox(event: any): void;
|
---|
| 208 | toggleNodesWithCheckbox(event: Event, check: boolean): void;
|
---|
| 209 | propagateSelectionUp(node: TreeNode, select: boolean): void;
|
---|
| 210 | propagateSelectionDown(node: TreeNode, select: boolean): void;
|
---|
| 211 | isSelected(node: any): boolean;
|
---|
| 212 | findIndexInSelection(node: any): number;
|
---|
| 213 | isSingleSelectionMode(): boolean;
|
---|
| 214 | isMultipleSelectionMode(): boolean;
|
---|
| 215 | equals(node1: any, node2: any): boolean;
|
---|
| 216 | filter(value: any, field: any, matchMode: any): void;
|
---|
| 217 | filterGlobal(value: any, matchMode: any): void;
|
---|
| 218 | isFilterBlank(filter: any): boolean;
|
---|
| 219 | _filter(): void;
|
---|
| 220 | findFilteredNodes(node: any, paramsWithoutNode: any): boolean;
|
---|
| 221 | isFilterMatched(node: any, { filterField, filterValue, filterConstraint, isStrictMode }: {
|
---|
| 222 | filterField: any;
|
---|
| 223 | filterValue: any;
|
---|
| 224 | filterConstraint: any;
|
---|
| 225 | isStrictMode: any;
|
---|
| 226 | }): boolean;
|
---|
| 227 | isNodeLeaf(node: any): boolean;
|
---|
| 228 | hasFilter(): boolean;
|
---|
| 229 | reset(): void;
|
---|
| 230 | updateEditingCell(cell: any, data: any, field: any): void;
|
---|
| 231 | isEditingCellValid(): boolean;
|
---|
| 232 | bindDocumentEditListener(): void;
|
---|
| 233 | unbindDocumentEditListener(): void;
|
---|
| 234 | ngOnDestroy(): void;
|
---|
| 235 | static ɵfac: i0.ɵɵFactoryDeclaration<TreeTable, never>;
|
---|
| 236 | static ɵcmp: i0.ɵɵComponentDeclaration<TreeTable, "p-treeTable", never, { "columns": "columns"; "style": "style"; "styleClass": "styleClass"; "tableStyle": "tableStyle"; "tableStyleClass": "tableStyleClass"; "autoLayout": "autoLayout"; "lazy": "lazy"; "lazyLoadOnInit": "lazyLoadOnInit"; "paginator": "paginator"; "rows": "rows"; "first": "first"; "pageLinks": "pageLinks"; "rowsPerPageOptions": "rowsPerPageOptions"; "alwaysShowPaginator": "alwaysShowPaginator"; "paginatorPosition": "paginatorPosition"; "paginatorDropdownAppendTo": "paginatorDropdownAppendTo"; "currentPageReportTemplate": "currentPageReportTemplate"; "showCurrentPageReport": "showCurrentPageReport"; "showJumpToPageDropdown": "showJumpToPageDropdown"; "showFirstLastIcon": "showFirstLastIcon"; "showPageLinks": "showPageLinks"; "defaultSortOrder": "defaultSortOrder"; "sortMode": "sortMode"; "resetPageOnSort": "resetPageOnSort"; "customSort": "customSort"; "selectionMode": "selectionMode"; "contextMenuSelection": "contextMenuSelection"; "contextMenuSelectionMode": "contextMenuSelectionMode"; "dataKey": "dataKey"; "metaKeySelection": "metaKeySelection"; "compareSelectionBy": "compareSelectionBy"; "rowHover": "rowHover"; "loading": "loading"; "loadingIcon": "loadingIcon"; "showLoader": "showLoader"; "scrollable": "scrollable"; "scrollHeight": "scrollHeight"; "virtualScroll": "virtualScroll"; "virtualScrollDelay": "virtualScrollDelay"; "virtualRowHeight": "virtualRowHeight"; "minBufferPx": "minBufferPx"; "maxBufferPx": "maxBufferPx"; "frozenWidth": "frozenWidth"; "frozenColumns": "frozenColumns"; "resizableColumns": "resizableColumns"; "columnResizeMode": "columnResizeMode"; "reorderableColumns": "reorderableColumns"; "contextMenu": "contextMenu"; "rowTrackBy": "rowTrackBy"; "filters": "filters"; "globalFilterFields": "globalFilterFields"; "filterDelay": "filterDelay"; "filterMode": "filterMode"; "filterLocale": "filterLocale"; "value": "value"; "totalRecords": "totalRecords"; "sortField": "sortField"; "sortOrder": "sortOrder"; "multiSortMeta": "multiSortMeta"; "selection": "selection"; }, { "selectionChange": "selectionChange"; "contextMenuSelectionChange": "contextMenuSelectionChange"; "onFilter": "onFilter"; "onNodeExpand": "onNodeExpand"; "onNodeCollapse": "onNodeCollapse"; "onPage": "onPage"; "onSort": "onSort"; "onLazyLoad": "onLazyLoad"; "sortFunction": "sortFunction"; "onColResize": "onColResize"; "onColReorder": "onColReorder"; "onNodeSelect": "onNodeSelect"; "onNodeUnselect": "onNodeUnselect"; "onContextMenuSelect": "onContextMenuSelect"; "onHeaderCheckboxToggle": "onHeaderCheckboxToggle"; "onEditInit": "onEditInit"; "onEditComplete": "onEditComplete"; "onEditCancel": "onEditCancel"; }, ["templates"], never>;
|
---|
| 237 | }
|
---|
| 238 | export declare class TTBody {
|
---|
| 239 | tt: TreeTable;
|
---|
| 240 | treeTableService: TreeTableService;
|
---|
| 241 | cd: ChangeDetectorRef;
|
---|
| 242 | columns: any[];
|
---|
| 243 | template: TemplateRef<any>;
|
---|
| 244 | frozen: boolean;
|
---|
| 245 | subscription: Subscription;
|
---|
| 246 | constructor(tt: TreeTable, treeTableService: TreeTableService, cd: ChangeDetectorRef);
|
---|
| 247 | ngOnDestroy(): void;
|
---|
| 248 | static ɵfac: i0.ɵɵFactoryDeclaration<TTBody, never>;
|
---|
| 249 | static ɵcmp: i0.ɵɵComponentDeclaration<TTBody, "[pTreeTableBody]", never, { "columns": "pTreeTableBody"; "template": "pTreeTableBodyTemplate"; "frozen": "frozen"; }, {}, never, never>;
|
---|
| 250 | }
|
---|
| 251 | export declare class TTScrollableView implements AfterViewInit, OnDestroy {
|
---|
| 252 | tt: TreeTable;
|
---|
| 253 | el: ElementRef;
|
---|
| 254 | zone: NgZone;
|
---|
| 255 | columns: any[];
|
---|
| 256 | frozen: boolean;
|
---|
| 257 | scrollHeaderViewChild: ElementRef;
|
---|
| 258 | scrollHeaderBoxViewChild: ElementRef;
|
---|
| 259 | scrollBodyViewChild: ElementRef;
|
---|
| 260 | scrollTableViewChild: ElementRef;
|
---|
| 261 | scrollLoadingTableViewChild: ElementRef;
|
---|
| 262 | scrollFooterViewChild: ElementRef;
|
---|
| 263 | scrollFooterBoxViewChild: ElementRef;
|
---|
| 264 | scrollableAlignerViewChild: ElementRef;
|
---|
| 265 | virtualScrollBody: CdkVirtualScrollViewport;
|
---|
| 266 | headerScrollListener: any;
|
---|
| 267 | bodyScrollListener: any;
|
---|
| 268 | footerScrollListener: any;
|
---|
| 269 | frozenSiblingBody: Element;
|
---|
| 270 | totalRecordsSubscription: Subscription;
|
---|
| 271 | _scrollHeight: string;
|
---|
| 272 | preventBodyScrollPropagation: boolean;
|
---|
| 273 | get scrollHeight(): string;
|
---|
| 274 | set scrollHeight(val: string);
|
---|
| 275 | constructor(tt: TreeTable, el: ElementRef, zone: NgZone);
|
---|
| 276 | ngAfterViewInit(): void;
|
---|
| 277 | bindEvents(): void;
|
---|
| 278 | unbindEvents(): void;
|
---|
| 279 | onHeaderScroll(): void;
|
---|
| 280 | onFooterScroll(): void;
|
---|
| 281 | onBodyScroll(event: any): void;
|
---|
| 282 | scrollToVirtualIndex(index: number): void;
|
---|
| 283 | scrollTo(options: any): void;
|
---|
| 284 | ngOnDestroy(): void;
|
---|
| 285 | static ɵfac: i0.ɵɵFactoryDeclaration<TTScrollableView, never>;
|
---|
| 286 | static ɵcmp: i0.ɵɵComponentDeclaration<TTScrollableView, "[ttScrollableView]", never, { "columns": "ttScrollableView"; "frozen": "frozen"; "scrollHeight": "scrollHeight"; }, {}, never, never>;
|
---|
| 287 | }
|
---|
| 288 | export declare class TTSortableColumn implements OnInit, OnDestroy {
|
---|
| 289 | tt: TreeTable;
|
---|
| 290 | field: string;
|
---|
| 291 | ttSortableColumnDisabled: boolean;
|
---|
| 292 | sorted: boolean;
|
---|
| 293 | subscription: Subscription;
|
---|
| 294 | constructor(tt: TreeTable);
|
---|
| 295 | ngOnInit(): void;
|
---|
| 296 | updateSortState(): void;
|
---|
| 297 | onClick(event: MouseEvent): void;
|
---|
| 298 | onEnterKey(event: MouseEvent): void;
|
---|
| 299 | isEnabled(): boolean;
|
---|
| 300 | ngOnDestroy(): void;
|
---|
| 301 | static ɵfac: i0.ɵɵFactoryDeclaration<TTSortableColumn, never>;
|
---|
| 302 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTSortableColumn, "[ttSortableColumn]", never, { "field": "ttSortableColumn"; "ttSortableColumnDisabled": "ttSortableColumnDisabled"; }, {}, never>;
|
---|
| 303 | }
|
---|
| 304 | export declare class TTSortIcon implements OnInit, OnDestroy {
|
---|
| 305 | tt: TreeTable;
|
---|
| 306 | cd: ChangeDetectorRef;
|
---|
| 307 | field: string;
|
---|
| 308 | ariaLabelDesc: string;
|
---|
| 309 | ariaLabelAsc: string;
|
---|
| 310 | subscription: Subscription;
|
---|
| 311 | sortOrder: number;
|
---|
| 312 | constructor(tt: TreeTable, cd: ChangeDetectorRef);
|
---|
| 313 | ngOnInit(): void;
|
---|
| 314 | onClick(event: any): void;
|
---|
| 315 | updateSortState(): void;
|
---|
| 316 | ngOnDestroy(): void;
|
---|
| 317 | static ɵfac: i0.ɵɵFactoryDeclaration<TTSortIcon, never>;
|
---|
| 318 | static ɵcmp: i0.ɵɵComponentDeclaration<TTSortIcon, "p-treeTableSortIcon", never, { "field": "field"; "ariaLabelDesc": "ariaLabelDesc"; "ariaLabelAsc": "ariaLabelAsc"; }, {}, never, never>;
|
---|
| 319 | }
|
---|
| 320 | export declare class TTResizableColumn implements AfterViewInit, OnDestroy {
|
---|
| 321 | tt: TreeTable;
|
---|
| 322 | el: ElementRef;
|
---|
| 323 | zone: NgZone;
|
---|
| 324 | ttResizableColumnDisabled: boolean;
|
---|
| 325 | resizer: HTMLSpanElement;
|
---|
| 326 | resizerMouseDownListener: any;
|
---|
| 327 | documentMouseMoveListener: any;
|
---|
| 328 | documentMouseUpListener: any;
|
---|
| 329 | constructor(tt: TreeTable, el: ElementRef, zone: NgZone);
|
---|
| 330 | ngAfterViewInit(): void;
|
---|
| 331 | bindDocumentEvents(): void;
|
---|
| 332 | unbindDocumentEvents(): void;
|
---|
| 333 | onMouseDown(event: Event): void;
|
---|
| 334 | onDocumentMouseMove(event: Event): void;
|
---|
| 335 | onDocumentMouseUp(event: Event): void;
|
---|
| 336 | isEnabled(): boolean;
|
---|
| 337 | ngOnDestroy(): void;
|
---|
| 338 | static ɵfac: i0.ɵɵFactoryDeclaration<TTResizableColumn, never>;
|
---|
| 339 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTResizableColumn, "[ttResizableColumn]", never, { "ttResizableColumnDisabled": "ttResizableColumnDisabled"; }, {}, never>;
|
---|
| 340 | }
|
---|
| 341 | export declare class TTReorderableColumn implements AfterViewInit, OnDestroy {
|
---|
| 342 | tt: TreeTable;
|
---|
| 343 | el: ElementRef;
|
---|
| 344 | zone: NgZone;
|
---|
| 345 | ttReorderableColumnDisabled: boolean;
|
---|
| 346 | dragStartListener: any;
|
---|
| 347 | dragOverListener: any;
|
---|
| 348 | dragEnterListener: any;
|
---|
| 349 | dragLeaveListener: any;
|
---|
| 350 | mouseDownListener: any;
|
---|
| 351 | constructor(tt: TreeTable, el: ElementRef, zone: NgZone);
|
---|
| 352 | ngAfterViewInit(): void;
|
---|
| 353 | bindEvents(): void;
|
---|
| 354 | unbindEvents(): void;
|
---|
| 355 | onMouseDown(event: any): void;
|
---|
| 356 | onDragStart(event: any): void;
|
---|
| 357 | onDragOver(event: any): void;
|
---|
| 358 | onDragEnter(event: any): void;
|
---|
| 359 | onDragLeave(event: any): void;
|
---|
| 360 | onDrop(event: any): void;
|
---|
| 361 | isEnabled(): boolean;
|
---|
| 362 | ngOnDestroy(): void;
|
---|
| 363 | static ɵfac: i0.ɵɵFactoryDeclaration<TTReorderableColumn, never>;
|
---|
| 364 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTReorderableColumn, "[ttReorderableColumn]", never, { "ttReorderableColumnDisabled": "ttReorderableColumnDisabled"; }, {}, never>;
|
---|
| 365 | }
|
---|
| 366 | export declare class TTSelectableRow implements OnInit, OnDestroy {
|
---|
| 367 | tt: TreeTable;
|
---|
| 368 | tableService: TreeTableService;
|
---|
| 369 | rowNode: any;
|
---|
| 370 | ttSelectableRowDisabled: boolean;
|
---|
| 371 | selected: boolean;
|
---|
| 372 | subscription: Subscription;
|
---|
| 373 | constructor(tt: TreeTable, tableService: TreeTableService);
|
---|
| 374 | ngOnInit(): void;
|
---|
| 375 | onClick(event: Event): void;
|
---|
| 376 | onEnterKey(event: KeyboardEvent): void;
|
---|
| 377 | onTouchEnd(event: Event): void;
|
---|
| 378 | isEnabled(): boolean;
|
---|
| 379 | ngOnDestroy(): void;
|
---|
| 380 | static ɵfac: i0.ɵɵFactoryDeclaration<TTSelectableRow, never>;
|
---|
| 381 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTSelectableRow, "[ttSelectableRow]", never, { "rowNode": "ttSelectableRow"; "ttSelectableRowDisabled": "ttSelectableRowDisabled"; }, {}, never>;
|
---|
| 382 | }
|
---|
| 383 | export declare class TTSelectableRowDblClick implements OnInit, OnDestroy {
|
---|
| 384 | tt: TreeTable;
|
---|
| 385 | tableService: TreeTableService;
|
---|
| 386 | rowNode: any;
|
---|
| 387 | ttSelectableRowDisabled: boolean;
|
---|
| 388 | selected: boolean;
|
---|
| 389 | subscription: Subscription;
|
---|
| 390 | constructor(tt: TreeTable, tableService: TreeTableService);
|
---|
| 391 | ngOnInit(): void;
|
---|
| 392 | onClick(event: Event): void;
|
---|
| 393 | isEnabled(): boolean;
|
---|
| 394 | ngOnDestroy(): void;
|
---|
| 395 | static ɵfac: i0.ɵɵFactoryDeclaration<TTSelectableRowDblClick, never>;
|
---|
| 396 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTSelectableRowDblClick, "[ttSelectableRowDblClick]", never, { "rowNode": "ttSelectableRowDblClick"; "ttSelectableRowDisabled": "ttSelectableRowDisabled"; }, {}, never>;
|
---|
| 397 | }
|
---|
| 398 | export declare class TTContextMenuRow {
|
---|
| 399 | tt: TreeTable;
|
---|
| 400 | tableService: TreeTableService;
|
---|
| 401 | private el;
|
---|
| 402 | rowNode: any;
|
---|
| 403 | ttContextMenuRowDisabled: boolean;
|
---|
| 404 | selected: boolean;
|
---|
| 405 | subscription: Subscription;
|
---|
| 406 | constructor(tt: TreeTable, tableService: TreeTableService, el: ElementRef);
|
---|
| 407 | onContextMenu(event: Event): void;
|
---|
| 408 | isEnabled(): boolean;
|
---|
| 409 | ngOnDestroy(): void;
|
---|
| 410 | static ɵfac: i0.ɵɵFactoryDeclaration<TTContextMenuRow, never>;
|
---|
| 411 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTContextMenuRow, "[ttContextMenuRow]", never, { "rowNode": "ttContextMenuRow"; "ttContextMenuRowDisabled": "ttContextMenuRowDisabled"; }, {}, never>;
|
---|
| 412 | }
|
---|
| 413 | export declare class TTCheckbox {
|
---|
| 414 | tt: TreeTable;
|
---|
| 415 | tableService: TreeTableService;
|
---|
| 416 | cd: ChangeDetectorRef;
|
---|
| 417 | disabled: boolean;
|
---|
| 418 | rowNode: any;
|
---|
| 419 | boxViewChild: ElementRef;
|
---|
| 420 | checked: boolean;
|
---|
| 421 | subscription: Subscription;
|
---|
| 422 | constructor(tt: TreeTable, tableService: TreeTableService, cd: ChangeDetectorRef);
|
---|
| 423 | ngOnInit(): void;
|
---|
| 424 | onClick(event: Event): void;
|
---|
| 425 | onFocus(): void;
|
---|
| 426 | onBlur(): void;
|
---|
| 427 | ngOnDestroy(): void;
|
---|
| 428 | static ɵfac: i0.ɵɵFactoryDeclaration<TTCheckbox, never>;
|
---|
| 429 | static ɵcmp: i0.ɵɵComponentDeclaration<TTCheckbox, "p-treeTableCheckbox", never, { "disabled": "disabled"; "rowNode": "value"; }, {}, never, never>;
|
---|
| 430 | }
|
---|
| 431 | export declare class TTHeaderCheckbox {
|
---|
| 432 | tt: TreeTable;
|
---|
| 433 | tableService: TreeTableService;
|
---|
| 434 | private cd;
|
---|
| 435 | boxViewChild: ElementRef;
|
---|
| 436 | checked: boolean;
|
---|
| 437 | disabled: boolean;
|
---|
| 438 | selectionChangeSubscription: Subscription;
|
---|
| 439 | valueChangeSubscription: Subscription;
|
---|
| 440 | constructor(tt: TreeTable, tableService: TreeTableService, cd: ChangeDetectorRef);
|
---|
| 441 | ngOnInit(): void;
|
---|
| 442 | onClick(event: Event, checked: any): void;
|
---|
| 443 | onFocus(): void;
|
---|
| 444 | onBlur(): void;
|
---|
| 445 | ngOnDestroy(): void;
|
---|
| 446 | updateCheckedState(): boolean;
|
---|
| 447 | static ɵfac: i0.ɵɵFactoryDeclaration<TTHeaderCheckbox, never>;
|
---|
| 448 | static ɵcmp: i0.ɵɵComponentDeclaration<TTHeaderCheckbox, "p-treeTableHeaderCheckbox", never, {}, {}, never, never>;
|
---|
| 449 | }
|
---|
| 450 | export declare class TTEditableColumn implements AfterViewInit {
|
---|
| 451 | tt: TreeTable;
|
---|
| 452 | el: ElementRef;
|
---|
| 453 | zone: NgZone;
|
---|
| 454 | data: any;
|
---|
| 455 | field: any;
|
---|
| 456 | ttEditableColumnDisabled: boolean;
|
---|
| 457 | constructor(tt: TreeTable, el: ElementRef, zone: NgZone);
|
---|
| 458 | ngAfterViewInit(): void;
|
---|
| 459 | onClick(event: MouseEvent): void;
|
---|
| 460 | openCell(): void;
|
---|
| 461 | closeEditingCell(): void;
|
---|
| 462 | onKeyDown(event: KeyboardEvent): void;
|
---|
| 463 | findCell(element: any): any;
|
---|
| 464 | moveToPreviousCell(event: KeyboardEvent): void;
|
---|
| 465 | moveToNextCell(event: KeyboardEvent): void;
|
---|
| 466 | findPreviousEditableColumn(cell: Element): any;
|
---|
| 467 | findNextEditableColumn(cell: Element): any;
|
---|
| 468 | isEnabled(): boolean;
|
---|
| 469 | static ɵfac: i0.ɵɵFactoryDeclaration<TTEditableColumn, never>;
|
---|
| 470 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTEditableColumn, "[ttEditableColumn]", never, { "data": "ttEditableColumn"; "field": "ttEditableColumnField"; "ttEditableColumnDisabled": "ttEditableColumnDisabled"; }, {}, never>;
|
---|
| 471 | }
|
---|
| 472 | export declare class TreeTableCellEditor implements AfterContentInit {
|
---|
| 473 | tt: TreeTable;
|
---|
| 474 | editableColumn: TTEditableColumn;
|
---|
| 475 | templates: QueryList<PrimeTemplate>;
|
---|
| 476 | inputTemplate: TemplateRef<any>;
|
---|
| 477 | outputTemplate: TemplateRef<any>;
|
---|
| 478 | constructor(tt: TreeTable, editableColumn: TTEditableColumn);
|
---|
| 479 | ngAfterContentInit(): void;
|
---|
| 480 | static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableCellEditor, never>;
|
---|
| 481 | static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableCellEditor, "p-treeTableCellEditor", never, {}, {}, ["templates"], never>;
|
---|
| 482 | }
|
---|
| 483 | export declare class TTRow {
|
---|
| 484 | tt: TreeTable;
|
---|
| 485 | el: ElementRef;
|
---|
| 486 | zone: NgZone;
|
---|
| 487 | rowNode: any;
|
---|
| 488 | constructor(tt: TreeTable, el: ElementRef, zone: NgZone);
|
---|
| 489 | onKeyDown(event: KeyboardEvent): void;
|
---|
| 490 | restoreFocus(): void;
|
---|
| 491 | static ɵfac: i0.ɵɵFactoryDeclaration<TTRow, never>;
|
---|
| 492 | static ɵdir: i0.ɵɵDirectiveDeclaration<TTRow, "[ttRow]", never, { "rowNode": "ttRow"; }, {}, never>;
|
---|
| 493 | }
|
---|
| 494 | export declare class TreeTableToggler {
|
---|
| 495 | tt: TreeTable;
|
---|
| 496 | rowNode: any;
|
---|
| 497 | constructor(tt: TreeTable);
|
---|
| 498 | onClick(event: Event): void;
|
---|
| 499 | static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableToggler, never>;
|
---|
| 500 | static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableToggler, "p-treeTableToggler", never, { "rowNode": "rowNode"; }, {}, never, never>;
|
---|
| 501 | }
|
---|
| 502 | export declare class TreeTableModule {
|
---|
| 503 | static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableModule, never>;
|
---|
| 504 | static ɵmod: i0.ɵɵNgModuleDeclaration<TreeTableModule, [typeof TreeTable, typeof TreeTableToggler, typeof TTScrollableView, typeof TTBody, typeof TTSortableColumn, typeof TTSortIcon, typeof TTResizableColumn, typeof TTRow, typeof TTReorderableColumn, typeof TTSelectableRow, typeof TTSelectableRowDblClick, typeof TTContextMenuRow, typeof TTCheckbox, typeof TTHeaderCheckbox, typeof TTEditableColumn, typeof TreeTableCellEditor], [typeof i1.CommonModule, typeof i2.PaginatorModule, typeof i3.ScrollingModule, typeof i4.RippleModule], [typeof TreeTable, typeof i5.SharedModule, typeof TreeTableToggler, typeof TTSortableColumn, typeof TTSortIcon, typeof TTResizableColumn, typeof TTRow, typeof TTReorderableColumn, typeof TTSelectableRow, typeof TTSelectableRowDblClick, typeof TTContextMenuRow, typeof TTCheckbox, typeof TTHeaderCheckbox, typeof TTEditableColumn, typeof TreeTableCellEditor, typeof i3.ScrollingModule]>;
|
---|
| 505 | static ɵinj: i0.ɵɵInjectorDeclaration<TreeTableModule>;
|
---|
| 506 | }
|
---|