@norwegian/core-components 6.1.0 → 6.2.0
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/esm2022/lib/components/accordion/accordion.component.mjs +17 -12
- package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +1 -1
- package/esm2022/lib/components/airport-select/airport-select.component.mjs +13 -1
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +7 -1
- package/esm2022/lib/components/backdrop/backdrop.component.mjs +3 -1
- package/esm2022/lib/components/box/box.component.mjs +4 -4
- package/esm2022/lib/components/button/button.component.mjs +5 -1
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -1
- package/esm2022/lib/components/chip/chip.component.mjs +2 -7
- package/esm2022/lib/components/container/container.component.mjs +1 -1
- package/esm2022/lib/components/continue/continue.component.mjs +6 -1
- package/esm2022/lib/components/cover/cover.component.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +1 -1
- package/esm2022/lib/components/datepicker/datepicker.component.mjs +16 -1
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +17 -1
- package/esm2022/lib/components/divider/divider.component.mjs +1 -1
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +2 -1
- package/esm2022/lib/components/filter/filter.component.mjs +36 -2
- package/esm2022/lib/components/grid/grid.component.mjs +1 -1
- package/esm2022/lib/components/icon/icon.component.mjs +1 -1
- package/esm2022/lib/components/icon-list/icon-list.component.mjs +1 -1
- package/esm2022/lib/components/info/info.component.mjs +5 -4
- package/esm2022/lib/components/input/input.component.mjs +6 -1
- package/esm2022/lib/components/journey/journey.component.mjs +5 -7
- package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +7 -5
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +22 -25
- package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +12 -4
- package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +18 -20
- package/esm2022/lib/components/list/list.component.mjs +1 -1
- package/esm2022/lib/components/modal/modal.component.mjs +5 -7
- package/esm2022/lib/components/number-field/number-field.component.mjs +4 -2
- package/esm2022/lib/components/page-footer/page-footer.component.mjs +2 -4
- package/esm2022/lib/components/page-header/page-header.component.mjs +14 -8
- package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +1 -1
- package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +11 -7
- package/esm2022/lib/components/phone-number/phone-number.component.mjs +11 -15
- package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +3 -4
- package/esm2022/lib/components/radio/radio.component.mjs +4 -2
- package/esm2022/lib/components/select/select.component.mjs +11 -7
- package/esm2022/lib/components/simple-list/simple-list.component.mjs +1 -1
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +9 -5
- package/esm2022/lib/components/slider/slider.component.mjs +32 -18
- package/esm2022/lib/components/sort/sort.component.mjs +11 -7
- package/esm2022/lib/components/spinner/spinner.component.mjs +13 -18
- package/esm2022/lib/components/subsidy-discount/subsidy-discount.component.mjs +13 -7
- package/esm2022/lib/components/suggestions/suggestions.component.mjs +3 -2
- package/esm2022/lib/components/tab-group/tab-group.component.mjs +3 -2
- package/esm2022/lib/components/table/table.component.mjs +1 -3
- package/esm2022/lib/components/textarea/textarea.component.mjs +6 -1
- package/esm2022/lib/components/toggle/toggle.component.mjs +5 -5
- package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +26 -31
- package/esm2022/lib/components/weather-icon/weather-icon.component.mjs +3 -2
- package/fesm2022/norwegian-core-components.mjs +355 -216
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/accordion/accordion.component.d.ts +81 -78
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +2 -2
- package/lib/components/airport-select/airport-select.component.d.ts +38 -2
- package/lib/components/autocomplete/autocomplete.component.d.ts +15 -2
- package/lib/components/backdrop/backdrop.component.d.ts +3 -0
- package/lib/components/box/box.component.d.ts +13 -3
- package/lib/components/button/button.component.d.ts +26 -0
- package/lib/components/checkbox/checkbox.component.d.ts +18 -2
- package/lib/components/chip/chip.component.d.ts +5 -21
- package/lib/components/container/container.component.d.ts +6 -0
- package/lib/components/continue/continue.component.d.ts +14 -0
- package/lib/components/cover/cover.component.d.ts +13 -3
- package/lib/components/datepicker/calendar/calendar.component.d.ts +2 -2
- package/lib/components/datepicker/datepicker.component.d.ts +33 -2
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +42 -0
- package/lib/components/divider/divider.component.d.ts +9 -0
- package/lib/components/dropdown/dropdown.component.d.ts +8 -0
- package/lib/components/filter/filter.component.d.ts +108 -2
- package/lib/components/grid/grid.component.d.ts +12 -0
- package/lib/components/icon/icon.component.d.ts +5 -8
- package/lib/components/icon-list/icon-list.component.d.ts +5 -0
- package/lib/components/info/info.component.d.ts +7 -18
- package/lib/components/input/input.component.d.ts +30 -5
- package/lib/components/journey/journey.component.d.ts +9 -16
- package/lib/components/journey-availability/journey-availability.component.d.ts +8 -8
- package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +29 -34
- package/lib/components/journey-selection/journey-selection.component.d.ts +14 -3
- package/lib/components/journey-stopover/journey-stopover.component.d.ts +35 -43
- package/lib/components/list/list.component.d.ts +8 -0
- package/lib/components/modal/modal.component.d.ts +16 -34
- package/lib/components/number-field/number-field.component.d.ts +26 -12
- package/lib/components/page-footer/page-footer.component.d.ts +9 -16
- package/lib/components/page-header/page-header.component.d.ts +29 -15
- package/lib/components/passenger-select/models/passengers.model.d.ts +2 -2
- package/lib/components/passenger-select/passenger-select.component.d.ts +33 -18
- package/lib/components/phone-number/phone-number.component.d.ts +80 -108
- package/lib/components/premium-toggle/premium-toggle.component.d.ts +9 -13
- package/lib/components/radio/radio.component.d.ts +35 -18
- package/lib/components/select/select.component.d.ts +47 -29
- package/lib/components/simple-list/simple-list.component.d.ts +16 -8
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +16 -9
- package/lib/components/slider/slider.component.d.ts +51 -28
- package/lib/components/sort/sort.component.d.ts +12 -7
- package/lib/components/spinner/spinner.component.d.ts +24 -37
- package/lib/components/subsidy-discount/subsidy-discount.component.d.ts +14 -7
- package/lib/components/suggestions/suggestions.component.d.ts +6 -3
- package/lib/components/tab-group/tab-group.component.d.ts +6 -3
- package/lib/components/table/table.component.d.ts +3 -8
- package/lib/components/textarea/textarea.component.d.ts +42 -20
- package/lib/components/toggle/toggle.component.d.ts +44 -68
- package/lib/components/trip-summary/trip-summary.component.d.ts +68 -82
- package/lib/components/weather-icon/weather-icon.component.d.ts +12 -6
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ import localeSv from '@angular/common/locales/sv';
|
|
|
15
15
|
import localeEnGb from '@angular/common/locales/en-GB';
|
|
16
16
|
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
17
17
|
import * as i3$1 from '@angular/forms';
|
|
18
|
-
import { FormsModule, ReactiveFormsModule,
|
|
18
|
+
import { FormsModule, ReactiveFormsModule, FormControl } from '@angular/forms';
|
|
19
19
|
import * as i3 from '@angular/router';
|
|
20
20
|
import { RouterModule } from '@angular/router';
|
|
21
21
|
import { __decorate } from 'tslib';
|
|
@@ -881,25 +881,20 @@ class AccordionComponent extends NasComponentBase {
|
|
|
881
881
|
constructor() {
|
|
882
882
|
super('nas-accordion');
|
|
883
883
|
/**
|
|
884
|
+
* @property Input
|
|
884
885
|
* @description
|
|
885
886
|
* Property to set custom styling on accordion.
|
|
886
|
-
*
|
|
887
887
|
* @example
|
|
888
|
-
*
|
|
889
|
-
* ```html
|
|
890
888
|
* <nas-accordion [cssStyle]="{'width': '300px', 'height': '40px'}}">You can put any kind of elements and content here...</nas-accordion>
|
|
891
|
-
|
|
892
|
-
*
|
|
893
|
-
*/
|
|
889
|
+
*/
|
|
894
890
|
this.cssStyle = {};
|
|
895
891
|
/**
|
|
892
|
+
* @property Output
|
|
896
893
|
* @description
|
|
897
894
|
* A boolean event that is fired on toggle.
|
|
898
895
|
* @example
|
|
899
|
-
* ```html
|
|
900
896
|
* <nas-accordion (toggleChange)="onToggleChange($event)">You can put any kind of elements and content here...</nas-accordion>
|
|
901
|
-
|
|
902
|
-
*/
|
|
897
|
+
*/
|
|
903
898
|
this.toggleChange = new EventEmitter();
|
|
904
899
|
this.animateIn = false;
|
|
905
900
|
this.animateOut = false;
|
|
@@ -961,17 +956,19 @@ class AccordionComponent extends NasComponentBase {
|
|
|
961
956
|
this.regularHeader = !this.exists(this.small) && !this.exists(this.simple) ? true : false;
|
|
962
957
|
}
|
|
963
958
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
964
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: AccordionComponent, selector: "nas-accordion", inputs: { expanded: "expanded", title: "title", subheader: "subheader", icon: "icon", simple: "simple", spaced: "spaced", small: "small", inverted: "inverted", containerOnToggle: "containerOnToggle", nopadding: "nopadding", transparent: "transparent", approve: "approve", primary: "primary", info: "info", subheaderPositive: "subheaderPositive", subheaderNegative: "subheaderNegative", cssClass: "cssClass", cssStyle: "cssStyle" }, outputs: { toggleChange: "toggleChange" }, usesInheritance: true, ngImport: i0, template: "<section [nasClass]=\"getClasses('', getModifiers())\" [ngStyle]=\"cssStyle\" ref=\"element\">\n <div *ngIf=\"exists(containerOnToggle); else toggleTemplate\" class=\"container\">\n <ng-container *ngTemplateOutlet=\"toggleTemplate\"></ng-container>\n </div>\n\n <div [nasClass]=\"wrapperClass()\">\n <div [hidden]=\"!exists(expanded)\" [nasClass]=\"getClass('content')\"
|
|
959
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: AccordionComponent, selector: "nas-accordion", inputs: { expanded: "expanded", title: "title", subheader: "subheader", badge: "badge", icon: "icon", simple: "simple", spaced: "spaced", small: "small", inverted: "inverted", containerOnToggle: "containerOnToggle", nopadding: "nopadding", transparent: "transparent", approve: "approve", primary: "primary", info: "info", subheaderPositive: "subheaderPositive", subheaderNegative: "subheaderNegative", badgeInfo: "badgeInfo", badgeSuccess: "badgeSuccess", badgeWarning: "badgeWarning", badgeError: "badgeError", cssClass: "cssClass", cssStyle: "cssStyle" }, outputs: { toggleChange: "toggleChange" }, usesInheritance: true, ngImport: i0, template: "<section [nasClass]=\"getClasses('', getModifiers())\" [ngStyle]=\"cssStyle\" ref=\"element\">\n <div *ngIf=\"exists(containerOnToggle); else toggleTemplate\" class=\"container\">\n <ng-container *ngTemplateOutlet=\"toggleTemplate\"></ng-container>\n </div>\n\n <div [nasClass]=\"wrapperClass()\">\n <div [hidden]=\"!exists(expanded)\" [nasClass]=\"getClass('content')\"\n [style.background-color]=\"exists(transparent) && 'inherit'\" [style.padding]=\"exists(transparent) && 'unset'\">\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n\n<ng-template #toggleTemplate>\n <button type=\"button\" [nasClass]=\"getClass('toggle')\" (click)=\"toggle()\">\n <span [nasClass]=\"getClass('icon')\" *ngIf=\"icon\">\n <nas-icon [icon]=\"icon\"></nas-icon>\n </span>\n <div>\n <h4 *ngIf=\"regularHeader\" [nasClass]=\"getClass('title')\">{{title}}</h4>\n <h5 *ngIf=\"!regularHeader\" [nasClass]=\"getClass('title')\">{{title}}</h5>\n <div *ngIf=\"subheader\"\n [nasClass]=\"getClass('subheader', exists(subheaderPositive) ? 'positive' : exists(subheaderNegative) ? 'negative' :'')\">\n <nas-icon *ngIf=\"exists(subheaderPositive) || exists(subheaderNegative)\"\n [type]=\"exists(subheaderPositive) ? 'positive--light' : exists(subheaderNegative) ? 'negative--light' : ''\"></nas-icon>\n <span [nasClass]=\"getClass('subheader--text')\">{{subheader}}</span>\n </div>\n \n </div>\n <div *ngIf=\"badge\"[nasClass]=\"getClass('badge', exists(badgeInfo) ? 'info' : \n exists(badgeSuccess) ? 'success' : exists(badgeWarning) ? 'warning': exists(badgeError) ? 'error': '')\">\n <span>{{badge}}</span>\n </div>\n <nas-icon type=\"chevron-down\" [nasClass]=\"getClass('indicator', exists(badge) ? 'no-margin' : '')\"></nas-icon>\n </button>\n</ng-template>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-accordion{position:relative;margin-bottom:3px}.nas-accordion__toggle{display:flex;align-items:center;text-align:left;width:100%;padding:12px 16px;background-color:#e3e3e3;outline:0}.nas-accordion__toggle:hover,.nas-accordion__toggle:focus{background-color:#fff}.nas-accordion__wrapper--enter{perspective:1000px}.nas-accordion__wrapper--enter .nas-accordion__content{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:flip-in .55s ease both}.nas-accordion__wrapper--leave{position:absolute;width:100%;perspective:1000px}.nas-accordion__wrapper--leave .nas-accordion__content{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:flip-out .2s ease both}.nas-accordion__content{padding:9px 16px 16px;background-color:#fff}.nas-accordion__content p:last-child{margin-bottom:0}.nas-accordion__indicator{position:relative;margin-left:auto;transition:transform .2s cubic-bezier(0,0,.1,1);transform-origin:45% 55%}.nas-accordion__indicator--no-margin,.nas-accordion__title{margin:0}.nas-accordion--simple .nas-accordion__toggle{padding:0;background-color:transparent;margin-bottom:12px}.nas-accordion--simple .nas-accordion__indicator{margin-left:9px;transform-origin:45% 55%;margin-bottom:3px}.nas-accordion--simple .nas-accordion__content{padding:16px}.nas-accordion__icon{margin:0 9px 0 0}.nas-accordion__subheader--text{vertical-align:middle}.nas-accordion__subheader--positive{background-color:#238e00;margin:3px 0;border-radius:50px;font-size:small;color:#fff;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:6px 8px}.nas-accordion__subheader--negative{background-color:#d81939;margin:3px 0;border-radius:50px;font-size:small;color:#fff;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:6px 8px}.nas-accordion__badge{background-color:#f9f9f9;border:1px solid #EAEAEA;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--success{background-color:#f4faf2;border:1px solid #2EB004;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--info{background-color:#ebf4ff;border:1px solid #003251;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--error{background-color:#fff5f3;border:1px solid #CC3A19;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--warning{background-color:#fff6ec;border:1px solid #FC9E12;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion--expanded{z-index:20}.nas-accordion--expanded:not(.nas-accordion--info):not(.nas-accordion--simple) .nas-accordion__toggle{background-color:#fff}.nas-accordion--expanded .nas-accordion__indicator{transform:rotate(-180deg)}@media (min-width: 640px){.nas-accordion--spaced .nas-accordion__toggle{padding:16px 24px}}@media (min-width: 640px){.nas-accordion--spaced .nas-accordion__content{padding:12px 24px 24px}}.nas-accordion--small .nas-accordion__toggle{padding:9px 16px;background-color:#e3e3e3}.nas-accordion--small .nas-accordion__toggle:hover,.nas-accordion--small .nas-accordion__toggle:focus{background-color:#fff}.nas-accordion--small .nas-accordion__content{padding:3px 16px 24px}.nas-accordion--small .nas-accordion__indicator{transform-origin:45% 55%;margin-bottom:3px}.nas-accordion--inverted .nas-accordion__toggle{background-color:#fff}.nas-accordion--inverted .nas-accordion__toggle:hover,.nas-accordion--inverted .nas-accordion__toggle:focus{background-color:#e3e3e3}.nas-accordion--inverted .nas-accordion__content,.nas-accordion--inverted.nas-accordion--expanded .nas-accordion__toggle{background-color:#e3e3e3}.nas-accordion--nopadding{padding-bottom:25px}.nas-accordion--nopadding .nas-accordion__toggle,.nas-accordion--nopadding .nas-accordion__content{padding:0}.nas-accordion--approve .nas-accordion__toggle{color:#238e00}.nas-accordion--primary .nas-accordion__toggle{color:#d81939}.nas-accordion--info .nas-accordion__toggle,.nas-accordion--info .nas-accordion__content{background-color:#ffc;color:#003251}.nas-accordion .nas-icon-positive--light,.nas-accordion .nas-icon-negative--light{transform:scale(.85)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconComponent, selector: "nas-icon", inputs: ["icon", "type", "isIndicator", "lightCircularBackground", "cssClass"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
965
960
|
}
|
|
966
961
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AccordionComponent, decorators: [{
|
|
967
962
|
type: Component,
|
|
968
|
-
args: [{ selector: 'nas-accordion', encapsulation: ViewEncapsulation.None, template: "<section [nasClass]=\"getClasses('', getModifiers())\" [ngStyle]=\"cssStyle\" ref=\"element\">\n <div *ngIf=\"exists(containerOnToggle); else toggleTemplate\" class=\"container\">\n <ng-container *ngTemplateOutlet=\"toggleTemplate\"></ng-container>\n </div>\n\n <div [nasClass]=\"wrapperClass()\">\n <div [hidden]=\"!exists(expanded)\" [nasClass]=\"getClass('content')\"
|
|
963
|
+
args: [{ selector: 'nas-accordion', encapsulation: ViewEncapsulation.None, template: "<section [nasClass]=\"getClasses('', getModifiers())\" [ngStyle]=\"cssStyle\" ref=\"element\">\n <div *ngIf=\"exists(containerOnToggle); else toggleTemplate\" class=\"container\">\n <ng-container *ngTemplateOutlet=\"toggleTemplate\"></ng-container>\n </div>\n\n <div [nasClass]=\"wrapperClass()\">\n <div [hidden]=\"!exists(expanded)\" [nasClass]=\"getClass('content')\"\n [style.background-color]=\"exists(transparent) && 'inherit'\" [style.padding]=\"exists(transparent) && 'unset'\">\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n\n<ng-template #toggleTemplate>\n <button type=\"button\" [nasClass]=\"getClass('toggle')\" (click)=\"toggle()\">\n <span [nasClass]=\"getClass('icon')\" *ngIf=\"icon\">\n <nas-icon [icon]=\"icon\"></nas-icon>\n </span>\n <div>\n <h4 *ngIf=\"regularHeader\" [nasClass]=\"getClass('title')\">{{title}}</h4>\n <h5 *ngIf=\"!regularHeader\" [nasClass]=\"getClass('title')\">{{title}}</h5>\n <div *ngIf=\"subheader\"\n [nasClass]=\"getClass('subheader', exists(subheaderPositive) ? 'positive' : exists(subheaderNegative) ? 'negative' :'')\">\n <nas-icon *ngIf=\"exists(subheaderPositive) || exists(subheaderNegative)\"\n [type]=\"exists(subheaderPositive) ? 'positive--light' : exists(subheaderNegative) ? 'negative--light' : ''\"></nas-icon>\n <span [nasClass]=\"getClass('subheader--text')\">{{subheader}}</span>\n </div>\n \n </div>\n <div *ngIf=\"badge\"[nasClass]=\"getClass('badge', exists(badgeInfo) ? 'info' : \n exists(badgeSuccess) ? 'success' : exists(badgeWarning) ? 'warning': exists(badgeError) ? 'error': '')\">\n <span>{{badge}}</span>\n </div>\n <nas-icon type=\"chevron-down\" [nasClass]=\"getClass('indicator', exists(badge) ? 'no-margin' : '')\"></nas-icon>\n </button>\n</ng-template>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-accordion{position:relative;margin-bottom:3px}.nas-accordion__toggle{display:flex;align-items:center;text-align:left;width:100%;padding:12px 16px;background-color:#e3e3e3;outline:0}.nas-accordion__toggle:hover,.nas-accordion__toggle:focus{background-color:#fff}.nas-accordion__wrapper--enter{perspective:1000px}.nas-accordion__wrapper--enter .nas-accordion__content{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:flip-in .55s ease both}.nas-accordion__wrapper--leave{position:absolute;width:100%;perspective:1000px}.nas-accordion__wrapper--leave .nas-accordion__content{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:flip-out .2s ease both}.nas-accordion__content{padding:9px 16px 16px;background-color:#fff}.nas-accordion__content p:last-child{margin-bottom:0}.nas-accordion__indicator{position:relative;margin-left:auto;transition:transform .2s cubic-bezier(0,0,.1,1);transform-origin:45% 55%}.nas-accordion__indicator--no-margin,.nas-accordion__title{margin:0}.nas-accordion--simple .nas-accordion__toggle{padding:0;background-color:transparent;margin-bottom:12px}.nas-accordion--simple .nas-accordion__indicator{margin-left:9px;transform-origin:45% 55%;margin-bottom:3px}.nas-accordion--simple .nas-accordion__content{padding:16px}.nas-accordion__icon{margin:0 9px 0 0}.nas-accordion__subheader--text{vertical-align:middle}.nas-accordion__subheader--positive{background-color:#238e00;margin:3px 0;border-radius:50px;font-size:small;color:#fff;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:6px 8px}.nas-accordion__subheader--negative{background-color:#d81939;margin:3px 0;border-radius:50px;font-size:small;color:#fff;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:6px 8px}.nas-accordion__badge{background-color:#f9f9f9;border:1px solid #EAEAEA;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--success{background-color:#f4faf2;border:1px solid #2EB004;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--info{background-color:#ebf4ff;border:1px solid #003251;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--error{background-color:#fff5f3;border:1px solid #CC3A19;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion__badge--warning{background-color:#fff6ec;border:1px solid #FC9E12;padding:4px 8px;font-size:14px;color:#003251;border-radius:100px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:3px 24px 3px auto}.nas-accordion--expanded{z-index:20}.nas-accordion--expanded:not(.nas-accordion--info):not(.nas-accordion--simple) .nas-accordion__toggle{background-color:#fff}.nas-accordion--expanded .nas-accordion__indicator{transform:rotate(-180deg)}@media (min-width: 640px){.nas-accordion--spaced .nas-accordion__toggle{padding:16px 24px}}@media (min-width: 640px){.nas-accordion--spaced .nas-accordion__content{padding:12px 24px 24px}}.nas-accordion--small .nas-accordion__toggle{padding:9px 16px;background-color:#e3e3e3}.nas-accordion--small .nas-accordion__toggle:hover,.nas-accordion--small .nas-accordion__toggle:focus{background-color:#fff}.nas-accordion--small .nas-accordion__content{padding:3px 16px 24px}.nas-accordion--small .nas-accordion__indicator{transform-origin:45% 55%;margin-bottom:3px}.nas-accordion--inverted .nas-accordion__toggle{background-color:#fff}.nas-accordion--inverted .nas-accordion__toggle:hover,.nas-accordion--inverted .nas-accordion__toggle:focus{background-color:#e3e3e3}.nas-accordion--inverted .nas-accordion__content,.nas-accordion--inverted.nas-accordion--expanded .nas-accordion__toggle{background-color:#e3e3e3}.nas-accordion--nopadding{padding-bottom:25px}.nas-accordion--nopadding .nas-accordion__toggle,.nas-accordion--nopadding .nas-accordion__content{padding:0}.nas-accordion--approve .nas-accordion__toggle{color:#238e00}.nas-accordion--primary .nas-accordion__toggle{color:#d81939}.nas-accordion--info .nas-accordion__toggle,.nas-accordion--info .nas-accordion__content{background-color:#ffc;color:#003251}.nas-accordion .nas-icon-positive--light,.nas-accordion .nas-icon-negative--light{transform:scale(.85)}\n"] }]
|
|
969
964
|
}], ctorParameters: function () { return []; }, propDecorators: { expanded: [{
|
|
970
965
|
type: Input
|
|
971
966
|
}], title: [{
|
|
972
967
|
type: Input
|
|
973
968
|
}], subheader: [{
|
|
974
969
|
type: Input
|
|
970
|
+
}], badge: [{
|
|
971
|
+
type: Input
|
|
975
972
|
}], icon: [{
|
|
976
973
|
type: Input
|
|
977
974
|
}], simple: [{
|
|
@@ -998,6 +995,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
998
995
|
type: Input
|
|
999
996
|
}], subheaderNegative: [{
|
|
1000
997
|
type: Input
|
|
998
|
+
}], badgeInfo: [{
|
|
999
|
+
type: Input
|
|
1000
|
+
}], badgeSuccess: [{
|
|
1001
|
+
type: Input
|
|
1002
|
+
}], badgeWarning: [{
|
|
1003
|
+
type: Input
|
|
1004
|
+
}], badgeError: [{
|
|
1005
|
+
type: Input
|
|
1001
1006
|
}], cssClass: [{
|
|
1002
1007
|
type: Input
|
|
1003
1008
|
}], cssStyle: [{
|
|
@@ -1152,6 +1157,7 @@ class ButtonComponent extends NasComponentBase {
|
|
|
1152
1157
|
constructor() {
|
|
1153
1158
|
super('nas-button');
|
|
1154
1159
|
/**
|
|
1160
|
+
* @property Input
|
|
1155
1161
|
* @description
|
|
1156
1162
|
* String to set button type. Default value is "button".
|
|
1157
1163
|
*
|
|
@@ -1160,6 +1166,7 @@ class ButtonComponent extends NasComponentBase {
|
|
|
1160
1166
|
*/
|
|
1161
1167
|
this.type = 'button';
|
|
1162
1168
|
/**
|
|
1169
|
+
* @property Input
|
|
1163
1170
|
* @description
|
|
1164
1171
|
* Property to set custom styling on button.
|
|
1165
1172
|
*
|
|
@@ -1168,6 +1175,7 @@ class ButtonComponent extends NasComponentBase {
|
|
|
1168
1175
|
*/
|
|
1169
1176
|
this.cssStyle = {};
|
|
1170
1177
|
/**
|
|
1178
|
+
* @property Input
|
|
1171
1179
|
* @description
|
|
1172
1180
|
* The target attribute specifies where to open the link.
|
|
1173
1181
|
* @example
|
|
@@ -1175,6 +1183,7 @@ class ButtonComponent extends NasComponentBase {
|
|
|
1175
1183
|
*/
|
|
1176
1184
|
this.target = '_self';
|
|
1177
1185
|
/**
|
|
1186
|
+
* @property Output
|
|
1178
1187
|
* @description
|
|
1179
1188
|
* Change event when clicking on button.
|
|
1180
1189
|
*
|
|
@@ -1871,6 +1880,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
1871
1880
|
*/
|
|
1872
1881
|
class AirportSelectComponent extends NasComponentBase {
|
|
1873
1882
|
/**
|
|
1883
|
+
* @property Input
|
|
1874
1884
|
* @description
|
|
1875
1885
|
* The airport code of the origin airport. It will set the selected origin airport based on this value.
|
|
1876
1886
|
*/
|
|
@@ -1890,6 +1900,7 @@ class AirportSelectComponent extends NasComponentBase {
|
|
|
1890
1900
|
}
|
|
1891
1901
|
}
|
|
1892
1902
|
/**
|
|
1903
|
+
* @property Input
|
|
1893
1904
|
* @description
|
|
1894
1905
|
* The airport code of the destination airport. It will set the selected destination airport based on this value.
|
|
1895
1906
|
*/
|
|
@@ -1923,52 +1934,62 @@ class AirportSelectComponent extends NasComponentBase {
|
|
|
1923
1934
|
geolocationDenied: ''
|
|
1924
1935
|
};
|
|
1925
1936
|
/**
|
|
1937
|
+
* @property Input
|
|
1926
1938
|
* @required
|
|
1927
1939
|
* @description
|
|
1928
1940
|
* A label that will appear on top of the origin airport input field.
|
|
1929
1941
|
*/
|
|
1930
1942
|
this.labelOrigin = '';
|
|
1931
1943
|
/**
|
|
1944
|
+
* @property Input
|
|
1932
1945
|
* @description
|
|
1933
1946
|
* A placeholder that will appear on the origin airport input field.
|
|
1934
1947
|
*/
|
|
1935
1948
|
this.placeholderOrigin = '';
|
|
1936
1949
|
/**
|
|
1950
|
+
* @property Input
|
|
1937
1951
|
* @description
|
|
1938
1952
|
* A label that will appear on top of the destination airport input field.
|
|
1939
1953
|
*/
|
|
1940
1954
|
this.labelDestination = '';
|
|
1941
1955
|
/**
|
|
1956
|
+
* @property Input
|
|
1942
1957
|
* @description
|
|
1943
1958
|
* A placeholder that will appear on the destination airport input field.
|
|
1944
1959
|
*/
|
|
1945
1960
|
this.placeholderDestination = '';
|
|
1946
1961
|
/**
|
|
1962
|
+
* @property Output
|
|
1947
1963
|
* @description
|
|
1948
1964
|
* An event that is fired every time the selected origin airport changes.
|
|
1949
1965
|
*/
|
|
1950
1966
|
this.originChange = new EventEmitter();
|
|
1951
1967
|
/**
|
|
1968
|
+
* @property Output
|
|
1952
1969
|
* @description
|
|
1953
1970
|
* An event that is fired every time the origin dropdown selector opens or closes.
|
|
1954
1971
|
*/
|
|
1955
1972
|
this.originOpenChange = new EventEmitter();
|
|
1956
1973
|
/**
|
|
1974
|
+
* @property Output
|
|
1957
1975
|
* @description
|
|
1958
1976
|
* An event that is fired every time the origin dropdown selector opens or closes.
|
|
1959
1977
|
*/
|
|
1960
1978
|
this.destinationChange = new EventEmitter();
|
|
1961
1979
|
/**
|
|
1980
|
+
* @property Output
|
|
1962
1981
|
* @description
|
|
1963
1982
|
* An event that is fired every time the destination dropdown selector opens or closes.
|
|
1964
1983
|
*/
|
|
1965
1984
|
this.destinationOpenChange = new EventEmitter();
|
|
1966
1985
|
/**
|
|
1986
|
+
* @property Output
|
|
1967
1987
|
* @description
|
|
1968
1988
|
* An event that is fired when the destination dropdown closes.
|
|
1969
1989
|
*/
|
|
1970
1990
|
this.focusOnNext = new EventEmitter();
|
|
1971
1991
|
/**
|
|
1992
|
+
* @property Output
|
|
1972
1993
|
* @description
|
|
1973
1994
|
* An event that is fired when geolocation position has changed.
|
|
1974
1995
|
*/
|
|
@@ -2352,9 +2373,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
2352
2373
|
*/
|
|
2353
2374
|
class BoxComponent extends NasComponentBase {
|
|
2354
2375
|
/**
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2376
|
+
* Represent a box component.
|
|
2377
|
+
* Will initiate correct block style.
|
|
2378
|
+
*/
|
|
2358
2379
|
constructor() {
|
|
2359
2380
|
super('nas-box');
|
|
2360
2381
|
}
|
|
@@ -2427,6 +2448,7 @@ let nextId$9 = 0;
|
|
|
2427
2448
|
*/
|
|
2428
2449
|
class CheckboxComponent extends NasComponentBase {
|
|
2429
2450
|
/**
|
|
2451
|
+
* @property Input
|
|
2430
2452
|
* @description
|
|
2431
2453
|
* Sets the Id of the native input element
|
|
2432
2454
|
*/
|
|
@@ -2473,6 +2495,7 @@ class CheckboxComponent extends NasComponentBase {
|
|
|
2473
2495
|
constructor() {
|
|
2474
2496
|
super('nas-checkbox');
|
|
2475
2497
|
/**
|
|
2498
|
+
* @property Input
|
|
2476
2499
|
* @description
|
|
2477
2500
|
* The value attribute is bound to ngModel of the native input element.
|
|
2478
2501
|
*/
|
|
@@ -2655,6 +2678,7 @@ let nextId$8 = 0;
|
|
|
2655
2678
|
*/
|
|
2656
2679
|
class ContinueComponent extends NasComponentBase {
|
|
2657
2680
|
/**
|
|
2681
|
+
* @property Input
|
|
2658
2682
|
* @description
|
|
2659
2683
|
* Boolean to set sticky style of component.
|
|
2660
2684
|
*
|
|
@@ -2694,6 +2718,7 @@ class ContinueComponent extends NasComponentBase {
|
|
|
2694
2718
|
super('nas-continue');
|
|
2695
2719
|
this.viewportService = viewportService;
|
|
2696
2720
|
/**
|
|
2721
|
+
* @property Input
|
|
2697
2722
|
* @description
|
|
2698
2723
|
* String to set icon on the call to action button.
|
|
2699
2724
|
*
|
|
@@ -2704,6 +2729,7 @@ class ContinueComponent extends NasComponentBase {
|
|
|
2704
2729
|
*/
|
|
2705
2730
|
this.icon = 'arrow-right--light';
|
|
2706
2731
|
/**
|
|
2732
|
+
* @property Input
|
|
2707
2733
|
* @description
|
|
2708
2734
|
* Sets type on the CTA button. Default is "button".
|
|
2709
2735
|
* @example
|
|
@@ -2711,6 +2737,7 @@ class ContinueComponent extends NasComponentBase {
|
|
|
2711
2737
|
*/
|
|
2712
2738
|
this.actionType = 'button';
|
|
2713
2739
|
/**
|
|
2740
|
+
* @property Output
|
|
2714
2741
|
* @description
|
|
2715
2742
|
* Boolean output for sticky changes.
|
|
2716
2743
|
*
|
|
@@ -2719,6 +2746,7 @@ class ContinueComponent extends NasComponentBase {
|
|
|
2719
2746
|
*/
|
|
2720
2747
|
this.stickyChange = new EventEmitter();
|
|
2721
2748
|
/**
|
|
2749
|
+
* @property Output
|
|
2722
2750
|
* @description
|
|
2723
2751
|
* Boolean output for when call to action button has been clicked.
|
|
2724
2752
|
*
|
|
@@ -2959,6 +2987,7 @@ class DropdownComponent extends NasComponentBase {
|
|
|
2959
2987
|
this.maxWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
2960
2988
|
this.useInline = false;
|
|
2961
2989
|
/**
|
|
2990
|
+
* @property Output
|
|
2962
2991
|
* @description
|
|
2963
2992
|
* An event that is fired every time the dropdown is toggled.
|
|
2964
2993
|
*/
|
|
@@ -3109,9 +3138,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
3109
3138
|
*/
|
|
3110
3139
|
class NumberFieldComponent extends NasComponentBase {
|
|
3111
3140
|
/**
|
|
3141
|
+
* @property Input
|
|
3112
3142
|
* @description
|
|
3113
3143
|
* The selected number.
|
|
3114
|
-
|
|
3144
|
+
*/
|
|
3115
3145
|
get number() {
|
|
3116
3146
|
return this.numberValue;
|
|
3117
3147
|
}
|
|
@@ -3130,6 +3160,7 @@ class NumberFieldComponent extends NasComponentBase {
|
|
|
3130
3160
|
constructor() {
|
|
3131
3161
|
super('nas-number-field');
|
|
3132
3162
|
/**
|
|
3163
|
+
* @property Output
|
|
3133
3164
|
* @description
|
|
3134
3165
|
* An event that is fired every time the number changes.
|
|
3135
3166
|
*/
|
|
@@ -3309,24 +3340,28 @@ class PassengerSelectComponent extends NasComponentBase {
|
|
|
3309
3340
|
constructor() {
|
|
3310
3341
|
super('nas-passenger-select');
|
|
3311
3342
|
/**
|
|
3343
|
+
* @property Input
|
|
3312
3344
|
* @description
|
|
3313
3345
|
* An array of different passenger types that will be displayed.
|
|
3314
|
-
|
|
3346
|
+
*/
|
|
3315
3347
|
this.passengers = new Array();
|
|
3316
3348
|
/**
|
|
3349
|
+
* @property Output
|
|
3317
3350
|
* @description
|
|
3318
3351
|
* An event that is fired every time a passenger selection change is performed.
|
|
3319
|
-
|
|
3352
|
+
*/
|
|
3320
3353
|
this.passengersChange = new EventEmitter();
|
|
3321
3354
|
/**
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3355
|
+
* @property Output
|
|
3356
|
+
* @description
|
|
3357
|
+
* An event that is fired every time a passenger selection change is performed.
|
|
3358
|
+
*/
|
|
3325
3359
|
this.focusOnNext = new EventEmitter();
|
|
3326
3360
|
/**
|
|
3361
|
+
* @property Output
|
|
3327
3362
|
* @description
|
|
3328
3363
|
* An event that is fired every time a passenger selection change is performed.
|
|
3329
|
-
|
|
3364
|
+
*/
|
|
3330
3365
|
this.focusOnPrevious = new EventEmitter();
|
|
3331
3366
|
}
|
|
3332
3367
|
ngOnInit() {
|
|
@@ -3568,9 +3603,10 @@ let nextId$6 = 0;
|
|
|
3568
3603
|
*/
|
|
3569
3604
|
class SelectComponent extends NasComponentBase {
|
|
3570
3605
|
/**
|
|
3606
|
+
* @property Input
|
|
3571
3607
|
* @description
|
|
3572
3608
|
* Add options to the selector.
|
|
3573
|
-
|
|
3609
|
+
*/
|
|
3574
3610
|
get options() {
|
|
3575
3611
|
return this.optionsValue;
|
|
3576
3612
|
}
|
|
@@ -3587,9 +3623,10 @@ class SelectComponent extends NasComponentBase {
|
|
|
3587
3623
|
}
|
|
3588
3624
|
}
|
|
3589
3625
|
/**
|
|
3626
|
+
* @property Input
|
|
3590
3627
|
* @description
|
|
3591
3628
|
* Gets or sets the selected value.
|
|
3592
|
-
|
|
3629
|
+
*/
|
|
3593
3630
|
get selected() {
|
|
3594
3631
|
return this.selectedValue;
|
|
3595
3632
|
}
|
|
@@ -3607,17 +3644,19 @@ class SelectComponent extends NasComponentBase {
|
|
|
3607
3644
|
constructor(change) {
|
|
3608
3645
|
super('nas-select');
|
|
3609
3646
|
this.change = change;
|
|
3610
|
-
this.selectControl = new
|
|
3647
|
+
this.selectControl = new FormControl();
|
|
3611
3648
|
this.hasContent = false;
|
|
3612
3649
|
/**
|
|
3650
|
+
* @property Output
|
|
3613
3651
|
* @description
|
|
3614
3652
|
* An event that is fired every time a selection is done.
|
|
3615
|
-
|
|
3653
|
+
*/
|
|
3616
3654
|
this.selectedChange = new EventEmitter();
|
|
3617
3655
|
/**
|
|
3656
|
+
* @property Output
|
|
3618
3657
|
* @description
|
|
3619
3658
|
* An events that fires every type a keydown event has been pressed on the select element.
|
|
3620
|
-
|
|
3659
|
+
*/
|
|
3621
3660
|
this.keydown = new EventEmitter();
|
|
3622
3661
|
this.open = false;
|
|
3623
3662
|
this.componentId = nextId$6++;
|
|
@@ -3910,6 +3949,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
3910
3949
|
*/
|
|
3911
3950
|
class BackdropComponent extends NasComponentBase {
|
|
3912
3951
|
/**
|
|
3952
|
+
* @property Input
|
|
3913
3953
|
* @description
|
|
3914
3954
|
* backdrop show/hide.
|
|
3915
3955
|
*/
|
|
@@ -3923,6 +3963,7 @@ class BackdropComponent extends NasComponentBase {
|
|
|
3923
3963
|
constructor() {
|
|
3924
3964
|
super('nas-backdrop');
|
|
3925
3965
|
/**
|
|
3966
|
+
* @property Output
|
|
3926
3967
|
* @description
|
|
3927
3968
|
* Event emmitted when showBackdrop is changed.
|
|
3928
3969
|
*/
|
|
@@ -4751,6 +4792,7 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4751
4792
|
});
|
|
4752
4793
|
}
|
|
4753
4794
|
/**
|
|
4795
|
+
* @property Input
|
|
4754
4796
|
* @description
|
|
4755
4797
|
* The lowest date allowed.
|
|
4756
4798
|
*/
|
|
@@ -4764,6 +4806,7 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4764
4806
|
}
|
|
4765
4807
|
}
|
|
4766
4808
|
/**
|
|
4809
|
+
* @property Input
|
|
4767
4810
|
* @description
|
|
4768
4811
|
* boolean value to disable or enable the input of the date picker.
|
|
4769
4812
|
*/
|
|
@@ -4788,6 +4831,7 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4788
4831
|
}
|
|
4789
4832
|
}
|
|
4790
4833
|
/**
|
|
4834
|
+
* @property Input
|
|
4791
4835
|
* @description
|
|
4792
4836
|
* An array of times to be added in the time selector.
|
|
4793
4837
|
*/
|
|
@@ -4810,6 +4854,7 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4810
4854
|
this.dateDisplayFormat = 'mediumDate';
|
|
4811
4855
|
}
|
|
4812
4856
|
/**
|
|
4857
|
+
* @property Input
|
|
4813
4858
|
* @description
|
|
4814
4859
|
* The calendar is open or closed.
|
|
4815
4860
|
*/
|
|
@@ -4829,6 +4874,7 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4829
4874
|
}
|
|
4830
4875
|
}
|
|
4831
4876
|
/**
|
|
4877
|
+
* @property Input
|
|
4832
4878
|
* @description
|
|
4833
4879
|
* Set selected month.
|
|
4834
4880
|
*/
|
|
@@ -4848,6 +4894,7 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4848
4894
|
});
|
|
4849
4895
|
}
|
|
4850
4896
|
/**
|
|
4897
|
+
* @property Input
|
|
4851
4898
|
* @description
|
|
4852
4899
|
* Gets or sets the selected Date in the date picker. Setting this date will highlight the date in the date picker
|
|
4853
4900
|
* and user can change it by clicking from any other enabled dates
|
|
@@ -4886,6 +4933,7 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4886
4933
|
}
|
|
4887
4934
|
}
|
|
4888
4935
|
/**
|
|
4936
|
+
* @property Input
|
|
4889
4937
|
* @description
|
|
4890
4938
|
* Sets the selected time in the time selector.
|
|
4891
4939
|
*/
|
|
@@ -4943,43 +4991,51 @@ class DatepickerComponent extends NasComponentBase {
|
|
|
4943
4991
|
this.dateService = dateService;
|
|
4944
4992
|
this.show = false;
|
|
4945
4993
|
/**
|
|
4994
|
+
* @property Input
|
|
4946
4995
|
* @description
|
|
4947
4996
|
* The display format of the date when user has selected the date and it is being shown in the input box for the date picker.
|
|
4948
4997
|
* Please look at the angular Date pipe for valid formats and variations.
|
|
4949
4998
|
*/
|
|
4950
4999
|
this.dateDisplayFormat = 'EEEE d, MMMM yyyy';
|
|
4951
5000
|
/**
|
|
5001
|
+
* @property Input
|
|
4952
5002
|
* @description
|
|
4953
5003
|
* The time display format.
|
|
4954
5004
|
*/
|
|
4955
5005
|
this.timeDisplayFormat = 'HH:mm';
|
|
4956
5006
|
/**
|
|
5007
|
+
* @property Input
|
|
4957
5008
|
* @description
|
|
4958
5009
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
4959
5010
|
* This requires that registerLocaleData is called with the respective locale.
|
|
4960
5011
|
*/
|
|
4961
5012
|
this.locale = 'en-US';
|
|
4962
5013
|
/**
|
|
5014
|
+
* @property Output
|
|
4963
5015
|
* @description
|
|
4964
5016
|
* Date selected by the user by clicking in date-picker date-box.
|
|
4965
5017
|
*/
|
|
4966
5018
|
this.selectedDateChange = new EventEmitter();
|
|
4967
5019
|
/**
|
|
5020
|
+
* @property Output
|
|
4968
5021
|
* @description
|
|
4969
5022
|
* Month selected by the user by clicking in drop down for month selection or month navigation buttons.
|
|
4970
5023
|
*/
|
|
4971
5024
|
this.selectedMonthChange = new EventEmitter();
|
|
4972
5025
|
/**
|
|
5026
|
+
* @property Output
|
|
4973
5027
|
* @description
|
|
4974
5028
|
* The calendar is open or closed.
|
|
4975
5029
|
*/
|
|
4976
5030
|
this.openChange = new EventEmitter();
|
|
4977
5031
|
/**
|
|
5032
|
+
* @property Output
|
|
4978
5033
|
* @description
|
|
4979
5034
|
* When a user has actively changed the date.
|
|
4980
5035
|
*/
|
|
4981
5036
|
this.focusOnNextChange = new EventEmitter();
|
|
4982
5037
|
/**
|
|
5038
|
+
* @property Output
|
|
4983
5039
|
* @description
|
|
4984
5040
|
* When a user has pressed shift + tab to go to previous control.
|
|
4985
5041
|
*/
|
|
@@ -5281,6 +5337,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
5281
5337
|
*/
|
|
5282
5338
|
class DatepickerComboComponent extends NasComponentBase {
|
|
5283
5339
|
/**
|
|
5340
|
+
* @property Input
|
|
5284
5341
|
* @description
|
|
5285
5342
|
* Sets outbound datepicker open.
|
|
5286
5343
|
*/
|
|
@@ -5300,6 +5357,7 @@ class DatepickerComboComponent extends NasComponentBase {
|
|
|
5300
5357
|
});
|
|
5301
5358
|
}
|
|
5302
5359
|
/**
|
|
5360
|
+
* @property Input
|
|
5303
5361
|
* @description
|
|
5304
5362
|
* Sets inbound datepicker open.
|
|
5305
5363
|
*/
|
|
@@ -5323,6 +5381,7 @@ class DatepickerComboComponent extends NasComponentBase {
|
|
|
5323
5381
|
});
|
|
5324
5382
|
}
|
|
5325
5383
|
/**
|
|
5384
|
+
* @property Input
|
|
5326
5385
|
* @description
|
|
5327
5386
|
* Selected datefor outbound calendar.
|
|
5328
5387
|
*/
|
|
@@ -5342,6 +5401,7 @@ class DatepickerComboComponent extends NasComponentBase {
|
|
|
5342
5401
|
this.outboundSelectedDateChange.emit(date);
|
|
5343
5402
|
}
|
|
5344
5403
|
/**
|
|
5404
|
+
* @property Input
|
|
5345
5405
|
* @description
|
|
5346
5406
|
* Selected datefor inbound calendar.
|
|
5347
5407
|
*/
|
|
@@ -5378,23 +5438,27 @@ class DatepickerComboComponent extends NasComponentBase {
|
|
|
5378
5438
|
this.dateService = dateService;
|
|
5379
5439
|
this.deviceHelper = deviceHelper;
|
|
5380
5440
|
/**
|
|
5441
|
+
* @property Input
|
|
5381
5442
|
* @description
|
|
5382
5443
|
* The display format of the date when user has selected the date and it is being shown in the input box for the date picker.
|
|
5383
5444
|
* Please look at the angular Date pipe for valid formats and variations.
|
|
5384
5445
|
*/
|
|
5385
5446
|
this.dateDisplayFormat = 'EEEE d, MMMM yyyy';
|
|
5386
5447
|
/**
|
|
5448
|
+
* @property Input
|
|
5387
5449
|
* @description
|
|
5388
5450
|
* The time display format.
|
|
5389
5451
|
*/
|
|
5390
5452
|
this.timeDisplayFormat = 'HH:mm';
|
|
5391
5453
|
/**
|
|
5454
|
+
* @property Input
|
|
5392
5455
|
* @description
|
|
5393
5456
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
5394
5457
|
* This requires that registerLocaleData is called with the respective locale.
|
|
5395
5458
|
*/
|
|
5396
5459
|
this.locale = 'en-US';
|
|
5397
5460
|
/**
|
|
5461
|
+
* @property Input
|
|
5398
5462
|
* @description
|
|
5399
5463
|
* Sets a relative number to decide when the inbound lower limit date should be based on selected outbound date.
|
|
5400
5464
|
*
|
|
@@ -5405,41 +5469,49 @@ class DatepickerComboComponent extends NasComponentBase {
|
|
|
5405
5469
|
*/
|
|
5406
5470
|
this.inboundLowerLimitDateOffset = 0;
|
|
5407
5471
|
/**
|
|
5472
|
+
* @property Output
|
|
5408
5473
|
* @description
|
|
5409
5474
|
* When selected datehas been changed on the outbound calendar.
|
|
5410
5475
|
*/
|
|
5411
5476
|
this.outboundSelectedDateChange = new EventEmitter();
|
|
5412
5477
|
/**
|
|
5478
|
+
* @property Output
|
|
5413
5479
|
* @description
|
|
5414
5480
|
* When selected datehas been changed on the inbound calendar.
|
|
5415
5481
|
*/
|
|
5416
5482
|
this.inboundSelectedDateChange = new EventEmitter();
|
|
5417
5483
|
/**
|
|
5484
|
+
* @property Output
|
|
5418
5485
|
* @description
|
|
5419
5486
|
* Outbound datepicker is open or closed.
|
|
5420
5487
|
*/
|
|
5421
5488
|
this.outboundOpenChange = new EventEmitter();
|
|
5422
5489
|
/**
|
|
5490
|
+
* @property Output
|
|
5423
5491
|
* @description
|
|
5424
5492
|
* Inbound datepicker is open or closed.
|
|
5425
5493
|
*/
|
|
5426
5494
|
this.inboundOpenChange = new EventEmitter();
|
|
5427
5495
|
/**
|
|
5496
|
+
* @property Output
|
|
5428
5497
|
* @description
|
|
5429
5498
|
* Outbound calendar changes month.
|
|
5430
5499
|
*/
|
|
5431
5500
|
this.outboundMonthChange = new EventEmitter();
|
|
5432
5501
|
/**
|
|
5502
|
+
* @property Output
|
|
5433
5503
|
* @description
|
|
5434
5504
|
* Inbound calendar changes month.
|
|
5435
5505
|
*/
|
|
5436
5506
|
this.inboundMonthChange = new EventEmitter();
|
|
5437
5507
|
/**
|
|
5508
|
+
* @property Output
|
|
5438
5509
|
* @description
|
|
5439
5510
|
* When a user has actively changed the date.
|
|
5440
5511
|
*/
|
|
5441
5512
|
this.focusOnNextChange = new EventEmitter();
|
|
5442
5513
|
/**
|
|
5514
|
+
* @property Output
|
|
5443
5515
|
* @description
|
|
5444
5516
|
* When a user has pressed shift + tab to go to previous control.
|
|
5445
5517
|
*/
|
|
@@ -5622,9 +5694,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
5622
5694
|
*/
|
|
5623
5695
|
class SubsidyDiscountComponent extends NasComponentBase {
|
|
5624
5696
|
/**
|
|
5697
|
+
* @property Input
|
|
5625
5698
|
* @description
|
|
5626
5699
|
* Gets or sets the selected discount value.
|
|
5627
|
-
|
|
5700
|
+
*/
|
|
5628
5701
|
get selectedDiscount() {
|
|
5629
5702
|
return this.selectedDiscountValue;
|
|
5630
5703
|
}
|
|
@@ -5638,9 +5711,10 @@ class SubsidyDiscountComponent extends NasComponentBase {
|
|
|
5638
5711
|
}
|
|
5639
5712
|
}
|
|
5640
5713
|
/**
|
|
5714
|
+
* @property Input
|
|
5641
5715
|
* @description
|
|
5642
5716
|
* Gets or sets discounts value.
|
|
5643
|
-
|
|
5717
|
+
*/
|
|
5644
5718
|
get discounts() {
|
|
5645
5719
|
return this.discountsValue;
|
|
5646
5720
|
}
|
|
@@ -5663,24 +5737,28 @@ class SubsidyDiscountComponent extends NasComponentBase {
|
|
|
5663
5737
|
constructor() {
|
|
5664
5738
|
super('nas-subsidy-discount');
|
|
5665
5739
|
/**
|
|
5740
|
+
* @property Input
|
|
5666
5741
|
* @description
|
|
5667
5742
|
* Set icon on component. Icon need to exist in medium size. Default value is 'family'
|
|
5668
|
-
|
|
5743
|
+
*/
|
|
5669
5744
|
this.icon = 'family';
|
|
5670
5745
|
/**
|
|
5746
|
+
* @property Output
|
|
5671
5747
|
* @description
|
|
5672
5748
|
* An even that is fired every time the info button is clicked.
|
|
5673
|
-
|
|
5749
|
+
*/
|
|
5674
5750
|
this.infoButtonClick = new EventEmitter();
|
|
5675
5751
|
/**
|
|
5752
|
+
* @property Output
|
|
5676
5753
|
* @description
|
|
5677
5754
|
* Fires when info button has a keydown event.
|
|
5678
|
-
|
|
5755
|
+
*/
|
|
5679
5756
|
this.infoButtonKeydown = new EventEmitter();
|
|
5680
5757
|
/**
|
|
5758
|
+
* @property Output
|
|
5681
5759
|
* @description
|
|
5682
5760
|
* An even that is fired every time the info button is clicked.
|
|
5683
|
-
|
|
5761
|
+
*/
|
|
5684
5762
|
this.discountSelectChange = new EventEmitter();
|
|
5685
5763
|
}
|
|
5686
5764
|
onInfoButtonClick() {
|
|
@@ -5731,9 +5809,10 @@ class SuggestionsComponent extends NasComponentBase {
|
|
|
5731
5809
|
constructor() {
|
|
5732
5810
|
super('nas-suggestions');
|
|
5733
5811
|
/**
|
|
5812
|
+
* @property Output
|
|
5734
5813
|
* @description
|
|
5735
5814
|
* Fired when an airport is selected
|
|
5736
|
-
|
|
5815
|
+
*/
|
|
5737
5816
|
this.airportSelect = new EventEmitter();
|
|
5738
5817
|
}
|
|
5739
5818
|
onAirportSelect(airport) {
|
|
@@ -5803,6 +5882,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5803
5882
|
this.inboundOpenChange.emit(value);
|
|
5804
5883
|
}
|
|
5805
5884
|
/**
|
|
5885
|
+
* @property Input
|
|
5806
5886
|
* @description
|
|
5807
5887
|
* An array of different passenger types that will be displayed.
|
|
5808
5888
|
*/
|
|
@@ -5817,6 +5897,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5817
5897
|
this.passengersChange.emit(value);
|
|
5818
5898
|
}
|
|
5819
5899
|
/**
|
|
5900
|
+
* @property Input
|
|
5820
5901
|
* @description
|
|
5821
5902
|
* Indicates if the edit search of accordion should be expended on mobile screen sizes.
|
|
5822
5903
|
*/
|
|
@@ -5842,6 +5923,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5842
5923
|
}
|
|
5843
5924
|
}
|
|
5844
5925
|
/**
|
|
5926
|
+
* @property Input
|
|
5845
5927
|
* @required
|
|
5846
5928
|
* @description
|
|
5847
5929
|
* All airports that will be populated into the dropdown lists.
|
|
@@ -5858,6 +5940,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5858
5940
|
}
|
|
5859
5941
|
}
|
|
5860
5942
|
/**
|
|
5943
|
+
* @property Input
|
|
5861
5944
|
* @description
|
|
5862
5945
|
* Sets and gets the selected trip type.
|
|
5863
5946
|
*/
|
|
@@ -5872,6 +5955,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5872
5955
|
this.tripTypeChange.emit(this.tripType);
|
|
5873
5956
|
}
|
|
5874
5957
|
/**
|
|
5958
|
+
* @property Input
|
|
5875
5959
|
* @description
|
|
5876
5960
|
* Sets and gets whether the selected transit type is direct only or not.
|
|
5877
5961
|
*/
|
|
@@ -5886,6 +5970,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5886
5970
|
this.directOnlyChange.emit(this.directOnly);
|
|
5887
5971
|
}
|
|
5888
5972
|
/**
|
|
5973
|
+
* @property Input
|
|
5889
5974
|
* @description
|
|
5890
5975
|
* Selected datefor outbound calendar.
|
|
5891
5976
|
*/
|
|
@@ -5902,6 +5987,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5902
5987
|
});
|
|
5903
5988
|
}
|
|
5904
5989
|
/**
|
|
5990
|
+
* @property Input
|
|
5905
5991
|
* @description
|
|
5906
5992
|
* Selected datefor inbound calendar.
|
|
5907
5993
|
*/
|
|
@@ -5942,6 +6028,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
5942
6028
|
this.maximize = false;
|
|
5943
6029
|
this.isNasGroupValid = false;
|
|
5944
6030
|
/**
|
|
6031
|
+
* @property Input
|
|
5945
6032
|
* @description
|
|
5946
6033
|
* A separator for the filter summary that is dispayed if minimizeOnMobile is true.
|
|
5947
6034
|
*
|
|
@@ -5957,133 +6044,159 @@ class FilterComponent extends NasComponentBase {
|
|
|
5957
6044
|
*/
|
|
5958
6045
|
this.lastSummarySeparator = '';
|
|
5959
6046
|
/**
|
|
6047
|
+
* @property Input
|
|
5960
6048
|
* @description
|
|
5961
6049
|
* A placeholder that will appear on the origin airport input field.
|
|
5962
6050
|
*/
|
|
5963
6051
|
this.placeholderOrigin = '';
|
|
5964
6052
|
/**
|
|
6053
|
+
* @property Input
|
|
5965
6054
|
* @description
|
|
5966
6055
|
* A placeholder that will appear on the destination airport input field.
|
|
5967
6056
|
*/
|
|
5968
6057
|
this.placeholderDestination = '';
|
|
5969
6058
|
/**
|
|
6059
|
+
* @property Output
|
|
5970
6060
|
* @description
|
|
5971
6061
|
* An event that is fired every time the origin dropdown selector opens or closes.
|
|
5972
6062
|
*/
|
|
5973
6063
|
this.originOpenChange = new EventEmitter();
|
|
5974
6064
|
/**
|
|
6065
|
+
* @property Output
|
|
5975
6066
|
* @description
|
|
5976
6067
|
* An event that is fired every time the origin dropdown selector opens or closes.
|
|
5977
6068
|
*/
|
|
5978
6069
|
this.destinationOpenChange = new EventEmitter();
|
|
5979
6070
|
/**
|
|
6071
|
+
* @property Output
|
|
5980
6072
|
* @description
|
|
5981
6073
|
* An event that is fired every time the passenger select dropdown opens or closes.
|
|
5982
6074
|
*/
|
|
5983
6075
|
this.passengerSelectOpenChange = new EventEmitter();
|
|
5984
6076
|
/**
|
|
6077
|
+
* @property Output
|
|
5985
6078
|
* @description
|
|
5986
6079
|
* An event that is fired every time the selected origin airport changes.
|
|
5987
6080
|
*/
|
|
5988
6081
|
this.originChange = new EventEmitter();
|
|
5989
6082
|
/**
|
|
6083
|
+
* @property Output
|
|
5990
6084
|
* @description
|
|
5991
6085
|
* An event that is fired every time the selected destination airport changes.
|
|
5992
6086
|
*/
|
|
5993
6087
|
this.destinationChange = new EventEmitter();
|
|
5994
6088
|
/**
|
|
6089
|
+
* @property Output
|
|
5995
6090
|
* @description
|
|
5996
6091
|
* An event that is fired every time a passenger selection change is performed.
|
|
5997
6092
|
*/
|
|
5998
6093
|
this.passengersChange = new EventEmitter();
|
|
5999
6094
|
/**
|
|
6095
|
+
* @property Output
|
|
6000
6096
|
* @description
|
|
6001
6097
|
* Sets and gets the selected trip type.
|
|
6002
6098
|
*/
|
|
6003
6099
|
this.tripTypeChange = new EventEmitter();
|
|
6004
6100
|
/**
|
|
6101
|
+
* @property Output
|
|
6005
6102
|
* @description
|
|
6006
6103
|
* Sets and gets whether the selected transit type is direct only or not.
|
|
6007
6104
|
*/
|
|
6008
6105
|
this.directOnlyChange = new EventEmitter();
|
|
6009
6106
|
/**
|
|
6107
|
+
* @property Input
|
|
6010
6108
|
* @description
|
|
6011
6109
|
* The display format of the date when user has selected the date and it is being shown in the input box for the date picker.
|
|
6012
6110
|
* Please look at the angular Date pipe for valid formats and variations.
|
|
6013
6111
|
*/
|
|
6014
6112
|
this.dateDisplayFormat = 'EEEE d, MMMM yyyy';
|
|
6015
6113
|
/**
|
|
6114
|
+
* @property Input
|
|
6016
6115
|
* @description
|
|
6017
6116
|
* The time display format.
|
|
6018
6117
|
*/
|
|
6019
6118
|
this.timeDisplayFormat = 'HH:mm';
|
|
6020
6119
|
/**
|
|
6120
|
+
* @property Input
|
|
6021
6121
|
* @description
|
|
6022
6122
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
6023
6123
|
* This requires that registerLocaleData is called with the respective locale.
|
|
6024
6124
|
*/
|
|
6025
6125
|
this.locale = 'en-GB';
|
|
6026
6126
|
/**
|
|
6127
|
+
* @property Input
|
|
6027
6128
|
* @description
|
|
6028
6129
|
* Will display the destination input, set this to false to remove it. It's true by default.
|
|
6029
6130
|
*/
|
|
6030
6131
|
this.enableDestinationSelect = true;
|
|
6031
6132
|
/**
|
|
6133
|
+
* @property Input
|
|
6032
6134
|
* @description
|
|
6033
6135
|
* Will display passenger select, set this to false to remove it. It's true by default.
|
|
6034
6136
|
*/
|
|
6035
6137
|
this.enablePassengersSelect = true;
|
|
6036
6138
|
/**
|
|
6139
|
+
* @property Input
|
|
6037
6140
|
* @description
|
|
6038
6141
|
* Will display the trip switch, set this to false to remove it. It's true by default.
|
|
6039
6142
|
*/
|
|
6040
6143
|
this.enableTripSwitch = true;
|
|
6041
6144
|
/**
|
|
6145
|
+
* @property Input
|
|
6042
6146
|
* @description
|
|
6043
6147
|
* Will display the transit switch, set this to false to remove it. It's true by default.
|
|
6044
6148
|
*/
|
|
6045
6149
|
this.enableTransitSwitch = true;
|
|
6046
6150
|
/**
|
|
6151
|
+
* @property Output
|
|
6047
6152
|
* @description
|
|
6048
6153
|
* When selected datehas been changed on the outbound calendar.
|
|
6049
6154
|
*/
|
|
6050
6155
|
this.outboundSelectedDateChange = new EventEmitter();
|
|
6051
6156
|
/**
|
|
6157
|
+
* @property Output
|
|
6052
6158
|
* @description
|
|
6053
6159
|
* When selected datehas been changed on the inbound calendar.
|
|
6054
6160
|
*/
|
|
6055
6161
|
this.inboundSelectedDateChange = new EventEmitter();
|
|
6056
6162
|
/**
|
|
6163
|
+
* @property Output
|
|
6057
6164
|
* @description
|
|
6058
6165
|
* Outbound datepicker is open or closed.
|
|
6059
6166
|
*/
|
|
6060
6167
|
this.outboundOpenChange = new EventEmitter();
|
|
6061
6168
|
/**
|
|
6169
|
+
* @property Output
|
|
6062
6170
|
* @description
|
|
6063
6171
|
* Inbound datepicker is open or closed.
|
|
6064
6172
|
*/
|
|
6065
6173
|
this.inboundOpenChange = new EventEmitter();
|
|
6066
6174
|
/**
|
|
6175
|
+
* @property Output
|
|
6067
6176
|
* @description
|
|
6068
6177
|
* Outbound calendar changes month.
|
|
6069
6178
|
*/
|
|
6070
6179
|
this.outboundMonthChange = new EventEmitter();
|
|
6071
6180
|
/**
|
|
6181
|
+
* @property Output
|
|
6072
6182
|
* @description
|
|
6073
6183
|
* Inbound calendar changes month.
|
|
6074
6184
|
*/
|
|
6075
6185
|
this.inboundMonthChange = new EventEmitter();
|
|
6076
6186
|
/**
|
|
6187
|
+
* @property Output
|
|
6077
6188
|
* @description
|
|
6078
6189
|
* When a user has actively changed the date.
|
|
6079
6190
|
*/
|
|
6080
6191
|
this.focusOnNextChange = new EventEmitter();
|
|
6081
6192
|
/**
|
|
6193
|
+
* @property Output
|
|
6082
6194
|
* @description
|
|
6083
6195
|
* The geolocation of the user. Will be emitted if 'enableSuggestions' is true.
|
|
6084
6196
|
*/
|
|
6085
6197
|
this.positionChange = new EventEmitter();
|
|
6086
6198
|
/**
|
|
6199
|
+
* @property Output
|
|
6087
6200
|
* @description
|
|
6088
6201
|
* An even that is fired every time the info button on the subsidy discount is clicked.
|
|
6089
6202
|
*/
|
|
@@ -6733,7 +6846,7 @@ class FilterComponent extends NasComponentBase {
|
|
|
6733
6846
|
}
|
|
6734
6847
|
}
|
|
6735
6848
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FilterComponent, deps: [{ token: DeviceHelper }, { token: SortService }, { token: AbandonedBasketService }, { token: DateHelper }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6736
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FilterComponent, selector: "nas-filter", inputs: { airportRelations: "airportRelations", ariaLabelClear: "ariaLabelClear", ariaLabelSubtract: "ariaLabelSubtract", ariaLabelBackdrop: "ariaLabelBackdrop", ariaLabelAdd: "ariaLabelAdd", allowedOriginAirports: "allowedOriginAirports", allowedDestinationAirports: "allowedDestinationAirports", displayLatestSearches: "displayLatestSearches", useSwitch: "useSwitch", displayClosestAirports: "displayClosestAirports", originAirportCode: "originAirportCode", destinationAirportCode: "destinationAirportCode", passengerSelectLabel: "passengerSelectLabel", maxPaxCount: "maxPaxCount", passengers: "passengers", minAdultCount: "minAdultCount", tripSwitchRoundTripLabel: "tripSwitchRoundTripLabel", tripSwitchOneWayLabel: "tripSwitchOneWayLabel", directOnlyLabel: "directOnlyLabel", directTransitLabel: "directTransitLabel", minimizeOnMobile: "minimizeOnMobile", expandedAccordionMobile: "expandedAccordionMobile", defaultSummarySeparator: "defaultSummarySeparator", lastSummarySeparator: "lastSummarySeparator", passengerSelectTitle: "passengerSelectTitle", passengerSelectAdultsLabel: "passengerSelectAdultsLabel", passengerSelectChildrenLabel: "passengerSelectChildrenLabel", passengerSelectInfantsLabel: "passengerSelectInfantsLabel", groupBookingLabel: "groupBookingLabel", allAirportsLabel: "allAirportsLabel", latestSearchesLabel: "latestSearchesLabel", closestAirportsLabel: "closestAirportsLabel", selectOriginFirstLabel: "selectOriginFirstLabel", labelOrigin: "labelOrigin", placeholderOrigin: "placeholderOrigin", labelDestination: "labelDestination", geolocationLabel: "geolocationLabel", geolocationBlockedLabel: "geolocationBlockedLabel", placeholderDestination: "placeholderDestination", keepSelection: "keepSelection", editSearchTitle: "editSearchTitle", nasFormGroup: "nasFormGroup", nasFormControlNameOrigin: "nasFormControlNameOrigin", nasFormControlNameDestination: "nasFormControlNameDestination", nasFormControlNameTripType: "nasFormControlNameTripType", nasFormControlNameDirectOnly: "nasFormControlNameDirectOnly", nasFormControlNameOutbound: "nasFormControlNameOutbound", nasFormControlNameInbound: "nasFormControlNameInbound", nasFormControlGroupBooking: "nasFormControlGroupBooking", nasFormControlNameSubsidyDiscount: "nasFormControlNameSubsidyDiscount", overrideOrigin: "overrideOrigin", enableSuggestions: "enableSuggestions", closestAirports: "closestAirports", minimize: "minimize", airports: "airports", tripType: "tripType", directOnly: "directOnly", groupBookingLimit: "groupBookingLimit", subsidyDiscounts: "subsidyDiscounts", selectedSubsidyDiscount: "selectedSubsidyDiscount", subsidyDiscountLabel: "subsidyDiscountLabel", ariaLabelPreviousMonth: "ariaLabelPreviousMonth", ariaLabelNextMonth: "ariaLabelNextMonth", noAvailableFlightsLabel: "noAvailableFlightsLabel", availableFlightsLabel: "availableFlightsLabel", disablePastSelection: "disablePastSelection", outboundLabel: "outboundLabel", inboundLabel: "inboundLabel", availability: "availability", outboundAvailableDates: "outboundAvailableDates", inboundAvailableDates: "inboundAvailableDates", times: "times", dateDisplayFormat: "dateDisplayFormat", timeDisplayFormat: "timeDisplayFormat", locale: "locale", compact: "compact", outboundDisabled: "outboundDisabled", inboundDisabled: "inboundDisabled", enableDatepickers: "enableDatepickers", minimizingLabel: "minimizingLabel", maximizingLabel: "maximizingLabel", directOnlyMobileLabel: "directOnlyMobileLabel", orLabel: "orLabel", invalidDestinationText: "invalidDestinationText", outboundSelectedDate: "outboundSelectedDate", inboundSelectedDate: "inboundSelectedDate", enableDestinationSelect: "enableDestinationSelect", enablePassengersSelect: "enablePassengersSelect", enableTripSwitch: "enableTripSwitch", enableTransitSwitch: "enableTransitSwitch" }, outputs: { originOpenChange: "originOpenChange", destinationOpenChange: "destinationOpenChange", passengerSelectOpenChange: "passengerSelectOpenChange", originChange: "originChange", destinationChange: "destinationChange", passengersChange: "passengersChange", tripTypeChange: "tripTypeChange", directOnlyChange: "directOnlyChange", outboundSelectedDateChange: "outboundSelectedDateChange", inboundSelectedDateChange: "inboundSelectedDateChange", outboundOpenChange: "outboundOpenChange", inboundOpenChange: "inboundOpenChange", outboundMonthChange: "outboundMonthChange", inboundMonthChange: "inboundMonthChange", focusOnNextChange: "focusOnNextChange", positionChange: "positionChange", subsidyDiscountInfoClick: "subsidyDiscountInfoClick" }, viewQueries: [{ propertyName: "passengerSelectDropdown", first: true, predicate: ["passengerSelectDropdown"], descendants: true }, { propertyName: "passengerSelect", first: true, predicate: ["passengerSelect"], descendants: true }, { propertyName: "tripSwitch", first: true, predicate: ["tripSwitch"], descendants: true }, { propertyName: "transitSwitch", first: true, predicate: ["transitSwitch"], descendants: true }, { propertyName: "airportSelect", first: true, predicate: ["airportSelect"], descendants: true }, { propertyName: "datepickerCombo", first: true, predicate: ["datepickerCombo"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }, { propertyName: "tripTypeOneway", first: true, predicate: ["tripTypeOneway"], descendants: true }, { propertyName: "tripTypeRoundTrip", first: true, predicate: ["tripTypeRoundTrip"], descendants: true }, { propertyName: "transitTypeDirectOnly", first: true, predicate: ["transitTypeDirectOnly"], descendants: true }, { propertyName: "transitTypeTransit", first: true, predicate: ["transitTypeTransit"], descendants: true }, { propertyName: "subsidyDiscount", first: true, predicate: ["subsidyDiscount"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<nas-accordion *ngIf=\"deviceHelper?.isMobile() && exists(minimizeOnMobile); else filterTemplate\"\n simple\n containerOnToggle\n transparent\n [expanded]=\"expandedAccordionMobile\"\n [title]=\"editSearchTitle\"\n (toggleChange)=\"onAccordionToggleChange($event)\">\n <ng-container *ngTemplateOutlet=\"filterTemplate\"></ng-container>\n</nas-accordion>\n<div class=\"container\"\n *ngIf=\"deviceHelper?.isMobile() && exists(minimizeOnMobile) && displaySummary\">{{getSummary()}}</div>\n\n<ng-template #filterTemplate>\n <div #container\n [nasClass]=\"getContainerClass()\">\n <div [nasClass]=\"getFilterClass('filters', [exists(minimize) && 'minimized', maximize && 'maximize'])\">\n <ng-container *ngIf=\"airports?.length > 0\">\n <nas-airport-select *ngIf=\"airports && airportRelations && (enableDestinationSelect)\"\n #airportSelect\n combo\n [ariaLabelClear]=\"ariaLabelClear\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlNameOrigin]=\"nasFormControlNameOrigin\"\n [nasFormControlNameDestination]=\"nasFormControlNameDestination\"\n [useSwitch]=\"useSwitch\"\n [nasClass]=\"getAirportSelectClass()\"\n [airports]=\"airports\"\n [allowedOriginAiports]=\"allowedOriginAirports\"\n [allowedDestinationAirports]=\"allowedDestinationAirports\"\n [airportRelations]=\"airportRelations\"\n [latestSearchesOrigin]=\"latestSearchesOrigin\"\n [latestSearchesDestination]=\"latestSearchesDestination\"\n [displayLatestSearches]=\"displayLatestSearches\"\n [displayClosestAirports]=\"displayClosestAirports\"\n [originAirportCode]=\"originAirportCode\"\n [destinationAirportCode]=\"destinationAirportCode\"\n [allAirportsLabel]=\"allAirportsLabel\"\n [latestSearchesLabel]=\"latestSearchesLabel\"\n [closestAirportsLabel]=\"closestAirportsLabel\"\n [closestAirports]=\"closestAirports\"\n [selectOriginFirstLabel]=\"selectOriginFirstLabel\"\n [labelOrigin]=\"labelOrigin\"\n [placeholderOrigin]=\"placeholderOrigin\"\n [labelDestination]=\"labelDestination\"\n [geolocationLabel]=\"geolocationLabel\"\n [geolocationBlockedLabel]=\"geolocationBlockedLabel\"\n [placeholderDestination]=\"placeholderDestination\"\n [keepSelection]=\"keepSelection\"\n [invalidDestinationText]=\"invalidDestinationText\"\n (originChange)=\"setSelectedOriginAirport($event)\"\n (destinationChange)=\"onDestinationChange($event)\"\n (focusOnNext)=\"setFocusOnPassengerSelect($event)\"\n (originOpenChange)=\"onOriginOpen($event)\"\n (destinationOpenChange)=\"onDestinationOpen($event)\"\n (positionChange)=\"getClosestAirports($event)\"></nas-airport-select>\n <nas-airport-select *ngIf=\"airports && (!enableDestinationSelect)\"\n #airportSelect\n [ariaLabelClear]=\"ariaLabelClear\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlNameOrigin]=\"nasFormControlNameOrigin\"\n [useSwitch]=\"useSwitch\"\n [nasClass]=\"getClass('airport-origin-select')\"\n [airports]=\"airports\"\n [allowedOriginAiports]=\"allowedOriginAirports\"\n [airportRelations]=\"airportRelations\"\n [latestSearchesOrigin]=\"latestSearchesOrigin\"\n [displayLatestSearches]=\"displayLatestSearches\"\n [displayClosestAirports]=\"displayClosestAirports\"\n [originAirportCode]=\"originAirportCode\"\n [allAirportsLabel]=\"allAirportsLabel\"\n [latestSearchesLabel]=\"latestSearchesLabel\"\n [closestAirportsLabel]=\"closestAirportsLabel\"\n [closestAirports]=\"closestAirports\"\n [selectOriginFirstLabel]=\"selectOriginFirstLabel\"\n [labelOrigin]=\"labelOrigin\"\n [placeholderOrigin]=\"placeholderOrigin\"\n [geolocationLabel]=\"geolocationLabel\"\n [geolocationBlockedLabel]=\"geolocationBlockedLabel\"\n [keepSelection]=\"keepSelection\"\n (originChange)=\"setSelectedOriginAirport($event)\"\n (focusOnNext)=\"setFocusOnPassengerSelect($event)\"\n (originOpenChange)=\"onOriginOpen($event)\"\n (positionChange)=\"getClosestAirports($event)\"></nas-airport-select>\n <nas-suggestions *ngIf=\"(closestAirports || latestSearchesOrigin) && exists(enableSuggestions)\"\n [nasClass]=\"getFilterClass('suggestions')\"\n [suggestions]=\"getSuggestions()\"\n [orLabel]=\"orLabel\"\n (airportSelect)=\"setSelectedOriginAirport($event)\"></nas-suggestions>\n </ng-container>\n <ng-container *ngIf=\"shouldMaximize()\">\n <div\n [nasClass]=\"!enableDestinationSelect ? getClass('origin-combined') :\n getTravelDetailsClass('', ['combined', exists(enableDatepickers) && 'no-border', exists(minimize) && 'minimized'])\">\n <ng-container *ngIf=\"enablePassengersSelect\">\n <nas-dropdown #passengerSelectDropdown\n *ngIf=\"passengers?.length > 0\"\n [nasClass]=\"getTravelDetailsClass('dropdown', 'passengers')\"\n [cssClass]=\"getTravelDetailsClass('dropdown')\"\n [label]=\"passengerSelectLabel\"\n [labelStyle]=\"{'width': '102px'}\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n (openChange)=\"onPassengerSelectOpen($event)\"\n (keydown)=\"passengerKeyDown($event)\">\n <nas-passenger-select #passengerSelect\n [ariaLabelAdd]=\"ariaLabelAdd\"\n [ariaLabelSubtract]=\"ariaLabelSubtract\"\n [adultsLabel]=\"passengerSelectAdultsLabel\"\n [childrenLabel]=\"passengerSelectChildrenLabel\"\n [infantsLabel]=\"passengerSelectInfantsLabel\"\n [maxPaxCount]=\"maxPaxCount\"\n [minAdultCount]=\"minAdultCount\"\n [title]=\"passengerSelectTitle\"\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlGroupBooking]=\"nasFormControlGroupBooking\"\n [groupBookingLabel]=\"groupBookingLabel\"\n [groupBookingLimit]=\"groupBookingLimit\"\n (focusOnNext)=\"onPassengersSelectFocusOnNext()\"\n (focusOnPrevious)=\"onPassengersSelectFocusOnPrevious()\"\n [(passengers)]=\"passengers\"></nas-passenger-select>\n </nas-dropdown>\n </ng-container>\n <ng-container *ngIf=\"enableTripSwitch\">\n <nas-dropdown *ngIf=\"tripSwitchOneWayLabel && tripSwitchRoundTripLabel\"\n #tripSwitch\n [nasClass]=\"getTravelDetailsClass('dropdown', 'trip-type')\"\n [cssClass]=\"getTravelDetailsClass('dropdown')\"\n [label]=\"getTripSwitchLabel()\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n (openChange)=\"onTripSwitchOpen($event)\"\n (keydown)=\"onTripSwitchKeyDown($event)\">\n <div [nasClass]=\"getTravelDetailsClass('actions')\">\n <button type=\"button\"\n #tripTypeRoundTrip\n [nasClass]=\"getTravelDetailsClass('action', tripType === 2 && 'active')\"\n (click)=\"onTripTypeChange(2)\">\n <nas-icon [type]=\"'medium'\"\n [icon]=\"tripType === 2 ? 'flight-return--light' : 'flight-return'\"></nas-icon>\n <span [nasClass]=\"getTravelDetailsClass('title', 'small')\">{{tripSwitchRoundTripLabel}}</span>\n </button>\n <button type=\"button\"\n #tripTypeOneway\n [nasClass]=\"getTravelDetailsClass('action', tripType === 1 && 'active')\"\n (click)=\"onTripTypeChange(1)\">\n <nas-icon [type]=\"'medium'\"\n [icon]=\"tripType === 1 ? 'flight-oneway--light' : 'flight-oneway'\"></nas-icon>\n <span [nasClass]=\"getTravelDetailsClass('title', ['small'])\">{{tripSwitchOneWayLabel}}</span>\n </button>\n </div>\n </nas-dropdown>\n </ng-container>\n <ng-container *ngIf=\"enableTransitSwitch\">\n <nas-dropdown *ngIf=\"directOnlyLabel && directTransitLabel\"\n #transitSwitch\n [nasClass]=\"getTravelDetailsClass('dropdown', 'transit-type')\"\n [cssClass]=\"getTravelDetailsClass('dropdown')\"\n [label]=\"getTransitLabel()\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n (openChange)=\"onTransitSwitchOpen($event)\"\n (keydown)=\"transitKeyDown($event)\">\n <div [nasClass]=\"getTravelDetailsClass('actions')\">\n <button type=\"button\"\n #transitTypeTransit\n [nasClass]=\"getTravelDetailsClass('action', !directOnly && 'active')\"\n (click)=\"onTransitChange(false)\">\n <span [nasClass]=\"getTravelDetailsClass('transit-icon')\">\n <span [nasClass]=\"getTravelDetailsClass('transit-icon-stop')\"></span>\n </span>\n <span [nasClass]=\"getTravelDetailsClass('title', 'small')\">{{directTransitLabel}}</span>\n </button>\n <button [nasClass]=\"getTravelDetailsClass('action', directOnly && 'active')\"\n type=\"button\"\n #transitTypeDirectOnly\n (click)=\"onTransitChange(true)\">\n <span [nasClass]=\"getTravelDetailsClass('transit-icon')\"></span>\n <span [nasClass]=\"getTravelDetailsClass('title', 'small')\">{{directOnlyLabel}}</span>\n </button>\n </div>\n </nas-dropdown>\n </ng-container>\n </div>\n <div *ngIf=\"exists(enableDatepickers)\"\n [nasClass]=\"getDatePickersClass()\">\n <nas-datepicker-combo #datepickerCombo\n compact\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlNameOutbound]=\"nasFormControlNameOutbound\"\n [nasFormControlNameInbound]=\"nasFormControlNameInbound\"\n [availability]=\"availability\"\n [availableFlightsLabel]=\"availableFlightsLabel\"\n [dateDisplayFormat]=\"dateDisplayFormat\"\n [disablePastSelection]=\"disablePastSelection\"\n [locale]=\"locale\"\n [noAvailableFlightsLabel]=\"noAvailableFlightsLabel\"\n [inboundAvailableDates]=\"inboundAvailableDates\"\n [inboundLabel]=\"inboundLabel\"\n [noAvailableFlightsLabel]=\"noAvailableFlightsLabel\"\n [outboundAvailableDates]=\"outboundAvailableDates\"\n [outboundLabel]=\"outboundLabel\"\n [timeDisplayFormat]=\"timeDisplayFormat\"\n [times]=\"times\"\n [outboundDisabled]=\"outboundDisabled\"\n [inboundDisabled]=\"inboundDisabled\"\n [outboundOnly]=\"tripType === 1\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n [ariaLabelPreviousMonth]=\"ariaLabelPreviousMonth\"\n [ariaLabelNextMonth]=\"ariaLabelNextMonth\"\n (focusOnNextChange)=\"onFocusOnNextChange($event)\"\n (focusOnPreviousChange)=\"onDatepickerFocusOnPrevious($event)\"\n (inboundMonthChange)=\"onInboundMonthChange($event)\"\n (outboundMonthChange)=\"onOutboundMonthChange($event)\"\n [(outboundOpen)]=\"outboundOpen\"\n [(inboundOpen)]=\"inboundOpen\"\n [(inboundSelectedDate)]=\"inboundSelectedDate\"\n [(outboundSelectedDate)]=\"outboundSelectedDate\">\n </nas-datepicker-combo>\n </div>\n <div *ngIf=\"subsidyDiscounts && subsidyDiscounts.length > 0\"\n [nasClass]=\"getFilterClass('subsidy-discount')\">\n <nas-subsidy-discount #subsidyDiscount\n [discounts]=\"subsidyDiscounts\"\n [selectedDiscount]=\"selectedSubsidyDiscount\"\n [label]=\"subsidyDiscountLabel\"\n (infoButtonClick)=\"onSubsidyDiscountInfoClick()\"\n (discountSelectChange)=\"onSubsidyDiscountSelectChange($event)\"\n (infoButtonKeydown)=\"onSubsidyDiscountInfoButtonKeydown($event)\"></nas-subsidy-discount>\n </div>\n </ng-container>\n </div>\n </div>\n</ng-template>", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-filter{background-color:#f1f1f1;position:relative;z-index:6}.nas-filter__title{margin-top:24px;font-size:28px;line-height:34px}@media screen and (min-width: 640px){.nas-filter__title{font-size:32px;line-height:38px}}.nas-filter__title--md{margin-top:60px}.nas-filter__filters{margin-top:12px;display:flex;flex-wrap:wrap;order:2}.nas-filter__filters .nas-filter__date-combo{order:2;flex:1;z-index:2}.nas-filter__filters--minimized .nas-filter__airport-select:after{content:\"\";position:absolute;bottom:-3px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.nas-filter__filters--maximize .nas-filter__airport-select:after{display:none}.nas-filter__filters--md .nas-filter__date-combo{flex:0 0 100%}.nas-filter__filters--lg{display:flex;align-items:stretch}.nas-filter__filters--lg .nas-filter__date-combo{order:3;flex:0 0 100%;z-index:1}.nas-filter__filters--lg .nas-filter__suggestions{order:3}.nas-filter__filters--lg .nas-filter__filters--minimized .nas-filter__airport-select{margin-right:0;flex:0 1 100%}.nas-filter__filters--lg .nas-filter__filters--maximize .nas-filter__airport-select{margin-right:3px;flex:auto}.nas-filter__filters--lg.nas-filter__filters--maximize .nas-filter__date-combo{border-bottom:3px solid #c3c3c3}.nas-filter__suggestions{flex-basis:100%;position:relative;margin-top:3px}.nas-filter__suggestions:before{content:\"\";position:absolute;top:-3px;left:0px;width:100%;border-top:3px solid #c3c3c3}.nas-filter__airport-select{order:0;flex:0 0 100%;position:relative}.nas-filter__airport-select--lg{width:0;margin:0 3px 0 0;flex:1 1 auto}.nas-filter__toggler{font-family:Apercu,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;font-size:18px;line-height:26px;color:#003251;margin-top:6px;z-index:1}.nas-filter__toggler .nas-filter__toggle-action{cursor:pointer;margin-top:2px;float:right}.nas-filter__toggler .nas-filter__direct-only{display:inline-block}.travel-details{position:relative;display:flex;margin:0;flex-wrap:wrap;z-index:1}.travel-details__list{margin-top:12px}.travel-details__list-item{display:flex;align-items:center;justify-content:space-between;padding:6px 0 0}.travel-details__list-item:not(:last-child){padding:6px 0 9px;border-bottom:2px solid #f1f1f1}.travel-details__label{flex-grow:2;margin:0 6px 0 0}.travel-details__title{font-size:18px;line-height:26px;display:block;min-width:124px}.travel-details__title--small{font-size:16px;line-height:26px;margin:0}.travel-details__actions{display:flex}.travel-details__action{padding:12px;width:100%;background-color:#fff}.travel-details__action:hover,.travel-details__action:focus{background-color:#e3e3e3}.travel-details__action--active,.travel-details__action--active:hover,.travel-details__action--active:focus{color:#fff;background-color:#003251}.travel-details__action:focus{outline:none;box-shadow:inset 0 0 2px #c3c3c3,inset 0 0 2px 3px #3b99fc;z-index:1}.travel-details__icon{margin-bottom:9px}.travel-details__dropdown{margin-right:0}.travel-details__dropdown:after{content:\"\";position:absolute;bottom:-3px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.travel-details__dropdown--trip-type{order:1;flex:1;margin-right:3px;margin-bottom:3px}.travel-details__dropdown--transit-type{order:2;flex:1;margin-bottom:3px}.travel-details__dropdown--passengers{order:3;flex:1 0 100%;margin-bottom:3px}.travel-details__dropdown--md.travel-details__dropdown--trip-type{order:2;flex:1;margin-right:3px}.travel-details__dropdown--md.travel-details__dropdown--transit-type{order:3;flex:1}.travel-details__dropdown--md.travel-details__dropdown--passengers{order:1;flex:1;margin-right:3px}.travel-details__dropdown--lg.travel-details__dropdown--trip-type{order:2;flex:1 1 auto;margin-right:3px}.travel-details__dropdown--lg.travel-details__dropdown--transit-type{order:3;flex:1 1 auto}.travel-details__dropdown--lg.travel-details__dropdown--passengers{order:1;flex:1 1 auto;margin-right:3px}.travel-details__dropdown--lg:focus{outline:none}.travel-details__dropdown--lg:after{display:none}.travel-details__transit-icon{position:relative;display:flex;justify-content:center;width:calc(100% - 48px);margin:12px auto;height:24px;background-color:inherit}.travel-details__transit-icon:before{content:\"\";position:absolute;height:2px;left:0;width:100%;top:calc(50% - 1px);background-color:currentColor}.travel-details__transit-icon:after{content:\"\";position:absolute;width:10px;height:10px;right:0;top:calc(50% - 5px);border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}.travel-details__transit-icon-stop{position:relative;top:calc(50% - 5px);width:10px;height:10px;border:2px solid currentColor;border-radius:50%;background-color:inherit}.travel-details--combined{order:3;flex:0 0 100%}.travel-details--combined.travel-details--md:after{content:\"\";position:absolute;bottom:-6px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.travel-details--combined.travel-details--md .travel-details__dropdown{margin:0 3px 0 0}.travel-details--combined.travel-details--md .travel-details__dropdown:last-child{margin:0}.travel-details--combined.travel-details--md .dropdown__toggle{height:calc(100% - 3px);margin:0;padding-left:16px;padding-right:16px}.travel-details--combined.travel-details--lg{order:2;flex:0 0 auto;margin:0 0 0 -3px;padding-left:3px;z-index:2}.travel-details--combined.travel-details--lg:after{content:\"\";position:absolute;bottom:-3px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.travel-details--combined.travel-details--lg .dropdown__toggle{height:inherit}@media (min-width: 1000px){.travel-details--no-border:after{border-bottom:none}}::ng-deep .nas-filter__filters .travel-details--no-border:after{display:none}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle{padding:20px!important;width:100%;height:100%}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle:hover:after{display:none}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle nas-icon{float:right}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle:focus{outline:none}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown{width:100%}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown:focus{outline:none}@media (min-width: 640px){::ng-deep .nas-filter__filters .travel-details__dropdown:after{border-bottom:none}}::ng-deep .nas-filter__filters .nas-filter__date-combo .nas-datepicker__date-picker-wrapper{border-bottom:none!important}::ng-deep .nas-filter__filters .nas-filter__date-combo--side-by-side .nas-datepicker-combo__separator{display:block;border-bottom:none!important}::ng-deep .nas-filter__filters .nas-airport-select__input-line{border-top:none!important}::ng-deep .nas-filter__filters .nas-airport-select-combo__separator{border-bottom:none!important}::ng-deep .nas-filter__filters .nas-dropdown__toggle{height:64px!important}::ng-deep .nas-filter__filters .nas-datepicker-combo__separator{display:none}::ng-deep .nas-filter__filters--lg .nas-dropdown__toggle{display:flex}::ng-deep .nas-filter__filters--lg .nas-filter__date-combo .nas-datepicker__date-picker-wrapper{border-bottom:3px solid #c3c3c3}::ng-deep .nas-filter__filters--lg .nas-airport-select__input-line{border-top:3px solid #c3c3c3!important}::ng-deep .nas-filter__filters--lg .nas-datepicker-combo__separator{border-bottom:3px solid #c3c3c3!important}::ng-deep .nas-filter__filters--lg .nas-airport-select-combo__separator{border-bottom:3px solid #c3c3c3!important}::ng-deep .nas-filter__rotate{transform:rotate(180deg)}::ng-deep .nas-filter__rotate-enter,::ng-deep .nas-filter__rotate-leave-active{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden}::ng-deep .nas-filter__rotate-enter{animation:flip-in .55s ease both}::ng-deep .nas-filter__rotate-leave-active{animation:flip-out .2s ease-out both}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__input-line{border-top:none}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select-combo__separator{border-top:none}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__results-wrapper{margin-top:0}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__results{top:-3px}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__icon{bottom:18px}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select:after{display:none}::ng-deep .nas-filter__airport-select .nas-airport-select__input-line{display:none}::ng-deep .nas-filter__airport-origin-select{width:100%;max-width:100%}::ng-deep .nas-filter__airport-origin-select .nas-airport-select:only-child{max-width:100%}@media (min-width: 640px){::ng-deep .nas-filter__airport-origin-select{max-width:360px;flex:auto;margin-right:3px}::ng-deep .nas-filter__airport-origin-select .nas-airport-select:only-child{width:auto;max-width:360px}}::ng-deep .nas-filter__origin-combined{border-bottom:3px solid #c3c3c3;order:3;flex:0 0 100%;display:flex;flex-wrap:wrap}@media (min-width: 1000px){::ng-deep .nas-filter__origin-combined{display:flex;flex:none}::ng-deep .nas-filter__origin-combined .nas-dropdown__toggle nas-icon{float:none!important}}::ng-deep .nas-filter__subsidy-discount{order:3}::ng-deep .nas-filter__subsidy-discount .nas-subsidy-discount{margin-top:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }, { kind: "component", type: AirportSelectComponent, selector: "nas-airport-select", inputs: ["airports", "airportRelations", "latestSearchesOrigin", "latestSearchesDestination", "closestAirports", "allowedOriginAiports", "allowedDestinationAirports", "displayLatestSearches", "displayClosestAirports", "combo", "useSwitch", "allAirportsLabel", "latestSearchesLabel", "closestAirportsLabel", "geolocationLabel", "geolocationBlockedLabel", "selectOriginFirstLabel", "invalidDestinationText", "labelOrigin", "placeholderOrigin", "labelDestination", "placeholderDestination", "keepSelection", "nasFormControlNameOrigin", "nasFormControlNameDestination", "nasFormGroup", "originAirportCode", "destinationAirportCode", "ariaLabelClear", "ariaLabelBackdrop"], outputs: ["originChange", "originOpenChange", "destinationChange", "destinationOpenChange", "focusOnNext", "positionChange"] }, { kind: "component", type: DropdownComponent, selector: "nas-dropdown", inputs: ["open", "id", "ariaLabelBackdrop", "cssClass", "inline", "label", "stretched", "labelStyle"], outputs: ["openChange"] }, { kind: "component", type: PassengerSelectComponent, selector: "nas-passenger-select", inputs: ["passengers", "maxPaxCount", "minAdultCount", "groupBookingLimit", "title", "adultsLabel", "childrenLabel", "infantsLabel", "groupBookingLabel", "nasFormGroup", "nasFormControlGroupBooking", "ariaLabelSubtract", "ariaLabelAdd"], outputs: ["passengersChange", "focusOnNext", "focusOnPrevious"] }, { kind: "component", type: AccordionComponent, selector: "nas-accordion", inputs: ["expanded", "title", "subheader", "icon", "simple", "spaced", "small", "inverted", "containerOnToggle", "nopadding", "transparent", "approve", "primary", "info", "subheaderPositive", "subheaderNegative", "cssClass", "cssStyle"], outputs: ["toggleChange"] }, { kind: "component", type: IconComponent, selector: "nas-icon", inputs: ["icon", "type", "isIndicator", "lightCircularBackground", "cssClass"] }, { kind: "component", type: DatepickerComboComponent, selector: "nas-datepicker-combo", inputs: ["ariaLabelBackdrop", "outboundOpen", "inboundOpen", "noAvailableFlightsLabel", "availableFlightsLabel", "disablePastSelection", "outboundDisabled", "inboundDisabled", "outboundOnly", "outboundLabel", "inboundLabel", "availability", "outboundAvailableDates", "inboundAvailableDates", "times", "dateDisplayFormat", "timeDisplayFormat", "locale", "compact", "nasFormGroup", "nasFormControlNameOutbound", "nasFormControlNameInbound", "outboundSelectedDate", "inboundSelectedDate", "disableBackdrop", "outboundSelectedTime", "inboundSelectedTime", "ariaLabelPreviousMonth", "ariaLabelNextMonth", "inboundLowerLimitDateOffset"], outputs: ["outboundSelectedDateChange", "inboundSelectedDateChange", "outboundOpenChange", "inboundOpenChange", "outboundMonthChange", "inboundMonthChange", "focusOnNextChange", "focusOnPreviousChange"] }, { kind: "component", type: SubsidyDiscountComponent, selector: "nas-subsidy-discount", inputs: ["label", "icon", "selectedDiscount", "discounts"], outputs: ["infoButtonClick", "infoButtonKeydown", "discountSelectChange"] }, { kind: "component", type: SuggestionsComponent, selector: "nas-suggestions", inputs: ["suggestions", "orLabel"], outputs: ["airportSelect"] }] }); }
|
|
6849
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FilterComponent, selector: "nas-filter", inputs: { airportRelations: "airportRelations", ariaLabelClear: "ariaLabelClear", ariaLabelSubtract: "ariaLabelSubtract", ariaLabelBackdrop: "ariaLabelBackdrop", ariaLabelAdd: "ariaLabelAdd", allowedOriginAirports: "allowedOriginAirports", allowedDestinationAirports: "allowedDestinationAirports", displayLatestSearches: "displayLatestSearches", useSwitch: "useSwitch", displayClosestAirports: "displayClosestAirports", originAirportCode: "originAirportCode", destinationAirportCode: "destinationAirportCode", passengerSelectLabel: "passengerSelectLabel", maxPaxCount: "maxPaxCount", passengers: "passengers", minAdultCount: "minAdultCount", tripSwitchRoundTripLabel: "tripSwitchRoundTripLabel", tripSwitchOneWayLabel: "tripSwitchOneWayLabel", directOnlyLabel: "directOnlyLabel", directTransitLabel: "directTransitLabel", minimizeOnMobile: "minimizeOnMobile", expandedAccordionMobile: "expandedAccordionMobile", defaultSummarySeparator: "defaultSummarySeparator", lastSummarySeparator: "lastSummarySeparator", passengerSelectTitle: "passengerSelectTitle", passengerSelectAdultsLabel: "passengerSelectAdultsLabel", passengerSelectChildrenLabel: "passengerSelectChildrenLabel", passengerSelectInfantsLabel: "passengerSelectInfantsLabel", groupBookingLabel: "groupBookingLabel", allAirportsLabel: "allAirportsLabel", latestSearchesLabel: "latestSearchesLabel", closestAirportsLabel: "closestAirportsLabel", selectOriginFirstLabel: "selectOriginFirstLabel", labelOrigin: "labelOrigin", placeholderOrigin: "placeholderOrigin", labelDestination: "labelDestination", geolocationLabel: "geolocationLabel", geolocationBlockedLabel: "geolocationBlockedLabel", placeholderDestination: "placeholderDestination", keepSelection: "keepSelection", editSearchTitle: "editSearchTitle", nasFormGroup: "nasFormGroup", nasFormControlNameOrigin: "nasFormControlNameOrigin", nasFormControlNameDestination: "nasFormControlNameDestination", nasFormControlNameTripType: "nasFormControlNameTripType", nasFormControlNameDirectOnly: "nasFormControlNameDirectOnly", nasFormControlNameOutbound: "nasFormControlNameOutbound", nasFormControlNameInbound: "nasFormControlNameInbound", nasFormControlGroupBooking: "nasFormControlGroupBooking", nasFormControlNameSubsidyDiscount: "nasFormControlNameSubsidyDiscount", overrideOrigin: "overrideOrigin", enableSuggestions: "enableSuggestions", closestAirports: "closestAirports", minimize: "minimize", airports: "airports", tripType: "tripType", directOnly: "directOnly", groupBookingLimit: "groupBookingLimit", subsidyDiscounts: "subsidyDiscounts", selectedSubsidyDiscount: "selectedSubsidyDiscount", subsidyDiscountLabel: "subsidyDiscountLabel", ariaLabelPreviousMonth: "ariaLabelPreviousMonth", ariaLabelNextMonth: "ariaLabelNextMonth", noAvailableFlightsLabel: "noAvailableFlightsLabel", availableFlightsLabel: "availableFlightsLabel", disablePastSelection: "disablePastSelection", outboundLabel: "outboundLabel", inboundLabel: "inboundLabel", availability: "availability", outboundAvailableDates: "outboundAvailableDates", inboundAvailableDates: "inboundAvailableDates", times: "times", dateDisplayFormat: "dateDisplayFormat", timeDisplayFormat: "timeDisplayFormat", locale: "locale", compact: "compact", outboundDisabled: "outboundDisabled", inboundDisabled: "inboundDisabled", enableDatepickers: "enableDatepickers", minimizingLabel: "minimizingLabel", maximizingLabel: "maximizingLabel", directOnlyMobileLabel: "directOnlyMobileLabel", orLabel: "orLabel", invalidDestinationText: "invalidDestinationText", outboundSelectedDate: "outboundSelectedDate", inboundSelectedDate: "inboundSelectedDate", enableDestinationSelect: "enableDestinationSelect", enablePassengersSelect: "enablePassengersSelect", enableTripSwitch: "enableTripSwitch", enableTransitSwitch: "enableTransitSwitch" }, outputs: { originOpenChange: "originOpenChange", destinationOpenChange: "destinationOpenChange", passengerSelectOpenChange: "passengerSelectOpenChange", originChange: "originChange", destinationChange: "destinationChange", passengersChange: "passengersChange", tripTypeChange: "tripTypeChange", directOnlyChange: "directOnlyChange", outboundSelectedDateChange: "outboundSelectedDateChange", inboundSelectedDateChange: "inboundSelectedDateChange", outboundOpenChange: "outboundOpenChange", inboundOpenChange: "inboundOpenChange", outboundMonthChange: "outboundMonthChange", inboundMonthChange: "inboundMonthChange", focusOnNextChange: "focusOnNextChange", positionChange: "positionChange", subsidyDiscountInfoClick: "subsidyDiscountInfoClick" }, viewQueries: [{ propertyName: "passengerSelectDropdown", first: true, predicate: ["passengerSelectDropdown"], descendants: true }, { propertyName: "passengerSelect", first: true, predicate: ["passengerSelect"], descendants: true }, { propertyName: "tripSwitch", first: true, predicate: ["tripSwitch"], descendants: true }, { propertyName: "transitSwitch", first: true, predicate: ["transitSwitch"], descendants: true }, { propertyName: "airportSelect", first: true, predicate: ["airportSelect"], descendants: true }, { propertyName: "datepickerCombo", first: true, predicate: ["datepickerCombo"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }, { propertyName: "tripTypeOneway", first: true, predicate: ["tripTypeOneway"], descendants: true }, { propertyName: "tripTypeRoundTrip", first: true, predicate: ["tripTypeRoundTrip"], descendants: true }, { propertyName: "transitTypeDirectOnly", first: true, predicate: ["transitTypeDirectOnly"], descendants: true }, { propertyName: "transitTypeTransit", first: true, predicate: ["transitTypeTransit"], descendants: true }, { propertyName: "subsidyDiscount", first: true, predicate: ["subsidyDiscount"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<nas-accordion *ngIf=\"deviceHelper?.isMobile() && exists(minimizeOnMobile); else filterTemplate\"\n simple\n containerOnToggle\n transparent\n [expanded]=\"expandedAccordionMobile\"\n [title]=\"editSearchTitle\"\n (toggleChange)=\"onAccordionToggleChange($event)\">\n <ng-container *ngTemplateOutlet=\"filterTemplate\"></ng-container>\n</nas-accordion>\n<div class=\"container\"\n *ngIf=\"deviceHelper?.isMobile() && exists(minimizeOnMobile) && displaySummary\">{{getSummary()}}</div>\n\n<ng-template #filterTemplate>\n <div #container\n [nasClass]=\"getContainerClass()\">\n <div [nasClass]=\"getFilterClass('filters', [exists(minimize) && 'minimized', maximize && 'maximize'])\">\n <ng-container *ngIf=\"airports?.length > 0\">\n <nas-airport-select *ngIf=\"airports && airportRelations && (enableDestinationSelect)\"\n #airportSelect\n combo\n [ariaLabelClear]=\"ariaLabelClear\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlNameOrigin]=\"nasFormControlNameOrigin\"\n [nasFormControlNameDestination]=\"nasFormControlNameDestination\"\n [useSwitch]=\"useSwitch\"\n [nasClass]=\"getAirportSelectClass()\"\n [airports]=\"airports\"\n [allowedOriginAiports]=\"allowedOriginAirports\"\n [allowedDestinationAirports]=\"allowedDestinationAirports\"\n [airportRelations]=\"airportRelations\"\n [latestSearchesOrigin]=\"latestSearchesOrigin\"\n [latestSearchesDestination]=\"latestSearchesDestination\"\n [displayLatestSearches]=\"displayLatestSearches\"\n [displayClosestAirports]=\"displayClosestAirports\"\n [originAirportCode]=\"originAirportCode\"\n [destinationAirportCode]=\"destinationAirportCode\"\n [allAirportsLabel]=\"allAirportsLabel\"\n [latestSearchesLabel]=\"latestSearchesLabel\"\n [closestAirportsLabel]=\"closestAirportsLabel\"\n [closestAirports]=\"closestAirports\"\n [selectOriginFirstLabel]=\"selectOriginFirstLabel\"\n [labelOrigin]=\"labelOrigin\"\n [placeholderOrigin]=\"placeholderOrigin\"\n [labelDestination]=\"labelDestination\"\n [geolocationLabel]=\"geolocationLabel\"\n [geolocationBlockedLabel]=\"geolocationBlockedLabel\"\n [placeholderDestination]=\"placeholderDestination\"\n [keepSelection]=\"keepSelection\"\n [invalidDestinationText]=\"invalidDestinationText\"\n (originChange)=\"setSelectedOriginAirport($event)\"\n (destinationChange)=\"onDestinationChange($event)\"\n (focusOnNext)=\"setFocusOnPassengerSelect($event)\"\n (originOpenChange)=\"onOriginOpen($event)\"\n (destinationOpenChange)=\"onDestinationOpen($event)\"\n (positionChange)=\"getClosestAirports($event)\"></nas-airport-select>\n <nas-airport-select *ngIf=\"airports && (!enableDestinationSelect)\"\n #airportSelect\n [ariaLabelClear]=\"ariaLabelClear\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlNameOrigin]=\"nasFormControlNameOrigin\"\n [useSwitch]=\"useSwitch\"\n [nasClass]=\"getClass('airport-origin-select')\"\n [airports]=\"airports\"\n [allowedOriginAiports]=\"allowedOriginAirports\"\n [airportRelations]=\"airportRelations\"\n [latestSearchesOrigin]=\"latestSearchesOrigin\"\n [displayLatestSearches]=\"displayLatestSearches\"\n [displayClosestAirports]=\"displayClosestAirports\"\n [originAirportCode]=\"originAirportCode\"\n [allAirportsLabel]=\"allAirportsLabel\"\n [latestSearchesLabel]=\"latestSearchesLabel\"\n [closestAirportsLabel]=\"closestAirportsLabel\"\n [closestAirports]=\"closestAirports\"\n [selectOriginFirstLabel]=\"selectOriginFirstLabel\"\n [labelOrigin]=\"labelOrigin\"\n [placeholderOrigin]=\"placeholderOrigin\"\n [geolocationLabel]=\"geolocationLabel\"\n [geolocationBlockedLabel]=\"geolocationBlockedLabel\"\n [keepSelection]=\"keepSelection\"\n (originChange)=\"setSelectedOriginAirport($event)\"\n (focusOnNext)=\"setFocusOnPassengerSelect($event)\"\n (originOpenChange)=\"onOriginOpen($event)\"\n (positionChange)=\"getClosestAirports($event)\"></nas-airport-select>\n <nas-suggestions *ngIf=\"(closestAirports || latestSearchesOrigin) && exists(enableSuggestions)\"\n [nasClass]=\"getFilterClass('suggestions')\"\n [suggestions]=\"getSuggestions()\"\n [orLabel]=\"orLabel\"\n (airportSelect)=\"setSelectedOriginAirport($event)\"></nas-suggestions>\n </ng-container>\n <ng-container *ngIf=\"shouldMaximize()\">\n <div\n [nasClass]=\"!enableDestinationSelect ? getClass('origin-combined') :\n getTravelDetailsClass('', ['combined', exists(enableDatepickers) && 'no-border', exists(minimize) && 'minimized'])\">\n <ng-container *ngIf=\"enablePassengersSelect\">\n <nas-dropdown #passengerSelectDropdown\n *ngIf=\"passengers?.length > 0\"\n [nasClass]=\"getTravelDetailsClass('dropdown', 'passengers')\"\n [cssClass]=\"getTravelDetailsClass('dropdown')\"\n [label]=\"passengerSelectLabel\"\n [labelStyle]=\"{'width': '102px'}\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n (openChange)=\"onPassengerSelectOpen($event)\"\n (keydown)=\"passengerKeyDown($event)\">\n <nas-passenger-select #passengerSelect\n [ariaLabelAdd]=\"ariaLabelAdd\"\n [ariaLabelSubtract]=\"ariaLabelSubtract\"\n [adultsLabel]=\"passengerSelectAdultsLabel\"\n [childrenLabel]=\"passengerSelectChildrenLabel\"\n [infantsLabel]=\"passengerSelectInfantsLabel\"\n [maxPaxCount]=\"maxPaxCount\"\n [minAdultCount]=\"minAdultCount\"\n [title]=\"passengerSelectTitle\"\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlGroupBooking]=\"nasFormControlGroupBooking\"\n [groupBookingLabel]=\"groupBookingLabel\"\n [groupBookingLimit]=\"groupBookingLimit\"\n (focusOnNext)=\"onPassengersSelectFocusOnNext()\"\n (focusOnPrevious)=\"onPassengersSelectFocusOnPrevious()\"\n [(passengers)]=\"passengers\"></nas-passenger-select>\n </nas-dropdown>\n </ng-container>\n <ng-container *ngIf=\"enableTripSwitch\">\n <nas-dropdown *ngIf=\"tripSwitchOneWayLabel && tripSwitchRoundTripLabel\"\n #tripSwitch\n [nasClass]=\"getTravelDetailsClass('dropdown', 'trip-type')\"\n [cssClass]=\"getTravelDetailsClass('dropdown')\"\n [label]=\"getTripSwitchLabel()\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n (openChange)=\"onTripSwitchOpen($event)\"\n (keydown)=\"onTripSwitchKeyDown($event)\">\n <div [nasClass]=\"getTravelDetailsClass('actions')\">\n <button type=\"button\"\n #tripTypeRoundTrip\n [nasClass]=\"getTravelDetailsClass('action', tripType === 2 && 'active')\"\n (click)=\"onTripTypeChange(2)\">\n <nas-icon [type]=\"'medium'\"\n [icon]=\"tripType === 2 ? 'flight-return--light' : 'flight-return'\"></nas-icon>\n <span [nasClass]=\"getTravelDetailsClass('title', 'small')\">{{tripSwitchRoundTripLabel}}</span>\n </button>\n <button type=\"button\"\n #tripTypeOneway\n [nasClass]=\"getTravelDetailsClass('action', tripType === 1 && 'active')\"\n (click)=\"onTripTypeChange(1)\">\n <nas-icon [type]=\"'medium'\"\n [icon]=\"tripType === 1 ? 'flight-oneway--light' : 'flight-oneway'\"></nas-icon>\n <span [nasClass]=\"getTravelDetailsClass('title', ['small'])\">{{tripSwitchOneWayLabel}}</span>\n </button>\n </div>\n </nas-dropdown>\n </ng-container>\n <ng-container *ngIf=\"enableTransitSwitch\">\n <nas-dropdown *ngIf=\"directOnlyLabel && directTransitLabel\"\n #transitSwitch\n [nasClass]=\"getTravelDetailsClass('dropdown', 'transit-type')\"\n [cssClass]=\"getTravelDetailsClass('dropdown')\"\n [label]=\"getTransitLabel()\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n (openChange)=\"onTransitSwitchOpen($event)\"\n (keydown)=\"transitKeyDown($event)\">\n <div [nasClass]=\"getTravelDetailsClass('actions')\">\n <button type=\"button\"\n #transitTypeTransit\n [nasClass]=\"getTravelDetailsClass('action', !directOnly && 'active')\"\n (click)=\"onTransitChange(false)\">\n <span [nasClass]=\"getTravelDetailsClass('transit-icon')\">\n <span [nasClass]=\"getTravelDetailsClass('transit-icon-stop')\"></span>\n </span>\n <span [nasClass]=\"getTravelDetailsClass('title', 'small')\">{{directTransitLabel}}</span>\n </button>\n <button [nasClass]=\"getTravelDetailsClass('action', directOnly && 'active')\"\n type=\"button\"\n #transitTypeDirectOnly\n (click)=\"onTransitChange(true)\">\n <span [nasClass]=\"getTravelDetailsClass('transit-icon')\"></span>\n <span [nasClass]=\"getTravelDetailsClass('title', 'small')\">{{directOnlyLabel}}</span>\n </button>\n </div>\n </nas-dropdown>\n </ng-container>\n </div>\n <div *ngIf=\"exists(enableDatepickers)\"\n [nasClass]=\"getDatePickersClass()\">\n <nas-datepicker-combo #datepickerCombo\n compact\n [nasFormGroup]=\"nasFormGroup\"\n [nasFormControlNameOutbound]=\"nasFormControlNameOutbound\"\n [nasFormControlNameInbound]=\"nasFormControlNameInbound\"\n [availability]=\"availability\"\n [availableFlightsLabel]=\"availableFlightsLabel\"\n [dateDisplayFormat]=\"dateDisplayFormat\"\n [disablePastSelection]=\"disablePastSelection\"\n [locale]=\"locale\"\n [noAvailableFlightsLabel]=\"noAvailableFlightsLabel\"\n [inboundAvailableDates]=\"inboundAvailableDates\"\n [inboundLabel]=\"inboundLabel\"\n [noAvailableFlightsLabel]=\"noAvailableFlightsLabel\"\n [outboundAvailableDates]=\"outboundAvailableDates\"\n [outboundLabel]=\"outboundLabel\"\n [timeDisplayFormat]=\"timeDisplayFormat\"\n [times]=\"times\"\n [outboundDisabled]=\"outboundDisabled\"\n [inboundDisabled]=\"inboundDisabled\"\n [outboundOnly]=\"tripType === 1\"\n [ariaLabelBackdrop]=\"ariaLabelBackdrop\"\n [ariaLabelPreviousMonth]=\"ariaLabelPreviousMonth\"\n [ariaLabelNextMonth]=\"ariaLabelNextMonth\"\n (focusOnNextChange)=\"onFocusOnNextChange($event)\"\n (focusOnPreviousChange)=\"onDatepickerFocusOnPrevious($event)\"\n (inboundMonthChange)=\"onInboundMonthChange($event)\"\n (outboundMonthChange)=\"onOutboundMonthChange($event)\"\n [(outboundOpen)]=\"outboundOpen\"\n [(inboundOpen)]=\"inboundOpen\"\n [(inboundSelectedDate)]=\"inboundSelectedDate\"\n [(outboundSelectedDate)]=\"outboundSelectedDate\">\n </nas-datepicker-combo>\n </div>\n <div *ngIf=\"subsidyDiscounts && subsidyDiscounts.length > 0\"\n [nasClass]=\"getFilterClass('subsidy-discount')\">\n <nas-subsidy-discount #subsidyDiscount\n [discounts]=\"subsidyDiscounts\"\n [selectedDiscount]=\"selectedSubsidyDiscount\"\n [label]=\"subsidyDiscountLabel\"\n (infoButtonClick)=\"onSubsidyDiscountInfoClick()\"\n (discountSelectChange)=\"onSubsidyDiscountSelectChange($event)\"\n (infoButtonKeydown)=\"onSubsidyDiscountInfoButtonKeydown($event)\"></nas-subsidy-discount>\n </div>\n </ng-container>\n </div>\n </div>\n</ng-template>", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-filter{background-color:#f1f1f1;position:relative;z-index:6}.nas-filter__title{margin-top:24px;font-size:28px;line-height:34px}@media screen and (min-width: 640px){.nas-filter__title{font-size:32px;line-height:38px}}.nas-filter__title--md{margin-top:60px}.nas-filter__filters{margin-top:12px;display:flex;flex-wrap:wrap;order:2}.nas-filter__filters .nas-filter__date-combo{order:2;flex:1;z-index:2}.nas-filter__filters--minimized .nas-filter__airport-select:after{content:\"\";position:absolute;bottom:-3px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.nas-filter__filters--maximize .nas-filter__airport-select:after{display:none}.nas-filter__filters--md .nas-filter__date-combo{flex:0 0 100%}.nas-filter__filters--lg{display:flex;align-items:stretch}.nas-filter__filters--lg .nas-filter__date-combo{order:3;flex:0 0 100%;z-index:1}.nas-filter__filters--lg .nas-filter__suggestions{order:3}.nas-filter__filters--lg .nas-filter__filters--minimized .nas-filter__airport-select{margin-right:0;flex:0 1 100%}.nas-filter__filters--lg .nas-filter__filters--maximize .nas-filter__airport-select{margin-right:3px;flex:auto}.nas-filter__filters--lg.nas-filter__filters--maximize .nas-filter__date-combo{border-bottom:3px solid #c3c3c3}.nas-filter__suggestions{flex-basis:100%;position:relative;margin-top:3px}.nas-filter__suggestions:before{content:\"\";position:absolute;top:-3px;left:0px;width:100%;border-top:3px solid #c3c3c3}.nas-filter__airport-select{order:0;flex:0 0 100%;position:relative}.nas-filter__airport-select--lg{width:0;margin:0 3px 0 0;flex:1 1 auto}.nas-filter__toggler{font-family:Apercu,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;font-size:18px;line-height:26px;color:#003251;margin-top:6px;z-index:1}.nas-filter__toggler .nas-filter__toggle-action{cursor:pointer;margin-top:2px;float:right}.nas-filter__toggler .nas-filter__direct-only{display:inline-block}.travel-details{position:relative;display:flex;margin:0;flex-wrap:wrap;z-index:1}.travel-details__list{margin-top:12px}.travel-details__list-item{display:flex;align-items:center;justify-content:space-between;padding:6px 0 0}.travel-details__list-item:not(:last-child){padding:6px 0 9px;border-bottom:2px solid #f1f1f1}.travel-details__label{flex-grow:2;margin:0 6px 0 0}.travel-details__title{font-size:18px;line-height:26px;display:block;min-width:124px}.travel-details__title--small{font-size:16px;line-height:26px;margin:0}.travel-details__actions{display:flex}.travel-details__action{padding:12px;width:100%;background-color:#fff}.travel-details__action:hover,.travel-details__action:focus{background-color:#e3e3e3}.travel-details__action--active,.travel-details__action--active:hover,.travel-details__action--active:focus{color:#fff;background-color:#003251}.travel-details__action:focus{outline:none;box-shadow:inset 0 0 2px #c3c3c3,inset 0 0 2px 3px #3b99fc;z-index:1}.travel-details__icon{margin-bottom:9px}.travel-details__dropdown{margin-right:0}.travel-details__dropdown:after{content:\"\";position:absolute;bottom:-3px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.travel-details__dropdown--trip-type{order:1;flex:1;margin-right:3px;margin-bottom:3px}.travel-details__dropdown--transit-type{order:2;flex:1;margin-bottom:3px}.travel-details__dropdown--passengers{order:3;flex:1 0 100%;margin-bottom:3px}.travel-details__dropdown--md.travel-details__dropdown--trip-type{order:2;flex:1;margin-right:3px}.travel-details__dropdown--md.travel-details__dropdown--transit-type{order:3;flex:1}.travel-details__dropdown--md.travel-details__dropdown--passengers{order:1;flex:1;margin-right:3px}.travel-details__dropdown--lg.travel-details__dropdown--trip-type{order:2;flex:1 1 auto;margin-right:3px}.travel-details__dropdown--lg.travel-details__dropdown--transit-type{order:3;flex:1 1 auto}.travel-details__dropdown--lg.travel-details__dropdown--passengers{order:1;flex:1 1 auto;margin-right:3px}.travel-details__dropdown--lg:focus{outline:none}.travel-details__dropdown--lg:after{display:none}.travel-details__transit-icon{position:relative;display:flex;justify-content:center;width:calc(100% - 48px);margin:12px auto;height:24px;background-color:inherit}.travel-details__transit-icon:before{content:\"\";position:absolute;height:2px;left:0;width:100%;top:calc(50% - 1px);background-color:currentColor}.travel-details__transit-icon:after{content:\"\";position:absolute;width:10px;height:10px;right:0;top:calc(50% - 5px);border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}.travel-details__transit-icon-stop{position:relative;top:calc(50% - 5px);width:10px;height:10px;border:2px solid currentColor;border-radius:50%;background-color:inherit}.travel-details--combined{order:3;flex:0 0 100%}.travel-details--combined.travel-details--md:after{content:\"\";position:absolute;bottom:-6px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.travel-details--combined.travel-details--md .travel-details__dropdown{margin:0 3px 0 0}.travel-details--combined.travel-details--md .travel-details__dropdown:last-child{margin:0}.travel-details--combined.travel-details--md .dropdown__toggle{height:calc(100% - 3px);margin:0;padding-left:16px;padding-right:16px}.travel-details--combined.travel-details--lg{order:2;flex:0 0 auto;margin:0 0 0 -3px;padding-left:3px;z-index:2}.travel-details--combined.travel-details--lg:after{content:\"\";position:absolute;bottom:-3px;left:0px;width:100%;border-bottom:3px solid #c3c3c3}.travel-details--combined.travel-details--lg .dropdown__toggle{height:inherit}@media (min-width: 1000px){.travel-details--no-border:after{border-bottom:none}}::ng-deep .nas-filter__filters .travel-details--no-border:after{display:none}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle{padding:20px!important;width:100%;height:100%}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle:hover:after{display:none}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle nas-icon{float:right}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown__toggle:focus{outline:none}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown{width:100%}::ng-deep .nas-filter__filters .travel-details__dropdown .nas-dropdown:focus{outline:none}@media (min-width: 640px){::ng-deep .nas-filter__filters .travel-details__dropdown:after{border-bottom:none}}::ng-deep .nas-filter__filters .nas-filter__date-combo .nas-datepicker__date-picker-wrapper{border-bottom:none!important}::ng-deep .nas-filter__filters .nas-filter__date-combo--side-by-side .nas-datepicker-combo__separator{display:block;border-bottom:none!important}::ng-deep .nas-filter__filters .nas-airport-select__input-line{border-top:none!important}::ng-deep .nas-filter__filters .nas-airport-select-combo__separator{border-bottom:none!important}::ng-deep .nas-filter__filters .nas-dropdown__toggle{height:64px!important}::ng-deep .nas-filter__filters .nas-datepicker-combo__separator{display:none}::ng-deep .nas-filter__filters--lg .nas-dropdown__toggle{display:flex}::ng-deep .nas-filter__filters--lg .nas-filter__date-combo .nas-datepicker__date-picker-wrapper{border-bottom:3px solid #c3c3c3}::ng-deep .nas-filter__filters--lg .nas-airport-select__input-line{border-top:3px solid #c3c3c3!important}::ng-deep .nas-filter__filters--lg .nas-datepicker-combo__separator{border-bottom:3px solid #c3c3c3!important}::ng-deep .nas-filter__filters--lg .nas-airport-select-combo__separator{border-bottom:3px solid #c3c3c3!important}::ng-deep .nas-filter__rotate{transform:rotate(180deg)}::ng-deep .nas-filter__rotate-enter,::ng-deep .nas-filter__rotate-leave-active{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden}::ng-deep .nas-filter__rotate-enter{animation:flip-in .55s ease both}::ng-deep .nas-filter__rotate-leave-active{animation:flip-out .2s ease-out both}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__input-line{border-top:none}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select-combo__separator{border-top:none}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__results-wrapper{margin-top:0}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__results{top:-3px}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select__icon{bottom:18px}::ng-deep .nas-filter__airport-select--no-border .nas-airport-select:after{display:none}::ng-deep .nas-filter__airport-select .nas-airport-select__input-line{display:none}::ng-deep .nas-filter__airport-origin-select{width:100%;max-width:100%}::ng-deep .nas-filter__airport-origin-select .nas-airport-select:only-child{max-width:100%}@media (min-width: 640px){::ng-deep .nas-filter__airport-origin-select{max-width:360px;flex:auto;margin-right:3px}::ng-deep .nas-filter__airport-origin-select .nas-airport-select:only-child{width:auto;max-width:360px}}::ng-deep .nas-filter__origin-combined{border-bottom:3px solid #c3c3c3;order:3;flex:0 0 100%;display:flex;flex-wrap:wrap}@media (min-width: 1000px){::ng-deep .nas-filter__origin-combined{display:flex;flex:none}::ng-deep .nas-filter__origin-combined .nas-dropdown__toggle nas-icon{float:none!important}}::ng-deep .nas-filter__subsidy-discount{order:3}::ng-deep .nas-filter__subsidy-discount .nas-subsidy-discount{margin-top:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }, { kind: "component", type: AirportSelectComponent, selector: "nas-airport-select", inputs: ["airports", "airportRelations", "latestSearchesOrigin", "latestSearchesDestination", "closestAirports", "allowedOriginAiports", "allowedDestinationAirports", "displayLatestSearches", "displayClosestAirports", "combo", "useSwitch", "allAirportsLabel", "latestSearchesLabel", "closestAirportsLabel", "geolocationLabel", "geolocationBlockedLabel", "selectOriginFirstLabel", "invalidDestinationText", "labelOrigin", "placeholderOrigin", "labelDestination", "placeholderDestination", "keepSelection", "nasFormControlNameOrigin", "nasFormControlNameDestination", "nasFormGroup", "originAirportCode", "destinationAirportCode", "ariaLabelClear", "ariaLabelBackdrop"], outputs: ["originChange", "originOpenChange", "destinationChange", "destinationOpenChange", "focusOnNext", "positionChange"] }, { kind: "component", type: DropdownComponent, selector: "nas-dropdown", inputs: ["open", "id", "ariaLabelBackdrop", "cssClass", "inline", "label", "stretched", "labelStyle"], outputs: ["openChange"] }, { kind: "component", type: PassengerSelectComponent, selector: "nas-passenger-select", inputs: ["passengers", "maxPaxCount", "minAdultCount", "groupBookingLimit", "title", "adultsLabel", "childrenLabel", "infantsLabel", "groupBookingLabel", "nasFormGroup", "nasFormControlGroupBooking", "ariaLabelSubtract", "ariaLabelAdd"], outputs: ["passengersChange", "focusOnNext", "focusOnPrevious"] }, { kind: "component", type: AccordionComponent, selector: "nas-accordion", inputs: ["expanded", "title", "subheader", "badge", "icon", "simple", "spaced", "small", "inverted", "containerOnToggle", "nopadding", "transparent", "approve", "primary", "info", "subheaderPositive", "subheaderNegative", "badgeInfo", "badgeSuccess", "badgeWarning", "badgeError", "cssClass", "cssStyle"], outputs: ["toggleChange"] }, { kind: "component", type: IconComponent, selector: "nas-icon", inputs: ["icon", "type", "isIndicator", "lightCircularBackground", "cssClass"] }, { kind: "component", type: DatepickerComboComponent, selector: "nas-datepicker-combo", inputs: ["ariaLabelBackdrop", "outboundOpen", "inboundOpen", "noAvailableFlightsLabel", "availableFlightsLabel", "disablePastSelection", "outboundDisabled", "inboundDisabled", "outboundOnly", "outboundLabel", "inboundLabel", "availability", "outboundAvailableDates", "inboundAvailableDates", "times", "dateDisplayFormat", "timeDisplayFormat", "locale", "compact", "nasFormGroup", "nasFormControlNameOutbound", "nasFormControlNameInbound", "outboundSelectedDate", "inboundSelectedDate", "disableBackdrop", "outboundSelectedTime", "inboundSelectedTime", "ariaLabelPreviousMonth", "ariaLabelNextMonth", "inboundLowerLimitDateOffset"], outputs: ["outboundSelectedDateChange", "inboundSelectedDateChange", "outboundOpenChange", "inboundOpenChange", "outboundMonthChange", "inboundMonthChange", "focusOnNextChange", "focusOnPreviousChange"] }, { kind: "component", type: SubsidyDiscountComponent, selector: "nas-subsidy-discount", inputs: ["label", "icon", "selectedDiscount", "discounts"], outputs: ["infoButtonClick", "infoButtonKeydown", "discountSelectChange"] }, { kind: "component", type: SuggestionsComponent, selector: "nas-suggestions", inputs: ["suggestions", "orLabel"], outputs: ["airportSelect"] }] }); }
|
|
6737
6850
|
}
|
|
6738
6851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FilterComponent, decorators: [{
|
|
6739
6852
|
type: Component,
|
|
@@ -7037,13 +7150,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
7037
7150
|
*/
|
|
7038
7151
|
class SpinnerComponent extends NasComponentBase {
|
|
7039
7152
|
/**
|
|
7153
|
+
* @property Input
|
|
7040
7154
|
* @description
|
|
7041
7155
|
* Enables the spinner after 500ms. If false again within 500ms, the spinner will not be displayed at all.
|
|
7042
7156
|
* @example
|
|
7043
|
-
* ```html
|
|
7044
7157
|
* <nas-spinner [enable]="enable"></nas-spinner>
|
|
7045
|
-
|
|
7046
|
-
*/
|
|
7158
|
+
*/
|
|
7047
7159
|
get enable() {
|
|
7048
7160
|
return this.enableValue;
|
|
7049
7161
|
}
|
|
@@ -7052,13 +7164,12 @@ class SpinnerComponent extends NasComponentBase {
|
|
|
7052
7164
|
this.setEnabled(this.enableValue);
|
|
7053
7165
|
}
|
|
7054
7166
|
/**
|
|
7167
|
+
* @property Input
|
|
7055
7168
|
* @descriptionp
|
|
7056
7169
|
* Sets the number of seconds to wait before showing the refresh link.
|
|
7057
7170
|
* @example
|
|
7058
|
-
* ```html
|
|
7059
7171
|
* <nas-spinner [refresh]="10"></nas-spinner>
|
|
7060
|
-
|
|
7061
|
-
*/
|
|
7172
|
+
*/
|
|
7062
7173
|
get refresh() {
|
|
7063
7174
|
return this.refreshSecondValue;
|
|
7064
7175
|
}
|
|
@@ -7072,17 +7183,14 @@ class SpinnerComponent extends NasComponentBase {
|
|
|
7072
7183
|
super('nas-spinner');
|
|
7073
7184
|
this.renderer = renderer;
|
|
7074
7185
|
/**
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
* <nas-select [blockScrolling]="true"></nas-select>
|
|
7084
|
-
* ```
|
|
7085
|
-
*/
|
|
7186
|
+
* @property Input
|
|
7187
|
+
* @description
|
|
7188
|
+
* Block page scrolling.
|
|
7189
|
+
* @example
|
|
7190
|
+
* <nas-select blockScrolling></nas-select>
|
|
7191
|
+
* or
|
|
7192
|
+
* <nas-select [blockScrolling]="true"></nas-select>
|
|
7193
|
+
*/
|
|
7086
7194
|
this.blockScrolling = true;
|
|
7087
7195
|
}
|
|
7088
7196
|
ngOnInit() {
|
|
@@ -7350,11 +7458,12 @@ let nextId$5 = 0;
|
|
|
7350
7458
|
*/
|
|
7351
7459
|
class RadioComponent extends NasComponentBase {
|
|
7352
7460
|
/**
|
|
7461
|
+
* @property Input
|
|
7353
7462
|
* @description
|
|
7354
7463
|
* Set the radio button checked.
|
|
7355
7464
|
* @example
|
|
7356
7465
|
* <nas-radio checked></nas-radio>
|
|
7357
|
-
|
|
7466
|
+
*/
|
|
7358
7467
|
get checked() {
|
|
7359
7468
|
return this.checkedValue;
|
|
7360
7469
|
}
|
|
@@ -7368,6 +7477,7 @@ class RadioComponent extends NasComponentBase {
|
|
|
7368
7477
|
constructor() {
|
|
7369
7478
|
super('nas-radio');
|
|
7370
7479
|
/**
|
|
7480
|
+
* @property Output
|
|
7371
7481
|
* @description
|
|
7372
7482
|
* Listen for checked change events.
|
|
7373
7483
|
* @example
|
|
@@ -7443,9 +7553,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
7443
7553
|
*/
|
|
7444
7554
|
class SortComponent extends NasComponentBase {
|
|
7445
7555
|
/**
|
|
7556
|
+
* @property Input
|
|
7446
7557
|
* @description
|
|
7447
7558
|
* popup open set & get.
|
|
7448
|
-
|
|
7559
|
+
*/
|
|
7449
7560
|
get open() {
|
|
7450
7561
|
return this.dropdownOpen;
|
|
7451
7562
|
}
|
|
@@ -7453,9 +7564,10 @@ class SortComponent extends NasComponentBase {
|
|
|
7453
7564
|
this.dropdownOpen = value;
|
|
7454
7565
|
}
|
|
7455
7566
|
/**
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7567
|
+
* @property Input
|
|
7568
|
+
* @description
|
|
7569
|
+
* checked option set & get.
|
|
7570
|
+
*/
|
|
7459
7571
|
get selectedOption() {
|
|
7460
7572
|
return this.checkedOptionObject;
|
|
7461
7573
|
}
|
|
@@ -7468,14 +7580,16 @@ class SortComponent extends NasComponentBase {
|
|
|
7468
7580
|
constructor() {
|
|
7469
7581
|
super('nas-sort');
|
|
7470
7582
|
/**
|
|
7583
|
+
* @property Output
|
|
7471
7584
|
* @description
|
|
7472
7585
|
* Listen for option change events.
|
|
7473
|
-
|
|
7586
|
+
*/
|
|
7474
7587
|
this.selectedOptionChange = new EventEmitter();
|
|
7475
7588
|
/**
|
|
7589
|
+
* @property Output
|
|
7476
7590
|
* @description
|
|
7477
7591
|
* Listen for apply button click events.
|
|
7478
|
-
|
|
7592
|
+
*/
|
|
7479
7593
|
this.applyButtonClicked = new EventEmitter();
|
|
7480
7594
|
}
|
|
7481
7595
|
checkSpaceless(option, index) {
|
|
@@ -7751,12 +7865,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
7751
7865
|
*/
|
|
7752
7866
|
class InfoComponent extends NasComponentBase {
|
|
7753
7867
|
/**
|
|
7868
|
+
* @property Input
|
|
7754
7869
|
* @description
|
|
7755
7870
|
* A model that contains an optional title and an array of messages.
|
|
7756
7871
|
* @example
|
|
7757
|
-
* ```html
|
|
7758
7872
|
* <nas-info [info]="info"></nas-info>
|
|
7759
|
-
* ```
|
|
7760
7873
|
*/
|
|
7761
7874
|
get info() {
|
|
7762
7875
|
return this.infoValue;
|
|
@@ -7769,11 +7882,13 @@ class InfoComponent extends NasComponentBase {
|
|
|
7769
7882
|
super('nas-info');
|
|
7770
7883
|
this.showChange = new EventEmitter();
|
|
7771
7884
|
/**
|
|
7885
|
+
* @property Input
|
|
7772
7886
|
* @description
|
|
7773
7887
|
* Flag for showing/hiding element. Defaults to true.
|
|
7774
7888
|
*/
|
|
7775
7889
|
this.show = true;
|
|
7776
7890
|
/**
|
|
7891
|
+
* @property Input
|
|
7777
7892
|
* @description
|
|
7778
7893
|
* Flag for toggling on or off the HTML sanitizing. Defaults to true.
|
|
7779
7894
|
*/
|
|
@@ -7817,7 +7932,7 @@ class InfoComponent extends NasComponentBase {
|
|
|
7817
7932
|
];
|
|
7818
7933
|
}
|
|
7819
7934
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: InfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7820
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: InfoComponent, selector: "nas-info", inputs: { info: "info", error: "error", success: "success", stackTraceLabel: "stackTraceLabel", removeIcon: "removeIcon", show: "show", sanitized: "sanitized" }, outputs: { showChange: "showChange" }, viewQueries: [{ propertyName: "infoContainer", first: true, predicate: ["infoContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"exists(show)\" #infoContainer [nasClass]=\"getContainerClass()\">\n <div [nasClass]=\"getClass('content', modifiers)\">\n <div *ngIf=\"info?.timestamp\" [nasClass]=\"getClass('timestamp')\">\n <small>{{info?.timestamp | date:'full'}}</small>\n <small *ngIf=\"info?.server\"> ({{info?.server}})</small>\n </div>\n <div *ngIf=\"exists(error) || exists(success); else titleTemplate\" [nasClass]=\"getClass('error-title')\">\n <nas-icon *ngIf=\"exists(error)\" [nasClass]=\"getClass('error-icon')\" icon=\"alert--error\" type=\"small\"></nas-icon>\n <nas-icon *ngIf=\"exists(success)\" [nasClass]=\"getClass('error-icon')\" icon=\"alert--success\" type=\"small\"></nas-icon>\n <ng-container *ngTemplateOutlet=\"titleTemplate\"></ng-container>\n </div>\n <ul *ngIf=\"info?.messages?.length > 0\" [nasClass]=\"getListClass('', 'spaceless')\">\n <li *ngFor=\"let message of info?.messages\"> \n <span *ngIf=\"exists(sanitized)\" [innerHTML]=\"message\"></span>\n <span *ngIf=\"!exists(sanitized)\">{{message}}</span>\n </li>\n </ul>\n <div [nasClass]=\"getClass('custom-content')\">\n <ng-content></ng-content>\n </div>\n <div *ngIf=\"info?.link\">\n <nas-button link [href]=\"info.link.href\">{{info.link.text}}</nas-button>\n </div>\n <div *ngIf=\"info?.stackTrace\" [nasClass]=\"getClass('stack-trace')\">\n <nas-accordion simple [title]=\"stackTraceLabel\">\n {{info?.stackTrace}}\n </nas-accordion>\n </div>\n </div>\n <div [nasClass]=\"getClass('remove-box')\" *ngIf=\"exists(removeIcon);\">\n <nas-icon type=\"remove\" (click)=\"removeInfoBox()\"></nas-icon>\n </div>\n</div>\n\n<ng-template #titleTemplate>\n <h3 [nasClass]=\"getClass('title')\" [innerHTML]=\"info?.title\"></h3>\n</ng-template>\n\n\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-info{perspective:1000px;margin-top:36px;margin-bottom:36px;position:relative}@media (min-width: 1000px){.nas-info{margin-bottom:12px}}.nas-info__remove-box{position:absolute;right:10px;top:10px;cursor:pointer}.nas-info__custom-content{padding-top:16px}.nas-info__content{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:flip-in .55s ease both;animation-delay:.3s;padding:16px;background-color:#ffc}.nas-info__content--error{background-color:#fff;border:3px solid #d81939}.nas-info__content--success{background-color:#fff;border:3px solid #238e00}.nas-info__stack-trace{margin-top:12px;word-break:break-word}.nas-info__error-title{display:flex;margin-bottom:9px}.nas-info__error-title>:first-child{margin-right:12px}.nas-info__timestamp{margin-bottom:12px}.nas-info__error-icon{padding-top:3px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }, { kind: "component", type: AccordionComponent, selector: "nas-accordion", inputs: ["expanded", "title", "subheader", "icon", "simple", "spaced", "small", "inverted", "containerOnToggle", "nopadding", "transparent", "approve", "primary", "info", "subheaderPositive", "subheaderNegative", "cssClass", "cssStyle"], outputs: ["toggleChange"] }, { kind: "component", type: IconComponent, selector: "nas-icon", inputs: ["icon", "type", "isIndicator", "lightCircularBackground", "cssClass"] }, { kind: "component", type: ButtonComponent, selector: "nas-button", inputs: ["primary", "secondary", "link", "approve", "light", "large", "block", "flex", "compact", "right", "spaceless", "transparent", "href", "trackingvalue", "canContinueOnDisabled", "disabled", "type", "cssClass", "ariaLabel", "cssStyle", "tabindex", "overrideBaseCssClass", "useRouterLink", "id", "target"], outputs: ["clickChange"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }] }); }
|
|
7935
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: InfoComponent, selector: "nas-info", inputs: { info: "info", error: "error", success: "success", stackTraceLabel: "stackTraceLabel", removeIcon: "removeIcon", show: "show", sanitized: "sanitized" }, outputs: { showChange: "showChange" }, viewQueries: [{ propertyName: "infoContainer", first: true, predicate: ["infoContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"exists(show)\" #infoContainer [nasClass]=\"getContainerClass()\">\n <div [nasClass]=\"getClass('content', modifiers)\">\n <div *ngIf=\"info?.timestamp\" [nasClass]=\"getClass('timestamp')\">\n <small>{{info?.timestamp | date:'full'}}</small>\n <small *ngIf=\"info?.server\"> ({{info?.server}})</small>\n </div>\n <div *ngIf=\"exists(error) || exists(success); else titleTemplate\" [nasClass]=\"getClass('error-title')\">\n <nas-icon *ngIf=\"exists(error)\" [nasClass]=\"getClass('error-icon')\" icon=\"alert--error\" type=\"small\"></nas-icon>\n <nas-icon *ngIf=\"exists(success)\" [nasClass]=\"getClass('error-icon')\" icon=\"alert--success\" type=\"small\"></nas-icon>\n <ng-container *ngTemplateOutlet=\"titleTemplate\"></ng-container>\n </div>\n <ul *ngIf=\"info?.messages?.length > 0\" [nasClass]=\"getListClass('', 'spaceless')\">\n <li *ngFor=\"let message of info?.messages\"> \n <span *ngIf=\"exists(sanitized)\" [innerHTML]=\"message\"></span>\n <span *ngIf=\"!exists(sanitized)\">{{message}}</span>\n </li>\n </ul>\n <div [nasClass]=\"getClass('custom-content')\">\n <ng-content></ng-content>\n </div>\n <div *ngIf=\"info?.link\">\n <nas-button link [href]=\"info.link.href\">{{info.link.text}}</nas-button>\n </div>\n <div *ngIf=\"info?.stackTrace\" [nasClass]=\"getClass('stack-trace')\">\n <nas-accordion simple [title]=\"stackTraceLabel\">\n {{info?.stackTrace}}\n </nas-accordion>\n </div>\n </div>\n <div [nasClass]=\"getClass('remove-box')\" *ngIf=\"exists(removeIcon);\">\n <nas-icon type=\"remove\" (click)=\"removeInfoBox()\"></nas-icon>\n </div>\n</div>\n\n<ng-template #titleTemplate>\n <h3 [nasClass]=\"getClass('title')\" [innerHTML]=\"info?.title\"></h3>\n</ng-template>\n\n\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-info{perspective:1000px;margin-top:36px;margin-bottom:36px;position:relative}@media (min-width: 1000px){.nas-info{margin-bottom:12px}}.nas-info__remove-box{position:absolute;right:10px;top:10px;cursor:pointer}.nas-info__custom-content{padding-top:16px}.nas-info__content{transform-origin:center top;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:flip-in .55s ease both;animation-delay:.3s;padding:16px;background-color:#ffc}.nas-info__content--error{background-color:#fff;border:3px solid #d81939}.nas-info__content--success{background-color:#fff;border:3px solid #238e00}.nas-info__stack-trace{margin-top:12px;word-break:break-word}.nas-info__error-title{display:flex;margin-bottom:9px}.nas-info__error-title>:first-child{margin-right:12px}.nas-info__timestamp{margin-bottom:12px}.nas-info__error-icon{padding-top:3px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }, { kind: "component", type: AccordionComponent, selector: "nas-accordion", inputs: ["expanded", "title", "subheader", "badge", "icon", "simple", "spaced", "small", "inverted", "containerOnToggle", "nopadding", "transparent", "approve", "primary", "info", "subheaderPositive", "subheaderNegative", "badgeInfo", "badgeSuccess", "badgeWarning", "badgeError", "cssClass", "cssStyle"], outputs: ["toggleChange"] }, { kind: "component", type: IconComponent, selector: "nas-icon", inputs: ["icon", "type", "isIndicator", "lightCircularBackground", "cssClass"] }, { kind: "component", type: ButtonComponent, selector: "nas-button", inputs: ["primary", "secondary", "link", "approve", "light", "large", "block", "flex", "compact", "right", "spaceless", "transparent", "href", "trackingvalue", "canContinueOnDisabled", "disabled", "type", "cssClass", "ariaLabel", "cssStyle", "tabindex", "overrideBaseCssClass", "useRouterLink", "id", "target"], outputs: ["clickChange"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }] }); }
|
|
7821
7936
|
}
|
|
7822
7937
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: InfoComponent, decorators: [{
|
|
7823
7938
|
type: Component,
|
|
@@ -7878,6 +7993,7 @@ let nextId$4 = 0;
|
|
|
7878
7993
|
*/
|
|
7879
7994
|
class InputComponent extends NasComponentBase {
|
|
7880
7995
|
/**
|
|
7996
|
+
* @property Input
|
|
7881
7997
|
* @description
|
|
7882
7998
|
* The value of the native input element
|
|
7883
7999
|
*/
|
|
@@ -7889,6 +8005,7 @@ class InputComponent extends NasComponentBase {
|
|
|
7889
8005
|
this.modelChange.emit(this.modelValue);
|
|
7890
8006
|
}
|
|
7891
8007
|
/**
|
|
8008
|
+
* @property Input
|
|
7892
8009
|
* @description
|
|
7893
8010
|
* Whether the native input element is disabled or no, with disabled styling.
|
|
7894
8011
|
*/
|
|
@@ -7909,6 +8026,7 @@ class InputComponent extends NasComponentBase {
|
|
|
7909
8026
|
}
|
|
7910
8027
|
}
|
|
7911
8028
|
/**
|
|
8029
|
+
* @property Input
|
|
7912
8030
|
* @description
|
|
7913
8031
|
* String to set name on native input element.
|
|
7914
8032
|
*/
|
|
@@ -7933,11 +8051,13 @@ class InputComponent extends NasComponentBase {
|
|
|
7933
8051
|
this.modelChange = new EventEmitter(false);
|
|
7934
8052
|
this.blur = new EventEmitter(false);
|
|
7935
8053
|
/**
|
|
8054
|
+
* @property Input
|
|
7936
8055
|
* @description
|
|
7937
8056
|
* Input type of the element.
|
|
7938
8057
|
*/
|
|
7939
8058
|
this.type = 'text';
|
|
7940
8059
|
/**
|
|
8060
|
+
* @property Input
|
|
7941
8061
|
* @description
|
|
7942
8062
|
* Adds a line below the input element. Default value is true.
|
|
7943
8063
|
* @example
|
|
@@ -8120,14 +8240,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
8120
8240
|
*/
|
|
8121
8241
|
class ModalComponent extends NasComponentBase {
|
|
8122
8242
|
/**
|
|
8243
|
+
* @property Input
|
|
8123
8244
|
* @required
|
|
8124
8245
|
* @description
|
|
8125
8246
|
* Used to decide whether the modal should be diplayed or not.
|
|
8126
8247
|
* @example
|
|
8127
|
-
* ```html
|
|
8128
8248
|
* <nas-modal [(show)]="diplayModal"></nas-modal>
|
|
8129
|
-
|
|
8130
|
-
*/
|
|
8249
|
+
*/
|
|
8131
8250
|
get show() {
|
|
8132
8251
|
return this.showValue;
|
|
8133
8252
|
}
|
|
@@ -8154,13 +8273,12 @@ class ModalComponent extends NasComponentBase {
|
|
|
8154
8273
|
this.ref = ref;
|
|
8155
8274
|
this.renderer = renderer;
|
|
8156
8275
|
/**
|
|
8276
|
+
* @property Input
|
|
8157
8277
|
* @description
|
|
8158
8278
|
* Determines if the modal should be animated when shown. Defaults to true
|
|
8159
8279
|
* @example
|
|
8160
|
-
* ```html
|
|
8161
8280
|
* <nas-modal [animated]="'false'"></nas-modal>
|
|
8162
|
-
|
|
8163
|
-
*/
|
|
8281
|
+
*/
|
|
8164
8282
|
this.animated = true;
|
|
8165
8283
|
this.enableClose = true;
|
|
8166
8284
|
this.showChange = new EventEmitter();
|
|
@@ -8292,14 +8410,12 @@ class PageFooterComponent extends NasComponentBase {
|
|
|
8292
8410
|
constructor() {
|
|
8293
8411
|
super('nas-page-footer');
|
|
8294
8412
|
/**
|
|
8413
|
+
* @property Input
|
|
8295
8414
|
* @description
|
|
8296
8415
|
* String to set Text on To Top Button.
|
|
8297
8416
|
*
|
|
8298
8417
|
* @example
|
|
8299
|
-
*
|
|
8300
|
-
* ```html
|
|
8301
8418
|
* <nas-page-footer [buttonText]="'Til Toppen'"></nas-page-footer>
|
|
8302
|
-
* ```
|
|
8303
8419
|
*/
|
|
8304
8420
|
this.buttonText = 'To Top';
|
|
8305
8421
|
}
|
|
@@ -8411,34 +8527,40 @@ class PageHeaderComponent extends NasComponentBase {
|
|
|
8411
8527
|
super('nas-page-header');
|
|
8412
8528
|
this.changeDetector = changeDetector;
|
|
8413
8529
|
/**
|
|
8530
|
+
* @property Input
|
|
8414
8531
|
* @description
|
|
8415
8532
|
* Sets the menu text. Defaults to "Menu".
|
|
8416
|
-
|
|
8533
|
+
*/
|
|
8417
8534
|
this.menuText = 'Menu';
|
|
8418
8535
|
/**
|
|
8536
|
+
* @property Input
|
|
8419
8537
|
* @description
|
|
8420
8538
|
* Sets the close text. Defaults to "Close".
|
|
8421
|
-
|
|
8539
|
+
*/
|
|
8422
8540
|
this.closeText = 'Close';
|
|
8423
8541
|
/**
|
|
8542
|
+
* @property Input
|
|
8424
8543
|
* @description
|
|
8425
8544
|
* Sets the search label for search field. Defaults to "Search".
|
|
8426
|
-
|
|
8545
|
+
*/
|
|
8427
8546
|
this.searchText = 'Search';
|
|
8428
8547
|
/**
|
|
8429
|
-
|
|
8430
|
-
|
|
8548
|
+
* @property Input
|
|
8549
|
+
* @description
|
|
8550
|
+
* Will display the Norwegian Reward logo, set this to true display it. It's false by default.
|
|
8431
8551
|
*/
|
|
8432
8552
|
this.reward = false;
|
|
8433
8553
|
/**
|
|
8554
|
+
* @property Input
|
|
8434
8555
|
* @description
|
|
8435
8556
|
* Url to the front-/homepage.
|
|
8436
|
-
|
|
8557
|
+
*/
|
|
8437
8558
|
this.frontPageUrl = '/';
|
|
8438
8559
|
/**
|
|
8560
|
+
* @property Output
|
|
8439
8561
|
* @description
|
|
8440
8562
|
* Notifies consumer that menu is expanded or collapsed
|
|
8441
|
-
|
|
8563
|
+
*/
|
|
8442
8564
|
this.openChange = new EventEmitter();
|
|
8443
8565
|
this.expanded = false;
|
|
8444
8566
|
this.animateOut = false;
|
|
@@ -8564,20 +8686,20 @@ class ToggleComponent extends NasComponentBase {
|
|
|
8564
8686
|
constructor() {
|
|
8565
8687
|
super('nas-toggle');
|
|
8566
8688
|
/**
|
|
8689
|
+
* @property Output
|
|
8567
8690
|
* @description
|
|
8568
8691
|
* An event that is fired every time a toggle is performed.
|
|
8569
8692
|
* @example
|
|
8570
|
-
* ```html
|
|
8571
8693
|
* <nas-toggle (handleChange)="onHandleChange($event)"></nas-toggle>
|
|
8572
|
-
|
|
8573
|
-
*/
|
|
8694
|
+
*/
|
|
8574
8695
|
this.handleChange = new EventEmitter();
|
|
8575
8696
|
/**
|
|
8697
|
+
* @property Input
|
|
8576
8698
|
* @description
|
|
8577
8699
|
* To set horizontal scroll.
|
|
8578
8700
|
* @example
|
|
8579
8701
|
* <nas-toggle scrollable></nas-toggle>
|
|
8580
|
-
|
|
8702
|
+
*/
|
|
8581
8703
|
this.scrollable = false;
|
|
8582
8704
|
}
|
|
8583
8705
|
ngOnInit() {
|
|
@@ -8660,13 +8782,12 @@ class PremiumToggleComponent extends NasComponentBase {
|
|
|
8660
8782
|
constructor() {
|
|
8661
8783
|
super('premium-toggle');
|
|
8662
8784
|
/**
|
|
8785
|
+
* @property Output
|
|
8663
8786
|
* @description
|
|
8664
8787
|
* An event that is fired every time a toggle is performed.
|
|
8665
8788
|
* @example
|
|
8666
|
-
* ```html
|
|
8667
8789
|
* <nas-premium-toggle (handleChange)="onHandleChange($event)"></nas-premium-toggle>
|
|
8668
|
-
|
|
8669
|
-
*/
|
|
8790
|
+
*/
|
|
8670
8791
|
this.handleChange = new EventEmitter();
|
|
8671
8792
|
}
|
|
8672
8793
|
ngOnInit() {
|
|
@@ -8779,9 +8900,10 @@ class WeatherIconComponent extends NasComponentBase {
|
|
|
8779
8900
|
constructor() {
|
|
8780
8901
|
super('nas-weather-icon');
|
|
8781
8902
|
/**
|
|
8903
|
+
* @property Input
|
|
8782
8904
|
* @description
|
|
8783
8905
|
* Sets the text above the temperature. "Ex. Avg.:". Default value is "Avg.";
|
|
8784
|
-
|
|
8906
|
+
*/
|
|
8785
8907
|
this.temperatureText = 'Avg.';
|
|
8786
8908
|
}
|
|
8787
8909
|
ngOnInit() {
|
|
@@ -8992,40 +9114,38 @@ class JourneyComponent extends NasComponentBase {
|
|
|
8992
9114
|
this.datePipe = datePipe;
|
|
8993
9115
|
this.dateService = dateService;
|
|
8994
9116
|
/**
|
|
9117
|
+
* @property Input
|
|
8995
9118
|
* @description
|
|
8996
9119
|
* A string representing date display format, if not provided, default formatting on date will be applied
|
|
8997
9120
|
* i.e 'dd MMM yyyy', which will result in displaying date like '21, Feb 2019'.
|
|
8998
9121
|
* @example
|
|
8999
|
-
* ```html
|
|
9000
9122
|
* <nas-journey [dateFormat]="'dd, MMM yyyy'"></nas-journey>
|
|
9001
|
-
* ```
|
|
9002
9123
|
*/
|
|
9003
9124
|
this.dateFormat = 'dd, MMM yyyy';
|
|
9004
9125
|
/**
|
|
9126
|
+
* @property Input
|
|
9005
9127
|
* @description
|
|
9006
9128
|
* A string representing time display format, if not provided, default formatting on date will be applied
|
|
9007
9129
|
* i.e 'HH:mm' , which will result in displaying time like '09:23'.
|
|
9008
9130
|
* @example
|
|
9009
|
-
* ```html
|
|
9010
9131
|
* <nas-journey [timeFormat]="'HH:mm'"></nas-journey>
|
|
9011
|
-
* ```
|
|
9012
9132
|
*/
|
|
9013
9133
|
this.timeFormat = 'HH:mm';
|
|
9014
9134
|
/**
|
|
9135
|
+
* @property Input
|
|
9015
9136
|
* @description
|
|
9016
9137
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
9017
9138
|
* This requires that registerLocaleData is called with the respective locale.
|
|
9018
9139
|
* @example
|
|
9019
|
-
* ```html
|
|
9020
9140
|
* <nas-journey [locale]="'es'"></nas-journey>
|
|
9021
9141
|
*/
|
|
9022
9142
|
this.locale = 'en-US';
|
|
9023
9143
|
/**
|
|
9144
|
+
* @property Input
|
|
9024
9145
|
* @description
|
|
9025
9146
|
* User can input the timezone to localize the date.
|
|
9026
9147
|
* Default is set to UTC and it will by default show the date exactly what is passed to it.
|
|
9027
9148
|
* @example
|
|
9028
|
-
* ```html
|
|
9029
9149
|
* <nas-journey [timeZone]="'UTC'"></nas-journey>
|
|
9030
9150
|
*/
|
|
9031
9151
|
this.timeZone = 'UTC';
|
|
@@ -9125,42 +9245,40 @@ class JourneyStopoverComponent extends NasComponentBase {
|
|
|
9125
9245
|
this.datePipe = datePipe;
|
|
9126
9246
|
this.dateService = dateService;
|
|
9127
9247
|
/**
|
|
9248
|
+
* @property Input
|
|
9128
9249
|
* @description
|
|
9129
9250
|
* A string representing time display format, if not provided, default formatting on date will be applied
|
|
9130
9251
|
* i.e 'HH:mm' , which will result in displaying time like '09:23'.
|
|
9131
9252
|
* @example
|
|
9132
|
-
* ```html
|
|
9133
9253
|
* <nas-journey-stopover [timeFormat]='HH:mm'></nas-journey-stopover>
|
|
9134
|
-
* ```
|
|
9135
9254
|
*/
|
|
9136
9255
|
this.timeFormat = 'HH:mm';
|
|
9137
9256
|
/**
|
|
9138
|
-
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9145
|
-
*/
|
|
9257
|
+
* @property Input
|
|
9258
|
+
* @description
|
|
9259
|
+
* A string representing date display format, if not provided, default formatting on date will be applied
|
|
9260
|
+
* i.e 'dd MMM,' , which will result in displaying time like '21 Feb,'.
|
|
9261
|
+
* @example
|
|
9262
|
+
* <nas-journey-stopover [dateFormat]='dd MMM,'></nas-journey-stopover>
|
|
9263
|
+
*/
|
|
9146
9264
|
this.dateFormat = 'dd MMM,';
|
|
9147
9265
|
/**
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9266
|
+
* @property Input
|
|
9267
|
+
* @description
|
|
9268
|
+
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
9269
|
+
* This requires that registerLocaleData is called with the respective locale.
|
|
9270
|
+
* @example
|
|
9271
|
+
* <nas-journey-stopover [locale]="'es'"></nas-journey-stopover>
|
|
9272
|
+
*/
|
|
9155
9273
|
this.locale = 'en-US';
|
|
9156
9274
|
/**
|
|
9275
|
+
* @property Input
|
|
9157
9276
|
* @description
|
|
9158
9277
|
* User can input the timezone to localize the date.
|
|
9159
9278
|
* Default is set to UTC and it will by default show the date exactly what is passed to it.
|
|
9160
9279
|
* @example
|
|
9161
|
-
* ```html
|
|
9162
9280
|
* <nas-journey-stopover [timeZone]="'UTC'"></nas-journey-stopover>
|
|
9163
|
-
|
|
9281
|
+
*/
|
|
9164
9282
|
this.timeZone = 'UTC';
|
|
9165
9283
|
}
|
|
9166
9284
|
ngOnChanges(_changes) {
|
|
@@ -9229,70 +9347,65 @@ class TripSummaryComponent extends NasComponentBase {
|
|
|
9229
9347
|
constructor() {
|
|
9230
9348
|
super('nas-trip-summary');
|
|
9231
9349
|
/**
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
*/
|
|
9350
|
+
* @property Input
|
|
9351
|
+
* @description
|
|
9352
|
+
* A boolean vlaue to set whether the trip summary details are expanded/minimized.
|
|
9353
|
+
* Default is false
|
|
9354
|
+
* @example
|
|
9355
|
+
* <nas-trip-summary [expanded]="true"></nas-trip-summary>
|
|
9356
|
+
*/
|
|
9240
9357
|
this.expanded = false;
|
|
9241
9358
|
/**
|
|
9359
|
+
* @property Input
|
|
9242
9360
|
* @description
|
|
9243
9361
|
* A boolean value to enable expanding/collapsing the trip summary details. Default value is false
|
|
9244
9362
|
* @example
|
|
9245
|
-
* ```html
|
|
9246
9363
|
* <nas-trip-summary [collapsable]="true"></nas-trip-summary>
|
|
9247
|
-
|
|
9248
|
-
*/
|
|
9364
|
+
*/
|
|
9249
9365
|
this.collapsable = true;
|
|
9250
9366
|
/**
|
|
9367
|
+
* @property Input
|
|
9251
9368
|
* @description
|
|
9252
9369
|
* A string represents the title of the expand/collase action.
|
|
9253
9370
|
* @example
|
|
9254
|
-
* ```html
|
|
9255
9371
|
* <nas-trip-summary [expandTitle]="'Details'"></nas-trip-summary>
|
|
9256
|
-
|
|
9257
|
-
*/
|
|
9372
|
+
*/
|
|
9258
9373
|
this.expandTitle = 'Details';
|
|
9259
9374
|
/**
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
*/
|
|
9375
|
+
* @property Input
|
|
9376
|
+
* @description
|
|
9377
|
+
* A string representing date display format, if not provided, default formatting on date will be applied
|
|
9378
|
+
* i.e 'dd MMM yyyy', which will result in displaying date like '21, Feb 2019'.
|
|
9379
|
+
* @example
|
|
9380
|
+
* <nas-trip-summary [dateFormat]="'dd, MMM yyyy'"></nas-trip-summary>
|
|
9381
|
+
*/
|
|
9268
9382
|
this.dateFormat = 'dd, MMM yyyy';
|
|
9269
9383
|
/**
|
|
9384
|
+
* @property Input
|
|
9270
9385
|
* @description
|
|
9271
9386
|
* A string representing time display format, if not provided, default formatting on date will be applied
|
|
9272
9387
|
* i.e 'HH:mm' , which will result in displaying time like '09:23'.
|
|
9273
9388
|
* @example
|
|
9274
|
-
* ```html
|
|
9275
9389
|
* <nas-trip-summary [timeFormat]="'HH:mm'"></nas-trip-summary>
|
|
9276
|
-
|
|
9277
|
-
*/
|
|
9390
|
+
*/
|
|
9278
9391
|
this.timeFormat = 'HH:mm';
|
|
9279
9392
|
/**
|
|
9393
|
+
* @property Input
|
|
9280
9394
|
* @description
|
|
9281
9395
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
9282
9396
|
* This requires that registerLocaleData is called with the respective locale.
|
|
9283
9397
|
* @example
|
|
9284
|
-
* ```html
|
|
9285
9398
|
* <nas-trip-summary [locale]="'es'"></nas-trip-summary>
|
|
9286
|
-
|
|
9399
|
+
*/
|
|
9287
9400
|
this.locale = 'en-US';
|
|
9288
9401
|
/**
|
|
9402
|
+
* @property Input
|
|
9289
9403
|
* @description
|
|
9290
9404
|
* User can input the timezone to localize the date.
|
|
9291
9405
|
* Default is set to UTC and it will by default show the date exactly what is passed to it.
|
|
9292
9406
|
* @example
|
|
9293
|
-
* ```html
|
|
9294
9407
|
* <nas-trip-summary [timeZone]="'UTC'"></nas-trip-summary>
|
|
9295
|
-
|
|
9408
|
+
*/
|
|
9296
9409
|
this.timeZone = 'UTC';
|
|
9297
9410
|
}
|
|
9298
9411
|
ngOnChanges(changes) {
|
|
@@ -9340,7 +9453,7 @@ class TripSummaryComponent extends NasComponentBase {
|
|
|
9340
9453
|
}
|
|
9341
9454
|
}
|
|
9342
9455
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: TripSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9343
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: TripSummaryComponent, selector: "nas-trip-summary", inputs: { tripSummaryModel: "tripSummaryModel", expanded: "expanded", collapsable: "collapsable", displayMinimumInfo: "displayMinimumInfo", expandTitle: "expandTitle", arrivalLabel: "arrivalLabel", departureLabel: "departureLabel", arrivalEstimatedLabel: "arrivalEstimatedLabel", departureEstimatedLabel: "departureEstimatedLabel", dateFormat: "dateFormat", timeFormat: "timeFormat", transitHoursIndicator: "transitHoursIndicator", transitMinutesIndicator: "transitMinutesIndicator", transitLabel: "transitLabel", locale: "locale", timeZone: "timeZone" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div [nasClass]=\"getContainerClass()\" *ngIf=\"tripSummaryModel && journeyModel\">\n\n <nas-journey [timeZone]=\"timeZone\" [locale]=\"locale\" [journeyModel]=\"journeyModel\" [dateFormat]=\"dateFormat\" [timeFormat]=\"timeFormat\" [arrivalLabel]=\"arrivalLabel\"\n [departureLabel]=\"departureLabel\" [arrivalEstimatedLabel]=\"arrivalEstimatedLabel\" [departureEstimatedLabel]=\"departureEstimatedLabel\">\n\n <div *ngIf=\"exists(collapsable); else tripDetailsRef;\">\n <nas-accordion simple [title]=\"expandTitle\" [expanded]=\"expanded\">\n <ng-template [ngTemplateOutlet]=\"tripDetailsRef\"></ng-template>\n </nas-accordion>\n </div>\n\n <ng-template #tripDetailsRef>\n <div [nasClass]=\"getClass('details')\" *ngFor=\"let tripSummary of tripSummaryModel.flightList;\">\n\n <div [nasClass]=\"getClass('view')\" *ngFor=\"let detail of tripSummary.flightDetailList;index as flightDetailsIndex\">\n\n <div *ngIf=\"exists(displayMinimumInfo) && flightDetailsIndex < 2 || !exists(displayMinimumInfo)\">\n <div>\n\n <div [nasClass]=\"getClass('item')\">\n <div [nasClass]=\"getClass('',['title'])\">\n {{detail.header}}\n </div>\n <div [nasClass]=\"getClass('',['explanation'])\" *ngFor=\"let explanation of detail.itemDetailList\">\n <span [nasClass]=\"getClass('',['text'])\">\n {{explanation.text}}\n </span>\n <span [nasClass]=\"getClass('',['link'])\" *ngIf=\"explanation?.link?.text.length\">\n <a href=\"{{explanation?.link?.url}}\">{{explanation?.link?.text}}</a>\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"tripSummary.stopover\" [nasClass]=\"getClass('stopover')\">\n <nas-journey-stopover [timeZone]=\"timeZone\" [locale]=\"locale\" \n [journeyStopoverModel]=\"tripSummary.stopover\" [dateFormat]=\"dateFormat\"\n [transitHoursIndicator]=\"transitHoursIndicator\" [transitMinutesIndicator]=\"transitMinutesIndicator\"\n [timeFormat]=\"timeFormat\" [transitLabel]=\"transitLabel\" [arrivalTimeLabel]=\"arrivalLabel\"\n [departureTimeLabel]=\"departureLabel\">\n </nas-journey-stopover>\n </div>\n\n </div>\n\n </ng-template>\n </nas-journey>\n</div>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-trip-summary{position:relative}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item{border-bottom:2px solid #c3c3c3;padding:10px;color:#002a3a}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item .nas-trip-summary--title{font-family:Apercu,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:26px}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item .nas-trip-summary--explanation{font-family:Apercu,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;font-size:14px;line-height:20px;display:flex;place-content:space-between}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item .nas-trip-summary--explanation .nas-trip-summary--link{align-self:center}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__view:first-child .nas-trip-summary__item{border-top:2px solid #c3c3c3}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__stopover{margin:5px 0 20px}:host ::ng-deep .nas-trip-summary .nas-accordion--simple .nas-accordion__toggle{margin-bottom:0;background-color:transparent}:host ::ng-deep .nas-trip-summary .nas-accordion--simple .nas-accordion__content{background-color:transparent;padding-left:0}:host ::ng-deep .nas-trip-summary .nas-accordion{margin-bottom:0}:host ::ng-deep .nas-trip-summary .nas-journey__body .nas-journey__flight-details:first-child{padding-bottom:5px!important}:host ::ng-deep .nas-trip-summary .nas-journey__body .nas-journey__flight-details:last-child{padding-top:5px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }, { kind: "component", type: AccordionComponent, selector: "nas-accordion", inputs: ["expanded", "title", "subheader", "icon", "simple", "spaced", "small", "inverted", "containerOnToggle", "nopadding", "transparent", "approve", "primary", "info", "subheaderPositive", "subheaderNegative", "cssClass", "cssStyle"], outputs: ["toggleChange"] }, { kind: "component", type: JourneyComponent, selector: "nas-journey", inputs: ["journeyModel", "dateFormat", "timeFormat", "arrivalLabel", "departureLabel", "arrivalEstimatedLabel", "departureEstimatedLabel", "locale", "timeZone"] }, { kind: "component", type: JourneyStopoverComponent, selector: "nas-journey-stopover", inputs: ["journeyStopoverModel", "transitLabel", "arrivalTimeLabel", "departureTimeLabel", "timeFormat", "dateFormat", "transitHoursIndicator", "transitMinutesIndicator", "locale", "timeZone"] }] }); }
|
|
9456
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: TripSummaryComponent, selector: "nas-trip-summary", inputs: { tripSummaryModel: "tripSummaryModel", expanded: "expanded", collapsable: "collapsable", displayMinimumInfo: "displayMinimumInfo", expandTitle: "expandTitle", arrivalLabel: "arrivalLabel", departureLabel: "departureLabel", arrivalEstimatedLabel: "arrivalEstimatedLabel", departureEstimatedLabel: "departureEstimatedLabel", dateFormat: "dateFormat", timeFormat: "timeFormat", transitHoursIndicator: "transitHoursIndicator", transitMinutesIndicator: "transitMinutesIndicator", transitLabel: "transitLabel", locale: "locale", timeZone: "timeZone" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div [nasClass]=\"getContainerClass()\" *ngIf=\"tripSummaryModel && journeyModel\">\n\n <nas-journey [timeZone]=\"timeZone\" [locale]=\"locale\" [journeyModel]=\"journeyModel\" [dateFormat]=\"dateFormat\" [timeFormat]=\"timeFormat\" [arrivalLabel]=\"arrivalLabel\"\n [departureLabel]=\"departureLabel\" [arrivalEstimatedLabel]=\"arrivalEstimatedLabel\" [departureEstimatedLabel]=\"departureEstimatedLabel\">\n\n <div *ngIf=\"exists(collapsable); else tripDetailsRef;\">\n <nas-accordion simple [title]=\"expandTitle\" [expanded]=\"expanded\">\n <ng-template [ngTemplateOutlet]=\"tripDetailsRef\"></ng-template>\n </nas-accordion>\n </div>\n\n <ng-template #tripDetailsRef>\n <div [nasClass]=\"getClass('details')\" *ngFor=\"let tripSummary of tripSummaryModel.flightList;\">\n\n <div [nasClass]=\"getClass('view')\" *ngFor=\"let detail of tripSummary.flightDetailList;index as flightDetailsIndex\">\n\n <div *ngIf=\"exists(displayMinimumInfo) && flightDetailsIndex < 2 || !exists(displayMinimumInfo)\">\n <div>\n\n <div [nasClass]=\"getClass('item')\">\n <div [nasClass]=\"getClass('',['title'])\">\n {{detail.header}}\n </div>\n <div [nasClass]=\"getClass('',['explanation'])\" *ngFor=\"let explanation of detail.itemDetailList\">\n <span [nasClass]=\"getClass('',['text'])\">\n {{explanation.text}}\n </span>\n <span [nasClass]=\"getClass('',['link'])\" *ngIf=\"explanation?.link?.text.length\">\n <a href=\"{{explanation?.link?.url}}\">{{explanation?.link?.text}}</a>\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"tripSummary.stopover\" [nasClass]=\"getClass('stopover')\">\n <nas-journey-stopover [timeZone]=\"timeZone\" [locale]=\"locale\" \n [journeyStopoverModel]=\"tripSummary.stopover\" [dateFormat]=\"dateFormat\"\n [transitHoursIndicator]=\"transitHoursIndicator\" [transitMinutesIndicator]=\"transitMinutesIndicator\"\n [timeFormat]=\"timeFormat\" [transitLabel]=\"transitLabel\" [arrivalTimeLabel]=\"arrivalLabel\"\n [departureTimeLabel]=\"departureLabel\">\n </nas-journey-stopover>\n </div>\n\n </div>\n\n </ng-template>\n </nas-journey>\n</div>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-trip-summary{position:relative}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item{border-bottom:2px solid #c3c3c3;padding:10px;color:#002a3a}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item .nas-trip-summary--title{font-family:Apercu,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:26px}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item .nas-trip-summary--explanation{font-family:Apercu,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;font-size:14px;line-height:20px;display:flex;place-content:space-between}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__item .nas-trip-summary--explanation .nas-trip-summary--link{align-self:center}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__view:first-child .nas-trip-summary__item{border-top:2px solid #c3c3c3}.nas-trip-summary .nas-trip-summary__details .nas-trip-summary__stopover{margin:5px 0 20px}:host ::ng-deep .nas-trip-summary .nas-accordion--simple .nas-accordion__toggle{margin-bottom:0;background-color:transparent}:host ::ng-deep .nas-trip-summary .nas-accordion--simple .nas-accordion__content{background-color:transparent;padding-left:0}:host ::ng-deep .nas-trip-summary .nas-accordion{margin-bottom:0}:host ::ng-deep .nas-trip-summary .nas-journey__body .nas-journey__flight-details:first-child{padding-bottom:5px!important}:host ::ng-deep .nas-trip-summary .nas-journey__body .nas-journey__flight-details:last-child{padding-top:5px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }, { kind: "component", type: AccordionComponent, selector: "nas-accordion", inputs: ["expanded", "title", "subheader", "badge", "icon", "simple", "spaced", "small", "inverted", "containerOnToggle", "nopadding", "transparent", "approve", "primary", "info", "subheaderPositive", "subheaderNegative", "badgeInfo", "badgeSuccess", "badgeWarning", "badgeError", "cssClass", "cssStyle"], outputs: ["toggleChange"] }, { kind: "component", type: JourneyComponent, selector: "nas-journey", inputs: ["journeyModel", "dateFormat", "timeFormat", "arrivalLabel", "departureLabel", "arrivalEstimatedLabel", "departureEstimatedLabel", "locale", "timeZone"] }, { kind: "component", type: JourneyStopoverComponent, selector: "nas-journey-stopover", inputs: ["journeyStopoverModel", "transitLabel", "arrivalTimeLabel", "departureTimeLabel", "timeFormat", "dateFormat", "transitHoursIndicator", "transitMinutesIndicator", "locale", "timeZone"] }] }); }
|
|
9344
9457
|
}
|
|
9345
9458
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: TripSummaryComponent, decorators: [{
|
|
9346
9459
|
type: Component,
|
|
@@ -9385,6 +9498,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
9385
9498
|
*/
|
|
9386
9499
|
class JourneyAvailabilityComponent extends NasComponentBase {
|
|
9387
9500
|
/**
|
|
9501
|
+
* @property Input
|
|
9388
9502
|
* @description
|
|
9389
9503
|
* Setter and getter when the flight info popup shows/hidden.
|
|
9390
9504
|
*/
|
|
@@ -9403,38 +9517,39 @@ class JourneyAvailabilityComponent extends NasComponentBase {
|
|
|
9403
9517
|
this.deviceService = deviceService;
|
|
9404
9518
|
this.dateService = dateService;
|
|
9405
9519
|
/**
|
|
9520
|
+
* @property Input
|
|
9406
9521
|
* @description
|
|
9407
9522
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
9408
9523
|
* This requires that registerLocaleData is called with the respective locale.
|
|
9409
9524
|
* @example
|
|
9410
|
-
* ```html
|
|
9411
9525
|
* <nas-journey-availability [locale]="'es'"></nas-journey-availability>
|
|
9412
9526
|
*/
|
|
9413
9527
|
this.locale = 'en-US';
|
|
9414
9528
|
/**
|
|
9529
|
+
* @property Input
|
|
9415
9530
|
* @description
|
|
9416
9531
|
* Time display format, Default is HH:mm
|
|
9417
9532
|
* @example
|
|
9418
|
-
* ```html
|
|
9419
9533
|
* <nas-journey-availability [timeDisplayFormat]="'HH:mm'"></nas-journey-availability>
|
|
9420
9534
|
*/
|
|
9421
9535
|
this.timeDisplayFormat = 'HH:mm';
|
|
9422
9536
|
/**
|
|
9537
|
+
* @property Input
|
|
9423
9538
|
* @description
|
|
9424
9539
|
* User can input the timezone to localize the date.
|
|
9425
9540
|
* Default is set to UTC and it will by default show the date exactly what is passed to it.
|
|
9426
9541
|
* @example
|
|
9427
|
-
* ```html
|
|
9428
9542
|
* <nas-journey-availability [timeZone]="'UTC'"></nas-journey-availability>
|
|
9429
9543
|
*/
|
|
9430
9544
|
this.timeZone = 'UTC';
|
|
9431
9545
|
/**
|
|
9432
|
-
*
|
|
9546
|
+
* @property Output
|
|
9433
9547
|
* @description
|
|
9434
9548
|
* An Event which Emitts boolean when Flight info popup is toggled.
|
|
9435
9549
|
*/
|
|
9436
9550
|
this.displayJourneyDetailsChange = new EventEmitter();
|
|
9437
9551
|
/**
|
|
9552
|
+
* @property Output
|
|
9438
9553
|
* @description
|
|
9439
9554
|
* Event emits when user click on journey availability for selection.
|
|
9440
9555
|
*/
|
|
@@ -9505,6 +9620,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
9505
9620
|
*/
|
|
9506
9621
|
class JourneyAvailabilityListComponent extends NasComponentBase {
|
|
9507
9622
|
/**
|
|
9623
|
+
* @property Input
|
|
9508
9624
|
* @description
|
|
9509
9625
|
* An optional model for sort popup options.
|
|
9510
9626
|
*/
|
|
@@ -9525,6 +9641,7 @@ class JourneyAvailabilityListComponent extends NasComponentBase {
|
|
|
9525
9641
|
};
|
|
9526
9642
|
}
|
|
9527
9643
|
/**
|
|
9644
|
+
* @property Input
|
|
9528
9645
|
* @description
|
|
9529
9646
|
* set or get selected sort option.
|
|
9530
9647
|
*/
|
|
@@ -9540,13 +9657,11 @@ class JourneyAvailabilityListComponent extends NasComponentBase {
|
|
|
9540
9657
|
this.sortSelectedOptionChange.emit(option);
|
|
9541
9658
|
}
|
|
9542
9659
|
/**
|
|
9543
|
-
*
|
|
9660
|
+
* @property Input
|
|
9544
9661
|
* @description
|
|
9545
9662
|
* A number that sets the SelectedIndex from the JourneyList array in journeyAvailabilityListModel
|
|
9546
9663
|
* @example
|
|
9547
|
-
* ```html
|
|
9548
9664
|
* <nas-journey-availability-list [(selectIndex)]="selectIndex"></nas-journey-availability-list>
|
|
9549
|
-
* ```
|
|
9550
9665
|
*/
|
|
9551
9666
|
get selectedIndex() {
|
|
9552
9667
|
return this.activeIndex;
|
|
@@ -9559,49 +9674,46 @@ class JourneyAvailabilityListComponent extends NasComponentBase {
|
|
|
9559
9674
|
super('nas-journey-availability-list');
|
|
9560
9675
|
this.dateService = dateService;
|
|
9561
9676
|
/**
|
|
9562
|
-
|
|
9563
|
-
|
|
9677
|
+
* @property Output
|
|
9678
|
+
* @description
|
|
9679
|
+
* Event that fires when the sort option changes.
|
|
9564
9680
|
*/
|
|
9565
9681
|
this.sortSelectedOptionChange = new EventEmitter();
|
|
9566
9682
|
/**
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9683
|
+
* @property Input
|
|
9684
|
+
* @description
|
|
9685
|
+
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
9686
|
+
* This requires that registerLocaleData is called with the respective locale.
|
|
9687
|
+
* @example
|
|
9688
|
+
* <nas-journey-availability-list [locale]="'es'"></nas-journey-availability-list>
|
|
9573
9689
|
*/
|
|
9574
9690
|
this.locale = 'en-US';
|
|
9575
9691
|
/**
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9692
|
+
* @property Input
|
|
9693
|
+
* @description
|
|
9694
|
+
* Time display format.
|
|
9695
|
+
* @example
|
|
9696
|
+
* <nas-journey-availability-list [timeDisplayFormat]="'HH:mm'"></nas-journey-availability-list>
|
|
9697
|
+
*/
|
|
9582
9698
|
this.timeDisplayFormat = 'HH:mm';
|
|
9583
9699
|
/**
|
|
9584
|
-
*
|
|
9700
|
+
* @property Output
|
|
9585
9701
|
* @description
|
|
9586
9702
|
* A JourneyModel type record the represents selected journey data;
|
|
9587
9703
|
* @example
|
|
9588
|
-
* ```html
|
|
9589
9704
|
* <nas-journey-availability-list (selectedJourney)="onselectedJourney($event)"></nas-journey-availability-list>
|
|
9590
|
-
* ```
|
|
9591
9705
|
*/
|
|
9592
9706
|
this.selectedJourney = new EventEmitter();
|
|
9593
9707
|
/**
|
|
9594
|
-
*
|
|
9708
|
+
* @property Output
|
|
9595
9709
|
* @description
|
|
9596
9710
|
* A selected index of selected journey data;
|
|
9597
9711
|
* @example
|
|
9598
|
-
* ```html
|
|
9599
9712
|
* <nas-journey-availability-list (selectedIndexChange)="onSelectedIndexChange($event)"></nas-journey-availability-list>
|
|
9600
|
-
* ```
|
|
9601
9713
|
*/
|
|
9602
9714
|
this.selectedIndexChange = new EventEmitter();
|
|
9603
9715
|
/**
|
|
9604
|
-
*
|
|
9716
|
+
* @property Output
|
|
9605
9717
|
* @description
|
|
9606
9718
|
* An Event which Emitts boolean when Flight info popup is toggled.
|
|
9607
9719
|
*/
|
|
@@ -9812,20 +9924,15 @@ class ChipComponent extends NasComponentBase {
|
|
|
9812
9924
|
constructor() {
|
|
9813
9925
|
super('nas-chip');
|
|
9814
9926
|
/**
|
|
9927
|
+
* @property Input
|
|
9815
9928
|
* @description
|
|
9816
9929
|
* Property to set custom styling on button.
|
|
9817
9930
|
*
|
|
9818
9931
|
* @example
|
|
9819
|
-
*
|
|
9820
|
-
* ```html
|
|
9821
9932
|
* <nas-chip [cssStyle]="{'width': '300px', 'height': '40px'}"></nas-chip>
|
|
9822
|
-
* ```
|
|
9823
|
-
*
|
|
9824
9933
|
*/
|
|
9825
9934
|
this.cssStyle = {};
|
|
9826
9935
|
}
|
|
9827
|
-
ngOnInit() {
|
|
9828
|
-
}
|
|
9829
9936
|
getChipClass() {
|
|
9830
9937
|
return this.getClass('', [
|
|
9831
9938
|
this.exists(this.approve) && 'approve',
|
|
@@ -9999,9 +10106,10 @@ let nextId$3 = 0;
|
|
|
9999
10106
|
*/
|
|
10000
10107
|
class TabGroupComponent extends NasComponentBase {
|
|
10001
10108
|
/**
|
|
10109
|
+
* @property Input
|
|
10002
10110
|
* @description
|
|
10003
10111
|
* The selected index for the tab group. Default value is 0.
|
|
10004
|
-
|
|
10112
|
+
*/
|
|
10005
10113
|
get selectedIndex() {
|
|
10006
10114
|
return this.selectedIndexValue;
|
|
10007
10115
|
}
|
|
@@ -10113,13 +10221,12 @@ class PhoneNumberComponent extends NasComponentBase {
|
|
|
10113
10221
|
this.modelChange.emit(this.modelValue);
|
|
10114
10222
|
}
|
|
10115
10223
|
/**
|
|
10224
|
+
* @property Input
|
|
10116
10225
|
* @description
|
|
10117
10226
|
* Gets or sets the selected value.
|
|
10118
10227
|
* @example
|
|
10119
|
-
* ```html
|
|
10120
10228
|
* <nas-phone-number [(selected)]="selected"></nas-phone-number>
|
|
10121
|
-
|
|
10122
|
-
*/
|
|
10229
|
+
*/
|
|
10123
10230
|
get selected() {
|
|
10124
10231
|
return this.selectedValue;
|
|
10125
10232
|
}
|
|
@@ -10133,31 +10240,28 @@ class PhoneNumberComponent extends NasComponentBase {
|
|
|
10133
10240
|
constructor() {
|
|
10134
10241
|
super('nas-phone-number');
|
|
10135
10242
|
/**
|
|
10243
|
+
* @property Input
|
|
10136
10244
|
* @description
|
|
10137
10245
|
* The type of the native input element. Default value is number
|
|
10138
10246
|
* @example
|
|
10139
|
-
* ```html
|
|
10140
10247
|
* <nas-phone-number [type]="'text'"></nas-phone-number>
|
|
10141
|
-
|
|
10142
|
-
*/
|
|
10248
|
+
*/
|
|
10143
10249
|
this.type = 'number';
|
|
10144
10250
|
/**
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
*
|
|
10251
|
+
* @property Output
|
|
10252
|
+
* @description
|
|
10253
|
+
* An output event that fies when input value changes.
|
|
10254
|
+
* @example
|
|
10149
10255
|
* <nas-phone-number (modelChange)="onModelChange()"></nas-phone-number>
|
|
10150
|
-
* ```
|
|
10151
10256
|
*/
|
|
10152
10257
|
this.modelChange = new EventEmitter();
|
|
10153
10258
|
/**
|
|
10259
|
+
* @property Output
|
|
10154
10260
|
* @description
|
|
10155
10261
|
* An event that is fired every time a selection is done.
|
|
10156
10262
|
* @example
|
|
10157
|
-
* ```html
|
|
10158
10263
|
* <nas-phone-number (selectedChange)="onSelectedChange($event)"></nas-phone-number>
|
|
10159
|
-
|
|
10160
|
-
*/
|
|
10264
|
+
*/
|
|
10161
10265
|
this.selectedChange = new EventEmitter();
|
|
10162
10266
|
}
|
|
10163
10267
|
mainClass() {
|
|
@@ -10283,6 +10387,7 @@ class AutocompleteComponent extends NasComponentBase {
|
|
|
10283
10387
|
}
|
|
10284
10388
|
}
|
|
10285
10389
|
/**
|
|
10390
|
+
* @property Input
|
|
10286
10391
|
* @description
|
|
10287
10392
|
* An array of items that will appear inside the dropdown list.
|
|
10288
10393
|
*/
|
|
@@ -10297,6 +10402,7 @@ class AutocompleteComponent extends NasComponentBase {
|
|
|
10297
10402
|
this.filter();
|
|
10298
10403
|
}
|
|
10299
10404
|
/**
|
|
10405
|
+
* @property Input
|
|
10300
10406
|
* @description
|
|
10301
10407
|
* Can set and listen to wheather the dropdown list is or should be open or not.
|
|
10302
10408
|
*/
|
|
@@ -10311,6 +10417,7 @@ class AutocompleteComponent extends NasComponentBase {
|
|
|
10311
10417
|
this.openChange.emit(open);
|
|
10312
10418
|
}
|
|
10313
10419
|
/**
|
|
10420
|
+
* @property Input
|
|
10314
10421
|
* @description
|
|
10315
10422
|
* Can set and listen to changes in the model of the text field.
|
|
10316
10423
|
*/
|
|
@@ -10333,16 +10440,19 @@ class AutocompleteComponent extends NasComponentBase {
|
|
|
10333
10440
|
this.document = document;
|
|
10334
10441
|
this.filteredItems = this.items;
|
|
10335
10442
|
/**
|
|
10443
|
+
* @property Input
|
|
10336
10444
|
* @description
|
|
10337
10445
|
* A placeholder that will appear inside the text field.
|
|
10338
10446
|
*/
|
|
10339
10447
|
this.placeholder = '';
|
|
10340
10448
|
/**
|
|
10449
|
+
* @property Output
|
|
10341
10450
|
* @description
|
|
10342
10451
|
* Is fired when the next element should be focused.
|
|
10343
10452
|
*/
|
|
10344
10453
|
this.focusOnNext = new EventEmitter();
|
|
10345
10454
|
/**
|
|
10455
|
+
* @property Output
|
|
10346
10456
|
* @description
|
|
10347
10457
|
* Is fired when the user selects an item in the dropdown list.
|
|
10348
10458
|
*/
|
|
@@ -10598,6 +10708,11 @@ class TextareaComponent extends NasComponentBase {
|
|
|
10598
10708
|
}
|
|
10599
10709
|
constructor() {
|
|
10600
10710
|
super('nas-textarea');
|
|
10711
|
+
/**
|
|
10712
|
+
* @property Output
|
|
10713
|
+
* @description
|
|
10714
|
+
* Emits a string if the model has changesd
|
|
10715
|
+
*/
|
|
10601
10716
|
this.modelChange = new EventEmitter(false);
|
|
10602
10717
|
}
|
|
10603
10718
|
mainClass() {
|
|
@@ -10698,6 +10813,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
10698
10813
|
*/
|
|
10699
10814
|
class JourneySelectionComponent extends NasComponentBase {
|
|
10700
10815
|
/**
|
|
10816
|
+
* @property Input
|
|
10701
10817
|
* @description
|
|
10702
10818
|
* A boolean that changes how journey selection component looks/behaves based on journey selected/not-selected.
|
|
10703
10819
|
*/
|
|
@@ -10717,8 +10833,14 @@ class JourneySelectionComponent extends NasComponentBase {
|
|
|
10717
10833
|
this.datePipe = datePipe;
|
|
10718
10834
|
this.deviceService = deviceService;
|
|
10719
10835
|
this.sanitizer = sanitizer;
|
|
10836
|
+
/**
|
|
10837
|
+
* @property Output
|
|
10838
|
+
* @description
|
|
10839
|
+
* A EventEmitter that returns a boolean based on collapse change.
|
|
10840
|
+
*/
|
|
10720
10841
|
this.collapseChange = new EventEmitter();
|
|
10721
10842
|
/**
|
|
10843
|
+
* @property Input
|
|
10722
10844
|
* @description
|
|
10723
10845
|
* User can input the timezone to localize the date.
|
|
10724
10846
|
* Default is set to UTC and it will by default show the date exactly what is passed to it.
|
|
@@ -10728,9 +10850,10 @@ class JourneySelectionComponent extends NasComponentBase {
|
|
|
10728
10850
|
*/
|
|
10729
10851
|
this.timeZone = 'UTC';
|
|
10730
10852
|
/**
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10853
|
+
* @property Output
|
|
10854
|
+
* @description
|
|
10855
|
+
* this event emits when button is clicked or date changes by nevigation icons.
|
|
10856
|
+
*/
|
|
10734
10857
|
this.selectedDateChanged = new EventEmitter();
|
|
10735
10858
|
}
|
|
10736
10859
|
ngOnChanges(changes) {
|
|
@@ -10827,9 +10950,10 @@ let nextId$1 = 0;
|
|
|
10827
10950
|
*/
|
|
10828
10951
|
class SlideToggleComponent extends NasComponentBase {
|
|
10829
10952
|
/**
|
|
10953
|
+
* @property Input
|
|
10830
10954
|
* @description
|
|
10831
10955
|
* Sets the Id of the native input element.
|
|
10832
|
-
|
|
10956
|
+
*/
|
|
10833
10957
|
get inputId() {
|
|
10834
10958
|
return this.inputIdValue ? this.inputIdValue : `nas-slide-toggle-input-${this.componentId}`;
|
|
10835
10959
|
}
|
|
@@ -10837,9 +10961,10 @@ class SlideToggleComponent extends NasComponentBase {
|
|
|
10837
10961
|
this.inputIdValue = value;
|
|
10838
10962
|
}
|
|
10839
10963
|
/**
|
|
10964
|
+
* @property Input
|
|
10840
10965
|
* @description
|
|
10841
10966
|
* Set the toggle value.
|
|
10842
|
-
|
|
10967
|
+
*/
|
|
10843
10968
|
get toggle() {
|
|
10844
10969
|
return this.toggleValue;
|
|
10845
10970
|
}
|
|
@@ -10857,14 +10982,16 @@ class SlideToggleComponent extends NasComponentBase {
|
|
|
10857
10982
|
constructor() {
|
|
10858
10983
|
super('nas-slide-toggle');
|
|
10859
10984
|
/**
|
|
10985
|
+
* @property Output
|
|
10860
10986
|
* @description
|
|
10861
10987
|
* Toggle change events.
|
|
10862
|
-
|
|
10988
|
+
*/
|
|
10863
10989
|
this.toggleChange = new EventEmitter();
|
|
10864
10990
|
/**
|
|
10991
|
+
* @property Output
|
|
10865
10992
|
* @description
|
|
10866
10993
|
* Emits when the focus should be on the previous element.
|
|
10867
|
-
|
|
10994
|
+
*/
|
|
10868
10995
|
this.focusOnPrevious = new EventEmitter();
|
|
10869
10996
|
this.componentId = nextId$1++;
|
|
10870
10997
|
}
|
|
@@ -10961,9 +11088,10 @@ let nextId = 0;
|
|
|
10961
11088
|
*/
|
|
10962
11089
|
class SliderComponent extends NasComponentBase {
|
|
10963
11090
|
/**
|
|
11091
|
+
* @property Input
|
|
10964
11092
|
* @description
|
|
10965
11093
|
* The value of the slider
|
|
10966
|
-
|
|
11094
|
+
*/
|
|
10967
11095
|
get value() {
|
|
10968
11096
|
return this.valueValue;
|
|
10969
11097
|
}
|
|
@@ -10976,8 +11104,9 @@ class SliderComponent extends NasComponentBase {
|
|
|
10976
11104
|
this.valueChange.emit(value);
|
|
10977
11105
|
}
|
|
10978
11106
|
/**
|
|
10979
|
-
|
|
10980
|
-
|
|
11107
|
+
* @property Input
|
|
11108
|
+
* @description
|
|
11109
|
+
* The selected minimum value of the range-slider
|
|
10981
11110
|
*/
|
|
10982
11111
|
get selectedMinValue() {
|
|
10983
11112
|
return this.rangeMinValue;
|
|
@@ -10991,9 +11120,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
10991
11120
|
this.selectedMinValueChange.emit(value);
|
|
10992
11121
|
}
|
|
10993
11122
|
/**
|
|
11123
|
+
* @property Input
|
|
10994
11124
|
* @description
|
|
10995
11125
|
* The selected maximum value of the range-slider
|
|
10996
|
-
|
|
11126
|
+
*/
|
|
10997
11127
|
get selectedMaxValue() {
|
|
10998
11128
|
return this.rangeMaxValue;
|
|
10999
11129
|
}
|
|
@@ -11006,8 +11136,9 @@ class SliderComponent extends NasComponentBase {
|
|
|
11006
11136
|
this.selectedMaxValueChange.emit(value);
|
|
11007
11137
|
}
|
|
11008
11138
|
/**
|
|
11009
|
-
|
|
11010
|
-
|
|
11139
|
+
* @property Input
|
|
11140
|
+
* @description
|
|
11141
|
+
* The minimum difference of min and max range-slider.
|
|
11011
11142
|
*/
|
|
11012
11143
|
get minDiffRange() {
|
|
11013
11144
|
return this.minDifferenceRange;
|
|
@@ -11019,9 +11150,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
11019
11150
|
this.minDifferenceRange = Number(value);
|
|
11020
11151
|
}
|
|
11021
11152
|
/**
|
|
11153
|
+
* @property Input
|
|
11022
11154
|
* @description
|
|
11023
11155
|
* The suffix/ending of the value that the slider can have.
|
|
11024
|
-
|
|
11156
|
+
*/
|
|
11025
11157
|
get suffix() {
|
|
11026
11158
|
if (this.suffixLabelValue) {
|
|
11027
11159
|
return this.suffixLabelValue;
|
|
@@ -11034,9 +11166,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
11034
11166
|
this.suffixLabelValue = value;
|
|
11035
11167
|
}
|
|
11036
11168
|
/**
|
|
11169
|
+
* @property Input
|
|
11037
11170
|
* @description
|
|
11038
11171
|
* The minimum value that the slider can have. The default value is 0.
|
|
11039
|
-
|
|
11172
|
+
*/
|
|
11040
11173
|
get min() {
|
|
11041
11174
|
return this.minValue;
|
|
11042
11175
|
}
|
|
@@ -11047,9 +11180,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
11047
11180
|
this.minValue = value;
|
|
11048
11181
|
}
|
|
11049
11182
|
/**
|
|
11183
|
+
* @property Input
|
|
11050
11184
|
* @description
|
|
11051
11185
|
* A custom label for the minimum value. The actual value is still specified by min input.
|
|
11052
|
-
|
|
11186
|
+
*/
|
|
11053
11187
|
get minLabel() {
|
|
11054
11188
|
if (this.minLabelValue) {
|
|
11055
11189
|
return this.minLabelValue;
|
|
@@ -11062,9 +11196,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
11062
11196
|
this.minLabelValue = value;
|
|
11063
11197
|
}
|
|
11064
11198
|
/**
|
|
11199
|
+
* @property Input
|
|
11065
11200
|
* @description
|
|
11066
11201
|
* The maximum value that the slider can have. The default value is 100.
|
|
11067
|
-
|
|
11202
|
+
*/
|
|
11068
11203
|
get max() {
|
|
11069
11204
|
return this.maxValue;
|
|
11070
11205
|
}
|
|
@@ -11075,9 +11210,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
11075
11210
|
this.maxValue = value;
|
|
11076
11211
|
}
|
|
11077
11212
|
/**
|
|
11213
|
+
* @property Input
|
|
11078
11214
|
* @description
|
|
11079
11215
|
* A custom label for the maximum value. The actual value is still specified by max input.
|
|
11080
|
-
|
|
11216
|
+
*/
|
|
11081
11217
|
get maxLabel() {
|
|
11082
11218
|
if (this.maxLabelValue) {
|
|
11083
11219
|
return this.maxLabelValue;
|
|
@@ -11090,9 +11226,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
11090
11226
|
this.maxLabelValue = value;
|
|
11091
11227
|
}
|
|
11092
11228
|
/**
|
|
11229
|
+
* @property Input
|
|
11093
11230
|
* @description
|
|
11094
11231
|
* The values at which the thumb will snap
|
|
11095
|
-
|
|
11232
|
+
*/
|
|
11096
11233
|
get step() {
|
|
11097
11234
|
return this.stepValue;
|
|
11098
11235
|
}
|
|
@@ -11103,9 +11240,10 @@ class SliderComponent extends NasComponentBase {
|
|
|
11103
11240
|
this.stepValue = Number(value);
|
|
11104
11241
|
}
|
|
11105
11242
|
/**
|
|
11243
|
+
* @property Input
|
|
11106
11244
|
* @description
|
|
11107
11245
|
* Whether the component is disabled
|
|
11108
|
-
|
|
11246
|
+
*/
|
|
11109
11247
|
get disabled() {
|
|
11110
11248
|
return this.disabledValue;
|
|
11111
11249
|
}
|
|
@@ -11156,18 +11294,21 @@ class SliderComponent extends NasComponentBase {
|
|
|
11156
11294
|
super('nas-slider');
|
|
11157
11295
|
this.cdr = cdr;
|
|
11158
11296
|
/**
|
|
11297
|
+
* @property Output
|
|
11159
11298
|
* @description
|
|
11160
11299
|
* An event that is fired every time the silder value changes
|
|
11161
|
-
|
|
11300
|
+
*/
|
|
11162
11301
|
this.valueChange = new EventEmitter();
|
|
11163
11302
|
/**
|
|
11303
|
+
* @property Output
|
|
11164
11304
|
* @description
|
|
11165
11305
|
* An event that is fired every time the silder minimum value changes
|
|
11166
|
-
|
|
11306
|
+
*/
|
|
11167
11307
|
this.selectedMinValueChange = new EventEmitter();
|
|
11168
11308
|
/**
|
|
11169
|
-
|
|
11170
|
-
|
|
11309
|
+
* @property Output
|
|
11310
|
+
* @description
|
|
11311
|
+
* An event that is fired every time the silder maximum value changes
|
|
11171
11312
|
*/
|
|
11172
11313
|
this.selectedMaxValueChange = new EventEmitter();
|
|
11173
11314
|
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
@@ -11479,8 +11620,6 @@ class TableComponent extends NasComponentBase {
|
|
|
11479
11620
|
constructor() {
|
|
11480
11621
|
super('nas-table');
|
|
11481
11622
|
}
|
|
11482
|
-
ngOnInit() {
|
|
11483
|
-
}
|
|
11484
11623
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11485
11624
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: TableComponent, selector: "nas-table", inputs: { caption: "caption" }, usesInheritance: true, ngImport: i0, template: "<table [nasClass]=\"getClass()\">\n <caption *ngIf=\"caption\">{{caption}}</caption>\n <ng-content select=\"nas-column-group\"></ng-content>\n <ng-content select=\"nas-table-row\"></ng-content>\n <ng-content select=\"nas-table-head\"></ng-content>\n <ng-content select=\"nas-table-body\"></ng-content>\n <ng-content select=\"nas-table-foot\"></ng-content>\n</table>", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}:host{overflow-x:auto;display:block}.nas-table{width:100%;background:#fff}.nas-table ::ng-deep tr{height:56px}.nas-table ::ng-deep tr td,.nas-table ::ng-deep tr th{padding-left:24px;border-bottom:2px solid #e3e3e3;text-align:left}.nas-table ::ng-deep tr td:last-child,.nas-table ::ng-deep tr th:last-child{padding-right:24px}.nas-table ::ng-deep caption{margin-bottom:9px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }] }); }
|
|
11486
11625
|
}
|