ngx-obelisco-example
Version:
Componentes funcionales y reutilizables para Angular.
39 lines (38 loc) • 1.65 kB
TypeScript
import { OnInit } from '@angular/core';
import { ActiveDay, CalendarDate } from 'ngx-obelisco-example/core/models';
import * as i0 from "@angular/core";
export declare class OCalendarComponent implements OnInit {
date: CalendarDate;
activeDays: ActiveDay[];
isCollapsed: boolean;
hasList: boolean;
customClasses: string;
month: number | null;
year: number | null;
start: number;
MONTH_TITLE: string[];
DAYS_HEADER_TABLE: string[];
daysArray: number[];
emptyDaysArray: any[];
firstWeekDays: number;
firstWeekDaysArray: number[];
weekDaysArray: number[];
analizedActiveDays: ActiveDay[];
getStartDayOfMonth(year: number, month: number): number;
monthAmountOfDays: (month: number, year?: number) => number;
monthsTitles: (month?: number) => string;
get weekDaysArrayRows(): {
rows: number[][];
counter: number;
};
isActiveDay(day: number): boolean;
getActiveDay(day: number): ActiveDay | undefined;
convertArrayIntoObject(objeto: any): any[];
generateArrayActiveDays(activeDays: ActiveDay[]): ActiveDay[] | undefined;
getClassByType(type: string | undefined): string;
typeOfDays(day: number | number[] | undefined): string;
constructor();
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<OCalendarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<OCalendarComponent, "o-calendar", never, { "date": "date"; "activeDays": "activeDays"; "isCollapsed": "isCollapsed"; "hasList": "hasList"; "customClasses": "customClasses"; }, {}, never, never, false>;
}