systelab-components
Version:
systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.
29 lines (28 loc) • 1.16 kB
TypeScript
import { OnChanges, TemplateRef } from '@angular/core';
import { I18nService } from 'systelab-translate';
import * as i0 from "@angular/core";
export interface DaySlot {
date?: Date;
day: number;
isHoliday: boolean;
}
export declare class CalendarTableComponent implements OnChanges {
protected i18nService: I18nService;
currentDate: Date;
days: DaySlot[];
useLongDays: boolean;
templateRef: TemplateRef<any>;
language: any;
daysHeader: string[];
rows: DaySlot[][];
constructor(i18nService: I18nService);
ngOnChanges(): void;
refresh(): void;
protected defineHeaderDays(): void;
protected getLanguage(): void;
private generateDays;
private putDaySlotsIntoArray;
private getLoadDay;
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarTableComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarTableComponent, "systelab-calendar-table", never, { "currentDate": { "alias": "currentDate"; "required": false; }; "days": { "alias": "days"; "required": false; }; "useLongDays": { "alias": "useLongDays"; "required": false; }; }, {}, ["templateRef"], never, false, never>;
}