lct-components
Version:
LCT basic components
48 lines (47 loc) • 2.27 kB
TypeScript
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import * as i0 from "@angular/core";
export interface IListLCTSelectMultiple {
name: string;
checked: boolean;
value?: string | number;
disabled?: boolean;
secondaryValue?: string | number;
quantity?: number;
}
export declare class SelectMultipleComponent implements OnInit, OnChanges {
private sanitizer;
list: IListLCTSelectMultiple[];
listFiltered: IListLCTSelectMultiple[];
title: string;
disabled: 'true' | 'false' | 'disabled' | boolean | '';
showIcon: boolean;
placeholder: string;
placeholderFilter: string;
quantityToFilter: number;
heightOptions: string;
id?: string;
shareCheckedList: EventEmitter<any>;
shareIndividualCheckedList: EventEmitter<any>;
setAutofocusEvent: EventEmitter<boolean>;
disabledValue: boolean;
iconFinder: import("@angular/platform-browser").SafeResourceUrl;
filter: string;
currentSelected: IListLCTSelectMultiple | undefined;
showDropDown: boolean;
get selectId(): string | null;
constructor(sanitizer: DomSanitizer);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
getListChecked(): IListLCTSelectMultiple[];
getSelectedValue(status: boolean, name: string, value?: string | number): void;
shareChecked(): void;
shareIndividualStatus(): void;
uncheck(name: string, value?: string | number): void;
cleanSelecteds(): void;
clickFilterComponent(): void;
leaveComponent(): void;
filterData(value: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SelectMultipleComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SelectMultipleComponent, "lct-select-multiple", never, { "list": "list"; "listFiltered": "listFiltered"; "title": "title"; "disabled": "disabled"; "showIcon": "showIcon"; "placeholder": "placeholder"; "placeholderFilter": "placeholderFilter"; "quantityToFilter": "quantityToFilter"; "heightOptions": "heightOptions"; "id": "id"; }, { "shareCheckedList": "shareCheckedList"; "shareIndividualCheckedList": "shareIndividualCheckedList"; "setAutofocusEvent": "setAutofocusEvent"; }, never, never>;
}