@norwegian/core-components 7.17.2 → 8.0.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.
Files changed (622) hide show
  1. package/README.md +3 -3
  2. package/assets/documentation/accordion/accordion.md +1 -1
  3. package/assets/documentation/airport-select/airport-select.md +1 -0
  4. package/assets/documentation/alert/alert.md +1 -0
  5. package/assets/documentation/autocomplete/autocomplete.md +1 -1
  6. package/assets/documentation/backdrop/backdrop.md +1 -0
  7. package/assets/documentation/box/box.md +1 -1
  8. package/assets/documentation/button/button.md +1 -10
  9. package/assets/documentation/checkbox/checkbox.md +1 -7
  10. package/assets/documentation/container/container.md +1 -1
  11. package/assets/documentation/continue/continue.md +2 -1
  12. package/assets/documentation/cover/cover.md +1 -1
  13. package/assets/documentation/datepicker/datepicker.md +1 -3
  14. package/assets/documentation/datepicker-combo/datepicker-combo.md +2 -1
  15. package/assets/documentation/divider/divider.md +1 -1
  16. package/assets/documentation/dropdown/dropdown.md +1 -3
  17. package/assets/documentation/filter/filter.md +1 -0
  18. package/assets/documentation/grid/grid.md +1 -1
  19. package/assets/documentation/icon/icon.md +1 -1
  20. package/assets/documentation/icon-list/icon-list.md +1 -1
  21. package/assets/documentation/input/input.md +1 -1
  22. package/assets/documentation/journey/journey.md +2 -1
  23. package/assets/documentation/journey-availability/journey-availability.md +1 -3
  24. package/assets/documentation/journey-availability-list/journey-availability-list.md +1 -9
  25. package/assets/documentation/journey-selection/journey-selection.md +1 -1
  26. package/assets/documentation/journey-stopover/journey-stopover.md +2 -1
  27. package/assets/documentation/list/list.md +1 -1
  28. package/assets/documentation/micro-button/micro-button.md +2 -0
  29. package/assets/documentation/modal/modal.md +1 -0
  30. package/assets/documentation/number-field/number-field.md +1 -1
  31. package/assets/documentation/page-footer/page-footer.md +1 -1
  32. package/assets/documentation/page-header/page-header.md +1 -1
  33. package/assets/documentation/passenger-select/passenger-select.md +1 -1
  34. package/assets/documentation/phone-number/phone-number.md +1 -2
  35. package/assets/documentation/premium-toggle/premium-toggle.md +1 -9
  36. package/assets/documentation/radio/radio.md +1 -7
  37. package/assets/documentation/ribbon-banner/ribbon-banner.md +2 -1
  38. package/assets/documentation/select/select.md +1 -1
  39. package/assets/documentation/simple-list/simple-list.md +1 -1
  40. package/assets/documentation/slide-toggle/slide-toggle.md +1 -1
  41. package/assets/documentation/slider/slider.md +1 -1
  42. package/assets/documentation/sort/sort.md +1 -1
  43. package/assets/documentation/spinner/spinner.md +1 -1
  44. package/assets/documentation/status-box/status-box.md +2 -1
  45. package/assets/documentation/suggestions/suggestions.md +2 -1
  46. package/assets/documentation/tab-group/tab-group.md +1 -1
  47. package/assets/documentation/table/table.md +1 -8
  48. package/assets/documentation/tag/tag.md +1 -0
  49. package/assets/documentation/textarea/textarea.md +1 -1
  50. package/assets/documentation/toggle/toggle.md +1 -5
  51. package/assets/documentation/tooltip/tooltip.md +1 -0
  52. package/assets/documentation/trip-summary/trip-summary.md +1 -2
  53. package/fesm2022/norwegian-core-components.mjs +13636 -13565
  54. package/fesm2022/norwegian-core-components.mjs.map +1 -1
  55. package/index.d.ts +9449 -5
  56. package/package.json +14 -8
  57. package/styles/1__settings/_colors.scss +9 -9
  58. package/styles/1__settings/_mixins.scss +67 -40
  59. package/styles/1__settings/_type.scss +18 -6
  60. package/styles/1__settings/_vars.scss +7 -4
  61. package/styles/2__generic/_fonts.scss +7 -5
  62. package/styles/3__base/_animations.scss +84 -84
  63. package/styles/3__base/_body.scss +10 -8
  64. package/styles/3__base/_fixes.scss +1 -1
  65. package/styles/3__base/_form.scss +5 -3
  66. package/styles/3__base/_heading.scss +21 -12
  67. package/styles/3__base/_hr.scss +4 -0
  68. package/styles/3__base/_input.scss +5 -1
  69. package/styles/3__base/_link.scss +3 -0
  70. package/styles/3__base/_table.scss +8 -4
  71. package/styles/3__base/_type.scss +17 -13
  72. package/styles/_helpers.scss +4 -4
  73. package/styles/_index.scss +13 -13
  74. package/assets/documentation/campaign-header/campaign-header.md +0 -0
  75. package/assets/documentation/chip/chip.md +0 -1
  76. package/assets/documentation/info/info.md +0 -1
  77. package/assets/icons/small/info--light--light.svg +0 -4
  78. package/assets/images/logo--mobile.svg +0 -50
  79. package/assets/images/logo-reward.svg +0 -140
  80. package/assets/images/logo.svg +0 -135
  81. package/esm2022/lib/components/accordion/accordion.component.mjs +0 -163
  82. package/esm2022/lib/components/accordion/accordion.module.mjs +0 -20
  83. package/esm2022/lib/components/accordion/index.mjs +0 -3
  84. package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +0 -622
  85. package/esm2022/lib/components/airport-select/airport-select.component.mjs +0 -498
  86. package/esm2022/lib/components/airport-select/airport-select.module.mjs +0 -42
  87. package/esm2022/lib/components/airport-select/index.mjs +0 -7
  88. package/esm2022/lib/components/airport-select/models/airport-select-event.model.mjs +0 -2
  89. package/esm2022/lib/components/airport-select/models/airport-select-state.model.mjs +0 -2
  90. package/esm2022/lib/components/airport-select/models/airport.model.mjs +0 -2
  91. package/esm2022/lib/components/airport-select/models/results-labels.model.mjs +0 -3
  92. package/esm2022/lib/components/airport-select/services/airport-select-dropdown.service.mjs +0 -35
  93. package/esm2022/lib/components/airport-select/services/airport-select.service.mjs +0 -38
  94. package/esm2022/lib/components/alert/alert.component.mjs +0 -169
  95. package/esm2022/lib/components/alert/alert.module.mjs +0 -22
  96. package/esm2022/lib/components/alert/index.mjs +0 -4
  97. package/esm2022/lib/components/alert/models/alert.model.mjs +0 -2
  98. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +0 -318
  99. package/esm2022/lib/components/autocomplete/autocomplete.module.mjs +0 -43
  100. package/esm2022/lib/components/autocomplete/index.mjs +0 -4
  101. package/esm2022/lib/components/autocomplete/models/autocomplete.model.mjs +0 -2
  102. package/esm2022/lib/components/backdrop/backdrop.component.mjs +0 -58
  103. package/esm2022/lib/components/backdrop/backdrop.module.mjs +0 -19
  104. package/esm2022/lib/components/backdrop/index.mjs +0 -3
  105. package/esm2022/lib/components/box/box.component.mjs +0 -66
  106. package/esm2022/lib/components/box/box.module.mjs +0 -19
  107. package/esm2022/lib/components/box/index.mjs +0 -3
  108. package/esm2022/lib/components/button/button.component.mjs +0 -192
  109. package/esm2022/lib/components/button/button.module.mjs +0 -21
  110. package/esm2022/lib/components/button/index.mjs +0 -3
  111. package/esm2022/lib/components/campaign-header/campaign-header.component.mjs +0 -51
  112. package/esm2022/lib/components/campaign-header/campaign-header.module.mjs +0 -20
  113. package/esm2022/lib/components/campaign-header/index.mjs +0 -3
  114. package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -163
  115. package/esm2022/lib/components/checkbox/checkbox.module.mjs +0 -20
  116. package/esm2022/lib/components/checkbox/index.mjs +0 -3
  117. package/esm2022/lib/components/chip/chip.component.mjs +0 -48
  118. package/esm2022/lib/components/chip/chip.module.mjs +0 -19
  119. package/esm2022/lib/components/chip/index.mjs +0 -3
  120. package/esm2022/lib/components/container/container.component.mjs +0 -50
  121. package/esm2022/lib/components/container/container.module.mjs +0 -19
  122. package/esm2022/lib/components/container/index.mjs +0 -3
  123. package/esm2022/lib/components/continue/continue.component.mjs +0 -199
  124. package/esm2022/lib/components/continue/continue.module.mjs +0 -23
  125. package/esm2022/lib/components/continue/index.mjs +0 -3
  126. package/esm2022/lib/components/cover/cover.component.mjs +0 -75
  127. package/esm2022/lib/components/cover/cover.module.mjs +0 -21
  128. package/esm2022/lib/components/cover/index.mjs +0 -3
  129. package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +0 -606
  130. package/esm2022/lib/components/datepicker/calendar/enums/week-start.enum.mjs +0 -6
  131. package/esm2022/lib/components/datepicker/calendar/models/calendar-date.model.mjs +0 -2
  132. package/esm2022/lib/components/datepicker/calendar/models/calendar.model.mjs +0 -2
  133. package/esm2022/lib/components/datepicker/calendar/models/day.model.mjs +0 -2
  134. package/esm2022/lib/components/datepicker/calendar/models/select-option.model.mjs +0 -2
  135. package/esm2022/lib/components/datepicker/calendar/models/week.model.mjs +0 -2
  136. package/esm2022/lib/components/datepicker/datepicker.component.mjs +0 -613
  137. package/esm2022/lib/components/datepicker/datepicker.module.mjs +0 -55
  138. package/esm2022/lib/components/datepicker/index.mjs +0 -9
  139. package/esm2022/lib/components/datepicker/services/calendar.service.mjs +0 -215
  140. package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +0 -417
  141. package/esm2022/lib/components/datepicker-combo/datepicker-combo.module.mjs +0 -31
  142. package/esm2022/lib/components/datepicker-combo/index.mjs +0 -3
  143. package/esm2022/lib/components/divider/divider.component.mjs +0 -59
  144. package/esm2022/lib/components/divider/divider.module.mjs +0 -28
  145. package/esm2022/lib/components/divider/index.mjs +0 -3
  146. package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -170
  147. package/esm2022/lib/components/dropdown/dropdown.module.mjs +0 -21
  148. package/esm2022/lib/components/dropdown/index.mjs +0 -3
  149. package/esm2022/lib/components/filter/enums/trip-type.enum.mjs +0 -8
  150. package/esm2022/lib/components/filter/filter.component.mjs +0 -1445
  151. package/esm2022/lib/components/filter/filter.module.mjs +0 -81
  152. package/esm2022/lib/components/filter/index.mjs +0 -4
  153. package/esm2022/lib/components/grid/col/col.component.mjs +0 -49
  154. package/esm2022/lib/components/grid/grid.component.mjs +0 -72
  155. package/esm2022/lib/components/grid/grid.module.mjs +0 -20
  156. package/esm2022/lib/components/grid/index.mjs +0 -4
  157. package/esm2022/lib/components/icon/icon.component.mjs +0 -44
  158. package/esm2022/lib/components/icon/icon.module.mjs +0 -19
  159. package/esm2022/lib/components/icon/index.mjs +0 -3
  160. package/esm2022/lib/components/icon-list/icon-list.component.mjs +0 -50
  161. package/esm2022/lib/components/icon-list/icon-list.module.mjs +0 -20
  162. package/esm2022/lib/components/icon-list/index.mjs +0 -4
  163. package/esm2022/lib/components/icon-list/models/icon-list.model.mjs +0 -2
  164. package/esm2022/lib/components/index.mjs +0 -68
  165. package/esm2022/lib/components/info/index.mjs +0 -4
  166. package/esm2022/lib/components/info/info.component.mjs +0 -116
  167. package/esm2022/lib/components/info/info.module.mjs +0 -36
  168. package/esm2022/lib/components/info/models/info.model.mjs +0 -2
  169. package/esm2022/lib/components/input/index.mjs +0 -3
  170. package/esm2022/lib/components/input/input.component.mjs +0 -228
  171. package/esm2022/lib/components/input/input.module.mjs +0 -35
  172. package/esm2022/lib/components/journey/index.mjs +0 -6
  173. package/esm2022/lib/components/journey/journey.component.mjs +0 -137
  174. package/esm2022/lib/components/journey/journey.module.mjs +0 -21
  175. package/esm2022/lib/components/journey/models/journey-flight.model.mjs +0 -2
  176. package/esm2022/lib/components/journey/models/journey.model.mjs +0 -2
  177. package/esm2022/lib/components/journey/models/marketing-carrier.enum.mjs +0 -8
  178. package/esm2022/lib/components/journey-availability/index.mjs +0 -3
  179. package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +0 -128
  180. package/esm2022/lib/components/journey-availability/journey-availability.module.mjs +0 -39
  181. package/esm2022/lib/components/journey-availability-list/enums/availability-sort-option.enum.mjs +0 -7
  182. package/esm2022/lib/components/journey-availability-list/index.mjs +0 -4
  183. package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +0 -182
  184. package/esm2022/lib/components/journey-availability-list/journey-availability-list.module.mjs +0 -36
  185. package/esm2022/lib/components/journey-selection/index.mjs +0 -7
  186. package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +0 -120
  187. package/esm2022/lib/components/journey-selection/journey-selection.module.mjs +0 -24
  188. package/esm2022/lib/components/journey-selection/models/journey-selection-collapsed.model.mjs +0 -2
  189. package/esm2022/lib/components/journey-selection/models/journey-selection-common.model.mjs +0 -2
  190. package/esm2022/lib/components/journey-selection/models/journey-selection-expanded.model.mjs +0 -2
  191. package/esm2022/lib/components/journey-selection/models/journey-selection.model.mjs +0 -2
  192. package/esm2022/lib/components/journey-stopover/index.mjs +0 -4
  193. package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +0 -150
  194. package/esm2022/lib/components/journey-stopover/journey-stopover.module.mjs +0 -21
  195. package/esm2022/lib/components/journey-stopover/models/stopover-time.model.mjs +0 -2
  196. package/esm2022/lib/components/list/index.mjs +0 -4
  197. package/esm2022/lib/components/list/list-item/list-item.component.mjs +0 -52
  198. package/esm2022/lib/components/list/list.component.mjs +0 -78
  199. package/esm2022/lib/components/list/list.module.mjs +0 -20
  200. package/esm2022/lib/components/micro-button/index.mjs +0 -3
  201. package/esm2022/lib/components/micro-button/micro-button.component.mjs +0 -101
  202. package/esm2022/lib/components/micro-button/micro-button.module.mjs +0 -20
  203. package/esm2022/lib/components/modal/index.mjs +0 -3
  204. package/esm2022/lib/components/modal/modal.component.mjs +0 -156
  205. package/esm2022/lib/components/modal/modal.module.mjs +0 -38
  206. package/esm2022/lib/components/number-field/index.mjs +0 -4
  207. package/esm2022/lib/components/number-field/models/number-field.model.mjs +0 -2
  208. package/esm2022/lib/components/number-field/number-field.component.mjs +0 -162
  209. package/esm2022/lib/components/number-field/number-field.module.mjs +0 -39
  210. package/esm2022/lib/components/page-footer/index.mjs +0 -3
  211. package/esm2022/lib/components/page-footer/page-footer.component.mjs +0 -52
  212. package/esm2022/lib/components/page-footer/page-footer.module.mjs +0 -21
  213. package/esm2022/lib/components/page-header/hamburger/hamburger.component.mjs +0 -22
  214. package/esm2022/lib/components/page-header/index.mjs +0 -6
  215. package/esm2022/lib/components/page-header/models/wallet.model.mjs +0 -2
  216. package/esm2022/lib/components/page-header/page-header.component.mjs +0 -171
  217. package/esm2022/lib/components/page-header/page-header.module.mjs +0 -55
  218. package/esm2022/lib/components/page-header/search/search.component.mjs +0 -49
  219. package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +0 -57
  220. package/esm2022/lib/components/passenger-select/enums/passenger-type.enum.mjs +0 -9
  221. package/esm2022/lib/components/passenger-select/index.mjs +0 -5
  222. package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +0 -2
  223. package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +0 -423
  224. package/esm2022/lib/components/passenger-select/passenger-select.module.mjs +0 -28
  225. package/esm2022/lib/components/phone-number/index.mjs +0 -3
  226. package/esm2022/lib/components/phone-number/phone-number.component.mjs +0 -182
  227. package/esm2022/lib/components/phone-number/phone-number.module.mjs +0 -44
  228. package/esm2022/lib/components/premium-toggle/index.mjs +0 -3
  229. package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +0 -68
  230. package/esm2022/lib/components/premium-toggle/premium-toggle.module.mjs +0 -20
  231. package/esm2022/lib/components/radio/index.mjs +0 -3
  232. package/esm2022/lib/components/radio/radio.component.mjs +0 -109
  233. package/esm2022/lib/components/radio/radio.module.mjs +0 -20
  234. package/esm2022/lib/components/ribbon-banner/index.mjs +0 -3
  235. package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +0 -89
  236. package/esm2022/lib/components/ribbon-banner/ribbon-banner.module.mjs +0 -40
  237. package/esm2022/lib/components/select/index.mjs +0 -6
  238. package/esm2022/lib/components/select/models/select-option.model.mjs +0 -2
  239. package/esm2022/lib/components/select/optgroup/optgroup.component.mjs +0 -29
  240. package/esm2022/lib/components/select/option/option.component.mjs +0 -26
  241. package/esm2022/lib/components/select/select.component.mjs +0 -407
  242. package/esm2022/lib/components/select/select.module.mjs +0 -23
  243. package/esm2022/lib/components/select-new/index.mjs +0 -5
  244. package/esm2022/lib/components/select-new/models/select-option.model.mjs +0 -2
  245. package/esm2022/lib/components/select-new/optgroup/optgroup-new.component.mjs +0 -23
  246. package/esm2022/lib/components/select-new/option/option-new.component.mjs +0 -41
  247. package/esm2022/lib/components/select-new/select-new.component.mjs +0 -271
  248. package/esm2022/lib/components/select-new/select-new.module.mjs +0 -26
  249. package/esm2022/lib/components/select-new/services/select-new.service.mjs +0 -40
  250. package/esm2022/lib/components/simple-list/index.mjs +0 -3
  251. package/esm2022/lib/components/simple-list/simple-list.component.mjs +0 -48
  252. package/esm2022/lib/components/simple-list/simple-list.module.mjs +0 -19
  253. package/esm2022/lib/components/slide-toggle/index.mjs +0 -3
  254. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -121
  255. package/esm2022/lib/components/slide-toggle/slide-toggle.module.mjs +0 -20
  256. package/esm2022/lib/components/slider/index.mjs +0 -3
  257. package/esm2022/lib/components/slider/slider.component.mjs +0 -515
  258. package/esm2022/lib/components/slider/slider.module.mjs +0 -20
  259. package/esm2022/lib/components/sort/index.mjs +0 -3
  260. package/esm2022/lib/components/sort/sort.component.mjs +0 -98
  261. package/esm2022/lib/components/sort/sort.module.mjs +0 -36
  262. package/esm2022/lib/components/spinner/index.mjs +0 -3
  263. package/esm2022/lib/components/spinner/spinner.component.mjs +0 -127
  264. package/esm2022/lib/components/spinner/spinner.module.mjs +0 -19
  265. package/esm2022/lib/components/status-box/index.mjs +0 -4
  266. package/esm2022/lib/components/status-box/models/status-box.model.mjs +0 -2
  267. package/esm2022/lib/components/status-box/status-box.component.mjs +0 -109
  268. package/esm2022/lib/components/status-box/status-box.module.mjs +0 -21
  269. package/esm2022/lib/components/suggestions/index.mjs +0 -3
  270. package/esm2022/lib/components/suggestions/suggestions.component.mjs +0 -44
  271. package/esm2022/lib/components/suggestions/suggestions.module.mjs +0 -20
  272. package/esm2022/lib/components/tab-group/index.mjs +0 -4
  273. package/esm2022/lib/components/tab-group/tab/tab.component.mjs +0 -140
  274. package/esm2022/lib/components/tab-group/tab-group.component.mjs +0 -91
  275. package/esm2022/lib/components/tab-group/tab-group.module.mjs +0 -21
  276. package/esm2022/lib/components/table/column/column.component.mjs +0 -16
  277. package/esm2022/lib/components/table/column-group/column-group.component.mjs +0 -30
  278. package/esm2022/lib/components/table/index.mjs +0 -11
  279. package/esm2022/lib/components/table/services/table.service.mjs +0 -24
  280. package/esm2022/lib/components/table/table-body/table-body.component.mjs +0 -23
  281. package/esm2022/lib/components/table/table-foot/table-foot.component.mjs +0 -23
  282. package/esm2022/lib/components/table/table-head/table-head.component.mjs +0 -23
  283. package/esm2022/lib/components/table/table-row/table-data/table-data.component.mjs +0 -15
  284. package/esm2022/lib/components/table/table-row/table-header/table-header.component.mjs +0 -15
  285. package/esm2022/lib/components/table/table-row/table-row.component.mjs +0 -23
  286. package/esm2022/lib/components/table/table.component.mjs +0 -27
  287. package/esm2022/lib/components/table/table.module.mjs +0 -63
  288. package/esm2022/lib/components/tag/index.mjs +0 -3
  289. package/esm2022/lib/components/tag/tag.component.mjs +0 -71
  290. package/esm2022/lib/components/tag/tag.module.mjs +0 -28
  291. package/esm2022/lib/components/textarea/index.mjs +0 -3
  292. package/esm2022/lib/components/textarea/textarea.component.mjs +0 -139
  293. package/esm2022/lib/components/textarea/textarea.module.mjs +0 -21
  294. package/esm2022/lib/components/toggle/index.mjs +0 -3
  295. package/esm2022/lib/components/toggle/models/options.model.mjs +0 -3
  296. package/esm2022/lib/components/toggle/toggle.component.mjs +0 -102
  297. package/esm2022/lib/components/toggle/toggle.module.mjs +0 -35
  298. package/esm2022/lib/components/tooltip/index.mjs +0 -3
  299. package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -170
  300. package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -30
  301. package/esm2022/lib/components/trip-summary/index.mjs +0 -3
  302. package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +0 -167
  303. package/esm2022/lib/components/trip-summary/trip-summary.module.mjs +0 -36
  304. package/esm2022/lib/core/base/nas-component.base.mjs +0 -48
  305. package/esm2022/lib/core/decorators/debounce.decorator.mjs +0 -12
  306. package/esm2022/lib/core/directives/index.mjs +0 -3
  307. package/esm2022/lib/core/directives/nas-class/nas-class.directive.mjs +0 -80
  308. package/esm2022/lib/core/directives/nas-class/nas-class.module.mjs +0 -20
  309. package/esm2022/lib/core/extensions/html-element.extension.mjs +0 -31
  310. package/esm2022/lib/core/index.mjs +0 -5
  311. package/esm2022/lib/core/models/abandoned-basket-item.model.mjs +0 -2
  312. package/esm2022/lib/core/models/animate.model.mjs +0 -2
  313. package/esm2022/lib/core/models/class.model.mjs +0 -2
  314. package/esm2022/lib/core/models/index.mjs +0 -7
  315. package/esm2022/lib/core/models/link.model.mjs +0 -2
  316. package/esm2022/lib/core/models/position.model.mjs +0 -2
  317. package/esm2022/lib/core/models/utc-date.model.mjs +0 -40
  318. package/esm2022/lib/core/services/abandoned-basket/abandoned-basket.service.mjs +0 -61
  319. package/esm2022/lib/core/services/animate-helper/animate-helper.service.mjs +0 -49
  320. package/esm2022/lib/core/services/bem-helper/bem-helper.service.mjs +0 -44
  321. package/esm2022/lib/core/services/date/date-compare.enum.mjs +0 -7
  322. package/esm2022/lib/core/services/date/date-helper.service.mjs +0 -199
  323. package/esm2022/lib/core/services/device/device-helper.service.mjs +0 -46
  324. package/esm2022/lib/core/services/geolocation/geolocation-state.enum.mjs +0 -8
  325. package/esm2022/lib/core/services/geolocation/geolocation.service.mjs +0 -66
  326. package/esm2022/lib/core/services/index.mjs +0 -10
  327. package/esm2022/lib/core/services/language/language-helper.service.mjs +0 -114
  328. package/esm2022/lib/core/services/sort/sort.service.mjs +0 -25
  329. package/esm2022/lib/core/services/viewport/viewport.service.mjs +0 -36
  330. package/esm2022/lib/index.mjs +0 -5
  331. package/esm2022/lib/services/get-position.service.mjs +0 -23
  332. package/esm2022/lib/services/index.mjs +0 -2
  333. package/esm2022/lib/shared/index.mjs +0 -2
  334. package/esm2022/lib/shared/models/flight-details.mjs +0 -3
  335. package/esm2022/lib/shared/models/index.mjs +0 -6
  336. package/esm2022/lib/shared/models/journey-availability-sort.model.mjs +0 -2
  337. package/esm2022/lib/shared/models/journey-availability.model.mjs +0 -2
  338. package/esm2022/lib/shared/models/journey-details.model.mjs +0 -2
  339. package/esm2022/lib/shared/models/journey-duration.model.mjs +0 -2
  340. package/esm2022/lib/shared/models/journey-stopover.model.mjs +0 -2
  341. package/esm2022/lib/shared/models/journey-transit-info.model.mjs +0 -2
  342. package/esm2022/lib/shared/models/operating-carrier.model.mjs +0 -2
  343. package/esm2022/lib/shared/models/sort-option.model.mjs +0 -2
  344. package/esm2022/lib/shared/models/sort.model.mjs +0 -2
  345. package/esm2022/lib/shared/models/trip-item-details.model.mjs +0 -2
  346. package/esm2022/lib/shared/models/trip-summary-details.model.mjs +0 -2
  347. package/esm2022/lib/shared/models/trip-summary.model.mjs +0 -2
  348. package/esm2022/norwegian-core-components.mjs +0 -5
  349. package/esm2022/public_api.mjs +0 -2
  350. package/lib/components/accordion/accordion.component.d.ts +0 -241
  351. package/lib/components/accordion/accordion.module.d.ts +0 -10
  352. package/lib/components/accordion/index.d.ts +0 -2
  353. package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +0 -100
  354. package/lib/components/airport-select/airport-select.component.d.ts +0 -330
  355. package/lib/components/airport-select/airport-select.module.d.ts +0 -13
  356. package/lib/components/airport-select/index.d.ts +0 -6
  357. package/lib/components/airport-select/models/airport-select-event.model.d.ts +0 -4
  358. package/lib/components/airport-select/models/airport-select-state.model.d.ts +0 -5
  359. package/lib/components/airport-select/models/airport.model.d.ts +0 -11
  360. package/lib/components/airport-select/models/results-labels.model.d.ts +0 -8
  361. package/lib/components/airport-select/services/airport-select-dropdown.service.d.ts +0 -10
  362. package/lib/components/airport-select/services/airport-select.service.d.ts +0 -8
  363. package/lib/components/alert/alert.component.d.ts +0 -129
  364. package/lib/components/alert/alert.module.d.ts +0 -12
  365. package/lib/components/alert/index.d.ts +0 -3
  366. package/lib/components/alert/models/alert.model.d.ts +0 -10
  367. package/lib/components/autocomplete/autocomplete.component.d.ts +0 -135
  368. package/lib/components/autocomplete/autocomplete.module.d.ts +0 -13
  369. package/lib/components/autocomplete/index.d.ts +0 -3
  370. package/lib/components/autocomplete/models/autocomplete.model.d.ts +0 -5
  371. package/lib/components/backdrop/backdrop.component.d.ts +0 -38
  372. package/lib/components/backdrop/backdrop.module.d.ts +0 -9
  373. package/lib/components/backdrop/index.d.ts +0 -2
  374. package/lib/components/box/box.component.d.ts +0 -78
  375. package/lib/components/box/box.module.d.ts +0 -9
  376. package/lib/components/box/index.d.ts +0 -2
  377. package/lib/components/button/button.component.d.ts +0 -294
  378. package/lib/components/button/button.module.d.ts +0 -11
  379. package/lib/components/button/index.d.ts +0 -2
  380. package/lib/components/campaign-header/campaign-header.component.d.ts +0 -58
  381. package/lib/components/campaign-header/campaign-header.module.d.ts +0 -10
  382. package/lib/components/campaign-header/index.d.ts +0 -2
  383. package/lib/components/checkbox/checkbox.component.d.ts +0 -151
  384. package/lib/components/checkbox/checkbox.module.d.ts +0 -10
  385. package/lib/components/checkbox/index.d.ts +0 -2
  386. package/lib/components/chip/chip.component.d.ts +0 -48
  387. package/lib/components/chip/chip.module.d.ts +0 -9
  388. package/lib/components/chip/index.d.ts +0 -2
  389. package/lib/components/container/container.component.d.ts +0 -52
  390. package/lib/components/container/container.module.d.ts +0 -9
  391. package/lib/components/container/index.d.ts +0 -2
  392. package/lib/components/continue/continue.component.d.ts +0 -171
  393. package/lib/components/continue/continue.module.d.ts +0 -11
  394. package/lib/components/continue/index.d.ts +0 -2
  395. package/lib/components/cover/cover.component.d.ts +0 -125
  396. package/lib/components/cover/cover.module.d.ts +0 -11
  397. package/lib/components/cover/index.d.ts +0 -2
  398. package/lib/components/datepicker/calendar/calendar.component.d.ts +0 -169
  399. package/lib/components/datepicker/calendar/enums/week-start.enum.d.ts +0 -4
  400. package/lib/components/datepicker/calendar/models/calendar-date.model.d.ts +0 -5
  401. package/lib/components/datepicker/calendar/models/calendar.model.d.ts +0 -4
  402. package/lib/components/datepicker/calendar/models/day.model.d.ts +0 -10
  403. package/lib/components/datepicker/calendar/models/select-option.model.d.ts +0 -4
  404. package/lib/components/datepicker/calendar/models/week.model.d.ts +0 -5
  405. package/lib/components/datepicker/datepicker.component.d.ts +0 -289
  406. package/lib/components/datepicker/datepicker.module.d.ts +0 -16
  407. package/lib/components/datepicker/index.d.ts +0 -8
  408. package/lib/components/datepicker/services/calendar.service.d.ts +0 -27
  409. package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +0 -329
  410. package/lib/components/datepicker-combo/datepicker-combo.module.d.ts +0 -10
  411. package/lib/components/datepicker-combo/index.d.ts +0 -2
  412. package/lib/components/divider/divider.component.d.ts +0 -68
  413. package/lib/components/divider/divider.module.d.ts +0 -10
  414. package/lib/components/divider/index.d.ts +0 -2
  415. package/lib/components/dropdown/dropdown.component.d.ts +0 -80
  416. package/lib/components/dropdown/dropdown.module.d.ts +0 -11
  417. package/lib/components/dropdown/index.d.ts +0 -2
  418. package/lib/components/filter/enums/trip-type.enum.d.ts +0 -6
  419. package/lib/components/filter/filter.component.d.ts +0 -942
  420. package/lib/components/filter/filter.module.d.ts +0 -22
  421. package/lib/components/filter/index.d.ts +0 -3
  422. package/lib/components/grid/col/col.component.d.ts +0 -45
  423. package/lib/components/grid/grid.component.d.ts +0 -92
  424. package/lib/components/grid/grid.module.d.ts +0 -10
  425. package/lib/components/grid/index.d.ts +0 -3
  426. package/lib/components/icon/icon.component.d.ts +0 -53
  427. package/lib/components/icon/icon.module.d.ts +0 -9
  428. package/lib/components/icon/index.d.ts +0 -2
  429. package/lib/components/icon-list/icon-list.component.d.ts +0 -49
  430. package/lib/components/icon-list/icon-list.module.d.ts +0 -10
  431. package/lib/components/icon-list/index.d.ts +0 -3
  432. package/lib/components/icon-list/models/icon-list.model.d.ts +0 -8
  433. package/lib/components/index.d.ts +0 -67
  434. package/lib/components/info/index.d.ts +0 -3
  435. package/lib/components/info/info.component.d.ts +0 -108
  436. package/lib/components/info/info.module.d.ts +0 -12
  437. package/lib/components/info/models/info.model.d.ts +0 -9
  438. package/lib/components/input/index.d.ts +0 -2
  439. package/lib/components/input/input.component.d.ts +0 -214
  440. package/lib/components/input/input.module.d.ts +0 -11
  441. package/lib/components/journey/index.d.ts +0 -5
  442. package/lib/components/journey/journey.component.d.ts +0 -102
  443. package/lib/components/journey/journey.module.d.ts +0 -11
  444. package/lib/components/journey/models/journey-flight.model.d.ts +0 -13
  445. package/lib/components/journey/models/journey.model.d.ts +0 -5
  446. package/lib/components/journey/models/marketing-carrier.enum.d.ts +0 -6
  447. package/lib/components/journey-availability/index.d.ts +0 -2
  448. package/lib/components/journey-availability/journey-availability.component.d.ts +0 -93
  449. package/lib/components/journey-availability/journey-availability.module.d.ts +0 -12
  450. package/lib/components/journey-availability-list/enums/availability-sort-option.enum.d.ts +0 -5
  451. package/lib/components/journey-availability-list/index.d.ts +0 -3
  452. package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +0 -114
  453. package/lib/components/journey-availability-list/journey-availability-list.module.d.ts +0 -12
  454. package/lib/components/journey-selection/index.d.ts +0 -6
  455. package/lib/components/journey-selection/journey-selection.component.d.ts +0 -84
  456. package/lib/components/journey-selection/journey-selection.module.d.ts +0 -11
  457. package/lib/components/journey-selection/models/journey-selection-collapsed.model.d.ts +0 -11
  458. package/lib/components/journey-selection/models/journey-selection-common.model.d.ts +0 -7
  459. package/lib/components/journey-selection/models/journey-selection-expanded.model.d.ts +0 -5
  460. package/lib/components/journey-selection/models/journey-selection.model.d.ts +0 -14
  461. package/lib/components/journey-stopover/index.d.ts +0 -3
  462. package/lib/components/journey-stopover/journey-stopover.component.d.ts +0 -131
  463. package/lib/components/journey-stopover/journey-stopover.module.d.ts +0 -11
  464. package/lib/components/journey-stopover/models/stopover-time.model.d.ts +0 -4
  465. package/lib/components/list/index.d.ts +0 -3
  466. package/lib/components/list/list-item/list-item.component.d.ts +0 -35
  467. package/lib/components/list/list.component.d.ts +0 -76
  468. package/lib/components/list/list.module.d.ts +0 -10
  469. package/lib/components/micro-button/index.d.ts +0 -2
  470. package/lib/components/micro-button/micro-button.component.d.ts +0 -139
  471. package/lib/components/micro-button/micro-button.module.d.ts +0 -10
  472. package/lib/components/modal/index.d.ts +0 -2
  473. package/lib/components/modal/modal.component.d.ts +0 -119
  474. package/lib/components/modal/modal.module.d.ts +0 -12
  475. package/lib/components/number-field/index.d.ts +0 -3
  476. package/lib/components/number-field/models/number-field.model.d.ts +0 -5
  477. package/lib/components/number-field/number-field.component.d.ts +0 -124
  478. package/lib/components/number-field/number-field.module.d.ts +0 -12
  479. package/lib/components/page-footer/index.d.ts +0 -2
  480. package/lib/components/page-footer/page-footer.component.d.ts +0 -53
  481. package/lib/components/page-footer/page-footer.module.d.ts +0 -11
  482. package/lib/components/page-header/hamburger/hamburger.component.d.ts +0 -12
  483. package/lib/components/page-header/index.d.ts +0 -5
  484. package/lib/components/page-header/models/wallet.model.d.ts +0 -21
  485. package/lib/components/page-header/page-header.component.d.ts +0 -127
  486. package/lib/components/page-header/page-header.module.d.ts +0 -17
  487. package/lib/components/page-header/search/search.component.d.ts +0 -26
  488. package/lib/components/page-header/wallet/wallet.component.d.ts +0 -23
  489. package/lib/components/passenger-select/enums/passenger-type.enum.d.ts +0 -7
  490. package/lib/components/passenger-select/index.d.ts +0 -4
  491. package/lib/components/passenger-select/models/passengers.model.d.ts +0 -11
  492. package/lib/components/passenger-select/passenger-select.component.d.ts +0 -141
  493. package/lib/components/passenger-select/passenger-select.module.d.ts +0 -10
  494. package/lib/components/phone-number/index.d.ts +0 -2
  495. package/lib/components/phone-number/phone-number.component.d.ts +0 -263
  496. package/lib/components/phone-number/phone-number.module.d.ts +0 -13
  497. package/lib/components/premium-toggle/index.d.ts +0 -2
  498. package/lib/components/premium-toggle/premium-toggle.component.d.ts +0 -50
  499. package/lib/components/premium-toggle/premium-toggle.module.d.ts +0 -10
  500. package/lib/components/radio/index.d.ts +0 -2
  501. package/lib/components/radio/radio.component.d.ts +0 -137
  502. package/lib/components/radio/radio.module.d.ts +0 -10
  503. package/lib/components/ribbon-banner/index.d.ts +0 -2
  504. package/lib/components/ribbon-banner/ribbon-banner.component.d.ts +0 -66
  505. package/lib/components/ribbon-banner/ribbon-banner.module.d.ts +0 -13
  506. package/lib/components/select/index.d.ts +0 -5
  507. package/lib/components/select/models/select-option.model.d.ts +0 -4
  508. package/lib/components/select/optgroup/optgroup.component.d.ts +0 -25
  509. package/lib/components/select/option/option.component.d.ts +0 -24
  510. package/lib/components/select/select.component.d.ts +0 -204
  511. package/lib/components/select/select.module.d.ts +0 -13
  512. package/lib/components/select-new/index.d.ts +0 -4
  513. package/lib/components/select-new/models/select-option.model.d.ts +0 -6
  514. package/lib/components/select-new/optgroup/optgroup-new.component.d.ts +0 -8
  515. package/lib/components/select-new/option/option-new.component.d.ts +0 -16
  516. package/lib/components/select-new/select-new.component.d.ts +0 -173
  517. package/lib/components/select-new/select-new.module.d.ts +0 -14
  518. package/lib/components/select-new/services/select-new.service.d.ts +0 -10
  519. package/lib/components/simple-list/index.d.ts +0 -2
  520. package/lib/components/simple-list/simple-list.component.d.ts +0 -60
  521. package/lib/components/simple-list/simple-list.module.d.ts +0 -9
  522. package/lib/components/slide-toggle/index.d.ts +0 -2
  523. package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -70
  524. package/lib/components/slide-toggle/slide-toggle.module.d.ts +0 -10
  525. package/lib/components/slider/index.d.ts +0 -2
  526. package/lib/components/slider/slider.component.d.ts +0 -216
  527. package/lib/components/slider/slider.module.d.ts +0 -10
  528. package/lib/components/sort/index.d.ts +0 -2
  529. package/lib/components/sort/sort.component.d.ts +0 -55
  530. package/lib/components/sort/sort.module.d.ts +0 -12
  531. package/lib/components/spinner/index.d.ts +0 -2
  532. package/lib/components/spinner/spinner.component.d.ts +0 -104
  533. package/lib/components/spinner/spinner.module.d.ts +0 -9
  534. package/lib/components/status-box/index.d.ts +0 -3
  535. package/lib/components/status-box/models/status-box.model.d.ts +0 -5
  536. package/lib/components/status-box/status-box.component.d.ts +0 -92
  537. package/lib/components/status-box/status-box.module.d.ts +0 -11
  538. package/lib/components/suggestions/index.d.ts +0 -2
  539. package/lib/components/suggestions/suggestions.component.d.ts +0 -36
  540. package/lib/components/suggestions/suggestions.module.d.ts +0 -10
  541. package/lib/components/tab-group/index.d.ts +0 -3
  542. package/lib/components/tab-group/tab/tab.component.d.ts +0 -97
  543. package/lib/components/tab-group/tab-group.component.d.ts +0 -42
  544. package/lib/components/tab-group/tab-group.module.d.ts +0 -11
  545. package/lib/components/table/column/column.component.d.ts +0 -6
  546. package/lib/components/table/column-group/column-group.component.d.ts +0 -15
  547. package/lib/components/table/index.d.ts +0 -10
  548. package/lib/components/table/services/table.service.d.ts +0 -8
  549. package/lib/components/table/table-body/table-body.component.d.ts +0 -15
  550. package/lib/components/table/table-foot/table-foot.component.d.ts +0 -15
  551. package/lib/components/table/table-head/table-head.component.d.ts +0 -15
  552. package/lib/components/table/table-row/table-data/table-data.component.d.ts +0 -5
  553. package/lib/components/table/table-row/table-header/table-header.component.d.ts +0 -5
  554. package/lib/components/table/table-row/table-row.component.d.ts +0 -15
  555. package/lib/components/table/table.component.d.ts +0 -19
  556. package/lib/components/table/table.module.d.ts +0 -17
  557. package/lib/components/tag/index.d.ts +0 -2
  558. package/lib/components/tag/tag.component.d.ts +0 -71
  559. package/lib/components/tag/tag.module.d.ts +0 -10
  560. package/lib/components/textarea/index.d.ts +0 -2
  561. package/lib/components/textarea/textarea.component.d.ts +0 -156
  562. package/lib/components/textarea/textarea.module.d.ts +0 -11
  563. package/lib/components/toggle/index.d.ts +0 -2
  564. package/lib/components/toggle/models/options.model.d.ts +0 -7
  565. package/lib/components/toggle/toggle.component.d.ts +0 -159
  566. package/lib/components/toggle/toggle.module.d.ts +0 -11
  567. package/lib/components/tooltip/index.d.ts +0 -2
  568. package/lib/components/tooltip/tooltip.component.d.ts +0 -63
  569. package/lib/components/tooltip/tooltip.module.d.ts +0 -10
  570. package/lib/components/trip-summary/index.d.ts +0 -2
  571. package/lib/components/trip-summary/trip-summary.component.d.ts +0 -162
  572. package/lib/components/trip-summary/trip-summary.module.d.ts +0 -12
  573. package/lib/core/base/nas-component.base.d.ts +0 -11
  574. package/lib/core/decorators/debounce.decorator.d.ts +0 -1
  575. package/lib/core/directives/index.d.ts +0 -2
  576. package/lib/core/directives/nas-class/nas-class.directive.d.ts +0 -14
  577. package/lib/core/directives/nas-class/nas-class.module.d.ts +0 -8
  578. package/lib/core/extensions/html-element.extension.d.ts +0 -6
  579. package/lib/core/index.d.ts +0 -4
  580. package/lib/core/models/abandoned-basket-item.model.d.ts +0 -14
  581. package/lib/core/models/animate.model.d.ts +0 -6
  582. package/lib/core/models/class.model.d.ts +0 -7
  583. package/lib/core/models/index.d.ts +0 -6
  584. package/lib/core/models/link.model.d.ts +0 -5
  585. package/lib/core/models/position.model.d.ts +0 -4
  586. package/lib/core/models/utc-date.model.d.ts +0 -13
  587. package/lib/core/services/abandoned-basket/abandoned-basket.service.d.ts +0 -10
  588. package/lib/core/services/animate-helper/animate-helper.service.d.ts +0 -9
  589. package/lib/core/services/bem-helper/bem-helper.service.d.ts +0 -7
  590. package/lib/core/services/date/date-compare.enum.d.ts +0 -5
  591. package/lib/core/services/date/date-helper.service.d.ts +0 -22
  592. package/lib/core/services/device/device-helper.service.d.ts +0 -16
  593. package/lib/core/services/geolocation/geolocation-state.enum.d.ts +0 -6
  594. package/lib/core/services/geolocation/geolocation.service.d.ts +0 -9
  595. package/lib/core/services/index.d.ts +0 -9
  596. package/lib/core/services/language/language-helper.service.d.ts +0 -12
  597. package/lib/core/services/sort/sort.service.d.ts +0 -6
  598. package/lib/core/services/viewport/viewport.service.d.ts +0 -11
  599. package/lib/index.d.ts +0 -4
  600. package/lib/services/get-position.service.d.ts +0 -9
  601. package/lib/services/index.d.ts +0 -1
  602. package/lib/shared/index.d.ts +0 -1
  603. package/lib/shared/models/flight-details.d.ts +0 -22
  604. package/lib/shared/models/index.d.ts +0 -5
  605. package/lib/shared/models/journey-availability-sort.model.d.ts +0 -8
  606. package/lib/shared/models/journey-availability.model.d.ts +0 -25
  607. package/lib/shared/models/journey-details.model.d.ts +0 -8
  608. package/lib/shared/models/journey-duration.model.d.ts +0 -7
  609. package/lib/shared/models/journey-stopover.model.d.ts +0 -15
  610. package/lib/shared/models/journey-transit-info.model.d.ts +0 -5
  611. package/lib/shared/models/operating-carrier.model.d.ts +0 -4
  612. package/lib/shared/models/sort-option.model.d.ts +0 -11
  613. package/lib/shared/models/sort.model.d.ts +0 -10
  614. package/lib/shared/models/trip-item-details.model.d.ts +0 -12
  615. package/lib/shared/models/trip-summary-details.model.d.ts +0 -5
  616. package/lib/shared/models/trip-summary.model.d.ts +0 -4
  617. package/public_api.d.ts +0 -1
  618. /package/assets/icons/{icon-chevron-left--light.svg → medium/chevron-left--light.svg} +0 -0
  619. /package/assets/icons/{icon-chevron-left.svg → medium/chevron-left.svg} +0 -0
  620. /package/assets/icons/{icon-chevron-right--light.svg → medium/chevron-right--light.svg} +0 -0
  621. /package/assets/icons/{icon-chevron-right.svg → medium/chevron-right.svg} +0 -0
  622. /package/assets/images/{cloud-1.svg → cloud.svg} +0 -0
