@bimeister/pupakit.calendar
Version:
PupaKit Calendar
24 lines (23 loc) • 1.24 kB
TypeScript
import { AfterViewInit, EventEmitter } from '@angular/core';
import { Observable } from 'rxjs';
import { CalendarConfigService } from '../../services/calendar-config.service';
import { CalendarTranslationService } from '../../services/calendar-translation.service';
import * as i0 from "@angular/core";
export declare class CalendarYearSelectorComponent implements AfterViewInit {
private readonly calendarTranslationService;
private readonly calendarConfigService;
readonly select: EventEmitter<number>;
private readonly virtualScrollViewport;
readonly headerTitle$: Observable<string>;
readonly rowHeightPx: number;
readonly currentYear: number;
private readonly startYear;
private readonly endYear;
readonly yearsTable: number[][];
constructor(calendarTranslationService: CalendarTranslationService, calendarConfigService: CalendarConfigService);
ngAfterViewInit(): void;
selectYear(year: number): void;
private scrollToCurrentYear;
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarYearSelectorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarYearSelectorComponent, "pupa-calendar-year-selector", never, {}, { "select": "select"; }, never, never, false>;
}