ng-material-date-range-picker
Version:
This library provides the date range selection with two views.
24 lines (23 loc) • 683 B
TypeScript
import { DateRange } from '@angular/material/datepicker';
import { DEFAULT_DATE_OPTION_ENUM } from '../constant/date-filter-enum';
/**
* @(#)select-date-option.ts Sept 08, 2023
*
* @author Aakash Kumar
*/
export interface ISelectDateOption {
optionLabel: string;
optionKey: DEFAULT_DATE_OPTION_ENUM;
dateDiff: number;
isSelected: boolean;
isVisible: boolean;
callBackFunction: () => DateRange<Date>;
}
export declare class SelectDateOption implements ISelectDateOption {
optionLabel: string;
optionKey: DEFAULT_DATE_OPTION_ENUM;
dateDiff: number;
isSelected: boolean;
isVisible: boolean;
callBackFunction: () => DateRange<Date>;
}