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

47 lines (46 loc) 2.13 kB
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 ADCWeekViewComponent extends AdcResourceSchedulerBase implements OnInit, OnDestroy { week: number; year: number; private daysOfWeek; title: string; dateSplitter: ADCDateSplitter; resources: ADCIResourceSchedulerResource[]; events: ADCIResourceSchedulerEvent[]; rows: ADCITableRow[]; private startOfWeek; private endOfWeek; 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; getDate(dayOfWeek: number): { date: string; transformedDate: string; }; ngOnDestroy(): void; private getRowIntialValue; static ɵfac: i0.ɵɵFactoryDeclaration<ADCWeekViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ADCWeekViewComponent, "adc-week-view", never, {}, {}, never, never, false, never>; }