import { AfterViewInit, EventEmitter } from "@angular/core"; import { ControlValueAccessor } from "@angular/forms"; import { GlobalTermService } from "../../services/globalTerm.service"; import * as i0 from "@angular/core"; export declare class MultiSelectComponent implements ControlValueAccessor, AfterViewInit { readonly GlobalTermService: GlobalTermService; /** * @description Id * @default "" * @type {string} */ id: string; /** * @description Opciones. * @example [{value: string, text: string}] * @type {any[]} */ options: any[]; /** * @description Label name. * @default "text" * @type {{value: string, label: string}[]} */ optionLabel: string | undefined; /** * @description Value name. * @default "value" * @type {{value: string, label: string}[]} */ optionValue: string | undefined; /** * @description Placeholder * @default "Select an item" * @type {string} */ placeholder: string; /** * @description Show filter textbox * @default false * @type {boolean} */ showFilter: boolean; /** * @description Show All Checkbox * @default false * @type {boolean} */ showAll: boolean; /** * @description All | Todo * @default "All" * @type {string} */ allText: string; /** * @description Number of selected labels to show * @default 3 * @type {number} */ maxSelectedLabels: number; /** * @description Append To * @default "" * @type {string} */ appendTo: string; /** * @description Panel Style Class * @default "" * @type {string} */ panelStyleClass: string; /** * @description Enable virtual scroll * @default "" * @type {boolean} */ virtualScroll: boolean; /** * @description Enable virtual scroll * @default "" * @type {boolean} */ disabled: boolean; /** * @description Label for the selected items * @default "" * @type {string} */ selectedItemsLabel: string; /** * @description Style por color text * @default "" * @type {string} */ textColorClass: string; /** * @description Enable group * @default "" * @type {boolean} */ group: boolean; /** * @description Reset filter on hide * @default "" * @type {boolean} */ resetFilterOnHide: boolean; /** * @description Change event * @emits {string[]} * @type {EventEmitter} */ onChangeEvent: EventEmitter; onPanelShowEvent: EventEmitter; onPanelHideEvent: EventEmitter; checked: boolean; selectedOptions: string[]; onChangeFn: any; onTouchedFn: any; /** * @description Define custom class * @default "" * @type {boolean} */ customClass: string; ngAfterViewInit(): void; writeValue(value: string[]): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; toggleAllSelection(event: any): void; onChangeSelect(event: any): void; emitChangeEvent(): void; onPanelShow(event: any): void; onPanelHide(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }