@norwegian/core-components 6.0.3 → 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.
Files changed (111) hide show
  1. package/esm2022/lib/components/accordion/accordion.component.mjs +17 -12
  2. package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +1 -1
  3. package/esm2022/lib/components/airport-select/airport-select.component.mjs +13 -1
  4. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +7 -1
  5. package/esm2022/lib/components/backdrop/backdrop.component.mjs +3 -1
  6. package/esm2022/lib/components/box/box.component.mjs +4 -4
  7. package/esm2022/lib/components/button/button.component.mjs +5 -1
  8. package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -1
  9. package/esm2022/lib/components/chip/chip.component.mjs +2 -7
  10. package/esm2022/lib/components/container/container.component.mjs +1 -1
  11. package/esm2022/lib/components/continue/continue.component.mjs +6 -1
  12. package/esm2022/lib/components/cover/cover.component.mjs +1 -1
  13. package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +1 -1
  14. package/esm2022/lib/components/datepicker/datepicker.component.mjs +16 -1
  15. package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +17 -1
  16. package/esm2022/lib/components/divider/divider.component.mjs +1 -1
  17. package/esm2022/lib/components/dropdown/dropdown.component.mjs +2 -1
  18. package/esm2022/lib/components/filter/filter.component.mjs +36 -2
  19. package/esm2022/lib/components/grid/grid.component.mjs +1 -1
  20. package/esm2022/lib/components/icon/icon.component.mjs +1 -1
  21. package/esm2022/lib/components/icon-list/icon-list.component.mjs +1 -1
  22. package/esm2022/lib/components/icon-list/icon-list.model.mjs +1 -1
  23. package/esm2022/lib/components/info/info.component.mjs +5 -4
  24. package/esm2022/lib/components/input/input.component.mjs +6 -1
  25. package/esm2022/lib/components/journey/journey.component.mjs +5 -7
  26. package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +7 -5
  27. package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +22 -25
  28. package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +12 -4
  29. package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +18 -20
  30. package/esm2022/lib/components/list/list.component.mjs +1 -1
  31. package/esm2022/lib/components/modal/modal.component.mjs +5 -7
  32. package/esm2022/lib/components/number-field/number-field.component.mjs +4 -2
  33. package/esm2022/lib/components/page-footer/page-footer.component.mjs +2 -4
  34. package/esm2022/lib/components/page-header/page-header.component.mjs +30 -12
  35. package/esm2022/lib/components/page-header/page-header.module.mjs +5 -4
  36. package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +1 -1
  37. package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +11 -7
  38. package/esm2022/lib/components/phone-number/phone-number.component.mjs +11 -15
  39. package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +3 -4
  40. package/esm2022/lib/components/radio/radio.component.mjs +4 -2
  41. package/esm2022/lib/components/select/select.component.mjs +11 -7
  42. package/esm2022/lib/components/simple-list/simple-list.component.mjs +1 -1
  43. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +9 -5
  44. package/esm2022/lib/components/slider/slider.component.mjs +32 -18
  45. package/esm2022/lib/components/sort/sort.component.mjs +11 -7
  46. package/esm2022/lib/components/spinner/spinner.component.mjs +13 -18
  47. package/esm2022/lib/components/subsidy-discount/subsidy-discount.component.mjs +13 -7
  48. package/esm2022/lib/components/suggestions/suggestions.component.mjs +3 -2
  49. package/esm2022/lib/components/tab-group/tab-group.component.mjs +3 -2
  50. package/esm2022/lib/components/table/table.component.mjs +1 -3
  51. package/esm2022/lib/components/textarea/textarea.component.mjs +6 -1
  52. package/esm2022/lib/components/toggle/toggle.component.mjs +5 -5
  53. package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +26 -31
  54. package/esm2022/lib/components/weather-icon/weather-icon.component.mjs +3 -2
  55. package/fesm2022/norwegian-core-components.mjs +371 -221
  56. package/fesm2022/norwegian-core-components.mjs.map +1 -1
  57. package/lib/components/accordion/accordion.component.d.ts +81 -78
  58. package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +2 -2
  59. package/lib/components/airport-select/airport-select.component.d.ts +38 -2
  60. package/lib/components/autocomplete/autocomplete.component.d.ts +15 -2
  61. package/lib/components/backdrop/backdrop.component.d.ts +3 -0
  62. package/lib/components/box/box.component.d.ts +13 -3
  63. package/lib/components/button/button.component.d.ts +26 -0
  64. package/lib/components/checkbox/checkbox.component.d.ts +18 -2
  65. package/lib/components/chip/chip.component.d.ts +5 -21
  66. package/lib/components/container/container.component.d.ts +6 -0
  67. package/lib/components/continue/continue.component.d.ts +14 -0
  68. package/lib/components/cover/cover.component.d.ts +13 -3
  69. package/lib/components/datepicker/calendar/calendar.component.d.ts +2 -2
  70. package/lib/components/datepicker/datepicker.component.d.ts +33 -2
  71. package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +42 -0
  72. package/lib/components/divider/divider.component.d.ts +9 -0
  73. package/lib/components/dropdown/dropdown.component.d.ts +8 -0
  74. package/lib/components/filter/filter.component.d.ts +108 -2
  75. package/lib/components/grid/grid.component.d.ts +12 -0
  76. package/lib/components/icon/icon.component.d.ts +5 -8
  77. package/lib/components/icon-list/icon-list.component.d.ts +5 -0
  78. package/lib/components/icon-list/icon-list.model.d.ts +1 -0
  79. package/lib/components/info/info.component.d.ts +7 -18
  80. package/lib/components/input/input.component.d.ts +30 -5
  81. package/lib/components/journey/journey.component.d.ts +9 -16
  82. package/lib/components/journey-availability/journey-availability.component.d.ts +8 -8
  83. package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +29 -34
  84. package/lib/components/journey-selection/journey-selection.component.d.ts +14 -3
  85. package/lib/components/journey-stopover/journey-stopover.component.d.ts +35 -43
  86. package/lib/components/list/list.component.d.ts +8 -0
  87. package/lib/components/modal/modal.component.d.ts +16 -34
  88. package/lib/components/number-field/number-field.component.d.ts +26 -12
  89. package/lib/components/page-footer/page-footer.component.d.ts +9 -16
  90. package/lib/components/page-header/page-header.component.d.ts +30 -15
  91. package/lib/components/page-header/page-header.module.d.ts +2 -1
  92. package/lib/components/passenger-select/models/passengers.model.d.ts +2 -2
  93. package/lib/components/passenger-select/passenger-select.component.d.ts +33 -18
  94. package/lib/components/phone-number/phone-number.component.d.ts +80 -108
  95. package/lib/components/premium-toggle/premium-toggle.component.d.ts +9 -13
  96. package/lib/components/radio/radio.component.d.ts +35 -18
  97. package/lib/components/select/select.component.d.ts +47 -29
  98. package/lib/components/simple-list/simple-list.component.d.ts +16 -8
  99. package/lib/components/slide-toggle/slide-toggle.component.d.ts +16 -9
  100. package/lib/components/slider/slider.component.d.ts +51 -28
  101. package/lib/components/sort/sort.component.d.ts +12 -7
  102. package/lib/components/spinner/spinner.component.d.ts +24 -37
  103. package/lib/components/subsidy-discount/subsidy-discount.component.d.ts +14 -7
  104. package/lib/components/suggestions/suggestions.component.d.ts +6 -3
  105. package/lib/components/tab-group/tab-group.component.d.ts +6 -3
  106. package/lib/components/table/table.component.d.ts +3 -8
  107. package/lib/components/textarea/textarea.component.d.ts +42 -20
  108. package/lib/components/toggle/toggle.component.d.ts +44 -68
  109. package/lib/components/trip-summary/trip-summary.component.d.ts +68 -82
  110. package/lib/components/weather-icon/weather-icon.component.d.ts +12 -6
  111. package/package.json +3 -3
