[59329aa] | 1 | import { ElementRef, OnInit, AfterContentInit, EventEmitter, QueryList, TemplateRef, OnChanges, SimpleChanges, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
---|
| 2 | import { FilterService, PrimeNGConfig } from 'primeng/api';
|
---|
| 3 | import { BlockableUI } from 'primeng/api';
|
---|
| 4 | import { Subscription } from 'rxjs';
|
---|
| 5 | import * as i0 from "@angular/core";
|
---|
| 6 | import * as i1 from "@angular/common";
|
---|
| 7 | import * as i2 from "primeng/api";
|
---|
| 8 | import * as i3 from "primeng/paginator";
|
---|
| 9 | export declare class DataView implements OnInit, AfterContentInit, OnDestroy, BlockableUI, OnChanges {
|
---|
| 10 | el: ElementRef;
|
---|
| 11 | cd: ChangeDetectorRef;
|
---|
| 12 | filterService: FilterService;
|
---|
| 13 | config: PrimeNGConfig;
|
---|
| 14 | paginator: boolean;
|
---|
| 15 | rows: number;
|
---|
| 16 | totalRecords: number;
|
---|
| 17 | pageLinks: number;
|
---|
| 18 | rowsPerPageOptions: any[];
|
---|
| 19 | paginatorPosition: string;
|
---|
| 20 | alwaysShowPaginator: boolean;
|
---|
| 21 | paginatorDropdownAppendTo: any;
|
---|
| 22 | paginatorDropdownScrollHeight: string;
|
---|
| 23 | currentPageReportTemplate: string;
|
---|
| 24 | showCurrentPageReport: boolean;
|
---|
| 25 | showJumpToPageDropdown: boolean;
|
---|
| 26 | showFirstLastIcon: boolean;
|
---|
| 27 | showPageLinks: boolean;
|
---|
| 28 | lazy: boolean;
|
---|
| 29 | emptyMessage: string;
|
---|
| 30 | onLazyLoad: EventEmitter<any>;
|
---|
| 31 | style: any;
|
---|
| 32 | styleClass: string;
|
---|
| 33 | trackBy: Function;
|
---|
| 34 | filterBy: string;
|
---|
| 35 | filterLocale: string;
|
---|
| 36 | loading: boolean;
|
---|
| 37 | loadingIcon: string;
|
---|
| 38 | first: number;
|
---|
| 39 | sortField: string;
|
---|
| 40 | sortOrder: number;
|
---|
| 41 | value: any[];
|
---|
| 42 | onPage: EventEmitter<any>;
|
---|
| 43 | onSort: EventEmitter<any>;
|
---|
| 44 | onChangeLayout: EventEmitter<any>;
|
---|
| 45 | header: any;
|
---|
| 46 | footer: any;
|
---|
| 47 | templates: QueryList<any>;
|
---|
| 48 | _value: any[];
|
---|
| 49 | listItemTemplate: TemplateRef<any>;
|
---|
| 50 | gridItemTemplate: TemplateRef<any>;
|
---|
| 51 | itemTemplate: TemplateRef<any>;
|
---|
| 52 | headerTemplate: TemplateRef<any>;
|
---|
| 53 | emptyMessageTemplate: TemplateRef<any>;
|
---|
| 54 | footerTemplate: TemplateRef<any>;
|
---|
| 55 | paginatorLeftTemplate: TemplateRef<any>;
|
---|
| 56 | paginatorRightTemplate: TemplateRef<any>;
|
---|
| 57 | paginatorDropdownItemTemplate: TemplateRef<any>;
|
---|
| 58 | filteredValue: any[];
|
---|
| 59 | filterValue: string;
|
---|
| 60 | initialized: boolean;
|
---|
| 61 | _layout: string;
|
---|
| 62 | translationSubscription: Subscription;
|
---|
| 63 | get layout(): string;
|
---|
| 64 | set layout(layout: string);
|
---|
| 65 | constructor(el: ElementRef, cd: ChangeDetectorRef, filterService: FilterService, config: PrimeNGConfig);
|
---|
| 66 | ngOnInit(): void;
|
---|
| 67 | ngOnChanges(simpleChanges: SimpleChanges): void;
|
---|
| 68 | ngAfterContentInit(): void;
|
---|
| 69 | updateItemTemplate(): void;
|
---|
| 70 | changeLayout(layout: string): void;
|
---|
| 71 | updateTotalRecords(): void;
|
---|
| 72 | paginate(event: any): void;
|
---|
| 73 | sort(): void;
|
---|
| 74 | isEmpty(): boolean;
|
---|
| 75 | createLazyLoadMetadata(): any;
|
---|
| 76 | getBlockableElement(): HTMLElement;
|
---|
| 77 | get emptyMessageLabel(): string;
|
---|
| 78 | filter(filter: string, filterMatchMode?: string): void;
|
---|
| 79 | hasFilter(): boolean;
|
---|
| 80 | ngOnDestroy(): void;
|
---|
| 81 | static ɵfac: i0.ɵɵFactoryDeclaration<DataView, never>;
|
---|
| 82 | static ɵcmp: i0.ɵɵComponentDeclaration<DataView, "p-dataView", never, { "paginator": "paginator"; "rows": "rows"; "totalRecords": "totalRecords"; "pageLinks": "pageLinks"; "rowsPerPageOptions": "rowsPerPageOptions"; "paginatorPosition": "paginatorPosition"; "alwaysShowPaginator": "alwaysShowPaginator"; "paginatorDropdownAppendTo": "paginatorDropdownAppendTo"; "paginatorDropdownScrollHeight": "paginatorDropdownScrollHeight"; "currentPageReportTemplate": "currentPageReportTemplate"; "showCurrentPageReport": "showCurrentPageReport"; "showJumpToPageDropdown": "showJumpToPageDropdown"; "showFirstLastIcon": "showFirstLastIcon"; "showPageLinks": "showPageLinks"; "lazy": "lazy"; "emptyMessage": "emptyMessage"; "style": "style"; "styleClass": "styleClass"; "trackBy": "trackBy"; "filterBy": "filterBy"; "filterLocale": "filterLocale"; "loading": "loading"; "loadingIcon": "loadingIcon"; "first": "first"; "sortField": "sortField"; "sortOrder": "sortOrder"; "value": "value"; "layout": "layout"; }, { "onLazyLoad": "onLazyLoad"; "onPage": "onPage"; "onSort": "onSort"; "onChangeLayout": "onChangeLayout"; }, ["header", "footer", "templates"], ["p-header", "p-footer"]>;
|
---|
| 83 | }
|
---|
| 84 | export declare class DataViewLayoutOptions {
|
---|
| 85 | dv: DataView;
|
---|
| 86 | style: any;
|
---|
| 87 | styleClass: string;
|
---|
| 88 | constructor(dv: DataView);
|
---|
| 89 | changeLayout(event: Event, layout: string): void;
|
---|
| 90 | static ɵfac: i0.ɵɵFactoryDeclaration<DataViewLayoutOptions, never>;
|
---|
| 91 | static ɵcmp: i0.ɵɵComponentDeclaration<DataViewLayoutOptions, "p-dataViewLayoutOptions", never, { "style": "style"; "styleClass": "styleClass"; }, {}, never, never>;
|
---|
| 92 | }
|
---|
| 93 | export declare class DataViewModule {
|
---|
| 94 | static ɵfac: i0.ɵɵFactoryDeclaration<DataViewModule, never>;
|
---|
| 95 | static ɵmod: i0.ɵɵNgModuleDeclaration<DataViewModule, [typeof DataView, typeof DataViewLayoutOptions], [typeof i1.CommonModule, typeof i2.SharedModule, typeof i3.PaginatorModule], [typeof DataView, typeof i2.SharedModule, typeof DataViewLayoutOptions]>;
|
---|
| 96 | static ɵinj: i0.ɵɵInjectorDeclaration<DataViewModule>;
|
---|
| 97 | }
|
---|