@asadi/angular-date-components
Version:
`Angular Date Components` is a comprehensive angular library of date-related components designed to meet the needs of applications that require localization based on various calendar systems. While the package currently includes two powerful components (S
33 lines (32 loc) • 859 B
TypeScript
import { ADCIBaseTableEvent } from "@asadi/angular-date-components/core";
export interface ADCIResourceSchedulerEvent extends ADCIBaseTableEvent {
resourceId: string;
startTime?: string;
endTime?: string;
allDay?: boolean;
startDate: string;
endDate: string;
}
export interface ADCIResourceSchedulerResource {
title: string;
id: string;
}
export interface ADCIResourceSchedulerTableEvent {
startDate: string;
endDate: string;
resourceId: string;
startTime: string;
endTime: string;
}
export interface ADCIResourceSchedulerView {
id: string;
name: string;
component: ComponentType<any>;
}
export interface ADCIResourceSchedulerEventSelectEvent {
dom: HTMLElement;
jsEvent: MouseEvent;
event: ADCIResourceSchedulerEvent;
}
type ComponentType<T> = new (...args: any[]) => T;
export {};