@@ -6,61 +6,73 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export declare class GridComponent extends NasComponentBase {
8
8
  /**
9
+ * @property Input
9
10
  * @description
10
11
  * Boolean to align items to the right
11
12
  */
12
13
  right: boolean;
13
14
  /**
15
+ * @property Input
14
16
  * @description
15
17
  * Boolean which will center the columns
16
18
  */
17
19
  center: boolean;
18
20
  /**
21
+ * @property Input
19
22
  * @description
20
23
  * Boolean to center the items
21
24
  */
22
25
  stretch: boolean;
23
26
  /**
27
+ * @property Input
24
28
  * @description
25
29
  * Boolean to stretch the items to the same height
26
30
  */
27
31
  wide: boolean;
28
32
  /**
33
+ * @property Input
29
34
  * @description
30
35
  * Boolean which will make smalles space between the columns
31
36
  */
32
37
  tight: boolean;
33
38
  /**
39
+ * @property Input
34
40
  * @description
35
41
  * Boolean to reduce space between items
36
42
  */
37
43
  xtight: boolean;
38
44
  /**
45
+ * @property Input
39
46
  * @description
40
47
  * Boolean to reduce space between items
41
48
  */
42
49
  xxtight: boolean;
43
50
  /**
51
+ * @property Input
44
52
  * @description
45
53
  * Boolean which will remove all right and left space of each column. Top and bottom space will be kept
46
54
  */
47
55
  spaceless: boolean;
48
56
  /**
57
+ * @property Input
49
58
  * @description
50
59
  * Removes padding on the right and left of grid.
51
60
  */
52
61
  mobileview: boolean;
53
62
  /**
63
+ * @property Input
54
64
  * @description
55
65
  * Boolean to vertical stack the columns when scaled to mobile view.
56
66
  */
57
67
  nopadding: boolean;
58
68
  /**
69
+ * @property Input
59
70
  * @description
60
71
  * Removes margin on the right and left of grid.
61
72
  */
62
73
  nomargin: boolean;
63
74
  /**
75
+ * @property Input
64
76
  * @description
65
77
  * Sets column width based on colGroup value (100/colGroup = result%)
66
78
  */
@@ -7,46 +7,43 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export declare class IconComponent extends NasComponentBase {
9
9
  /**
10
+ * @property Input
10
11
  * @description
11
12
  * String specifies the icon name, default to 'arrow-right'
12
13
  *
13
14
  * @example
14
- * ```html
15
15
  * <nas-icon type="home" ></nas-icon>
16
- * ```
17
16
  */
18
17
  icon: string;
19
18
  /**
19
+ * @property Input
20
20
  * @description
21
21
  * String specifies the icon type, default to 'small'
22
22
  *
23
23
  * @example
24
- * ```html
25
24
  * <nas-icon type="baggage" type="large"></nas-icon>
26
- * ```
27
25
  */
28
26
  type: string;
29
27
  /**
28
+ * @property Input
30
29
  * @description
31
30
  * Boolean which specifies if the icon is used as a indicator.
32
31
  */
33
32
  isIndicator?: boolean;
34
33
  /**
34
+ * @property Input
35
35
  * @description
36
36
  * NOTE! this only works for small icons properly.
37
37
  * Boolean which if true enable white circular background for icon.
38
38
  */
39
39
  lightCircularBackground?: boolean;
40
40
  /**
41
+ * @property Input
41
42
  * @description
42
43
  * String to set type. Button will sett additional custom styling.
43
44
  *
44
45
  * @example
45
- *
46
- * ```html
47
46
  * <nas-icon [cssClass]="'my-custom-class'"></nas-icon>
48
- * ```
49
- *
50
47
  */
51
48
  cssClass: ClassModel;
52
49
  constructor();
@@ -13,26 +13,31 @@ export declare class IconListComponent extends NasComponentBase {
13
13
  */
14
14
  constructor();
15
15
  /**
16
+ * @property Input
16
17
  * @description
17
18
  * The items for the list: [{icon, title, link*, description*}]
18
19
  */
19
20
  items: Array<IconListModel>;
20
21
  /**
22
+ * @property Input
21
23
  * @description
22
24
  * Small icons and no description
23
25
  */
24
26
  small?: boolean;
25
27
  /**
28
+ * @property Input
26
29
  * @description
27
30
  * Inline flow without breaks
28
31
  */
29
32
  inline?: boolean;
30
33
  /**
34
+ * @property Input
31
35
  * @description
32
36
  * Grid format, 2x2
33
37
  */
34
38
  grid?: boolean;
35
39
  /**
40
+ * @property Input
36
41
  * @description
37
42
  * No spacing in bottom (no margin-bottom)
38
43
  */
@@ -4,4 +4,5 @@ export interface IconListModel {
4
4
  description?: string;
5
5
  link?: string;
6
6
  class?: string;
7
+ action?: () => void;
7
8
  }
@@ -13,72 +13,61 @@ export declare class InfoComponent extends NasComponentBase {
13
13
  showChange: EventEmitter<boolean>;
14
14
  infoContainer: ElementRef;
15
15
  /**
16
+ * @property Input
16
17
  * @description
17
18
  * A model that contains an optional title and an array of messages.
18
19
  * @example
19
- * ```html
20
20
  * <nas-info [info]="info"></nas-info>
21
- * ```
22
21
  */
23
22
  get info(): InfoModel;
24
23
  set info(info: InfoModel);
25
24
  /**
25
+ * @property Input
26
26
  * @description
27
27
  * A boolean input value to set the accordion to primary style.
28
28
  * @example
29
- * ```html
30
29
  * <nas-info [info]="info" error></nas-info>
31
- * ```
32
30
  * or
33
- * ```html
34
31
  * <nas-accordion [error]="isErrorProperty"></nas-accordion>
35
- * ```
36
32
  */
37
33
  error?: boolean;
38
34
  /**
35
+ * @property Input
39
36
  * @description
40
37
  * A boolean input value to set the accordion to success info.
41
38
  * @example
42
- * ```html
43
39
  * <nas-info [info]="info" success></nas-info>
44
- * ```
45
40
  * or
46
- * ```html
47
41
  * <nas-accordion [success]="isSuccessProperty"></nas-accordion>
48
- * ```
49
42
  */
50
43
  success?: boolean;
51
44
  /**
45
+ * @property Input
52
46
  * @description
53
47
  * String to set stack trace label on the accordion.
54
48
  *
55
49
  * @example
56
- *
57
- * ```html
58
50
  * <nas-info [stackTraceLabel]="'Stack trace'"></nas-info>
59
- * ```
60
- *
61
51
  */
62
52
  stackTraceLabel: string;
63
53
  /**
54
+ * @property Input
64
55
  * @description
65
56
  * A boolean input value to allow the remove icon in the Info UI.
66
57
  * @example
67
- * ```html
68
58
  * <nas-info [info]="info" removeIcon></nas-info>
69
- * ```
70
59
  * or
71
- * ```html
72
60
  * <nas-accordion [removeIcon]="isremoveIconProperty"></nas-accordion>
73
- * ```
74
61
  */
75
62
  removeIcon?: boolean;
76
63
  /**
64
+ * @property Input
77
65
  * @description
78
66
  * Flag for showing/hiding element. Defaults to true.
79
67
  */
80
68
  show: boolean;
81
69
  /**
70
+ * @property Input
82
71
  * @description
83
72
  * Flag for toggling on or off the HTML sanitizing. Defaults to true.
84
73
  */
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { ClassModel } from '../../core';
6
6
  import { EventEmitter, AfterViewInit, ElementRef } from '@angular/core';
7
- import { UntypedFormGroup } from '@angular/forms';
7
+ import { FormGroup } from '@angular/forms';
8
8
  import { NasComponentBase } from '../../core/base/nas-component.base';
9
9
  import * as i0 from "@angular/core";
10
10
  /**
@@ -15,11 +15,13 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
15
15
  inputReactive: ElementRef<HTMLElement>;
16
16
  inputNotReactive: ElementRef<HTMLElement>;
17
17
  /**
18
+ * @property Input
18
19
  * @description
19
20
  * The ID of the native input element
20
21
  */
21
22
  id: string;
22
23
  /**
24
+ * @property Input
23
25
  * @description
24
26
  * The value of the native input element
25
27
  */
@@ -28,93 +30,111 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
28
30
  modelChange: EventEmitter<string>;
29
31
  blur: EventEmitter<string>;
30
32
  /**
33
+ * @property Input
31
34
  * @description
32
35
  * Whether the control is in an error state.
33
36
  */
34
37
  error: boolean;
35
38
  /**
39
+ * @property Input
36
40
  * @description
37
41
  * Whether the native input element is disabled or no, with disabled styling.
38
42
  */
39
43
  get disabled(): boolean;
40
44
  set disabled(value: boolean);
41
45
  /**
46
+ * @property Input
42
47
  * @description
43
48
  * Set spaceless styling (removing spacing)
44
49
  */
45
50
  spaceless: boolean;
46
51
  /**
52
+ * @property Input
47
53
  * @description
48
54
  * Set loading styling of input
49
55
  */
50
56
  loading: boolean;
51
57
  /**
58
+ * @property Input
52
59
  * @description
53
60
  * Sets the label of the input
54
61
  */
55
62
  label: string;
56
63
  /**
64
+ * @property Input
57
65
  * @description
58
66
  * Sets the label of the input inside the white area
59
67
  */
60
68
  labelInside: boolean;
61
69
  /**
70
+ * @property Input
62
71
  * @description
63
72
  * The error message to display when error occur. Error attribute need to be true.
64
73
  */
65
74
  errorMessage: string;
66
75
  /**
76
+ * @property Input
67
77
  * @description
68
78
  * Sets placeholder text in the native input element
69
79
  */
70
80
  placeholder: string;
71
81
  /**
72
- * @description
73
- * Sets min length on the native input element.
74
- */
82
+ * @property Input
83
+ * @description
84
+ * Sets min length on the native input element.
85
+ */
75
86
  minLength: number;
76
87
  /**
88
+ * @property Input
77
89
  * @description
78
90
  * Sets max length on the native input element.
79
91
  */
80
92
  maxLength: number;
81
93
  /**
94
+ * @property Input
82
95
  * @description
83
96
  * Sets the info text related to the input
84
97
  */
85
98
  info: string;
86
99
  /**
100
+ * @property Input
87
101
  * @description
88
102
  * Sets the icon on the input
89
103
  */
90
104
  icon: string;
91
105
  /**
106
+ * @property Input
92
107
  * @description
93
108
  * Input type of the element.
94
109
  */
95
110
  type: string;
96
111
  /**
112
+ * @property Input
97
113
  * @description
98
114
  * Whether the element is readonly.
99
115
  */
100
116
  readonly: boolean;
101
117
  /**
118
+ * @property Input
102
119
  * @description
103
120
  * String to set name on native input element.
104
121
  */
105
122
  get name(): string;
106
123
  set name(value: string);
107
124
  /**
125
+ * @property Input
108
126
  * @description
109
127
  * Sets aria describedby for accessibility
110
128
  */
111
129
  ariaDescribedby: string;
112
130
  /**
131
+ * @property Input
113
132
  * @description
114
133
  * Sets the required attribute on the native input element.
115
134
  */
116
135
  required: boolean;
117
136
  /**
137
+ * @property Input
118
138
  * @description
119
139
  * Sets a formControlName directive to the input.
120
140
  * It requires that the consumer included ReactiveFormsModule in it's module.
@@ -124,6 +144,7 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
124
144
  */
125
145
  nasFormControlName: string;
126
146
  /**
147
+ * @property Input
127
148
  * @description
128
149
  * Adds the parent's form group.
129
150
  * It requires that the consumer included ReactiveFormsModule in it's module.
@@ -131,8 +152,9 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
131
152
  * @example
132
153
  * <nas-input [nasFormGroup]="loginGroup"></nas-input>
133
154
  */
134
- nasFormGroup: UntypedFormGroup;
155
+ nasFormGroup: FormGroup;
135
156
  /**
157
+ * @property Input
136
158
  * @description
137
159
  * The minimum value to accept for this input.
138
160
  * @example
@@ -140,6 +162,7 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
140
162
  */
141
163
  min: number;
142
164
  /**
165
+ * @property Input
143
166
  * @description
144
167
  * The maximum value to accept for this input.
145
168
  * @example
@@ -147,6 +170,7 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
147
170
  */
148
171
  max: number;
149
172
  /**
173
+ * @property Input
150
174
  * @description
151
175
  * Adds a line below the input element. Default value is true.
152
176
  * @example
@@ -154,6 +178,7 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
154
178
  */
155
179
  line: boolean;
156
180
  /**
181
+ * @property Input
157
182
  * @description
158
183
  * Specifies a regular expression that the input value is checked against on form submission
159
184
  */
@@ -28,86 +28,79 @@ export declare class JourneyComponent extends NasComponentBase implements OnChan
28
28
  estimatedDepartureDate?: string;
29
29
  };
30
30
  /**
31
+ * @property Input
31
32
  * @description
32
33
  * A record containing Journey details.
33
34
  * @required
34
35
  * @example
35
- * ```html
36
36
  * <nas-journey [journeyModel]="journeyModel"></nas-journey>
37
- * ```
38
37
  */
39
38
  journeyModel: JourneyModel;
40
39
  /**
40
+ * @property Input
41
41
  * @description
42
42
  * A string representing date display format, if not provided, default formatting on date will be applied
43
43
  * i.e 'dd MMM yyyy', which will result in displaying date like '21, Feb 2019'.
44
44
  * @example
45
- * ```html
46
45
  * <nas-journey [dateFormat]="'dd, MMM yyyy'"></nas-journey>
47
- * ```
48
46
  */
49
47
  dateFormat: string;
50
48
  /**
49
+ * @property Input
51
50
  * @description
52
51
  * A string representing time display format, if not provided, default formatting on date will be applied
53
52
  * i.e 'HH:mm' , which will result in displaying time like '09:23'.
54
53
  * @example
55
- * ```html
56
54
  * <nas-journey [timeFormat]="'HH:mm'"></nas-journey>
57
- * ```
58
55
  */
59
56
  timeFormat: string;
60
57
  /**
58
+ * @property Input
61
59
  * @description
62
60
  * A string representing arrival label, it will be displayed before the arrival time.
63
61
  * @example
64
- * ```html
65
62
  * <nas-journey [arrivalLabel]="'Arrival'"></nas-journey>
66
- * ```
67
63
  */
68
64
  arrivalLabel: string;
69
65
  /**
66
+ * @property Input
70
67
  * @description
71
68
  * A string representing departure label, it will be displayed before the departure time.
72
69
  * @example
73
- * ```html
74
70
  * <nas-journey [departureLabel]="'Departure'"></nas-journey>
75
- * ```
76
71
  */
77
72
  departureLabel: string;
78
73
  /**
74
+ * @property Input
79
75
  * @description
80
76
  * A string representing delayed arrival label, it will be displayed before the delayed arrival time.
81
77
  * @example
82
- * ```html
83
78
  * <nas-journey [arrivalEstimatedLabel]="'New time'"></nas-journey>
84
- * ```
85
79
  */
86
80
  arrivalEstimatedLabel: string;
87
81
  /**
82
+ * @property Input
88
83
  * @description
89
84
  * A string representing delayed departure label, it will be displayed before the delayed departure time.
90
85
  * @example
91
- * ```html
92
86
  * <nas-journey [departureEstimatedLabel]="'New time'"></nas-journey>
93
- * ```
94
87
  */
95
88
  departureEstimatedLabel: string;
96
89
  /**
90
+ * @property Input
97
91
  * @description
98
92
  * 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.
99
93
  * This requires that registerLocaleData is called with the respective locale.
100
94
  * @example
101
- * ```html
102
95
  * <nas-journey [locale]="'es'"></nas-journey>
103
96
  */
104
97
  locale: string;
105
98
  /**
99
+ * @property Input
106
100
  * @description
107
101
  * User can input the timezone to localize the date.
108
102
  * Default is set to UTC and it will by default show the date exactly what is passed to it.
109
103
  * @example
110
- * ```html
111
104
  * <nas-journey [timeZone]="'UTC'"></nas-journey>
112
105
  */
113
106
  timeZone: string;
@@ -21,63 +21,63 @@ export declare class JourneyAvailabilityComponent extends NasComponentBase imple
21
21
  private displayJourneyDetailsValue;
22
22
  isSmallScreen: boolean;
23
23
  /**
24
+ * @property Input
24
25
  * @required
25
26
  * @description
26
27
  * A record containing all the data required to show journey availability UI, look at 'RouteModel' for details.
27
28
  * @example
28
- * ```html
29
29
  * <nas-journey-availability [journeyAvailabilityModel]="journeyAvailabilityModel"></nas-journey-availability>
30
- * ```
31
30
  */
32
31
  model: JourneyAvailabilityModel;
33
32
  /**
33
+ * @property Input
34
34
  * @description
35
35
  * A boolean value, when set to true will show journey availability UI in selected format.
36
36
  * @example
37
- * ```html
38
37
  * <nas-journey-availability [selected]="true"></nas-journey-availability>
39
- * ```
40
38
  */
41
39
  selected: boolean;
42
40
  /**
41
+ * @property Input
43
42
  * @description
44
43
  * 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.
45
44
  * This requires that registerLocaleData is called with the respective locale.
46
45
  * @example
47
- * ```html
48
46
  * <nas-journey-availability [locale]="'es'"></nas-journey-availability>
49
47
  */
50
48
  locale: string;
51
49
  /**
50
+ * @property Input
52
51
  * @description
53
52
  * Time display format, Default is HH:mm
54
53
  * @example
55
- * ```html
56
54
  * <nas-journey-availability [timeDisplayFormat]="'HH:mm'"></nas-journey-availability>
57
55
  */
58
56
  timeDisplayFormat: string;
59
57
  /**
58
+ * @property Input
60
59
  * @description
61
60
  * User can input the timezone to localize the date.
62
61
  * Default is set to UTC and it will by default show the date exactly what is passed to it.
63
62
  * @example
64
- * ```html
65
63
  * <nas-journey-availability [timeZone]="'UTC'"></nas-journey-availability>
66
64
  */
67
65
  timeZone: string;
68
66
  /**
67
+ * @property Input
69
68
  * @description
70
69
  * Setter and getter when the flight info popup shows/hidden.
71
70
  */
72
71
  get displayJourneyDetails(): boolean;
73
72
  set displayJourneyDetails(value: boolean);
74
73
  /**
75
- *
74
+ * @property Output
76
75
  * @description
77
76
  * An Event which Emitts boolean when Flight info popup is toggled.
78
77
  */
79
78
  displayJourneyDetailsChange: EventEmitter<boolean>;
80
79
  /**
80
+ * @property Output
81
81
  * @description
82
82
  * Event emits when user click on journey availability for selection.
83
83
  */