@nebular/theme
Version:
@nebular/theme
39 lines (38 loc) • 1.46 kB
TypeScript
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { EventEmitter } from '@angular/core';
import { NbCalendarCell, NbCalendarSize, NbCalendarSizeValues } from '../calendar-kit/model';
import { NbDateService } from '../calendar-kit/services/date.service';
import { NbCalendarRange } from './calendar-range.component';
import { NbBaseCalendarRangeCell } from './base-calendar-range-cell';
export declare class NbCalendarRangeMonthCellComponent<D> extends NbBaseCalendarRangeCell<D> implements NbCalendarCell<D, NbCalendarRange<D>> {
protected dateService: NbDateService<D>;
get month(): string;
date: D;
visibleDate: D;
selectedValue: NbCalendarRange<D>;
min: D;
max: D;
size: NbCalendarSize;
static ngAcceptInputType_size: NbCalendarSizeValues;
select: EventEmitter<D>;
monthCellClass: boolean;
rangeCellClass: boolean;
get selected(): boolean;
get inRange(): boolean;
get rangeStart(): boolean;
get rangeEnd(): boolean;
get today(): boolean;
get disabled(): boolean;
get isLarge(): boolean;
onClick(): void;
constructor(dateService: NbDateService<D>);
protected smallerThanMin(): boolean;
protected greaterThanMax(): boolean;
protected monthStart(): D;
protected monthEnd(): D;
protected isInRage(date: D, range: NbCalendarRange<D>): boolean;
}