@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,84 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { DatePipe } from '@angular/common';
6
- import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
7
- import { JourneySelectionModel } from './models/journey-selection.model';
8
- import { NasComponentBase } from '../../core/base/nas-component.base';
9
- import { UtcDate } from '../../core/models/utc-date.model';
10
- import { DateHelper } from '../../core/services/date/date-helper.service';
11
- import { DeviceHelper } from '../../core/services/device/device-helper.service';
12
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
13
- import * as i0 from "@angular/core";
14
- /**
15
- * @description
16
- * Norwegian Journey Selection Component | Functional
17
- */
18
- export declare class JourneySelectionComponent extends NasComponentBase implements OnChanges {
19
- private dateService;
20
- private datePipe;
21
- deviceService: DeviceHelper;
22
- private sanitizer;
23
- animateDown: boolean;
24
- isCollapsed: boolean;
25
- imageMain: ElementRef;
26
- destinationCode: ElementRef;
27
- /**
28
- * @property Input
29
- * @description
30
- * Input data required to build the component.
31
- */
32
- model: JourneySelectionModel;
33
- /**
34
- * @property Output
35
- * @description
36
- * A EventEmitter that returns a boolean based on collapse change.
37
- */
38
- collapseChange: EventEmitter<boolean>;
39
- /**
40
- * @property Input
41
- * @description
42
- * A boolean that changes how journey selection component looks/behaves based on journey selected/not-selected.
43
- */
44
- get collapse(): boolean;
45
- set collapse(value: boolean);
46
- /**
47
- * @property Input
48
- * @description
49
- * If exists, it removes the marin accross.
50
- */
51
- compact: boolean;
52
- /**
53
- * @property Input
54
- * @description
55
- * Aria label for the component.
56
- * For example, it is needed to distinguish Outbound journey selection from inbound journey selection
57
- * when this component is used twice in the page.
58
- */
59
- ariaLabel: string;
60
- /**
61
- * @property Input
62
- * @description
63
- * User can input the timezone to localize the date.
64
- * Default is set to UTC and it will by default show the date exactly what is passed to it.
65
- * @example
66
- * ```html
67
- * <nas-journey-availability [timeZone]="'UTC'"></nas-journey-availability>
68
- */
69
- timeZone: string;
70
- /**
71
- * @property Output
72
- * @description
73
- * this event emits when button is clicked or date changes by nevigation icons.
74
- */
75
- selectedDateChanged: EventEmitter<UtcDate>;
76
- constructor(dateService: DateHelper, datePipe: DatePipe, deviceService: DeviceHelper, sanitizer: DomSanitizer);
77
- ngOnChanges(changes: SimpleChanges): void;
78
- changeFlightDate(): void;
79
- setupBackground(element: ElementRef, url: string): void;
80
- transformDisplayDate(format: string): string;
81
- getDestinationCode(): SafeHtml;
82
- static ɵfac: i0.ɵɵFactoryDeclaration<JourneySelectionComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<JourneySelectionComponent, "nas-journey-selection", never, { "model": { "alias": "model"; "required": false; }; "collapse": { "alias": "collapse"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; }, { "collapseChange": "collapseChange"; "selectedDateChanged": "selectedDateChanged"; }, never, never, false, never>;
84
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./journey-selection.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../core/directives/nas-class/nas-class.module";
5
- import * as i4 from "../button/button.module";
6
- import * as i5 from "../icon/icon.module";
7
- export declare class JourneySelectionModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<JourneySelectionModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<JourneySelectionModule, [typeof i1.JourneySelectionComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.ButtonModule, typeof i5.IconModule], [typeof i1.JourneySelectionComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<JourneySelectionModule>;
11
- }
@@ -1,11 +0,0 @@
1
- import { OperatingCarriersModel } from '../../../shared/models/operating-carrier.model';
2
- import { JourneySelectionCommonModel } from './journey-selection-common.model';
3
- export interface JourneySelectionCollapsedModel extends JourneySelectionCommonModel {
4
- departureLabel: string;
5
- durationLabel: string;
6
- durationTimeInfo: string;
7
- stopverAirportCodes?: Array<string>;
8
- changeFlightLabel: string;
9
- transitionInfo: string;
10
- operatingCarriers: OperatingCarriersModel;
11
- }
@@ -1,7 +0,0 @@
1
- export interface JourneySelectionCommonModel {
2
- title: string;
3
- destinationDisplayName: string;
4
- destination?: string;
5
- origin: string;
6
- originDisplayName: string;
7
- }
@@ -1,5 +0,0 @@
1
- import { JourneySelectionCommonModel } from './journey-selection-common.model';
2
- export interface JourneySelectionExpandedModel extends JourneySelectionCommonModel {
3
- toLabel: string;
4
- dateFormat: string;
5
- }
@@ -1,14 +0,0 @@
1
- import { UtcDate } from '../../../core';
2
- import { JourneySelectionCollapsedModel } from './journey-selection-collapsed.model';
3
- import { JourneySelectionExpandedModel } from './journey-selection-expanded.model';
4
- export interface JourneySelectionModel {
5
- date: UtcDate;
6
- dateFormat?: string;
7
- locale: string;
8
- backgroundImageUrl?: string;
9
- thumbnailUrl?: string;
10
- icon: string;
11
- fromLabel: string;
12
- expanded?: JourneySelectionExpandedModel;
13
- collapsed?: JourneySelectionCollapsedModel;
14
- }
@@ -1,3 +0,0 @@
1
- export * from './journey-stopover.component';
2
- export * from './journey-stopover.module';
3
- export * from './models/stopover-time.model';
@@ -1,131 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
6
- import { NasComponentBase } from '../../core/base/nas-component.base';
7
- import { JourneyStopoverModel } from '../../shared/models/journey-stopover.model';
8
- import { StopoverTimeModel } from './models/stopover-time.model';
9
- import { ClassModel } from '../../core/models/class.model';
10
- import { DatePipe } from '@angular/common';
11
- import { DateHelper } from '../../core/services/date/date-helper.service';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * @description
15
- * Norwegian journey-stopover Component | Functional
16
- */
17
- export declare class JourneyStopoverComponent extends NasComponentBase implements OnChanges, OnInit {
18
- private datePipe;
19
- private dateService;
20
- stopoverTime: StopoverTimeModel;
21
- marketingCarrierIcon: string;
22
- currentStopover: {
23
- departureTime: string;
24
- arrivalTime: string;
25
- departureDate: string;
26
- arrivalDate: string;
27
- estimatedArrivalTime?: string;
28
- estimatedDepartureTime?: string;
29
- estimatedArrivalDate?: string;
30
- estimatedDepartureDate?: string;
31
- };
32
- /**
33
- * @property Input
34
- * @description
35
- * A record containing Journey-stopover details.
36
- * @required
37
- * @example
38
- * <nas-journey-stopover [journeyStopoverModel]="journeyStopoverModel"></nas-journey-stopover>
39
- */
40
- journeyStopoverModel: JourneyStopoverModel;
41
- /**
42
- * @property Input
43
- * @description
44
- * A string representing label placed before transit stop time.
45
- * @example
46
- * <nas-journey-stopover [transitLabel]="'Transit stop'"></nas-journey-stopover>
47
- */
48
- transitLabel: string;
49
- /**
50
- * @property Input
51
- * @description
52
- * A string representing the label placed before arrival time.
53
- * @example
54
- * <nas-journey-stopover [arrivalTimeLabel]="'Arrival'"></nas-journey-stopover>
55
- */
56
- arrivalTimeLabel: string;
57
- /**
58
- * @property Input
59
- * @description
60
- * A string representing the label placed before departure time.
61
- * @example
62
- * <nas-journey-stopover [departureTimeLabel]="'Departure'"></nas-journey-stopover>
63
- */
64
- departureTimeLabel: string;
65
- /**
66
- * @property Input
67
- * @description
68
- * A string representing time display format, if not provided, default formatting on date will be applied
69
- * i.e 'HH:mm' , which will result in displaying time like '09:23'.
70
- * @example
71
- * <nas-journey-stopover [timeFormat]='HH:mm'></nas-journey-stopover>
72
- */
73
- timeFormat: string;
74
- /**
75
- * @property Input
76
- * @description
77
- * A string representing date display format, if not provided, default formatting on date will be applied
78
- * i.e 'dd MMM,' , which will result in displaying time like '21 Feb,'.
79
- * @example
80
- * <nas-journey-stopover [dateFormat]='dd MMM,'></nas-journey-stopover>
81
- */
82
- dateFormat: string;
83
- /**
84
- * @property Input
85
- * @description
86
- * A string representing Transit Hour indicator.
87
- * if not provided, transit time will not be shown
88
- * @example
89
- * <nas-journey-stopover [transitHoursIndicator]='h'></nas-journey-stopover>
90
- */
91
- transitHoursIndicator: string;
92
- /**
93
- * @property Input
94
- * @description
95
- * A string representing Transit Minutes indicator.
96
- * if not provided, transit time will not be shown
97
- * @example
98
- * <nas-journey-stopover [transitMinutesIndicator]='m'></nas-journey-stopover>
99
- */
100
- transitMinutesIndicator: string;
101
- /**
102
- * @property Input
103
- * @description
104
- * 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.
105
- * This requires that registerLocaleData is called with the respective locale.
106
- * @example
107
- * <nas-journey-stopover [locale]="'es'"></nas-journey-stopover>
108
- */
109
- locale: string;
110
- /**
111
- * @property Input
112
- * @description
113
- * User can input the timezone to localize the date.
114
- * Default is set to UTC and it will by default show the date exactly what is passed to it.
115
- * @example
116
- * <nas-journey-stopover [timeZone]="'UTC'"></nas-journey-stopover>
117
- */
118
- timeZone: string;
119
- get displayStopoverTime(): boolean;
120
- get lineClass(): ClassModel;
121
- constructor(datePipe: DatePipe, dateService: DateHelper);
122
- ngOnInit(): void;
123
- ngOnChanges(_changes: SimpleChanges): void;
124
- private setDisplayDates;
125
- private transformDate;
126
- private getStopoverTime;
127
- private getMarketingCarrierIcon;
128
- getTimeClass(estimatedTime: string, estimatedDate: string): ClassModel;
129
- static ɵfac: i0.ɵɵFactoryDeclaration<JourneyStopoverComponent, never>;
130
- static ɵcmp: i0.ɵɵComponentDeclaration<JourneyStopoverComponent, "nas-journey-stopover", never, { "journeyStopoverModel": { "alias": "journeyStopoverModel"; "required": false; }; "transitLabel": { "alias": "transitLabel"; "required": false; }; "arrivalTimeLabel": { "alias": "arrivalTimeLabel"; "required": false; }; "departureTimeLabel": { "alias": "departureTimeLabel"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "transitHoursIndicator": { "alias": "transitHoursIndicator"; "required": false; }; "transitMinutesIndicator": { "alias": "transitMinutesIndicator"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; }, {}, never, never, false, never>;
131
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./journey-stopover.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../core/directives/nas-class/nas-class.module";
5
- import * as i4 from "../accordion/accordion.module";
6
- import * as i5 from "../icon/icon.module";
7
- export declare class JourneyStopoverModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<JourneyStopoverModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<JourneyStopoverModule, [typeof i1.JourneyStopoverComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.AccordionModule, typeof i5.IconModule], [typeof i1.JourneyStopoverComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<JourneyStopoverModule>;
11
- }
@@ -1,4 +0,0 @@
1
- export interface StopoverTimeModel {
2
- numberOfHours: number;
3
- numberOfMinutes: number;
4
- }
@@ -1,3 +0,0 @@
1
- export * from './list.component';
2
- export * from './list-item/list-item.component';
3
- export * from './list.module';
@@ -1,35 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { OnInit, ElementRef } from '@angular/core';
6
- import { NasComponentBase } from '../../../core/base/nas-component.base';
7
- import { ClassModel } from '../../../core/models/class.model';
8
- import * as i0 from "@angular/core";
9
- export declare class ListItemComponent extends NasComponentBase implements OnInit {
10
- private elementRef;
11
- /**
12
- * @description
13
- * Adds custom CSS class to the list item. List item will sett additional custom styling.
14
- *
15
- * @example
16
- * ```html
17
- * <nas-list-item [cssClass]="'my-custom-class'">Earn 2-12% CashPoints on Premium Tickets</nas-button>
18
- * ```
19
- */
20
- cssClass?: ClassModel;
21
- constructor(elementRef: ElementRef);
22
- ngOnInit(): void;
23
- /**
24
- * @description
25
- * Angular generates 'nas-list-item' as the parent element which when is put into UL or OL breaks the semantics of
26
- * HTML, Initial solution we adopted was to remove 'nas-list-item' and add 'LI' as the parent element. which then
27
- * produced the problem of List template not being updated when the model(data) is upadted after initialization.
28
- * This solution keeps the element and encapsulates it with LI element, which is correct semantically and
29
- * let the list template update/manipulate.
30
- */
31
- nasListItemToListItemElement(): void;
32
- getClasses(): Array<ClassModel>;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "nas-list-item", never, { "cssClass": { "alias": "cssClass"; "required": false; }; }, {}, never, ["*"], false, never>;
35
- }
@@ -1,76 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { ElementRef, AfterContentChecked } from '@angular/core';
6
- import { NasComponentBase } from '../../core/base/nas-component.base';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @description
10
- * Norwegian Airport List Component | Layout
11
- */
12
- export declare class ListComponent extends NasComponentBase implements AfterContentChecked {
13
- elementRef: ElementRef<HTMLElement>;
14
- /**
15
- * @property Input
16
- * @description
17
- * List with grey and blue check-icon markers
18
- */
19
- markers: boolean;
20
- /**
21
- * @property Input
22
- * @description
23
- * List with note markers
24
- */
25
- note: boolean;
26
- /**
27
- * @property Input
28
- * @description
29
- * List with green check-icon markers
30
- */
31
- positive: boolean;
32
- /**
33
- * @property Input
34
- * @description
35
- * List with red x-icon markers
36
- */
37
- negative: boolean;
38
- /**
39
- * @property Input
40
- * @description
41
- * List with goto (arrow) icon markers
42
- */
43
- goto: boolean;
44
- /**
45
- * @property Input
46
- * @description
47
- * List styles as a table
48
- */
49
- table: boolean;
50
- /**
51
- * @property Input
52
- * @description
53
- * List without margin at bottom
54
- */
55
- spaceless: boolean;
56
- /**
57
- * @property Input
58
- * @description
59
- * The string elements within the list
60
- */
61
- items: Array<string>;
62
- constructor(elementRef: ElementRef<HTMLElement>);
63
- mainClass(): import("@norwegian/core-components").ClassModel;
64
- ngAfterContentChecked(): void;
65
- /**
66
- * @description
67
- * Angular generates 'nas-list-item' as the parent element which when is put into UL or OL breaks the semantics of
68
- * HTML. This solution keeps the element and encapsulates it with LI element, which is correct semantically and
69
- * let the list tempalte update/manipulte. But since we are manually adding LI elements in nas-list-item,
70
- * so those are not removed by angular automatically when data(model) is removed/reduced.
71
- * This function looks up for the empty LI elements when the content is updated and removes them manually.
72
- */
73
- removeEmptyListItems(): void;
74
- static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "nas-list", never, { "markers": { "alias": "markers"; "required": false; }; "note": { "alias": "note"; "required": false; }; "positive": { "alias": "positive"; "required": false; }; "negative": { "alias": "negative"; "required": false; }; "goto": { "alias": "goto"; "required": false; }; "table": { "alias": "table"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], false, never>;
76
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./list.component";
3
- import * as i2 from "./list-item/list-item.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../../core/directives/nas-class/nas-class.module";
6
- export declare class ListModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ListModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<ListModule, [typeof i1.ListComponent, typeof i2.ListItemComponent], [typeof i3.CommonModule, typeof i4.NasClassModule], [typeof i1.ListComponent, typeof i2.ListItemComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<ListModule>;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './micro-button.component';
2
- export * from './micro-button.module';
@@ -1,139 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { EventEmitter } from '@angular/core';
6
- import { ClassModel, NasComponentBase } from '../../core';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @description
10
- * Norwegian alert Component | Buttons and Indicators
11
- */
12
- export declare class MicroButtonComponent extends NasComponentBase {
13
- /**
14
- * @property Input
15
- * @description
16
- * Sets the icon on the input
17
- */
18
- icon: string;
19
- /**
20
- * @property Input
21
- * @description
22
- * Sets the type of icon on the input
23
- */
24
- iconType: string;
25
- /**
26
- * @property Input
27
- * @description
28
- * String to support href.
29
- * Can be combined with all other properties.
30
- *
31
- * @example
32
- * <nas-micro-button [href]="http://www.norwegian.com">Click on me!</nas-micro-button>
33
- */
34
- href?: string;
35
- /**
36
- * @property Input
37
- * @description
38
- * The target attribute specifies where to open the link.
39
- * @example
40
- * <nas-button link href="https://www.norwegian.com" target="_blank">Click on me!</nas-button>
41
- */
42
- target: string;
43
- /**
44
- * @property Input
45
- * @description
46
- * Boolean to set primary style of button (blue).
47
- *
48
- * @example
49
- * <nas-micro-button primary>Click on me!</nas-micro-button>
50
- */
51
- primary?: boolean;
52
- /**
53
- * @property Input
54
- * @description
55
- * Boolean to set secondary style of button (transparent with border).
56
- * Primary is default style.
57
- *
58
- * @example
59
- * <nas-micro-button secondary>Click on me!</nas-micro-button>
60
- */
61
- secondary?: boolean;
62
- /**
63
- * @property Input
64
- * @description
65
- * Boolean to set white style of button (white).
66
- * Primary is default style.
67
- *
68
- * @example
69
- * <nas-micro-button secondary>Click on me!</nas-micro-button>
70
- */
71
- white?: boolean;
72
- /**
73
- * @property Input
74
- * @description
75
- * Boolean to set disabled state of button (white).
76
- * Primary is default style.
77
- */
78
- disabled?: boolean;
79
- /**
80
- * @property Input
81
- * @description
82
- * To set the icon on the right side of the button
83
- */
84
- iconLeft?: boolean;
85
- /**
86
- * @property Input
87
- * @description
88
- * String to be tracked by e.x. GTM og GA.
89
- * Can be combined with all other properties.
90
- *
91
- * @example
92
- * <nas-button [trackingValue]="trackingValue">Click on me!</nas-button>
93
- */
94
- trackingvalue?: string;
95
- /**
96
- * @property Input
97
- * @description
98
- * String to set aria label on button.
99
- *
100
- * @example
101
- * <nas-button [ariaLabel]="'this is my aria label'">Click on me!</nas-button>
102
- */
103
- ariaLabel?: string;
104
- /**
105
- * @property Input
106
- * @description
107
- * Number to set custom tab index on button.
108
- *
109
- * @example
110
- * <nas-button [tabIndex]="10">Click on me!</nas-button>
111
- */
112
- tabindex: number;
113
- /**
114
- * @property Input
115
- * @description
116
- * String to set button type. Default value is "button".
117
- *
118
- * @example
119
- * <nas-button [type]="'submit'">Click on me!</nas-button>
120
- */
121
- type: string;
122
- /**
123
- * @property Output
124
- * @description
125
- * Change event when clicking on button.
126
- *
127
- * @example
128
- * <nas-button (clickChange)="myFunction()">Click on me!</nas-button>
129
- */
130
- clickChange: EventEmitter<Event>;
131
- constructor();
132
- private trackingEventSource;
133
- trackingEvent$: import("rxjs").Observable<string>;
134
- get modifiers(): Array<string>;
135
- getClasses(element?: string, modifiers?: any): Array<ClassModel>;
136
- emitTrackingAndClickEvent(event: Event): void;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<MicroButtonComponent, never>;
138
- static ɵcmp: i0.ɵɵComponentDeclaration<MicroButtonComponent, "nas-micro-button", never, { "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "primary": { "alias": "primary"; "required": false; }; "secondary": { "alias": "secondary"; "required": false; }; "white": { "alias": "white"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "trackingvalue": { "alias": "trackingvalue"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "clickChange": "clickChange"; }, never, ["*"], false, never>;
139
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./micro-button.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../core/directives/nas-class/nas-class.module";
5
- import * as i4 from "../icon/icon.module";
6
- export declare class MicroButtonModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MicroButtonModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<MicroButtonModule, [typeof i1.MicroButtonComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.IconModule], [typeof i1.MicroButtonComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<MicroButtonModule>;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './modal.component';
2
- export * from './modal.module';