/** Angular2 */ import * as ng from "@angular/core"; /** Core */ import { CoreComponent } from "cmf.core/src/core"; /**Business */ import Cmf from "cmf.lbos"; /** Services */ import { ComboBoxService } from "./stateModelStatesComboBoxService"; /** * State model states comboBox business component. Used to select an item of a given state model states collection. * * ### Inputs * `string | Cmf.Foundation.BusinessObjects.StateModel` : **stateModel** - State Model or State Model name to filter the displayed states * * ## Example * * Assume this HTML Template * * ```html * * * * ``` * * @class StateModelStatesComboBox */ export declare class StateModelStatesComboBox extends CoreComponent implements ng.OnChanges { private _comboBoxService; /** * Nested business combo box */ private _nestedComboBox; /** * The selected value change event, so the component can inform the upper components that the selected value has changed * */ valueChanged: ng.EventEmitter; /** * The currently selected/inserted value of the comboBox component */ value: any; /** * An array of items to ignore. The items of the array will be compared with the field Name of the StateModel. */ itemsToIgnore: string[]; /** * Defines if the component requires a value. Default is false. */ required: boolean; /** * Defines the component placeholder */ placeholder: string; /** * Defines if the element is disabled to be filed. */ disabled: boolean; /** * Defines if the component should pre-select when there's only one element available. Default is 'true'. */ singleElementPreSelect: boolean; /** * Defines if the component should pre-select when there's only one element available. Default is 'true'. */ stateModelEntityName: string; /** * Defines the state model for which we are displaying the state models */ stateModel: string | Cmf.Foundation.BusinessObjects.StateModel; /** * Disables navigation in business comboBox. */ _hasNavigation: boolean; constructor(_comboBoxService: ComboBoxService); ngOnChanges(changes: any): void; /** * When selected value changes - notify parent component */ onValueChange(value: any): void; /** * If component value is of type string convert to StateModel and if is of type StateModel set it in the combobox */ private updateValue; /** * Returns this state model name * @returns String with the name of our state model */ private getStateModelName; } export declare class StateModelStatesComboBoxModule { }