import { CoreComponent } from "cmf.core/src/core"; import * as ng from "@angular/core"; import { Router } from "@angular/router"; import Cmf from "cmf.lbos"; import { EntityTypeTileInfo } from "cmf.core/src/domain/metadata/entityType"; import { TileOrientationType, SelectionMode } from "cmf.core.controls/src/components/tile/tile"; import { LinkMetadata } from "cmf.core/src/domain/extensions/navigation"; export declare class EntityTile extends CoreComponent implements ng.OnChanges { private _elementRef; private _router; /** * Entity instance input */ instance: Cmf.Foundation.BusinessObjects.EntityInstance; /** * Orientation input (Horizontal or Vertical) */ orientation: TileOrientationType; /** * Click event triggered when the tile is clicked. */ click: ng.EventEmitter<[Cmf.Foundation.BusinessObjects.EntityInstance, Event]>; /** * Click event triggered when the tile icon is clicked. */ iconClick: ng.EventEmitter<[Cmf.Foundation.BusinessObjects.EntityInstance, Event]>; /** * Click event triggered when a button is double clicked. */ dblClick: ng.EventEmitter; /** * Sets the selection mode in this entityTile */ selectionMode: SelectionMode; /** * Sets the selection mode in this entityTile */ selected: Boolean; /** * The selection change, carrying the selection value and the event that triggered it */ selectedChangeEvent: ng.EventEmitter<[Boolean, Event]>; /** * The select input change event */ selectedChange: ng.EventEmitter; /** * controls if will navigate to the entity (single click or double click depending on dblClickable) */ navigable: boolean; /** * controls if the double click on tile event will fire */ dblClickable: boolean; /** * Entity tile info kept to supply to tile, partially filled by metadata with ET specific behavior */ _entityTileInfo: EntityTypeTileInfo; /** * Show progress indicator */ showProgressIndicator: boolean; /** * The link to navigate to the entity */ linkMetadata: LinkMetadata; constructor(_elementRef: ng.ElementRef, _router: Router); /** * Sets the entity type tile info necessary based on the basic ET information and calls the metadata handler to fill the rest */ private getEntityTileInfo; /** * Handle tile click event. */ instanceClick(event: Event): void; /** * Handle tile icon click event. */ instanceIconClick(event: Event): void; /** * Handle tile double click event. */ instanceDblClick(event: Event): void; /** * Handle tile click event. */ tileSelectionChanged(result: [Boolean, Event]): void; /** * Handle selected change event */ tileSelectedValueChanged(value: Boolean): void; /** * Check if instance is changed and load the tile information */ ngOnChanges(changes: ng.SimpleChanges): void; } export declare class EntityTileModule { }