ngx-jalali-date-picker
Version:
This is a configurable date-picker build for Angular applications. Supports latest (Angular 18) version. This date-picker is based on ng2-date-piker and ngx-jalali-date-picker date pickers.
25 lines (24 loc) • 940 B
TypeScript
import { Moment } from 'jalali-moment';
import { ICalendar, ICalendarInternal } from '../common/models/calendar.model';
import { ECalendarValue } from '../common/types/calendar-value-enum';
export interface IConfig {
isMonthDisabledCallback?: (date: Moment) => boolean;
allowMultiSelect?: boolean;
yearFormat?: string;
yearFormatter?: (month: Moment) => string;
format?: string;
isNavHeaderBtnClickable?: boolean;
monthBtnFormat?: string;
monthBtnFormatter?: (day: Moment) => string;
numOfMonthRows?: number;
monthBtnCssClassCallback?: (day: Moment) => string;
multipleYearsNavigateBy?: number;
showMultipleYearsNavigation?: boolean;
returnedValueType?: ECalendarValue;
showGoToCurrent?: boolean;
unSelectOnClick?: boolean;
}
export interface IMonthCalendarConfig extends IConfig, ICalendar {
}
export interface IMonthCalendarConfigInternal extends IConfig, ICalendarInternal {
}