@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,100 +0,0 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { NasComponentBase } from '../../../core/base/nas-component.base';
4
- import { GeolocationService } from '../../../core/services/geolocation/geolocation.service';
5
- import { AirportModel } from '../models/airport.model';
6
- import { ResultsLabelsModel } from '../models/results-labels.model';
7
- import { AirportSelectDropdownService } from '../services/airport-select-dropdown.service';
8
- import { AirportSelectService } from '../services/airport-select.service';
9
- import { GeolocationState } from '../../../core/services/geolocation/geolocation-state.enum';
10
- import * as i0 from "@angular/core";
11
- export declare class AirportSelectDropdownComponent extends NasComponentBase implements OnInit {
12
- private document;
13
- private selectService;
14
- private airportSelectDropdownService;
15
- private geolocationService;
16
- airportValue: AirportModel;
17
- airportsValue: Array<AirportModel>;
18
- focusedAirportIndex: number;
19
- focusedLatestSearchesIndex: number;
20
- focusedClosestAirportIndex: number;
21
- focusedClosestAirportCode: string;
22
- focusedAirportCode: string;
23
- focusedLatestSearchesAirportCode: string;
24
- filteredAirports: Array<AirportModel>;
25
- displayAllAirportsLabel: boolean;
26
- openValue: boolean;
27
- focusOnGeolocation: boolean;
28
- geolocationState: GeolocationState;
29
- input: ElementRef;
30
- results: ElementRef;
31
- id: string;
32
- displayLatestSearches?: boolean;
33
- displayClosestAirports?: boolean;
34
- latestSearches: Array<AirportModel>;
35
- resultsLabels: ResultsLabelsModel;
36
- airportSelectLabel: string;
37
- airportSelectPlaceholder: string;
38
- airportSelectIconModifier: string;
39
- labelOutside: boolean;
40
- keepSelection: boolean;
41
- nasFormControlName: string;
42
- nasFormGroup: FormGroup;
43
- enableGeolocation?: boolean;
44
- ariaLabelClear: string;
45
- ariaLabelBackdrop: string;
46
- isValid: boolean;
47
- invalidText: string;
48
- noAirportsAvailable: boolean;
49
- get closestAirports(): Array<AirportModel>;
50
- set closestAirports(airports: Array<AirportModel>);
51
- get airport(): AirportModel;
52
- set airport(airport: AirportModel);
53
- get open(): boolean;
54
- set open(value: boolean);
55
- get airports(): Array<AirportModel>;
56
- set airports(airports: Array<AirportModel>);
57
- selected: EventEmitter<AirportModel>;
58
- openChange: EventEmitter<boolean>;
59
- focusOnNext: EventEmitter<KeyboardEvent>;
60
- focusOnPrevious: EventEmitter<any>;
61
- positionChange: EventEmitter<GeolocationPosition>;
62
- clearedSelection: EventEmitter<void>;
63
- get selectedModel(): string;
64
- set selectedModel(model: string);
65
- get resultsId(): string;
66
- get labelId(): string;
67
- get inputId(): string;
68
- get geolocationIcon(): string;
69
- private lastSelectedModel;
70
- private selectedModelValue;
71
- private inputSelectionTimeout;
72
- private closestAirportsValue;
73
- private componentId;
74
- constructor(document: any, selectService: AirportSelectService, airportSelectDropdownService: AirportSelectDropdownService, geolocationService: GeolocationService);
75
- ngOnInit(): void;
76
- getAllAirportsAirportId(airportCode: string): string;
77
- getClosestAirportsAirportId(airportCode: string): string;
78
- getLatestSearchesAirportId(airportCode: string): string;
79
- updateCurrentPosition(): void;
80
- setOpen(): void;
81
- onGeolocationHover(hover: boolean): void;
82
- blur(): void;
83
- filter(): void;
84
- clearSelected(event: Event): void;
85
- focusDown(): void;
86
- focusUp(): void;
87
- setSelected(airport: AirportModel): void;
88
- onKeyDown(event: KeyboardEvent): void;
89
- private resetFilter;
90
- private updateSelected;
91
- private focusDownLatestSearches;
92
- private focusDownClosestAirports;
93
- private focusDownAirports;
94
- private focusUpAirports;
95
- private autoScroll;
96
- private focusUpLatestSearches;
97
- private focusUpClosestAirports;
98
- static ɵfac: i0.ɵɵFactoryDeclaration<AirportSelectDropdownComponent, never>;
99
- static ɵcmp: i0.ɵɵComponentDeclaration<AirportSelectDropdownComponent, "nas-airport-select-dropdown", never, { "id": { "alias": "id"; "required": false; }; "displayLatestSearches": { "alias": "displayLatestSearches"; "required": false; }; "displayClosestAirports": { "alias": "displayClosestAirports"; "required": false; }; "latestSearches": { "alias": "latestSearches"; "required": false; }; "resultsLabels": { "alias": "resultsLabels"; "required": false; }; "airportSelectLabel": { "alias": "airportSelectLabel"; "required": false; }; "airportSelectPlaceholder": { "alias": "airportSelectPlaceholder"; "required": false; }; "airportSelectIconModifier": { "alias": "airportSelectIconModifier"; "required": false; }; "labelOutside": { "alias": "labelOutside"; "required": false; }; "keepSelection": { "alias": "keepSelection"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "enableGeolocation": { "alias": "enableGeolocation"; "required": false; }; "ariaLabelClear": { "alias": "ariaLabelClear"; "required": false; }; "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "invalidText": { "alias": "invalidText"; "required": false; }; "noAirportsAvailable": { "alias": "noAirportsAvailable"; "required": false; }; "closestAirports": { "alias": "closestAirports"; "required": false; }; "airport": { "alias": "airport"; "required": false; }; "open": { "alias": "open"; "required": false; }; "airports": { "alias": "airports"; "required": false; }; }, { "selected": "selected"; "openChange": "openChange"; "focusOnNext": "focusOnNext"; "focusOnPrevious": "focusOnPrevious"; "positionChange": "positionChange"; "clearedSelection": "clearedSelection"; }, never, never, false, never>;
100
- }
@@ -1,330 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { AirportModel } from './models/airport.model';
6
- import { ClassModel } from '../../core/models/class.model';
7
- import { EventEmitter, ElementRef, OnInit, AfterViewInit, ChangeDetectorRef } from '@angular/core';
8
- import { FormGroup } from '@angular/forms';
9
- import { NasComponentBase } from '../../core';
10
- import { ResultsLabelsModel } from './models/results-labels.model';
11
- import { AirportSelectDropdownComponent } from './airport-select-dropdown/airport-select-dropdown.component';
12
- import { DeviceHelper } from '../../core/services/device/device-helper.service';
13
- import * as i0 from "@angular/core";
14
- /**
15
- * @description
16
- * Norwegian Airport Select Component | Functional | New design
17
- */
18
- export declare class AirportSelectComponent extends NasComponentBase implements OnInit, AfterViewInit {
19
- private deviceHelper;
20
- private cdr;
21
- airportsOrigin: Array<AirportModel>;
22
- airportsDestination: AirportModel[];
23
- currentLatestSearchesDestination: Array<AirportModel>;
24
- closestAirportsDestination: Array<AirportModel>;
25
- focusDestination: boolean;
26
- textSelectOriginFirst: string;
27
- focusedLatestSearchesAirportCodeDestination: string;
28
- focusedAirportCodeDestination: string;
29
- focusedLatestSearchesIndexDestination: number;
30
- focusedAirportIndexDestination: number;
31
- switchType: string;
32
- isDestinationValid: boolean;
33
- inlineFlex: boolean;
34
- noDestinationAirportsAvailable: boolean;
35
- resultsLabels: ResultsLabelsModel;
36
- originOpen: boolean;
37
- destinationOpen: boolean;
38
- cleared: boolean;
39
- container: ElementRef;
40
- switchButton: ElementRef;
41
- airportSelectDropdownOrigin: AirportSelectDropdownComponent;
42
- airportSelectDropdownDestination: AirportSelectDropdownComponent;
43
- origin: AirportModel;
44
- destination: AirportModel;
45
- /**
46
- * @property Input
47
- * @description
48
- * The outbound aiport select ID of the native input element
49
- */
50
- outboundId: string;
51
- /**
52
- * @property Input
53
- * @description
54
- * The inbound aiport select ID of the native input element
55
- */
56
- inboundId: string;
57
- /**
58
- * @property Input
59
- * @required
60
- * @description
61
- * All airports that will be populated into the dropdown lists.
62
- */
63
- airports: Array<AirportModel>;
64
- /**
65
- * @property Input
66
- * @description
67
- * A record containing keys with all airport codes with corresponding array of airport codes connected to the key.
68
- */
69
- airportRelations: Record<string, Array<string>>;
70
- /**
71
- * @property Input
72
- * @description
73
- * An array of origin airports that the user has allready search for.
74
- */
75
- latestSearchesOrigin: Array<AirportModel>;
76
- /**
77
- * @property Input
78
- * @description
79
- * An array of destination airports that the user has allready search for.
80
- */
81
- latestSearchesDestination: Array<AirportModel>;
82
- /**
83
- * @property Input
84
- * @description
85
- * An array of airports that are close to the user.
86
- */
87
- closestAirports: Array<AirportModel>;
88
- /**
89
- * @property Input
90
- * @description
91
- * A list of airports that should be displayed in the origin dropdown.
92
- * If not included, all airports will be displayed.
93
- */
94
- allowedOriginAiports: Array<AirportModel>;
95
- /**
96
- * @property Input
97
- * @description
98
- * An array of airports that are restricted for destination airports. It will default to airports if not set.
99
- */
100
- allowedDestinationAirports: Array<AirportModel>;
101
- /**
102
- * @property Input
103
- * @description
104
- * A boolean indicating if airports that the user allready has searh for should be displayed.
105
- */
106
- displayLatestSearches?: boolean;
107
- /**
108
- * @property Input
109
- * @description
110
- * A boolean indicating if airports that are close to the user should be displayed.
111
- */
112
- displayClosestAirports?: boolean;
113
- /**
114
- * @property Input
115
- * @description
116
- * Display both orgin and destination airport selector.
117
- */
118
- combo?: boolean;
119
- /**
120
- * @property Input
121
- * @description
122
- * Display switch UI to interchange origin and destination airport.
123
- */
124
- useSwitch?: boolean;
125
- /**
126
- * @property Input
127
- * @description
128
- * A label that will appear on top of all airports in the drop down list.
129
- */
130
- allAirportsLabel: string;
131
- /**
132
- * @property Input
133
- * @description
134
- * A label that will appear on top of the latest searches in the drop down list.
135
- */
136
- latestSearchesLabel: string;
137
- /**
138
- * @property Input
139
- * @description
140
- * A label that will appear on top of the closest airports in the drop down list.
141
- */
142
- closestAirportsLabel: string;
143
- /**
144
- * @property Input
145
- * @description
146
- * A label that will appear in my location in the drop down list.
147
- */
148
- geolocationLabel: string;
149
- /**
150
- * @property Input
151
- * @description
152
- * A label that will appear in my location, in the drop down list if user has denied geolocation.
153
- */
154
- geolocationBlockedLabel: string;
155
- /**
156
- * @property Input
157
- * @description
158
- * A label that will appear in the destination input field if the
159
- * user tries to select a destination airport without selecting an origin airport.
160
- */
161
- selectOriginFirstLabel: string;
162
- /**
163
- * @property Input
164
- * @description
165
- * A label that appear in the list that there is currently no airports
166
- */
167
- noAirportsLabel: string;
168
- /**
169
- * @property Input
170
- * @description
171
- * A text that appears in the destinations dropdown list when origin airport is not set.
172
- */
173
- invalidDestinationText: string;
174
- /**
175
- * @property Input
176
- * @required
177
- * @description
178
- * A label that will appear on top of the origin airport input field.
179
- */
180
- labelOrigin: string;
181
- /**
182
- * @property Input
183
- * @description
184
- * A placeholder that will appear on the origin airport input field.
185
- */
186
- placeholderOrigin: string;
187
- /**
188
- * @property Input
189
- * @description
190
- * A label that will appear on top of the destination airport input field.
191
- */
192
- labelDestination: string;
193
- /**
194
- * @property Input
195
- * @description
196
- * A placeholder that will appear on the destination airport input field.
197
- */
198
- placeholderDestination: string;
199
- /**
200
- * @property Input
201
- * @description
202
- * Decides if a label should be outside of the container or not.
203
- */
204
- labelOutside: boolean;
205
- /**
206
- * @property Input
207
- * @description
208
- * A modifier that will allow always keeping the selected airport.
209
- * The last selected airport will be shown once user clears the selection and blur.
210
- */
211
- keepSelection: boolean;
212
- /**
213
- * @property Input
214
- * @description
215
- * Sets a formControlName directive to the input.
216
- * It requires that the consumer included ReactiveFormsModule in it's module.
217
- * It requiers that the nasFormGroup input is filled.
218
- */
219
- nasFormControlNameOrigin: string;
220
- /**
221
- * @property Input
222
- * @description
223
- * Sets a formControlName directive to the input.
224
- * It requires that the consumer included ReactiveFormsModule in it's module.
225
- * It requiers that the nasFormGroup input is filled.
226
- */
227
- nasFormControlNameDestination: string;
228
- /**
229
- * @property Input
230
- * @description
231
- * Adds the parent's form group.
232
- * It requires that the consumer included ReactiveFormsModule in it's module.
233
- * It is requiered to be filled if nasFormControlName added.
234
- */
235
- nasFormGroup: FormGroup;
236
- /**
237
- * @property Input
238
- * @description
239
- * The airport code of the origin airport. It will set the selected origin airport based on this value.
240
- */
241
- get originAirportCode(): string;
242
- set originAirportCode(code: string);
243
- /**
244
- * @property Input
245
- * @description
246
- * The airport code of the destination airport. It will set the selected destination airport based on this value.
247
- */
248
- get destinationAirportCode(): string;
249
- set destinationAirportCode(code: string);
250
- /**
251
- * @property Input
252
- * @description
253
- * Adds 'aria-label' on the clear button inside the airport select inputs.
254
- */
255
- ariaLabelClear: string;
256
- /**
257
- * @property Input
258
- * @description
259
- * Adds 'aria-label' to the backdrops.
260
- */
261
- ariaLabelBackdrop: string;
262
- /**
263
- * @property Output
264
- * @description
265
- * An event that is fired every time the selected origin airport changes.
266
- */
267
- originChange: EventEmitter<AirportModel>;
268
- /**
269
- * @property Output
270
- * @description
271
- * An event that is fired every time the origin dropdown selector opens or closes.
272
- */
273
- originOpenChange: EventEmitter<boolean>;
274
- /**
275
- * @property Output
276
- * @description
277
- * An event that is fired every time the origin dropdown selector opens or closes.
278
- */
279
- destinationChange: EventEmitter<AirportModel>;
280
- /**
281
- * @property Output
282
- * @description
283
- * An event that is fired every time the destination dropdown selector opens or closes.
284
- */
285
- destinationOpenChange: EventEmitter<boolean>;
286
- /**
287
- * @property Output
288
- * @description
289
- * An event that is fired when the destination dropdown closes.
290
- */
291
- focusOnNext: EventEmitter<KeyboardEvent>;
292
- /**
293
- * @property Output
294
- * @description
295
- * An event that is fired when geolocation position has changed.
296
- */
297
- positionChange: EventEmitter<GeolocationPosition>;
298
- private originAirportCodeValue;
299
- private destinationAirportCodeValue;
300
- constructor(deviceHelper: DeviceHelper, cdr: ChangeDetectorRef);
301
- onResize(): void;
302
- ngOnInit(): void;
303
- ngAfterViewInit(): void;
304
- getAirportSelectComboClass(element?: string, modifiersInput?: any): ClassModel;
305
- onOriginOpen(open: boolean): void;
306
- onDestinationOpen(open: boolean): void;
307
- onSelectionCleared(): void;
308
- setSelectedOrigin(airport: AirportModel): void;
309
- setSelectedDestination(airport: AirportModel): void;
310
- setFocusOnNext(event: KeyboardEvent): void;
311
- onOriginFocus(): void;
312
- changeSwitchIcon(): void;
313
- swapAirports(): void;
314
- swapKeyDown(event: KeyboardEvent): void;
315
- setDestinationOpen(event: KeyboardEvent): void;
316
- getClosestAirports(position: GeolocationPosition): void;
317
- setInlineFlex(): void;
318
- private getAirportsDestinations;
319
- private setOrigin;
320
- private setDestination;
321
- private updateValidAirportDestinations;
322
- private hasValidDestinations;
323
- private getAirportRelations;
324
- private clearOrigin;
325
- clearDestination(): void;
326
- private clearDestinations;
327
- private setCurrentLatestSearchesDestination;
328
- static ɵfac: i0.ɵɵFactoryDeclaration<AirportSelectComponent, never>;
329
- static ɵcmp: i0.ɵɵComponentDeclaration<AirportSelectComponent, "nas-airport-select", never, { "outboundId": { "alias": "outboundId"; "required": false; }; "inboundId": { "alias": "inboundId"; "required": false; }; "airports": { "alias": "airports"; "required": false; }; "airportRelations": { "alias": "airportRelations"; "required": false; }; "latestSearchesOrigin": { "alias": "latestSearchesOrigin"; "required": false; }; "latestSearchesDestination": { "alias": "latestSearchesDestination"; "required": false; }; "closestAirports": { "alias": "closestAirports"; "required": false; }; "allowedOriginAiports": { "alias": "allowedOriginAiports"; "required": false; }; "allowedDestinationAirports": { "alias": "allowedDestinationAirports"; "required": false; }; "displayLatestSearches": { "alias": "displayLatestSearches"; "required": false; }; "displayClosestAirports": { "alias": "displayClosestAirports"; "required": false; }; "combo": { "alias": "combo"; "required": false; }; "useSwitch": { "alias": "useSwitch"; "required": false; }; "allAirportsLabel": { "alias": "allAirportsLabel"; "required": false; }; "latestSearchesLabel": { "alias": "latestSearchesLabel"; "required": false; }; "closestAirportsLabel": { "alias": "closestAirportsLabel"; "required": false; }; "geolocationLabel": { "alias": "geolocationLabel"; "required": false; }; "geolocationBlockedLabel": { "alias": "geolocationBlockedLabel"; "required": false; }; "selectOriginFirstLabel": { "alias": "selectOriginFirstLabel"; "required": false; }; "noAirportsLabel": { "alias": "noAirportsLabel"; "required": false; }; "invalidDestinationText": { "alias": "invalidDestinationText"; "required": false; }; "labelOrigin": { "alias": "labelOrigin"; "required": false; }; "placeholderOrigin": { "alias": "placeholderOrigin"; "required": false; }; "labelDestination": { "alias": "labelDestination"; "required": false; }; "placeholderDestination": { "alias": "placeholderDestination"; "required": false; }; "labelOutside": { "alias": "labelOutside"; "required": false; }; "keepSelection": { "alias": "keepSelection"; "required": false; }; "nasFormControlNameOrigin": { "alias": "nasFormControlNameOrigin"; "required": false; }; "nasFormControlNameDestination": { "alias": "nasFormControlNameDestination"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "originAirportCode": { "alias": "originAirportCode"; "required": false; }; "destinationAirportCode": { "alias": "destinationAirportCode"; "required": false; }; "ariaLabelClear": { "alias": "ariaLabelClear"; "required": false; }; "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; }, { "originChange": "originChange"; "originOpenChange": "originOpenChange"; "destinationChange": "destinationChange"; "destinationOpenChange": "destinationOpenChange"; "focusOnNext": "focusOnNext"; "positionChange": "positionChange"; }, never, never, false, never>;
330
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./airport-select.component";
3
- import * as i2 from "./airport-select-dropdown/airport-select-dropdown.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "../../core/directives/nas-class/nas-class.module";
7
- import * as i6 from "../icon/icon.module";
8
- import * as i7 from "../button/button.module";
9
- export declare class AirportSelectModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AirportSelectModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AirportSelectModule, [typeof i1.AirportSelectComponent, typeof i2.AirportSelectDropdownComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.NasClassModule, typeof i6.IconModule, typeof i4.ReactiveFormsModule, typeof i7.ButtonModule], [typeof i1.AirportSelectComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<AirportSelectModule>;
13
- }
@@ -1,6 +0,0 @@
1
- export * from './airport-select.component';
2
- export * from './airport-select.module';
3
- export * from './models/airport.model';
4
- export * from './models/airport-select-event.model';
5
- export * from './models/airport-select-state.model';
6
- export * from './models/results-labels.model';
@@ -1,4 +0,0 @@
1
- export interface AirportSelectEventModel {
2
- isDestination: boolean;
3
- isOpen: boolean;
4
- }
@@ -1,5 +0,0 @@
1
- import { AirportModel } from './airport.model';
2
- export interface AirportSelectStateModel {
3
- origin: AirportModel;
4
- destination: AirportModel;
5
- }
@@ -1,11 +0,0 @@
1
- export interface AirportModel {
2
- name: string;
3
- displayName: string;
4
- normalizedAirportName: string;
5
- code: string;
6
- countryName: string;
7
- airportName: string;
8
- countryCode?: string;
9
- norwegianHolidayAreaId?: string;
10
- norwegianHolidayAreaType?: string;
11
- }
@@ -1,8 +0,0 @@
1
- export declare class ResultsLabelsModel {
2
- allAirports: string;
3
- latestSearches: string;
4
- closestAirports: string;
5
- geolocation: string;
6
- geolocationDenied: string;
7
- noAirports: string;
8
- }
@@ -1,10 +0,0 @@
1
- import { AirportModel } from '../models/airport.model';
2
- import * as i0 from "@angular/core";
3
- export declare class AirportSelectDropdownService {
4
- constructor();
5
- hasLatestSearches(displayLatestSearches: boolean, latestSearches: Array<AirportModel>): boolean;
6
- hasClosestAirports(displayClosestAirports: boolean, closestAirports: Array<AirportModel>): boolean;
7
- isIndexInClosestAirports(focusedClosestAirportIndex: number, closestAirports: Array<AirportModel>): boolean;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AirportSelectDropdownService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<AirportSelectDropdownService>;
10
- }
@@ -1,8 +0,0 @@
1
- import { AirportModel } from '../models/airport.model';
2
- import * as i0 from "@angular/core";
3
- export declare class AirportSelectService {
4
- constructor();
5
- filter(airports: AirportModel[], name: string): AirportModel[];
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AirportSelectService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AirportSelectService>;
8
- }
@@ -1,129 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
- */
5
- import { ElementRef, EventEmitter } from '@angular/core';
6
- import { NasComponentBase } from '../../core';
7
- import { ClassModel } from '../../core/models/class.model';
8
- import { AlertModel } from './models/alert.model';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @description
12
- * Norwegian alert Component | Dialogs and Modals
13
- */
14
- export declare class AlertComponent extends NasComponentBase {
15
- private alertModel;
16
- showChange: EventEmitter<boolean>;
17
- alertContainer: ElementRef;
18
- timestamp: Date;
19
- showValue: boolean;
20
- /**
21
- * @property Input
22
- * @description
23
- *String to give the alert title
24
- */
25
- title: string;
26
- /**
27
- * @property Input
28
- * @description
29
- * Boolean to give the alert info.
30
- */
31
- info: boolean;
32
- /**
33
- * @property Input
34
- * @description
35
- * Boolean to give the alert a warning.
36
- */
37
- warning: boolean;
38
- /**
39
- * @property Input
40
- * @description
41
- * Boolean to give the alert an error.
42
- */
43
- error: boolean;
44
- /**
45
- * @property Input
46
- * @description
47
- * Boolean to give the alert a success.
48
- */
49
- success: boolean;
50
- /**
51
- * @property Input
52
- * @description
53
- * Boolean to give the alert as neutral.
54
- */
55
- neutral: boolean;
56
- /**
57
- * @property Input
58
- * @description
59
- * Sets text on the alert. If set to false the alert will not display any text.
60
- */
61
- text: string;
62
- /**
63
- * @property Input
64
- * @description
65
- * Sets the stack trace label
66
- */
67
- stackTraceLabel: string;
68
- /**
69
- * @property Input
70
- * @description
71
- * Flag for showing/hiding element. Defaults to true.
72
- */
73
- get show(): boolean;
74
- set show(value: boolean);
75
- /**
76
- * @property Input
77
- * @description
78
- * Boolean to give opportunity to close the alert box
79
- */
80
- removable: boolean;
81
- /**
82
- * @property Input
83
- * @description
84
- * Boolean to give opportunity to remove the icon
85
- */
86
- removeIcon?: boolean;
87
- /**
88
- * @property Input
89
- * @description
90
- * Get or sets boolean value indicating whether text should be trusted as HTML. Defaults to false
91
- */
92
- trustTextHtml: boolean;
93
- /**
94
- * @property Input
95
- * @description
96
- * Flag for allowing autoscroll to top when showing. Default false.
97
- */
98
- allowAutoScroll: boolean;
99
- /**
100
- * @property Input
101
- * @description
102
- * Sets the server string value
103
- */
104
- server: string;
105
- /**
106
- * @property Input
107
- * @description
108
- * Sets the correlation string value
109
- */
110
- correlation: string;
111
- /**
112
- * @property Input
113
- * @description
114
- * A model that contains an optional title and an array of messages.
115
- * @example
116
- * <nas-alert [alert]="alert"></nas-alert>
117
- */
118
- get alert(): AlertModel;
119
- set alert(alert: AlertModel);
120
- constructor();
121
- getClasses(element?: string, modifiers?: Array<string>): Array<ClassModel>;
122
- get modifiers(): Array<string>;
123
- getIcon(): string;
124
- removeAlertBox(): void;
125
- private scrollToAlert;
126
- private setAlertValues;
127
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
128
- static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "nas-alert", never, { "timestamp": { "alias": "timestamp"; "required": false; }; "title": { "alias": "title"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "error": { "alias": "error"; "required": false; }; "success": { "alias": "success"; "required": false; }; "neutral": { "alias": "neutral"; "required": false; }; "text": { "alias": "text"; "required": false; }; "stackTraceLabel": { "alias": "stackTraceLabel"; "required": false; }; "show": { "alias": "show"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "removeIcon": { "alias": "removeIcon"; "required": false; }; "trustTextHtml": { "alias": "trustTextHtml"; "required": false; }; "allowAutoScroll": { "alias": "allowAutoScroll"; "required": false; }; "server": { "alias": "server"; "required": false; }; "correlation": { "alias": "correlation"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
129
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./alert.component";
3
- import * as i2 from "../icon/icon.module";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../../core/directives/nas-class/nas-class.module";
6
- import * as i5 from "../button/button.module";
7
- import * as i6 from "../accordion/accordion.module";
8
- export declare class AlertModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<AlertModule, [typeof i1.AlertComponent], [typeof i2.IconModule, typeof i3.CommonModule, typeof i4.NasClassModule, typeof i5.ButtonModule, typeof i6.AccordionModule], [typeof i1.AlertComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<AlertModule>;
12
- }
@@ -1,3 +0,0 @@
1
- export * from './alert.component';
2
- export * from './alert.module';
3
- export * from './models/alert.model';
@@ -1,10 +0,0 @@
1
- import { LinkModel } from '../../../core';
2
- export interface AlertModel {
3
- title?: string;
4
- messages?: Array<string>;
5
- timestamp?: Date;
6
- stackTrace?: string;
7
- server?: string;
8
- correlation?: string;
9
- link?: LinkModel;
10
- }