@norwegian/core-components 5.18.1 → 5.18.3
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/esm2020/lib/components/accordion/accordion.component.mjs +148 -0
- package/esm2020/lib/components/accordion/accordion.module.mjs +20 -0
- package/esm2020/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +610 -0
- package/esm2020/lib/components/airport-select/airport-select.component.mjs +438 -0
- package/esm2020/lib/components/airport-select/airport-select.module.mjs +42 -0
- package/esm2020/lib/components/airport-select/services/airport-select-dropdown.service.mjs +35 -0
- package/esm2020/lib/components/airport-select/services/airport-select.service.mjs +38 -0
- package/esm2020/lib/components/autocomplete/autocomplete.component.mjs +287 -0
- package/esm2020/lib/components/autocomplete/autocomplete.module.mjs +43 -0
- package/esm2020/lib/components/backdrop/backdrop.component.mjs +56 -0
- package/esm2020/lib/components/backdrop/backdrop.module.mjs +24 -0
- package/esm2020/lib/components/box/box.component.mjs +68 -0
- package/esm2020/lib/components/box/box.module.mjs +19 -0
- package/esm2020/lib/components/button/button.component.mjs +167 -0
- package/esm2020/lib/components/button/button.module.mjs +20 -0
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +148 -0
- package/esm2020/lib/components/checkbox/checkbox.module.mjs +20 -0
- package/esm2020/lib/components/chip/chip.component.mjs +53 -0
- package/esm2020/lib/components/chip/chip.module.mjs +24 -0
- package/esm2020/lib/components/container/container.component.mjs +50 -0
- package/esm2020/lib/components/container/container.module.mjs +19 -0
- package/esm2020/lib/components/continue/continue.component.mjs +194 -0
- package/esm2020/lib/components/continue/continue.module.mjs +34 -0
- package/esm2020/lib/components/cover/cover.component.mjs +75 -0
- package/esm2020/lib/components/cover/cover.module.mjs +21 -0
- package/esm2020/lib/components/datepicker/calendar/calendar.component.mjs +583 -0
- package/esm2020/lib/components/datepicker/datepicker.component.mjs +550 -0
- package/esm2020/lib/components/datepicker/datepicker.module.mjs +55 -0
- package/esm2020/lib/components/datepicker/services/calendar.service.mjs +213 -0
- package/esm2020/lib/components/datepicker-combo/datepicker-combo.component.mjs +355 -0
- package/esm2020/lib/components/datepicker-combo/datepicker-combo.module.mjs +31 -0
- package/esm2020/lib/components/divider/divider.component.mjs +61 -0
- package/esm2020/lib/components/divider/divider.module.mjs +20 -0
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +169 -0
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +32 -0
- package/esm2020/lib/components/filter/filter.component.mjs +1253 -0
- package/esm2020/lib/components/filter/filter.module.mjs +73 -0
- package/esm2020/lib/components/grid/col/col.component.mjs +49 -0
- package/esm2020/lib/components/grid/grid.component.mjs +72 -0
- package/esm2020/lib/components/grid/grid.module.mjs +20 -0
- package/esm2020/lib/components/icon/icon.component.mjs +44 -0
- package/esm2020/lib/components/icon/icon.module.mjs +24 -0
- package/esm2020/lib/components/icon-list/icon-list.component.mjs +50 -0
- package/esm2020/lib/components/icon-list/icon-list.module.mjs +20 -0
- package/esm2020/lib/components/info/info.component.mjs +106 -0
- package/esm2020/lib/components/info/info.module.mjs +36 -0
- package/esm2020/lib/components/input/input.component.mjs +179 -0
- package/esm2020/lib/components/input/input.module.mjs +21 -0
- package/esm2020/lib/components/journey/journey.component.mjs +126 -0
- package/esm2020/lib/components/journey/journey.module.mjs +28 -0
- package/esm2020/lib/components/journey-availability/journey-availability.component.mjs +126 -0
- package/esm2020/lib/components/journey-availability/journey-availability.module.mjs +39 -0
- package/esm2020/lib/components/journey-availability-list/journey-availability-list.component.mjs +185 -0
- package/{esm2015/lib/components/journey-availability-list/journey-availability-list.module.js → esm2020/lib/components/journey-availability-list/journey-availability-list.module.mjs} +27 -14
- package/esm2020/lib/components/journey-selection/journey-selection.component.mjs +112 -0
- package/esm2020/lib/components/journey-selection/journey-selection.module.mjs +35 -0
- package/esm2020/lib/components/journey-stopover/journey-stopover.component.mjs +125 -0
- package/esm2020/lib/components/journey-stopover/journey-stopover.module.mjs +28 -0
- package/esm2020/lib/components/list/list-item/list-item.component.mjs +52 -0
- package/esm2020/lib/components/list/list.component.mjs +78 -0
- package/esm2020/lib/components/list/list.module.mjs +20 -0
- package/esm2020/lib/components/modal/modal.component.mjs +141 -0
- package/esm2020/lib/components/modal/modal.module.mjs +38 -0
- package/esm2020/lib/components/number-field/number-field.component.mjs +135 -0
- package/esm2020/lib/components/number-field/number-field.module.mjs +39 -0
- package/esm2020/lib/components/page-footer/page-footer.component.mjs +54 -0
- package/esm2020/lib/components/page-footer/page-footer.module.mjs +21 -0
- package/esm2020/lib/components/page-header/hamburger/hamburger.component.mjs +22 -0
- package/esm2020/lib/components/page-header/page-header.component.mjs +142 -0
- package/esm2020/lib/components/page-header/page-header.module.mjs +23 -0
- package/esm2020/lib/components/page-header/search/search.component.mjs +49 -0
- package/{esm2015/lib/components/passenger-select/models/passengers.model.js → esm2020/lib/components/passenger-select/models/passengers.model.mjs} +1 -1
- package/esm2020/lib/components/passenger-select/passenger-select.component.mjs +225 -0
- package/esm2020/lib/components/passenger-select/passenger-select.module.mjs +28 -0
- package/esm2020/lib/components/phone-number/phone-number.component.mjs +148 -0
- package/esm2020/lib/components/phone-number/phone-number.module.mjs +44 -0
- package/esm2020/lib/components/premium-toggle/premium-toggle.component.mjs +69 -0
- package/esm2020/lib/components/premium-toggle/premium-toggle.module.mjs +28 -0
- package/esm2020/lib/components/radio/radio.component.mjs +98 -0
- package/esm2020/lib/components/radio/radio.module.mjs +20 -0
- package/esm2020/lib/components/select/optgroup/optgroup.component.mjs +29 -0
- package/esm2020/lib/components/select/option/option.component.mjs +26 -0
- package/esm2020/lib/components/select/select.component.mjs +354 -0
- package/esm2020/lib/components/select/select.module.mjs +30 -0
- package/esm2020/lib/components/simple-list/simple-list.component.mjs +48 -0
- package/esm2020/lib/components/simple-list/simple-list.module.mjs +19 -0
- package/esm2020/lib/components/slide-toggle/slide-toggle.component.mjs +111 -0
- package/esm2020/lib/components/slide-toggle/slide-toggle.module.mjs +31 -0
- package/esm2020/lib/components/slider/slider.component.mjs +501 -0
- package/esm2020/lib/components/slider/slider.module.mjs +28 -0
- package/esm2020/lib/components/sort/sort.component.mjs +93 -0
- package/esm2020/lib/components/sort/sort.module.mjs +36 -0
- package/esm2020/lib/components/spinner/spinner.component.mjs +112 -0
- package/esm2020/lib/components/spinner/spinner.module.mjs +19 -0
- package/esm2020/lib/components/subsidy-discount/subsidy-discount.component.mjs +110 -0
- package/esm2020/lib/components/subsidy-discount/subsidy-discount.module.mjs +36 -0
- package/esm2020/lib/components/suggestions/suggestions.component.mjs +43 -0
- package/esm2020/lib/components/suggestions/suggestions.module.mjs +28 -0
- package/esm2020/lib/components/tab-group/tab/tab.component.mjs +131 -0
- package/esm2020/lib/components/tab-group/tab-group.component.mjs +87 -0
- package/esm2020/lib/components/tab-group/tab-group.module.mjs +29 -0
- package/esm2020/lib/components/table/column/column.component.mjs +16 -0
- package/esm2020/lib/components/table/column-group/column-group.component.mjs +30 -0
- package/esm2020/lib/components/table/services/table.service.mjs +21 -0
- package/esm2020/lib/components/table/table-body/table-body.component.mjs +23 -0
- package/esm2020/lib/components/table/table-foot/table-foot.component.mjs +23 -0
- package/esm2020/lib/components/table/table-head/table-head.component.mjs +23 -0
- package/esm2020/lib/components/table/table-row/table-data/table-data.component.mjs +15 -0
- package/esm2020/lib/components/table/table-row/table-header/table-header.component.mjs +15 -0
- package/esm2020/lib/components/table/table-row/table-row.component.mjs +23 -0
- package/esm2020/lib/components/table/table.component.mjs +29 -0
- package/esm2020/lib/components/table/table.module.mjs +68 -0
- package/esm2020/lib/components/textarea/textarea.component.mjs +93 -0
- package/esm2020/lib/components/textarea/textarea.module.mjs +31 -0
- package/esm2020/lib/components/toggle/toggle.component.mjs +103 -0
- package/esm2020/lib/components/toggle/toggle.module.mjs +35 -0
- package/esm2020/lib/components/trip-summary/trip-summary.component.mjs +170 -0
- package/esm2020/lib/components/trip-summary/trip-summary.module.mjs +36 -0
- package/esm2020/lib/components/weather-icon/weather-icon.component.mjs +60 -0
- package/esm2020/lib/components/weather-icon/weather-icon.module.mjs +19 -0
- package/esm2020/lib/core/base/nas-component.base.mjs +47 -0
- package/esm2020/lib/core/directives/nas-class/nas-class.directive.mjs +80 -0
- package/esm2020/lib/core/directives/nas-class/nas-class.module.mjs +22 -0
- package/{esm2015/lib/core/extensions/html-element.extension.js → esm2020/lib/core/extensions/html-element.extension.mjs} +1 -1
- package/esm2020/lib/core/services/abandoned-basket/abandoned-basket.service.mjs +58 -0
- package/esm2020/lib/core/services/animate-helper/animate-helper.service.mjs +49 -0
- package/esm2020/lib/core/services/bem-helper/bem-helper.service.mjs +44 -0
- package/esm2020/lib/core/services/date/date-helper.service.mjs +199 -0
- package/esm2020/lib/core/services/device/device-helper.service.mjs +46 -0
- package/esm2020/lib/core/services/geolocation/geolocation.service.mjs +63 -0
- package/esm2020/lib/core/services/language/language-helper.service.mjs +129 -0
- package/esm2020/lib/core/services/sort/sort.service.mjs +22 -0
- package/esm2020/lib/core/services/viewport/viewport.service.mjs +32 -0
- package/esm2020/lib/services/get-position.service.mjs +23 -0
- package/esm2020/norwegian-core-components.mjs +5 -0
- package/fesm2015/norwegian-core-components.mjs +11843 -0
- package/fesm2015/norwegian-core-components.mjs.map +1 -0
- package/fesm2020/norwegian-core-components.mjs +11829 -0
- package/fesm2020/norwegian-core-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/accordion/accordion.component.d.ts +3 -0
- package/lib/components/accordion/accordion.module.d.ts +8 -0
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +5 -2
- package/lib/components/airport-select/airport-select.component.d.ts +5 -2
- package/lib/components/airport-select/airport-select.module.d.ts +11 -0
- package/lib/components/airport-select/services/airport-select-dropdown.service.d.ts +3 -0
- package/lib/components/airport-select/services/airport-select.service.d.ts +3 -0
- package/lib/components/autocomplete/autocomplete.component.d.ts +5 -2
- package/lib/components/autocomplete/autocomplete.module.d.ts +11 -0
- package/lib/components/backdrop/backdrop.component.d.ts +3 -0
- package/lib/components/backdrop/backdrop.module.d.ts +7 -0
- package/lib/components/box/box.component.d.ts +3 -4
- package/lib/components/box/box.module.d.ts +7 -0
- package/lib/components/button/button.component.d.ts +3 -0
- package/lib/components/button/button.module.d.ts +8 -0
- package/lib/components/checkbox/checkbox.component.d.ts +5 -2
- package/lib/components/checkbox/checkbox.module.d.ts +8 -0
- package/lib/components/chip/chip.component.d.ts +3 -0
- package/lib/components/chip/chip.module.d.ts +7 -0
- package/lib/components/container/container.component.d.ts +3 -4
- package/lib/components/container/container.module.d.ts +7 -0
- package/lib/components/continue/continue.component.d.ts +3 -0
- package/lib/components/continue/continue.module.d.ts +9 -0
- package/lib/components/cover/cover.component.d.ts +3 -0
- package/lib/components/cover/cover.module.d.ts +9 -0
- package/lib/components/datepicker/calendar/calendar.component.d.ts +5 -2
- package/lib/components/datepicker/datepicker.component.d.ts +5 -2
- package/lib/components/datepicker/datepicker.module.d.ts +14 -0
- package/lib/components/datepicker/services/calendar.service.d.ts +3 -0
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +3 -0
- package/lib/components/datepicker-combo/datepicker-combo.module.d.ts +8 -0
- package/lib/components/divider/divider.component.d.ts +3 -4
- package/lib/components/divider/divider.module.d.ts +8 -0
- package/lib/components/dropdown/dropdown.component.d.ts +3 -0
- package/lib/components/dropdown/dropdown.module.d.ts +9 -0
- package/lib/components/filter/filter.component.d.ts +5 -2
- package/lib/components/filter/filter.module.d.ts +18 -0
- package/lib/components/grid/col/col.component.d.ts +4 -1
- package/lib/components/grid/grid.component.d.ts +3 -4
- package/lib/components/grid/grid.module.d.ts +8 -0
- package/lib/components/icon/icon.component.d.ts +3 -4
- package/lib/components/icon/icon.module.d.ts +7 -0
- package/lib/components/icon-list/icon-list.component.d.ts +3 -0
- package/lib/components/icon-list/icon-list.module.d.ts +8 -0
- package/lib/components/info/info.component.d.ts +3 -0
- package/lib/components/info/info.module.d.ts +10 -0
- package/lib/components/input/input.component.d.ts +5 -2
- package/lib/components/input/input.module.d.ts +9 -0
- package/lib/components/journey/journey.component.d.ts +3 -0
- package/lib/components/journey/journey.module.d.ts +8 -0
- package/lib/components/journey-availability/journey-availability.component.d.ts +3 -0
- package/lib/components/journey-availability/journey-availability.module.d.ts +10 -0
- package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +3 -0
- package/lib/components/journey-availability-list/journey-availability-list.module.d.ts +10 -0
- package/lib/components/journey-selection/journey-selection.component.d.ts +3 -0
- package/lib/components/journey-selection/journey-selection.module.d.ts +9 -0
- package/lib/components/journey-stopover/journey-stopover.component.d.ts +3 -0
- package/lib/components/journey-stopover/journey-stopover.module.d.ts +8 -0
- package/lib/components/list/list-item/list-item.component.d.ts +3 -0
- package/lib/components/list/list.component.d.ts +4 -1
- package/lib/components/list/list.module.d.ts +8 -0
- package/lib/components/modal/modal.component.d.ts +3 -0
- package/lib/components/modal/modal.module.d.ts +10 -0
- package/lib/components/number-field/number-field.component.d.ts +5 -2
- package/lib/components/number-field/number-field.module.d.ts +10 -0
- package/lib/components/page-footer/page-footer.component.d.ts +3 -0
- package/lib/components/page-footer/page-footer.module.d.ts +9 -0
- package/lib/components/page-header/hamburger/hamburger.component.d.ts +3 -0
- package/lib/components/page-header/page-header.component.d.ts +3 -0
- package/lib/components/page-header/page-header.module.d.ts +11 -0
- package/lib/components/page-header/search/search.component.d.ts +3 -0
- package/lib/components/passenger-select/models/passengers.model.d.ts +2 -2
- package/lib/components/passenger-select/passenger-select.component.d.ts +5 -2
- package/lib/components/passenger-select/passenger-select.module.d.ts +8 -0
- package/lib/components/phone-number/phone-number.component.d.ts +5 -2
- package/lib/components/phone-number/phone-number.module.d.ts +11 -0
- package/lib/components/premium-toggle/premium-toggle.component.d.ts +3 -0
- package/lib/components/premium-toggle/premium-toggle.module.d.ts +8 -0
- package/lib/components/radio/radio.component.d.ts +5 -2
- package/lib/components/radio/radio.module.d.ts +8 -0
- package/lib/components/select/optgroup/optgroup.component.d.ts +3 -0
- package/lib/components/select/option/option.component.d.ts +3 -0
- package/lib/components/select/select.component.d.ts +6 -3
- package/lib/components/select/select.module.d.ts +10 -0
- package/lib/components/simple-list/simple-list.component.d.ts +4 -1
- package/lib/components/simple-list/simple-list.module.d.ts +7 -0
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +5 -2
- package/lib/components/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/components/slider/slider.component.d.ts +5 -2
- package/lib/components/slider/slider.module.d.ts +8 -0
- package/lib/components/sort/sort.component.d.ts +3 -0
- package/lib/components/sort/sort.module.d.ts +10 -0
- package/lib/components/spinner/spinner.component.d.ts +3 -0
- package/lib/components/spinner/spinner.module.d.ts +7 -0
- package/lib/components/subsidy-discount/subsidy-discount.component.d.ts +3 -0
- package/lib/components/subsidy-discount/subsidy-discount.module.d.ts +10 -0
- package/lib/components/suggestions/suggestions.component.d.ts +3 -0
- package/lib/components/suggestions/suggestions.module.d.ts +8 -0
- package/lib/components/tab-group/tab/tab.component.d.ts +3 -0
- package/lib/components/tab-group/tab-group.component.d.ts +3 -0
- package/lib/components/tab-group/tab-group.module.d.ts +9 -0
- package/lib/components/table/column/column.component.d.ts +3 -0
- package/lib/components/table/column-group/column-group.component.d.ts +3 -0
- package/lib/components/table/services/table.service.d.ts +3 -0
- package/lib/components/table/table-body/table-body.component.d.ts +3 -0
- package/lib/components/table/table-foot/table-foot.component.d.ts +3 -0
- package/lib/components/table/table-head/table-head.component.d.ts +3 -0
- package/lib/components/table/table-row/table-data/table-data.component.d.ts +3 -0
- package/lib/components/table/table-row/table-header/table-header.component.d.ts +3 -0
- package/lib/components/table/table-row/table-row.component.d.ts +3 -0
- package/lib/components/table/table.component.d.ts +3 -0
- package/lib/components/table/table.module.d.ts +15 -0
- package/lib/components/textarea/textarea.component.d.ts +5 -2
- package/lib/components/textarea/textarea.module.d.ts +8 -0
- package/lib/components/toggle/toggle.component.d.ts +6 -3
- package/lib/components/toggle/toggle.module.d.ts +9 -0
- package/lib/components/trip-summary/trip-summary.component.d.ts +3 -0
- package/lib/components/trip-summary/trip-summary.module.d.ts +10 -0
- package/lib/components/weather-icon/weather-icon.component.d.ts +3 -0
- package/lib/components/weather-icon/weather-icon.module.d.ts +7 -0
- package/lib/core/directives/nas-class/nas-class.directive.d.ts +3 -0
- package/lib/core/directives/nas-class/nas-class.module.d.ts +6 -0
- package/lib/core/services/abandoned-basket/abandoned-basket.service.d.ts +3 -0
- package/lib/core/services/animate-helper/animate-helper.service.d.ts +3 -0
- package/lib/core/services/bem-helper/bem-helper.service.d.ts +3 -0
- package/lib/core/services/date/date-helper.service.d.ts +3 -0
- package/lib/core/services/device/device-helper.service.d.ts +3 -0
- package/lib/core/services/geolocation/geolocation.service.d.ts +3 -0
- package/lib/core/services/language/language-helper.service.d.ts +3 -0
- package/lib/core/services/sort/sort.service.d.ts +3 -0
- package/lib/core/services/viewport/viewport.service.d.ts +3 -0
- package/lib/services/get-position.service.d.ts +3 -0
- package/package.json +23 -11
- package/styles/2__generic/_fonts.scss +32 -61
- package/bundles/norwegian-core-components.umd.js +0 -12203
- package/bundles/norwegian-core-components.umd.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion.component.js +0 -130
- package/esm2015/lib/components/accordion/accordion.module.js +0 -15
- package/esm2015/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.js +0 -583
- package/esm2015/lib/components/airport-select/airport-select.component.js +0 -400
- package/esm2015/lib/components/airport-select/airport-select.module.js +0 -27
- package/esm2015/lib/components/airport-select/services/airport-select-dropdown.service.js +0 -34
- package/esm2015/lib/components/airport-select/services/airport-select.service.js +0 -37
- package/esm2015/lib/components/autocomplete/autocomplete.component.js +0 -265
- package/esm2015/lib/components/autocomplete/autocomplete.module.js +0 -26
- package/esm2015/lib/components/backdrop/backdrop.component.js +0 -54
- package/esm2015/lib/components/backdrop/backdrop.module.js +0 -17
- package/esm2015/lib/components/box/box.component.js +0 -61
- package/esm2015/lib/components/box/box.module.js +0 -14
- package/esm2015/lib/components/button/button.component.js +0 -140
- package/esm2015/lib/components/button/button.module.js +0 -15
- package/esm2015/lib/components/checkbox/checkbox.component.js +0 -127
- package/esm2015/lib/components/checkbox/checkbox.module.js +0 -15
- package/esm2015/lib/components/chip/chip.component.js +0 -50
- package/esm2015/lib/components/chip/chip.module.js +0 -17
- package/esm2015/lib/components/container/container.component.js +0 -47
- package/esm2015/lib/components/container/container.module.js +0 -14
- package/esm2015/lib/components/continue/continue.component.js +0 -173
- package/esm2015/lib/components/continue/continue.module.js +0 -23
- package/esm2015/lib/components/cover/cover.component.js +0 -61
- package/esm2015/lib/components/cover/cover.module.js +0 -16
- package/esm2015/lib/components/datepicker/calendar/calendar.component.js +0 -560
- package/esm2015/lib/components/datepicker/datepicker.component.js +0 -515
- package/esm2015/lib/components/datepicker/datepicker.module.js +0 -34
- package/esm2015/lib/components/datepicker/services/calendar.service.js +0 -217
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.component.js +0 -317
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.module.js +0 -22
- package/esm2015/lib/components/divider/divider.component.js +0 -53
- package/esm2015/lib/components/divider/divider.module.js +0 -15
- package/esm2015/lib/components/dropdown/dropdown.component.js +0 -150
- package/esm2015/lib/components/dropdown/dropdown.module.js +0 -21
- package/esm2015/lib/components/filter/filter.component.js +0 -1122
- package/esm2015/lib/components/filter/filter.module.js +0 -44
- package/esm2015/lib/components/grid/col/col.component.js +0 -49
- package/esm2015/lib/components/grid/grid.component.js +0 -63
- package/esm2015/lib/components/grid/grid.module.js +0 -15
- package/esm2015/lib/components/icon/icon.component.js +0 -42
- package/esm2015/lib/components/icon/icon.module.js +0 -17
- package/esm2015/lib/components/icon-list/icon-list.component.js +0 -46
- package/esm2015/lib/components/icon-list/icon-list.module.js +0 -15
- package/esm2015/lib/components/info/info.component.js +0 -94
- package/esm2015/lib/components/info/info.module.js +0 -23
- package/esm2015/lib/components/input/input.component.js +0 -148
- package/esm2015/lib/components/input/input.module.js +0 -16
- package/esm2015/lib/components/journey/journey.component.js +0 -122
- package/esm2015/lib/components/journey/journey.module.js +0 -19
- package/esm2015/lib/components/journey-availability/journey-availability.component.js +0 -125
- package/esm2015/lib/components/journey-availability/journey-availability.module.js +0 -26
- package/esm2015/lib/components/journey-availability-list/journey-availability-list.component.js +0 -175
- package/esm2015/lib/components/journey-selection/journey-selection.component.js +0 -110
- package/esm2015/lib/components/journey-selection/journey-selection.module.js +0 -24
- package/esm2015/lib/components/journey-stopover/journey-stopover.component.js +0 -121
- package/esm2015/lib/components/journey-stopover/journey-stopover.module.js +0 -19
- package/esm2015/lib/components/list/list-item/list-item.component.js +0 -56
- package/esm2015/lib/components/list/list.component.js +0 -75
- package/esm2015/lib/components/list/list.module.js +0 -15
- package/esm2015/lib/components/modal/modal.component.js +0 -131
- package/esm2015/lib/components/modal/modal.module.js +0 -25
- package/esm2015/lib/components/number-field/number-field.component.js +0 -118
- package/esm2015/lib/components/number-field/number-field.module.js +0 -24
- package/esm2015/lib/components/page-footer/page-footer.component.js +0 -49
- package/esm2015/lib/components/page-footer/page-footer.module.js +0 -16
- package/esm2015/lib/components/page-header/hamburger/hamburger.component.js +0 -24
- package/esm2015/lib/components/page-header/page-header.component.js +0 -126
- package/esm2015/lib/components/page-header/page-header.module.js +0 -18
- package/esm2015/lib/components/page-header/search/search.component.js +0 -47
- package/esm2015/lib/components/passenger-select/passenger-select.component.js +0 -207
- package/esm2015/lib/components/passenger-select/passenger-select.module.js +0 -19
- package/esm2015/lib/components/phone-number/phone-number.component.js +0 -115
- package/esm2015/lib/components/phone-number/phone-number.module.js +0 -27
- package/esm2015/lib/components/premium-toggle/premium-toggle.component.js +0 -66
- package/esm2015/lib/components/premium-toggle/premium-toggle.module.js +0 -19
- package/esm2015/lib/components/radio/radio.component.js +0 -79
- package/esm2015/lib/components/radio/radio.module.js +0 -15
- package/esm2015/lib/components/select/optgroup/optgroup.component.js +0 -31
- package/esm2015/lib/components/select/option/option.component.js +0 -29
- package/esm2015/lib/components/select/select.component.js +0 -325
- package/esm2015/lib/components/select/select.module.js +0 -21
- package/esm2015/lib/components/simple-list/simple-list.component.js +0 -42
- package/esm2015/lib/components/simple-list/simple-list.module.js +0 -14
- package/esm2015/lib/components/slide-toggle/slide-toggle.component.js +0 -105
- package/esm2015/lib/components/slide-toggle/slide-toggle.module.js +0 -20
- package/esm2015/lib/components/slider/slider.component.js +0 -475
- package/esm2015/lib/components/slider/slider.module.js +0 -19
- package/esm2015/lib/components/sort/sort.component.js +0 -87
- package/esm2015/lib/components/sort/sort.module.js +0 -23
- package/esm2015/lib/components/spinner/spinner.component.js +0 -109
- package/esm2015/lib/components/spinner/spinner.module.js +0 -14
- package/esm2015/lib/components/subsidy-discount/subsidy-discount.component.js +0 -101
- package/esm2015/lib/components/subsidy-discount/subsidy-discount.module.js +0 -23
- package/esm2015/lib/components/suggestions/suggestions.component.js +0 -40
- package/esm2015/lib/components/suggestions/suggestions.module.js +0 -19
- package/esm2015/lib/components/tab-group/tab/tab.component.js +0 -123
- package/esm2015/lib/components/tab-group/tab-group.component.js +0 -85
- package/esm2015/lib/components/tab-group/tab-group.module.js +0 -20
- package/esm2015/lib/components/table/column/column.component.js +0 -17
- package/esm2015/lib/components/table/column-group/column-group.component.js +0 -34
- package/esm2015/lib/components/table/services/table.service.js +0 -20
- package/esm2015/lib/components/table/table-body/table-body.component.js +0 -27
- package/esm2015/lib/components/table/table-foot/table-foot.component.js +0 -27
- package/esm2015/lib/components/table/table-head/table-head.component.js +0 -27
- package/esm2015/lib/components/table/table-row/table-data/table-data.component.js +0 -15
- package/esm2015/lib/components/table/table-row/table-header/table-header.component.js +0 -15
- package/esm2015/lib/components/table/table-row/table-row.component.js +0 -27
- package/esm2015/lib/components/table/table.component.js +0 -29
- package/esm2015/lib/components/table/table.module.js +0 -45
- package/esm2015/lib/components/textarea/textarea.component.js +0 -73
- package/esm2015/lib/components/textarea/textarea.module.js +0 -20
- package/esm2015/lib/components/toggle/toggle.component.js +0 -86
- package/esm2015/lib/components/toggle/toggle.module.js +0 -22
- package/esm2015/lib/components/trip-summary/trip-summary.component.js +0 -152
- package/esm2015/lib/components/trip-summary/trip-summary.module.js +0 -23
- package/esm2015/lib/components/weather-icon/weather-icon.component.js +0 -56
- package/esm2015/lib/components/weather-icon/weather-icon.module.js +0 -14
- package/esm2015/lib/core/base/nas-component.base.js +0 -48
- package/esm2015/lib/core/directives/nas-class/nas-class.directive.js +0 -75
- package/esm2015/lib/core/directives/nas-class/nas-class.module.js +0 -17
- package/esm2015/lib/core/services/abandoned-basket/abandoned-basket.service.js +0 -55
- package/esm2015/lib/core/services/animate-helper/animate-helper.service.js +0 -47
- package/esm2015/lib/core/services/bem-helper/bem-helper.service.js +0 -41
- package/esm2015/lib/core/services/date/date-helper.service.js +0 -196
- package/esm2015/lib/core/services/device/device-helper.service.js +0 -43
- package/esm2015/lib/core/services/geolocation/geolocation.service.js +0 -60
- package/esm2015/lib/core/services/language/language-helper.service.js +0 -162
- package/esm2015/lib/core/services/sort/sort.service.js +0 -19
- package/esm2015/lib/core/services/viewport/viewport.service.js +0 -29
- package/esm2015/lib/services/get-position.service.js +0 -21
- package/esm2015/norwegian-core-components.js +0 -12
- package/fesm2015/norwegian-core-components.js +0 -10860
- package/fesm2015/norwegian-core-components.js.map +0 -1
- package/norwegian-core-components.d.ts +0 -11
- package/norwegian-core-components.metadata.json +0 -1
- /package/{esm2015/lib/components/accordion/index.js → esm2020/lib/components/accordion/index.mjs} +0 -0
- /package/{esm2015/lib/components/airport-select/index.js → esm2020/lib/components/airport-select/index.mjs} +0 -0
- /package/{esm2015/lib/components/airport-select/models/airport.model.js → esm2020/lib/components/airport-select/models/airport.model.mjs} +0 -0
- /package/{esm2015/lib/components/airport-select/models/results-labels.model.js → esm2020/lib/components/airport-select/models/results-labels.model.mjs} +0 -0
- /package/{esm2015/lib/components/autocomplete/index.js → esm2020/lib/components/autocomplete/index.mjs} +0 -0
- /package/{esm2015/lib/components/autocomplete/models/autocomplete.model.js → esm2020/lib/components/autocomplete/models/autocomplete.model.mjs} +0 -0
- /package/{esm2015/lib/components/backdrop/index.js → esm2020/lib/components/backdrop/index.mjs} +0 -0
- /package/{esm2015/lib/components/box/index.js → esm2020/lib/components/box/index.mjs} +0 -0
- /package/{esm2015/lib/components/button/index.js → esm2020/lib/components/button/index.mjs} +0 -0
- /package/{esm2015/lib/components/checkbox/index.js → esm2020/lib/components/checkbox/index.mjs} +0 -0
- /package/{esm2015/lib/components/chip/index.js → esm2020/lib/components/chip/index.mjs} +0 -0
- /package/{esm2015/lib/components/container/index.js → esm2020/lib/components/container/index.mjs} +0 -0
- /package/{esm2015/lib/components/continue/index.js → esm2020/lib/components/continue/index.mjs} +0 -0
- /package/{esm2015/lib/components/cover/index.js → esm2020/lib/components/cover/index.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/calendar-date.model.js → esm2020/lib/components/datepicker/calendar/calendar-date.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/enums/week-start.enum.js → esm2020/lib/components/datepicker/calendar/enums/week-start.enum.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/models/day.model.js → esm2020/lib/components/datepicker/calendar/models/day.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/models/select-option.model.js → esm2020/lib/components/datepicker/calendar/models/select-option.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/models/week.model.js → esm2020/lib/components/datepicker/calendar/models/week.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/index.js → esm2020/lib/components/datepicker/index.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker-combo/index.js → esm2020/lib/components/datepicker-combo/index.mjs} +0 -0
- /package/{esm2015/lib/components/divider/index.js → esm2020/lib/components/divider/index.mjs} +0 -0
- /package/{esm2015/lib/components/dropdown/index.js → esm2020/lib/components/dropdown/index.mjs} +0 -0
- /package/{esm2015/lib/components/filter/enums/trip-type.enum.js → esm2020/lib/components/filter/enums/trip-type.enum.mjs} +0 -0
- /package/{esm2015/lib/components/filter/index.js → esm2020/lib/components/filter/index.mjs} +0 -0
- /package/{esm2015/lib/components/grid/index.js → esm2020/lib/components/grid/index.mjs} +0 -0
- /package/{esm2015/lib/components/icon/index.js → esm2020/lib/components/icon/index.mjs} +0 -0
- /package/{esm2015/lib/components/icon-list/icon-list.model.js → esm2020/lib/components/icon-list/icon-list.model.mjs} +0 -0
- /package/{esm2015/lib/components/icon-list/index.js → esm2020/lib/components/icon-list/index.mjs} +0 -0
- /package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
- /package/{esm2015/lib/components/info/index.js → esm2020/lib/components/info/index.mjs} +0 -0
- /package/{esm2015/lib/components/info/models/info.model.js → esm2020/lib/components/info/models/info.model.mjs} +0 -0
- /package/{esm2015/lib/components/input/index.js → esm2020/lib/components/input/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey/index.js → esm2020/lib/components/journey/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey/models/journey-flight.model.js → esm2020/lib/components/journey/models/journey-flight.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey/models/journey.model.js → esm2020/lib/components/journey/models/journey.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-availability/index.js → esm2020/lib/components/journey-availability/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-availability-list/enums/availability-sort-option.enum.js → esm2020/lib/components/journey-availability-list/enums/availability-sort-option.enum.mjs} +0 -0
- /package/{esm2015/lib/components/journey-availability-list/index.js → esm2020/lib/components/journey-availability-list/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/index.js → esm2020/lib/components/journey-selection/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection-collapsed.model.js → esm2020/lib/components/journey-selection/models/journey-selection-collapsed.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection-common.model.js → esm2020/lib/components/journey-selection/models/journey-selection-common.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection-expanded.model.js → esm2020/lib/components/journey-selection/models/journey-selection-expanded.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection.model.js → esm2020/lib/components/journey-selection/models/journey-selection.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-stopover/index.js → esm2020/lib/components/journey-stopover/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-stopover/models/stopover-time.model.js → esm2020/lib/components/journey-stopover/models/stopover-time.model.mjs} +0 -0
- /package/{esm2015/lib/components/list/index.js → esm2020/lib/components/list/index.mjs} +0 -0
- /package/{esm2015/lib/components/modal/index.js → esm2020/lib/components/modal/index.mjs} +0 -0
- /package/{esm2015/lib/components/number-field/index.js → esm2020/lib/components/number-field/index.mjs} +0 -0
- /package/{esm2015/lib/components/page-footer/index.js → esm2020/lib/components/page-footer/index.mjs} +0 -0
- /package/{esm2015/lib/components/page-header/index.js → esm2020/lib/components/page-header/index.mjs} +0 -0
- /package/{esm2015/lib/components/passenger-select/enums/passenger-type.enum.js → esm2020/lib/components/passenger-select/enums/passenger-type.enum.mjs} +0 -0
- /package/{esm2015/lib/components/passenger-select/index.js → esm2020/lib/components/passenger-select/index.mjs} +0 -0
- /package/{esm2015/lib/components/phone-number/index.js → esm2020/lib/components/phone-number/index.mjs} +0 -0
- /package/{esm2015/lib/components/premium-toggle/index.js → esm2020/lib/components/premium-toggle/index.mjs} +0 -0
- /package/{esm2015/lib/components/radio/index.js → esm2020/lib/components/radio/index.mjs} +0 -0
- /package/{esm2015/lib/components/select/index.js → esm2020/lib/components/select/index.mjs} +0 -0
- /package/{esm2015/lib/components/select/models/select-option.model.js → esm2020/lib/components/select/models/select-option.model.mjs} +0 -0
- /package/{esm2015/lib/components/simple-list/index.js → esm2020/lib/components/simple-list/index.mjs} +0 -0
- /package/{esm2015/lib/components/slide-toggle/index.js → esm2020/lib/components/slide-toggle/index.mjs} +0 -0
- /package/{esm2015/lib/components/slider/index.js → esm2020/lib/components/slider/index.mjs} +0 -0
- /package/{esm2015/lib/components/sort/index.js → esm2020/lib/components/sort/index.mjs} +0 -0
- /package/{esm2015/lib/components/spinner/index.js → esm2020/lib/components/spinner/index.mjs} +0 -0
- /package/{esm2015/lib/components/subsidy-discount/index.js → esm2020/lib/components/subsidy-discount/index.mjs} +0 -0
- /package/{esm2015/lib/components/subsidy-discount/models/subsidy-discount.model.js → esm2020/lib/components/subsidy-discount/models/subsidy-discount.model.mjs} +0 -0
- /package/{esm2015/lib/components/suggestions/index.js → esm2020/lib/components/suggestions/index.mjs} +0 -0
- /package/{esm2015/lib/components/tab-group/index.js → esm2020/lib/components/tab-group/index.mjs} +0 -0
- /package/{esm2015/lib/components/table/index.js → esm2020/lib/components/table/index.mjs} +0 -0
- /package/{esm2015/lib/components/textarea/index.js → esm2020/lib/components/textarea/index.mjs} +0 -0
- /package/{esm2015/lib/components/toggle/index.js → esm2020/lib/components/toggle/index.mjs} +0 -0
- /package/{esm2015/lib/components/toggle/models/options.model.js → esm2020/lib/components/toggle/models/options.model.mjs} +0 -0
- /package/{esm2015/lib/components/trip-summary/index.js → esm2020/lib/components/trip-summary/index.mjs} +0 -0
- /package/{esm2015/lib/components/weather-icon/index.js → esm2020/lib/components/weather-icon/index.mjs} +0 -0
- /package/{esm2015/lib/core/decorators/debounce.decorator.js → esm2020/lib/core/decorators/debounce.decorator.mjs} +0 -0
- /package/{esm2015/lib/core/directives/index.js → esm2020/lib/core/directives/index.mjs} +0 -0
- /package/{esm2015/lib/core/index.js → esm2020/lib/core/index.mjs} +0 -0
- /package/{esm2015/lib/core/models/abandoned-basket-item.model.js → esm2020/lib/core/models/abandoned-basket-item.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/animate.model.js → esm2020/lib/core/models/animate.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/class.model.js → esm2020/lib/core/models/class.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/index.js → esm2020/lib/core/models/index.mjs} +0 -0
- /package/{esm2015/lib/core/models/link.model.js → esm2020/lib/core/models/link.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/position.model.js → esm2020/lib/core/models/position.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/utc-date.model.js → esm2020/lib/core/models/utc-date.model.mjs} +0 -0
- /package/{esm2015/lib/core/services/date/date-compare.enum.js → esm2020/lib/core/services/date/date-compare.enum.mjs} +0 -0
- /package/{esm2015/lib/core/services/geolocation/geolocation-state.enum.js → esm2020/lib/core/services/geolocation/geolocation-state.enum.mjs} +0 -0
- /package/{esm2015/lib/core/services/index.js → esm2020/lib/core/services/index.mjs} +0 -0
- /package/{esm2015/lib/index.js → esm2020/lib/index.mjs} +0 -0
- /package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
- /package/{esm2015/lib/shared/index.js → esm2020/lib/shared/index.mjs} +0 -0
- /package/{esm2015/lib/shared/models/flight-details.js → esm2020/lib/shared/models/flight-details.mjs} +0 -0
- /package/{esm2015/lib/shared/models/index.js → esm2020/lib/shared/models/index.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-availability-sort.model.js → esm2020/lib/shared/models/journey-availability-sort.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-availability.model.js → esm2020/lib/shared/models/journey-availability.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-details.model.js → esm2020/lib/shared/models/journey-details.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-duration.model.js → esm2020/lib/shared/models/journey-duration.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-stopover.model.js → esm2020/lib/shared/models/journey-stopover.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-transit-info.model.js → esm2020/lib/shared/models/journey-transit-info.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/operating-carrier.model.js → esm2020/lib/shared/models/operating-carrier.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/sort-option.model.js → esm2020/lib/shared/models/sort-option.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/sort.model.js → esm2020/lib/shared/models/sort.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/trip-item-details.model.js → esm2020/lib/shared/models/trip-item-details.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/trip-summary-details.model.js → esm2020/lib/shared/models/trip-summary-details.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/trip-summary.model.js → esm2020/lib/shared/models/trip-summary.model.mjs} +0 -0
- /package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ElementRef } from '@angular/core';
|
|
6
6
|
import { NasComponentBase } from '../../../core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SearchComponent extends NasComponentBase {
|
|
8
9
|
/**
|
|
9
10
|
* @description
|
|
@@ -20,4 +21,6 @@ export declare class SearchComponent extends NasComponentBase {
|
|
|
20
21
|
expanded: boolean;
|
|
21
22
|
blur(): void;
|
|
22
23
|
focus(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "nas-search", never, { "searchText": "searchText"; "searchForm": "searchForm"; }, {}, never, never, false, never>;
|
|
23
26
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PassengerType } from '../enums/passenger-type.enum';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
export interface PassengersModel {
|
|
4
4
|
label: string;
|
|
5
5
|
type: PassengerType;
|
|
6
6
|
count?: number;
|
|
7
7
|
formControlName?: string;
|
|
8
|
-
formGroup?:
|
|
8
|
+
formGroup?: UntypedFormGroup;
|
|
9
9
|
}
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
7
7
|
import { PassengerType } from './enums/passenger-type.enum';
|
|
8
8
|
import { PassengersModel } from './models/passengers.model';
|
|
9
9
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
10
10
|
import { NumberFieldComponent } from '../number-field/number-field.component';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @description
|
|
13
14
|
* Norwegian Passenger Select Component | Functional
|
|
@@ -67,7 +68,7 @@ export declare class PassengerSelectComponent extends NasComponentBase implement
|
|
|
67
68
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
68
69
|
* It is requiered to be filled if nasFormControlName added.
|
|
69
70
|
*/
|
|
70
|
-
nasFormGroup:
|
|
71
|
+
nasFormGroup: UntypedFormGroup;
|
|
71
72
|
/**
|
|
72
73
|
* @description
|
|
73
74
|
* Sets a formControlName directive to the input.
|
|
@@ -108,4 +109,6 @@ export declare class PassengerSelectComponent extends NasComponentBase implement
|
|
|
108
109
|
getMax(passengers: PassengersModel): number;
|
|
109
110
|
getMin(passengers: PassengersModel): number;
|
|
110
111
|
private setTotalCount;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PassengerSelectComponent, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PassengerSelectComponent, "nas-passenger-select", never, { "passengers": "passengers"; "maxPaxCount": "maxPaxCount"; "minAdultCount": "minAdultCount"; "groupBookingLimit": "groupBookingLimit"; "title": "title"; "adultsLabel": "adultsLabel"; "childrenLabel": "childrenLabel"; "infantsLabel": "infantsLabel"; "groupBookingLabel": "groupBookingLabel"; "nasFormGroup": "nasFormGroup"; "nasFormControlGroupBooking": "nasFormControlGroupBooking"; "ariaLabelSubtract": "ariaLabelSubtract"; "ariaLabelAdd": "ariaLabelAdd"; }, { "passengersChange": "passengersChange"; "focusOnNext": "focusOnNext"; "focusOnPrevious": "focusOnPrevious"; }, never, never, false, never>;
|
|
111
114
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./passenger-select.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../number-field/number-field.module";
|
|
5
|
+
import * as i4 from "../../core/directives/nas-class/nas-class.module";
|
|
1
6
|
export declare class PassengerSelectModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PassengerSelectModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PassengerSelectModule, [typeof i1.PassengerSelectComponent], [typeof i2.CommonModule, typeof i3.NumberFieldModule, typeof i4.NasClassModule], [typeof i1.PassengerSelectComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PassengerSelectModule>;
|
|
2
10
|
}
|
|
@@ -6,7 +6,8 @@ import { EventEmitter } from '@angular/core';
|
|
|
6
6
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
7
7
|
import { SelectOptionModel } from '../select/models/select-option.model';
|
|
8
8
|
import { ClassModel } from '../../core/models/class.model';
|
|
9
|
-
import {
|
|
9
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @description
|
|
12
13
|
* Norwegian Phone number Component | Form Controls
|
|
@@ -215,7 +216,7 @@ export declare class PhoneNumberComponent extends NasComponentBase {
|
|
|
215
216
|
* <nas-phone-number [nasFormGroup]="myForm"></nas-phone-number>
|
|
216
217
|
* ```
|
|
217
218
|
*/
|
|
218
|
-
nasFormGroup:
|
|
219
|
+
nasFormGroup: UntypedFormGroup;
|
|
219
220
|
/**
|
|
220
221
|
* @description
|
|
221
222
|
* A model binded with native input element of phone number component.
|
|
@@ -275,4 +276,6 @@ export declare class PhoneNumberComponent extends NasComponentBase {
|
|
|
275
276
|
selectedChange: EventEmitter<SelectOptionModel>;
|
|
276
277
|
constructor();
|
|
277
278
|
mainClass(): ClassModel;
|
|
279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberComponent, never>;
|
|
280
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneNumberComponent, "nas-phone-number", never, { "options": "options"; "preferredOptions": "preferredOptions"; "prefixCountryCode": "prefixCountryCode"; "label": "label"; "optionsLabel": "optionsLabel"; "preferredOptionsLabel": "preferredOptionsLabel"; "placeholder": "placeholder"; "id": "id"; "type": "type"; "error": "error"; "disabled": "disabled"; "spaceless": "spaceless"; "loading": "loading"; "errorMessage": "errorMessage"; "info": "info"; "icon": "icon"; "readonly": "readonly"; "ariaDescribedby": "aria-describedby"; "required": "required"; "nasFormControlName": "nasFormControlName"; "nasFormControlNamePrefix": "nasFormControlNamePrefix"; "nasFormGroup": "nasFormGroup"; "model": "model"; "cssClass": "cssClass"; "selectedValue": "selectedValue"; "selected": "selected"; }, { "modelChange": "modelChange"; "selectedChange": "selectedChange"; }, never, never, false, never>;
|
|
278
281
|
}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./phone-number.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 "../select/select.module";
|
|
6
|
+
import * as i5 from "../input/input.module";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../icon/icon.module";
|
|
1
9
|
export declare class PhoneNumberModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PhoneNumberModule, [typeof i1.PhoneNumberComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.SelectModule, typeof i5.InputModule, typeof i6.FormsModule, typeof i7.IconModule, typeof i6.ReactiveFormsModule], [typeof i1.PhoneNumberComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PhoneNumberModule>;
|
|
2
13
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
3
3
|
import { OptionModel } from '../toggle/models/options.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* @description
|
|
6
7
|
* Norwegian Premium Toggle Component | Functional
|
|
@@ -48,4 +49,6 @@ export declare class PremiumToggleComponent extends NasComponentBase implements
|
|
|
48
49
|
ngOnInit(): void;
|
|
49
50
|
reset(): void;
|
|
50
51
|
onChange(option: OptionModel): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PremiumToggleComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PremiumToggleComponent, "nas-premium-toggle", never, { "defaultValue": "defaultValue"; "standardLabel": "standardLabel"; "premiumLabel": "premiumLabel"; }, { "handleChange": "handleChange"; }, never, never, false, never>;
|
|
51
54
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./premium-toggle.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../toggle/toggle.module";
|
|
5
|
+
import * as i4 from "../../core/directives/nas-class/nas-class.module";
|
|
1
6
|
export declare class PremiumToggleModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PremiumToggleModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PremiumToggleModule, [typeof i1.PremiumToggleComponent], [typeof i2.CommonModule, typeof i3.ToggleModule, typeof i4.NasClassModule], [typeof i1.PremiumToggleComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PremiumToggleModule>;
|
|
2
10
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
2
2
|
import { NasComponentBase, ClassModel } from '../../core';
|
|
3
3
|
import { EventEmitter } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* @license
|
|
6
7
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
@@ -99,7 +100,7 @@ export declare class RadioComponent extends NasComponentBase {
|
|
|
99
100
|
* @example
|
|
100
101
|
* <nas-input [nasFormGroup]="loginGroup"></nas-input>
|
|
101
102
|
*/
|
|
102
|
-
nasFormGroup:
|
|
103
|
+
nasFormGroup: UntypedFormGroup;
|
|
103
104
|
/**
|
|
104
105
|
* @description
|
|
105
106
|
* Listen for checked change events.
|
|
@@ -112,4 +113,6 @@ export declare class RadioComponent extends NasComponentBase {
|
|
|
112
113
|
constructor();
|
|
113
114
|
mainClass(): ClassModel;
|
|
114
115
|
onChange(event: Event): void;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "nas-radio", never, { "id": "id"; "value": "value"; "name": "name"; "error": "error"; "disabled": "disabled"; "strong": "strong"; "block": "block"; "spaceless": "spaceless"; "tabIndex": "tabIndex"; "required": "required"; "ariaLabel": "aria-label"; "ariaDescribedby": "aria-describedby"; "ariaLabelledby": "aria-labelledby"; "checked": "checked"; "nasFormControlName": "nasFormControlName"; "nasFormGroup": "nasFormGroup"; }, { "checkedChange": "checkedChange"; }, never, ["*"], false, never>;
|
|
115
118
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./radio.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../core/directives/nas-class/nas-class.module";
|
|
1
6
|
export declare class RadioModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioModule, [typeof i1.RadioComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NasClassModule, typeof i3.ReactiveFormsModule], [typeof i1.RadioComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RadioModule>;
|
|
2
10
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { AfterViewChecked, QueryList, ElementRef } from '@angular/core';
|
|
6
6
|
import { OptionComponent } from '../option/option.component';
|
|
7
7
|
import { NasComponentBase } from '../../../core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class OptgroupComponent extends NasComponentBase implements AfterViewChecked {
|
|
9
10
|
private elementRef;
|
|
10
11
|
optionComponents: QueryList<OptionComponent>;
|
|
@@ -19,4 +20,6 @@ export declare class OptgroupComponent extends NasComponentBase implements After
|
|
|
19
20
|
label: string;
|
|
20
21
|
constructor(elementRef: ElementRef);
|
|
21
22
|
ngAfterViewChecked(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptgroupComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptgroupComponent, "nas-optgroup", never, { "label": "label"; }, {}, ["optionComponents"], ["*"], false, never>;
|
|
22
25
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { ElementRef, AfterViewChecked } from '@angular/core';
|
|
6
6
|
import { SelectOptionModel } from '../models/select-option.model';
|
|
7
7
|
import { NasComponentBase } from '../../../core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class OptionComponent extends NasComponentBase implements AfterViewChecked {
|
|
9
10
|
private elementRef;
|
|
10
11
|
/**
|
|
@@ -18,4 +19,6 @@ export declare class OptionComponent extends NasComponentBase implements AfterVi
|
|
|
18
19
|
option: SelectOptionModel;
|
|
19
20
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
20
21
|
ngAfterViewChecked(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "nas-option", never, { "option": "option"; }, {}, never, never, false, never>;
|
|
21
24
|
}
|
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { EventEmitter, ElementRef, ChangeDetectorRef, OnChanges, QueryList, AfterContentInit, AfterViewChecked } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
7
7
|
import { NasComponentBase } from '../../core';
|
|
8
8
|
import { ClassModel } from '../../core/models';
|
|
9
9
|
import { SelectOptionModel } from './models/select-option.model';
|
|
10
10
|
import { OptionComponent } from './option/option.component';
|
|
11
11
|
import { OptgroupComponent } from './optgroup/optgroup.component';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @description
|
|
14
15
|
* Norwegian Select Component | Form Controls
|
|
15
16
|
*/
|
|
16
17
|
export declare class SelectComponent extends NasComponentBase implements OnChanges, AfterViewChecked, AfterContentInit {
|
|
17
18
|
private change;
|
|
18
|
-
selectControl:
|
|
19
|
+
selectControl: UntypedFormControl;
|
|
19
20
|
labelWidth: number;
|
|
20
21
|
selectTitle: string;
|
|
21
22
|
hasContent: boolean;
|
|
@@ -121,7 +122,7 @@ export declare class SelectComponent extends NasComponentBase implements OnChang
|
|
|
121
122
|
* <nas-select [nasFormGroup]="classGroup"></nas-select>
|
|
122
123
|
* ```
|
|
123
124
|
*/
|
|
124
|
-
nasFormGroup:
|
|
125
|
+
nasFormGroup: UntypedFormGroup;
|
|
125
126
|
/**
|
|
126
127
|
* @description
|
|
127
128
|
* Add options to the selector.
|
|
@@ -165,4 +166,6 @@ export declare class SelectComponent extends NasComponentBase implements OnChang
|
|
|
165
166
|
private setFirstOptionSelected;
|
|
166
167
|
private updateShadow;
|
|
167
168
|
private setSelectedTitle;
|
|
169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
170
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "nas-select", never, { "id": "id"; "inline": "inline"; "label": "label"; "block": "block"; "spaceless": "spaceless"; "stretch": "stretch"; "compact": "compact"; "simple": "simple"; "light": "light"; "fill": "fill"; "error": "error"; "errorMessage": "errorMessage"; "disabled": "disabled"; "autogrow": "autogrow"; "cssClass": "cssClass"; "nasFormControlName": "nasFormControlName"; "nasFormGroup": "nasFormGroup"; "options": "options"; "selectedValue": "selectedValue"; "selected": "selected"; }, { "selectedChange": "selectedChange"; "keydown": "keydown"; }, ["optionComponents", "optgroupComponents"], ["*"], false, never>;
|
|
168
171
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./select.component";
|
|
3
|
+
import * as i2 from "./option/option.component";
|
|
4
|
+
import * as i3 from "./optgroup/optgroup.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "../../core/directives/nas-class/nas-class.module";
|
|
1
8
|
export declare class SelectModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectComponent, typeof i2.OptionComponent, typeof i3.OptgroupComponent], [typeof i4.CommonModule, typeof i5.ReactiveFormsModule, typeof i6.NasClassModule], [typeof i1.SelectComponent, typeof i2.OptionComponent, typeof i3.OptgroupComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
|
|
2
12
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* @description
|
|
4
5
|
* Norwegian Simple List Component | Layout
|
|
@@ -45,5 +46,7 @@ export declare class SimpleListComponent extends NasComponentBase {
|
|
|
45
46
|
*/
|
|
46
47
|
items: Array<string>;
|
|
47
48
|
constructor();
|
|
48
|
-
mainClass(): import("
|
|
49
|
+
mainClass(): import("@norwegian/core-components").ClassModel;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleListComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleListComponent, "nas-simple-list", never, { "markers": "markers"; "note": "note"; "positive": "positive"; "negative": "negative"; "goto": "goto"; "table": "table"; "spaceless": "spaceless"; "items": "items"; }, {}, never, ["*"], false, never>;
|
|
49
52
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./simple-list.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../core/directives/nas-class/nas-class.module";
|
|
1
5
|
export declare class SimpleListModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleListModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpleListModule, [typeof i1.SimpleListComponent], [typeof i2.CommonModule, typeof i3.NasClassModule], [typeof i1.SimpleListComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SimpleListModule>;
|
|
2
9
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
3
3
|
import { ClassModel } from '../../core/models/class.model';
|
|
4
|
-
import {
|
|
4
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* @description
|
|
7
8
|
* Norwegian Slide Toogle Component | Buttons and Indicators
|
|
@@ -20,7 +21,7 @@ export declare class SlideToggleComponent extends NasComponentBase implements On
|
|
|
20
21
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
21
22
|
* It is requiered to be filled if nasFormControlName added.
|
|
22
23
|
*/
|
|
23
|
-
nasFormGroup:
|
|
24
|
+
nasFormGroup: UntypedFormGroup;
|
|
24
25
|
/**
|
|
25
26
|
* @description
|
|
26
27
|
* Boolean to disable the slide toggle.
|
|
@@ -57,4 +58,6 @@ export declare class SlideToggleComponent extends NasComponentBase implements On
|
|
|
57
58
|
inputChanged(event: Event): void;
|
|
58
59
|
inputClicked(event: Event): void;
|
|
59
60
|
onKeydown(event: KeyboardEvent): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlideToggleComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlideToggleComponent, "nas-slide-toggle", never, { "nasFormControlName": "nasFormControlName"; "nasFormGroup": "nasFormGroup"; "disabled": "disabled"; "inputId": "inputId"; "toggle": "toggle"; }, { "toggleChange": "toggleChange"; "focusOnPrevious": "focusOnPrevious"; }, never, ["*"], false, never>;
|
|
60
63
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./slide-toggle.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 "@angular/forms";
|
|
1
6
|
export declare class SlideToggleModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlideToggleModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SlideToggleModule, [typeof i1.SlideToggleComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.ReactiveFormsModule, typeof i4.FormsModule], [typeof i1.SlideToggleComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SlideToggleModule>;
|
|
2
10
|
}
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
7
7
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @description
|
|
10
11
|
* Norwegian Slider Component | Form Controls
|
|
@@ -133,7 +134,7 @@ export declare class SliderComponent extends NasComponentBase implements OnInit,
|
|
|
133
134
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
134
135
|
* It is requiered to be filled if nasFormControlName added.
|
|
135
136
|
*/
|
|
136
|
-
nasFormGroup:
|
|
137
|
+
nasFormGroup: UntypedFormGroup;
|
|
137
138
|
/**
|
|
138
139
|
* @description
|
|
139
140
|
* An event that is fired every time the silder value changes
|
|
@@ -187,4 +188,6 @@ export declare class SliderComponent extends NasComponentBase implements OnInit,
|
|
|
187
188
|
private validateRangerSlider;
|
|
188
189
|
private activateBubble;
|
|
189
190
|
private setBubbleValue;
|
|
191
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
192
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "nas-slider", never, { "id": "id"; "range": "range"; "name": "name"; "title": "title"; "value": "value"; "selectedMinValue": "selectedMinValue"; "selectedMaxValue": "selectedMaxValue"; "minDiffRange": "minDiffRange"; "suffix": "suffix"; "isPrefix": "isPrefix"; "min": "min"; "minLabel": "minLabel"; "max": "max"; "maxLabel": "maxLabel"; "step": "step"; "disabled": "disabled"; "nasFormControlName": "nasFormControlName"; "nasFormControlMin": "nasFormControlMin"; "nasFormControlMax": "nasFormControlMax"; "nasFormGroup": "nasFormGroup"; }, { "valueChange": "valueChange"; "selectedMinValueChange": "selectedMinValueChange"; "selectedMaxValueChange": "selectedMaxValueChange"; }, never, never, false, never>;
|
|
190
193
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./slider.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 "@angular/forms";
|
|
1
6
|
export declare class SliderModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, [typeof i1.SliderComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.ReactiveFormsModule], [typeof i1.SliderComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SliderModule>;
|
|
2
10
|
}
|
|
@@ -6,6 +6,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
6
6
|
import { NasComponentBase } from '../../core';
|
|
7
7
|
import { SortModel } from '../../shared/models/sort.model';
|
|
8
8
|
import { SortOptionModel } from '../../shared/models/sort-option.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @description
|
|
11
12
|
* Norwegian Sort Component | Functional
|
|
@@ -44,4 +45,6 @@ export declare class SortComponent extends NasComponentBase {
|
|
|
44
45
|
checkSpaceless(option: SortOptionModel, index: number): boolean;
|
|
45
46
|
applyButtonClick(): void;
|
|
46
47
|
optionChanged(option: SortOptionModel, isChecked: boolean): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortComponent, "nas-sort", never, { "model": "model"; "open": "open"; "selectedOption": "selectedOption"; }, { "selectedOptionChange": "selectedOptionChange"; "applyButtonClicked": "applyButtonClicked"; }, never, never, false, never>;
|
|
47
50
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sort.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 "../dropdown/dropdown.module";
|
|
6
|
+
import * as i5 from "../radio/radio.module";
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
1
8
|
export declare class SortModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SortModule, [typeof i1.SortComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.DropdownModule, typeof i5.RadioModule, typeof i6.ButtonModule], [typeof i1.SortComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SortModule>;
|
|
2
12
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Renderer2, OnInit } from '@angular/core';
|
|
2
2
|
import { NasComponentBase } from '../../core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* @description
|
|
5
6
|
* Norwegian Spinner Component | Layout
|
|
@@ -92,4 +93,6 @@ export declare class SpinnerComponent extends NasComponentBase implements OnInit
|
|
|
92
93
|
ngOnInit(): void;
|
|
93
94
|
private setEnabled;
|
|
94
95
|
refreshPage(): void;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "nas-spinner", never, { "text": "text"; "refreshText": "refreshText"; "small": "small"; "overlay": "overlay"; "enable": "enable"; "refresh": "refresh"; "blockScrolling": "blockScrolling"; }, {}, never, never, false, never>;
|
|
95
98
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./spinner.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../core/directives/nas-class/nas-class.module";
|
|
1
5
|
export declare class SpinnerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpinnerModule, [typeof i1.SpinnerComponent], [typeof i2.CommonModule, typeof i3.NasClassModule], [typeof i1.SpinnerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SpinnerModule>;
|
|
2
9
|
}
|
|
@@ -3,6 +3,7 @@ import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
|
3
3
|
import { SelectOptionModel } from '../select/models/select-option.model';
|
|
4
4
|
import { SubsidyDiscountModel } from './models/subsidy-discount.model';
|
|
5
5
|
import { ButtonComponent } from '../button/button.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @description
|
|
8
9
|
* Norwegian Subsidy Discount Component | Functional
|
|
@@ -54,4 +55,6 @@ export declare class SubsidyDiscountComponent extends NasComponentBase {
|
|
|
54
55
|
onInfoButtonClick(): void;
|
|
55
56
|
onSelectedChange(option: SelectOptionModel): void;
|
|
56
57
|
onInfoButtonKeydown(event: KeyboardEvent): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubsidyDiscountComponent, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubsidyDiscountComponent, "nas-subsidy-discount", never, { "label": "label"; "icon": "icon"; "selectedDiscount": "selectedDiscount"; "discounts": "discounts"; }, { "infoButtonClick": "infoButtonClick"; "infoButtonKeydown": "infoButtonKeydown"; "discountSelectChange": "discountSelectChange"; }, never, never, false, never>;
|
|
57
60
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./subsidy-discount.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../select/select.module";
|
|
5
|
+
import * as i4 from "../../core/directives/nas-class/nas-class.module";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
1
8
|
export declare class SubsidyDiscountModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubsidyDiscountModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SubsidyDiscountModule, [typeof i1.SubsidyDiscountComponent], [typeof i2.CommonModule, typeof i3.SelectModule, typeof i4.NasClassModule, typeof i5.IconModule, typeof i6.ButtonModule], [typeof i1.SubsidyDiscountComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SubsidyDiscountModule>;
|
|
2
12
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
7
7
|
import { AirportModel } from '../airport-select/models/airport.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @description
|
|
10
11
|
* Norwegian Suggestions Component | Functional
|
|
@@ -27,4 +28,6 @@ export declare class SuggestionsComponent extends NasComponentBase {
|
|
|
27
28
|
airportSelect: EventEmitter<AirportModel>;
|
|
28
29
|
constructor();
|
|
29
30
|
onAirportSelect(airport: AirportModel): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuggestionsComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuggestionsComponent, "nas-suggestions", never, { "suggestions": "suggestions"; "orLabel": "orLabel"; }, { "airportSelect": "airportSelect"; }, never, never, false, never>;
|
|
30
33
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./suggestions.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../core/directives/nas-class/nas-class.module";
|
|
5
|
+
import * as i4 from "../button/button.module";
|
|
1
6
|
export declare class SuggestionsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuggestionsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SuggestionsModule, [typeof i1.SuggestionsComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.ButtonModule], [typeof i1.SuggestionsComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SuggestionsModule>;
|
|
2
10
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
6
6
|
import { NasComponentBase } from '../../../core/base/nas-component.base';
|
|
7
7
|
import { ClassModel } from '../../../core/models/class.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class TabComponent extends NasComponentBase implements OnInit {
|
|
9
10
|
private elementRef;
|
|
10
11
|
private changeDetector;
|
|
@@ -81,4 +82,6 @@ export declare class TabComponent extends NasComponentBase implements OnInit {
|
|
|
81
82
|
getTabContentId(): string;
|
|
82
83
|
getLabelId(): string;
|
|
83
84
|
getContentClass(): ClassModel;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "nas-tab", never, { "icon": "icon"; "label": "label"; "shadowless": "shadowless"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "tabClick": "tabClick"; "focusOnNext": "focusOnNext"; "focusOnPrevious": "focusOnPrevious"; }, never, ["*"], false, never>;
|
|
84
87
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QueryList, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { NasComponentBase } from '../../core';
|
|
3
3
|
import { TabComponent } from './tab/tab.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* @description
|
|
6
7
|
* Norwegian Tab Group Component | Layout
|
|
@@ -27,4 +28,6 @@ export declare class TabGroupComponent extends NasComponentBase implements After
|
|
|
27
28
|
shadowless: boolean;
|
|
28
29
|
constructor();
|
|
29
30
|
ngAfterViewInit(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "nas-tab-group", never, { "selectedIndex": "selectedIndex"; "fit": "fit"; "shadowless": "shadowless"; }, {}, ["tabs"], ["*"], false, never>;
|
|
30
33
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tab-group.component";
|
|
3
|
+
import * as i2 from "./tab/tab.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../core/directives/nas-class/nas-class.module";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
1
7
|
export declare class TabGroupModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TabGroupModule, [typeof i1.TabGroupComponent, typeof i2.TabComponent], [typeof i3.CommonModule, typeof i4.NasClassModule, typeof i5.IconModule], [typeof i1.TabGroupComponent, typeof i2.TabComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TabGroupModule>;
|
|
2
11
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class ColumnComponent {
|
|
2
3
|
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnComponent, "nas-column", never, {}, {}, never, ["*"], false, never>;
|
|
3
6
|
}
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { OnInit, ElementRef } from '@angular/core';
|
|
6
6
|
import '../../../core/extensions/html-element.extension';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ColumnGroupComponent implements OnInit {
|
|
8
9
|
private elementRef;
|
|
9
10
|
span: number;
|
|
10
11
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
11
12
|
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnGroupComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnGroupComponent, "nas-column-group", never, { "span": "span"; }, {}, never, ["nas-column"], false, never>;
|
|
12
15
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import '../../../core/extensions/html-element.extension';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class TableService {
|
|
3
4
|
constructor();
|
|
4
5
|
replaceNativeElement(raplaceTagName: string, nativeElement: HTMLElement): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TableService>;
|
|
5
8
|
}
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
6
6
|
import { TableService } from '../services/table.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TableBodyComponent implements AfterViewInit {
|
|
8
9
|
private elementRef;
|
|
9
10
|
private tableService;
|
|
10
11
|
constructor(elementRef: ElementRef<HTMLElement>, tableService: TableService);
|
|
11
12
|
ngAfterViewInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent, "nas-table-body", never, {}, {}, never, ["nas-table-row"], false, never>;
|
|
12
15
|
}
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
6
6
|
import { TableService } from '../services/table.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TableFootComponent implements AfterViewInit {
|
|
8
9
|
private elementRef;
|
|
9
10
|
private tableService;
|
|
10
11
|
constructor(elementRef: ElementRef<HTMLElement>, tableService: TableService);
|
|
11
12
|
ngAfterViewInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableFootComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableFootComponent, "nas-table-foot", never, {}, {}, never, ["nas-table-row"], false, never>;
|
|
12
15
|
}
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
6
6
|
import { TableService } from '../services/table.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TableHeadComponent implements AfterViewInit {
|
|
8
9
|
private elementRef;
|
|
9
10
|
private tableService;
|
|
10
11
|
constructor(elementRef: ElementRef<HTMLElement>, tableService: TableService);
|
|
11
12
|
ngAfterViewInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeadComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeadComponent, "nas-table-head", never, {}, {}, never, ["nas-table-row"], false, never>;
|
|
12
15
|
}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class TableDataComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableDataComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableDataComponent, "nas-table-data", never, {}, {}, never, ["*"], false, never>;
|
|
2
5
|
}
|