@norwegian/core-components 5.12.0 → 5.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/norwegian-core-components.umd.js +18 -38
- package/bundles/norwegian-core-components.umd.js.map +1 -1
- package/esm2015/lib/components/datepicker/calendar/calendar.component.js +6 -20
- package/esm2015/lib/components/datepicker/datepicker.component.js +3 -14
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.component.js +4 -3
- package/esm2015/lib/components/filter/filter.component.js +10 -1
- package/fesm2015/norwegian-core-components.js +19 -34
- package/fesm2015/norwegian-core-components.js.map +1 -1
- package/lib/components/datepicker/calendar/calendar.component.d.ts +2 -9
- package/lib/components/datepicker/datepicker.component.d.ts +0 -7
- package/norwegian-core-components.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { DatePipe } from '@angular/common';
|
|
6
|
-
import { ElementRef, EventEmitter, OnInit, QueryList
|
|
6
|
+
import { ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
7
7
|
import { FormGroup } from '@angular/forms';
|
|
8
8
|
import { WeekStart } from './enums/week-start.enum';
|
|
9
9
|
import { DayModel } from './models/day.model';
|
|
@@ -19,7 +19,6 @@ export declare class CalendarComponent extends NasComponentBase implements OnIni
|
|
|
19
19
|
dateService: DateHelper;
|
|
20
20
|
datePipe: DatePipe;
|
|
21
21
|
private calendarService;
|
|
22
|
-
private renderer;
|
|
23
22
|
weeks: Array<WeekModel>;
|
|
24
23
|
months: SelectOptionModel[];
|
|
25
24
|
weekdays: string[];
|
|
@@ -28,7 +27,6 @@ export declare class CalendarComponent extends NasComponentBase implements OnIni
|
|
|
28
27
|
nextMonthRef: ElementRef<HTMLButtonElement>;
|
|
29
28
|
tableCells: QueryList<ElementRef>;
|
|
30
29
|
dateButtons: QueryList<ElementRef>;
|
|
31
|
-
calendarElement: ElementRef;
|
|
32
30
|
calendarContent: ElementRef;
|
|
33
31
|
monthSelectRef: SelectComponent;
|
|
34
32
|
/**
|
|
@@ -117,11 +115,6 @@ export declare class CalendarComponent extends NasComponentBase implements OnIni
|
|
|
117
115
|
* When active date has been changed.
|
|
118
116
|
*/
|
|
119
117
|
activeDateChange: EventEmitter<UtcDate>;
|
|
120
|
-
/**
|
|
121
|
-
* @description
|
|
122
|
-
* When click outside the calendar component.
|
|
123
|
-
*/
|
|
124
|
-
clickOutside: EventEmitter<UtcDate>;
|
|
125
118
|
get selectedMonth(): SelectOptionModel;
|
|
126
119
|
set selectedMonth(option: SelectOptionModel);
|
|
127
120
|
get nextMonthDisabled(): boolean;
|
|
@@ -141,7 +134,7 @@ export declare class CalendarComponent extends NasComponentBase implements OnIni
|
|
|
141
134
|
private lowerLimitDateValue;
|
|
142
135
|
private selectedDateValue;
|
|
143
136
|
private shouldFocusCalendarOnAvailableDatesUpdate;
|
|
144
|
-
constructor(dateService: DateHelper, datePipe: DatePipe, calendarService: CalendarService
|
|
137
|
+
constructor(dateService: DateHelper, datePipe: DatePipe, calendarService: CalendarService);
|
|
145
138
|
ngOnInit(): void;
|
|
146
139
|
dateKeyDown(event: KeyboardEvent): void;
|
|
147
140
|
onPreviousMonthKeydown(event: KeyboardEvent): void;
|
|
@@ -201,12 +201,6 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
|
|
|
201
201
|
focusOnPreviousChange: EventEmitter<MouseEvent | KeyboardEvent>;
|
|
202
202
|
get activeDate(): UtcDate;
|
|
203
203
|
set activeDate(date: UtcDate);
|
|
204
|
-
/**
|
|
205
|
-
* @description
|
|
206
|
-
* Set selected month.
|
|
207
|
-
*/
|
|
208
|
-
get clickOutside(): boolean;
|
|
209
|
-
set clickOutside(clickIsOutside: boolean);
|
|
210
204
|
private openCalendarTimeout;
|
|
211
205
|
private activeDateTimeout;
|
|
212
206
|
private selectedDateValue;
|
|
@@ -218,7 +212,6 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
|
|
|
218
212
|
private disabledValue;
|
|
219
213
|
private forceNotOpenCalendar;
|
|
220
214
|
private lowerLimitDateValue;
|
|
221
|
-
private clickOutsideValue;
|
|
222
215
|
constructor(datePipe: DatePipe, dateService: DateHelper);
|
|
223
216
|
ngOnInit(): void;
|
|
224
217
|
onInputKeydownShiftTab(event: KeyboardEvent): void;
|