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