/********** Angular **********/ import { OnInit, OnDestroy } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; /********** Ionic **********/ /********** Plugin **********/ import { Observable, Subscription, Subject } from 'rxjs'; import { CellClickEvent, ExpandEvent, ScrollMode } from '@progress/kendo-angular-treelist'; /********** Component & Service **********/ import { DataListingFieldBase } from '../components/datalistingfieldbase.component'; import { ZComponentService } from '../services/zcomponent.service'; import { FieldService, WebApiService, AuthService, ZComponent, ZField, ZGroup } from 'mmhglobal-zcore'; import * as i0 from "@angular/core"; export interface ZTreeListColumn { field: string; title: string; width: number; visible: boolean | any; fieldType: string; navigateTo: string; command: any; class: any; footerTemplate: boolean; aggregateType: string; aggregateTitle: string; iconOnly?: boolean; } export declare class ZTreeListOptions { sortable?: boolean; resizable?: boolean; filterable?: boolean; reorderable?: boolean; columnMenu?: boolean; scrollable?: ScrollMode; refresh?: boolean; autoBind?: boolean; dataSource?: string; dataBound?: any; idField?: string; parentIdField?: string; columns?: Array; aggregate?: any; pageAble?: any; pageSize: number; constructor(sortable?: boolean, resizable?: boolean, filterable?: boolean, reorderable?: boolean, columnMenu?: boolean, scrollable?: ScrollMode, refresh?: boolean, autoBind?: boolean, dataSource?: string, dataBound?: any, idField?: string, parentIdField?: string, columns?: Array, aggregate?: any, pageAble?: any, pageSize?: number); } export declare class ZtreelistComponent extends DataListingFieldBase implements ZComponent, OnInit, OnDestroy { componentService: ZComponentService; private fieldService; private webapiService; private activatedRoute; private router; private authService; ztreelist: any; subscription: Subscription; dataSource: any; idField: string; parentIdField: string; options: ZTreeListOptions; gridBtn: any; fieldgridColVisible: any[]; inlineEditedFormGroups: {}; isLoading: boolean; treelistSubject: Subject; private expandedIds; constructor(componentService: ZComponentService, fieldService: FieldService, webapiService: WebApiService, activatedRoute: ActivatedRoute, router: Router, authService: AuthService); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; setData: (gData: any) => void; isButtonHidden(col: any, cellContain: any): any; buttonClick(button: any, cellContext: any): void; onNavigateTo(event: any, colSetting: any, rowData: any, cellData: string): void; isColumnsVisible(fieldExpr: any): any; private setLocalOptions; setFieldElementOptions(): void; beforeLoadColumn(group: ZGroup, fields: any, me: any): Observable; private getButtonsFromZButtons; private setTreeListColumns; private insertField; private insertCommand; private insertFooterTemplateField; private getDataBinding; private getResouceURL; cellClickHandler(event: CellClickEvent): void; private editModel; getFormat(col: any): string; setHeaderText(columnName: string, newHeaderTitle: string): void; getColClass(dataItem: any, col: any): string; onFilterChange(event: any): void; filterable(value: any): boolean; sortable(value: any): boolean; setDefaultExpandable(): void; isExpanded: (dataItem: any) => boolean; onCollapse(args: ExpandEvent): void; onExpand(args: ExpandEvent): void; addNew(): void; refreshData(): void; private setupGridButtons; private createFormControlsForInlineEdit; getInlineField(value: any): any; getInlineForm(data: any, rowIndex: number): any; getFormControlData(): any[]; isInlineEditColVisible(dataItem: any, column: any): boolean; getCellStyleForInlineEdit(columnField: ZField, dataItem: any, rowIndex: number): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }