@norwegian/core-components 8.0.0 → 8.0.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.
Files changed (33) hide show
  1. package/assets/documentation/select/select.md +0 -1
  2. package/assets/icons/flags/eu.svg +88 -0
  3. package/assets/icons/medium/bank--light.svg +3 -0
  4. package/assets/icons/medium/bank.svg +3 -0
  5. package/assets/icons/small/angle-left--disabled.svg +3 -0
  6. package/assets/icons/small/angle-right--disabled.svg +3 -0
  7. package/assets/icons/small/bank--light.svg +3 -0
  8. package/assets/icons/small/bank.svg +3 -0
  9. package/assets/icons/small/checkmark-outlined.svg +3 -0
  10. package/assets/icons/small/checkmark-solid.svg +3 -0
  11. package/assets/icons/small/click-to-pay--light.svg +8 -0
  12. package/assets/icons/small/click-to-pay.svg +8 -0
  13. package/assets/icons/small/reward-union.svg +7 -0
  14. package/assets/icons/small/swap.svg +6 -0
  15. package/fesm2022/norwegian-core-components.mjs +1125 -1028
  16. package/fesm2022/norwegian-core-components.mjs.map +1 -1
  17. package/index.d.ts +337 -290
  18. package/package.json +1 -1
  19. package/styles/1__settings/_mixins.scss +54 -31
  20. package/styles/2__generic/_fonts.scss +1 -1
  21. package/styles/3__base/_body.scss +4 -4
  22. package/styles/3__base/_form.scss +0 -1
  23. package/styles/3__base/_heading.scss +0 -1
  24. package/styles/3__base/_type.scss +6 -6
  25. package/assets/icons/small/info--light--light.svg +0 -4
  26. package/assets/images/logo--mobile.svg +0 -50
  27. package/assets/images/logo-reward.svg +0 -140
  28. package/assets/images/logo.svg +0 -135
  29. /package/assets/icons/{icon-chevron-left--light.svg → medium/chevron-left--light.svg} +0 -0
  30. /package/assets/icons/{icon-chevron-left.svg → medium/chevron-left.svg} +0 -0
  31. /package/assets/icons/{icon-chevron-right--light.svg → medium/chevron-right--light.svg} +0 -0
  32. /package/assets/icons/{icon-chevron-right.svg → medium/chevron-right.svg} +0 -0
  33. /package/assets/images/{cloud-1.svg → cloud.svg} +0 -0
package/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, OnInit, EventEmitter, ChangeDetectorRef, AfterViewInit, OnChanges, QueryList, AfterViewChecked, AfterContentInit, Renderer2, OnDestroy, AfterContentChecked, SimpleChanges } from '@angular/core';
2
+ import { ElementRef, OnInit, EventEmitter, ChangeDetectorRef, AfterViewInit, OnChanges, QueryList, Renderer2, AfterViewChecked, OnDestroy, AfterContentChecked, SimpleChanges } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import { DatePipe } from '@angular/common';
5
5
  import * as i4$1 from '@angular/forms';
6
- import { FormGroup, FormControl } from '@angular/forms';
6
+ import { FormGroup, AbstractControl } from '@angular/forms';
7
7
  import * as rxjs from 'rxjs';
8
8
  import { Observable, BehaviorSubject, Subject } from 'rxjs';
9
9
  import * as i4 from '@angular/router';
