import { BooleanInput } from '@angular/cdk/coercion'; import { EventEmitter } from '@angular/core'; import { IconRegistry, PopoverTriggerDirective } from '@danske/sapphire-angular'; import * as i0 from "@angular/core"; /** * A button with a dropdown, used for filtering UI. */ /** * Combines a ToggleButton and Popover to provide a dropdown for filtering UI. */ export declare class FilterDropdownComponent { /** * "Filter by" label, shown inside the trigger button. */ label: string; /** * Filter value, shown inside the trigger button. `null`, * `undefined` and empty string are considered as unset value. */ value: string; noMaxWidth: BooleanInput; disabled: BooleanInput; /** * Whether to show the 'Apply' button. */ get applyButton(): boolean; set applyButton(value: BooleanInput); private _applyButton; /** * Whether the 'Apply' button is disabled. */ applyDisabled: BooleanInput; /** * Whether the 'Clear' button is disabled. */ get clearDisabled(): boolean | undefined; set clearDisabled(value: BooleanInput); private _clearDisabled; /** * Whether the 'Clear' button is hidden. */ hideClearButton?: BooleanInput; /** * The label of the 'Apply' button. */ applyButtonLabel: string; /** * The label of the 'Clear' button. */ clearButtonLabel: string; /** * Emitted when: * - `Enter` is pressed on form fields rendered inside the popover. * - 'Apply' button is pressed (if `hasApplyButton` is true) */ applied: EventEmitter; /** * Emitted when the popover is closed. */ closed: EventEmitter; /** * Emitted when 'Clear' button is pressed. */ cleared: EventEmitter; trigger: PopoverTriggerDirective | null; constructor(iconRegistry: IconRegistry); apply(event?: SubmitEvent): void; clear(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }