import type { CSSResultGroup } from 'lit'; import DSAButton from '../button/button'; import DSAIconButton from '../icon-button/icon-button'; import DSAInput from '../input/input'; import { FilterBase } from '../../internal/components/filter-base/filter-base'; /** * @summary Filter counter allow you to choose a numeric value to filter. * @documentation https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/filtres/filtre-de-compteur-filter-counter/web-qZUOyH5n * * @dependency dsa-popup * @dependency dsa-filter-button * @dependency dsa-button * @dependency dsa-icon-button * @dependency dsa-input * * * @event dsa-after-hide - Emitted after the filter panel closes and all animations are complete. * @event dsa-after-show - Emitted after the filter panel opens and all animations are complete. * @event dsa-blur - Emitted when the filter loses focus. * @event dsa-focus - Emitted when the filter gains focus. * @event dsa-hide - Emitted when the filter panel closes. * @event dsa-input - Emitted when the filter receives input (when the temporary value changes). * @event dsa-show - Emitted when the filter panel opens. * @event dsa-submit - Emitted when the user confirms the filter value change. */ export default class DSAFilterCounter extends FilterBase { static styles: CSSResultGroup; static dependencies: { 'dsa-button': typeof DSAButton; 'dsa-icon-button': typeof DSAIconButton; 'dsa-input': typeof DSAInput; 'dsa-popup': typeof import("../popup/popup").default; 'dsa-filter-button': typeof import("../filter-button/filter-button").default; }; filterInput: DSAInput; decreaseButton: DSAIconButton; increaseButton: DSAIconButton; resetButton: DSAButton; submitButton: DSAButton; tempValue: string; private get hasMinBound(); private get hasMaxBound(); /** * The current value of the filter. */ value: string; /** * The default value of the filter. */ defaultValue: string; /** The filter's minimum value. */ min: number; /** The filter's maximum value. */ max: number; connectedCallback(): void; private handleInput; private handleDecrease; private handleIncrease; private handleReset; private handleSubmit; handleValueChange(): void; handleTempValueChange(): void; handleFilterCounterOpenChange(): void; protected renderPanelContent(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'dsa-filter-counter': DSAFilterCounter; } }