import { Injector, ElementRef } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { Subscription } from 'rxjs/Subscription'; import { AuthGuardService, OTranslateService, LocalStorageService, DialogService } from '../services'; import { OFormComponent } from './form/o-form.component'; import { OListInitializationOptions } from './list/o-list.component'; export interface ILocalStorageComponent { getDataToStore(): Object; getComponentKey(): string; } export declare const DEFAULT_INPUTS_O_SERVICE_COMPONENT: string[]; export declare class OServiceComponent implements ILocalStorageComponent { static DEFAULT_INPUTS_O_SERVICE_COMPONENT: string[]; static DEFAULT_QUERY_METHOD: string; static DEFAULT_PAGINATED_QUERY_METHOD: string; static DEFAULT_DELETE_METHOD: string; static DEFAULT_QUERY_ROWS: number; static DEFAULT_DETAIL_ICON: string; static DEFAULT_EDIT_ICON: string; static DEFAULT_ROW_HEIGHT: string; static AVAILABLE_ROW_HEIGHTS: string[]; static DEFAULT_DETAIL_MODE: string; static DETAIL_MODE_CLICK: string; static DETAIL_MODE_DBLCLICK: string; protected authGuardService: AuthGuardService; protected translateService: OTranslateService; protected localStorageService: LocalStorageService; protected dialogService: DialogService; protected oattr: string; protected title: string; protected cssclass: string; protected ovisible: boolean; protected oenabled: boolean; protected controls: boolean; protected service: string; protected entity: string; protected queryMethod: string; protected paginatedQueryMethod: string; protected deleteMethod: string; protected queryOnInit: boolean; protected queryOnBind: boolean; protected pageable: boolean; protected columns: string; protected keys: string; protected parentKeys: string; protected staticData: Array; protected detailMode: string; protected detailFormRoute: string; protected recursiveDetail: boolean; detailButtonInRow: boolean; protected detailButtonInRowIcon: string; protected editFormRoute: string; protected recursiveEdit: boolean; editButtonInRow: boolean; protected editButtonInRowIcon: string; protected queryRows: any; insertButton: boolean; rowHeight: string; protected serviceType: string; protected colArray: Array; protected keysArray: Array; protected _pKeysEquiv: {}; protected dataArray: Array; protected parentItem: any; protected oattrFromEntity: boolean; protected onLanguageChangeSubscribe: any; protected onRouteChangeStorageSubscribe: any; protected onFormDataSubscribe: any; loading: boolean; protected loaderSuscription: Subscription; protected querySuscription: Subscription; protected filterForm: boolean; protected dataService: any; protected state: any; protected selectedItems: Array; protected router: Router; protected actRoute: ActivatedRoute; protected injector: Injector; elRef: ElementRef; protected form: OFormComponent; constructor(injector: Injector, elRef: ElementRef, form: OFormComponent); isVisible(): boolean; hasControls(): boolean; getSelectedItems(): any[]; getAttribute(): string; getComponentKey(): string; getDataToStore(): Object; onLanguageChangeCallback(res: any): void; getKeys(): string[]; initialize(): void; destroy(): void; configureService(): void; getDataArray(): any[]; setDataArray(data: any): void; setFormComponent(form: OFormComponent): void; queryData(parentItem?: any, ovrrArgs?: any): void; reloadData(): void; load(): any; viewDetail(item: any): void; editDetail(item: any): void; getRouteOfSelectedRow(item: any, modeRoute: any): any[]; getQueryArguments(filter: Object, ovrrArgs?: any): Array; updatePaginationInfo(queryRes: any): void; protected deleteLocalItems(): void; reinitialize(options: OListInitializationOptions): void; }