@norwegian/core-components 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -0
- package/assets/documentation/accordion/accordion.md +1 -0
- package/assets/documentation/airport-select/airport-select.md +0 -0
- package/assets/documentation/autocomplete/autocomplete.md +1 -0
- package/assets/documentation/box/box.md +1 -0
- package/assets/documentation/button/button.md +10 -0
- package/assets/documentation/checkbox/checkbox.md +7 -0
- package/assets/documentation/chip/chip.md +1 -0
- package/assets/documentation/container/container.md +1 -0
- package/assets/documentation/continue/continue.md +1 -0
- package/assets/documentation/cover/cover.md +1 -0
- package/assets/documentation/datepicker/calendar/calendar.md +3 -0
- package/assets/documentation/datepicker/datepicker.md +3 -0
- package/assets/documentation/datepicker-combo/datepicker-combo.md +1 -0
- package/assets/documentation/dropdown/dropdown.md +3 -0
- package/assets/documentation/filter/filter.md +0 -0
- package/assets/documentation/grid/grid.md +1 -0
- package/assets/documentation/icon/icon.md +4 -0
- package/assets/documentation/icon-list/icon-list.md +1 -0
- package/assets/documentation/info/info.md +1 -0
- package/assets/documentation/input/input.md +1 -0
- package/assets/documentation/journey/journey.md +1 -0
- package/assets/documentation/journey-availability/journey-availability.md +3 -0
- package/assets/documentation/journey-availability-list/journey-availability-list.md +9 -0
- package/assets/documentation/journey-selection/journey-selection.md +1 -0
- package/assets/documentation/journey-stopover/journey-stopover.md +1 -0
- package/assets/documentation/list/list.md +1 -0
- package/assets/documentation/modal/modal.md +0 -0
- package/assets/documentation/number-field/number-field.md +1 -0
- package/assets/documentation/page-footer/page-footer.md +1 -0
- package/assets/documentation/page-header/page-header.md +1 -0
- package/assets/documentation/passenger-select/passenger-select.md +1 -0
- package/assets/documentation/phone-number/phone-number.md +2 -0
- package/assets/documentation/premium-toggle/premium-toggle.md +9 -0
- package/assets/documentation/radio/radio.md +7 -0
- package/assets/documentation/select/select.md +1 -0
- package/assets/documentation/simple-list/simple-list.md +1 -0
- package/assets/documentation/slide-toggle/slide-toggle.md +1 -0
- package/assets/documentation/slider/slider.md +1 -0
- package/assets/documentation/sort/sort.md +1 -0
- package/assets/documentation/spinner/spinner.md +1 -0
- package/assets/documentation/subsidy-discount/subsidy-discount.md +3 -0
- package/assets/documentation/suggestions/suggestions.md +1 -0
- package/assets/documentation/tab-group/tab-group.md +1 -0
- package/assets/documentation/table/table.md +8 -0
- package/assets/documentation/textarea/textarea.md +1 -0
- package/assets/documentation/toggle/toggle.md +5 -0
- package/assets/documentation/trip-summary/trip-summary.md +2 -0
- package/assets/documentation/weather-icon/weather-icon.md +1 -0
- package/assets/fonts/TiemposHeadlineWeb-Bold.eot +0 -0
- package/assets/fonts/TiemposHeadlineWeb-Bold.woff +0 -0
- package/assets/fonts/TiemposHeadlineWeb-Bold.woff2 +0 -0
- package/assets/fonts/TiemposHeadlineWeb-BoldItalic.eot +0 -0
- package/assets/fonts/TiemposHeadlineWeb-BoldItalic.woff +0 -0
- package/assets/fonts/TiemposHeadlineWeb-BoldItalic.woff2 +0 -0
- package/assets/fonts/TiemposText-Medium.eot +0 -0
- package/assets/fonts/TiemposText-Medium.woff +0 -0
- package/assets/fonts/TiemposText-Medium.woff2 +0 -0
- package/assets/fonts/TiemposTextWeb-Italic.eot +0 -0
- package/assets/fonts/TiemposTextWeb-Italic.woff +0 -0
- package/assets/fonts/TiemposTextWeb-Italic.woff2 +0 -0
- package/assets/fonts/TiemposTextWeb-Regular.eot +0 -0
- package/assets/fonts/TiemposTextWeb-Regular.woff +0 -0
- package/assets/fonts/TiemposTextWeb-Regular.woff2 +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.svg +12420 -0
- 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 +10193 -0
- 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 +12831 -0
- 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 +9704 -0
- 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 +12354 -0
- 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 +12254 -0
- 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 +538 -0
- 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 +13059 -0
- 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 +11356 -0
- 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/assets/icons/flags/ar.svg +20 -0
- package/assets/icons/flags/br.svg +30 -0
- package/assets/icons/flags/ca.svg +18 -0
- package/assets/icons/flags/de.svg +20 -0
- package/assets/icons/flags/dk.svg +20 -0
- package/assets/icons/flags/en.svg +20 -0
- package/assets/icons/flags/es.svg +20 -0
- package/assets/icons/flags/fi.svg +20 -0
- package/assets/icons/flags/fr.svg +20 -0
- package/assets/icons/flags/ie.svg +22 -0
- package/assets/icons/flags/it.svg +20 -0
- package/assets/icons/flags/nl.svg +20 -0
- package/assets/icons/flags/no.svg +20 -0
- package/assets/icons/flags/pl.svg +20 -0
- package/assets/icons/flags/se.svg +20 -0
- package/assets/icons/flags/uk.svg +20 -0
- package/assets/icons/flags/us.svg +20 -0
- package/assets/icons/icon-add--light.svg +11 -0
- package/assets/icons/icon-add.svg +7 -0
- package/assets/icons/icon-arrow-left--light.svg +7 -0
- package/assets/icons/icon-arrow-left.svg +7 -0
- package/assets/icons/icon-arrow-right--light.svg +7 -0
- package/assets/icons/icon-arrow-right.svg +6 -0
- package/assets/icons/icon-check.svg +7 -0
- package/assets/icons/icon-chevron-down.svg +1 -0
- package/assets/icons/icon-chevron-left--light.svg +1 -0
- package/assets/icons/icon-chevron-left-outlined.svg +4 -0
- package/assets/icons/icon-chevron-left.svg +1 -0
- package/assets/icons/icon-chevron-right--light.svg +1 -0
- package/assets/icons/icon-chevron-right-outlined.svg +4 -0
- package/assets/icons/icon-chevron-right.svg +1 -0
- package/assets/icons/icon-dropdown-arrow--disabled.svg +8 -0
- package/assets/icons/icon-dropdown-arrow--light.svg +8 -0
- package/assets/icons/icon-dropdown-arrow.svg +8 -0
- package/assets/icons/icon-error.svg +11 -0
- package/assets/icons/icon-flight-direct.svg +8 -0
- package/assets/icons/icon-flight-one-stop.svg +8 -0
- package/assets/icons/icon-flight-two-stops.svg +9 -0
- package/assets/icons/icon-geolocation--disabled.svg +8 -0
- package/assets/icons/icon-geolocation--light.svg +8 -0
- package/assets/icons/icon-geolocation.svg +8 -0
- package/assets/icons/icon-goto.svg +8 -0
- package/assets/icons/icon-home.svg +1 -0
- package/assets/icons/icon-marker.svg +8 -0
- package/assets/icons/icon-menu--dark.svg +9 -0
- package/assets/icons/icon-menu.svg +9 -0
- package/assets/icons/icon-nav_right--large.svg +7 -0
- package/assets/icons/icon-nav_right--small.svg +7 -0
- package/assets/icons/icon-nav_right.svg +7 -0
- package/assets/icons/icon-negative.svg +11 -0
- package/assets/icons/icon-ol_li.svg +7 -0
- package/assets/icons/icon-one-stop-arrow.svg +8 -0
- package/assets/icons/icon-passenger--children.svg +1 -0
- package/assets/icons/icon-passenger--female.svg +1 -0
- package/assets/icons/icon-passenger--infant.svg +1 -0
- package/assets/icons/icon-passenger--male.svg +1 -0
- package/assets/icons/icon-positive.svg +10 -0
- package/assets/icons/icon-red-circle.svg +7 -0
- package/assets/icons/icon-remove.svg +8 -0
- package/assets/icons/icon-share_facebook.svg +10 -0
- package/assets/icons/icon-share_instagram.svg +12 -0
- package/assets/icons/icon-share_twitter.svg +13 -0
- package/assets/icons/icon-share_youtube.svg +11 -0
- package/assets/icons/icon-star.svg +9 -0
- package/assets/icons/icon-subtract--light.svg +12 -0
- package/assets/icons/icon-subtract.svg +9 -0
- package/assets/icons/icon-switch--secondary.svg +1 -0
- package/assets/icons/icon-switch.svg +1 -0
- package/assets/icons/icon-two-stops-arrow.svg +10 -0
- package/assets/icons/large/baggage-hand-baggage.svg +41 -0
- package/assets/icons/large/baggage.svg +75 -0
- package/assets/icons/large/car-rentals.svg +61 -0
- package/assets/icons/large/cashpoints.svg +92 -0
- package/assets/icons/large/celebration.svg +77 -0
- package/assets/icons/large/central-airports.svg +44 -0
- package/assets/icons/large/customer-service.svg +47 -0
- package/assets/icons/large/destinations.svg +78 -0
- package/assets/icons/large/direct-flights.svg +73 -0
- package/assets/icons/large/entertainment.svg +89 -0
- package/assets/icons/large/family.svg +88 -0
- package/assets/icons/large/fast-track.svg +57 -0
- package/assets/icons/large/food.svg +48 -0
- package/assets/icons/large/from-a-to-b.svg +66 -0
- package/assets/icons/large/hotels.svg +84 -0
- package/assets/icons/large/lounge.svg +67 -0
- package/assets/icons/large/new-aircrafts.svg +60 -0
- package/assets/icons/large/personnel.svg +54 -0
- package/assets/icons/large/premium.svg +49 -0
- package/assets/icons/large/wifi.svg +112 -0
- package/assets/icons/list--journey.svg +207 -0
- package/assets/icons/medium/accommodation--light.svg +16 -0
- package/assets/icons/medium/accommodation.svg +15 -0
- package/assets/icons/medium/alert--error.svg +11 -0
- package/assets/icons/medium/alert--light.svg +10 -0
- package/assets/icons/medium/alert--success.svg +9 -0
- package/assets/icons/medium/alert.svg +11 -0
- package/assets/icons/medium/arrow-down--light.svg +11 -0
- package/assets/icons/medium/arrow-down.svg +11 -0
- package/assets/icons/medium/arrow-left--light.svg +11 -0
- package/assets/icons/medium/arrow-left.svg +11 -0
- package/assets/icons/medium/arrow-right--light.svg +11 -0
- package/assets/icons/medium/arrow-right.svg +11 -0
- package/assets/icons/medium/arrow-up--light.svg +11 -0
- package/assets/icons/medium/arrow-up.svg +11 -0
- package/assets/icons/medium/baggage--light.svg +10 -0
- package/assets/icons/medium/baggage-checked-in--light.svg +19 -0
- package/assets/icons/medium/baggage-checked-in.svg +20 -0
- package/assets/icons/medium/baggage-hand-baggage--light.svg +32 -0
- package/assets/icons/medium/baggage-hand-baggage.svg +36 -0
- package/assets/icons/medium/baggage-special-baggage--light.svg +21 -0
- package/assets/icons/medium/baggage-special-baggage.svg +23 -0
- package/assets/icons/medium/baggage-sports-equipment--light.svg +18 -0
- package/assets/icons/medium/baggage-sports-equipment.svg +21 -0
- package/assets/icons/medium/baggage.svg +11 -0
- package/assets/icons/medium/baggages--light.svg +1 -0
- package/assets/icons/medium/baggages.svg +1 -0
- package/assets/icons/medium/car-rental--light.svg +26 -0
- package/assets/icons/medium/car-rental.svg +26 -0
- package/assets/icons/medium/card--light.svg +18 -0
- package/assets/icons/medium/card.svg +18 -0
- package/assets/icons/medium/cashpoints--light.svg +29 -0
- package/assets/icons/medium/cashpoints.svg +31 -0
- package/assets/icons/medium/central-airports--light.svg +25 -0
- package/assets/icons/medium/central-airports.svg +25 -0
- package/assets/icons/medium/customer-service--light.svg +19 -0
- package/assets/icons/medium/customer-service.svg +22 -0
- package/assets/icons/medium/direct-flights--light.svg +24 -0
- package/assets/icons/medium/direct-flights.svg +25 -0
- package/assets/icons/medium/direct-to-gate--light.svg +18 -0
- package/assets/icons/medium/direct-to-gate.svg +18 -0
- package/assets/icons/medium/docs--light.svg +10 -0
- package/assets/icons/medium/docs.svg +10 -0
- package/assets/icons/medium/entertainment--light.svg +71 -0
- package/assets/icons/medium/entertainment.svg +81 -0
- package/assets/icons/medium/facebook.svg +12 -0
- package/assets/icons/medium/family.svg +29 -0
- package/assets/icons/medium/fast-track--light.svg +19 -0
- package/assets/icons/medium/fast-track.svg +23 -0
- package/assets/icons/medium/flexible-tickets--light.svg +16 -0
- package/assets/icons/medium/flexible-tickets.svg +18 -0
- package/assets/icons/medium/flight-arrival--light.svg +16 -0
- package/assets/icons/medium/flight-arrival.svg +15 -0
- package/assets/icons/medium/flight-departure--light.svg +12 -0
- package/assets/icons/medium/flight-departure.svg +12 -0
- package/assets/icons/medium/flight-oneway--light.svg +12 -0
- package/assets/icons/medium/flight-oneway.svg +13 -0
- package/assets/icons/medium/flight-outbound--light.svg +11 -0
- package/assets/icons/medium/flight-outbound.svg +11 -0
- package/assets/icons/medium/flight-return--light.svg +11 -0
- package/assets/icons/medium/flight-return-trip.svg +13 -0
- package/assets/icons/medium/flight-return.svg +11 -0
- package/assets/icons/medium/flight-tickets--light.svg +22 -0
- package/assets/icons/medium/flight-tickets.svg +21 -0
- package/assets/icons/medium/food--light.svg +16 -0
- package/assets/icons/medium/food.svg +19 -0
- package/assets/icons/medium/frequent-departures--light.svg +16 -0
- package/assets/icons/medium/frequent-departures.svg +16 -0
- package/assets/icons/medium/from-a-to-b--light.svg +17 -0
- package/assets/icons/medium/from-a-to-b.svg +17 -0
- package/assets/icons/medium/in-flight-entertainment--light.svg +20 -0
- package/assets/icons/medium/in-flight-entertainment.svg +21 -0
- package/assets/icons/medium/instagram.svg +14 -0
- package/assets/icons/medium/linkedin.svg +17 -0
- package/assets/icons/medium/lounge--light.svg +19 -0
- package/assets/icons/medium/lounge.svg +21 -0
- package/assets/icons/medium/mobile--light.svg +10 -0
- package/assets/icons/medium/mobile.svg +9 -0
- package/assets/icons/medium/my-profile-female.svg +55 -0
- package/assets/icons/medium/my-profile-male.svg +48 -0
- package/assets/icons/medium/new-airplanes--light.svg +14 -0
- package/assets/icons/medium/new-airplanes.svg +14 -0
- package/assets/icons/medium/personnel--light.svg +19 -0
- package/assets/icons/medium/personnel.svg +27 -0
- package/assets/icons/medium/phone--light.svg +15 -0
- package/assets/icons/medium/phone.svg +15 -0
- package/assets/icons/medium/premium--light.svg +23 -0
- package/assets/icons/medium/premium.svg +23 -0
- package/assets/icons/medium/print--light.svg +14 -0
- package/assets/icons/medium/printer.svg +14 -0
- package/assets/icons/medium/relax--light.svg +27 -0
- package/assets/icons/medium/relax.svg +28 -0
- package/assets/icons/medium/rewards--light.svg +19 -0
- package/assets/icons/medium/rewards-fast-track.svg +17 -0
- package/assets/icons/medium/rewards-luggage.svg +22 -0
- package/assets/icons/medium/rewards-seat.svg +21 -0
- package/assets/icons/medium/rewards.svg +19 -0
- package/assets/icons/medium/route-network--light.svg +28 -0
- package/assets/icons/medium/route-network.svg +28 -0
- package/assets/icons/medium/seat-reservation--light.svg +16 -0
- package/assets/icons/medium/seat-reservation.svg +16 -0
- package/assets/icons/medium/special-needs--light.svg +15 -0
- package/assets/icons/medium/special-needs.svg +15 -0
- package/assets/icons/medium/transit-stop--light.svg +30 -0
- package/assets/icons/medium/transit-stop.svg +33 -0
- package/assets/icons/medium/trash--light.svg +7 -0
- package/assets/icons/medium/trash.svg +7 -0
- package/assets/icons/medium/travel-deals--light.svg +24 -0
- package/assets/icons/medium/travel-deals.svg +24 -0
- package/assets/icons/medium/twitter.svg +17 -0
- package/assets/icons/medium/type-asia--light.svg +19 -0
- package/assets/icons/medium/type-asia.svg +19 -0
- package/assets/icons/medium/type-city-vibes--light.svg +14 -0
- package/assets/icons/medium/type-city-vibes.svg +14 -0
- package/assets/icons/medium/type-greece--light.svg +24 -0
- package/assets/icons/medium/type-greece.svg +28 -0
- package/assets/icons/medium/type-norway--light.svg +18 -0
- package/assets/icons/medium/type-norway.svg +18 -0
- package/assets/icons/medium/type-scandinavia--light.svg +32 -0
- package/assets/icons/medium/type-scandinavia.svg +32 -0
- package/assets/icons/medium/type-shopping--light.svg +20 -0
- package/assets/icons/medium/type-shopping.svg +20 -0
- package/assets/icons/medium/type-skiing--light.svg +32 -0
- package/assets/icons/medium/type-skiing.svg +32 -0
- package/assets/icons/medium/type-spain--light.svg +12 -0
- package/assets/icons/medium/type-spain.svg +12 -0
- package/assets/icons/medium/type-sun-and-sea--light.svg +34 -0
- package/assets/icons/medium/type-sun-and-sea.svg +34 -0
- package/assets/icons/medium/type-usa--light.svg +46 -0
- package/assets/icons/medium/type-usa.svg +46 -0
- package/assets/icons/medium/wifi--light.svg +15 -0
- package/assets/icons/medium/wifi.svg +15 -0
- package/assets/icons/medium/youtube.svg +12 -0
- package/assets/icons/mobile-landscape.svg +12 -0
- package/assets/icons/mobile-portrait.svg +12 -0
- package/assets/icons/small/accommodation--light.svg +15 -0
- package/assets/icons/small/accommodation.svg +21 -0
- package/assets/icons/small/alert--error.svg +7 -0
- package/assets/icons/small/alert--light.svg +10 -0
- package/assets/icons/small/alert.svg +10 -0
- package/assets/icons/small/arrow-down--light.svg +11 -0
- package/assets/icons/small/arrow-down.svg +11 -0
- package/assets/icons/small/arrow-left--light.svg +10 -0
- package/assets/icons/small/arrow-left.svg +10 -0
- package/assets/icons/small/arrow-right--light.svg +11 -0
- package/assets/icons/small/arrow-right.svg +11 -0
- package/assets/icons/small/arrow-up--light.svg +10 -0
- package/assets/icons/small/arrow-up.svg +10 -0
- package/assets/icons/small/baggage--light.svg +8 -0
- package/assets/icons/small/baggage-checked-in--light.svg +16 -0
- package/assets/icons/small/baggage-checked-in.svg +16 -0
- package/assets/icons/small/baggage-hand-baggage--light.svg +11 -0
- package/assets/icons/small/baggage-hand-baggage.svg +11 -0
- package/assets/icons/small/baggage-special-baggage--light.svg +20 -0
- package/assets/icons/small/baggage-special-baggage.svg +20 -0
- package/assets/icons/small/baggage-sports-equipment--light.svg +25 -0
- package/assets/icons/small/baggage-sports-equipment.svg +25 -0
- package/assets/icons/small/baggage.svg +10 -0
- package/assets/icons/small/baggages--light.svg +1 -0
- package/assets/icons/small/baggages.svg +1 -0
- package/assets/icons/small/calendar--disabled.svg +14 -0
- package/assets/icons/small/calendar--light.svg +14 -0
- package/assets/icons/small/calendar.svg +14 -0
- package/assets/icons/small/car-rental--light.svg +14 -0
- package/assets/icons/small/car-rental.svg +14 -0
- package/assets/icons/small/card--light.svg +8 -0
- package/assets/icons/small/card.svg +8 -0
- package/assets/icons/small/cashpoints--light.svg +21 -0
- package/assets/icons/small/cashpoints.svg +21 -0
- package/assets/icons/small/central-airports--light.svg +10 -0
- package/assets/icons/small/central-airports.svg +10 -0
- package/assets/icons/small/check-in--light.svg +11 -0
- package/assets/icons/small/check-in.svg +11 -0
- package/assets/icons/small/customer-service--light.svg +18 -0
- package/assets/icons/small/customer-service.svg +18 -0
- package/assets/icons/small/destination--light.svg +9 -0
- package/assets/icons/small/destination.svg +9 -0
- package/assets/icons/small/direct-flights--light.svg +16 -0
- package/assets/icons/small/direct-flights.svg +16 -0
- package/assets/icons/small/docs--light.svg +10 -0
- package/assets/icons/small/docs.svg +10 -0
- package/assets/icons/small/duty-free.svg +24 -0
- package/assets/icons/small/email.svg +1 -0
- package/assets/icons/small/facebook.svg +12 -0
- package/assets/icons/small/family.svg +24 -0
- package/assets/icons/small/fast-track--light.svg +15 -0
- package/assets/icons/small/fast-track.svg +15 -0
- package/assets/icons/small/flexible-tickets--light.svg +12 -0
- package/assets/icons/small/flexible-tickets.svg +12 -0
- package/assets/icons/small/flight-arrival--light.svg +13 -0
- package/assets/icons/small/flight-arrival.svg +16 -0
- package/assets/icons/small/flight-departure--light.svg +18 -0
- package/assets/icons/small/flight-departure-ground.svg +22 -0
- package/assets/icons/small/flight-departure-left.svg +18 -0
- package/assets/icons/small/flight-departure.svg +18 -0
- package/assets/icons/small/flight-outbound--light.svg +14 -0
- package/assets/icons/small/flight-outbound.svg +14 -0
- package/assets/icons/small/flight-return--light.svg +14 -0
- package/assets/icons/small/flight-return.svg +14 -0
- package/assets/icons/small/flight-tickets--light.svg +17 -0
- package/assets/icons/small/flight-tickets.svg +17 -0
- package/assets/icons/small/food--light.svg +15 -0
- package/assets/icons/small/food.svg +15 -0
- package/assets/icons/small/from-a-to-b--light.svg +21 -0
- package/assets/icons/small/from-a-to-b.svg +23 -0
- package/assets/icons/small/google-plus.svg +1 -0
- package/assets/icons/small/hotel--light.svg +10 -0
- package/assets/icons/small/hotel.svg +11 -0
- package/assets/icons/small/in-flight-entertainment--light.svg +10 -0
- package/assets/icons/small/in-flight-entertainment.svg +10 -0
- package/assets/icons/small/info--light.svg +4 -0
- package/assets/icons/small/info--outlined.svg +4 -0
- package/assets/icons/small/info.svg +4 -0
- package/assets/icons/small/instagram.svg +14 -0
- package/assets/icons/small/linkedin.svg +18 -0
- package/assets/icons/small/lounge--light.svg +18 -0
- package/assets/icons/small/lounge.svg +18 -0
- package/assets/icons/small/mail--light.svg +9 -0
- package/assets/icons/small/mail.svg +9 -0
- package/assets/icons/small/mobile--light.svg +8 -0
- package/assets/icons/small/mobile.svg +8 -0
- package/assets/icons/small/my-profile--light.svg +14 -0
- package/assets/icons/small/my-profile-female--light.svg +49 -0
- package/assets/icons/small/my-profile-female.svg +48 -0
- package/assets/icons/small/my-profile-male--light.svg +49 -0
- package/assets/icons/small/my-profile-male.svg +50 -0
- package/assets/icons/small/my-profile.svg +14 -0
- package/assets/icons/small/new-airplanes--light.svg +14 -0
- package/assets/icons/small/new-airplanes.svg +14 -0
- package/assets/icons/small/personnel--light.svg +14 -0
- package/assets/icons/small/personnel.svg +14 -0
- package/assets/icons/small/pintrest.svg +1 -0
- package/assets/icons/small/premium--light.svg +17 -0
- package/assets/icons/small/premium.svg +17 -0
- package/assets/icons/small/print.svg +14 -0
- package/assets/icons/small/reddit.svg +1 -0
- package/assets/icons/small/rewards--light.svg +19 -0
- package/assets/icons/small/rewards-fast-track.svg +17 -0
- package/assets/icons/small/rewards-luggage.svg +22 -0
- package/assets/icons/small/rewards-seat.svg +22 -0
- package/assets/icons/small/rewards.svg +19 -0
- package/assets/icons/small/route-network--light.svg +25 -0
- package/assets/icons/small/route-network.svg +25 -0
- package/assets/icons/small/search--light.svg +16 -0
- package/assets/icons/small/search.svg +16 -0
- package/assets/icons/small/seat-reservation--light.svg +14 -0
- package/assets/icons/small/seat-reservation.svg +14 -0
- package/assets/icons/small/skis--light.svg +24 -0
- package/assets/icons/small/skis.svg +24 -0
- package/assets/icons/small/special-needs--light.svg +16 -0
- package/assets/icons/small/special-needs.svg +16 -0
- package/assets/icons/small/sun--light.svg +17 -0
- package/assets/icons/small/sun.svg +19 -0
- package/assets/icons/small/transit-stop--light.svg +19 -0
- package/assets/icons/small/transit-stop.svg +21 -0
- package/assets/icons/small/trash--light.svg +7 -0
- package/assets/icons/small/trash.svg +7 -0
- package/assets/icons/small/travel-deals--light.svg +9 -0
- package/assets/icons/small/travel-deals.svg +9 -0
- package/assets/icons/small/twitter.svg +17 -0
- package/assets/icons/small/type-asia--light.svg +20 -0
- package/assets/icons/small/type-asia.svg +20 -0
- package/assets/icons/small/type-city-vibes--light.svg +10 -0
- package/assets/icons/small/type-city-vibes.svg +10 -0
- package/assets/icons/small/type-greece--light.svg +22 -0
- package/assets/icons/small/type-greece.svg +22 -0
- package/assets/icons/small/type-norway--light.svg +15 -0
- package/assets/icons/small/type-norway.svg +15 -0
- package/assets/icons/small/type-scandinavia--light.svg +17 -0
- package/assets/icons/small/type-scandinavia.svg +35 -0
- package/assets/icons/small/type-shopping--light.svg +13 -0
- package/assets/icons/small/type-shopping.svg +13 -0
- package/assets/icons/small/type-skiing--light.svg +18 -0
- package/assets/icons/small/type-skiing.svg +18 -0
- package/assets/icons/small/type-spain--light.svg +12 -0
- package/assets/icons/small/type-spain.svg +12 -0
- package/assets/icons/small/type-sun-and-sea--light.svg +59 -0
- package/assets/icons/small/type-sun-and-sea.svg +59 -0
- package/assets/icons/small/type-usa--light.svg +24 -0
- package/assets/icons/small/type-usa.svg +24 -0
- package/assets/icons/small/wifi--light.svg +17 -0
- package/assets/icons/small/wifi.svg +17 -0
- package/assets/icons/small/youtube.svg +11 -0
- package/assets/icons/tablet-landscape.svg +12 -0
- package/assets/icons/tablet-portrait.svg +12 -0
- package/assets/icons/upgrade.svg +8 -0
- package/assets/icons/weather/humidity.svg +1 -0
- package/assets/icons/weather/sun.svg +1 -0
- package/assets/icons/weather/sunrise.svg +1 -0
- package/assets/icons/weather/sunset.svg +1 -0
- package/assets/icons/weather/temperature.svg +1 -0
- package/assets/icons/weather/weather--cloud.svg +1 -0
- package/assets/icons/weather/weather--rain-sun.svg +1 -0
- package/assets/icons/weather/weather--rain.svg +1 -0
- package/assets/icons/weather/weather--storm.svg +1 -0
- package/assets/icons/weather/weather--sun-cloud.svg +1 -0
- package/assets/icons/weather/weather--sun.svg +1 -0
- package/assets/images/cloud-1.svg +1 -0
- package/assets/images/logo--mobile.svg +50 -0
- package/assets/images/logo.svg +135 -0
- package/assets/images/slider-bar.svg +7 -0
- package/assets/images/slider-thumb-disabled.svg +19 -0
- package/assets/images/slider-thumb.svg +14 -0
- package/bundles/norwegian-core-components.umd.js +11898 -0
- package/bundles/norwegian-core-components.umd.js.map +1 -0
- package/esm2015/lib/components/accordion/accordion.component.js +118 -0
- package/esm2015/lib/components/accordion/accordion.module.js +15 -0
- package/esm2015/lib/components/accordion/index.js +3 -0
- package/esm2015/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.js +583 -0
- package/esm2015/lib/components/airport-select/airport-select.component.js +400 -0
- package/esm2015/lib/components/airport-select/airport-select.module.js +27 -0
- package/esm2015/lib/components/airport-select/index.js +4 -0
- package/esm2015/lib/components/airport-select/models/airport.model.js +2 -0
- package/esm2015/lib/components/airport-select/models/results-labels.model.js +3 -0
- package/esm2015/lib/components/airport-select/services/airport-select-dropdown.service.js +34 -0
- package/esm2015/lib/components/airport-select/services/airport-select.service.js +29 -0
- package/esm2015/lib/components/autocomplete/autocomplete.component.js +265 -0
- package/esm2015/lib/components/autocomplete/autocomplete.module.js +26 -0
- package/esm2015/lib/components/autocomplete/index.js +4 -0
- package/esm2015/lib/components/autocomplete/models/autocomplete.model.js +2 -0
- package/esm2015/lib/components/backdrop/backdrop.component.js +54 -0
- package/esm2015/lib/components/backdrop/backdrop.module.js +17 -0
- package/esm2015/lib/components/backdrop/index.js +3 -0
- package/esm2015/lib/components/box/box.component.js +61 -0
- package/esm2015/lib/components/box/box.module.js +14 -0
- package/esm2015/lib/components/box/index.js +3 -0
- package/esm2015/lib/components/button/button.component.js +140 -0
- package/esm2015/lib/components/button/button.module.js +15 -0
- package/esm2015/lib/components/button/index.js +3 -0
- package/esm2015/lib/components/checkbox/checkbox.component.js +125 -0
- package/esm2015/lib/components/checkbox/checkbox.module.js +15 -0
- package/esm2015/lib/components/checkbox/index.js +3 -0
- package/esm2015/lib/components/chip/chip.component.js +50 -0
- package/esm2015/lib/components/chip/chip.module.js +17 -0
- package/esm2015/lib/components/chip/index.js +3 -0
- package/esm2015/lib/components/container/container.component.js +47 -0
- package/esm2015/lib/components/container/container.module.js +14 -0
- package/esm2015/lib/components/container/index.js +3 -0
- package/esm2015/lib/components/continue/continue.component.js +173 -0
- package/esm2015/lib/components/continue/continue.module.js +23 -0
- package/esm2015/lib/components/continue/index.js +3 -0
- package/esm2015/lib/components/cover/cover.component.js +61 -0
- package/esm2015/lib/components/cover/cover.module.js +16 -0
- package/esm2015/lib/components/cover/index.js +3 -0
- package/esm2015/lib/components/datepicker/calendar/calendar-date.model.js +2 -0
- package/esm2015/lib/components/datepicker/calendar/calendar.component.js +560 -0
- package/esm2015/lib/components/datepicker/calendar/enums/week-start.enum.js +6 -0
- package/esm2015/lib/components/datepicker/calendar/models/day.model.js +2 -0
- package/esm2015/lib/components/datepicker/calendar/models/select-option.model.js +2 -0
- package/esm2015/lib/components/datepicker/calendar/models/week.model.js +2 -0
- package/esm2015/lib/components/datepicker/datepicker.component.js +511 -0
- package/esm2015/lib/components/datepicker/datepicker.module.js +34 -0
- package/esm2015/lib/components/datepicker/index.js +5 -0
- package/esm2015/lib/components/datepicker/services/calendar.service.js +217 -0
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.component.js +306 -0
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.module.js +22 -0
- package/esm2015/lib/components/datepicker-combo/index.js +3 -0
- package/esm2015/lib/components/dropdown/dropdown.component.js +146 -0
- package/esm2015/lib/components/dropdown/dropdown.module.js +21 -0
- package/esm2015/lib/components/dropdown/index.js +3 -0
- package/esm2015/lib/components/filter/enums/trip-type.enum.js +8 -0
- package/esm2015/lib/components/filter/filter.component.js +1100 -0
- package/esm2015/lib/components/filter/filter.module.js +44 -0
- package/esm2015/lib/components/filter/index.js +4 -0
- package/esm2015/lib/components/grid/col/col.component.js +47 -0
- package/esm2015/lib/components/grid/grid.component.js +55 -0
- package/esm2015/lib/components/grid/grid.module.js +15 -0
- package/esm2015/lib/components/grid/index.js +4 -0
- package/esm2015/lib/components/icon/icon.component.js +42 -0
- package/esm2015/lib/components/icon/icon.module.js +17 -0
- package/esm2015/lib/components/icon/index.js +3 -0
- package/esm2015/lib/components/icon-list/icon-list.component.js +46 -0
- package/esm2015/lib/components/icon-list/icon-list.model.js +2 -0
- package/esm2015/lib/components/icon-list/icon-list.module.js +15 -0
- package/esm2015/lib/components/icon-list/index.js +4 -0
- package/esm2015/lib/components/index.js +49 -0
- package/esm2015/lib/components/info/index.js +4 -0
- package/esm2015/lib/components/info/info.component.js +81 -0
- package/esm2015/lib/components/info/info.module.js +21 -0
- package/esm2015/lib/components/info/models/info.model.js +2 -0
- package/esm2015/lib/components/input/index.js +3 -0
- package/esm2015/lib/components/input/input.component.js +139 -0
- package/esm2015/lib/components/input/input.module.js +16 -0
- package/esm2015/lib/components/journey/index.js +3 -0
- package/esm2015/lib/components/journey/journey.component.js +122 -0
- package/esm2015/lib/components/journey/journey.module.js +19 -0
- package/esm2015/lib/components/journey/models/journey-flight.model.js +2 -0
- package/esm2015/lib/components/journey/models/journey.model.js +2 -0
- package/esm2015/lib/components/journey-availability/index.js +3 -0
- package/esm2015/lib/components/journey-availability/journey-availability.component.js +125 -0
- package/esm2015/lib/components/journey-availability/journey-availability.module.js +26 -0
- package/esm2015/lib/components/journey-availability-list/enums/availability-sort-option.enum.js +7 -0
- package/esm2015/lib/components/journey-availability-list/index.js +3 -0
- package/esm2015/lib/components/journey-availability-list/journey-availability-list.component.js +175 -0
- package/esm2015/lib/components/journey-availability-list/journey-availability-list.module.js +23 -0
- package/esm2015/lib/components/journey-selection/index.js +6 -0
- package/esm2015/lib/components/journey-selection/journey-selection.component.js +110 -0
- package/esm2015/lib/components/journey-selection/journey-selection.module.js +24 -0
- package/esm2015/lib/components/journey-selection/models/journey-selection-collapsed.model.js +2 -0
- package/esm2015/lib/components/journey-selection/models/journey-selection-common.model.js +2 -0
- package/esm2015/lib/components/journey-selection/models/journey-selection-expanded.model.js +2 -0
- package/esm2015/lib/components/journey-selection/models/journey-selection.model.js +2 -0
- package/esm2015/lib/components/journey-stopover/index.js +3 -0
- package/esm2015/lib/components/journey-stopover/journey-stopover.component.js +121 -0
- package/esm2015/lib/components/journey-stopover/journey-stopover.module.js +19 -0
- package/esm2015/lib/components/journey-stopover/models/stopover-time.model.js +2 -0
- package/esm2015/lib/components/list/index.js +4 -0
- package/esm2015/lib/components/list/list-item/list-item.component.js +56 -0
- package/esm2015/lib/components/list/list.component.js +75 -0
- package/esm2015/lib/components/list/list.module.js +15 -0
- package/esm2015/lib/components/modal/index.js +3 -0
- package/esm2015/lib/components/modal/modal.component.js +131 -0
- package/esm2015/lib/components/modal/modal.module.js +25 -0
- package/esm2015/lib/components/number-field/index.js +3 -0
- package/esm2015/lib/components/number-field/number-field.component.js +118 -0
- package/esm2015/lib/components/number-field/number-field.module.js +24 -0
- package/esm2015/lib/components/page-footer/index.js +3 -0
- package/esm2015/lib/components/page-footer/page-footer.component.js +49 -0
- package/esm2015/lib/components/page-footer/page-footer.module.js +16 -0
- package/esm2015/lib/components/page-header/hamburger/hamburger.component.js +24 -0
- package/esm2015/lib/components/page-header/index.js +5 -0
- package/esm2015/lib/components/page-header/page-header.component.js +119 -0
- package/esm2015/lib/components/page-header/page-header.module.js +18 -0
- package/esm2015/lib/components/page-header/search/search.component.js +47 -0
- package/esm2015/lib/components/passenger-select/enums/passenger-type.enum.js +7 -0
- package/esm2015/lib/components/passenger-select/index.js +5 -0
- package/esm2015/lib/components/passenger-select/models/passengers.model.js +2 -0
- package/esm2015/lib/components/passenger-select/passenger-select.component.js +204 -0
- package/esm2015/lib/components/passenger-select/passenger-select.module.js +19 -0
- package/esm2015/lib/components/phone-number/index.js +3 -0
- package/esm2015/lib/components/phone-number/phone-number.component.js +115 -0
- package/esm2015/lib/components/phone-number/phone-number.module.js +27 -0
- package/esm2015/lib/components/premium-toggle/index.js +3 -0
- package/esm2015/lib/components/premium-toggle/premium-toggle.component.js +66 -0
- package/esm2015/lib/components/premium-toggle/premium-toggle.module.js +19 -0
- package/esm2015/lib/components/radio/index.js +3 -0
- package/esm2015/lib/components/radio/radio.component.js +79 -0
- package/esm2015/lib/components/radio/radio.module.js +15 -0
- package/esm2015/lib/components/select/index.js +6 -0
- package/esm2015/lib/components/select/models/select-option.model.js +2 -0
- package/esm2015/lib/components/select/optgroup/optgroup.component.js +31 -0
- package/esm2015/lib/components/select/option/option.component.js +29 -0
- package/esm2015/lib/components/select/select.component.js +316 -0
- package/esm2015/lib/components/select/select.module.js +21 -0
- package/esm2015/lib/components/simple-list/index.js +3 -0
- package/esm2015/lib/components/simple-list/simple-list.component.js +42 -0
- package/esm2015/lib/components/simple-list/simple-list.module.js +14 -0
- package/esm2015/lib/components/slide-toggle/index.js +3 -0
- package/esm2015/lib/components/slide-toggle/slide-toggle.component.js +105 -0
- package/esm2015/lib/components/slide-toggle/slide-toggle.module.js +20 -0
- package/esm2015/lib/components/slider/index.js +3 -0
- package/esm2015/lib/components/slider/slider.component.js +447 -0
- package/esm2015/lib/components/slider/slider.module.js +19 -0
- package/esm2015/lib/components/sort/index.js +3 -0
- package/esm2015/lib/components/sort/sort.component.js +87 -0
- package/esm2015/lib/components/sort/sort.module.js +23 -0
- package/esm2015/lib/components/spinner/index.js +3 -0
- package/esm2015/lib/components/spinner/spinner.component.js +57 -0
- package/esm2015/lib/components/spinner/spinner.module.js +14 -0
- package/esm2015/lib/components/subsidy-discount/index.js +4 -0
- package/esm2015/lib/components/subsidy-discount/models/subsidy-discount.model.js +2 -0
- package/esm2015/lib/components/subsidy-discount/subsidy-discount.component.js +101 -0
- package/esm2015/lib/components/subsidy-discount/subsidy-discount.module.js +23 -0
- package/esm2015/lib/components/suggestions/index.js +3 -0
- package/esm2015/lib/components/suggestions/suggestions.component.js +40 -0
- package/esm2015/lib/components/suggestions/suggestions.module.js +19 -0
- package/esm2015/lib/components/tab-group/index.js +4 -0
- package/esm2015/lib/components/tab-group/tab/tab.component.js +123 -0
- package/esm2015/lib/components/tab-group/tab-group.component.js +85 -0
- package/esm2015/lib/components/tab-group/tab-group.module.js +20 -0
- package/esm2015/lib/components/table/column/column.component.js +17 -0
- package/esm2015/lib/components/table/column-group/column-group.component.js +34 -0
- package/esm2015/lib/components/table/index.js +11 -0
- package/esm2015/lib/components/table/services/table.service.js +20 -0
- package/esm2015/lib/components/table/table-body/table-body.component.js +27 -0
- package/esm2015/lib/components/table/table-foot/table-foot.component.js +27 -0
- package/esm2015/lib/components/table/table-head/table-head.component.js +27 -0
- package/esm2015/lib/components/table/table-row/table-data/table-data.component.js +15 -0
- package/esm2015/lib/components/table/table-row/table-header/table-header.component.js +15 -0
- package/esm2015/lib/components/table/table-row/table-row.component.js +27 -0
- package/esm2015/lib/components/table/table.component.js +29 -0
- package/esm2015/lib/components/table/table.module.js +45 -0
- package/esm2015/lib/components/textarea/index.js +3 -0
- package/esm2015/lib/components/textarea/textarea.component.js +73 -0
- package/esm2015/lib/components/textarea/textarea.module.js +20 -0
- package/esm2015/lib/components/toggle/index.js +3 -0
- package/esm2015/lib/components/toggle/models/options.model.js +3 -0
- package/esm2015/lib/components/toggle/toggle.component.js +77 -0
- package/esm2015/lib/components/toggle/toggle.module.js +22 -0
- package/esm2015/lib/components/trip-summary/index.js +3 -0
- package/esm2015/lib/components/trip-summary/trip-summary.component.js +152 -0
- package/esm2015/lib/components/trip-summary/trip-summary.module.js +23 -0
- package/esm2015/lib/components/weather-icon/index.js +3 -0
- package/esm2015/lib/components/weather-icon/weather-icon.component.js +56 -0
- package/esm2015/lib/components/weather-icon/weather-icon.module.js +14 -0
- package/esm2015/lib/core/base/nas-component.base.js +48 -0
- package/esm2015/lib/core/decorators/debounce.decorator.js +12 -0
- package/esm2015/lib/core/directives/index.js +3 -0
- package/esm2015/lib/core/directives/nas-class/nas-class.directive.js +75 -0
- package/esm2015/lib/core/directives/nas-class/nas-class.module.js +17 -0
- package/esm2015/lib/core/extensions/html-element.extension.js +31 -0
- package/esm2015/lib/core/index.js +5 -0
- package/esm2015/lib/core/models/abandoned-basket-item.model.js +2 -0
- package/esm2015/lib/core/models/animate.model.js +2 -0
- package/esm2015/lib/core/models/class.model.js +2 -0
- package/esm2015/lib/core/models/index.js +7 -0
- package/esm2015/lib/core/models/link.model.js +2 -0
- package/esm2015/lib/core/models/position.model.js +2 -0
- package/esm2015/lib/core/models/utc-date.model.js +40 -0
- package/esm2015/lib/core/services/abandoned-basket/abandoned-basket.service.js +55 -0
- package/esm2015/lib/core/services/animate-helper/animate-helper.service.js +47 -0
- package/esm2015/lib/core/services/bem-helper/bem-helper.service.js +41 -0
- package/esm2015/lib/core/services/date/date-compare.enum.js +7 -0
- package/esm2015/lib/core/services/date/date-helper.service.js +196 -0
- package/esm2015/lib/core/services/device/device-helper.service.js +43 -0
- package/esm2015/lib/core/services/geolocation/geolocation-state.enum.js +8 -0
- package/esm2015/lib/core/services/geolocation/geolocation.service.js +60 -0
- package/esm2015/lib/core/services/index.js +10 -0
- package/esm2015/lib/core/services/language/language-helper.service.js +162 -0
- package/esm2015/lib/core/services/sort/sort.service.js +19 -0
- package/esm2015/lib/core/services/viewport/viewport.service.js +29 -0
- package/esm2015/lib/index.js +5 -0
- package/esm2015/lib/services/get-position.service.js +21 -0
- package/esm2015/lib/services/index.js +2 -0
- package/esm2015/lib/shared/index.js +2 -0
- package/esm2015/lib/shared/models/flight-details.js +3 -0
- package/esm2015/lib/shared/models/index.js +5 -0
- package/esm2015/lib/shared/models/journey-availability-sort.model.js +2 -0
- package/esm2015/lib/shared/models/journey-availability.model.js +2 -0
- package/esm2015/lib/shared/models/journey-details.model.js +2 -0
- package/esm2015/lib/shared/models/journey-duration.model.js +2 -0
- package/esm2015/lib/shared/models/journey-stopover.model.js +2 -0
- package/esm2015/lib/shared/models/journey-transit-info.model.js +2 -0
- package/esm2015/lib/shared/models/operating-carrier.model.js +2 -0
- package/esm2015/lib/shared/models/sort-option.model.js +2 -0
- package/esm2015/lib/shared/models/sort.model.js +2 -0
- package/esm2015/lib/shared/models/trip-item-details.model.js +2 -0
- package/esm2015/lib/shared/models/trip-summary-details.model.js +2 -0
- package/esm2015/lib/shared/models/trip-summary.model.js +2 -0
- package/esm2015/norwegian-core-components.js +12 -0
- package/esm2015/public_api.js +2 -0
- package/fesm2015/norwegian-core-components.js +10595 -0
- package/fesm2015/norwegian-core-components.js.map +1 -0
- package/lib/components/accordion/accordion.component.d.ts +205 -0
- package/lib/components/accordion/accordion.module.d.ts +2 -0
- package/lib/components/accordion/index.d.ts +2 -0
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +94 -0
- package/lib/components/airport-select/airport-select.component.d.ts +256 -0
- package/lib/components/airport-select/airport-select.module.d.ts +2 -0
- package/lib/components/airport-select/index.d.ts +3 -0
- package/lib/components/airport-select/models/airport.model.d.ts +10 -0
- package/lib/components/airport-select/models/results-labels.model.d.ts +7 -0
- package/lib/components/airport-select/services/airport-select-dropdown.service.d.ts +7 -0
- package/lib/components/airport-select/services/airport-select.service.d.ts +5 -0
- package/lib/components/autocomplete/autocomplete.component.d.ts +115 -0
- package/lib/components/autocomplete/autocomplete.module.d.ts +2 -0
- package/lib/components/autocomplete/index.d.ts +3 -0
- package/lib/components/autocomplete/models/autocomplete.model.d.ts +5 -0
- package/lib/components/backdrop/backdrop.component.d.ts +32 -0
- package/lib/components/backdrop/backdrop.module.d.ts +2 -0
- package/lib/components/backdrop/index.d.ts +2 -0
- package/lib/components/box/box.component.d.ts +69 -0
- package/lib/components/box/box.module.d.ts +2 -0
- package/lib/components/box/index.d.ts +2 -0
- package/lib/components/button/button.component.d.ts +238 -0
- package/lib/components/button/button.module.d.ts +2 -0
- package/lib/components/button/index.d.ts +2 -0
- package/lib/components/checkbox/checkbox.component.d.ts +119 -0
- package/lib/components/checkbox/checkbox.module.d.ts +2 -0
- package/lib/components/checkbox/index.d.ts +2 -0
- package/lib/components/chip/chip.component.d.ts +61 -0
- package/lib/components/chip/chip.module.d.ts +2 -0
- package/lib/components/chip/index.d.ts +2 -0
- package/lib/components/container/container.component.d.ts +47 -0
- package/lib/components/container/container.module.d.ts +2 -0
- package/lib/components/container/index.d.ts +2 -0
- package/lib/components/continue/continue.component.d.ts +154 -0
- package/lib/components/continue/continue.module.d.ts +2 -0
- package/lib/components/continue/index.d.ts +2 -0
- package/lib/components/cover/cover.component.d.ts +112 -0
- package/lib/components/cover/cover.module.d.ts +2 -0
- package/lib/components/cover/index.d.ts +2 -0
- package/lib/components/datepicker/calendar/calendar-date.model.d.ts +5 -0
- package/lib/components/datepicker/calendar/calendar.component.d.ts +156 -0
- package/lib/components/datepicker/calendar/enums/week-start.enum.d.ts +4 -0
- package/lib/components/datepicker/calendar/models/day.model.d.ts +9 -0
- package/lib/components/datepicker/calendar/models/select-option.model.d.ts +4 -0
- package/lib/components/datepicker/calendar/models/week.model.d.ts +5 -0
- package/lib/components/datepicker/datepicker.component.d.ts +235 -0
- package/lib/components/datepicker/datepicker.module.d.ts +2 -0
- package/lib/components/datepicker/index.d.ts +4 -0
- package/lib/components/datepicker/services/calendar.service.d.ts +24 -0
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +246 -0
- package/lib/components/datepicker-combo/datepicker-combo.module.d.ts +2 -0
- package/lib/components/datepicker-combo/index.d.ts +2 -0
- package/lib/components/dropdown/dropdown.component.d.ts +64 -0
- package/lib/components/dropdown/dropdown.module.d.ts +2 -0
- package/lib/components/dropdown/index.d.ts +2 -0
- package/lib/components/filter/enums/trip-type.enum.d.ts +6 -0
- package/lib/components/filter/filter.component.d.ts +693 -0
- package/lib/components/filter/filter.module.d.ts +2 -0
- package/lib/components/filter/index.d.ts +3 -0
- package/lib/components/grid/col/col.component.d.ts +37 -0
- package/lib/components/grid/grid.component.d.ts +61 -0
- package/lib/components/grid/grid.module.d.ts +2 -0
- package/lib/components/grid/index.d.ts +3 -0
- package/lib/components/icon/icon.component.d.ts +57 -0
- package/lib/components/icon/icon.module.d.ts +2 -0
- package/lib/components/icon/index.d.ts +2 -0
- package/lib/components/icon-list/icon-list.component.d.ts +41 -0
- package/lib/components/icon-list/icon-list.model.d.ts +7 -0
- package/lib/components/icon-list/icon-list.module.d.ts +2 -0
- package/lib/components/icon-list/index.d.ts +3 -0
- package/lib/components/index.d.ts +48 -0
- package/lib/components/info/index.d.ts +3 -0
- package/lib/components/info/info.component.d.ts +71 -0
- package/lib/components/info/info.module.d.ts +2 -0
- package/lib/components/info/models/info.model.d.ts +7 -0
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/input/input.component.d.ts +163 -0
- package/lib/components/input/input.module.d.ts +2 -0
- package/lib/components/journey/index.d.ts +2 -0
- package/lib/components/journey/journey.component.d.ts +119 -0
- package/lib/components/journey/journey.module.d.ts +2 -0
- package/lib/components/journey/models/journey-flight.model.d.ts +10 -0
- package/lib/components/journey/models/journey.model.d.ts +5 -0
- package/lib/components/journey-availability/index.d.ts +2 -0
- package/lib/components/journey-availability/journey-availability.component.d.ts +90 -0
- package/lib/components/journey-availability/journey-availability.module.d.ts +2 -0
- package/lib/components/journey-availability-list/enums/availability-sort-option.enum.d.ts +5 -0
- package/lib/components/journey-availability-list/index.d.ts +2 -0
- package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +116 -0
- package/lib/components/journey-availability-list/journey-availability-list.module.d.ts +2 -0
- package/lib/components/journey-selection/index.d.ts +5 -0
- package/lib/components/journey-selection/journey-selection.component.d.ts +70 -0
- package/lib/components/journey-selection/journey-selection.module.d.ts +2 -0
- package/lib/components/journey-selection/models/journey-selection-collapsed.model.d.ts +11 -0
- package/lib/components/journey-selection/models/journey-selection-common.model.d.ts +7 -0
- package/lib/components/journey-selection/models/journey-selection-expanded.model.d.ts +5 -0
- package/lib/components/journey-selection/models/journey-selection.model.d.ts +14 -0
- package/lib/components/journey-stopover/index.d.ts +2 -0
- package/lib/components/journey-stopover/journey-stopover.component.d.ts +132 -0
- package/lib/components/journey-stopover/journey-stopover.module.d.ts +2 -0
- package/lib/components/journey-stopover/models/stopover-time.model.d.ts +4 -0
- package/lib/components/list/index.d.ts +3 -0
- package/lib/components/list/list-item/list-item.component.d.ts +32 -0
- package/lib/components/list/list.component.d.ts +65 -0
- package/lib/components/list/list.module.d.ts +2 -0
- package/lib/components/modal/index.d.ts +2 -0
- package/lib/components/modal/modal.component.d.ts +119 -0
- package/lib/components/modal/modal.module.d.ts +2 -0
- package/lib/components/number-field/index.d.ts +2 -0
- package/lib/components/number-field/number-field.component.d.ts +96 -0
- package/lib/components/number-field/number-field.module.d.ts +2 -0
- package/lib/components/page-footer/index.d.ts +2 -0
- package/lib/components/page-footer/page-footer.component.d.ts +57 -0
- package/lib/components/page-footer/page-footer.module.d.ts +2 -0
- package/lib/components/page-header/hamburger/hamburger.component.d.ts +9 -0
- package/lib/components/page-header/index.d.ts +4 -0
- package/lib/components/page-header/page-header.component.d.ts +84 -0
- package/lib/components/page-header/page-header.module.d.ts +2 -0
- package/lib/components/page-header/search/search.component.d.ts +23 -0
- package/lib/components/passenger-select/enums/passenger-type.enum.d.ts +5 -0
- package/lib/components/passenger-select/index.d.ts +4 -0
- package/lib/components/passenger-select/models/passengers.model.d.ts +9 -0
- package/lib/components/passenger-select/passenger-select.component.d.ts +111 -0
- package/lib/components/passenger-select/passenger-select.module.d.ts +2 -0
- package/lib/components/phone-number/index.d.ts +2 -0
- package/lib/components/phone-number/phone-number.component.d.ts +278 -0
- package/lib/components/phone-number/phone-number.module.d.ts +2 -0
- package/lib/components/premium-toggle/index.d.ts +2 -0
- package/lib/components/premium-toggle/premium-toggle.component.d.ts +51 -0
- package/lib/components/premium-toggle/premium-toggle.module.d.ts +2 -0
- package/lib/components/radio/index.d.ts +2 -0
- package/lib/components/radio/radio.component.d.ts +115 -0
- package/lib/components/radio/radio.module.d.ts +2 -0
- package/lib/components/select/index.d.ts +5 -0
- package/lib/components/select/models/select-option.model.d.ts +4 -0
- package/lib/components/select/optgroup/optgroup.component.d.ts +22 -0
- package/lib/components/select/option/option.component.d.ts +21 -0
- package/lib/components/select/select.component.d.ts +156 -0
- package/lib/components/select/select.module.d.ts +2 -0
- package/lib/components/simple-list/index.d.ts +2 -0
- package/lib/components/simple-list/simple-list.component.d.ts +49 -0
- package/lib/components/simple-list/simple-list.module.d.ts +2 -0
- package/lib/components/slide-toggle/index.d.ts +2 -0
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +60 -0
- package/lib/components/slide-toggle/slide-toggle.module.d.ts +2 -0
- package/lib/components/slider/index.d.ts +2 -0
- package/lib/components/slider/slider.component.d.ts +177 -0
- package/lib/components/slider/slider.module.d.ts +2 -0
- package/lib/components/sort/index.d.ts +2 -0
- package/lib/components/sort/sort.component.d.ts +47 -0
- package/lib/components/sort/sort.module.d.ts +2 -0
- package/lib/components/spinner/index.d.ts +2 -0
- package/lib/components/spinner/spinner.component.d.ts +58 -0
- package/lib/components/spinner/spinner.module.d.ts +2 -0
- package/lib/components/subsidy-discount/index.d.ts +3 -0
- package/lib/components/subsidy-discount/models/subsidy-discount.model.d.ts +4 -0
- package/lib/components/subsidy-discount/subsidy-discount.component.d.ts +57 -0
- package/lib/components/subsidy-discount/subsidy-discount.module.d.ts +2 -0
- package/lib/components/suggestions/index.d.ts +2 -0
- package/lib/components/suggestions/suggestions.component.d.ts +30 -0
- package/lib/components/suggestions/suggestions.module.d.ts +2 -0
- package/lib/components/tab-group/index.d.ts +3 -0
- package/lib/components/tab-group/tab/tab.component.d.ts +84 -0
- package/lib/components/tab-group/tab-group.component.d.ts +30 -0
- package/lib/components/tab-group/tab-group.module.d.ts +2 -0
- package/lib/components/table/column/column.component.d.ts +3 -0
- package/lib/components/table/column-group/column-group.component.d.ts +12 -0
- package/lib/components/table/index.d.ts +10 -0
- package/lib/components/table/services/table.service.d.ts +5 -0
- package/lib/components/table/table-body/table-body.component.d.ts +12 -0
- package/lib/components/table/table-foot/table-foot.component.d.ts +12 -0
- package/lib/components/table/table-head/table-head.component.d.ts +12 -0
- package/lib/components/table/table-row/table-data/table-data.component.d.ts +2 -0
- package/lib/components/table/table-row/table-header/table-header.component.d.ts +2 -0
- package/lib/components/table/table-row/table-row.component.d.ts +12 -0
- package/lib/components/table/table.component.d.ts +21 -0
- package/lib/components/table/table.module.d.ts +2 -0
- package/lib/components/textarea/index.d.ts +2 -0
- package/lib/components/textarea/textarea.component.d.ts +121 -0
- package/lib/components/textarea/textarea.module.d.ts +2 -0
- package/lib/components/toggle/index.d.ts +2 -0
- package/lib/components/toggle/models/options.model.d.ts +6 -0
- package/lib/components/toggle/toggle.component.d.ts +183 -0
- package/lib/components/toggle/toggle.module.d.ts +2 -0
- package/lib/components/trip-summary/index.d.ts +2 -0
- package/lib/components/trip-summary/trip-summary.component.d.ts +173 -0
- package/lib/components/trip-summary/trip-summary.module.d.ts +2 -0
- package/lib/components/weather-icon/index.d.ts +2 -0
- package/lib/components/weather-icon/weather-icon.component.d.ts +51 -0
- package/lib/components/weather-icon/weather-icon.module.d.ts +2 -0
- package/lib/core/base/nas-component.base.d.ts +11 -0
- package/lib/core/decorators/debounce.decorator.d.ts +1 -0
- package/lib/core/directives/index.d.ts +2 -0
- package/lib/core/directives/nas-class/nas-class.directive.d.ts +11 -0
- package/lib/core/directives/nas-class/nas-class.module.d.ts +2 -0
- package/lib/core/extensions/html-element.extension.d.ts +6 -0
- package/lib/core/index.d.ts +4 -0
- package/lib/core/models/abandoned-basket-item.model.d.ts +14 -0
- package/lib/core/models/animate.model.d.ts +6 -0
- package/lib/core/models/class.model.d.ts +6 -0
- package/lib/core/models/index.d.ts +6 -0
- package/lib/core/models/link.model.d.ts +4 -0
- package/lib/core/models/position.model.d.ts +4 -0
- package/lib/core/models/utc-date.model.d.ts +13 -0
- package/lib/core/services/abandoned-basket/abandoned-basket.service.d.ts +7 -0
- package/lib/core/services/animate-helper/animate-helper.service.d.ts +6 -0
- package/lib/core/services/bem-helper/bem-helper.service.d.ts +4 -0
- package/lib/core/services/date/date-compare.enum.d.ts +5 -0
- package/lib/core/services/date/date-helper.service.d.ts +19 -0
- package/lib/core/services/device/device-helper.service.d.ts +13 -0
- package/lib/core/services/geolocation/geolocation-state.enum.d.ts +6 -0
- package/lib/core/services/geolocation/geolocation.service.d.ts +6 -0
- package/lib/core/services/index.d.ts +9 -0
- package/lib/core/services/language/language-helper.service.d.ts +9 -0
- package/lib/core/services/sort/sort.service.d.ts +3 -0
- package/lib/core/services/viewport/viewport.service.d.ts +8 -0
- package/lib/index.d.ts +4 -0
- package/lib/services/get-position.service.d.ts +6 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/models/flight-details.d.ts +22 -0
- package/lib/shared/models/index.d.ts +4 -0
- package/lib/shared/models/journey-availability-sort.model.d.ts +8 -0
- package/lib/shared/models/journey-availability.model.d.ts +25 -0
- package/lib/shared/models/journey-details.model.d.ts +8 -0
- package/lib/shared/models/journey-duration.model.d.ts +7 -0
- package/lib/shared/models/journey-stopover.model.d.ts +11 -0
- package/lib/shared/models/journey-transit-info.model.d.ts +5 -0
- package/lib/shared/models/operating-carrier.model.d.ts +4 -0
- package/lib/shared/models/sort-option.model.d.ts +11 -0
- package/lib/shared/models/sort.model.d.ts +10 -0
- package/lib/shared/models/trip-item-details.model.d.ts +12 -0
- package/lib/shared/models/trip-summary-details.model.d.ts +5 -0
- package/lib/shared/models/trip-summary.model.d.ts +4 -0
- package/norwegian-core-components.d.ts +11 -0
- package/norwegian-core-components.metadata.json +1 -0
- package/package.json +19 -0
- package/public_api.d.ts +1 -0
- package/styles/1__settings/_colors.scss +65 -0
- package/styles/1__settings/_mixins.scss +226 -0
- package/styles/1__settings/_type.scss +53 -0
- package/styles/1__settings/_vars.scss +62 -0
- package/styles/2__generic/_fonts.scss +99 -0
- package/styles/2__generic/_reset.scss +275 -0
- package/styles/3__base/_animations.scss +138 -0
- package/styles/3__base/_body.scss +23 -0
- package/styles/3__base/_fixes.scss +5 -0
- package/styles/3__base/_form.scss +18 -0
- package/styles/3__base/_grid.scss +115 -0
- package/styles/3__base/_heading.scss +110 -0
- package/styles/3__base/_hr.scss +30 -0
- package/styles/3__base/_input.scss +38 -0
- package/styles/3__base/_link.scss +48 -0
- package/styles/3__base/_table.scss +44 -0
- package/styles/3__base/_type.scss +69 -0
- package/styles/_helpers.scss +4 -0
- package/styles/_index.scss +15 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './sort.component';
|
|
2
|
+
export * from './sort.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NvcnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc29ydC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zb3J0Lm1vZHVsZSc7XG4iXX0=
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
+
*/
|
|
5
|
+
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
6
|
+
import { NasComponentBase } from '../../core';
|
|
7
|
+
/**
|
|
8
|
+
* @description
|
|
9
|
+
* Norwegian Sort Component | Functional
|
|
10
|
+
*/
|
|
11
|
+
export class SortComponent extends NasComponentBase {
|
|
12
|
+
constructor() {
|
|
13
|
+
super('nas-sort');
|
|
14
|
+
/**
|
|
15
|
+
* @description
|
|
16
|
+
* Listen for option change events.
|
|
17
|
+
*/
|
|
18
|
+
this.selectedOptionChange = new EventEmitter();
|
|
19
|
+
/**
|
|
20
|
+
* @description
|
|
21
|
+
* Listen for apply button click events.
|
|
22
|
+
*/
|
|
23
|
+
this.applyButtonClicked = new EventEmitter();
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @description
|
|
27
|
+
* popup open set & get.
|
|
28
|
+
*/
|
|
29
|
+
get open() {
|
|
30
|
+
return this.dropdownOpen;
|
|
31
|
+
}
|
|
32
|
+
set open(value) {
|
|
33
|
+
this.dropdownOpen = value;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @description
|
|
37
|
+
* checked option set & get.
|
|
38
|
+
*/
|
|
39
|
+
get selectedOption() {
|
|
40
|
+
return this.checkedOptionObject;
|
|
41
|
+
}
|
|
42
|
+
set selectedOption(option) {
|
|
43
|
+
if (!option) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
this.checkedOptionObject = option;
|
|
47
|
+
}
|
|
48
|
+
checkSpaceless(option, index) {
|
|
49
|
+
var _a;
|
|
50
|
+
if (option.spaceless) {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
return index === this.model.sortOptions.length - 1 && !((_a = this.model.applyButtonLabel) === null || _a === void 0 ? void 0 : _a.length);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
applyButtonClick() {
|
|
58
|
+
if (this.model && this.model.closeDropdownOnApplyClick) {
|
|
59
|
+
this.open = false;
|
|
60
|
+
}
|
|
61
|
+
this.applyButtonClicked.emit(this.selectedOption);
|
|
62
|
+
}
|
|
63
|
+
optionChanged(option, isChecked) {
|
|
64
|
+
if (isChecked) {
|
|
65
|
+
this.selectedOptionChange.emit(option);
|
|
66
|
+
}
|
|
67
|
+
if (this.model && this.model.closeDropdownOnOptionChange && this.open) {
|
|
68
|
+
this.open = false;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
SortComponent.decorators = [
|
|
73
|
+
{ type: Component, args: [{
|
|
74
|
+
selector: 'nas-sort',
|
|
75
|
+
template: "<div [nasClass]=\"getContainerClass('', exists(model?.right) && 'right')\" *ngIf=\"model\">\n <nas-dropdown [label]=\"model?.label\" [(open)]=\"open\">\n <nas-radio\n block\n [name]=\"model?.name\"\n [value]=\"option.value\"\n *ngFor=\"let option of model?.sortOptions; let optionIndex = index\"\n [nasFormControlName]=\"option?.nasFormControlName\"\n [nasFormGroup]=\"option?.nasFormGroup\"\n [required]=\"exists(option?.required)\"\n [spaceless]=\"checkSpaceless(option, optionIndex)\"\n [strong]=\"exists(option?.strong)\"\n [tabIndex]=\"option?.tabIndex\"\n [disabled]=\"exists(option?.disabled)\"\n [error]=\"exists(option?.error)\"\n [checked]=\"selectedOption?.value === option?.value\"\n (checkedChange)=\"optionChanged(option, $event)\"\n >\n {{option.title}}\n </nas-radio>\n <nas-button *ngIf=\"model?.applyButtonLabel && model?.applyButtonLabel.length\" primary compact spaceless (click)=\"applyButtonClick()\">{{model?.applyButtonLabel}}</nas-button>\n </nas-dropdown>\n</div>\n",
|
|
76
|
+
styles: ["@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@-webkit-keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@-webkit-keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@-webkit-keyframes fade-out{to{opacity:0}}@keyframes fade-out{to{opacity:0}}@-webkit-keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@-webkit-keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@-webkit-keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-sort ::ng-deep .nas-dropdown__content{padding:16px;margin-top:3px;left:auto;right:6px;border:none;min-width:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px}.nas-sort ::ng-deep .nas-dropdown__arrow{display:none}.nas-sort ::ng-deep .nas-dropdown__toggle{background-color:transparent}.nas-sort ::ng-deep .nas-dropdown__toggle--active{background-color:#fff}.nas-sort ::ng-deep .nas-dropdown .nas-radio{margin-bottom:16px;margin-right:0}.nas-sort ::ng-deep .nas-dropdown .nas-radio--spaceless{margin-bottom:0}.nas-sort ::ng-deep .nas-dropdown .nas-radio__indicator{background-color:#c3c3c3}.nas-sort--right{align-self:flex-end;float:right;clear:both}\n"]
|
|
77
|
+
},] }
|
|
78
|
+
];
|
|
79
|
+
SortComponent.ctorParameters = () => [];
|
|
80
|
+
SortComponent.propDecorators = {
|
|
81
|
+
model: [{ type: Input }],
|
|
82
|
+
open: [{ type: Input }],
|
|
83
|
+
selectedOption: [{ type: Input }],
|
|
84
|
+
selectedOptionChange: [{ type: Output }],
|
|
85
|
+
applyButtonClicked: [{ type: Output }]
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NvcnQvc29ydC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBQ0gsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFJOUM7OztHQUdHO0FBTUgsTUFBTSxPQUFPLGFBQWMsU0FBUSxnQkFBZ0I7SUFvRGpEO1FBQ0UsS0FBSyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBZHBCOzs7V0FHRztRQUNPLHlCQUFvQixHQUFHLElBQUksWUFBWSxFQUFtQixDQUFDO1FBR3JFOzs7V0FHRztRQUNPLHVCQUFrQixHQUFHLElBQUksWUFBWSxFQUFtQixDQUFDO0lBSW5FLENBQUM7SUEzQ0Q7OztPQUdHO0lBQ0gsSUFDSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsWUFBWSxDQUFDO0lBQzNCLENBQUM7SUFDRCxJQUFJLElBQUksQ0FBQyxLQUFjO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YgKGlzQ2hlY2tlZCkge1xuICAgICAgdGhpcy5zZWxlY3RlZE9wdGlvbkNoYW5nZS5lbWl0KG9wdGlvbik7XG4gICAgfVxuICAgIGlmICh0aGlzLm1vZGVsICYmIHRoaXMubW9kZWwuY2xvc2VEcm9wZG93bk9uT3B0aW9uQ2hhbmdlICYmIHRoaXMub3Blbikge1xuICAgICAgdGhpcy5vcGVuID0gZmFsc2U7XG4gICAgfVxuICB9XG5cbn1cbiJdfQ==
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
4
|
+
import { SortComponent } from './sort.component';
|
|
5
|
+
import { DropdownModule } from '../dropdown/dropdown.module';
|
|
6
|
+
import { RadioModule } from '../radio/radio.module';
|
|
7
|
+
import { ButtonModule } from '../button/button.module';
|
|
8
|
+
export class SortModule {
|
|
9
|
+
}
|
|
10
|
+
SortModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
NasClassModule,
|
|
15
|
+
DropdownModule,
|
|
16
|
+
RadioModule,
|
|
17
|
+
ButtonModule
|
|
18
|
+
],
|
|
19
|
+
declarations: [SortComponent],
|
|
20
|
+
exports: [SortComponent]
|
|
21
|
+
},] }
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NvcnQvc29ydC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFN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SB9IGZyb20gJy4uL3JhZGlvL3JhZGlvLm1vZHVsZSc7XG5pbXBvcnQgeyBCdXR0b25Nb2R1bGUgfSBmcm9tICcuLi9idXR0b24vYnV0dG9uLm1vZHVsZSc7XG5cblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBOYXNDbGFzc01vZHVsZSxcbiAgICBEcm9wZG93bk1vZHVsZSxcbiAgICBSYWRpb01vZHVsZSxcbiAgICBCdXR0b25Nb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbU29ydENvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtTb3J0Q29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBTb3J0TW9kdWxlIHsgfVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './spinner.component';
|
|
2
|
+
export * from './spinner.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NwaW5uZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcGlubmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NwaW5uZXIubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Component, Input, ViewEncapsulation, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NasComponentBase } from '../../core';
|
|
3
|
+
/**
|
|
4
|
+
* @description
|
|
5
|
+
* Norwegian Spinner Component | Layout
|
|
6
|
+
*/
|
|
7
|
+
export class SpinnerComponent extends NasComponentBase {
|
|
8
|
+
constructor(renderer) {
|
|
9
|
+
super('nas-spinner');
|
|
10
|
+
this.renderer = renderer;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @description
|
|
14
|
+
* Enables the spinner after 500ms. If false again within 500ms, the spinner will not be displayed at all.
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <nas-spinner [enable]="enable"></nas-spinner>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
get enable() {
|
|
21
|
+
return this.enableValue;
|
|
22
|
+
}
|
|
23
|
+
set enable(enable) {
|
|
24
|
+
this.setEnabled(enable);
|
|
25
|
+
}
|
|
26
|
+
setEnabled(enabled) {
|
|
27
|
+
if (enabled) {
|
|
28
|
+
this.loadingTimeout = setTimeout(() => {
|
|
29
|
+
this.enableValue = true;
|
|
30
|
+
this.renderer.addClass(document.body, 'block-scrolling');
|
|
31
|
+
}, 500);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
clearTimeout(this.loadingTimeout);
|
|
35
|
+
this.enableValue = false;
|
|
36
|
+
this.renderer.removeClass(document.body, 'block-scrolling');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
SpinnerComponent.decorators = [
|
|
41
|
+
{ type: Component, args: [{
|
|
42
|
+
selector: 'nas-spinner',
|
|
43
|
+
template: "<div [nasClass]=\"getClass('', [exists(overlay) && 'overlay', exists(small) && 'small'])\" *ngIf=\"enable\">\n <span [nasClass]=\"getClass('box')\">\n <span [nasClass]=\"getClass('border')\"></span>\n </span>\n <p *ngIf=\"text\" [nasClass]=\"getClass('text')\">{{text}}</p>\n</div>\n",
|
|
44
|
+
encapsulation: ViewEncapsulation.None,
|
|
45
|
+
styles: ["@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@-webkit-keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@-webkit-keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@-webkit-keyframes fade-out{to{opacity:0}}@keyframes fade-out{to{opacity:0}}@-webkit-keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@-webkit-keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@-webkit-keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-spinner{position:relative;text-align:center}.nas-spinner__box{position:relative;display:block;z-index:2;margin-left:auto;margin-right:auto;margin-bottom:8px;width:48px;height:48px;background-color:#d81939}.nas-spinner__border{position:absolute;display:block;top:52px;left:0;width:48px;height:8px;background-color:#003251;-webkit-animation:spinner ease 1s;animation:spinner ease 1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;transform-origin:left}.nas-spinner__text{font-family:\"Apercu\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:normal;position:relative;z-index:2;margin-top:24px}.nas-spinner--small .nas-spinner__box{width:24px;height:24px}.nas-spinner--small .nas-spinner__text{margin-top:16px}.nas-spinner--small .nas-spinner__border{position:absolute;top:27px;left:0;width:24px;height:3px;background-color:#003251;-webkit-animation:spinner ease 1s;animation:spinner ease 1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;transform-origin:left}.nas-spinner--overlay{position:fixed;display:flex;flex-direction:column;align-items:center;justify-content:center;top:0;left:0;width:100%;height:100%;z-index:40}.nas-spinner--overlay:before{content:\"\";display:block;position:fixed;top:0;left:0;width:100%;height:100%;color:transparent;background-color:#ffffffb3;-webkit-animation:fade-in .5s ease-out both;animation:fade-in .5s ease-out both}@-webkit-keyframes spinner{0%{transform:translate(0) scaleX(0)}50%{transform:translate(0) scaleX(1)}to{transform:translate(100%) scaleX(0)}}@keyframes spinner{0%{transform:translate(0) scaleX(0)}50%{transform:translate(0) scaleX(1)}to{transform:translate(100%) scaleX(0)}}\n"]
|
|
46
|
+
},] }
|
|
47
|
+
];
|
|
48
|
+
SpinnerComponent.ctorParameters = () => [
|
|
49
|
+
{ type: Renderer2 }
|
|
50
|
+
];
|
|
51
|
+
SpinnerComponent.propDecorators = {
|
|
52
|
+
text: [{ type: Input }],
|
|
53
|
+
small: [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dWUgPSBmYWxzZTtcbiAgICAgIHRoaXMucmVuZGVyZXIucmVtb3ZlQ2xhc3MoZG9jdW1lbnQuYm9keSwgJ2Jsb2NrLXNjcm9sbGluZycpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
4
|
+
import { SpinnerComponent } from './spinner.component';
|
|
5
|
+
export class SpinnerModule {
|
|
6
|
+
}
|
|
7
|
+
SpinnerModule.decorators = [
|
|
8
|
+
{ type: NgModule, args: [{
|
|
9
|
+
declarations: [SpinnerComponent],
|
|
10
|
+
imports: [CommonModule, NasClassModule],
|
|
11
|
+
exports: [SpinnerComponent],
|
|
12
|
+
},] }
|
|
13
|
+
];
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NwaW5uZXIvc3Bpbm5lci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQ2xGLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBT3ZELE1BQU0sT0FBTyxhQUFhOzs7WUFMekIsUUFBUSxTQUFDO2dCQUNSLFlBQVksRUFBRSxDQUFDLGdCQUFnQixDQUFDO2dCQUNoQyxPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUUsY0FBYyxDQUFDO2dCQUN2QyxPQUFPLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQzthQUM1QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBOYXNDbGFzc01vZHVsZSB9IGZyb20gJy4uLy4uL2NvcmUvZGlyZWN0aXZlcy9uYXMtY2xhc3MvbmFzLWNsYXNzLm1vZHVsZSc7XG5pbXBvcnQgeyBTcGlubmVyQ29tcG9uZW50IH0gZnJvbSAnLi9zcGlubmVyLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1NwaW5uZXJDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBOYXNDbGFzc01vZHVsZV0sXG4gIGV4cG9ydHM6IFtTcGlubmVyQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgU3Bpbm5lck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './subsidy-discount.component';
|
|
2
|
+
export * from './subsidy-discount.module';
|
|
3
|
+
export * from './models/subsidy-discount.model';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N1YnNpZHktZGlzY291bnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N1YnNpZHktZGlzY291bnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2lkeS1kaXNjb3VudC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMvc3Vic2lkeS1kaXNjb3VudC5tb2RlbCc7XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2lkeS1kaXNjb3VudC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc3Vic2lkeS1kaXNjb3VudC9tb2RlbHMvc3Vic2lkeS1kaXNjb3VudC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBTdWJzaWR5RGlzY291bnRNb2RlbCB7XG4gICAgY29kZTogc3RyaW5nO1xuICAgIGRpc3BsYXlOYW1lOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter, ViewEncapsulation, ViewChild } from '@angular/core';
|
|
2
|
+
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
3
|
+
/**
|
|
4
|
+
* @description
|
|
5
|
+
* Norwegian Subsidy Discount Component | Functional
|
|
6
|
+
*/
|
|
7
|
+
export class SubsidyDiscountComponent extends NasComponentBase {
|
|
8
|
+
constructor() {
|
|
9
|
+
super('nas-subsidy-discount');
|
|
10
|
+
/**
|
|
11
|
+
* @description
|
|
12
|
+
* Set icon on component. Icon need to exist in medium size. Default value is 'family'
|
|
13
|
+
*/
|
|
14
|
+
this.icon = 'family';
|
|
15
|
+
/**
|
|
16
|
+
* @description
|
|
17
|
+
* An even that is fired every time the info button is clicked.
|
|
18
|
+
*/
|
|
19
|
+
this.infoButtonClick = new EventEmitter();
|
|
20
|
+
/**
|
|
21
|
+
* @description
|
|
22
|
+
* Fires when info button has a keydown event.
|
|
23
|
+
*/
|
|
24
|
+
this.infoButtonKeydown = new EventEmitter();
|
|
25
|
+
/**
|
|
26
|
+
* @description
|
|
27
|
+
* An even that is fired every time the info button is clicked.
|
|
28
|
+
*/
|
|
29
|
+
this.discountSelectChange = new EventEmitter();
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @description
|
|
33
|
+
* Gets or sets the selected discount value.
|
|
34
|
+
*/
|
|
35
|
+
get selectedDiscount() {
|
|
36
|
+
return this.selectedDiscountValue;
|
|
37
|
+
}
|
|
38
|
+
set selectedDiscount(discount) {
|
|
39
|
+
if (!discount || this.selectedDiscountValue && this.selectedDiscountValue.code === discount.code) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
this.selectedDiscountValue = discount;
|
|
43
|
+
if (this.options) {
|
|
44
|
+
this.selectedOption = this.options.find(x => x.value === discount.code);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @description
|
|
49
|
+
* Gets or sets discounts value.
|
|
50
|
+
*/
|
|
51
|
+
get discounts() {
|
|
52
|
+
return this.discountsValue;
|
|
53
|
+
}
|
|
54
|
+
set discounts(discounts) {
|
|
55
|
+
if (this.options) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.options = discounts.map(x => {
|
|
59
|
+
const selectOption = {
|
|
60
|
+
title: x.displayName,
|
|
61
|
+
value: x.code
|
|
62
|
+
};
|
|
63
|
+
return selectOption;
|
|
64
|
+
});
|
|
65
|
+
this.discountsValue = discounts;
|
|
66
|
+
if (this.selectedDiscountValue) {
|
|
67
|
+
this.selectedOption = this.options.find(x => x.value === this.selectedDiscountValue.code);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
onInfoButtonClick() {
|
|
71
|
+
this.infoButtonClick.emit();
|
|
72
|
+
}
|
|
73
|
+
onSelectedChange(option) {
|
|
74
|
+
const selectedDiscount = this.discounts.find(x => x.code === option.value);
|
|
75
|
+
this.selectedOption = option;
|
|
76
|
+
this.discountSelectChange.emit(selectedDiscount);
|
|
77
|
+
}
|
|
78
|
+
onInfoButtonKeydown(event) {
|
|
79
|
+
this.infoButtonKeydown.emit(event);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
SubsidyDiscountComponent.decorators = [
|
|
83
|
+
{ type: Component, args: [{
|
|
84
|
+
selector: 'nas-subsidy-discount',
|
|
85
|
+
template: "<div [nasClass]=\"getContainerClass()\">\n <div [nasClass]=\"getClass('box')\">\n <nas-icon [cssClass]=\"getClass('icon')\"\n [type]=\"'medium'\"\n [icon]=\"icon\"></nas-icon>\n <div [nasClass]=\"getClass('content')\">\n <div>\n <label [nasClass]=\"getClass('label')\">{{label}}</label>\n <nas-button #infoButton\n [cssClass]=\"getClass('info')\"\n [overrideBaseCssClass]=\"true\"\n [ariaLabel]=\"label\"\n (clickChange)=\"onInfoButtonClick()\"\n (keydown)=\"onInfoButtonKeydown($event)\"></nas-button>\n </div>\n <nas-select [spaceless]=\"true\"\n [fill]=\"true\"\n [cssClass]=\"getClass('select')\"\n [options]=\"options\"\n (selectedChange)=\"onSelectedChange($event)\"\n [selected]=\"selectedOption\"></nas-select>\n </div>\n </div>\n</div>",
|
|
86
|
+
encapsulation: ViewEncapsulation.None,
|
|
87
|
+
styles: ["@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@-webkit-keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@-webkit-keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@-webkit-keyframes fade-out{to{opacity:0}}@keyframes fade-out{to{opacity:0}}@-webkit-keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@-webkit-keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@-webkit-keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-subsidy-discount{margin-bottom:36px}@media (min-width: 640px){.nas-subsidy-discount{margin-top:16px}}@media (min-width: 1000px){.nas-subsidy-discount{margin-top:36px;margin-bottom:0}}.nas-subsidy-discount__box{display:flex;align-items:center;padding:16px;border:3px solid #c3c3c3;max-width:600px}@media (min-width: 1000px){.nas-subsidy-discount__box{display:inline-flex}}.nas-subsidy-discount__content{display:flex;flex-direction:column;align-items:flex-start}.nas-subsidy-discount__icon{margin-right:16px;display:none}@media (min-width: 640px){.nas-subsidy-discount__icon{display:block}}.nas-subsidy-discount__label{font-family:\"Apercu\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:bold;display:inline-block;margin-right:9px;margin-bottom:9px}.nas-subsidy-discount__select{margin-bottom:12px}.nas-subsidy-discount__info{margin-left:9px;width:21px;height:21px;border-radius:50%;background-color:#d8d8d8}.nas-subsidy-discount__info:before{content:\"?\";font-family:\"Apercu\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:bold}\n"]
|
|
88
|
+
},] }
|
|
89
|
+
];
|
|
90
|
+
SubsidyDiscountComponent.ctorParameters = () => [];
|
|
91
|
+
SubsidyDiscountComponent.propDecorators = {
|
|
92
|
+
infoButton: [{ type: ViewChild, args: ['infoButton',] }],
|
|
93
|
+
label: [{ type: Input }],
|
|
94
|
+
icon: [{ type: Input }],
|
|
95
|
+
selectedDiscount: [{ type: Input }],
|
|
96
|
+
discounts: [{ type: Input }],
|
|
97
|
+
infoButtonClick: [{ type: Output }],
|
|
98
|
+
infoButtonKeydown: [{ type: Output }],
|
|
99
|
+
discountSelectChange: [{ type: Output }]
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2lkeS1kaXNjb3VudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2x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xuICBAT3V0cHV0KCkgZGlzY291bnRTZWxlY3RDaGFuZ2UgPSBuZXcgRXZlbnRFbWl0dGVyPFN1YnNpZHlEaXNjb3VudE1vZGVsPigpO1xuXG4gIHByaXZhdGUgZGlzY291bnRzVmFsdWU6IEFycmF5PFN1YnNpZHlEaXNjb3VudE1vZGVsPjtcbiAgcHJpdmF0ZSBzZWxlY3RlZERpc2NvdW50VmFsdWU6IFN1YnNpZHlEaXNjb3VudE1vZGVsO1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCduYXMtc3Vic2lkeS1kaXNjb3VudCcpO1xuICB9XG5cbiAgb25JbmZvQnV0dG9uQ2xpY2soKTogdm9pZCB7XG4gICAgdGhpcy5pbmZvQnV0dG9uQ2xpY2suZW1pdCgpO1xuICB9XG5cbiAgb25TZWxlY3RlZENoYW5nZShvcHRpb246IFNlbGVjdE9wdGlvbk1vZGVsKTogdm9pZCB7XG4gICAgY29uc3Qgc2VsZWN0ZWREaXNjb3VudCA9IHRoaXMuZGlzY291bnRzLmZpbmQoeCA9PiB4LmNvZGUgPT09IG9wdGlvbi52YWx1ZSk7XG4gICAgdGhpcy5zZWxlY3RlZE9wdGlvbiA9IG9wdGlvbjtcbiAgICB0aGlzLmRpc2NvdW50U2VsZWN0Q2hhbmdlLmVtaXQoc2VsZWN0ZWREaXNjb3VudCk7XG4gIH1cblxuICBvbkluZm9CdXR0b25LZXlkb3duKGV2ZW50OiBLZXlib2FyZEV2ZW50KTogdm9pZCB7XG4gICAgdGhpcy5pbmZvQnV0dG9uS2V5ZG93bi5lbWl0KGV2ZW50KTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
4
|
+
import { ButtonModule } from '../button/button.module';
|
|
5
|
+
import { IconModule } from '../icon/icon.module';
|
|
6
|
+
import { SelectModule } from '../select/select.module';
|
|
7
|
+
import { SubsidyDiscountComponent } from './subsidy-discount.component';
|
|
8
|
+
export class SubsidyDiscountModule {
|
|
9
|
+
}
|
|
10
|
+
SubsidyDiscountModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
SelectModule,
|
|
15
|
+
NasClassModule,
|
|
16
|
+
IconModule,
|
|
17
|
+
ButtonModule
|
|
18
|
+
],
|
|
19
|
+
declarations: [SubsidyDiscountComponent],
|
|
20
|
+
exports: [SubsidyDiscountComponent]
|
|
21
|
+
},] }
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2lkeS1kaXNjb3VudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N1YnNpZHktZGlzY291bnQvc3Vic2lkeS1kaXNjb3VudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQ2xGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN2RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDhCQUE4Q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ZHlEaXNjb3VudENvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtTdWJzaWR5RGlzY291bnRDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIFN1YnNpZHlEaXNjb3VudE1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './suggestions.component';
|
|
2
|
+
export * from './suggestions.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N1Z2dlc3Rpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3VnZ2VzdGlvbnMuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc3VnZ2VzdGlvbnMubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
+
*/
|
|
5
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
+
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
7
|
+
/**
|
|
8
|
+
* @description
|
|
9
|
+
* Norwegian Suggestions Component | Functional
|
|
10
|
+
*/
|
|
11
|
+
export class SuggestionsComponent extends NasComponentBase {
|
|
12
|
+
constructor() {
|
|
13
|
+
super('nas-suggestions');
|
|
14
|
+
/**
|
|
15
|
+
* @description
|
|
16
|
+
* Fired when an airport is selected
|
|
17
|
+
*/
|
|
18
|
+
this.airportSelect = new EventEmitter();
|
|
19
|
+
}
|
|
20
|
+
onAirportSelect(airport) {
|
|
21
|
+
if (!airport) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
this.airportSelect.emit(airport);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
SuggestionsComponent.decorators = [
|
|
28
|
+
{ type: Component, args: [{
|
|
29
|
+
selector: 'nas-suggestions',
|
|
30
|
+
template: "<div *ngIf=\"suggestions\"\n [nasClass]=\"getClass()\">\n <span *ngFor=\"let suggestion of suggestions?.slice(0, 3); let index = index\">\n <nas-button link\n [tabindex]=\"-1\"\n (clickChange)=\"onAirportSelect(suggestion)\">\n {{suggestion.displayName}}\n </nas-button>\n <span *ngIf=\"index === 0 && suggestions.length > 2\">, </span>\n <span *ngIf=\"index === (suggestions.length - 2)\"> {{orLabel}} </span>\n <span *ngIf=\"index === (suggestions.length - 1)\">?</span>\n </span>\n</div>",
|
|
31
|
+
styles: ["@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@-webkit-keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@-webkit-keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@-webkit-keyframes fade-out{to{opacity:0}}@keyframes fade-out{to{opacity:0}}@-webkit-keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@-webkit-keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@-webkit-keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-suggestions{margin:6px 0 12px;display:flex}::ng-deep .nas-suggestions .nas-button--link{color:#002a3a}\n"]
|
|
32
|
+
},] }
|
|
33
|
+
];
|
|
34
|
+
SuggestionsComponent.ctorParameters = () => [];
|
|
35
|
+
SuggestionsComponent.propDecorators = {
|
|
36
|
+
suggestions: [{ type: Input }],
|
|
37
|
+
orLabel: [{ type: Input }],
|
|
38
|
+
airportSelect: [{ type: Output }]
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VnZ2VzdGlvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS1jb21wb25lbnRzL3NyYy9saWIv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3J0U2VsZWN0KGFpcnBvcnQ6IEFpcnBvcnRNb2RlbCk6IHZvaWQge1xuICAgIGlmICghYWlycG9ydCkge1xuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHRoaXMuYWlycG9ydFNlbGVjdC5lbWl0KGFpcnBvcnQpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
4
|
+
import { ButtonModule } from '../button/button.module';
|
|
5
|
+
import { SuggestionsComponent } from './suggestions.component';
|
|
6
|
+
export class SuggestionsModule {
|
|
7
|
+
}
|
|
8
|
+
SuggestionsModule.decorators = [
|
|
9
|
+
{ type: NgModule, args: [{
|
|
10
|
+
imports: [
|
|
11
|
+
CommonModule,
|
|
12
|
+
NasClassModule,
|
|
13
|
+
ButtonModule,
|
|
14
|
+
],
|
|
15
|
+
declarations: [SuggestionsComponent],
|
|
16
|
+
exports: [SuggestionsComponent]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VnZ2VzdGlvbnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9zdWdnZXN0aW9ucy9zdWdnZXN0aW9ucy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGtEQUFrRCxDQU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VxuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './tab-group.component';
|
|
2
|
+
export * from './tab-group.module';
|
|
3
|
+
export * from './tab/tab.component';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3RhYi1ncm91cC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGFiLWdyb3VwLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3RhYi1ncm91cC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi90YWIvdGFiLmNvbXBvbmVudCc7XG4iXX0=
|