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.
23 lines (22 loc) • 742 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 {
hours12Format?: string;
hours24Format?: string;
maxTime?: Moment;
meridiemFormat?: string;
minTime?: Moment;
minutesFormat?: string;
minutesInterval?: number;
secondsFormat?: string;
secondsInterval?: number;
showSeconds?: boolean;
showTwentyFourHours?: boolean;
timeSeparator?: string;
returnedValueType?: ECalendarValue;
}
export interface ITimeSelectConfig extends IConfig, ICalendar {
}
export interface ITimeSelectConfigInternal extends IConfig, ICalendarInternal {
}