@@ -1,942 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { AfterViewChecked, ElementRef, EventEmitter, OnInit, ChangeDetectorRef, AfterViewInit } from '@angular/core';
6
- import { FormGroup } from '@angular/forms';
7
- import { BehaviorSubject } from 'rxjs';
8
- import { TripType } from './enums/trip-type.enum';
9
- import { NasComponentBase } from '../../core/base/nas-component.base';
10
- import { ClassModel } from '../../core/models/class.model';
11
- import { UtcDate } from '../../core/models/utc-date.model';
12
- import { AbandonedBasketService } from '../../core/services/abandoned-basket/abandoned-basket.service';
13
- import { DateHelper } from '../../core/services/date/date-helper.service';
14
- import { DeviceHelper } from '../../core/services/device/device-helper.service';
15
- import { SortService } from '../../core/services/sort/sort.service';
16
- import { AirportModel } from '../airport-select/models/airport.model';
17
- import { DropdownComponent } from '../dropdown/dropdown.component';
18
- import { PassengersModel } from '../passenger-select/models/passengers.model';
19
- import { PassengerSelectComponent } from '../passenger-select/passenger-select.component';
20
- import { DatepickerComboComponent } from '../datepicker-combo/datepicker-combo.component';
21
- import { AirportSelectComponent } from '../airport-select/airport-select.component';
22
- import { RadioComponent } from '../radio/radio.component';
23
- import { ButtonComponent } from '../button/button.component';
24
- import * as i0 from "@angular/core";
25
- /**
26
- * @description
27
- * Norwegian Filter Component | Functional | New design
28
- */
29
- export declare class FilterComponent extends NasComponentBase implements OnInit, AfterViewChecked, AfterViewInit {
30
- deviceHelper: DeviceHelper;
31
- sortService: SortService;
32
- private abandonedBasketService;
33
- private dateService;
34
- elementRef: ElementRef;
35
- changeDetector: ChangeDetectorRef;
36
- passengerSelectDropdown: ElementRef;
37
- passengerSelect: PassengerSelectComponent;
38
- tripSwitch: DropdownComponent;
39
- transitSwitch: ButtonComponent;
40
- airportSelect: AirportSelectComponent;
41
- airportSelect2: AirportSelectComponent;
42
- datepickerCombo: DatepickerComboComponent;
43
- container: ElementRef;
44
- tripTypeOneway: ElementRef;
45
- tripTypeRoundTrip: ElementRef;
46
- transitTypeDirectOnly: ElementRef;
47
- transitTypeTransit: ElementRef;
48
- tripTypeSelection: RadioComponent;
49
- latestSearchesOrigin: Array<AirportModel>;
50
- latestSearchesDestination: Array<AirportModel>;
51
- displaySummary: boolean;
52
- nativeElement: HTMLElement;
53
- inboundLowerLimitDate: UtcDate;
54
- containerWidth: BehaviorSubject<number>;
55
- maximize: boolean;
56
- isNasGroupValid: boolean;
57
- inlineFlex: number;
58
- openPassengerSelect: boolean;
59
- openTransitTypeSelect: boolean;
60
- componentId: number;
61
- tripSwitchFocusTimeout: any;
62
- expandedAccordionMobileValue: boolean;
63
- showSwitch: boolean;
64
- onFocusInboundIgnored: boolean;
65
- get outboundOpen(): boolean;
66
- set outboundOpen(value: boolean);
67
- get inboundOpen(): boolean;
68
- set inboundOpen(value: boolean);
69
- private inboundOpenTimeout;
70
- /**
71
- * @property Input
72
- * @required
73
- * @description
74
- * A record containing keys with all airport codes with corresponding array of airport codes connected to the key.
75
- */
76
- airportRelations: Record<string, Array<string>>;
77
- /**
78
- * @property Input
79
- * @description
80
- * Adds 'aria-label' on the clear button inside the airport select inputs.
81
- */
82
- ariaLabelClear: string;
83
- /**
84
- * @property Input
85
- * @description
86
- * ARIA label for the subtract buttons.
87
- */
88
- ariaLabelSubtract: string;
89
- /**
90
- * @property Input
91
- * @description
92
- * Adds 'aria-label' to the backdrops.
93
- */
94
- ariaLabelBackdrop: string;
95
- /**
96
- * @property Input
97
- * @description
98
- * ARIA label for the add buttons.
99
- */
100
- ariaLabelAdd: string;
101
- /**
102
- * @property Input
103
- * @description
104
- * A list of airports that should be displayed in the origin dropdown.
105
- * If not included, all airports will be displayed.
106
- */
107
- allowedOriginAirports: Array<AirportModel>;
108
- /**
109
- * @property Input
110
- * @description
111
- * An array of airports that are restricted for destination airports. It will default to airports if not set.
112
- */
113
- allowedDestinationAirports: Array<AirportModel>;
114
- /**
115
- * @property Input
116
- * @description
117
- * A boolean indicating if airports that the user allready has searh for should be displayed.
118
- */
119
- displayLatestSearches: boolean;
120
- /**
121
- * @property Input
122
- * @description
123
- * Display switch UI to interchange origin and destination airport.
124
- */
125
- useSwitch?: boolean;
126
- /**
127
- * @property Input
128
- * @description
129
- * A boolean indicating if airports that are close to the user should be displayed.
130
- */
131
- displayClosestAirports: boolean;
132
- /**
133
- * @property Input
134
- * @description
135
- * The airport code of the origin airport. It will set the selected origin airport based on this value.
136
- */
137
- originAirportCode: string;
138
- /**
139
- * @property Input
140
- * @description
141
- * The airport code of the destination airport. It will set the selected destination airport based on this value.
142
- */
143
- destinationAirportCode: string;
144
- /**
145
- * @property Input
146
- * @description
147
- * The airport code of the origin airport. It will set the selected origin airport based on this value.
148
- */
149
- origin2AirportCode: string;
150
- /**
151
- * @property Input
152
- * @description
153
- * The airport code of the destination airport. It will set the selected destination airport based on this value.
154
- */
155
- destination2AirportCode: string;
156
- /**
157
- * @property Input
158
- * @description
159
- * A label that will be added to the passenger select dropdown.
160
- */
161
- passengerSelectLabel: string;
162
- /**
163
- * @property Input
164
- * @description
165
- * The total maximum amount of passengers in the passenger select dropdown.
166
- */
167
- maxPaxCount: number;
168
- /**
169
- * @property Input
170
- * @description
171
- * An array of different passenger types that will be displayed.
172
- */
173
- get passengers(): Array<PassengersModel>;
174
- set passengers(value: Array<PassengersModel>);
175
- /**
176
- * @property Input
177
- * @description
178
- * The minimum amount of adults that can be selected in the passenger select dropdown.
179
- */
180
- minAdultCount: number;
181
- /**
182
- * @property Input
183
- * @description
184
- * A label for round trip selection in the trip switch dropdown.
185
- */
186
- tripSwitchRoundTripLabel: string;
187
- /**
188
- * @property Input
189
- * @description
190
- * A label for one way selection in the trip switch dropdown.
191
- */
192
- tripSwitchOneWayLabel: string;
193
- /**
194
- * @property Input
195
- * @description
196
- * A label for multi-city selection in the trip switch dropdown.
197
- */
198
- tripSwitchMultiCityLabel: string;
199
- /**
200
- * @property Input
201
- * @description
202
- * A label for direct only selection in the transit switch dropdown.
203
- */
204
- directOnlyLabel: string;
205
- /**
206
- * @property Input
207
- * @description
208
- * A label for both direct and transit selection in the transit switch dropdown.
209
- */
210
- directTransitLabel: string;
211
- /**
212
- * @property Input
213
- * @description
214
- * Indicates if the filter should be minimized on mobile screen sizes.
215
- */
216
- minimizeOnMobile?: boolean;
217
- /**
218
- * @property Input
219
- * @description
220
- * Indicates if all inputs in the filter should be flex inline.
221
- */
222
- inlineOnDesktop?: boolean;
223
- /**
224
- * @property Input
225
- * @description
226
- * Indicates if the edit search of accordion should be expended on mobile screen sizes.
227
- */
228
- get expandedAccordionMobile(): boolean;
229
- set expandedAccordionMobile(value: boolean);
230
- /**
231
- * @property Input
232
- * @description
233
- * A separator for the filter summary that is dispayed if minimizeOnMobile is true.
234
- *
235
- * ### Example
236
- * 1 traveller, round trip and direct/transit
237
- */
238
- defaultSummarySeparator: string;
239
- /**
240
- * A separator for the filter summary is are dispayed if minimizeOnMobile is true.
241
- *
242
- * ### Example
243
- * 1 traveller, round trip and direct/transit
244
- */
245
- lastSummarySeparator: string;
246
- /**
247
- * @property Input
248
- * @description
249
- * A title that will be added to the passenger select dropdown.
250
- */
251
- passengerSelectTitle: string;
252
- /**
253
- * @property Input
254
- * @description
255
- * A label for the adults passenger type in the passenger select dropdown.
256
- */
257
- passengerSelectAdultsLabel: string;
258
- /**
259
- * @property Input
260
- * @description
261
- * A label for the youths passenger type in the passenger select dropdown.
262
- */
263
- passengerSelectYouthsLabel: string;
264
- /**
265
- * @property Input
266
- * @description
267
- * A label for the young adults passenger type in the passenger select dropdown.
268
- */
269
- passengerSelectYoungAdultsLabel: string;
270
- /**
271
- * @property Input
272
- * @description
273
- * A label for the children passenger type in the passenger select dropdown.
274
- */
275
- passengerSelectChildrenLabel: string;
276
- /**
277
- * @property Input
278
- * @description
279
- * A label for the infants passenger type in the passenger select dropdown.
280
- */
281
- passengerSelectInfantsLabel: string;
282
- /**
283
- * @property Input
284
- * @description
285
- * A label that will appear when total number of selected passengers exceeds the group booking limit
286
- */
287
- groupBookingLabel: string;
288
- /**
289
- * @property Input
290
- * @description
291
- * A label that will appear on top of all airports in the airport select drop down lists.
292
- */
293
- allAirportsLabel: string;
294
- /**
295
- * @property Input
296
- * @description
297
- * A label that will appear on top of the latest searches in the airport select drop down lists.
298
- */
299
- latestSearchesLabel: string;
300
- /**
301
- * @property Input
302
- * @description
303
- * A label that will appear on top of the closest airports in the airport select drop down lists.
304
- */
305
- closestAirportsLabel: string;
306
- /**
307
- * @property Input
308
- * @description
309
- * A label that appear in the list that there is currently no airports
310
- */
311
- noAirportsLabel: string;
312
- /**
313
- * @property Input
314
- * @description
315
- * A label that will appear in the destination input field in the airport select, if the
316
- * user tries to select a destination airport without selecting an origin airport.
317
- */
318
- selectOriginFirstLabel: string;
319
- /**
320
- * @property Input
321
- * @required
322
- * @description
323
- * A label that will appear on top of the origin airport input field.
324
- */
325
- labelOrigin: string;
326
- /**
327
- * @property Input
328
- * @description
329
- * A placeholder that will appear on the origin airport input field.
330
- */
331
- placeholderOrigin: string;
332
- /**
333
- * @property Input
334
- * @required
335
- * @description
336
- * A label that will appear on top of the destination airport input field.
337
- */
338
- labelDestination: string;
339
- /**
340
- * @property Input
341
- * @description
342
- * A label that will appear in my location in the drop down list in airport select.
343
- */
344
- geolocationLabel: string;
345
- /**
346
- * @property Input
347
- * @description
348
- * A label that will appear in my location, in the drop down list in airport select if user has denied geolocation.
349
- */
350
- geolocationBlockedLabel: string;
351
- /**
352
- * @property Input
353
- * @description
354
- * A placeholder that will appear on the destination airport input field.
355
- */
356
- placeholderDestination: string;
357
- /**
358
- * @property Input
359
- * @description
360
- * A modifier that will allow always keeping the selected airport.
361
- * The last selected airport will be shown once user clears the selection and blur.
362
- */
363
- keepSelection: boolean;
364
- /**
365
- * @property Input
366
- * @description
367
- * A title that will be assigned to edit search accordion.
368
- */
369
- editSearchTitle: string;
370
- /**
371
- * @property Input
372
- * @description
373
- * Adds the parent's form group.
374
- * It requires that the consumer included ReactiveFormsModule in it's module.
375
- * It is requiered to be filled if nasFormControlName added.
376
- */
377
- nasFormGroup: FormGroup;
378
- /**
379
- * @property Input
380
- * @description
381
- * Sets a formControlName directive to the input.
382
- * It requires that the consumer included ReactiveFormsModule in it's module.
383
- * It requiers that the nasFormGroup input is filled.
384
- */
385
- nasFormControlNameOrigin: string;
386
- /**
387
- * @property Input
388
- * @description
389
- * Sets a formControlName directive to the input.
390
- * It requires that the consumer included ReactiveFormsModule in it's module.
391
- * It requiers that the nasFormGroup input is filled.
392
- */
393
- nasFormControlNameDestination: string;
394
- /**
395
- * @property Input
396
- * @description
397
- * Sets a formControlName directive to the input.
398
- * It requires that the consumer included ReactiveFormsModule in it's module.
399
- * It requiers that the nasFormGroup input is filled.
400
- */
401
- nasFormControlNameOrigin2: string;
402
- /**
403
- * @property Input
404
- * @description
405
- * Sets a formControlName directive to the input.
406
- * It requires that the consumer included ReactiveFormsModule in it's module.
407
- * It requiers that the nasFormGroup input is filled.
408
- */
409
- nasFormControlNameDestination2: string;
410
- /**
411
- * @property Input
412
- * @description
413
- * Sets a formControlName directive to the input.
414
- * It requires that the consumer included ReactiveFormsModule in it's module.
415
- * It requiers that the nasFormGroup input is filled.
416
- */
417
- nasFormControlNameTripType: string;
418
- /**
419
- * @property Input
420
- * @description
421
- * Sets a formControlName directive to the input.
422
- * It requires that the consumer included ReactiveFormsModule in it's module.
423
- * It requiers that the nasFormGroup input is filled.
424
- */
425
- nasFormControlNameDirectOnly: string;
426
- /**
427
- * @property Input
428
- * @description
429
- * Sets a formControlName directive to the input.
430
- * It requires that the consumer included ReactiveFormsModule in it's module.
431
- * It requiers that the nasFormGroup input is filled.
432
- */
433
- nasFormControlNameOutbound: string;
434
- /**
435
- * @property Input
436
- * @description
437
- * Sets a formControlName directive to the input.
438
- * It requires that the consumer included ReactiveFormsModule in it's module.
439
- * It requiers that the nasFormGroup input is filled.
440
- */
441
- nasFormControlNameInbound: string;
442
- /**
443
- * @property Input
444
- * @description
445
- * Sets a formControlName directive to the input.
446
- * It requires that the consumer included ReactiveFormsModule in it's module.
447
- * It requiers that the nasFormGroup input is filled.
448
- */
449
- nasFormControlGroupBooking: string;
450
- /**
451
- * @property Input
452
- * @description
453
- * Make latest searches and geolocation override default value in the origin airport selector.
454
- */
455
- overrideOrigin?: boolean;
456
- /**
457
- * @property Input
458
- * @description
459
- * This will make the filter display suggested airports based on geolocation and latest searches.
460
- */
461
- enableSuggestions?: boolean;
462
- get closestAirports(): Array<AirportModel>;
463
- set closestAirports(airports: Array<AirportModel>);
464
- /**
465
- * @property Input
466
- * @description
467
- * This will only display airport selection. When a city pair is selected, the rest of the filter will be visible.
468
- */
469
- minimize?: boolean;
470
- /**
471
- * @property Input
472
- * @required
473
- * @description
474
- * All airports that will be populated into the dropdown lists.
475
- * If displayLatestSearches is true, it will try to get the latest searches from the abandoned basket.
476
- */
477
- get airports(): Array<AirportModel>;
478
- set airports(airports: Array<AirportModel>);
479
- /**
480
- * @property Input
481
- * @description
482
- * Sets and gets the selected trip type.
483
- */
484
- get tripType(): TripType;
485
- set tripType(tripType: TripType);
486
- /**
487
- * @property Input
488
- * @description
489
- * Sets and gets whether the selected transit type is direct only or not.
490
- */
491
- get directOnly(): boolean;
492
- set directOnly(directOnly: boolean);
493
- /**
494
- * @property Input
495
- * @description
496
- * The limit for when the total amount of passengers exceeds to be a group booking.
497
- */
498
- groupBookingLimit: number;
499
- /**
500
- * @property Input
501
- * @description
502
- * ARIA label for the previous month button in the calendar.
503
- */
504
- ariaLabelPreviousMonth: string;
505
- /**
506
- * @property Input
507
- * @description
508
- * ARIA label for the next month button in the calendar.
509
- */
510
- ariaLabelNextMonth: string;
511
- /**
512
- * @property Output
513
- * @description
514
- * An event that is fired every time the origin dropdown selector opens or closes.
515
- */
516
- originOpenChange: EventEmitter<boolean>;
517
- /**
518
- * @property Output
519
- * @description
520
- * An event that is fired every time the origin dropdown selector opens or closes.
521
- */
522
- destinationOpenChange: EventEmitter<boolean>;
523
- /**
524
- * @property Output
525
- * @description
526
- * An event that is fired every time the origin2 dropdown selector opens or closes.
527
- */
528
- origin2OpenChange: EventEmitter<boolean>;
529
- /**
530
- * @property Output
531
- * @description
532
- * An event that is fired every time the origin dropdown selector opens or closes.
533
- */
534
- destination2OpenChange: EventEmitter<boolean>;
535
- /**
536
- * @property Output
537
- * @description
538
- * An event that is fired every time the passenger select dropdown opens or closes.
539
- */
540
- passengerSelectOpenChange: EventEmitter<boolean>;
541
- /**
542
- * @property Output
543
- * @description
544
- * An event that is fired every time the selected origin airport changes.
545
- */
546
- originChange: EventEmitter<AirportModel>;
547
- /**
548
- * @property Output
549
- * @description
550
- * An event that is fired every time the selected destination airport changes.
551
- */
552
- destinationChange: EventEmitter<AirportModel>;
553
- /**
554
- * @property Output
555
- * @description
556
- * An event that is fired every time the selected origin2 airport changes.
557
- */
558
- origin2Change: EventEmitter<AirportModel>;
559
- /**
560
- * @property Output
561
- * @description
562
- * An event that is fired every time the selected destination airport changes.
563
- */
564
- destination2Change: EventEmitter<AirportModel>;
565
- /**
566
- * @property Output
567
- * @description
568
- * An event that is fired every time a passenger selection change is performed.
569
- */
570
- passengersChange: EventEmitter<PassengersModel[]>;
571
- /**
572
- * @property Output
573
- * @description
574
- * Sets and gets the selected trip type.
575
- */
576
- tripTypeChange: EventEmitter<TripType>;
577
- /**
578
- * @property Output
579
- * @description
580
- * Sets and gets whether the selected transit type is direct only or not.
581
- */
582
- directOnlyChange: EventEmitter<boolean>;
583
- /**
584
- * @property Input
585
- * @description
586
- * Label for no available flights.
587
- */
588
- noAvailableFlightsLabel: string;
589
- /**
590
- * @property Input
591
- * @description
592
- * Label for available flights.
593
- */
594
- availableFlightsLabel: string;
595
- /**
596
- * @property Input
597
- * @description
598
- * Disable possibility to select dates in the past.
599
- */
600
- disablePastSelection: boolean;
601
- /**
602
- * @property Input
603
- * @description
604
- * Label for outbound datepicker.
605
- */
606
- outboundLabel: string;
607
- /**
608
- * @property Input
609
- * @description
610
- * Label for inbound datepicker.
611
- */
612
- inboundLabel: string;
613
- /**
614
- * @property Input
615
- * @description
616
- * Sets the datepickers in availability mode where available dates can be added.
617
- */
618
- availability: boolean;
619
- /**
620
- * @property Input
621
- * @description
622
- * Available dates for outbound calendar.
623
- */
624
- outboundAvailableDates: Array<UtcDate>;
625
- /**
626
- * @property Input
627
- * @description
628
- * Available dates for inbound calendar.
629
- */
630
- inboundAvailableDates: Array<UtcDate>;
631
- /**
632
- * @property Input
633
- * @description
634
- * If set, Enables the time dropdown selector alongside datepicker.
635
- */
636
- times: Array<UtcDate>;
637
- /**
638
- * @property Input
639
- * @description
640
- * 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.
641
- * Please look at the angular Date pipe for valid formats and variations.
642
- */
643
- dateDisplayFormat: string;
644
- /**
645
- * @property Input
646
- * @description
647
- * The time display format.
648
- */
649
- timeDisplayFormat: string;
650
- /**
651
- * @property Input
652
- * @description
653
- * 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.
654
- * This requires that registerLocaleData is called with the respective locale.
655
- */
656
- locale: string;
657
- /**
658
- * @property Input
659
- * @description
660
- * A modifier to remove the padding and margins around the element.
661
- */
662
- compact: boolean;
663
- /**
664
- * @property Input
665
- * @description
666
- * Disable possibility to select outbound dates.
667
- */
668
- outboundDisabled: boolean;
669
- /**
670
- * @property Input
671
- * @description
672
- * Disable possibility to select inbound dates.
673
- */
674
- inboundDisabled: boolean;
675
- /**
676
- * @property Input
677
- * @description
678
- * Show/Add date picker combo into the filter if set to true.
679
- */
680
- enableDatepickers: boolean;
681
- /**
682
- * @property Input
683
- * @required
684
- * @description
685
- * Label for the toggle icon for minimizing filter.
686
- */
687
- minimizingLabel: string;
688
- /**
689
- * @property Input
690
- * @required
691
- * @description
692
- * Label for the toggle icon for maximizing filter.
693
- */
694
- maximizingLabel: string;
695
- /**
696
- * @property Input
697
- * @required
698
- * @description
699
- * Label for the toggling transit type when filter is minimized.
700
- */
701
- directOnlyMobileLabel: string;
702
- /**
703
- * @property Input
704
- * @description
705
- * Label for 'or' in the suggestioned airports.
706
- */
707
- orLabel: string;
708
- /**
709
- * @property Input
710
- * @description
711
- * Label for 'Travelers' in the passengers select button.
712
- */
713
- passengersTitleLabel: string;
714
- /**
715
- * @property Input
716
- * @description
717
- * A text that appears in the destinations dropdown list when origin airport is not set.
718
- */
719
- invalidDestinationText: string;
720
- /**
721
- * @property Input
722
- * @description
723
- * Selected datefor outbound calendar.
724
- */
725
- get outboundSelectedDate(): UtcDate;
726
- set outboundSelectedDate(date: UtcDate);
727
- /**
728
- * @property Input
729
- * @description
730
- * Selected datefor inbound calendar.
731
- */
732
- get inboundSelectedDate(): UtcDate;
733
- set inboundSelectedDate(date: UtcDate);
734
- /**
735
- * @property Input
736
- * @description
737
- * Will display the destination input, set this to false to remove it. It's true by default.
738
- */
739
- enableDestinationSelect: boolean;
740
- /**
741
- * @property Input
742
- * @description
743
- * Will display passenger select, set this to false to remove it. It's true by default.
744
- */
745
- enablePassengersSelect: boolean;
746
- /**
747
- * @property Input
748
- * @description
749
- * Will display the trip switch, set this to false to remove it. It's true by default.
750
- */
751
- enableTripSwitch: boolean;
752
- /**
753
- * @property Input
754
- * @description
755
- * Will display the transit switch, set this to false to remove it. It's true by default.
756
- */
757
- enableTransitSwitch: boolean;
758
- /**
759
- * @property Input
760
- * @description
761
- * Outbound and inbound dates will break horizontally.
762
- */
763
- datePickerComboInlineFlex: boolean;
764
- /**
765
- * @property Input
766
- * @required
767
- * @description
768
- * The ID of the native input element for outbound Airport Select
769
- */
770
- airportSelectOutboundId: string;
771
- /**
772
- * @property Input
773
- * @required
774
- * @description
775
- * The ID of the native input element for inbound Airport Select
776
- */
777
- airportSelectInboundId: string;
778
- /**
779
- * @property Input
780
- * @required
781
- * @description
782
- * The ID of the native input element for Passenger Select
783
- */
784
- passengerSelectId: string;
785
- /**
786
- * @property Input
787
- * @required
788
- * @description
789
- * The outbound datepicker ID of the native input element for Date picker
790
- */
791
- datePickerOutboundId: string;
792
- /**
793
- * @property Input
794
- * @required
795
- * @description
796
- * The inbound datepicker ID of the native input element for Date picker
797
- */
798
- datePickerInboundId: string;
799
- /**
800
- * @property Input
801
- * @required
802
- * @description
803
- * The ID of the native input element for Trip type
804
- */
805
- tripTypeId: string;
806
- /**
807
- * @property Input
808
- * @required
809
- * @description
810
- * The ID of the native input element for Transit type
811
- */
812
- transitTypeId: string;
813
- /**
814
- * @property Input
815
- * @required
816
- * @description
817
- * Toggle for enabling multi-city function.
818
- */
819
- enableMultiCity: boolean;
820
- /**
821
- * @property Output
822
- * @description
823
- * When selected datehas been changed on the outbound calendar.
824
- */
825
- outboundSelectedDateChange: EventEmitter<UtcDate>;
826
- /**
827
- * @property Output
828
- * @description
829
- * When selected datehas been changed on the inbound calendar.
830
- */
831
- inboundSelectedDateChange: EventEmitter<UtcDate>;
832
- /**
833
- * @property Output
834
- * @description
835
- * Outbound datepicker is open or closed.
836
- */
837
- outboundOpenChange: EventEmitter<boolean>;
838
- /**
839
- * @property Output
840
- * @description
841
- * Inbound datepicker is open or closed.
842
- */
843
- inboundOpenChange: EventEmitter<boolean>;
844
- /**
845
- * @property Output
846
- * @description
847
- * Outbound calendar changes month.
848
- */
849
- outboundMonthChange: EventEmitter<UtcDate>;
850
- /**
851
- * @property Output
852
- * @description
853
- * Inbound calendar changes month.
854
- */
855
- inboundMonthChange: EventEmitter<UtcDate>;
856
- /**
857
- * @property Output
858
- * @description
859
- * When a user has actively changed the date.
860
- */
861
- focusOnNextChange: EventEmitter<any>;
862
- /**
863
- * @property Output
864
- * @description
865
- * The geolocation of the user. Will be emitted if 'enableSuggestions' is true.
866
- */
867
- positionChange: EventEmitter<GeolocationPosition>;
868
- get inboundSelectedMonth(): UtcDate;
869
- set inboundSelectedMonth(month: UtcDate);
870
- get passengerSelectInputId(): string;
871
- get tripTypeInputId(): string;
872
- get transitTypeInputId(): string;
873
- private outboundSelectedDateValue;
874
- private inboundSelectedDateValue;
875
- private inboundSelectedMonthValue;
876
- private airportsValue;
877
- private tripTypeValue;
878
- private directOnlyValue;
879
- private closestAirportsValue;
880
- private outboundOpenValue;
881
- private inboundOpenValue;
882
- private passengersValue;
883
- private focusAsyncTimout;
884
- private transitSwitchFocusTimeout;
885
- constructor(deviceHelper: DeviceHelper, sortService: SortService, abandonedBasketService: AbandonedBasketService, dateService: DateHelper, elementRef: ElementRef, changeDetector: ChangeDetectorRef);
886
- ngOnInit(): void;
887
- ngAfterViewInit(): void;
888
- ngAfterViewChecked(): void;
889
- getClosestAirports(position: GeolocationPosition): void;
890
- getFilterClass(element?: string, modifiersInput?: any): ClassModel;
891
- getAirportSelectClass(): ClassModel;
892
- getSuggestions(): Array<AirportModel>;
893
- getDatePickersClass(): ClassModel;
894
- getTravelDetailsClass(element?: string, modifiersInput?: any): ClassModel;
895
- onInboundMonthChange(month: UtcDate): void;
896
- onOutboundMonthChange(month: UtcDate): void;
897
- onPassengersSelectFocusOnPrevious(): void;
898
- passengerKeyDown(event: KeyboardEvent): void;
899
- onTripSwitchKeyDown(event: KeyboardEvent): void;
900
- onFocusInboundDateKeyDown(event: KeyboardEvent): void;
901
- onTripSwitchFocusNext(event: KeyboardEvent): void;
902
- transitKeyDown(event: KeyboardEvent): void;
903
- onPassengersSelectFocusOnNext(): void;
904
- focusAsync(refElement: ElementRef): void;
905
- onTransitSwitchFocusNext(event: KeyboardEvent): void;
906
- onTransitSwitchFocusOnPrevious(): void;
907
- onDatepickerFocusOnPrevious(event: KeyboardEvent | MouseEvent): void;
908
- onFocusOnNextChange(event: KeyboardEvent): void;
909
- isMobileDisplay(): boolean;
910
- isTabletDisplay(): boolean;
911
- onOriginOpen(open: boolean): void;
912
- onOrigin2Open(open: boolean): void;
913
- validateAirportValues(): boolean;
914
- updateMaximize(): void;
915
- onDestinationOpen(open: boolean): void;
916
- onDestination2Open(open: boolean): void;
917
- onPassengerBackdropChange(value: boolean): void;
918
- onPassengerSelectOpen(): void;
919
- onTripSwitchOpen(open: boolean): void;
920
- onTransitSwitchOpen(open: boolean): void;
921
- onOriginChange(airport: AirportModel): void;
922
- onOrigin2Change(airport: AirportModel): void;
923
- setSelectedOriginAirport(airport: AirportModel): void;
924
- setSelectedOrigin2Airport(airport: AirportModel): void;
925
- onDestinationChange(airport: AirportModel): void;
926
- onDestination2Change(airport: AirportModel): void;
927
- setFocusOnPassengerSelect(event: KeyboardEvent): void;
928
- setFocusOnNativeElement(element: ElementRef): void;
929
- onTripTypeChange(tripType: TripType): void;
930
- onTransitChange(directOnly: boolean): void;
931
- getTravelDetailsTripSwitchIconClass(modifiers?: any): Array<ClassModel>;
932
- getTripSwitchLabel(): string;
933
- getTransitLabel(): string;
934
- onAccordionToggleChange(expanded: boolean): void;
935
- getSummary(): string;
936
- shouldMaximize(): boolean;
937
- focusOnAirportSelectBackwards(): void;
938
- private setLatestSearches;
939
- private closeDropdowns;
940
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
941
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "nas-filter", never, { "airportRelations": { "alias": "airportRelations"; "required": false; }; "ariaLabelClear": { "alias": "ariaLabelClear"; "required": false; }; "ariaLabelSubtract": { "alias": "ariaLabelSubtract"; "required": false; }; "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "ariaLabelAdd": { "alias": "ariaLabelAdd"; "required": false; }; "allowedOriginAirports": { "alias": "allowedOriginAirports"; "required": false; }; "allowedDestinationAirports": { "alias": "allowedDestinationAirports"; "required": false; }; "displayLatestSearches": { "alias": "displayLatestSearches"; "required": false; }; "useSwitch": { "alias": "useSwitch"; "required": false; }; "displayClosestAirports": { "alias": "displayClosestAirports"; "required": false; }; "originAirportCode": { "alias": "originAirportCode"; "required": false; }; "destinationAirportCode": { "alias": "destinationAirportCode"; "required": false; }; "origin2AirportCode": { "alias": "origin2AirportCode"; "required": false; }; "destination2AirportCode": { "alias": "destination2AirportCode"; "required": false; }; "passengerSelectLabel": { "alias": "passengerSelectLabel"; "required": false; }; "maxPaxCount": { "alias": "maxPaxCount"; "required": false; }; "passengers": { "alias": "passengers"; "required": false; }; "minAdultCount": { "alias": "minAdultCount"; "required": false; }; "tripSwitchRoundTripLabel": { "alias": "tripSwitchRoundTripLabel"; "required": false; }; "tripSwitchOneWayLabel": { "alias": "tripSwitchOneWayLabel"; "required": false; }; "tripSwitchMultiCityLabel": { "alias": "tripSwitchMultiCityLabel"; "required": false; }; "directOnlyLabel": { "alias": "directOnlyLabel"; "required": false; }; "directTransitLabel": { "alias": "directTransitLabel"; "required": false; }; "minimizeOnMobile": { "alias": "minimizeOnMobile"; "required": false; }; "inlineOnDesktop": { "alias": "inlineOnDesktop"; "required": false; }; "expandedAccordionMobile": { "alias": "expandedAccordionMobile"; "required": false; }; "defaultSummarySeparator": { "alias": "defaultSummarySeparator"; "required": false; }; "lastSummarySeparator": { "alias": "lastSummarySeparator"; "required": false; }; "passengerSelectTitle": { "alias": "passengerSelectTitle"; "required": false; }; "passengerSelectAdultsLabel": { "alias": "passengerSelectAdultsLabel"; "required": false; }; "passengerSelectYouthsLabel": { "alias": "passengerSelectYouthsLabel"; "required": false; }; "passengerSelectYoungAdultsLabel": { "alias": "passengerSelectYoungAdultsLabel"; "required": false; }; "passengerSelectChildrenLabel": { "alias": "passengerSelectChildrenLabel"; "required": false; }; "passengerSelectInfantsLabel": { "alias": "passengerSelectInfantsLabel"; "required": false; }; "groupBookingLabel": { "alias": "groupBookingLabel"; "required": false; }; "allAirportsLabel": { "alias": "allAirportsLabel"; "required": false; }; "latestSearchesLabel": { "alias": "latestSearchesLabel"; "required": false; }; "closestAirportsLabel": { "alias": "closestAirportsLabel"; "required": false; }; "noAirportsLabel": { "alias": "noAirportsLabel"; "required": false; }; "selectOriginFirstLabel": { "alias": "selectOriginFirstLabel"; "required": false; }; "labelOrigin": { "alias": "labelOrigin"; "required": false; }; "placeholderOrigin": { "alias": "placeholderOrigin"; "required": false; }; "labelDestination": { "alias": "labelDestination"; "required": false; }; "geolocationLabel": { "alias": "geolocationLabel"; "required": false; }; "geolocationBlockedLabel": { "alias": "geolocationBlockedLabel"; "required": false; }; "placeholderDestination": { "alias": "placeholderDestination"; "required": false; }; "keepSelection": { "alias": "keepSelection"; "required": false; }; "editSearchTitle": { "alias": "editSearchTitle"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "nasFormControlNameOrigin": { "alias": "nasFormControlNameOrigin"; "required": false; }; "nasFormControlNameDestination": { "alias": "nasFormControlNameDestination"; "required": false; }; "nasFormControlNameOrigin2": { "alias": "nasFormControlNameOrigin2"; "required": false; }; "nasFormControlNameDestination2": { "alias": "nasFormControlNameDestination2"; "required": false; }; "nasFormControlNameTripType": { "alias": "nasFormControlNameTripType"; "required": false; }; "nasFormControlNameDirectOnly": { "alias": "nasFormControlNameDirectOnly"; "required": false; }; "nasFormControlNameOutbound": { "alias": "nasFormControlNameOutbound"; "required": false; }; "nasFormControlNameInbound": { "alias": "nasFormControlNameInbound"; "required": false; }; "nasFormControlGroupBooking": { "alias": "nasFormControlGroupBooking"; "required": false; }; "overrideOrigin": { "alias": "overrideOrigin"; "required": false; }; "enableSuggestions": { "alias": "enableSuggestions"; "required": false; }; "closestAirports": { "alias": "closestAirports"; "required": false; }; "minimize": { "alias": "minimize"; "required": false; }; "airports": { "alias": "airports"; "required": false; }; "tripType": { "alias": "tripType"; "required": false; }; "directOnly": { "alias": "directOnly"; "required": false; }; "groupBookingLimit": { "alias": "groupBookingLimit"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "outboundLabel": { "alias": "outboundLabel"; "required": false; }; "inboundLabel": { "alias": "inboundLabel"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "outboundAvailableDates": { "alias": "outboundAvailableDates"; "required": false; }; "inboundAvailableDates": { "alias": "inboundAvailableDates"; "required": false; }; "times": { "alias": "times"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "outboundDisabled": { "alias": "outboundDisabled"; "required": false; }; "inboundDisabled": { "alias": "inboundDisabled"; "required": false; }; "enableDatepickers": { "alias": "enableDatepickers"; "required": false; }; "minimizingLabel": { "alias": "minimizingLabel"; "required": false; }; "maximizingLabel": { "alias": "maximizingLabel"; "required": false; }; "directOnlyMobileLabel": { "alias": "directOnlyMobileLabel"; "required": false; }; "orLabel": { "alias": "orLabel"; "required": false; }; "passengersTitleLabel": { "alias": "passengersTitleLabel"; "required": false; }; "invalidDestinationText": { "alias": "invalidDestinationText"; "required": false; }; "outboundSelectedDate": { "alias": "outboundSelectedDate"; "required": false; }; "inboundSelectedDate": { "alias": "inboundSelectedDate"; "required": false; }; "enableDestinationSelect": { "alias": "enableDestinationSelect"; "required": false; }; "enablePassengersSelect": { "alias": "enablePassengersSelect"; "required": false; }; "enableTripSwitch": { "alias": "enableTripSwitch"; "required": false; }; "enableTransitSwitch": { "alias": "enableTransitSwitch"; "required": false; }; "datePickerComboInlineFlex": { "alias": "datePickerComboInlineFlex"; "required": false; }; "airportSelectOutboundId": { "alias": "airportSelectOutboundId"; "required": false; }; "airportSelectInboundId": { "alias": "airportSelectInboundId"; "required": false; }; "passengerSelectId": { "alias": "passengerSelectId"; "required": false; }; "datePickerOutboundId": { "alias": "datePickerOutboundId"; "required": false; }; "datePickerInboundId": { "alias": "datePickerInboundId"; "required": false; }; "tripTypeId": { "alias": "tripTypeId"; "required": false; }; "transitTypeId": { "alias": "transitTypeId"; "required": false; }; "enableMultiCity": { "alias": "enableMultiCity"; "required": false; }; }, { "originOpenChange": "originOpenChange"; "destinationOpenChange": "destinationOpenChange"; "origin2OpenChange": "origin2OpenChange"; "destination2OpenChange": "destination2OpenChange"; "passengerSelectOpenChange": "passengerSelectOpenChange"; "originChange": "originChange"; "destinationChange": "destinationChange"; "origin2Change": "origin2Change"; "destination2Change": "destination2Change"; "passengersChange": "passengersChange"; "tripTypeChange": "tripTypeChange"; "directOnlyChange": "directOnlyChange"; "outboundSelectedDateChange": "outboundSelectedDateChange"; "inboundSelectedDateChange": "inboundSelectedDateChange"; "outboundOpenChange": "outboundOpenChange"; "inboundOpenChange": "inboundOpenChange"; "outboundMonthChange": "outboundMonthChange"; "inboundMonthChange": "inboundMonthChange"; "focusOnNextChange": "focusOnNextChange"; "positionChange": "positionChange"; }, never, never, false, never>;
942
- }