import { ElementRef, ViewContainerRef, ComponentFactoryResolver, SimpleChange } from '@angular/core'; export declare const BComponentInputs: string[]; export interface AttributesInterface { class: string; bcId: string; bcClass: string; bcStyle: string; bcName: string; bcAria: string; bcAriaBy: string; } export declare class BComponentAttributes { private el; attributes: AttributesInterface; constructor(el: ElementRef); setAttribute: (attribute: string, value: string) => void; setAttributes: (attributes: AttributesInterface) => void; ngOnChanges(): void; } export declare class BComponent implements AttributesInterface { /** id attribute */ bcId: string; /** class attribute */ bcClass: string; /** style attribute */ bcStyle: string; /** name attribute */ bcName: string; /** aria attribute */ bcAria: string; /** aria-labelledby attribute */ bcAriaBy: string; protected bcomponent: any; protected self: this; protected baseClass: string; protected ngOnChildChanges: (change?: { [property: string]: SimpleChange; }) => void; protected ngOnChildInit: () => void; protected ngAfterChildViewInit: () => void; static autoIdentifier: boolean; class: string; protected attributes: BComponentAttributes; constructor(baseClass: string, el?: ElementRef); private setAttributes; ngOnInit(): void; ngOnChanges(change?: { [property: string]: SimpleChange; }): void; ngAfterViewInit(): void; protected loadComponent: (component: any, view: ViewContainerRef, crf: ComponentFactoryResolver) => void; private buildClass; protected isNull: (value: any) => boolean; /** * Initialize the component attributes * @param {string} id - Id attribute for the component * @param {string} classes - Class attribute for the component * @param {string} styles - Style attribute for the component * @param {string} name - Name attribute for the component * @param {string} aria - Aria attribute for the component * @param {string} ariaBy - Aria-labelledby attribute for the component * @returns {this} - Returns this object */ InitializeAttributes: (id?: string, classes?: string, styles?: string, name?: string, aria?: string, ariaBy?: string) => this; /** * Disable auto identifiers for BComponents */ static disableAutoIdentifier: () => void; /** * Get the JQuery selector for the component * @returns {JQuery} - JQuery selector for the element */ getSelector: () => JQuery; /** * Toggle the component. Hide/show * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ toggle: (duration?: string | number, callback?: Function) => JQuery; /** * Hide the component * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ hide: (duration?: string | number, callback?: Function) => JQuery; /** * Show the component * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ show: (duration?: string | number, callback?: Function) => JQuery; /** * Fade toggle the component * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ fadeToggle: (duration?: string | number, callback?: Function) => JQuery; /** * Fade the component into view * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ fadeIn: (duration?: string | number, callback?: Function) => JQuery; /** * Fade the component out of view * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ fadeOut: (duration?: string | number, callback?: Function) => JQuery; /** * Fade the component to an opacity * @param {string|number} duration - Duration of the Animations * @param {number} opacity - Opacity to fade to * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ fadeTo: (duration?: string | number, opacity?: number, callback?: Function) => JQuery; /** * Slide toggle the element * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ slideToggle: (duration?: string | number, callback?: Function) => JQuery; /** * Slide the component into view * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ slideDown: (duration?: string | number, callback?: Function) => JQuery; /** * Slide the component out of view * @param {string|number} duration - Duration of the Animations * @param {Function?} callback - Callback on animation completion * @returns {JQuery} - JQuery selector for the component */ slideUp: (duration?: string | number, callback?: Function) => JQuery; } export declare class BDirective { el: ElementRef; selector: JQuery; constructor(el: ElementRef); isNull: (value: any) => boolean; isNullOrEmpty: (value: string) => boolean; addClass: (value: string) => void; addStyle: (style: string, value: string | number) => void; setAttribute: (attr: string, value: string) => void; } /** * Display types for Bootstrap components */ export declare type DisplayType = "default" | "primary" | "success" | "info" | "warning" | "danger"; /** * Display sizes for Bootstrap components */ export declare type DisplaySize = "lg" | "sm" | "xs"; /** * Display Position */ export declare type DisplayPosition = "top" | "bottom" | "left" | "right";