/** Core */ import { CoreComponent } from "cmf.core/src/core"; /** Angular */ import * as ng from "@angular/core"; /** * @whatItDoes * * This component displays a horizontal bar designed to iterate over a set of items * It has no control on what is being cycled, it simply displays the cycling control. * * @howToUse * * You can use this component by settings its mainTitle, subTitle and action (if you require them) and by controlling the next and previous button behaviors * * ### Inputs * `string` : **action** - The display text of the left side action button * `string` : **mainTitle** - The display text of the center title * `string` : **subTitle** - The display text of the center sub-title * `boolean` : **previousDisabled** - Controls wether the previous button is enabled. Defaults to false. * `boolean` : **nextDisabled** - Controls wether the next button is enabled. Defaults to false. * * ### Outputs * `void` : **next** - Triggered when the user hits the next button * `void` : **previous** - Triggered when the user hits the previous button * `void` : **onAction** - Triggered when the user hits the action button * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * * ``` * */ export declare class InfoSlider extends CoreComponent implements ng.OnChanges { /** * Label to be displayed on the right side action */ action: string; /** * Info main title */ mainTitle: string; /** * Info sub title */ subTitle: string; /** * Controls wether the user can click the previous button */ previousDisabled: boolean; /** * Controls wether the user can click the next button */ nextDisabled: boolean; /** * Trigger next on the slider */ next: ng.EventEmitter; /** * Trigger previous on the slider */ previous: ng.EventEmitter; /** * When the action text is clicked, trigger the action */ onAction: ng.EventEmitter; /** * Constructor * * @param viewContainerRef the reference to the component view container */ constructor(viewContainerRef: ng.ViewContainerRef); /** * On changes method * * @param changes the changes made to the component properties */ ngOnChanges(changes: ng.SimpleChanges): void; /** * Triggers the previous event */ goToPrevious(): void; /** * Triggers the previous event */ goToNext(): void; } export declare class InfoSliderModule { }