@norwegian/core-components 7.4.4 → 7.4.6
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/README.md +7 -2
- package/esm2022/lib/components/accordion/accordion.component.mjs +2 -2
- package/esm2022/lib/components/box/box.component.mjs +5 -5
- package/esm2022/lib/components/datepicker/datepicker.component.mjs +58 -13
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +2 -2
- package/fesm2022/norwegian-core-components.mjs +63 -18
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/box/box.component.d.ts +3 -3
- package/lib/components/datepicker/datepicker.component.d.ts +7 -4
- package/package.json +1 -1
|
@@ -9,9 +9,9 @@ export declare class BoxComponent extends NasComponentBase {
|
|
|
9
9
|
/**
|
|
10
10
|
* @property Input
|
|
11
11
|
* @description
|
|
12
|
-
* Boolean to
|
|
12
|
+
* Boolean to remove outline style.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
noOutline: boolean;
|
|
15
15
|
/**
|
|
16
16
|
* @property Input
|
|
17
17
|
* @description
|
|
@@ -74,5 +74,5 @@ export declare class BoxComponent extends NasComponentBase {
|
|
|
74
74
|
getModifiers(): Array<string>;
|
|
75
75
|
getClasses(element?: string, modifiers?: any): Array<ClassModel>;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<BoxComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BoxComponent, "nas-box", never, { "
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BoxComponent, "nas-box", never, { "noOutline": { "alias": "noOutline"; "required": false; }; "primary": { "alias": "primary"; "required": false; }; "secondary": { "alias": "secondary"; "required": false; }; "light": { "alias": "light"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "center": { "alias": "center"; "required": false; }; "nopadding": { "alias": "nopadding"; "required": false; }; "nomargin": { "alias": "nomargin"; "required": false; }; "stretch": { "alias": "stretch"; "required": false; }; "grey": { "alias": "grey"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
78
78
|
}
|
|
@@ -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 } from '@angular/core';
|
|
6
|
+
import { ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
7
7
|
import { FormGroup } from '@angular/forms';
|
|
8
8
|
import { CalendarComponent } from './calendar/calendar.component';
|
|
9
9
|
import { SelectOptionModel } from './calendar/models/select-option.model';
|
|
@@ -11,7 +11,6 @@ import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
|
11
11
|
import { ClassModel } from '../../core/models/class.model';
|
|
12
12
|
import { UtcDate } from '../../core/models/utc-date.model';
|
|
13
13
|
import { DateHelper } from '../../core/services/date/date-helper.service';
|
|
14
|
-
import { SelectComponent } from '../select/select.component';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
/**
|
|
17
16
|
* @description
|
|
@@ -25,13 +24,14 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
|
|
|
25
24
|
show: boolean;
|
|
26
25
|
selectedTimeOption: SelectOptionModel;
|
|
27
26
|
showTimes: boolean;
|
|
27
|
+
focusedTime: SelectOptionModel;
|
|
28
28
|
get showBackdrop(): boolean;
|
|
29
29
|
set showBackdrop(value: boolean);
|
|
30
30
|
input: ElementRef;
|
|
31
31
|
calendar: CalendarComponent;
|
|
32
32
|
datePickerContent: ElementRef;
|
|
33
|
-
timeSelector:
|
|
34
|
-
time:
|
|
33
|
+
timeSelector: ElementRef;
|
|
34
|
+
time: QueryList<ElementRef<HTMLElement>>;
|
|
35
35
|
/**
|
|
36
36
|
* @property Input
|
|
37
37
|
* @required
|
|
@@ -282,6 +282,9 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
|
|
|
282
282
|
private someValidDaysEqualsSelectedDay;
|
|
283
283
|
private date;
|
|
284
284
|
private onOpenTime;
|
|
285
|
+
private timeFocusNext;
|
|
286
|
+
private timeFocusPrev;
|
|
287
|
+
private timerListFocus;
|
|
285
288
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
286
289
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "nas-datepicker", never, { "id": { "alias": "id"; "required": false; }; "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "disableBackdrop": { "alias": "disableBackdrop"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "lowerLimitDate": { "alias": "lowerLimitDate"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "availableDates": { "alias": "availableDates"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "times": { "alias": "times"; "required": false; }; "open": { "alias": "open"; "required": false; }; "selectedMonth": { "alias": "selectedMonth"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "selectedTime": { "alias": "selectedTime"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "timepickerLabel": { "alias": "timepickerLabel"; "required": false; }; }, { "selectedDateChange": "selectedDateChange"; "selectedMonthChange": "selectedMonthChange"; "openChange": "openChange"; "focusOnNextChange": "focusOnNextChange"; "focusOnPreviousChange": "focusOnPreviousChange"; }, never, ["*"], false, never>;
|
|
287
290
|
}
|