@cafebazaar/emrooz
Version:
Emrooz is a multilingual calendar built for Vue3. It also supports both Shamsi (Persian / Jalali) and Gregorian (English) calendars.
24 lines (23 loc) • 769 B
TypeScript
import { GeneralDateUtil, TupleDate } from '../../shared/types';
export declare type LocalCommonDate = {
from: TupleDate;
to: TupleDate;
label: string;
};
export declare type LocalCommonDates = LocalCommonDate[];
export declare type SelectRange = () => void;
export interface RangePickerDate extends GeneralDateUtil {
compare: (lDate: TupleDate, rDate: TupleDate) => -1 | 0 | 1;
}
export interface RangePickerLanguageStrings {
readonly monthNames: string[];
readonly dayHeaderNames: string[];
readonly action: string;
readonly to: string;
readonly commonDates: string;
readonly goToToday: string;
}
export interface RangePickerStrings {
readonly fa: RangePickerLanguageStrings;
readonly en: RangePickerLanguageStrings;
}