/** Angular2 */ import * as ng from "@angular/core"; /** Core */ import { CoreComponent } from "cmf.core/src/core"; /** Nested components */ import { OnValidate, OnValidateArgs } from "../../directives/validator/validator"; /** 3rd Parties */ import "node_modules/cmf.core.controls/assets/icheck.js"; /** * @whatItDoes * * RadioOption represents a single option of a radio component * * @howToUse * * This component is used with the inputs and outputs mentioned below. * * ### Inputs: * `boolean` : **value** - If the option is checked * `string` : **label** - The option label * `boolean` : **disabled** - If the option is disabled * * ### Outputs: * `any` : **checked** : The checked value * * ### Example * To use the component assume this HTML template as an example: * * ```html * * * ``` * * * @description * * ## RadioOption Component * * ### Dependencies * * #### Components * * _This component does not depend on any external component_ * * #### Services * * _This component does not depend on any service_ * * #### Directives * _This component does not depend on any directive_ * */ export declare class RadioOption extends CoreComponent implements ng.OnInit, ng.OnDestroy, OnValidate { private _element; _label: string; _isChecked: boolean; private _isInit; private _jqNodes; private _isDisabled; private _rawValue; checked: ng.EventEmitter; isChecked: boolean; label: string; isDisabled: boolean; constructor(_element: ng.ElementRef); private $; private setIsChecked; private setVisualState; /** * Simply checks the current value of the checkbox, toggles the proper style and * fills in the context with an error messages (when applicable) * @param context */ private validateValue; ngOnInit(): void; ngOnDestroy(): void; /** * Validation function triggered by upper components */ onValidate(context: OnValidateArgs): Promise; /** * Resets the styling option of the validation process * * @see OnValidate interface */ reset(): Promise; } export declare class RadioOptionModule { }