/** Angular */ import * as ng from "@angular/core"; /** Core */ import { CoreComponent } from "cmf.core/src/core"; import { ActionButton, ActionButtonGroup } from "cmf.core/src/domain/metadata/action"; export declare enum ValueType { actionButtons = 0, actionButtonGroups = 1 } /** * @whatItDoes * Displays an Action Button * * @howToUse * This component is used with the inputs and outputs mentioned below. * * ### Inputs * `ActionButton` : **value** - Main action button properties * `string[]` : **itemsToIgnore** - List of actionButton id's to exclude from the combobox ; * `string` : **orderField** - The object field that will be used to sort the values of a comboBox (by default is _id_) ; * `boolean` : **disabled** - Flag to disable the button ; * `boolean` : **required** - If true it will mark this field has required. Form validation will take that into consideration ; * `string` : **placeholder** - Defines the component placeholder - overriding the default component placeholder _ActionButton_ . * * ### Outputs * `ActionButton` : **valueChange** - The component's function to be called when the action is executed * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * * * ``` * */ export declare class ActionButtonsComboBox extends CoreComponent implements ng.OnInit { /** * Defines if the element is disabled to be filed */ _disabled: boolean; /** * Action buttons */ _actionButtons: ActionButton[] | ActionButtonGroup[]; /** * The object field that will be used to sort the values of a comboBox */ orderField: string; /** * List of actionButton id's to exclude from the combobox */ itemsToIgnore: string[]; /** * Main action button properties */ value: ActionButton | ActionButtonGroup; /** * isRequired flag */ isRequired: boolean; /** * Value changed output */ valueChanged: ng.EventEmitter; /** * Defines the component placeholder - overriding the default component placeholder ('Role') */ placeholder: string; /** * Value type for input */ valueType: ValueType; constructor(); /** * Gets the disabled Property. */ /** * Sets the disabled Property */ disabled: boolean; /** * OnSelectedValue Change */ onSelectedValueChange(value: any): void; /** * On Init */ ngOnInit(): void; } export declare class ActionButtonsComboBoxModule { }