@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
45 lines (44 loc) • 2.08 kB
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import { ADCCommonService, ADCDateSplitter, ADCITableCell, ADCITableEvent, ADCITableRow, FlatEventBuilder, TableSelection } from '@asadi/angular-date-components/core';
import { ADCIResourceSchedulerEvent, ADCIResourceSchedulerResource } from "../../interface.global";
import { AdcResourceSchedulerBase } from '../adc-resource-scheduler-base/adc-resource-scheduler-base';
import * as i0 from "@angular/core";
export declare class ADCDayViewComponent extends AdcResourceSchedulerBase implements OnInit, OnDestroy {
year: number;
week: number;
day: number;
currentDate: string;
title: string;
hoursOfDay: string[];
daysOfweek: string[];
monthsOfYear: string[];
dateSplitter: ADCDateSplitter;
resources: ADCIResourceSchedulerResource[];
events: ADCIResourceSchedulerEvent[];
rows: ADCITableRow[];
weekends: number[];
holidays: string[];
readonly commonService: ADCCommonService;
readonly today: string;
readonly selectionManager: TableSelection;
readonly eventBuilder: FlatEventBuilder;
constructor();
ngOnInit(): void;
dateFilter(cell1: ADCITableCell, cell2: ADCITableCell): boolean;
initViewHanlder(): void;
todayButtonHandler(): void;
previousButtonHandler(): void;
nextButtonHandler(): void;
calculateCurrentDate(): void;
eventChangesHandler(events: ADCIResourceSchedulerEvent[]): void;
resourceChangesHandler(resources: ADCIResourceSchedulerResource[]): void;
dateChangesHandler(): void;
holidaysChangesHandler(holidays: string[]): void;
weekendChangesHandler(weekends: number[]): void;
onDateRangeSelect(start: ADCITableCell, end: ADCITableCell): void;
onEventClick(event: ADCITableEvent, dom: HTMLElement, jsEvent: MouseEvent): void;
ngOnDestroy(): void;
private getRowInitialValue;
static ɵfac: i0.ɵɵFactoryDeclaration<ADCDayViewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ADCDayViewComponent, "adc-day-view", never, {}, {}, never, never, false, never>;
}