UNPKG

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.

36 lines (35 loc) 1.58 kB
import { OnInit, EventEmitter } from '@angular/core'; import { I18nService } from 'systelab-translate'; import * as i0 from "@angular/core"; export declare class Month { month: number; text: string; year: number; isActive: boolean; constructor(month: number, text: string, year: number, isActive: boolean); } export declare class MonthSelectorComponent implements OnInit { private i18nService; maxDate: Date; minDate: Date; currentDate: Date; disabled: boolean; private _selectedMonth; get selectedMonth(): Month; selectedMonthChange: EventEmitter<any>; set selectedMonth(value: Month); months: Array<Month>; isOpened: boolean; monthNames: any[]; constructor(i18nService: I18nService); ngOnInit(): void; setMonthsNames(year: number): void; onClicked(e: any): void; hideSelector(): void; getMonths(): void; addYear(num: number): void; checkDateIntoIntervals(date: Date): boolean; onClickedMonth(month: Month): void; static ɵfac: i0.ɵɵFactoryDeclaration<MonthSelectorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MonthSelectorComponent, "systelab-month-selector", never, { "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "currentDate": { "alias": "currentDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectedMonth": { "alias": "selectedMonth"; "required": false; }; }, { "selectedMonthChange": "selectedMonthChange"; }, never, never, false, never>; }