@norwegian/core-components 7.9.0 → 7.9.1

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.
@@ -27,7 +27,7 @@ export declare class JourneyComponent extends NasComponentBase implements OnChan
27
27
  estimatedArrivalDate?: string;
28
28
  estimatedDepartureDate?: string;
29
29
  };
30
- flightTypeIcon: string;
30
+ marketingCarrierIcon: string;
31
31
  /**
32
32
  * @property Input
33
33
  * @description
@@ -94,7 +94,7 @@ export declare class JourneyComponent extends NasComponentBase implements OnChan
94
94
  ngOnChanges(changes: SimpleChanges): void;
95
95
  getTimeClass(journeyFlight: JourneyFlightModel): ClassModel;
96
96
  getLineClass(): ClassModel;
97
- private getFlightTypeIcon;
97
+ private getMarketingCarrierIcon;
98
98
  private setDisplayDates;
99
99
  private transformDate;
100
100
  static ɵfac: i0.ɵɵFactoryDeclaration<JourneyComponent, never>;
@@ -1,12 +1,12 @@
1
1
  import { UtcDate } from '../../../core/models/utc-date.model';
2
- import { FlightType } from './flight-type.enum';
2
+ import { MarketingCarrier } from './marketing-carrier.enum';
3
3
  export interface JourneyFlightModel {
4
4
  date: UtcDate;
5
5
  airportName: string;
6
6
  airportCode?: string;
7
7
  airlineName?: string;
8
8
  flightCode?: string;
9
- flightType?: FlightType;
9
+ marketingCarrier?: MarketingCarrier;
10
10
  time: UtcDate;
11
11
  estimatedTime?: UtcDate;
12
12
  estimatedDate?: UtcDate;
@@ -0,0 +1,6 @@
1
+ export declare enum MarketingCarrier {
2
+ NotSet = 0,
3
+ DY = 1,
4
+ D8 = 2,
5
+ WF = 3
6
+ }
@@ -18,7 +18,7 @@ export declare class JourneyStopoverComponent extends NasComponentBase implement
18
18
  private datePipe;
19
19
  private dateService;
20
20
  stopoverTime: StopoverTimeModel;
21
- flightTypeIcon: string;
21
+ marketingCarrierIcon: string;
22
22
  currentStopover: {
23
23
  departureTime: string;
24
24
  arrivalTime: string;
@@ -124,7 +124,7 @@ export declare class JourneyStopoverComponent extends NasComponentBase implement
124
124
  private setDisplayDates;
125
125
  private transformDate;
126
126
  private getStopoverTime;
127
- private getFlightTypeIcon;
127
+ private getMarketingCarrierIcon;
128
128
  getTimeClass(estimatedTime: string, estimatedDate: string): ClassModel;
129
129
  static ɵfac: i0.ɵɵFactoryDeclaration<JourneyStopoverComponent, never>;
130
130
  static ɵcmp: i0.ɵɵComponentDeclaration<JourneyStopoverComponent, "nas-journey-stopover", never, { "journeyStopoverModel": { "alias": "journeyStopoverModel"; "required": false; }; "transitLabel": { "alias": "transitLabel"; "required": false; }; "arrivalTimeLabel": { "alias": "arrivalTimeLabel"; "required": false; }; "departureTimeLabel": { "alias": "departureTimeLabel"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "transitHoursIndicator": { "alias": "transitHoursIndicator"; "required": false; }; "transitMinutesIndicator": { "alias": "transitMinutesIndicator"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,11 +1,11 @@
1
- import { FlightType } from '../../components/journey/models/flight-type.enum';
1
+ import { MarketingCarrier } from '../../components/journey/models/marketing-carrier.enum';
2
2
  import { UtcDate } from '../../core/models/utc-date.model';
3
3
  export interface JourneyStopoverModel {
4
4
  airportName: string;
5
5
  airportCode?: string;
6
6
  airlineName?: string;
7
7
  flightCode?: string;
8
- flightType?: FlightType;
8
+ marketingCarrier?: MarketingCarrier;
9
9
  localArrivalTime: UtcDate;
10
10
  localDepartureTime: UtcDate;
11
11
  localArrivalDate?: UtcDate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "7.9.0",
3
+ "version": "7.9.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 22.0.0",
6
6
  "@angular/core": ">=16.0.0 < 22.0.0"
@@ -1,8 +0,0 @@
1
- export var FlightType;
2
- (function (FlightType) {
3
- FlightType[FlightType["None"] = 0] = "None";
4
- FlightType[FlightType["DY"] = 1] = "DY";
5
- FlightType[FlightType["D8"] = 2] = "D8";
6
- FlightType[FlightType["WF"] = 3] = "WF";
7
- })(FlightType || (FlightType = {}));
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxpZ2h0LXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvam91cm5leS9tb2RlbHMvZmxpZ2h0LXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxVQUtYO0FBTEQsV0FBWSxVQUFVO0lBQ2xCLDJDQUFRLENBQUE7SUFDUix1Q0FBTSxDQUFBO0lBQ04sdUNBQU0sQ0FBQTtJQUNOLHVDQUFNLENBQUE7QUFDVixDQUFDLEVBTFcsVUFBVSxLQUFWLFVBQVUsUUFLckIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBGbGlnaHRUeXBlIHtcbiAgICBOb25lID0gMCxcbiAgICBEWSA9IDEsXG4gICAgRDggPSAyLFxuICAgIFdGID0gM1xufVxuIl19
@@ -1,6 +0,0 @@
1
- export declare enum FlightType {
2
- None = 0,
3
- DY = 1,
4
- D8 = 2,
5
- WF = 3
6
- }