UNPKG

bitfront-library

Version:

Angular CLI project with components and classes used by other Angular projects of the BIT foundation.

37 lines (36 loc) 2.19 kB
import { OnChanges, SimpleChange, ChangeDetectorRef } from "@angular/core"; import { ActivatedRoute } from "@angular/router"; import { AyudaService } from "../../service/ayuda.service"; import { SessionSharedService } from "../../service/session-shared.service"; import { BitDropDownGeneralComponent } from "./bit-dropdown-general.component"; import * as i0 from "@angular/core"; export declare const CUSTOM_DROPDOWN_MULTIPLE_CONTROL_VALUE_ACCESSOR: any; /** * Clase que utiliza un custom componente para select múltiple de elementos * Utiliza la interfaz ControlValueAccessor * <bit-select [domain]="'DOMAIN_TIPO_LOG'" id="tipolog" [control]="formControl"">&nbsp;&nbsp;Tipus d'operació</bit-select> * * @input data: array de objetos a mostrar en el select. Puede ser null, en cuyo caso domain no puede ser null * @input domain: nombre del dominio que contiene los datos y que nos resolverá la página cuando cargue el componente. Puede ser null, en cuyo caso data no puede ser null * @input id: identificador del componente select **/ export declare class BitDropDownMultipleComponent extends BitDropDownGeneralComponent implements OnChanges { protected router: ActivatedRoute; protected sessionShared: SessionSharedService; protected ayudaService: AyudaService; protected changeDetectorRef: ChangeDetectorRef; emptyText: string; maxSelectedLabels: number; showSeparateSelectedLabels: boolean; title: string; constructor(router: ActivatedRoute, sessionShared: SessionSharedService, ayudaService: AyudaService, changeDetectorRef: ChangeDetectorRef); ngOnChanges(changes: { [propKey: string]: SimpleChange; }): void; postRetrieveData(): void; get value_lectura(): any; labelSelectedItem(id: any): string; deleteSelectedItem(event: any, item: any): void; static ɵfac: i0.ɵɵFactoryDef<BitDropDownMultipleComponent, never>; static ɵcmp: i0.ɵɵComponentDefWithMeta<BitDropDownMultipleComponent, "bit-dropdown-multiple", never, { "emptyText": "emptyText"; "maxSelectedLabels": "maxSelectedLabels"; "showSeparateSelectedLabels": "showSeparateSelectedLabels"; "title": "title"; }, {}, never, ["*"]>; }