/** Core */ import { CoreComponent } from "cmf.core/src/core"; import Cmf from "cmf.lbos"; /** Nested components */ import { DataGridBusinessColumn as EntityQueryListColumn, SelectionMode } from '../dataGrid/dataGrid'; /** Services */ import { EntityQueryListService } from './entityQueryListService'; /** Angular2 */ import * as ng from "@angular/core"; export { SelectionMode }; export declare class EntityQueryList extends CoreComponent implements ng.OnChanges { private _elementRef; private _etqlService; buildInput: (args?: any) => Cmf.Foundation.BusinessOrchestration.BaseInput; executeQueryInput: Cmf.Foundation.BusinessOrchestration.QueryManagement.InputObjects.ExecuteQueryInput | Cmf.Foundation.BusinessOrchestration.QueryManagement.InputObjects.ExecuteQueryByIdInput | Cmf.Foundation.BusinessOrchestration.GenericServiceManagement.InputObjects.GetObjectsByFilterAsDataSetInput; executeQueryOutput: Cmf.Foundation.BusinessOrchestration.QueryManagement.OutputObjects.ExecuteQueryOutput | Cmf.Foundation.BusinessOrchestration.QueryManagement.OutputObjects.ExecuteQueryByIdOutput | Cmf.Foundation.BusinessOrchestration.GenericServiceManagement.OutputObjects.GetObjectsByFilterAsDataSetOutput; selectedItems: any[]; /** * Deprecated title input */ title: string; mainTitle: string; entityType: Cmf.Foundation.BusinessObjects.EntityType; columns: (EntityQueryListColumn | string)[]; /** * The selection mode used by the data grid component */ selectionMode: SelectionMode | string; /** * Set a custom template for the "Name" column. Null means * that the default should be used. */ customTemplateForName: string | null; private _columns; /** * A clone of the data returned by the method "this._etqlService.buildColumnsFromInput" * that is used in the "this.refresh()" method. * * This can't be directly compared with the "this._columns" field because internally * the data grid will modify the _columns field by adding to it, e.g. a "sortable" field * or a "template" field. These new fields would break the "isEqual" check that is done * on the "this.refresh()" method. * * Keeping a copy of the columns before they're modified by the Datagrid component simplifies * the "isEqual" check. */ private cloneParsedColumns; /** * Controls if columns will be generated, on input and output */ private _generateColumns; private executeQueryOutputChange; private selectedItemsChange; /** * The error event, emitted when the provided service call results in an error */ error: ng.EventEmitter; private readonly _grid; /** * Nested business data grid accessor */ private _dataGridBusinessComponent; constructor(_elementRef: ng.ElementRef, _service: EntityQueryListService); /** * On changes method * @param changes */ ngOnChanges(changes: any): void; /** * Refresh result list. */ refresh(): void; selectedItemsChanged(selectedItems: any[]): void; handleOutputCallback: (output: Cmf.Foundation.BusinessOrchestration.QueryManagement.OutputObjects.ExecuteQueryOutput | Cmf.Foundation.BusinessOrchestration.GenericServiceManagement.OutputObjects.GetObjectsByFilterAsDataSetOutput | Cmf.Foundation.BusinessOrchestration.QueryManagement.OutputObjects.ExecuteQueryByIdOutput) => any[]; } export declare class EntityQueryListModule { }