@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
27 lines (26 loc) • 830 B
TypeScript
import { OnDestroy } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class MonthViewService implements OnDestroy {
private readonly _datepicker;
grid$: BehaviorSubject<MonthViewItem[][]>;
focused$: BehaviorSubject<FocusedMonthItem>;
private readonly _subscription;
constructor();
ngOnDestroy(): void;
setFocus(month: number, year: number): void;
private createMonthGrid;
static ɵfac: i0.ɵɵFactoryDeclaration<MonthViewService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<MonthViewService>;
}
export interface MonthViewItem {
name: string;
month: number;
year: number;
isCurrentMonth: boolean;
isActiveMonth: boolean;
}
export interface FocusedMonthItem {
month: number;
year: number;
}