import { FacetWrapperComponentConfig, HawkSearchComponents } from '../../../configuration'; import { Facet, FacetState, FacetWrapperComponentModel } from '../../../models'; import { BaseComponent } from '../../base.component'; /** * The Facet Wrapper component adds functionality common to all facet types such as expand/collapse, tooltip, and value search. * * ## Tag * The tag for this component is ``. * * ## Event-Binding Attributes * | Name | Value | * | :- | :- | * | hawksearch-facet-heading | | * * When an element with this attribute is clicked, the {@link Models.FacetWrapperComponentModel.collapsed} value will be reversed. This is intended to show/hide the list of facet values to make the list of facets more manageable. * * | Name | Value | * | :- | :- | * | hawksearch-facet-search | | * * When the user types in an input element with this attribute, the {@link Models.FacetWrapperComponentModel.values} collection will be filtered to show only values containing the entered text. * * | Name | Value | * | :- | :- | * | hawksearch-facet | | * * The tag for each facet type must have this attribute to have data bound to it. * * This helper function returns the zero-padded day of the month from a provided date object. * * ## Default Template * The following is the default Handlebars template for this component. To create a custom template, it is recommended to use this as a starting point. * {@embed ./facet-wrapper.component.hbs} * * @category Search */ export declare class FacetWrapperComponent extends BaseComponent { protected componentName: keyof HawkSearchComponents; protected defaultHtml: string; protected bindFromEvent: boolean; state: FacetState; protected renderContent(): boolean; protected getContentModel(): FacetWrapperComponentModel; protected bindChildElements(): void; protected onRender(): void; private rebindChildElements; }