@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
43 lines (42 loc) • 1.87 kB
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import { ADCCommonService, ADCDateSplitter, ADCITableCell, ADCITableEvent, ADCITableRow, FlatEventBuilder, TableSelection } from '@asadi/angular-date-components/core';
import { ADCISchedulerEvent } from '../../interface.global';
import { AdcSchedulerBase } from '../adc-scheduler-base/adc-scheduler-base';
import * as i0 from "@angular/core";
export declare class ADCDayViewComponent extends AdcSchedulerBase implements OnInit, OnDestroy {
year: number;
week: number;
day: number;
currentDate: string;
title: string;
hoursOfDay: string[];
daysOfweek: string[];
monthsOfYear: string[];
dateSplitter: ADCDateSplitter;
events: ADCISchedulerEvent[];
rows: ADCITableRow[];
weekends: number[];
holidays: string[];
readonly today: string;
readonly commonService: ADCCommonService;
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(schedulerEvents: ADCISchedulerEvent[]): void;
dateChangesHandler(): void;
weekendsChangesHandler(weekends: number[]): void;
holidaysChangesHandler(holidays: string[]): 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>;
}