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

43 lines (42 loc) 1.9 kB
import { OnDestroy, OnInit } from '@angular/core'; import { ADCDateSplitter, ADCITableEvent, ADCITableRow, ADCCommonService, ADCITableCell, TableSelection, FlatEventBuilder } 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 ADCMonthViewComponent extends AdcSchedulerBase implements OnInit, OnDestroy { month: number; year: number; daysOfWeek: string[]; monthsOfYear: string[]; weeksOfMonth: string[]; title: string; dateSplitter: ADCDateSplitter; events: ADCISchedulerEvent[]; rows: ADCITableRow[]; private startOfMonth; private endOfMonth; 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; todayButtonHandler(): void; previousButtonHandler(): void; nextButtonHandler(): void; calculateCurrentDate(): void; initViewHanlder(): void; eventChangesHandler(schedulerEvents: ADCISchedulerEvent[]): void; dateChangesHandler(): void; weekendsChangesHandler(weekends: number[]): void; holidaysChangesHandler(holidays: string[]): void; onDateRangeSelect(startCell: ADCITableCell, endCell: ADCITableCell): void; onEventClick(event: ADCITableEvent, dom: HTMLElement, jsEvent: MouseEvent): void; ngOnDestroy(): void; private getRowsInitialValue; static ɵfac: i0.ɵɵFactoryDeclaration<ADCMonthViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ADCMonthViewComponent, "adc-month-view", never, {}, {}, never, never, false, never>; }