UNPKG

@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

41 lines (40 loc) 1.83 kB
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 ADCWeekViewComponent extends AdcSchedulerBase implements OnInit, OnDestroy { week: number; year: number; private daysOfWeek; title: string; dateSplitter: ADCDateSplitter; events: ADCISchedulerEvent[]; rows: ADCITableRow[]; private startOfWeek; private endOfWeek; 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 getInitialRowValue; static ɵfac: i0.ɵɵFactoryDeclaration<ADCWeekViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ADCWeekViewComponent, "adc-week-view", never, {}, {}, never, never, false, never>; }