UNPKG

@oslokommune/punkt-elements

Version:

Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo

35 lines (34 loc) 1.18 kB
import { PropertyValues } from 'lit'; import { PktElement } from '../../base-elements/element'; import { Ref } from 'lit/directives/ref.js'; export declare class PktDatepickerPopup extends PktElement { open: boolean; multiple: boolean; range: boolean; weeknumbers: boolean; withcontrols: boolean; maxMultiple: number | null; selected: string[]; earliest: string | null; latest: string | null; excludedates: string[]; excludeweekdays: string[]; currentmonth: string | null; today: string | null; private _hasBeenOpened; popupRef: Ref<HTMLElement>; calendarRef: Ref<HTMLElement>; firstUpdated(): void; updated(changedProperties: PropertyValues): void; disconnectedCallback(): void; handleDocumentClick: (e: MouseEvent) => void; handleDocumentKeydown: (e: KeyboardEvent) => void; show(): void; hide(): void; toggle(): void; contains(node: Node | null): boolean; focusOnCurrentDate(): void; addToSelected(e: Event, min?: string | null, max?: string | null): void; handleDateSelect(date: Date): Promise<void> | undefined; render(): import('lit-html').TemplateResult<1>; }