UNPKG

@funidata/ngx-fudis

Version:

Funidata Design System.

32 lines (31 loc) 1.49 kB
import { FudisIdService } from '../../../../../services/id/id.service'; import { SelectComponent } from '../../select/select.component'; import { MultiselectComponent } from '../../multiselect/multiselect.component'; import * as i0 from "@angular/core"; export declare class SelectGroupComponent { private _idService; private _parentSelect; private _parentMultiselect; constructor(_idService: FudisIdService, _parentSelect: SelectComponent, _parentMultiselect: MultiselectComponent); /** * Visible title label for this group of options */ label: string; /** * Id for this Select Group. Generated with FudisIdService and used for accessibility attributes. */ id: string; /** * Used when filtering autocomplete results to check if 'No results found' text is visible */ protected _visibleOptions: string[]; /** * Called from SelectOption and MultiselectOption to set if the option is visible or not * * @param value Value of option * @param visible State of option's visibility */ setOptionVisibility(value: string, visible: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<SelectGroupComponent, [null, { optional: true; host: true; }, { optional: true; host: true; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<SelectGroupComponent, "fudis-select-group, fudis-multiselect-group", never, { "label": { "alias": "label"; "required": true; }; }, {}, never, ["*"], false, never>; }