@norwegian/core-components 6.60.0 → 7.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.
- package/assets/fonts/NorwegianDisplay-Bold.ttf +0 -0
- package/assets/fonts/NorwegianDisplay-Regular.ttf +0 -0
- package/assets/fonts/NorwegianDisplayPro-Bold.otf +0 -0
- package/assets/fonts/NorwegianDisplayPro-Bold.woff +0 -0
- package/assets/fonts/NorwegianDisplayPro-Bold.woff2 +0 -0
- package/assets/fonts/NorwegianDisplayPro-Regular.otf +0 -0
- package/assets/fonts/NorwegianDisplayPro-Regular.woff +0 -0
- package/assets/fonts/NorwegianDisplayPro-Regular.woff2 +0 -0
- package/assets/fonts/NorwegianText-Bold.ttf +0 -0
- package/assets/fonts/NorwegianText-BoldItalic.ttf +0 -0
- package/assets/fonts/NorwegianText-Regular.ttf +0 -0
- package/assets/fonts/NorwegianText-RegularItalic.ttf +0 -0
- package/assets/fonts/NorwegianTextPro-Bold.otf +0 -0
- package/assets/fonts/NorwegianTextPro-Bold.woff +0 -0
- package/assets/fonts/NorwegianTextPro-Bold.woff2 +0 -0
- package/assets/fonts/NorwegianTextPro-BoldItalic.otf +0 -0
- package/assets/fonts/NorwegianTextPro-BoldItalic.woff +0 -0
- package/assets/fonts/NorwegianTextPro-BoldItalic.woff2 +0 -0
- package/assets/fonts/NorwegianTextPro-Regular.otf +0 -0
- package/assets/fonts/NorwegianTextPro-Regular.woff +0 -0
- package/assets/fonts/NorwegianTextPro-Regular.woff2 +0 -0
- package/assets/fonts/NorwegianTextPro-RegularItalic.otf +0 -0
- package/assets/fonts/NorwegianTextPro-RegularItalic.woff +0 -0
- package/assets/fonts/NorwegianTextPro-RegularItalic.woff2 +0 -0
- package/esm2022/lib/components/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +10 -7
- package/esm2022/lib/components/airport-select/airport-select.component.mjs +45 -12
- package/esm2022/lib/components/airport-select/airport-select.module.mjs +4 -4
- package/esm2022/lib/components/airport-select/index.mjs +1 -2
- package/esm2022/lib/components/airport-select/models/results-labels.model.mjs +1 -1
- package/esm2022/lib/components/airport-select/services/airport-select-dropdown.service.mjs +2 -2
- package/esm2022/lib/components/airport-select/services/airport-select.service.mjs +3 -3
- package/esm2022/lib/components/alert/alert.component.mjs +5 -5
- package/esm2022/lib/components/alert/alert.module.mjs +4 -4
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +25 -5
- package/esm2022/lib/components/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/lib/components/autocomplete/index.mjs +1 -2
- package/esm2022/lib/components/box/box.component.mjs +2 -2
- package/esm2022/lib/components/button/button.component.mjs +16 -11
- package/esm2022/lib/components/button/button.module.mjs +1 -1
- package/esm2022/lib/components/campaign-header/campaign-header.component.mjs +2 -2
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +4 -4
- package/esm2022/lib/components/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/lib/components/continue/continue.component.mjs +2 -2
- package/esm2022/lib/components/continue/continue.module.mjs +1 -1
- package/esm2022/lib/components/cover/cover.component.mjs +2 -2
- package/esm2022/lib/components/cover/cover.module.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +29 -5
- package/esm2022/lib/components/datepicker/calendar/models/day.model.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/models/select-option.model.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/models/week.model.mjs +1 -1
- package/esm2022/lib/components/datepicker/datepicker.component.mjs +25 -11
- package/esm2022/lib/components/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/lib/components/datepicker/index.mjs +2 -1
- package/esm2022/lib/components/datepicker/services/calendar.service.mjs +7 -5
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +38 -11
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.module.mjs +14 -6
- package/esm2022/lib/components/divider/divider.component.mjs +4 -4
- package/esm2022/lib/components/divider/divider.module.mjs +6 -6
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/lib/components/filter/filter.component.mjs +139 -72
- package/esm2022/lib/components/filter/filter.module.mjs +23 -11
- package/esm2022/lib/components/filter/index.mjs +2 -1
- package/esm2022/lib/components/icon-list/icon-list.component.mjs +2 -2
- package/esm2022/lib/components/index.mjs +13 -15
- package/esm2022/lib/components/info/info.component.mjs +2 -2
- package/esm2022/lib/components/input/input.component.mjs +61 -14
- package/esm2022/lib/components/input/input.module.mjs +2 -2
- package/esm2022/lib/components/journey/journey.component.mjs +2 -2
- package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +2 -2
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +2 -2
- package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +2 -2
- package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +2 -2
- package/esm2022/lib/components/list/list.component.mjs +3 -3
- package/esm2022/lib/components/micro-button/micro-button.component.mjs +2 -2
- package/esm2022/lib/components/modal/modal.component.mjs +2 -2
- package/esm2022/lib/components/number-field/number-field.component.mjs +11 -4
- package/esm2022/lib/components/number-field/number-field.module.mjs +1 -1
- package/esm2022/lib/components/page-footer/page-footer.component.mjs +2 -2
- package/esm2022/lib/components/page-header/page-header.component.mjs +2 -2
- package/esm2022/lib/components/page-header/page-header.module.mjs +2 -6
- package/esm2022/lib/components/page-header/search/search.component.mjs +2 -2
- package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +9 -6
- package/esm2022/lib/components/passenger-select/index.mjs +3 -1
- package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +1 -1
- package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +5 -5
- package/esm2022/lib/components/passenger-select/passenger-select.module.mjs +14 -6
- package/esm2022/lib/components/phone-number/phone-number.component.mjs +2 -2
- package/esm2022/lib/components/radio/radio.component.mjs +4 -4
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +2 -2
- package/esm2022/lib/components/select/select.component.mjs +2 -2
- package/esm2022/lib/components/simple-list/simple-list.component.mjs +2 -2
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +14 -14
- package/esm2022/lib/components/slide-toggle/slide-toggle.module.mjs +1 -1
- package/esm2022/lib/components/slider/slider.component.mjs +4 -4
- package/esm2022/lib/components/sort/sort.component.mjs +2 -2
- package/esm2022/lib/components/sort/sort.module.mjs +1 -1
- package/esm2022/lib/components/spinner/spinner.component.mjs +2 -2
- package/esm2022/lib/components/status-box/status-box.component.mjs +5 -6
- package/esm2022/lib/components/status-box/status-box.module.mjs +5 -5
- package/esm2022/lib/components/subsidy-discount/subsidy-discount.component.mjs +2 -2
- package/esm2022/lib/components/suggestions/suggestions.component.mjs +3 -3
- package/esm2022/lib/components/tab-group/tab/tab.component.mjs +2 -2
- package/esm2022/lib/components/table/table.component.mjs +2 -2
- package/esm2022/lib/components/tag/tag.component.mjs +2 -2
- package/esm2022/lib/components/textarea/textarea.component.mjs +2 -2
- package/esm2022/lib/components/toggle/toggle.component.mjs +2 -2
- package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +2 -2
- package/esm2022/lib/core/directives/nas-class/nas-class.module.mjs +1 -1
- package/fesm2022/norwegian-core-components.mjs +4605 -10823
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +3 -2
- package/lib/components/airport-select/airport-select.component.d.ts +22 -6
- package/lib/components/airport-select/index.d.ts +0 -1
- package/lib/components/alert/alert.module.d.ts +4 -4
- package/lib/components/autocomplete/autocomplete.component.d.ts +8 -4
- package/lib/components/autocomplete/index.d.ts +0 -1
- package/lib/components/button/button.component.d.ts +35 -26
- package/lib/components/checkbox/checkbox.component.d.ts +1 -1
- package/lib/components/datepicker/calendar/calendar.component.d.ts +11 -1
- package/lib/components/datepicker/calendar/models/day.model.d.ts +1 -0
- package/lib/components/datepicker/datepicker.component.d.ts +20 -2
- package/lib/components/datepicker/index.d.ts +1 -0
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +26 -3
- package/lib/components/divider/divider.module.d.ts +3 -3
- package/lib/components/filter/filter.component.d.ts +80 -24
- package/lib/components/filter/filter.module.d.ts +10 -7
- package/lib/components/filter/index.d.ts +1 -0
- package/lib/components/index.d.ts +12 -14
- package/lib/components/input/input.component.d.ts +21 -17
- package/lib/components/list/list.component.d.ts +1 -1
- package/lib/components/number-field/number-field.component.d.ts +10 -2
- package/lib/components/page-header/page-header.module.d.ts +2 -3
- package/lib/components/page-header/wallet/wallet.component.d.ts +1 -0
- package/lib/components/passenger-select/index.d.ts +2 -0
- package/lib/components/passenger-select/models/passengers.model.d.ts +1 -0
- package/lib/components/passenger-select/passenger-select.component.d.ts +2 -2
- package/lib/components/radio/radio.component.d.ts +1 -1
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +9 -9
- package/lib/components/slider/slider.component.d.ts +3 -3
- package/lib/components/status-box/status-box.component.d.ts +3 -3
- package/lib/components/status-box/status-box.module.d.ts +2 -2
- package/package.json +1 -1
- package/styles/1__settings/_colors.scss +107 -53
- package/styles/1__settings/_mixins.scss +78 -30
- package/styles/1__settings/_type.scss +17 -43
- package/styles/2__generic/_fonts.scss +16 -28
- package/styles/3__base/_body.scss +3 -3
- package/styles/3__base/_heading.scss +28 -20
- package/styles/3__base/_hr.scss +4 -4
- package/styles/3__base/_input.scss +3 -3
- package/styles/3__base/_link.scss +17 -17
- package/styles/3__base/_table.scss +9 -5
- package/styles/3__base/_type.scss +4 -4
- package/assets/documentation/autocomplete-new/autocomplete-new.md +0 -1
- package/assets/documentation/datepicker/calendar/calendar.md +0 -3
- package/assets/documentation/filter-new/filter-new.md +0 -0
- package/assets/documentation/number-field-new/number-field-new.md +0 -1
- package/assets/documentation/page-header-old/page-header-old.md +0 -1
- package/assets/documentation/weather-icon/weather-icon.md +0 -1
- package/assets/fonts/apercu_bold_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.svg +0 -12420
- package/assets/fonts/apercu_bold_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_bold_italic_pro.otf +0 -0
- package/assets/fonts/apercu_bold_pro-web.eot +0 -0
- package/assets/fonts/apercu_bold_pro-web.svg +0 -10193
- package/assets/fonts/apercu_bold_pro-web.ttf +0 -0
- package/assets/fonts/apercu_bold_pro-web.woff +0 -0
- package/assets/fonts/apercu_bold_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_bold_pro.otf +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.svg +0 -12831
- package/assets/fonts/apercu_light_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_light_pro-web.eot +0 -0
- package/assets/fonts/apercu_light_pro-web.svg +0 -9704
- package/assets/fonts/apercu_light_pro-web.ttf +0 -0
- package/assets/fonts/apercu_light_pro-web.woff +0 -0
- package/assets/fonts/apercu_light_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.svg +0 -12354
- package/assets/fonts/apercu_medium_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_medium_italic_pro.otf +0 -0
- package/assets/fonts/apercu_medium_pro-web.eot +0 -0
- package/assets/fonts/apercu_medium_pro-web.svg +0 -12254
- package/assets/fonts/apercu_medium_pro-web.ttf +0 -0
- package/assets/fonts/apercu_medium_pro-web.woff +0 -0
- package/assets/fonts/apercu_medium_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_medium_pro.otf +0 -0
- package/assets/fonts/apercu_mono_pro-web.eot +0 -0
- package/assets/fonts/apercu_mono_pro-web.svg +0 -538
- package/assets/fonts/apercu_mono_pro-web.ttf +0 -0
- package/assets/fonts/apercu_mono_pro-web.woff +0 -0
- package/assets/fonts/apercu_mono_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.svg +0 -13059
- package/assets/fonts/apercu_regular_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_regular_italic_pro.otf +0 -0
- package/assets/fonts/apercu_regular_pro-web.eot +0 -0
- package/assets/fonts/apercu_regular_pro-web.svg +0 -11356
- package/assets/fonts/apercu_regular_pro-web.ttf +0 -0
- package/assets/fonts/apercu_regular_pro-web.woff +0 -0
- package/assets/fonts/apercu_regular_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_regular_pro.otf +0 -0
- package/esm2022/lib/components/airport-select-new/airport-select-dropdown/airport-select-dropdown.component.mjs +0 -611
- package/esm2022/lib/components/airport-select-new/airport-select-new.component.mjs +0 -477
- package/esm2022/lib/components/airport-select-new/airport-select-new.module.mjs +0 -42
- package/esm2022/lib/components/airport-select-new/index.mjs +0 -4
- package/esm2022/lib/components/airport-select-new/models/airport.model.mjs +0 -2
- package/esm2022/lib/components/airport-select-new/models/results-labels.model.mjs +0 -3
- package/esm2022/lib/components/airport-select-new/services/airport-select-dropdown.service.mjs +0 -35
- package/esm2022/lib/components/airport-select-new/services/airport-select.service.mjs +0 -38
- package/esm2022/lib/components/autocomplete-new/autocomplete-new.component.mjs +0 -309
- package/esm2022/lib/components/autocomplete-new/autocomplete-new.module.mjs +0 -43
- package/esm2022/lib/components/autocomplete-new/index.mjs +0 -3
- package/esm2022/lib/components/autocomplete-new/models/autocomplete-new.model.mjs +0 -2
- package/esm2022/lib/components/button-new/button-new.component.mjs +0 -176
- package/esm2022/lib/components/button-new/button-new.module.mjs +0 -21
- package/esm2022/lib/components/button-new/index.mjs +0 -3
- package/esm2022/lib/components/checkbox-new/checkbox-new.component.mjs +0 -150
- package/esm2022/lib/components/checkbox-new/checkbox-new.module.mjs +0 -20
- package/esm2022/lib/components/checkbox-new/index.mjs +0 -3
- package/esm2022/lib/components/datepicker-combo-new/datepicker-combo-new.component.mjs +0 -397
- package/esm2022/lib/components/datepicker-combo-new/datepicker-combo-new.module.mjs +0 -31
- package/esm2022/lib/components/datepicker-combo-new/index.mjs +0 -3
- package/esm2022/lib/components/datepicker-new/calendar-new/calendar-date.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/calendar-new/calendar-new.component.mjs +0 -594
- package/esm2022/lib/components/datepicker-new/calendar-new/enums/week-start.enum.mjs +0 -6
- package/esm2022/lib/components/datepicker-new/calendar-new/models/day.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/calendar-new/models/select-option.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/calendar-new/models/week.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/datepicker-new.component.mjs +0 -572
- package/esm2022/lib/components/datepicker-new/datepicker-new.module.mjs +0 -55
- package/esm2022/lib/components/datepicker-new/index.mjs +0 -5
- package/esm2022/lib/components/datepicker-new/services/calendar.service.mjs +0 -215
- package/esm2022/lib/components/filter-new/enums/trip-type.enum.mjs +0 -8
- package/esm2022/lib/components/filter-new/filter-new.component.mjs +0 -1349
- package/esm2022/lib/components/filter-new/filter-new.module.mjs +0 -105
- package/esm2022/lib/components/filter-new/index.mjs +0 -4
- package/esm2022/lib/components/input-text/index.mjs +0 -3
- package/esm2022/lib/components/input-text/input-text.component.mjs +0 -231
- package/esm2022/lib/components/input-text/input-text.module.mjs +0 -35
- package/esm2022/lib/components/number-field-new/index.mjs +0 -3
- package/esm2022/lib/components/number-field-new/models/number-field-new.model.mjs +0 -2
- package/esm2022/lib/components/number-field-new/number-field-new.component.mjs +0 -155
- package/esm2022/lib/components/number-field-new/number-field-new.module.mjs +0 -39
- package/esm2022/lib/components/page-header-old/index.mjs +0 -5
- package/esm2022/lib/components/page-header-old/old-hamburger/old-hamburger.component.mjs +0 -22
- package/esm2022/lib/components/page-header-old/old-search/old-search.component.mjs +0 -49
- package/esm2022/lib/components/page-header-old/page-header-old.component.mjs +0 -160
- package/esm2022/lib/components/page-header-old/page-header-old.module.mjs +0 -44
- package/esm2022/lib/components/passenger-select-new/enums/passenger-type.enum.mjs +0 -9
- package/esm2022/lib/components/passenger-select-new/index.mjs +0 -5
- package/esm2022/lib/components/passenger-select-new/models/passengers.model.mjs +0 -2
- package/esm2022/lib/components/passenger-select-new/passenger-select-new.component.mjs +0 -423
- package/esm2022/lib/components/passenger-select-new/passenger-select-new.module.mjs +0 -28
- package/esm2022/lib/components/radio-new/index.mjs +0 -3
- package/esm2022/lib/components/radio-new/radio-new.component.mjs +0 -100
- package/esm2022/lib/components/radio-new/radio-new.module.mjs +0 -20
- package/esm2022/lib/components/slide-toggle-new/index.mjs +0 -3
- package/esm2022/lib/components/slide-toggle-new/slide-toggle-new.component.mjs +0 -115
- package/esm2022/lib/components/slide-toggle-new/slide-toggle-new.module.mjs +0 -20
- package/esm2022/lib/components/weather-icon/index.mjs +0 -3
- package/esm2022/lib/components/weather-icon/weather-icon.component.mjs +0 -61
- package/esm2022/lib/components/weather-icon/weather-icon.module.mjs +0 -19
- package/lib/components/airport-select-new/airport-select-dropdown/airport-select-dropdown.component.d.ts +0 -97
- package/lib/components/airport-select-new/airport-select-new.component.d.ts +0 -302
- package/lib/components/airport-select-new/airport-select-new.module.d.ts +0 -13
- package/lib/components/airport-select-new/index.d.ts +0 -2
- package/lib/components/airport-select-new/models/airport.model.d.ts +0 -11
- package/lib/components/airport-select-new/models/results-labels.model.d.ts +0 -7
- package/lib/components/airport-select-new/services/airport-select-dropdown.service.d.ts +0 -10
- package/lib/components/airport-select-new/services/airport-select.service.d.ts +0 -8
- package/lib/components/autocomplete-new/autocomplete-new.component.d.ts +0 -135
- package/lib/components/autocomplete-new/autocomplete-new.module.d.ts +0 -13
- package/lib/components/autocomplete-new/index.d.ts +0 -2
- package/lib/components/autocomplete-new/models/autocomplete-new.model.d.ts +0 -5
- package/lib/components/button-new/button-new.component.d.ts +0 -276
- package/lib/components/button-new/button-new.module.d.ts +0 -11
- package/lib/components/button-new/index.d.ts +0 -2
- package/lib/components/checkbox-new/checkbox-new.component.d.ts +0 -138
- package/lib/components/checkbox-new/checkbox-new.module.d.ts +0 -10
- package/lib/components/checkbox-new/index.d.ts +0 -2
- package/lib/components/datepicker-combo-new/datepicker-combo-new.component.d.ts +0 -309
- package/lib/components/datepicker-combo-new/datepicker-combo-new.module.d.ts +0 -10
- package/lib/components/datepicker-combo-new/index.d.ts +0 -2
- package/lib/components/datepicker-new/calendar-new/calendar-date.model.d.ts +0 -5
- package/lib/components/datepicker-new/calendar-new/calendar-new.component.d.ts +0 -159
- package/lib/components/datepicker-new/calendar-new/enums/week-start.enum.d.ts +0 -4
- package/lib/components/datepicker-new/calendar-new/models/day.model.d.ts +0 -10
- package/lib/components/datepicker-new/calendar-new/models/select-option.model.d.ts +0 -4
- package/lib/components/datepicker-new/calendar-new/models/week.model.d.ts +0 -5
- package/lib/components/datepicker-new/datepicker-new.component.d.ts +0 -278
- package/lib/components/datepicker-new/datepicker-new.module.d.ts +0 -16
- package/lib/components/datepicker-new/index.d.ts +0 -4
- package/lib/components/datepicker-new/services/calendar.service.d.ts +0 -27
- package/lib/components/filter-new/enums/trip-type.enum.d.ts +0 -6
- package/lib/components/filter-new/filter-new.component.d.ts +0 -838
- package/lib/components/filter-new/filter-new.module.d.ts +0 -28
- package/lib/components/filter-new/index.d.ts +0 -3
- package/lib/components/input-text/index.d.ts +0 -2
- package/lib/components/input-text/input-text.component.d.ts +0 -203
- package/lib/components/input-text/input-text.module.d.ts +0 -11
- package/lib/components/number-field-new/index.d.ts +0 -2
- package/lib/components/number-field-new/models/number-field-new.model.d.ts +0 -5
- package/lib/components/number-field-new/number-field-new.component.d.ts +0 -116
- package/lib/components/number-field-new/number-field-new.module.d.ts +0 -12
- package/lib/components/page-header-old/index.d.ts +0 -4
- package/lib/components/page-header-old/old-hamburger/old-hamburger.component.d.ts +0 -12
- package/lib/components/page-header-old/old-search/old-search.component.d.ts +0 -26
- package/lib/components/page-header-old/page-header-old.component.d.ts +0 -112
- package/lib/components/page-header-old/page-header-old.module.d.ts +0 -14
- package/lib/components/passenger-select-new/enums/passenger-type.enum.d.ts +0 -7
- package/lib/components/passenger-select-new/index.d.ts +0 -4
- package/lib/components/passenger-select-new/models/passengers.model.d.ts +0 -10
- package/lib/components/passenger-select-new/passenger-select-new.component.d.ts +0 -141
- package/lib/components/passenger-select-new/passenger-select-new.module.d.ts +0 -10
- package/lib/components/radio-new/index.d.ts +0 -2
- package/lib/components/radio-new/radio-new.component.d.ts +0 -135
- package/lib/components/radio-new/radio-new.module.d.ts +0 -10
- package/lib/components/slide-toggle-new/index.d.ts +0 -2
- package/lib/components/slide-toggle-new/slide-toggle-new.component.d.ts +0 -70
- package/lib/components/slide-toggle-new/slide-toggle-new.module.d.ts +0 -10
- package/lib/components/weather-icon/index.d.ts +0 -2
- package/lib/components/weather-icon/weather-icon.component.d.ts +0 -60
- package/lib/components/weather-icon/weather-icon.module.d.ts +0 -9
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./filter-new.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 "../airport-select/airport-select.module";
|
|
6
|
-
import * as i5 from "../dropdown/dropdown.module";
|
|
7
|
-
import * as i6 from "../passenger-select/passenger-select.module";
|
|
8
|
-
import * as i7 from "../accordion/accordion.module";
|
|
9
|
-
import * as i8 from "../icon/icon.module";
|
|
10
|
-
import * as i9 from "../datepicker-combo/datepicker-combo.module";
|
|
11
|
-
import * as i10 from "../checkbox/checkbox.module";
|
|
12
|
-
import * as i11 from "@angular/forms";
|
|
13
|
-
import * as i12 from "../button/button.module";
|
|
14
|
-
import * as i13 from "../subsidy-discount/subsidy-discount.module";
|
|
15
|
-
import * as i14 from "../suggestions/suggestions.module";
|
|
16
|
-
import * as i15 from "../airport-select-new/airport-select-new.module";
|
|
17
|
-
import * as i16 from "../datepicker-combo-new/datepicker-combo-new.module";
|
|
18
|
-
import * as i17 from "../datepicker-new/datepicker-new.module";
|
|
19
|
-
import * as i18 from "../button-new/button-new.module";
|
|
20
|
-
import * as i19 from "../passenger-select-new/passenger-select-new.module";
|
|
21
|
-
import * as i20 from "../radio-new/radio-new.module";
|
|
22
|
-
import * as i21 from "../checkbox-new/checkbox-new.module";
|
|
23
|
-
import * as i22 from "../backdrop/backdrop.module";
|
|
24
|
-
export declare class FilterNewModule {
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterNewModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterNewModule, [typeof i1.FilterNewComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.AirportSelectModule, typeof i5.DropdownModule, typeof i6.PassengerSelectModule, typeof i7.AccordionModule, typeof i8.IconModule, typeof i9.DatepickerComboModule, typeof i10.CheckboxModule, typeof i11.ReactiveFormsModule, typeof i12.ButtonModule, typeof i13.SubsidyDiscountModule, typeof i14.SuggestionsModule, typeof i15.AirportSelectNewModule, typeof i16.DatepickerComboNewModule, typeof i17.DatepickerNewModule, typeof i18.ButtonNewModule, typeof i19.PassengerSelectNewModule, typeof i20.RadioNewModule, typeof i21.CheckboxNewModule, typeof i22.BackdropModule], [typeof i1.FilterNewComponent]>;
|
|
27
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FilterNewModule>;
|
|
28
|
-
}
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
6
|
-
import { FormGroup } from '@angular/forms';
|
|
7
|
-
import { ClassModel } from '../../core';
|
|
8
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @description
|
|
12
|
-
* Norwegian Input-Text Component | New design | Beta
|
|
13
|
-
*/
|
|
14
|
-
export declare class InputTextComponent extends NasComponentBase {
|
|
15
|
-
inputReactive: ElementRef<HTMLElement>;
|
|
16
|
-
inputNotReactive: ElementRef<HTMLElement>;
|
|
17
|
-
controls: ElementRef<HTMLElement>;
|
|
18
|
-
/**
|
|
19
|
-
* @property Input
|
|
20
|
-
* @description
|
|
21
|
-
* The ID of the native input element
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* @property Input
|
|
26
|
-
* @description
|
|
27
|
-
* The value of the native input element
|
|
28
|
-
*/
|
|
29
|
-
get model(): string;
|
|
30
|
-
set model(value: string);
|
|
31
|
-
modelChange: EventEmitter<string>;
|
|
32
|
-
blur: EventEmitter<string>;
|
|
33
|
-
/**
|
|
34
|
-
* @property Input
|
|
35
|
-
* @description
|
|
36
|
-
* Whether the control is in an error state.
|
|
37
|
-
*/
|
|
38
|
-
error: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* @property Input
|
|
41
|
-
* @description
|
|
42
|
-
* Whether the native input element is disabled or no, with disabled styling.
|
|
43
|
-
*/
|
|
44
|
-
get disabled(): boolean;
|
|
45
|
-
set disabled(value: boolean);
|
|
46
|
-
/**
|
|
47
|
-
* @property Input
|
|
48
|
-
* @description
|
|
49
|
-
* Whether the control is in an active state.
|
|
50
|
-
*/
|
|
51
|
-
active: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* @property Input
|
|
54
|
-
* @description
|
|
55
|
-
* Set spaceless styling (removing spacing)
|
|
56
|
-
*/
|
|
57
|
-
spaceless: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* @property Input
|
|
60
|
-
* @description
|
|
61
|
-
* Sets the label of the input
|
|
62
|
-
*/
|
|
63
|
-
label: string;
|
|
64
|
-
/**
|
|
65
|
-
* @property Input
|
|
66
|
-
* @description
|
|
67
|
-
* Sets the label of the input inside the white area
|
|
68
|
-
*/
|
|
69
|
-
labelInside: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* @property Input
|
|
72
|
-
* @description
|
|
73
|
-
* The error message to display when error occur. Error attribute need to be true.
|
|
74
|
-
*/
|
|
75
|
-
errorMessage: string;
|
|
76
|
-
/**
|
|
77
|
-
* @property Input
|
|
78
|
-
* @description
|
|
79
|
-
* Sets placeholder text in the native input element
|
|
80
|
-
*/
|
|
81
|
-
placeholder: string;
|
|
82
|
-
/**
|
|
83
|
-
* @property Input
|
|
84
|
-
* @description
|
|
85
|
-
* Sets min length on the native input element.
|
|
86
|
-
*/
|
|
87
|
-
minLength: number;
|
|
88
|
-
/**
|
|
89
|
-
* @property Input
|
|
90
|
-
* @description
|
|
91
|
-
* Sets max length on the native input element.
|
|
92
|
-
*/
|
|
93
|
-
maxLength: number;
|
|
94
|
-
/**
|
|
95
|
-
* @property Input
|
|
96
|
-
* @description
|
|
97
|
-
* Sets the info text related to the input
|
|
98
|
-
*/
|
|
99
|
-
info: string;
|
|
100
|
-
/**
|
|
101
|
-
* @property Input
|
|
102
|
-
* @description
|
|
103
|
-
* Sets the icon on the input
|
|
104
|
-
*/
|
|
105
|
-
icon: string;
|
|
106
|
-
/**
|
|
107
|
-
* @property Input
|
|
108
|
-
* @description
|
|
109
|
-
* Input type of the element.
|
|
110
|
-
*/
|
|
111
|
-
type: string;
|
|
112
|
-
/**
|
|
113
|
-
* @property Input
|
|
114
|
-
* @description
|
|
115
|
-
* Whether the element is readonly.
|
|
116
|
-
*/
|
|
117
|
-
readonly: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* @property Input
|
|
120
|
-
* @description
|
|
121
|
-
* String to set name on native input element.
|
|
122
|
-
*/
|
|
123
|
-
get name(): string;
|
|
124
|
-
set name(value: string);
|
|
125
|
-
/**
|
|
126
|
-
* @property Input
|
|
127
|
-
* @description
|
|
128
|
-
* Sets aria describedby for accessibility
|
|
129
|
-
*/
|
|
130
|
-
ariaDescribedby: string;
|
|
131
|
-
/**
|
|
132
|
-
* @property Input
|
|
133
|
-
* @description
|
|
134
|
-
* Sets the required attribute on the native input element.
|
|
135
|
-
*/
|
|
136
|
-
required: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* @property Input
|
|
139
|
-
* @description
|
|
140
|
-
* Sets a formControlName directive to the input.
|
|
141
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
142
|
-
* It requiers that the nasFormGroup input is filled.
|
|
143
|
-
* @example
|
|
144
|
-
* <nas-input-text [nasFormControlName]="'username'"></nas-input-text>
|
|
145
|
-
*/
|
|
146
|
-
nasFormControlName: string;
|
|
147
|
-
/**
|
|
148
|
-
* @property Input
|
|
149
|
-
* @description
|
|
150
|
-
* Adds the parent's form group.
|
|
151
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
152
|
-
* It is requiered to be filled if nasFormControlName added.
|
|
153
|
-
* @example
|
|
154
|
-
* <nas-input-text [nasFormGroup]="loginGroup"></nas-input-text>
|
|
155
|
-
*/
|
|
156
|
-
nasFormGroup: FormGroup;
|
|
157
|
-
/**
|
|
158
|
-
* @property Input
|
|
159
|
-
* @description
|
|
160
|
-
* The minimum value to accept for this input.
|
|
161
|
-
* @example
|
|
162
|
-
* <nas-input-text [type]="'number'" [min]="0"></nas-input-text>
|
|
163
|
-
*/
|
|
164
|
-
min: number;
|
|
165
|
-
/**
|
|
166
|
-
* @property Input
|
|
167
|
-
* @description
|
|
168
|
-
* The maximum value to accept for this input.
|
|
169
|
-
* @example
|
|
170
|
-
* <nas-input-text [type]="'number'" [max]="10"></nas-input-text>
|
|
171
|
-
*/
|
|
172
|
-
max: number;
|
|
173
|
-
/**
|
|
174
|
-
* @property Input
|
|
175
|
-
* @description
|
|
176
|
-
* Adds a line below the input element. Default value is true.
|
|
177
|
-
* @example
|
|
178
|
-
* <nas-input-text [line]="false"></nas-input-text>
|
|
179
|
-
*/
|
|
180
|
-
line: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* @property Input
|
|
183
|
-
* @description
|
|
184
|
-
* Specifies a regular expression that the input value is checked against on form submission
|
|
185
|
-
*/
|
|
186
|
-
pattern: string;
|
|
187
|
-
get inputId(): string;
|
|
188
|
-
get errorId(): string;
|
|
189
|
-
private componentId;
|
|
190
|
-
private modelValue;
|
|
191
|
-
private disabledValue;
|
|
192
|
-
private nameValue;
|
|
193
|
-
constructor();
|
|
194
|
-
ngAfterViewInit(): void;
|
|
195
|
-
mainClass(): ClassModel;
|
|
196
|
-
private setNameAttribute;
|
|
197
|
-
onBlur(value: string): void;
|
|
198
|
-
private setInputStyling;
|
|
199
|
-
private setLabelInsideStyling;
|
|
200
|
-
onInput(event: Event): void;
|
|
201
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
|
|
202
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "nas-input-text", never, { "id": { "alias": "id"; "required": false; }; "model": { "alias": "model"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "active": { "alias": "active"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelInside": { "alias": "labelInside"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "info": { "alias": "info"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "line": { "alias": "line"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; }, { "modelChange": "modelChange"; "blur": "blur"; }, never, never, false, never>;
|
|
203
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-text.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../icon/icon.module";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "../../core/directives/nas-class/nas-class.module";
|
|
7
|
-
export declare class InputTextModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputTextModule, [typeof i1.InputTextComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.FormsModule, typeof i5.NasClassModule, typeof i4.ReactiveFormsModule], [typeof i1.InputTextComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<InputTextModule>;
|
|
11
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { EventEmitter, ElementRef, OnInit } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
7
|
-
import { FormGroup } from '@angular/forms';
|
|
8
|
-
import { NumberFieldNewModel } from './models/number-field-new.model';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @description
|
|
12
|
-
* Norwegian Number field Component | New design | Beta
|
|
13
|
-
*/
|
|
14
|
-
export declare class NumberFieldNewComponent extends NasComponentBase implements OnInit {
|
|
15
|
-
input: ElementRef;
|
|
16
|
-
/**
|
|
17
|
-
* @property Input
|
|
18
|
-
* @description
|
|
19
|
-
* The selected number.
|
|
20
|
-
*/
|
|
21
|
-
get number(): number;
|
|
22
|
-
set number(number: number);
|
|
23
|
-
/**
|
|
24
|
-
* @property Input
|
|
25
|
-
* @description
|
|
26
|
-
* Maximum limit.
|
|
27
|
-
*/
|
|
28
|
-
max: number;
|
|
29
|
-
/**
|
|
30
|
-
* @property Input
|
|
31
|
-
* @description
|
|
32
|
-
* Minimum limit.
|
|
33
|
-
*/
|
|
34
|
-
min: number;
|
|
35
|
-
/**
|
|
36
|
-
* @property Input
|
|
37
|
-
* @description
|
|
38
|
-
* A label for the number field input.
|
|
39
|
-
*/
|
|
40
|
-
label: string;
|
|
41
|
-
/**
|
|
42
|
-
* @property Input
|
|
43
|
-
* @description
|
|
44
|
-
* Sets compact styling.
|
|
45
|
-
*/
|
|
46
|
-
compact?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* @property Input
|
|
49
|
-
* @description
|
|
50
|
-
* Sets spaceless styling.
|
|
51
|
-
*/
|
|
52
|
-
spaceless?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* @property Input
|
|
55
|
-
* @description
|
|
56
|
-
* Sets simple styling.
|
|
57
|
-
*/
|
|
58
|
-
simple?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* @property Input
|
|
61
|
-
* @description
|
|
62
|
-
* Sets a formControlName directive to the input.
|
|
63
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
64
|
-
* It requiers that the nasFormGroup input is filled.
|
|
65
|
-
*/
|
|
66
|
-
nasFormControlName: string;
|
|
67
|
-
/**
|
|
68
|
-
* @property Input
|
|
69
|
-
* @description
|
|
70
|
-
* Adds the parent's form group.
|
|
71
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
72
|
-
* It is requiered to be filled if nasFormControlName added.
|
|
73
|
-
*/
|
|
74
|
-
nasFormGroup: FormGroup;
|
|
75
|
-
/**
|
|
76
|
-
* @property Input
|
|
77
|
-
* @description
|
|
78
|
-
* Hides the input field and displays a plus and minus button only.
|
|
79
|
-
*/
|
|
80
|
-
hideInput?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* @property Input
|
|
83
|
-
* @description
|
|
84
|
-
* ARIA label for the subtract button.
|
|
85
|
-
*/
|
|
86
|
-
ariaLabelSubtract: string;
|
|
87
|
-
/**
|
|
88
|
-
* @property Input
|
|
89
|
-
* @description
|
|
90
|
-
* ARIA label for the add button.
|
|
91
|
-
*/
|
|
92
|
-
ariaLabelAdd: string;
|
|
93
|
-
/**
|
|
94
|
-
* @property Input
|
|
95
|
-
* @description
|
|
96
|
-
* ARIA label for the input field.
|
|
97
|
-
*/
|
|
98
|
-
ariaLabel: string;
|
|
99
|
-
/**
|
|
100
|
-
* @property Output
|
|
101
|
-
* @description
|
|
102
|
-
* An event that is fired every time the number changes.
|
|
103
|
-
*/
|
|
104
|
-
numberChange: EventEmitter<number>;
|
|
105
|
-
private numberValue;
|
|
106
|
-
constructor();
|
|
107
|
-
ngOnInit(): void;
|
|
108
|
-
inputFocus(): void;
|
|
109
|
-
add(): void;
|
|
110
|
-
subtract(): void;
|
|
111
|
-
private patchReactiveFormControlValue;
|
|
112
|
-
getPlusConfig(): NumberFieldNewModel;
|
|
113
|
-
getMinusConfig(): NumberFieldNewModel;
|
|
114
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFieldNewComponent, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberFieldNewComponent, "nas-number-field-new", never, { "number": { "alias": "number"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "label": { "alias": "label"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "hideInput": { "alias": "hideInput"; "required": false; }; "ariaLabelSubtract": { "alias": "ariaLabelSubtract"; "required": false; }; "ariaLabelAdd": { "alias": "ariaLabelAdd"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "numberChange": "numberChange"; }, never, never, false, never>;
|
|
116
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./number-field-new.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
|
-
import * as i5 from "../button/button.module";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
export declare class NumberFieldNewModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFieldNewModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NumberFieldNewModule, [typeof i1.NumberFieldNewComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.IconModule, typeof i5.ButtonModule, typeof i6.ReactiveFormsModule, typeof i6.FormsModule], [typeof i1.NumberFieldNewComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NumberFieldNewModule>;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { NasComponentBase } from '../../../core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OldHamburgerComponent extends NasComponentBase {
|
|
4
|
-
/**
|
|
5
|
-
* @description
|
|
6
|
-
* Sets the menu to be expanded
|
|
7
|
-
*/
|
|
8
|
-
expanded: boolean;
|
|
9
|
-
constructor();
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OldHamburgerComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OldHamburgerComponent, "nas-old-hamburger", never, { "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { ElementRef } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../../core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class OldSearchComponent extends NasComponentBase {
|
|
9
|
-
/**
|
|
10
|
-
* @description
|
|
11
|
-
* Sets the search label for the search form. Default value is "Search"
|
|
12
|
-
*/
|
|
13
|
-
searchText: string;
|
|
14
|
-
/**
|
|
15
|
-
* @description
|
|
16
|
-
* Url to the search form. Added to the action attribute on native form element.
|
|
17
|
-
*/
|
|
18
|
-
searchForm: string;
|
|
19
|
-
inputElement: ElementRef;
|
|
20
|
-
constructor();
|
|
21
|
-
expanded: boolean;
|
|
22
|
-
blur(): void;
|
|
23
|
-
focus(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OldSearchComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OldSearchComponent, "nas-old-search", never, { "searchText": { "alias": "searchText"; "required": false; }; "searchForm": { "alias": "searchForm"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { OnDestroy, ElementRef, AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../core';
|
|
7
|
-
import { IconListModel } from '../icon-list';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @description
|
|
11
|
-
* Norwegian Old Page Header Component | Navigation
|
|
12
|
-
*/
|
|
13
|
-
export declare class PageHeaderOldComponent extends NasComponentBase implements OnDestroy, AfterViewInit {
|
|
14
|
-
private changeDetector;
|
|
15
|
-
/**
|
|
16
|
-
* @property Input
|
|
17
|
-
* @description
|
|
18
|
-
* Sets the menu text. Defaults to "Menu".
|
|
19
|
-
*/
|
|
20
|
-
menuText: string;
|
|
21
|
-
/**
|
|
22
|
-
* @property Input
|
|
23
|
-
* @description
|
|
24
|
-
* Sets the close text. Defaults to "Close".
|
|
25
|
-
*/
|
|
26
|
-
closeText: string;
|
|
27
|
-
/**
|
|
28
|
-
* @property Input
|
|
29
|
-
* @description
|
|
30
|
-
* Sets the search label for search field. Defaults to "Search".
|
|
31
|
-
*/
|
|
32
|
-
searchText: string;
|
|
33
|
-
/**
|
|
34
|
-
* @property Input
|
|
35
|
-
* @description
|
|
36
|
-
* Url to the search form. Added to the action attribute on native form element.
|
|
37
|
-
*/
|
|
38
|
-
searchForm: string;
|
|
39
|
-
/**
|
|
40
|
-
* @property Input
|
|
41
|
-
* @description
|
|
42
|
-
* Show the profile section.
|
|
43
|
-
*/
|
|
44
|
-
displayProfile: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* @property Input
|
|
47
|
-
* @description
|
|
48
|
-
* Will display the Norwegian Reward logo, set this to true display it. It's false by default.
|
|
49
|
-
*/
|
|
50
|
-
reward: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* @property Input
|
|
53
|
-
* @description
|
|
54
|
-
* Is user authenticated. Only valid if displayProfile is true
|
|
55
|
-
*/
|
|
56
|
-
isAuthenticated: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* @property Input
|
|
59
|
-
* @description
|
|
60
|
-
* Url to the front-/homepage.
|
|
61
|
-
*/
|
|
62
|
-
frontPageUrl: string;
|
|
63
|
-
/**
|
|
64
|
-
* @property Input
|
|
65
|
-
* @description
|
|
66
|
-
* Use router link instead of href on links
|
|
67
|
-
*/
|
|
68
|
-
useRouterLink: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* @property Input
|
|
71
|
-
* @description
|
|
72
|
-
* Sets z-index to 0
|
|
73
|
-
*/
|
|
74
|
-
nozindex?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* @property Input
|
|
77
|
-
* @description
|
|
78
|
-
* Link to logout.
|
|
79
|
-
*/
|
|
80
|
-
logOutLink: IconListModel;
|
|
81
|
-
/**
|
|
82
|
-
* @property Input
|
|
83
|
-
* @description
|
|
84
|
-
* Link to profile.
|
|
85
|
-
*/
|
|
86
|
-
profileLink: IconListModel;
|
|
87
|
-
/**
|
|
88
|
-
* @property Input
|
|
89
|
-
* @description
|
|
90
|
-
* links to display with icon in header.
|
|
91
|
-
*/
|
|
92
|
-
links: Array<IconListModel>;
|
|
93
|
-
/**
|
|
94
|
-
* @property Output
|
|
95
|
-
* @description
|
|
96
|
-
* Notifies consumer that menu is expanded or collapsed
|
|
97
|
-
*/
|
|
98
|
-
openChange: EventEmitter<boolean>;
|
|
99
|
-
expanded: boolean;
|
|
100
|
-
animateOut: boolean;
|
|
101
|
-
displayHamburger: boolean;
|
|
102
|
-
menuElement: ElementRef;
|
|
103
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
104
|
-
ngAfterViewInit(): void;
|
|
105
|
-
ngOnDestroy(): void;
|
|
106
|
-
menuClick({ target }: any): void;
|
|
107
|
-
handleToggle(force: boolean): any;
|
|
108
|
-
private handleKeyDown;
|
|
109
|
-
onLinkClick(link: IconListModel): void;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderOldComponent, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderOldComponent, "nas-page-header-old", never, { "menuText": { "alias": "menuText"; "required": false; }; "closeText": { "alias": "closeText"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "searchForm": { "alias": "searchForm"; "required": false; }; "displayProfile": { "alias": "displayProfile"; "required": false; }; "reward": { "alias": "reward"; "required": false; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": false; }; "frontPageUrl": { "alias": "frontPageUrl"; "required": false; }; "useRouterLink": { "alias": "useRouterLink"; "required": false; }; "nozindex": { "alias": "nozindex"; "required": false; }; "logOutLink": { "alias": "logOutLink"; "required": false; }; "profileLink": { "alias": "profileLink"; "required": false; }; "links": { "alias": "links"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
|
|
112
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./page-header-old.component";
|
|
3
|
-
import * as i2 from "./old-hamburger/old-hamburger.component";
|
|
4
|
-
import * as i3 from "./old-search/old-search.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "../icon/icon.module";
|
|
7
|
-
import * as i6 from "../../core/directives/nas-class/nas-class.module";
|
|
8
|
-
import * as i7 from "@angular/router";
|
|
9
|
-
import * as i8 from "../button/button.module";
|
|
10
|
-
export declare class PageHeaderOldModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderOldModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderOldModule, [typeof i1.PageHeaderOldComponent, typeof i2.OldHamburgerComponent, typeof i3.OldSearchComponent], [typeof i4.CommonModule, typeof i5.IconModule, typeof i6.NasClassModule, typeof i7.RouterModule, typeof i8.ButtonModule], [typeof i1.PageHeaderOldComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderOldModule>;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { PassengerType } from '../enums/passenger-type.enum';
|
|
3
|
-
export interface PassengersModel {
|
|
4
|
-
label: string;
|
|
5
|
-
type: PassengerType;
|
|
6
|
-
count?: number;
|
|
7
|
-
formControlName?: string;
|
|
8
|
-
formGroup?: FormGroup;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|