@@ -209,7 +209,7 @@ declare class GeolocationService {
209
209
  /**
210
210
  *
211
211
  * @description
212
- * Norwegian Accordion Component | Layout
212
+ * Norwegian Accordion Component | Layout | New design
213
213
  */
214
214
  declare class AccordionComponent extends NasComponentBase implements OnInit {
215
215
  /**
@@ -275,6 +275,13 @@ declare class AccordionComponent extends NasComponentBase implements OnInit {
275
275
  * Property to set custom styling on accordion.
276
276
  */
277
277
  cssStyle: any;
278
+ /**
279
+ * @property Input
280
+ *
281
+ * @description
282
+ * A string input value to set description below to the title.
283
+ */
284
+ description?: string;
278
285
  /**
279
286
  * @property Input
280
287
  *
@@ -282,6 +289,13 @@ declare class AccordionComponent extends NasComponentBase implements OnInit {
282
289
  * Boolean to set if accordion should be expanded or not.
283
290
  */
284
291
  expanded: boolean;
292
+ /**
293
+ * @property Input
294
+ *
295
+ * @description
296
+ * Set header level to accordion. Default is h2.
297
+ */
298
+ htag: '1' | '2' | '3' | '4' | '5';
285
299
  /**
286
300
  * @property Input
287
301
  *
@@ -352,6 +366,13 @@ declare class AccordionComponent extends NasComponentBase implements OnInit {
352
366
  * A string input value to set title text of component.
353
367
  */
354
368
  title: string;
369
+ /**
370
+ * @property Input
371
+ *
372
+ * @description
373
+ * A string input value to set description next to the title.
374
+ */
375
+ titleDescription?: string;
355
376
  /**
356
377
  * @property Output
357
378
  *
@@ -362,6 +383,7 @@ declare class AccordionComponent extends NasComponentBase implements OnInit {
362
383
  private animateIn;
363
384
  private animateOut;
364
385
  regularHeader: boolean;
386
+ get headerLevel(): number;
365
387
  constructor();
366
388
  ngOnInit(): void;
367
389
  getClasses(element?: string, modifiers?: any): Array<ClassModel>;
@@ -370,7 +392,7 @@ declare class AccordionComponent extends NasComponentBase implements OnInit {
370
392
  toggle(): void;
371
393
  setHeaderType(): void;
372
394
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
373
- static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "nas-accordion", never, { "approve": { "alias": "approve"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "badgeError": { "alias": "badgeError"; "required": false; }; "badgeInfo": { "alias": "badgeInfo"; "required": false; }; "badgeSuccess": { "alias": "badgeSuccess"; "required": false; }; "badgeWarning": { "alias": "badgeWarning"; "required": false; }; "containerOnToggle": { "alias": "containerOnToggle"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "cssStyle": { "alias": "cssStyle"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "small": { "alias": "small"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; "nopadding": { "alias": "nopadding"; "required": false; }; "primary": { "alias": "primary"; "required": false; }; "spaced": { "alias": "spaced"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "toggleChange": "toggleChange"; }, never, ["*"], false, never>;
395
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "nas-accordion", never, { "approve": { "alias": "approve"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "badgeError": { "alias": "badgeError"; "required": false; }; "badgeInfo": { "alias": "badgeInfo"; "required": false; }; "badgeSuccess": { "alias": "badgeSuccess"; "required": false; }; "badgeWarning": { "alias": "badgeWarning"; "required": false; }; "containerOnToggle": { "alias": "containerOnToggle"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "cssStyle": { "alias": "cssStyle"; "required": false; }; "description": { "alias": "description"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "htag": { "alias": "htag"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "small": { "alias": "small"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; "nopadding": { "alias": "nopadding"; "required": false; }; "primary": { "alias": "primary"; "required": false; }; "spaced": { "alias": "spaced"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDescription": { "alias": "titleDescription"; "required": false; }; }, { "toggleChange": "toggleChange"; }, never, ["*"], false, never>;
374
396
  }
375
397
 
376
398
  /**
@@ -584,8 +606,8 @@ declare class AirportSelectDropdownComponent extends NasComponentBase implements
584
606
  declare class AirportSelectComponent extends NasComponentBase implements OnInit, AfterViewInit {
585
607
  private deviceHelper;
586
608
  private cdr;
609
+ airportSelectDropdownOrigin: AirportSelectDropdownComponent;
587
610
  airportSelectDropdownDestination: AirportSelectDropdownComponent;
588
- airportSelectDropdownOrigin: ElementRef;
589
611
  container: ElementRef;
590
612
  switchButton: ElementRef;
591
613
  /**
@@ -2351,83 +2373,55 @@ interface DayModel {
2351
2373
  isWithinRange?: boolean;
2352
2374
  }
2353
2375
 
2354
- interface SelectOptionModel$1 {
2355
- value: string;
2356
- title: string;
2357
- }
2358
-
2359
2376
  interface WeekModel {
2360
2377
  days: Array<DayModel>;
2361
2378
  weekNumber: number;
2362
2379
  }
2363
2380
 
2364
2381
  interface SelectOptionModel {
2382
+ displayValue?: string;
2383
+ icon?: string;
2384
+ label: string;
2365
2385
  value: string;
2366
- title: string;
2367
2386
  }
2368
2387
 
2369
- /**
2370
- * @license
2371
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
2372
- */
2373
-
2374
- declare class OptionComponent extends NasComponentBase implements AfterViewChecked {
2375
- private elementRef;
2376
- /**
2377
- *
2378
- * Add option.
2379
- * @example
2380
- * ```html
2381
- * <nas-option [option]="option"></nas-option>
2382
- * ```
2383
- */
2384
- option: SelectOptionModel;
2385
- constructor(elementRef: ElementRef<HTMLElement>);
2386
- ngAfterViewChecked(): void;
2387
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
2388
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "nas-option", never, { "option": { "alias": "option"; "required": false; }; }, {}, never, never, false, never>;
2388
+ declare class SelectService {
2389
+ private _selected$;
2390
+ selected$: rxjs.Observable<string>;
2391
+ select(value: string): void;
2392
+ getIconName(value: string): string;
2393
+ getIconType(value: string): string;
2394
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectService, never>;
2395
+ static ɵprov: i0.ɵɵInjectableDeclaration<SelectService>;
2389
2396
  }
2390
2397
 
2391
- /**
2392
- * @license
2393
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
2394
- */
2395
-
2396
- declare class OptgroupComponent extends NasComponentBase implements AfterViewChecked {
2397
- private elementRef;
2398
- optionComponents: QueryList<OptionComponent>;
2399
- /**
2400
- *
2401
- * Sets the label on the group.
2402
- * @example
2403
- * ```html
2404
- * <nas-optgroup [label]="'Label name'"></nas-optgroup>
2405
- * ```
2406
- */
2398
+ declare class OptionComponent extends NasComponentBase {
2399
+ private selectService;
2400
+ displayValue: string;
2401
+ icon: string;
2407
2402
  label: string;
2408
- constructor(elementRef: ElementRef);
2409
- ngAfterViewChecked(): void;
2410
- static ɵfac: i0.ɵɵFactoryDeclaration<OptgroupComponent, never>;
2411
- static ɵcmp: i0.ɵɵComponentDeclaration<OptgroupComponent, "nas-optgroup", never, { "label": { "alias": "label"; "required": false; }; }, {}, ["optionComponents"], ["*"], false, never>;
2403
+ value: string;
2404
+ constructor(selectService: SelectService);
2405
+ onSelect(value: string): void;
2406
+ getIconName(value: string): string;
2407
+ getIconType(value: string): string;
2408
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
2409
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "nas-option", never, { "displayValue": { "alias": "displayValue"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
2412
2410
  }
2413
2411
 
2414
2412
  /**
2415
2413
  * @license
2416
2414
  * Copyright Norwegian Air Shuttle. All Rights Reserved.
2417
- */
2415
+ */
2418
2416
 
2419
2417
  /**
2420
- *
2421
2418
  * @description
2422
2419
  * Norwegian Select Component | Form Controls | New design
2423
2420
  */
2424
- declare class SelectComponent extends NasComponentBase implements OnChanges, AfterViewChecked, AfterContentInit, OnInit {
2425
- private change;
2426
- errorMessageWrapper: ElementRef;
2427
- select: ElementRef<HTMLSelectElement>;
2428
- selectTitleWrapper: ElementRef;
2429
- optionComponents: QueryList<OptionComponent>;
2430
- optgroupComponents: QueryList<OptgroupComponent>;
2421
+ declare class SelectComponent extends NasComponentBase implements OnInit, AfterViewInit {
2422
+ private selectService;
2423
+ selectBoxElement: ElementRef;
2424
+ optionsComponent: QueryList<OptionComponent>;
2431
2425
  /**
2432
2426
  * @property Input
2433
2427
  *
@@ -2439,14 +2433,7 @@ declare class SelectComponent extends NasComponentBase implements OnChanges, Aft
2439
2433
  * @property Input
2440
2434
  *
2441
2435
  * @description
2442
- * Sets block styling.
2443
- */
2444
- block?: boolean;
2445
- /**
2446
- * @property Input
2447
- *
2448
- * @description
2449
- * Sets compact styling.
2436
+ * Sets compact styling. Slighty smaller then regular select box.
2450
2437
  */
2451
2438
  compact?: boolean;
2452
2439
  /**
@@ -2467,60 +2454,42 @@ declare class SelectComponent extends NasComponentBase implements OnChanges, Aft
2467
2454
  * @property Input
2468
2455
  *
2469
2456
  * @description
2470
- * The error message to display when error occurs. Error attribute must be true.
2457
+ * The error message to display when error occur. Error attribute need to be true.
2471
2458
  */
2472
2459
  errorMessage?: string;
2473
2460
  /**
2474
2461
  * @property Input
2475
2462
  *
2476
2463
  * @description
2477
- * Sets fill styling.
2478
- */
2479
- fill?: boolean;
2480
- /**
2481
- * @property Input
2482
- *
2483
- * @description
2484
- * The ID of the native input element.
2464
+ * The ID of the native input element
2485
2465
  */
2486
2466
  id: string;
2487
2467
  /**
2488
2468
  * @property Input
2489
2469
  *
2490
2470
  * @description
2491
- * Add custom inline styling.
2471
+ * Sets information text to the tooltip. Info icon will be displayed between label text.
2492
2472
  */
2493
- inline?: boolean;
2494
- /**
2495
- * @property Input
2496
- *
2497
- * @description
2498
- * Sets light styling.
2499
- */
2500
- light?: boolean;
2473
+ infoText?: string;
2501
2474
  /**
2502
2475
  * @property Input
2503
2476
  *
2504
2477
  * @description
2505
- * Add custom label styling.
2478
+ * Sets inline styling. Possible to be used in sentences.
2506
2479
  */
2507
- label: string;
2480
+ inline?: boolean;
2508
2481
  /**
2509
2482
  * @property Input
2510
2483
  *
2511
2484
  * @description
2512
- * Add custom CSS class to the selector.
2485
+ * Sets the label to the select box.
2513
2486
  */
2514
- cssClass: ClassModel;
2487
+ label?: string;
2515
2488
  /**
2516
2489
  * @property Input
2517
2490
  *
2518
2491
  * @description
2519
2492
  * Sets a formControlName directive to the select.
2520
- * Requires ReactiveFormsModule and nasFormGroup must be provided.
2521
- *
2522
- * @example
2523
- * <nas-select [nasFormControlName]="'fareClass'"></nas-select>
2524
2493
  */
2525
2494
  nasFormControlName: string;
2526
2495
  /**
@@ -2528,10 +2497,6 @@ declare class SelectComponent extends NasComponentBase implements OnChanges, Aft
2528
2497
  *
2529
2498
  * @description
2530
2499
  * Adds the parent's form group.
2531
- * Requires ReactiveFormsModule and is required if nasFormControlName is provided.
2532
- *
2533
- * @example
2534
- * <nas-select [nasFormGroup]="classGroup"></nas-select>
2535
2500
  */
2536
2501
  nasFormGroup: FormGroup;
2537
2502
  /**
@@ -2546,83 +2511,70 @@ declare class SelectComponent extends NasComponentBase implements OnChanges, Aft
2546
2511
  * @property Input
2547
2512
  *
2548
2513
  * @description
2549
- * Sets simple styling.
2514
+ * Presenting value instead of title in the select box.
2550
2515
  */
2551
- simple?: boolean;
2516
+ presentValue?: boolean;
2552
2517
  /**
2553
2518
  * @property Input
2554
2519
  *
2555
2520
  * @description
2556
- * Sets spaceless styling.
2521
+ * Set selected value from option.
2557
2522
  */
2558
- spaceless?: boolean;
2523
+ get selected(): SelectOptionModel;
2524
+ set selected(option: SelectOptionModel);
2559
2525
  /**
2560
2526
  * @property Input
2561
2527
  *
2562
2528
  * @description
2563
- * The default selected value.
2529
+ * Sets simple styling. Border and background color stylings are removed.
2564
2530
  */
2565
- selectedValue: SelectOptionModel;
2531
+ simple?: boolean;
2566
2532
  /**
2567
2533
  * @property Input
2568
2534
  *
2569
2535
  * @description
2570
- * Gets or sets the selected value.
2536
+ * Sets spaceless styling. Removes margins for the select box.
2571
2537
  */
2572
- get selected(): SelectOptionModel;
2573
- set selected(option: SelectOptionModel);
2538
+ spaceless?: boolean;
2574
2539
  /**
2575
2540
  * @property Input
2576
2541
  *
2577
2542
  * @description
2578
- * Sets stretch styling.
2543
+ * Sets stretched styling.
2579
2544
  */
2580
- stretch?: boolean;
2545
+ stretched?: boolean;
2581
2546
  /**
2582
2547
  * @property Output
2583
2548
  *
2584
2549
  * @description
2585
- * An event that fires every time a selection is done.
2550
+ * An event that is fired every time a selection is done.
2586
2551
  */
2587
2552
  selectedChange: EventEmitter<SelectOptionModel>;
2588
- /**
2589
- * @property Output
2590
- *
2591
- * @description
2592
- * An event that fires every time a keydown event occurs on the select element.
2593
- */
2594
- keyDownEvent: EventEmitter<KeyboardEvent>;
2595
- active: boolean;
2596
- focus: boolean;
2553
+ open: boolean;
2597
2554
  hasContent: boolean;
2598
- labelWidth: number;
2599
- selectControl: FormControl<any>;
2600
- selectTitle: string;
2601
- valid: boolean;
2602
- private optionsValue;
2603
- private open;
2555
+ optionsValue: Array<SelectOptionModel>;
2556
+ selectedValue: SelectOptionModel;
2557
+ get modifiers(): Array<string>;
2558
+ get selectControl(): AbstractControl;
2559
+ get selectId(): string;
2560
+ get selectedLabel(): string;
2604
2561
  private componentId;
2605
- private lastWasTab;
2606
- constructor(change: ChangeDetectorRef);
2607
- onKeydown(e: KeyboardEvent): void;
2562
+ private activeIndex;
2563
+ private NAS_OPTION_TAG;
2564
+ constructor(selectService: SelectService);
2565
+ clickOutside(event: MouseEvent): void;
2566
+ onKeydown(event: KeyboardEvent): void;
2608
2567
  ngOnInit(): void;
2609
- ngOnChanges(): void;
2610
- ngAfterContentInit(): void;
2611
- ngAfterViewChecked(): void;
2612
- getSelectId(): string;
2613
- get selectId(): string;
2614
- get errorId(): string;
2615
- toggleSelect(event: any, keydown?: boolean): void;
2616
- blurSelect(): void;
2617
- getClasses(): Array<ClassModel>;
2618
- activeSelect(): void;
2619
- focusSelect(): void;
2620
- private setSelectedAndEmitChange;
2621
- private setFirstOptionSelected;
2622
- private updateShadow;
2623
- private setSelectedTitle;
2568
+ ngAfterViewInit(): void;
2569
+ onOpen(): void;
2570
+ getIconName(value: string): string;
2571
+ getIconType(value: string): string;
2572
+ private setSelected;
2573
+ private setOptionsFromContent;
2574
+ private selectKeyDown;
2575
+ private updateActiveOption;
2624
2576
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
2625
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "nas-select", never, { "autogrow": { "alias": "autogrow"; "required": false; }; "block": { "alias": "block"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "id": { "alias": "id"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "light": { "alias": "light"; "required": false; }; "label": { "alias": "label"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "options": { "alias": "options"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "stretch": { "alias": "stretch"; "required": false; }; }, { "selectedChange": "selectedChange"; "keyDownEvent": "keyDownEvent"; }, ["optionComponents", "optgroupComponents"], ["*"], false, never>;
2577
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "nas-select", never, { "autogrow": { "alias": "autogrow"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "id": { "alias": "id"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "label": { "alias": "label"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "options": { "alias": "options"; "required": false; }; "presentValue": { "alias": "presentValue"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "stretched": { "alias": "stretched"; "required": false; }; }, { "selectedChange": "selectedChange"; }, ["optionsComponent"], ["*"], false, never>;
2626
2578
  }
2627
2579
 
2628
2580
  declare class CalendarService {
@@ -2654,8 +2606,9 @@ declare class CalendarComponent extends NasComponentBase implements OnInit {
2654
2606
  dateService: DateHelper;
2655
2607
  datePipe: DatePipe;
2656
2608
  private calendarService;
2609
+ private cdr;
2657
2610
  weeks: Array<WeekModel>;
2658
- months: SelectOptionModel$1[];
2611
+ months: SelectOptionModel[];
2659
2612
  weekdays: string[];
2660
2613
  isPreviousMonthDisabled: boolean;
2661
2614
  previousMonthRef: ElementRef<HTMLButtonElement>;
@@ -2756,8 +2709,8 @@ declare class CalendarComponent extends NasComponentBase implements OnInit {
2756
2709
  * When active date has been changed.
2757
2710
  */
2758
2711
  activeDateChange: EventEmitter<UtcDate>;
2759
- get selectedMonth(): SelectOptionModel$1;
2760
- set selectedMonth(option: SelectOptionModel$1);
2712
+ get selectedMonth(): SelectOptionModel;
2713
+ set selectedMonth(option: SelectOptionModel);
2761
2714
  get nextMonthDisabled(): boolean;
2762
2715
  get currentMonthModel(): string;
2763
2716
  /**
@@ -2779,7 +2732,7 @@ declare class CalendarComponent extends NasComponentBase implements OnInit {
2779
2732
  private selectedDateValue;
2780
2733
  private shouldFocusCalendarOnAvailableDatesUpdate;
2781
2734
  private componentId;
2782
- constructor(dateService: DateHelper, datePipe: DatePipe, calendarService: CalendarService);
2735
+ constructor(dateService: DateHelper, datePipe: DatePipe, calendarService: CalendarService, cdr: ChangeDetectorRef);
2783
2736
  ngOnInit(): void;
2784
2737
  dateKeyDown(event: KeyboardEvent): void;
2785
2738
  onPreviousMonthKeydown(event: KeyboardEvent): void;
@@ -3058,12 +3011,12 @@ declare class DatepickerComponent extends NasComponentBase implements OnInit {
3058
3011
  * Month selected via dropdown or navigation buttons.
3059
3012
  */
3060
3013
  selectedMonthChange: EventEmitter<UtcDate>;
3061
- focusedTime: SelectOptionModel$1;
3014
+ focusedTime: SelectOptionModel;
3062
3015
  model: string;
3063
- selectedTimeOption: SelectOptionModel$1;
3016
+ selectedTimeOption: SelectOptionModel;
3064
3017
  show: boolean;
3065
3018
  showTimes: boolean;
3066
- timeOptions: Array<SelectOptionModel$1>;
3019
+ timeOptions: Array<SelectOptionModel>;
3067
3020
  utcDate: UtcDate;
3068
3021
  get activeDate(): UtcDate;
3069
3022
  set activeDate(date: UtcDate);
@@ -3091,7 +3044,7 @@ declare class DatepickerComponent extends NasComponentBase implements OnInit {
3091
3044
  onMonthChange(currentMonth: UtcDate): void;
3092
3045
  onMouseDownDatepicker(): void;
3093
3046
  openCalendar(): void;
3094
- onTimeSelected(option: SelectOptionModel$1): void;
3047
+ onTimeSelected(option: SelectOptionModel): void;
3095
3048
  getMainClass(): Array<ClassModel>;
3096
3049
  getLabelClass(): ClassModel;
3097
3050
  closeCalendar(): void;
@@ -3108,9 +3061,87 @@ declare class DatepickerComponent extends NasComponentBase implements OnInit {
3108
3061
  static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "nas-datepicker", never, { "disableBackdrop": { "alias": "disableBackdrop"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "availableDates": { "alias": "availableDates"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "open": { "alias": "open"; "required": false; }; "lowerLimitDate": { "alias": "lowerLimitDate"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "selectedMonth": { "alias": "selectedMonth"; "required": false; }; "selectedTime": { "alias": "selectedTime"; "required": false; }; "timepickerLabel": { "alias": "timepickerLabel"; "required": false; }; "times": { "alias": "times"; "required": false; }; }, { "focusOnNextChange": "focusOnNextChange"; "focusOnPreviousChange": "focusOnPreviousChange"; "openChange": "openChange"; "selectedDateChange": "selectedDateChange"; "selectedMonthChange": "selectedMonthChange"; }, never, ["*"], false, never>;
3109
3062
  }
3110
3063
 
3064
+ declare class OptGroupComponent extends NasComponentBase {
3065
+ label: string;
3066
+ constructor();
3067
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptGroupComponent, never>;
3068
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptGroupComponent, "nas-optgroup", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], false, never>;
3069
+ }
3070
+
3071
+ /**
3072
+ * @license
3073
+ * Copyright Norwegian Air Shuttle. All Rights Reserved.
3074
+ */
3075
+
3076
+ /**
3077
+ *
3078
+ * @description
3079
+ * Norwegian Tooltip Component | Functional | Beta
3080
+ */
3081
+ declare class TooltipComponent extends NasComponentBase implements OnInit, AfterViewInit {
3082
+ private deviceHelper;
3083
+ container: ElementRef;
3084
+ content: ElementRef;
3085
+ tooltip: ElementRef;
3086
+ /**
3087
+ * @property Input
3088
+ *
3089
+ * @description
3090
+ * Sets text on the tooltip.
3091
+ */
3092
+ text: string;
3093
+ /**
3094
+ * @property Input
3095
+ *
3096
+ * @description
3097
+ * Displays the tooltip; hover listener will be ignored.
3098
+ */
3099
+ enabled: boolean;
3100
+ /**
3101
+ * @property Input
3102
+ *
3103
+ * @description
3104
+ * Sets left styling for the tooltip; auto-positioning on screen size will be ignored.
3105
+ */
3106
+ left: boolean;
3107
+ /**
3108
+ * @property Input
3109
+ *
3110
+ * @description
3111
+ * Sets right styling for the tooltip; auto-positioning on screen size will be ignored.
3112
+ */
3113
+ right: boolean;
3114
+ opacityTimer: any;
3115
+ private hostListenerIgnored;
3116
+ private innerWidth;
3117
+ constructor(deviceHelper: DeviceHelper);
3118
+ onMouseEnter(): void;
3119
+ onMouseLeave(): void;
3120
+ onScroll(): void;
3121
+ onClickOutside(event: MouseEvent): void;
3122
+ onResize(): void;
3123
+ ngOnInit(): void;
3124
+ ngAfterViewInit(): void;
3125
+ getClasses(element?: string, modifiers?: any): Array<ClassModel>;
3126
+ onClickClose(): void;
3127
+ onClickOpenMobileView(): void;
3128
+ private adjustTooltipPosition;
3129
+ private renderViewHostListenerIgnoredOnInit;
3130
+ private hideToolTip;
3131
+ private setToolTipOpacity;
3132
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
3133
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "nas-tooltip", never, { "text": { "alias": "text"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "left": { "alias": "left"; "required": false; }; "right": { "alias": "right"; "required": false; }; }, {}, never, ["*"], false, never>;
3134
+ }
3135
+
3136
+ declare class TooltipModule {
3137
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
3138
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof TooltipComponent], [typeof i2.CommonModule, typeof NasClassModule, typeof IconModule], [typeof TooltipComponent]>;
3139
+ static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
3140
+ }
3141
+
3111
3142
  declare class SelectModule {
3112
3143
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
3113
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof SelectComponent, typeof OptionComponent, typeof OptgroupComponent], [typeof i2.CommonModule, typeof i4$1.ReactiveFormsModule, typeof NasClassModule, typeof IconModule], [typeof SelectComponent, typeof OptionComponent, typeof OptgroupComponent]>;
3144
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof SelectComponent, typeof OptionComponent, typeof OptGroupComponent], [typeof i2.CommonModule, typeof i4$1.ReactiveFormsModule, typeof NasClassModule, typeof IconModule, typeof TooltipModule], [typeof SelectComponent, typeof OptionComponent, typeof OptGroupComponent]>;
3114
3145
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
3115
3146
  }
3116
3147
 
@@ -3315,7 +3346,7 @@ declare class DatepickerComboComponent extends NasComponentBase implements OnIni
3315
3346
  private dateService;
3316
3347
  private deviceHelper;
3317
3348
  datepickerOutbound: DatepickerComponent;
3318
- datepickerInbound: ElementRef;
3349
+ datepickerInbound: DatepickerComponent;
3319
3350
  container: ElementRef;
3320
3351
  /**
3321
3352
  * @property Input
@@ -3559,6 +3590,13 @@ declare class DatepickerComboComponent extends NasComponentBase implements OnIni
3559
3590
  * Label for timepicker.
3560
3591
  */
3561
3592
  timepickerLabel: string;
3593
+ /**
3594
+ * @property Input
3595
+ *
3596
+ * @description
3597
+ * Ignores the focus on Inbound date.
3598
+ */
3599
+ ignoreOnFocusInboundDate: boolean;
3562
3600
  /**
3563
3601
  * @property Output
3564
3602
  *
@@ -3616,6 +3654,7 @@ declare class DatepickerComboComponent extends NasComponentBase implements OnIni
3616
3654
  */
3617
3655
  outboundOpenChange: EventEmitter<boolean>;
3618
3656
  inboundLowerLimitDate: UtcDate;
3657
+ tabIndex: number;
3619
3658
  get inboundSelectedMonth(): UtcDate;
3620
3659
  set inboundSelectedMonth(month: UtcDate);
3621
3660
  private outboundSelectedDateValue;
@@ -3633,7 +3672,7 @@ declare class DatepickerComboComponent extends NasComponentBase implements OnIni
3633
3672
  onOutboundFocusOnNext(event: KeyboardEvent | MouseEvent): void;
3634
3673
  onFocusOnNext(event: KeyboardEvent | MouseEvent): void;
3635
3674
  onFocusOnPrevious(event: KeyboardEvent): void;
3636
- onInboundFocusOnPrevious(): void;
3675
+ onInboundFocusOnPrevious(event: KeyboardEvent): void;
3637
3676
  onOutboundMonthChange(date: UtcDate): void;
3638
3677
  getMainClass(): Array<ClassModel>;
3639
3678
  checkOutboundOnly(): boolean;
@@ -3643,7 +3682,7 @@ declare class DatepickerComboComponent extends NasComponentBase implements OnIni
3643
3682
  setInlineFlexOnContainterWidth(): void;
3644
3683
  datePickerFloating(): boolean;
3645
3684
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComboComponent, never>;
3646
- static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComboComponent, "nas-datepicker-combo", never, { "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "disableBackdrop": { "alias": "disableBackdrop"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "inboundDisabled": { "alias": "inboundDisabled"; "required": false; }; "inboundAvailableDates": { "alias": "inboundAvailableDates"; "required": false; }; "inboundLabel": { "alias": "inboundLabel"; "required": false; }; "inboundId": { "alias": "inboundId"; "required": false; }; "inboundSelectedDate": { "alias": "inboundSelectedDate"; "required": false; }; "inboundSelectedTime": { "alias": "inboundSelectedTime"; "required": false; }; "inboundLowerLimitDateOffset": { "alias": "inboundLowerLimitDateOffset"; "required": false; }; "inboundOpen": { "alias": "inboundOpen"; "required": false; }; "inlineFlex": { "alias": "inlineFlex"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "nasFormControlNameInbound": { "alias": "nasFormControlNameInbound"; "required": false; }; "nasFormControlNameOutbound": { "alias": "nasFormControlNameOutbound"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "outboundOnly": { "alias": "outboundOnly"; "required": false; }; "outboundDisabled": { "alias": "outboundDisabled"; "required": false; }; "outboundAvailableDates": { "alias": "outboundAvailableDates"; "required": false; }; "outboundId": { "alias": "outboundId"; "required": false; }; "outboundLabel": { "alias": "outboundLabel"; "required": false; }; "outboundOpen": { "alias": "outboundOpen"; "required": false; }; "outboundSelectedDate": { "alias": "outboundSelectedDate"; "required": false; }; "outboundSelectedTime": { "alias": "outboundSelectedTime"; "required": false; }; "times": { "alias": "times"; "required": false; }; "timepickerLabel": { "alias": "timepickerLabel"; "required": false; }; }, { "inboundMonthChange": "inboundMonthChange"; "inboundSelectedDateChange": "inboundSelectedDateChange"; "inboundOpenChange": "inboundOpenChange"; "focusOnPreviousChange": "focusOnPreviousChange"; "focusOnNextChange": "focusOnNextChange"; "outboundMonthChange": "outboundMonthChange"; "outboundSelectedDateChange": "outboundSelectedDateChange"; "outboundOpenChange": "outboundOpenChange"; }, never, never, false, never>;
3685
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComboComponent, "nas-datepicker-combo", never, { "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "disableBackdrop": { "alias": "disableBackdrop"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "inboundDisabled": { "alias": "inboundDisabled"; "required": false; }; "inboundAvailableDates": { "alias": "inboundAvailableDates"; "required": false; }; "inboundLabel": { "alias": "inboundLabel"; "required": false; }; "inboundId": { "alias": "inboundId"; "required": false; }; "inboundSelectedDate": { "alias": "inboundSelectedDate"; "required": false; }; "inboundSelectedTime": { "alias": "inboundSelectedTime"; "required": false; }; "inboundLowerLimitDateOffset": { "alias": "inboundLowerLimitDateOffset"; "required": false; }; "inboundOpen": { "alias": "inboundOpen"; "required": false; }; "inlineFlex": { "alias": "inlineFlex"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "nasFormControlNameInbound": { "alias": "nasFormControlNameInbound"; "required": false; }; "nasFormControlNameOutbound": { "alias": "nasFormControlNameOutbound"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "outboundOnly": { "alias": "outboundOnly"; "required": false; }; "outboundDisabled": { "alias": "outboundDisabled"; "required": false; }; "outboundAvailableDates": { "alias": "outboundAvailableDates"; "required": false; }; "outboundId": { "alias": "outboundId"; "required": false; }; "outboundLabel": { "alias": "outboundLabel"; "required": false; }; "outboundOpen": { "alias": "outboundOpen"; "required": false; }; "outboundSelectedDate": { "alias": "outboundSelectedDate"; "required": false; }; "outboundSelectedTime": { "alias": "outboundSelectedTime"; "required": false; }; "times": { "alias": "times"; "required": false; }; "timepickerLabel": { "alias": "timepickerLabel"; "required": false; }; "ignoreOnFocusInboundDate": { "alias": "ignoreOnFocusInboundDate"; "required": false; }; }, { "inboundMonthChange": "inboundMonthChange"; "inboundSelectedDateChange": "inboundSelectedDateChange"; "inboundOpenChange": "inboundOpenChange"; "focusOnPreviousChange": "focusOnPreviousChange"; "focusOnNextChange": "focusOnNextChange"; "outboundMonthChange": "outboundMonthChange"; "outboundSelectedDateChange": "outboundSelectedDateChange"; "outboundOpenChange": "outboundOpenChange"; }, never, never, false, never>;
3647
3686
  }
3648
3687
 
3649
3688
  /**
@@ -3815,6 +3854,7 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
3815
3854
  elementRef: ElementRef;
3816
3855
  changeDetector: ChangeDetectorRef;
3817
3856
  airportSelect: AirportSelectComponent;
3857
+ airportSelect2: AirportSelectComponent;
3818
3858
  container: ElementRef;
3819
3859
  datepickerCombo: DatepickerComboComponent;
3820
3860
  passengerSelect: PassengerSelectComponent;
@@ -4008,6 +4048,13 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4008
4048
  * The airport code of the destination airport. It will set the selected destination airport based on this value.
4009
4049
  */
4010
4050
  destinationAirportCode: string;
4051
+ /**
4052
+ * @property Input
4053
+ *
4054
+ * @description
4055
+ * The airport code of the second destination airport. It will set the selected destination airport based on this value.
4056
+ */
4057
+ destination2AirportCode: string;
4011
4058
  /**
4012
4059
  * @property Input
4013
4060
  *
@@ -4080,6 +4127,13 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4080
4127
  * Will display the destination input, set this to false to remove it. It's true by default.
4081
4128
  */
4082
4129
  enableDestinationSelect: boolean;
4130
+ /**
4131
+ * @property Input
4132
+ *
4133
+ * @description
4134
+ * Toggle for enabling multi-city function.
4135
+ */
4136
+ enableMultiCity: boolean;
4083
4137
  /**
4084
4138
  * @property Input
4085
4139
  *
@@ -4297,6 +4351,15 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4297
4351
  * It requiers that the nasFormGroup input is filled.
4298
4352
  */
4299
4353
  nasFormControlNameDestination: string;
4354
+ /**
4355
+ * @property Input
4356
+ *
4357
+ * @description
4358
+ * Sets a formControlName directive to the input.
4359
+ * It requires that the consumer included ReactiveFormsModule in it's module.
4360
+ * It requiers that the nasFormGroup input is filled.
4361
+ */
4362
+ nasFormControlNameDestination2: string;
4300
4363
  /**
4301
4364
  * @property Input
4302
4365
  *
@@ -4324,6 +4387,15 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4324
4387
  * It requiers that the nasFormGroup input is filled.
4325
4388
  */
4326
4389
  nasFormControlNameOrigin: string;
4390
+ /**
4391
+ * @property Input
4392
+ *
4393
+ * @description
4394
+ * Sets a formControlName directive to the input.
4395
+ * It requires that the consumer included ReactiveFormsModule in it's module.
4396
+ * It requiers that the nasFormGroup input is filled.
4397
+ */
4398
+ nasFormControlNameOrigin2: string;
4327
4399
  /**
4328
4400
  * @property Input
4329
4401
  *
@@ -4379,6 +4451,13 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4379
4451
  * The airport code of the origin airport. It will set the selected origin airport based on this value.
4380
4452
  */
4381
4453
  originAirportCode: string;
4454
+ /**
4455
+ * @property Input
4456
+ *
4457
+ * @description
4458
+ * The airport code of the second origin airport. It will set the selected origin airport based on this value.
4459
+ */
4460
+ origin2AirportCode: string;
4382
4461
  /**
4383
4462
  * @property Input
4384
4463
  *
@@ -4545,6 +4624,13 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4545
4624
  * A label for round trip selection in the trip switch dropdown.
4546
4625
  */
4547
4626
  tripSwitchRoundTripLabel: string;
4627
+ /**
4628
+ * @property Input
4629
+ *
4630
+ * @description
4631
+ * A label for multi-city selection in the trip switch dropdown.
4632
+ */
4633
+ tripSwitchMultiCityLabel: string;
4548
4634
  /**
4549
4635
  * @property Input
4550
4636
  *
@@ -4575,13 +4661,27 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4575
4661
  * An event that is fired every time the selected destination airport changes.
4576
4662
  */
4577
4663
  destinationChange: EventEmitter<AirportModel>;
4664
+ /**
4665
+ * @property Output
4666
+ *
4667
+ * @description
4668
+ * An event that is fired every time the selected destination2 airport changes.
4669
+ */
4670
+ destination2Change: EventEmitter<AirportModel>;
4578
4671
  /**
4579
4672
  * @property Output
4580
4673
  *
4581
4674
  * @description
4582
- * An event that is fired every time the origin dropdown selector opens or closes.
4675
+ * An event that is fired every time the destionation dropdown selector opens or closes.
4583
4676
  */
4584
4677
  destinationOpenChange: EventEmitter<boolean>;
4678
+ /**
4679
+ * @property Output
4680
+ *
4681
+ * @description
4682
+ * An event that is fired every time the second destionation dropdown selector opens or closes.
4683
+ */
4684
+ destination2OpenChange: EventEmitter<boolean>;
4585
4685
  /**
4586
4686
  * @property Output
4587
4687
  *
@@ -4624,6 +4724,13 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4624
4724
  * An event that is fired every time the selected origin airport changes.
4625
4725
  */
4626
4726
  originChange: EventEmitter<AirportModel>;
4727
+ /**
4728
+ * @property Output
4729
+ *
4730
+ * @description
4731
+ * An event that is fired every time the selected origin airport changes.
4732
+ */
4733
+ origin2Change: EventEmitter<AirportModel>;
4627
4734
  /**
4628
4735
  * @property Output
4629
4736
  *
@@ -4631,6 +4738,13 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4631
4738
  * An event that is fired every time the origin dropdown selector opens or closes.
4632
4739
  */
4633
4740
  originOpenChange: EventEmitter<boolean>;
4741
+ /**
4742
+ * @property Output
4743
+ *
4744
+ * @description
4745
+ * An event that is fired every time the second origin dropdown selector opens or closes.
4746
+ */
4747
+ origin2OpenChange: EventEmitter<boolean>;
4634
4748
  /**
4635
4749
  * @property Output
4636
4750
  *
@@ -4691,8 +4805,10 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4691
4805
  latestSearchesOrigin: Array<AirportModel>;
4692
4806
  maximize: boolean;
4693
4807
  nativeElement: HTMLElement;
4808
+ onFocusInboundIgnored: boolean;
4694
4809
  openPassengerSelect: boolean;
4695
4810
  openTransitTypeSelect: boolean;
4811
+ showSwitch: boolean;
4696
4812
  tripSwitchFocusTimeout: any;
4697
4813
  get outboundOpen(): boolean;
4698
4814
  set outboundOpen(value: boolean);
@@ -4731,6 +4847,7 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4731
4847
  onPassengersSelectFocusOnPrevious(): void;
4732
4848
  passengerKeyDown(event: KeyboardEvent): void;
4733
4849
  onTripSwitchKeyDown(event: KeyboardEvent): void;
4850
+ onFocusInboundDateKeyDown(event: KeyboardEvent): void;
4734
4851
  onTripSwitchFocusNext(event: KeyboardEvent): void;
4735
4852
  transitKeyDown(event: KeyboardEvent): void;
4736
4853
  onPassengersSelectFocusOnNext(): void;
@@ -4742,16 +4859,21 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4742
4859
  isMobileDisplay(): boolean;
4743
4860
  isTabletDisplay(): boolean;
4744
4861
  onOriginOpen(open: boolean): void;
4862
+ onOrigin2Open(open: boolean): void;
4745
4863
  validateAirportValues(): boolean;
4746
4864
  updateMaximize(): void;
4747
4865
  onDestinationOpen(open: boolean): void;
4866
+ onDestination2Open(open: boolean): void;
4748
4867
  onPassengerBackdropChange(value: boolean): void;
4749
4868
  onPassengerSelectOpen(): void;
4750
4869
  onTripSwitchOpen(open: boolean): void;
4751
4870
  onTransitSwitchOpen(open: boolean): void;
4752
4871
  onOriginChange(airport: AirportModel): void;
4872
+ onOrigin2Change(airport: AirportModel): void;
4753
4873
  setSelectedOriginAirport(airport: AirportModel): void;
4874
+ setSelectedOrigin2Airport(airport: AirportModel): void;
4754
4875
  onDestinationChange(airport: AirportModel): void;
4876
+ onDestination2Change(airport: AirportModel): void;
4755
4877
  setFocusOnPassengerSelect(event: KeyboardEvent): void;
4756
4878
  setFocusOnNativeElement(element: ElementRef): void;
4757
4879
  onTripTypeChange(tripType: TripType): void;
@@ -4766,7 +4888,7 @@ declare class FilterComponent extends NasComponentBase implements OnInit, AfterV
4766
4888
  private setLatestSearches;
4767
4889
  private closeDropdowns;
4768
4890
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
4769
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "nas-filter", never, { "airportRelations": { "alias": "airportRelations"; "required": false; }; "airportSelectInboundId": { "alias": "airportSelectInboundId"; "required": false; }; "airportSelectOutboundId": { "alias": "airportSelectOutboundId"; "required": false; }; "airports": { "alias": "airports"; "required": false; }; "allAirportsLabel": { "alias": "allAirportsLabel"; "required": false; }; "allowedDestinationAirports": { "alias": "allowedDestinationAirports"; "required": false; }; "allowedOriginAirports": { "alias": "allowedOriginAirports"; "required": false; }; "ariaLabelAdd": { "alias": "ariaLabelAdd"; "required": false; }; "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "ariaLabelClear": { "alias": "ariaLabelClear"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "ariaLabelSubtract": { "alias": "ariaLabelSubtract"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "closestAirports": { "alias": "closestAirports"; "required": false; }; "closestAirportsLabel": { "alias": "closestAirportsLabel"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "datePickerComboInlineFlex": { "alias": "datePickerComboInlineFlex"; "required": false; }; "datePickerInboundId": { "alias": "datePickerInboundId"; "required": false; }; "datePickerOutboundId": { "alias": "datePickerOutboundId"; "required": false; }; "defaultSummarySeparator": { "alias": "defaultSummarySeparator"; "required": false; }; "destinationAirportCode": { "alias": "destinationAirportCode"; "required": false; }; "directOnly": { "alias": "directOnly"; "required": false; }; "directOnlyLabel": { "alias": "directOnlyLabel"; "required": false; }; "directOnlyMobileLabel": { "alias": "directOnlyMobileLabel"; "required": false; }; "directTransitLabel": { "alias": "directTransitLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "displayClosestAirports": { "alias": "displayClosestAirports"; "required": false; }; "displayLatestSearches": { "alias": "displayLatestSearches"; "required": false; }; "editSearchTitle": { "alias": "editSearchTitle"; "required": false; }; "enableDatepickers": { "alias": "enableDatepickers"; "required": false; }; "enableDestinationSelect": { "alias": "enableDestinationSelect"; "required": false; }; "enablePassengersSelect": { "alias": "enablePassengersSelect"; "required": false; }; "enableSuggestions": { "alias": "enableSuggestions"; "required": false; }; "enableTransitSwitch": { "alias": "enableTransitSwitch"; "required": false; }; "enableTripSwitch": { "alias": "enableTripSwitch"; "required": false; }; "expandedAccordionMobile": { "alias": "expandedAccordionMobile"; "required": false; }; "geolocationBlockedLabel": { "alias": "geolocationBlockedLabel"; "required": false; }; "geolocationLabel": { "alias": "geolocationLabel"; "required": false; }; "groupBookingLabel": { "alias": "groupBookingLabel"; "required": false; }; "groupBookingLimit": { "alias": "groupBookingLimit"; "required": false; }; "inboundAvailableDates": { "alias": "inboundAvailableDates"; "required": false; }; "inboundDisabled": { "alias": "inboundDisabled"; "required": false; }; "inboundLabel": { "alias": "inboundLabel"; "required": false; }; "inboundSelectedDate": { "alias": "inboundSelectedDate"; "required": false; }; "inlineOnDesktop": { "alias": "inlineOnDesktop"; "required": false; }; "invalidDestinationText": { "alias": "invalidDestinationText"; "required": false; }; "keepSelection": { "alias": "keepSelection"; "required": false; }; "labelDestination": { "alias": "labelDestination"; "required": false; }; "labelOrigin": { "alias": "labelOrigin"; "required": false; }; "lastSummarySeparator": { "alias": "lastSummarySeparator"; "required": false; }; "latestSearchesLabel": { "alias": "latestSearchesLabel"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxPaxCount": { "alias": "maxPaxCount"; "required": false; }; "maximizingLabel": { "alias": "maximizingLabel"; "required": false; }; "minAdultCount": { "alias": "minAdultCount"; "required": false; }; "minimize": { "alias": "minimize"; "required": false; }; "minimizeOnMobile": { "alias": "minimizeOnMobile"; "required": false; }; "minimizingLabel": { "alias": "minimizingLabel"; "required": false; }; "nasFormControlGroupBooking": { "alias": "nasFormControlGroupBooking"; "required": false; }; "nasFormControlNameDestination": { "alias": "nasFormControlNameDestination"; "required": false; }; "nasFormControlNameDirectOnly": { "alias": "nasFormControlNameDirectOnly"; "required": false; }; "nasFormControlNameInbound": { "alias": "nasFormControlNameInbound"; "required": false; }; "nasFormControlNameOrigin": { "alias": "nasFormControlNameOrigin"; "required": false; }; "nasFormControlNameOutbound": { "alias": "nasFormControlNameOutbound"; "required": false; }; "nasFormControlNameTripType": { "alias": "nasFormControlNameTripType"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "noAirportsLabel": { "alias": "noAirportsLabel"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "orLabel": { "alias": "orLabel"; "required": false; }; "originAirportCode": { "alias": "originAirportCode"; "required": false; }; "outboundAvailableDates": { "alias": "outboundAvailableDates"; "required": false; }; "outboundDisabled": { "alias": "outboundDisabled"; "required": false; }; "outboundLabel": { "alias": "outboundLabel"; "required": false; }; "outboundSelectedDate": { "alias": "outboundSelectedDate"; "required": false; }; "overrideOrigin": { "alias": "overrideOrigin"; "required": false; }; "passengerSelectAdultsLabel": { "alias": "passengerSelectAdultsLabel"; "required": false; }; "passengerSelectChildrenLabel": { "alias": "passengerSelectChildrenLabel"; "required": false; }; "passengerSelectId": { "alias": "passengerSelectId"; "required": false; }; "passengerSelectInfantsLabel": { "alias": "passengerSelectInfantsLabel"; "required": false; }; "passengerSelectLabel": { "alias": "passengerSelectLabel"; "required": false; }; "passengerSelectTitle": { "alias": "passengerSelectTitle"; "required": false; }; "passengerSelectYoungAdultsLabel": { "alias": "passengerSelectYoungAdultsLabel"; "required": false; }; "passengerSelectYouthsLabel": { "alias": "passengerSelectYouthsLabel"; "required": false; }; "passengers": { "alias": "passengers"; "required": false; }; "passengersTitleLabel": { "alias": "passengersTitleLabel"; "required": false; }; "placeholderDestination": { "alias": "placeholderDestination"; "required": false; }; "placeholderOrigin": { "alias": "placeholderOrigin"; "required": false; }; "selectOriginFirstLabel": { "alias": "selectOriginFirstLabel"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "times": { "alias": "times"; "required": false; }; "transitTypeId": { "alias": "transitTypeId"; "required": false; }; "tripSwitchOneWayLabel": { "alias": "tripSwitchOneWayLabel"; "required": false; }; "tripSwitchRoundTripLabel": { "alias": "tripSwitchRoundTripLabel"; "required": false; }; "tripType": { "alias": "tripType"; "required": false; }; "tripTypeId": { "alias": "tripTypeId"; "required": false; }; "useSwitch": { "alias": "useSwitch"; "required": false; }; }, { "destinationChange": "destinationChange"; "destinationOpenChange": "destinationOpenChange"; "directOnlyChange": "directOnlyChange"; "focusOnNextChange": "focusOnNextChange"; "inboundMonthChange": "inboundMonthChange"; "inboundOpenChange": "inboundOpenChange"; "inboundSelectedDateChange": "inboundSelectedDateChange"; "originChange": "originChange"; "originOpenChange": "originOpenChange"; "outboundMonthChange": "outboundMonthChange"; "outboundOpenChange": "outboundOpenChange"; "outboundSelectedDateChange": "outboundSelectedDateChange"; "passengerSelectOpenChange": "passengerSelectOpenChange"; "passengersChange": "passengersChange"; "positionChange": "positionChange"; "tripTypeChange": "tripTypeChange"; }, never, never, false, never>;
4891
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "nas-filter", never, { "airportRelations": { "alias": "airportRelations"; "required": false; }; "airportSelectInboundId": { "alias": "airportSelectInboundId"; "required": false; }; "airportSelectOutboundId": { "alias": "airportSelectOutboundId"; "required": false; }; "airports": { "alias": "airports"; "required": false; }; "allAirportsLabel": { "alias": "allAirportsLabel"; "required": false; }; "allowedDestinationAirports": { "alias": "allowedDestinationAirports"; "required": false; }; "allowedOriginAirports": { "alias": "allowedOriginAirports"; "required": false; }; "ariaLabelAdd": { "alias": "ariaLabelAdd"; "required": false; }; "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "ariaLabelClear": { "alias": "ariaLabelClear"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "ariaLabelSubtract": { "alias": "ariaLabelSubtract"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "closestAirports": { "alias": "closestAirports"; "required": false; }; "closestAirportsLabel": { "alias": "closestAirportsLabel"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "datePickerComboInlineFlex": { "alias": "datePickerComboInlineFlex"; "required": false; }; "datePickerInboundId": { "alias": "datePickerInboundId"; "required": false; }; "datePickerOutboundId": { "alias": "datePickerOutboundId"; "required": false; }; "defaultSummarySeparator": { "alias": "defaultSummarySeparator"; "required": false; }; "destinationAirportCode": { "alias": "destinationAirportCode"; "required": false; }; "destination2AirportCode": { "alias": "destination2AirportCode"; "required": false; }; "directOnly": { "alias": "directOnly"; "required": false; }; "directOnlyLabel": { "alias": "directOnlyLabel"; "required": false; }; "directOnlyMobileLabel": { "alias": "directOnlyMobileLabel"; "required": false; }; "directTransitLabel": { "alias": "directTransitLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "displayClosestAirports": { "alias": "displayClosestAirports"; "required": false; }; "displayLatestSearches": { "alias": "displayLatestSearches"; "required": false; }; "editSearchTitle": { "alias": "editSearchTitle"; "required": false; }; "enableDatepickers": { "alias": "enableDatepickers"; "required": false; }; "enableDestinationSelect": { "alias": "enableDestinationSelect"; "required": false; }; "enableMultiCity": { "alias": "enableMultiCity"; "required": false; }; "enablePassengersSelect": { "alias": "enablePassengersSelect"; "required": false; }; "enableSuggestions": { "alias": "enableSuggestions"; "required": false; }; "enableTransitSwitch": { "alias": "enableTransitSwitch"; "required": false; }; "enableTripSwitch": { "alias": "enableTripSwitch"; "required": false; }; "expandedAccordionMobile": { "alias": "expandedAccordionMobile"; "required": false; }; "geolocationBlockedLabel": { "alias": "geolocationBlockedLabel"; "required": false; }; "geolocationLabel": { "alias": "geolocationLabel"; "required": false; }; "groupBookingLabel": { "alias": "groupBookingLabel"; "required": false; }; "groupBookingLimit": { "alias": "groupBookingLimit"; "required": false; }; "inboundAvailableDates": { "alias": "inboundAvailableDates"; "required": false; }; "inboundDisabled": { "alias": "inboundDisabled"; "required": false; }; "inboundLabel": { "alias": "inboundLabel"; "required": false; }; "inboundSelectedDate": { "alias": "inboundSelectedDate"; "required": false; }; "inlineOnDesktop": { "alias": "inlineOnDesktop"; "required": false; }; "invalidDestinationText": { "alias": "invalidDestinationText"; "required": false; }; "keepSelection": { "alias": "keepSelection"; "required": false; }; "labelDestination": { "alias": "labelDestination"; "required": false; }; "labelOrigin": { "alias": "labelOrigin"; "required": false; }; "lastSummarySeparator": { "alias": "lastSummarySeparator"; "required": false; }; "latestSearchesLabel": { "alias": "latestSearchesLabel"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxPaxCount": { "alias": "maxPaxCount"; "required": false; }; "maximizingLabel": { "alias": "maximizingLabel"; "required": false; }; "minAdultCount": { "alias": "minAdultCount"; "required": false; }; "minimize": { "alias": "minimize"; "required": false; }; "minimizeOnMobile": { "alias": "minimizeOnMobile"; "required": false; }; "minimizingLabel": { "alias": "minimizingLabel"; "required": false; }; "nasFormControlGroupBooking": { "alias": "nasFormControlGroupBooking"; "required": false; }; "nasFormControlNameDestination": { "alias": "nasFormControlNameDestination"; "required": false; }; "nasFormControlNameDestination2": { "alias": "nasFormControlNameDestination2"; "required": false; }; "nasFormControlNameDirectOnly": { "alias": "nasFormControlNameDirectOnly"; "required": false; }; "nasFormControlNameInbound": { "alias": "nasFormControlNameInbound"; "required": false; }; "nasFormControlNameOrigin": { "alias": "nasFormControlNameOrigin"; "required": false; }; "nasFormControlNameOrigin2": { "alias": "nasFormControlNameOrigin2"; "required": false; }; "nasFormControlNameOutbound": { "alias": "nasFormControlNameOutbound"; "required": false; }; "nasFormControlNameTripType": { "alias": "nasFormControlNameTripType"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "noAirportsLabel": { "alias": "noAirportsLabel"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "orLabel": { "alias": "orLabel"; "required": false; }; "originAirportCode": { "alias": "originAirportCode"; "required": false; }; "origin2AirportCode": { "alias": "origin2AirportCode"; "required": false; }; "outboundAvailableDates": { "alias": "outboundAvailableDates"; "required": false; }; "outboundDisabled": { "alias": "outboundDisabled"; "required": false; }; "outboundLabel": { "alias": "outboundLabel"; "required": false; }; "outboundSelectedDate": { "alias": "outboundSelectedDate"; "required": false; }; "overrideOrigin": { "alias": "overrideOrigin"; "required": false; }; "passengerSelectAdultsLabel": { "alias": "passengerSelectAdultsLabel"; "required": false; }; "passengerSelectChildrenLabel": { "alias": "passengerSelectChildrenLabel"; "required": false; }; "passengerSelectId": { "alias": "passengerSelectId"; "required": false; }; "passengerSelectInfantsLabel": { "alias": "passengerSelectInfantsLabel"; "required": false; }; "passengerSelectLabel": { "alias": "passengerSelectLabel"; "required": false; }; "passengerSelectTitle": { "alias": "passengerSelectTitle"; "required": false; }; "passengerSelectYoungAdultsLabel": { "alias": "passengerSelectYoungAdultsLabel"; "required": false; }; "passengerSelectYouthsLabel": { "alias": "passengerSelectYouthsLabel"; "required": false; }; "passengers": { "alias": "passengers"; "required": false; }; "passengersTitleLabel": { "alias": "passengersTitleLabel"; "required": false; }; "placeholderDestination": { "alias": "placeholderDestination"; "required": false; }; "placeholderOrigin": { "alias": "placeholderOrigin"; "required": false; }; "selectOriginFirstLabel": { "alias": "selectOriginFirstLabel"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "times": { "alias": "times"; "required": false; }; "transitTypeId": { "alias": "transitTypeId"; "required": false; }; "tripSwitchOneWayLabel": { "alias": "tripSwitchOneWayLabel"; "required": false; }; "tripSwitchRoundTripLabel": { "alias": "tripSwitchRoundTripLabel"; "required": false; }; "tripSwitchMultiCityLabel": { "alias": "tripSwitchMultiCityLabel"; "required": false; }; "tripType": { "alias": "tripType"; "required": false; }; "tripTypeId": { "alias": "tripTypeId"; "required": false; }; "useSwitch": { "alias": "useSwitch"; "required": false; }; }, { "destinationChange": "destinationChange"; "destination2Change": "destination2Change"; "destinationOpenChange": "destinationOpenChange"; "destination2OpenChange": "destination2OpenChange"; "directOnlyChange": "directOnlyChange"; "focusOnNextChange": "focusOnNextChange"; "inboundMonthChange": "inboundMonthChange"; "inboundOpenChange": "inboundOpenChange"; "inboundSelectedDateChange": "inboundSelectedDateChange"; "originChange": "originChange"; "origin2Change": "origin2Change"; "originOpenChange": "originOpenChange"; "origin2OpenChange": "origin2OpenChange"; "outboundMonthChange": "outboundMonthChange"; "outboundOpenChange": "outboundOpenChange"; "outboundSelectedDateChange": "outboundSelectedDateChange"; "passengerSelectOpenChange": "passengerSelectOpenChange"; "passengersChange": "passengersChange"; "positionChange": "positionChange"; "tripTypeChange": "tripTypeChange"; }, never, never, false, never>;
4770
4892
  }
4771
4893
 
4772
4894
  declare class PassengerSelectModule {
@@ -4838,24 +4960,24 @@ declare class FilterModule {
4838
4960
  }
4839
4961
 
4840
4962
  interface SortOptionModel extends SelectOptionModel {
4963
+ disabled?: boolean;
4964
+ error?: boolean;
4841
4965
  nasFormControlName?: string;
4842
4966
  nasFormGroup?: string;
4843
4967
  required?: boolean;
4844
4968
  spaceless?: boolean;
4845
4969
  strong?: boolean;
4846
4970
  tabIndex?: number;
4847
- disabled?: boolean;
4848
- error?: boolean;
4849
4971
  }
4850
4972
 
4851
4973
  interface SortModel {
4852
- label: string;
4853
- sortOptions: Array<SortOptionModel>;
4854
4974
  applyButtonLabel?: string;
4855
4975
  closeDropdownOnApplyClick?: boolean;
4856
4976
  closeDropdownOnOptionChange?: boolean;
4857
- right?: boolean;
4977
+ label: string;
4858
4978
  name: string;
4979
+ right?: boolean;
4980
+ sortOptions: Array<SortOptionModel>;
4859
4981
  }
4860
4982
 
4861
4983
  /**
@@ -5653,6 +5775,29 @@ declare class PageFooterModule {
5653
5775
  static ɵinj: i0.ɵɵInjectorDeclaration<PageFooterModule>;
5654
5776
  }
5655
5777
 
5778
+ interface TextModel {
5779
+ title?: string;
5780
+ rewardNumberTitle?: string;
5781
+ notAvailableTitle?: string;
5782
+ notAvailableMessage?: string;
5783
+ cashPointsDescription?: string;
5784
+ spennDescription?: string;
5785
+ }
5786
+
5787
+ interface UrlModel {
5788
+ myTravelsUrl?: LinkModel;
5789
+ signOutUrl?: LinkModel;
5790
+ }
5791
+
5792
+ interface WalletModel {
5793
+ spennBalance?: number;
5794
+ cashpointsBalance?: number;
5795
+ rewardNumber?: string;
5796
+ spennEnabled?: boolean;
5797
+ urls?: UrlModel;
5798
+ texts?: TextModel;
5799
+ }
5800
+
5656
5801
  /**
5657
5802
  * @license
5658
5803
  * Copyright Norwegian Air Shuttle. All Rights Reserved.
@@ -5689,25 +5834,32 @@ declare class HamburgerComponent extends NasComponentBase {
5689
5834
  static ɵcmp: i0.ɵɵComponentDeclaration<HamburgerComponent, "nas-hamburger", never, { "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, false, never>;
5690
5835
  }
5691
5836
 
5692
- interface WalletModel {
5693
- spennBalance?: number;
5694
- cashpointsBalance?: number;
5695
- rewardNumber?: string;
5696
- spennEnabled?: boolean;
5697
- urls?: WalletUrls;
5698
- texts?: WalletTexts;
5699
- }
5700
- interface WalletUrls {
5701
- myTravelsUrl?: LinkModel;
5702
- signOutUrl?: LinkModel;
5703
- }
5704
- interface WalletTexts {
5705
- rewardPoints: string;
5706
- rewardNumber: string;
5707
- notAvailable: string;
5708
- notAvailableMessage: string;
5709
- cashPointsDescription: string;
5710
- spennDescription?: string;
5837
+ /**
5838
+ * @license
5839
+ * Copyright Norwegian Air Shuttle. All Rights Reserved.
5840
+ */
5841
+
5842
+ declare class WalletComponent extends NasComponentBase implements AfterViewInit {
5843
+ private cdr;
5844
+ /**
5845
+ * @property Input
5846
+ *
5847
+ * Model to define the wallet in the header
5848
+ */
5849
+ walletModel: WalletModel;
5850
+ showContent: boolean;
5851
+ get pointsBalance(): number;
5852
+ get showNotAvailableMessage(): boolean;
5853
+ get spennAndCashpointUnavailable(): boolean;
5854
+ get pointsDescription(): string;
5855
+ get icon(): string;
5856
+ constructor(cdr: ChangeDetectorRef);
5857
+ ngAfterViewInit(): void;
5858
+ onClickToggleContent(): void;
5859
+ getCurrentHref(): string;
5860
+ myTravelsPage(): boolean;
5861
+ static ɵfac: i0.ɵɵFactoryDeclaration<WalletComponent, never>;
5862
+ static ɵcmp: i0.ɵɵComponentDeclaration<WalletComponent, "nas-wallet", never, { "walletModel": { "alias": "walletModel"; "required": false; }; }, {}, never, never, false, never>;
5711
5863
  }
5712
5864
 
5713
5865
  /**
@@ -5800,13 +5952,6 @@ declare class PageHeaderComponent extends NasComponentBase implements OnDestroy,
5800
5952
  * Link to profile.
5801
5953
  */
5802
5954
  profileLink: IconListModel;
5803
- /**
5804
- * @property Input
5805
- *
5806
- * @description
5807
- * Will display the Norwegian Reward logo, set this to true to display it. It's false by default.
5808
- */
5809
- reward: boolean;
5810
5955
  /**
5811
5956
  * @property Input
5812
5957
  *
@@ -5848,34 +5993,7 @@ declare class PageHeaderComponent extends NasComponentBase implements OnDestroy,
5848
5993
  redirectToUrl(): string;
5849
5994
  setBrandingCSSClass(): "disable-link" | "branding";
5850
5995
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
5851
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "nas-page-header", never, { "closeText": { "alias": "closeText"; "required": false; }; "disableFrontPageUrl": { "alias": "disableFrontPageUrl"; "required": false; }; "displayProfile": { "alias": "displayProfile"; "required": false; }; "frontPageUrl": { "alias": "frontPageUrl"; "required": false; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": false; }; "links": { "alias": "links"; "required": false; }; "logOutLink": { "alias": "logOutLink"; "required": false; }; "menuText": { "alias": "menuText"; "required": false; }; "nozindex": { "alias": "nozindex"; "required": false; }; "profileLink": { "alias": "profileLink"; "required": false; }; "reward": { "alias": "reward"; "required": false; }; "searchForm": { "alias": "searchForm"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "useRouterLink": { "alias": "useRouterLink"; "required": false; }; "walletModel": { "alias": "walletModel"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
5852
- }
5853
-
5854
- /**
5855
- * @license
5856
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
5857
- */
5858
-
5859
- declare class WalletComponent extends NasComponentBase {
5860
- private cdr;
5861
- /**
5862
- * @property Input
5863
- *
5864
- * Model to define the wallet in the header
5865
- */
5866
- walletModel: WalletModel;
5867
- showContent: boolean;
5868
- get pointsBalance(): number;
5869
- get showNotAvailableMessage(): boolean;
5870
- get spennAndCashpointUnavailable(): boolean;
5871
- get pointsDescription(): string;
5872
- get icon(): string;
5873
- constructor(cdr: ChangeDetectorRef);
5874
- onClickToggleContent(): void;
5875
- getCurrentHref(): string;
5876
- myTravelsPage(): boolean;
5877
- static ɵfac: i0.ɵɵFactoryDeclaration<WalletComponent, never>;
5878
- static ɵcmp: i0.ɵɵComponentDeclaration<WalletComponent, "nas-wallet", never, { "walletModel": { "alias": "walletModel"; "required": false; }; }, {}, never, never, false, never>;
5996
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "nas-page-header", never, { "closeText": { "alias": "closeText"; "required": false; }; "disableFrontPageUrl": { "alias": "disableFrontPageUrl"; "required": false; }; "displayProfile": { "alias": "displayProfile"; "required": false; }; "frontPageUrl": { "alias": "frontPageUrl"; "required": false; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": false; }; "links": { "alias": "links"; "required": false; }; "logOutLink": { "alias": "logOutLink"; "required": false; }; "menuText": { "alias": "menuText"; "required": false; }; "nozindex": { "alias": "nozindex"; "required": false; }; "profileLink": { "alias": "profileLink"; "required": false; }; "searchForm": { "alias": "searchForm"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "useRouterLink": { "alias": "useRouterLink"; "required": false; }; "walletModel": { "alias": "walletModel"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
5879
5997
  }
5880
5998
 
5881
5999
  /**
@@ -9032,77 +9150,6 @@ declare class RibbonBannerModule {
9032
9150
  static ɵinj: i0.ɵɵInjectorDeclaration<RibbonBannerModule>;
9033
9151
  }
9034
9152
 
9035
- /**
9036
- * @license
9037
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
9038
- */
9039
-
9040
- /**
9041
- *
9042
- * @description
9043
- * Norwegian Tooltip Component | Functional | Beta
9044
- */
9045
- declare class TooltipComponent extends NasComponentBase implements OnInit, AfterViewInit {
9046
- private deviceHelper;
9047
- container: ElementRef;
9048
- content: ElementRef;
9049
- tooltip: ElementRef;
9050
- /**
9051
- * @property Input
9052
- *
9053
- * @description
9054
- * Sets text on the tooltip.
9055
- */
9056
- text: string;
9057
- /**
9058
- * @property Input
9059
- *
9060
- * @description
9061
- * Displays the tooltip; hover listener will be ignored.
9062
- */
9063
- enabled: boolean;
9064
- /**
9065
- * @property Input
9066
- *
9067
- * @description
9068
- * Sets left styling for the tooltip; auto-positioning on screen size will be ignored.
9069
- */
9070
- left: boolean;
9071
- /**
9072
- * @property Input
9073
- *
9074
- * @description
9075
- * Sets right styling for the tooltip; auto-positioning on screen size will be ignored.
9076
- */
9077
- right: boolean;
9078
- opacityTimer: any;
9079
- private hostListenerIgnored;
9080
- private innerWidth;
9081
- constructor(deviceHelper: DeviceHelper);
9082
- onMouseEnter(): void;
9083
- onMouseLeave(): void;
9084
- onScroll(): void;
9085
- onClickOutside(event: MouseEvent): void;
9086
- onResize(): void;
9087
- ngOnInit(): void;
9088
- ngAfterViewInit(): void;
9089
- getClasses(element?: string, modifiers?: any): Array<ClassModel>;
9090
- onClickClose(): void;
9091
- onClickOpenMobileView(): void;
9092
- private adjustTooltipPosition;
9093
- private renderViewHostListenerIgnoredOnInit;
9094
- private hideToolTip;
9095
- private setToolTipOpacity;
9096
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
9097
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "nas-tooltip", never, { "text": { "alias": "text"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "left": { "alias": "left"; "required": false; }; "right": { "alias": "right"; "required": false; }; }, {}, never, ["*"], false, never>;
9098
- }
9099
-
9100
- declare class TooltipModule {
9101
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
9102
- static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof TooltipComponent], [typeof i2.CommonModule, typeof NasClassModule, typeof IconModule], [typeof TooltipComponent]>;
9103
- static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
9104
- }
9105
-
9106
9153
  declare class GetPositionService {
9107
9154
  get(element: any): {
9108
9155
  x: number;
@@ -9112,5 +9159,5 @@ declare class GetPositionService {
9112
9159
  static ɵprov: i0.ɵɵInjectableDeclaration<GetPositionService>;
9113
9160
  }
9114
9161
 
9115
- export { AbandonedBasketService, AccordionComponent, AccordionModule, AirportSelectComponent, AirportSelectModule, AlertComponent, AlertModule, AnimateHelper, AutocompleteComponent, AutocompleteModule, AvailabilitySortOption, BackdropComponent, BackdropModule, BemHelper, BoxComponent, BoxModule, ButtonComponent, ButtonModule, CalendarComponent, CheckboxComponent, CheckboxModule, ColComponent, ColumnComponent, ColumnGroupComponent, ContainerComponent, ContainerModule, ContinueComponent, ContinueModule, CoverComponent, CoverModule, DateHelper, DatepickerComboComponent, DatepickerComboModule, DatepickerComponent, DatepickerModule, DeviceHelper, DividerComponent, DividerModule, DropdownComponent, DropdownModule, FilterComponent, FilterModule, GeolocationService, GetPositionService, GridComponent, GridModule, HamburgerComponent, IconComponent, IconListComponent, IconListModule, IconModule, InputComponent, InputModule, JourneyAvailabilityComponent, JourneyAvailabilityListComponent, JourneyAvailabilityListModule, JourneyAvailabilityModule, JourneyComponent, JourneyModule, JourneySelectionComponent, JourneySelectionModule, JourneyStopoverComponent, JourneyStopoverModule, LanguageHelper, ListComponent, ListItemComponent, ListModule, MarketingCarrier, MicroButtonComponent, MicroButtonModule, ModalComponent, ModalModule, NasClassDirective, NasClassModule, NasComponentBase, NumberFieldComponent, NumberFieldModule, OptgroupComponent, OptionComponent, OptionModel, PageFooterComponent, PageFooterModule, PageHeaderComponent, PageHeaderModule, PassengerSelectComponent, PassengerSelectModule, PassengerType, PhoneNumberComponent, PhoneNumberModule, PremiumToggleComponent, PremiumToggleModule, RadioComponent, RadioModule, ResultsLabelsModel, RibbonBannerComponent, RibbonBannerModule, SearchComponent, SelectComponent, SelectModule, SimpleListComponent, SimpleListModule, SlideToggleComponent, SlideToggleModule, SliderComponent, SliderModule, SortComponent, SortModule, SortService, SpinnerComponent, SpinnerModule, StatusBoxComponent, StatusBoxModule, SuggestionsComponent, SuggestionsModule, TabComponent, TabGroupComponent, TabGroupModule, TableBodyComponent, TableComponent, TableDataComponent, TableFootComponent, TableHeadComponent, TableHeaderComponent, TableModule, TableRowComponent, TagComponent, TagModule, TextareaComponent, TextareaModule, ToggleComponent, ToggleModule, TooltipComponent, TooltipModule, TripSummaryComponent, TripSummaryModule, TripType, UtcDate, ViewPortService, WeekStart, bannerAnimation };
9116
- export type { AbandonedBasketItemModel, AirportModel, AirportSelectEventModel, AirportSelectStateModel, Animate, AutocompleteModel, CalendarDateModel, CalendarModel, ClassModel, DayModel, IconListModel, InfoModel, JourneyAvailabilityModel, JourneyAvailabilitySortModel, JourneyDetailsModel, JourneyDurationModel, JourneyFlightModel, JourneyModel, JourneySelectionCollapsedModel, JourneySelectionCommonModel, JourneySelectionExpandedModel, JourneySelectionModel, JourneyStopoverModel, JourneyTransitInfo, LinkModel, NumberFieldModel, OperatingCarriersModel, PassengersModel, Position, PositionModel, SelectOptionModel, SortModel, SortOptionModel, StatusBoxModel, StopoverTimeModel, TripSummaryModel, WalletModel, WalletTexts, WalletUrls, WeekModel };
9162
+ export { AbandonedBasketService, AccordionComponent, AccordionModule, AirportSelectComponent, AirportSelectModule, AlertComponent, AlertModule, AnimateHelper, AutocompleteComponent, AutocompleteModule, AvailabilitySortOption, BackdropComponent, BackdropModule, BemHelper, BoxComponent, BoxModule, ButtonComponent, ButtonModule, CalendarComponent, CheckboxComponent, CheckboxModule, ColComponent, ColumnComponent, ColumnGroupComponent, ContainerComponent, ContainerModule, ContinueComponent, ContinueModule, CoverComponent, CoverModule, DateHelper, DatepickerComboComponent, DatepickerComboModule, DatepickerComponent, DatepickerModule, DeviceHelper, DividerComponent, DividerModule, DropdownComponent, DropdownModule, FilterComponent, FilterModule, GeolocationService, GetPositionService, GridComponent, GridModule, HamburgerComponent, IconComponent, IconListComponent, IconListModule, IconModule, InputComponent, InputModule, JourneyAvailabilityComponent, JourneyAvailabilityListComponent, JourneyAvailabilityListModule, JourneyAvailabilityModule, JourneyComponent, JourneyModule, JourneySelectionComponent, JourneySelectionModule, JourneyStopoverComponent, JourneyStopoverModule, LanguageHelper, ListComponent, ListItemComponent, ListModule, MarketingCarrier, MicroButtonComponent, MicroButtonModule, ModalComponent, ModalModule, NasClassDirective, NasClassModule, NasComponentBase, NumberFieldComponent, NumberFieldModule, OptGroupComponent, OptionComponent, OptionModel, PageFooterComponent, PageFooterModule, PageHeaderComponent, PageHeaderModule, PassengerSelectComponent, PassengerSelectModule, PassengerType, PhoneNumberComponent, PhoneNumberModule, PremiumToggleComponent, PremiumToggleModule, RadioComponent, RadioModule, ResultsLabelsModel, RibbonBannerComponent, RibbonBannerModule, SearchComponent, SelectComponent, SelectModule, SimpleListComponent, SimpleListModule, SlideToggleComponent, SlideToggleModule, SliderComponent, SliderModule, SortComponent, SortModule, SortService, SpinnerComponent, SpinnerModule, StatusBoxComponent, StatusBoxModule, SuggestionsComponent, SuggestionsModule, TabComponent, TabGroupComponent, TabGroupModule, TableBodyComponent, TableComponent, TableDataComponent, TableFootComponent, TableHeadComponent, TableHeaderComponent, TableModule, TableRowComponent, TagComponent, TagModule, TextareaComponent, TextareaModule, ToggleComponent, ToggleModule, TooltipComponent, TooltipModule, TripSummaryComponent, TripSummaryModule, TripType, UtcDate, ViewPortService, WalletComponent, WeekStart, bannerAnimation };
9163
+ export type { AbandonedBasketItemModel, AirportModel, AirportSelectEventModel, AirportSelectStateModel, Animate, AutocompleteModel, CalendarDateModel, CalendarModel, ClassModel, DayModel, IconListModel, InfoModel, JourneyAvailabilityModel, JourneyAvailabilitySortModel, JourneyDetailsModel, JourneyDurationModel, JourneyFlightModel, JourneyModel, JourneySelectionCollapsedModel, JourneySelectionCommonModel, JourneySelectionExpandedModel, JourneySelectionModel, JourneyStopoverModel, JourneyTransitInfo, LinkModel, NumberFieldModel, OperatingCarriersModel, PassengersModel, Position, PositionModel, SortModel, SortOptionModel, StatusBoxModel, StopoverTimeModel, TextModel, TripSummaryModel, UrlModel, WalletModel, WeekModel };