@norwegian/core-components 6.60.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/fonts/NorwegianDisplay-Bold.ttf +0 -0
- package/assets/fonts/NorwegianDisplay-Regular.ttf +0 -0
- package/assets/fonts/NorwegianDisplayPro-Bold.otf +0 -0
- package/assets/fonts/NorwegianDisplayPro-Bold.woff +0 -0
- package/assets/fonts/NorwegianDisplayPro-Bold.woff2 +0 -0
- package/assets/fonts/NorwegianDisplayPro-Regular.otf +0 -0
- package/assets/fonts/NorwegianDisplayPro-Regular.woff +0 -0
- package/assets/fonts/NorwegianDisplayPro-Regular.woff2 +0 -0
- package/assets/fonts/NorwegianText-Bold.ttf +0 -0
- package/assets/fonts/NorwegianText-BoldItalic.ttf +0 -0
- package/assets/fonts/NorwegianText-Regular.ttf +0 -0
- package/assets/fonts/NorwegianText-RegularItalic.ttf +0 -0
- package/assets/fonts/NorwegianTextPro-Bold.otf +0 -0
- package/assets/fonts/NorwegianTextPro-Bold.woff +0 -0
- package/assets/fonts/NorwegianTextPro-Bold.woff2 +0 -0
- package/assets/fonts/NorwegianTextPro-BoldItalic.otf +0 -0
- package/assets/fonts/NorwegianTextPro-BoldItalic.woff +0 -0
- package/assets/fonts/NorwegianTextPro-BoldItalic.woff2 +0 -0
- package/assets/fonts/NorwegianTextPro-Regular.otf +0 -0
- package/assets/fonts/NorwegianTextPro-Regular.woff +0 -0
- package/assets/fonts/NorwegianTextPro-Regular.woff2 +0 -0
- package/assets/fonts/NorwegianTextPro-RegularItalic.otf +0 -0
- package/assets/fonts/NorwegianTextPro-RegularItalic.woff +0 -0
- package/assets/fonts/NorwegianTextPro-RegularItalic.woff2 +0 -0
- package/esm2022/lib/components/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +10 -7
- package/esm2022/lib/components/airport-select/airport-select.component.mjs +45 -12
- package/esm2022/lib/components/airport-select/airport-select.module.mjs +4 -4
- package/esm2022/lib/components/airport-select/index.mjs +1 -2
- package/esm2022/lib/components/airport-select/models/results-labels.model.mjs +1 -1
- package/esm2022/lib/components/airport-select/services/airport-select-dropdown.service.mjs +2 -2
- package/esm2022/lib/components/airport-select/services/airport-select.service.mjs +3 -3
- package/esm2022/lib/components/alert/alert.component.mjs +5 -5
- package/esm2022/lib/components/alert/alert.module.mjs +4 -4
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +25 -5
- package/esm2022/lib/components/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/lib/components/autocomplete/index.mjs +1 -2
- package/esm2022/lib/components/box/box.component.mjs +2 -2
- package/esm2022/lib/components/button/button.component.mjs +16 -11
- package/esm2022/lib/components/button/button.module.mjs +1 -1
- package/esm2022/lib/components/campaign-header/campaign-header.component.mjs +2 -2
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +4 -4
- package/esm2022/lib/components/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/lib/components/continue/continue.component.mjs +2 -2
- package/esm2022/lib/components/continue/continue.module.mjs +1 -1
- package/esm2022/lib/components/cover/cover.component.mjs +2 -2
- package/esm2022/lib/components/cover/cover.module.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +29 -5
- package/esm2022/lib/components/datepicker/calendar/models/day.model.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/models/select-option.model.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/models/week.model.mjs +1 -1
- package/esm2022/lib/components/datepicker/datepicker.component.mjs +25 -11
- package/esm2022/lib/components/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/lib/components/datepicker/index.mjs +2 -1
- package/esm2022/lib/components/datepicker/services/calendar.service.mjs +7 -5
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +38 -11
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.module.mjs +14 -6
- package/esm2022/lib/components/divider/divider.component.mjs +4 -4
- package/esm2022/lib/components/divider/divider.module.mjs +6 -6
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/lib/components/filter/filter.component.mjs +139 -72
- package/esm2022/lib/components/filter/filter.module.mjs +23 -11
- package/esm2022/lib/components/filter/index.mjs +2 -1
- package/esm2022/lib/components/icon-list/icon-list.component.mjs +2 -2
- package/esm2022/lib/components/index.mjs +13 -15
- package/esm2022/lib/components/info/info.component.mjs +2 -2
- package/esm2022/lib/components/input/input.component.mjs +61 -14
- package/esm2022/lib/components/input/input.module.mjs +2 -2
- package/esm2022/lib/components/journey/journey.component.mjs +2 -2
- package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +2 -2
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +2 -2
- package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +2 -2
- package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +2 -2
- package/esm2022/lib/components/list/list.component.mjs +3 -3
- package/esm2022/lib/components/micro-button/micro-button.component.mjs +2 -2
- package/esm2022/lib/components/modal/modal.component.mjs +2 -2
- package/esm2022/lib/components/number-field/number-field.component.mjs +11 -4
- package/esm2022/lib/components/number-field/number-field.module.mjs +1 -1
- package/esm2022/lib/components/page-footer/page-footer.component.mjs +2 -2
- package/esm2022/lib/components/page-header/page-header.component.mjs +2 -2
- package/esm2022/lib/components/page-header/page-header.module.mjs +2 -6
- package/esm2022/lib/components/page-header/search/search.component.mjs +2 -2
- package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +9 -6
- package/esm2022/lib/components/passenger-select/index.mjs +3 -1
- package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +1 -1
- package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +5 -5
- package/esm2022/lib/components/passenger-select/passenger-select.module.mjs +14 -6
- package/esm2022/lib/components/phone-number/phone-number.component.mjs +2 -2
- package/esm2022/lib/components/radio/radio.component.mjs +4 -4
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +2 -2
- package/esm2022/lib/components/select/select.component.mjs +2 -2
- package/esm2022/lib/components/simple-list/simple-list.component.mjs +2 -2
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +14 -14
- package/esm2022/lib/components/slide-toggle/slide-toggle.module.mjs +1 -1
- package/esm2022/lib/components/slider/slider.component.mjs +4 -4
- package/esm2022/lib/components/sort/sort.component.mjs +2 -2
- package/esm2022/lib/components/sort/sort.module.mjs +1 -1
- package/esm2022/lib/components/spinner/spinner.component.mjs +2 -2
- package/esm2022/lib/components/status-box/status-box.component.mjs +5 -6
- package/esm2022/lib/components/status-box/status-box.module.mjs +5 -5
- package/esm2022/lib/components/subsidy-discount/subsidy-discount.component.mjs +2 -2
- package/esm2022/lib/components/suggestions/suggestions.component.mjs +3 -3
- package/esm2022/lib/components/tab-group/tab/tab.component.mjs +2 -2
- package/esm2022/lib/components/table/table.component.mjs +2 -2
- package/esm2022/lib/components/tag/tag.component.mjs +2 -2
- package/esm2022/lib/components/textarea/textarea.component.mjs +2 -2
- package/esm2022/lib/components/toggle/toggle.component.mjs +2 -2
- package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +2 -2
- package/esm2022/lib/core/directives/nas-class/nas-class.module.mjs +1 -1
- package/fesm2022/norwegian-core-components.mjs +4605 -10823
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +3 -2
- package/lib/components/airport-select/airport-select.component.d.ts +22 -6
- package/lib/components/airport-select/index.d.ts +0 -1
- package/lib/components/alert/alert.module.d.ts +4 -4
- package/lib/components/autocomplete/autocomplete.component.d.ts +8 -4
- package/lib/components/autocomplete/index.d.ts +0 -1
- package/lib/components/button/button.component.d.ts +35 -26
- package/lib/components/checkbox/checkbox.component.d.ts +1 -1
- package/lib/components/datepicker/calendar/calendar.component.d.ts +11 -1
- package/lib/components/datepicker/calendar/models/day.model.d.ts +1 -0
- package/lib/components/datepicker/datepicker.component.d.ts +20 -2
- package/lib/components/datepicker/index.d.ts +1 -0
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +26 -3
- package/lib/components/divider/divider.module.d.ts +3 -3
- package/lib/components/filter/filter.component.d.ts +80 -24
- package/lib/components/filter/filter.module.d.ts +10 -7
- package/lib/components/filter/index.d.ts +1 -0
- package/lib/components/index.d.ts +12 -14
- package/lib/components/input/input.component.d.ts +21 -17
- package/lib/components/list/list.component.d.ts +1 -1
- package/lib/components/number-field/number-field.component.d.ts +10 -2
- package/lib/components/page-header/page-header.module.d.ts +2 -3
- package/lib/components/page-header/wallet/wallet.component.d.ts +1 -0
- package/lib/components/passenger-select/index.d.ts +2 -0
- package/lib/components/passenger-select/models/passengers.model.d.ts +1 -0
- package/lib/components/passenger-select/passenger-select.component.d.ts +2 -2
- package/lib/components/radio/radio.component.d.ts +1 -1
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +9 -9
- package/lib/components/slider/slider.component.d.ts +3 -3
- package/lib/components/status-box/status-box.component.d.ts +3 -3
- package/lib/components/status-box/status-box.module.d.ts +2 -2
- package/package.json +1 -1
- package/styles/1__settings/_colors.scss +107 -53
- package/styles/1__settings/_mixins.scss +78 -30
- package/styles/1__settings/_type.scss +17 -43
- package/styles/2__generic/_fonts.scss +16 -28
- package/styles/3__base/_body.scss +3 -3
- package/styles/3__base/_heading.scss +28 -20
- package/styles/3__base/_hr.scss +4 -4
- package/styles/3__base/_input.scss +3 -3
- package/styles/3__base/_link.scss +17 -17
- package/styles/3__base/_table.scss +9 -5
- package/styles/3__base/_type.scss +4 -4
- package/assets/documentation/autocomplete-new/autocomplete-new.md +0 -1
- package/assets/documentation/datepicker/calendar/calendar.md +0 -3
- package/assets/documentation/filter-new/filter-new.md +0 -0
- package/assets/documentation/number-field-new/number-field-new.md +0 -1
- package/assets/documentation/page-header-old/page-header-old.md +0 -1
- package/assets/documentation/weather-icon/weather-icon.md +0 -1
- package/assets/fonts/apercu_bold_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.svg +0 -12420
- package/assets/fonts/apercu_bold_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_bold_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_bold_italic_pro.otf +0 -0
- package/assets/fonts/apercu_bold_pro-web.eot +0 -0
- package/assets/fonts/apercu_bold_pro-web.svg +0 -10193
- package/assets/fonts/apercu_bold_pro-web.ttf +0 -0
- package/assets/fonts/apercu_bold_pro-web.woff +0 -0
- package/assets/fonts/apercu_bold_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_bold_pro.otf +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.svg +0 -12831
- package/assets/fonts/apercu_light_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_light_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_light_pro-web.eot +0 -0
- package/assets/fonts/apercu_light_pro-web.svg +0 -9704
- package/assets/fonts/apercu_light_pro-web.ttf +0 -0
- package/assets/fonts/apercu_light_pro-web.woff +0 -0
- package/assets/fonts/apercu_light_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.svg +0 -12354
- package/assets/fonts/apercu_medium_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_medium_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_medium_italic_pro.otf +0 -0
- package/assets/fonts/apercu_medium_pro-web.eot +0 -0
- package/assets/fonts/apercu_medium_pro-web.svg +0 -12254
- package/assets/fonts/apercu_medium_pro-web.ttf +0 -0
- package/assets/fonts/apercu_medium_pro-web.woff +0 -0
- package/assets/fonts/apercu_medium_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_medium_pro.otf +0 -0
- package/assets/fonts/apercu_mono_pro-web.eot +0 -0
- package/assets/fonts/apercu_mono_pro-web.svg +0 -538
- package/assets/fonts/apercu_mono_pro-web.ttf +0 -0
- package/assets/fonts/apercu_mono_pro-web.woff +0 -0
- package/assets/fonts/apercu_mono_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.eot +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.svg +0 -13059
- package/assets/fonts/apercu_regular_italic_pro-web.ttf +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.woff +0 -0
- package/assets/fonts/apercu_regular_italic_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_regular_italic_pro.otf +0 -0
- package/assets/fonts/apercu_regular_pro-web.eot +0 -0
- package/assets/fonts/apercu_regular_pro-web.svg +0 -11356
- package/assets/fonts/apercu_regular_pro-web.ttf +0 -0
- package/assets/fonts/apercu_regular_pro-web.woff +0 -0
- package/assets/fonts/apercu_regular_pro-web.woff2 +0 -0
- package/assets/fonts/apercu_regular_pro.otf +0 -0
- package/esm2022/lib/components/airport-select-new/airport-select-dropdown/airport-select-dropdown.component.mjs +0 -611
- package/esm2022/lib/components/airport-select-new/airport-select-new.component.mjs +0 -477
- package/esm2022/lib/components/airport-select-new/airport-select-new.module.mjs +0 -42
- package/esm2022/lib/components/airport-select-new/index.mjs +0 -4
- package/esm2022/lib/components/airport-select-new/models/airport.model.mjs +0 -2
- package/esm2022/lib/components/airport-select-new/models/results-labels.model.mjs +0 -3
- package/esm2022/lib/components/airport-select-new/services/airport-select-dropdown.service.mjs +0 -35
- package/esm2022/lib/components/airport-select-new/services/airport-select.service.mjs +0 -38
- package/esm2022/lib/components/autocomplete-new/autocomplete-new.component.mjs +0 -309
- package/esm2022/lib/components/autocomplete-new/autocomplete-new.module.mjs +0 -43
- package/esm2022/lib/components/autocomplete-new/index.mjs +0 -3
- package/esm2022/lib/components/autocomplete-new/models/autocomplete-new.model.mjs +0 -2
- package/esm2022/lib/components/button-new/button-new.component.mjs +0 -176
- package/esm2022/lib/components/button-new/button-new.module.mjs +0 -21
- package/esm2022/lib/components/button-new/index.mjs +0 -3
- package/esm2022/lib/components/checkbox-new/checkbox-new.component.mjs +0 -150
- package/esm2022/lib/components/checkbox-new/checkbox-new.module.mjs +0 -20
- package/esm2022/lib/components/checkbox-new/index.mjs +0 -3
- package/esm2022/lib/components/datepicker-combo-new/datepicker-combo-new.component.mjs +0 -397
- package/esm2022/lib/components/datepicker-combo-new/datepicker-combo-new.module.mjs +0 -31
- package/esm2022/lib/components/datepicker-combo-new/index.mjs +0 -3
- package/esm2022/lib/components/datepicker-new/calendar-new/calendar-date.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/calendar-new/calendar-new.component.mjs +0 -594
- package/esm2022/lib/components/datepicker-new/calendar-new/enums/week-start.enum.mjs +0 -6
- package/esm2022/lib/components/datepicker-new/calendar-new/models/day.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/calendar-new/models/select-option.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/calendar-new/models/week.model.mjs +0 -2
- package/esm2022/lib/components/datepicker-new/datepicker-new.component.mjs +0 -572
- package/esm2022/lib/components/datepicker-new/datepicker-new.module.mjs +0 -55
- package/esm2022/lib/components/datepicker-new/index.mjs +0 -5
- package/esm2022/lib/components/datepicker-new/services/calendar.service.mjs +0 -215
- package/esm2022/lib/components/filter-new/enums/trip-type.enum.mjs +0 -8
- package/esm2022/lib/components/filter-new/filter-new.component.mjs +0 -1349
- package/esm2022/lib/components/filter-new/filter-new.module.mjs +0 -105
- package/esm2022/lib/components/filter-new/index.mjs +0 -4
- package/esm2022/lib/components/input-text/index.mjs +0 -3
- package/esm2022/lib/components/input-text/input-text.component.mjs +0 -231
- package/esm2022/lib/components/input-text/input-text.module.mjs +0 -35
- package/esm2022/lib/components/number-field-new/index.mjs +0 -3
- package/esm2022/lib/components/number-field-new/models/number-field-new.model.mjs +0 -2
- package/esm2022/lib/components/number-field-new/number-field-new.component.mjs +0 -155
- package/esm2022/lib/components/number-field-new/number-field-new.module.mjs +0 -39
- package/esm2022/lib/components/page-header-old/index.mjs +0 -5
- package/esm2022/lib/components/page-header-old/old-hamburger/old-hamburger.component.mjs +0 -22
- package/esm2022/lib/components/page-header-old/old-search/old-search.component.mjs +0 -49
- package/esm2022/lib/components/page-header-old/page-header-old.component.mjs +0 -160
- package/esm2022/lib/components/page-header-old/page-header-old.module.mjs +0 -44
- package/esm2022/lib/components/passenger-select-new/enums/passenger-type.enum.mjs +0 -9
- package/esm2022/lib/components/passenger-select-new/index.mjs +0 -5
- package/esm2022/lib/components/passenger-select-new/models/passengers.model.mjs +0 -2
- package/esm2022/lib/components/passenger-select-new/passenger-select-new.component.mjs +0 -423
- package/esm2022/lib/components/passenger-select-new/passenger-select-new.module.mjs +0 -28
- package/esm2022/lib/components/radio-new/index.mjs +0 -3
- package/esm2022/lib/components/radio-new/radio-new.component.mjs +0 -100
- package/esm2022/lib/components/radio-new/radio-new.module.mjs +0 -20
- package/esm2022/lib/components/slide-toggle-new/index.mjs +0 -3
- package/esm2022/lib/components/slide-toggle-new/slide-toggle-new.component.mjs +0 -115
- package/esm2022/lib/components/slide-toggle-new/slide-toggle-new.module.mjs +0 -20
- package/esm2022/lib/components/weather-icon/index.mjs +0 -3
- package/esm2022/lib/components/weather-icon/weather-icon.component.mjs +0 -61
- package/esm2022/lib/components/weather-icon/weather-icon.module.mjs +0 -19
- package/lib/components/airport-select-new/airport-select-dropdown/airport-select-dropdown.component.d.ts +0 -97
- package/lib/components/airport-select-new/airport-select-new.component.d.ts +0 -302
- package/lib/components/airport-select-new/airport-select-new.module.d.ts +0 -13
- package/lib/components/airport-select-new/index.d.ts +0 -2
- package/lib/components/airport-select-new/models/airport.model.d.ts +0 -11
- package/lib/components/airport-select-new/models/results-labels.model.d.ts +0 -7
- package/lib/components/airport-select-new/services/airport-select-dropdown.service.d.ts +0 -10
- package/lib/components/airport-select-new/services/airport-select.service.d.ts +0 -8
- package/lib/components/autocomplete-new/autocomplete-new.component.d.ts +0 -135
- package/lib/components/autocomplete-new/autocomplete-new.module.d.ts +0 -13
- package/lib/components/autocomplete-new/index.d.ts +0 -2
- package/lib/components/autocomplete-new/models/autocomplete-new.model.d.ts +0 -5
- package/lib/components/button-new/button-new.component.d.ts +0 -276
- package/lib/components/button-new/button-new.module.d.ts +0 -11
- package/lib/components/button-new/index.d.ts +0 -2
- package/lib/components/checkbox-new/checkbox-new.component.d.ts +0 -138
- package/lib/components/checkbox-new/checkbox-new.module.d.ts +0 -10
- package/lib/components/checkbox-new/index.d.ts +0 -2
- package/lib/components/datepicker-combo-new/datepicker-combo-new.component.d.ts +0 -309
- package/lib/components/datepicker-combo-new/datepicker-combo-new.module.d.ts +0 -10
- package/lib/components/datepicker-combo-new/index.d.ts +0 -2
- package/lib/components/datepicker-new/calendar-new/calendar-date.model.d.ts +0 -5
- package/lib/components/datepicker-new/calendar-new/calendar-new.component.d.ts +0 -159
- package/lib/components/datepicker-new/calendar-new/enums/week-start.enum.d.ts +0 -4
- package/lib/components/datepicker-new/calendar-new/models/day.model.d.ts +0 -10
- package/lib/components/datepicker-new/calendar-new/models/select-option.model.d.ts +0 -4
- package/lib/components/datepicker-new/calendar-new/models/week.model.d.ts +0 -5
- package/lib/components/datepicker-new/datepicker-new.component.d.ts +0 -278
- package/lib/components/datepicker-new/datepicker-new.module.d.ts +0 -16
- package/lib/components/datepicker-new/index.d.ts +0 -4
- package/lib/components/datepicker-new/services/calendar.service.d.ts +0 -27
- package/lib/components/filter-new/enums/trip-type.enum.d.ts +0 -6
- package/lib/components/filter-new/filter-new.component.d.ts +0 -838
- package/lib/components/filter-new/filter-new.module.d.ts +0 -28
- package/lib/components/filter-new/index.d.ts +0 -3
- package/lib/components/input-text/index.d.ts +0 -2
- package/lib/components/input-text/input-text.component.d.ts +0 -203
- package/lib/components/input-text/input-text.module.d.ts +0 -11
- package/lib/components/number-field-new/index.d.ts +0 -2
- package/lib/components/number-field-new/models/number-field-new.model.d.ts +0 -5
- package/lib/components/number-field-new/number-field-new.component.d.ts +0 -116
- package/lib/components/number-field-new/number-field-new.module.d.ts +0 -12
- package/lib/components/page-header-old/index.d.ts +0 -4
- package/lib/components/page-header-old/old-hamburger/old-hamburger.component.d.ts +0 -12
- package/lib/components/page-header-old/old-search/old-search.component.d.ts +0 -26
- package/lib/components/page-header-old/page-header-old.component.d.ts +0 -112
- package/lib/components/page-header-old/page-header-old.module.d.ts +0 -14
- package/lib/components/passenger-select-new/enums/passenger-type.enum.d.ts +0 -7
- package/lib/components/passenger-select-new/index.d.ts +0 -4
- package/lib/components/passenger-select-new/models/passengers.model.d.ts +0 -10
- package/lib/components/passenger-select-new/passenger-select-new.component.d.ts +0 -141
- package/lib/components/passenger-select-new/passenger-select-new.module.d.ts +0 -10
- package/lib/components/radio-new/index.d.ts +0 -2
- package/lib/components/radio-new/radio-new.component.d.ts +0 -135
- package/lib/components/radio-new/radio-new.module.d.ts +0 -10
- package/lib/components/slide-toggle-new/index.d.ts +0 -2
- package/lib/components/slide-toggle-new/slide-toggle-new.component.d.ts +0 -70
- package/lib/components/slide-toggle-new/slide-toggle-new.module.d.ts +0 -10
- package/lib/components/weather-icon/index.d.ts +0 -2
- package/lib/components/weather-icon/weather-icon.component.d.ts +0 -60
- package/lib/components/weather-icon/weather-icon.module.d.ts +0 -9
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { EventEmitter, ElementRef, AfterViewChecked, OnInit, OnDestroy } from '@angular/core';
|
|
6
|
-
import { FormGroup } from '@angular/forms';
|
|
7
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
8
|
-
import { ClassModel } from '../../core/models/class.model';
|
|
9
|
-
import { UtcDate } from '../../core/models/utc-date.model';
|
|
10
|
-
import { DateHelper } from '../../core/services/date/date-helper.service';
|
|
11
|
-
import { DeviceHelper } from '../../core/services/device/device-helper.service';
|
|
12
|
-
import { DatepickerNewComponent } from '../datepicker-new';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* @description
|
|
16
|
-
* Norwegian Datepicker Combo Component | New design | Beta
|
|
17
|
-
*/
|
|
18
|
-
export declare class DatepickerComboNewComponent extends NasComponentBase implements OnInit, AfterViewChecked, OnDestroy {
|
|
19
|
-
private dateService;
|
|
20
|
-
private deviceHelper;
|
|
21
|
-
inboundLowerLimitDate: UtcDate;
|
|
22
|
-
datepickerOutbound: DatepickerNewComponent;
|
|
23
|
-
datepickerInbound: ElementRef;
|
|
24
|
-
container: ElementRef;
|
|
25
|
-
/**
|
|
26
|
-
* @property Input
|
|
27
|
-
* @description
|
|
28
|
-
* Adds 'aria-label' to the backdrops.
|
|
29
|
-
*/
|
|
30
|
-
ariaLabelBackdrop: string;
|
|
31
|
-
/**
|
|
32
|
-
* @property Input
|
|
33
|
-
* @description
|
|
34
|
-
* Sets outbound datepicker open.
|
|
35
|
-
*/
|
|
36
|
-
get outboundOpen(): boolean;
|
|
37
|
-
set outboundOpen(value: boolean);
|
|
38
|
-
/**
|
|
39
|
-
* @property Input
|
|
40
|
-
* @description
|
|
41
|
-
* Sets inbound datepicker open.
|
|
42
|
-
*/
|
|
43
|
-
get inboundOpen(): boolean;
|
|
44
|
-
set inboundOpen(value: boolean);
|
|
45
|
-
/**
|
|
46
|
-
* @property Input
|
|
47
|
-
* @description
|
|
48
|
-
* Label for no available flights.
|
|
49
|
-
*/
|
|
50
|
-
noAvailableFlightsLabel: string;
|
|
51
|
-
/**
|
|
52
|
-
* @property Input
|
|
53
|
-
* @description
|
|
54
|
-
* Label for available flights.
|
|
55
|
-
*/
|
|
56
|
-
availableFlightsLabel: string;
|
|
57
|
-
/**
|
|
58
|
-
* @property Input
|
|
59
|
-
* @description
|
|
60
|
-
* Disable possibility to select dates in the past.
|
|
61
|
-
*/
|
|
62
|
-
disablePastSelection: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* @property Input
|
|
65
|
-
* @description
|
|
66
|
-
* Disable possibility to select outbound dates.
|
|
67
|
-
*/
|
|
68
|
-
outboundDisabled: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* @property Input
|
|
71
|
-
* @description
|
|
72
|
-
* Disable possibility to select inbound dates.
|
|
73
|
-
*/
|
|
74
|
-
inboundDisabled: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* @property Input
|
|
77
|
-
* @description
|
|
78
|
-
* Remove the inbound datepicker if set.
|
|
79
|
-
*/
|
|
80
|
-
outboundOnly: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* @property Input
|
|
83
|
-
* @description
|
|
84
|
-
* Label for outbound datepicker.
|
|
85
|
-
*/
|
|
86
|
-
outboundLabel: string;
|
|
87
|
-
/**
|
|
88
|
-
* @property Input
|
|
89
|
-
* @description
|
|
90
|
-
* Label for inbound datepicker.
|
|
91
|
-
*/
|
|
92
|
-
inboundLabel: string;
|
|
93
|
-
/**
|
|
94
|
-
* @property Input
|
|
95
|
-
* @description
|
|
96
|
-
* Label for timepicker.
|
|
97
|
-
*/
|
|
98
|
-
timepickerLabel: string;
|
|
99
|
-
/**
|
|
100
|
-
* @property Input
|
|
101
|
-
* @description
|
|
102
|
-
* Sets the datepickers in availability mode where available dates can be added.
|
|
103
|
-
*/
|
|
104
|
-
availability: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* @property Input
|
|
107
|
-
* @description
|
|
108
|
-
* Available dates for outbound calendar.
|
|
109
|
-
*/
|
|
110
|
-
outboundAvailableDates: Array<UtcDate>;
|
|
111
|
-
/**
|
|
112
|
-
* @property Input
|
|
113
|
-
* @description
|
|
114
|
-
* Available dates for inbound calendar.
|
|
115
|
-
*/
|
|
116
|
-
inboundAvailableDates: Array<UtcDate>;
|
|
117
|
-
/**
|
|
118
|
-
* @property Input
|
|
119
|
-
* @description
|
|
120
|
-
* If set, Enables the time dropdown selector alongside datepicker.
|
|
121
|
-
*/
|
|
122
|
-
times: Array<UtcDate>;
|
|
123
|
-
/**
|
|
124
|
-
* @property Input
|
|
125
|
-
* @description
|
|
126
|
-
* The display format of the date when user has selected the date and it is being shown in the input box for the date picker.
|
|
127
|
-
* Please look at the angular Date pipe for valid formats and variations.
|
|
128
|
-
*/
|
|
129
|
-
dateDisplayFormat: string;
|
|
130
|
-
/**
|
|
131
|
-
* @property Input
|
|
132
|
-
* @description
|
|
133
|
-
* The time display format.
|
|
134
|
-
*/
|
|
135
|
-
timeDisplayFormat: string;
|
|
136
|
-
/**
|
|
137
|
-
* @property Input
|
|
138
|
-
* @description
|
|
139
|
-
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
140
|
-
* This requires that registerLocaleData is called with the respective locale.
|
|
141
|
-
*/
|
|
142
|
-
locale: string;
|
|
143
|
-
/**
|
|
144
|
-
* @property Input
|
|
145
|
-
* @description
|
|
146
|
-
* A modifier to remove the padding and margins around the element.
|
|
147
|
-
*/
|
|
148
|
-
compact: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* @property Input
|
|
151
|
-
* @description
|
|
152
|
-
* Adds the parent's form group.
|
|
153
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
154
|
-
* It is requiered to be filled if nasFormControlName added.
|
|
155
|
-
*/
|
|
156
|
-
nasFormGroup: FormGroup;
|
|
157
|
-
/**
|
|
158
|
-
* @property Input
|
|
159
|
-
* @description
|
|
160
|
-
* Sets a formControlName directive to the input.
|
|
161
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
162
|
-
* It requiers that the nasFormGroup input is filled.
|
|
163
|
-
*/
|
|
164
|
-
nasFormControlNameOutbound: string;
|
|
165
|
-
/**
|
|
166
|
-
* @property Input
|
|
167
|
-
* @description
|
|
168
|
-
* Sets a formControlName directive to the input.
|
|
169
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
170
|
-
* It requiers that the nasFormGroup input is filled.
|
|
171
|
-
*/
|
|
172
|
-
nasFormControlNameInbound: string;
|
|
173
|
-
/**
|
|
174
|
-
* @property Input
|
|
175
|
-
* @description
|
|
176
|
-
* Selected datefor outbound calendar.
|
|
177
|
-
*/
|
|
178
|
-
get outboundSelectedDate(): UtcDate;
|
|
179
|
-
set outboundSelectedDate(date: UtcDate);
|
|
180
|
-
/**
|
|
181
|
-
* @property Input
|
|
182
|
-
* @description
|
|
183
|
-
* Selected datefor inbound calendar.
|
|
184
|
-
*/
|
|
185
|
-
get inboundSelectedDate(): UtcDate;
|
|
186
|
-
set inboundSelectedDate(date: UtcDate);
|
|
187
|
-
/**
|
|
188
|
-
* @property Input
|
|
189
|
-
* @description
|
|
190
|
-
* enable to disable backdrop.
|
|
191
|
-
*/
|
|
192
|
-
disableBackdrop: boolean;
|
|
193
|
-
/**
|
|
194
|
-
* @property Input
|
|
195
|
-
* @description
|
|
196
|
-
* Sets the outbound selected time in the time selector.
|
|
197
|
-
*/
|
|
198
|
-
outboundSelectedTime: UtcDate;
|
|
199
|
-
/**
|
|
200
|
-
* @property Input
|
|
201
|
-
* @description
|
|
202
|
-
* Sets the inbound selected time in the time selector.
|
|
203
|
-
*/
|
|
204
|
-
inboundSelectedTime: UtcDate;
|
|
205
|
-
/**
|
|
206
|
-
* @property Input
|
|
207
|
-
* @description
|
|
208
|
-
* ARIA label for the previous month button in the calendar.
|
|
209
|
-
*/
|
|
210
|
-
ariaLabelPreviousMonth: string;
|
|
211
|
-
/**
|
|
212
|
-
* @property Input
|
|
213
|
-
* @description
|
|
214
|
-
* ARIA label for the next month button in the calendar.
|
|
215
|
-
*/
|
|
216
|
-
ariaLabelNextMonth: string;
|
|
217
|
-
/**
|
|
218
|
-
* @property Input
|
|
219
|
-
* @description
|
|
220
|
-
* Sets a relative number to decide when the inbound lower limit date should be based on selected outbound date.
|
|
221
|
-
*
|
|
222
|
-
* The lower limit date for inbound is set by default equal to the selected outbound date.
|
|
223
|
-
*
|
|
224
|
-
* If this number is positive, the inbound lower limit date will add the number of days to the selected outbound date.
|
|
225
|
-
* If this number is negative, the inbound lower limit date will subtract the number of days to the selected outbound date.
|
|
226
|
-
*/
|
|
227
|
-
inboundLowerLimitDateOffset: number;
|
|
228
|
-
/**
|
|
229
|
-
* @property Input
|
|
230
|
-
* @description
|
|
231
|
-
* Outbound and inbound dates keep the inline flex.
|
|
232
|
-
*/
|
|
233
|
-
inlineFlex: boolean;
|
|
234
|
-
/**
|
|
235
|
-
* @property Output
|
|
236
|
-
* @description
|
|
237
|
-
* When selected datehas been changed on the outbound calendar.
|
|
238
|
-
*/
|
|
239
|
-
outboundSelectedDateChange: EventEmitter<UtcDate>;
|
|
240
|
-
/**
|
|
241
|
-
* @property Output
|
|
242
|
-
* @description
|
|
243
|
-
* When selected datehas been changed on the inbound calendar.
|
|
244
|
-
*/
|
|
245
|
-
inboundSelectedDateChange: EventEmitter<UtcDate>;
|
|
246
|
-
/**
|
|
247
|
-
* @property Output
|
|
248
|
-
* @description
|
|
249
|
-
* Outbound datepicker is open or closed.
|
|
250
|
-
*/
|
|
251
|
-
outboundOpenChange: EventEmitter<boolean>;
|
|
252
|
-
/**
|
|
253
|
-
* @property Output
|
|
254
|
-
* @description
|
|
255
|
-
* Inbound datepicker is open or closed.
|
|
256
|
-
*/
|
|
257
|
-
inboundOpenChange: EventEmitter<boolean>;
|
|
258
|
-
/**
|
|
259
|
-
* @property Output
|
|
260
|
-
* @description
|
|
261
|
-
* Outbound calendar changes month.
|
|
262
|
-
*/
|
|
263
|
-
outboundMonthChange: EventEmitter<UtcDate>;
|
|
264
|
-
/**
|
|
265
|
-
* @property Output
|
|
266
|
-
* @description
|
|
267
|
-
* Inbound calendar changes month.
|
|
268
|
-
*/
|
|
269
|
-
inboundMonthChange: EventEmitter<UtcDate>;
|
|
270
|
-
/**
|
|
271
|
-
* @property Output
|
|
272
|
-
* @description
|
|
273
|
-
* When a user has actively changed the date.
|
|
274
|
-
*/
|
|
275
|
-
focusOnNextChange: EventEmitter<any>;
|
|
276
|
-
/**
|
|
277
|
-
* @property Output
|
|
278
|
-
* @description
|
|
279
|
-
* When a user has pressed shift + tab to go to previous control.
|
|
280
|
-
*/
|
|
281
|
-
focusOnPreviousChange: EventEmitter<KeyboardEvent | MouseEvent>;
|
|
282
|
-
get inboundSelectedMonth(): UtcDate;
|
|
283
|
-
set inboundSelectedMonth(month: UtcDate);
|
|
284
|
-
private outboundSelectedDateValue;
|
|
285
|
-
private inboundSelectedDateValue;
|
|
286
|
-
private inboundSelectedMonthValue;
|
|
287
|
-
private inboundOpenValue;
|
|
288
|
-
private outboundOpenValue;
|
|
289
|
-
private containerWidth;
|
|
290
|
-
private inboundValueChangesSubscription;
|
|
291
|
-
private outboundValueChangesSubscription;
|
|
292
|
-
private isInlineFlexOnView;
|
|
293
|
-
constructor(dateService: DateHelper, deviceHelper: DeviceHelper);
|
|
294
|
-
ngOnInit(): void;
|
|
295
|
-
ngAfterViewChecked(): void;
|
|
296
|
-
onFocusOnNext(event: KeyboardEvent | MouseEvent): void;
|
|
297
|
-
onFocusOnPrevious(event: KeyboardEvent): void;
|
|
298
|
-
onInboundFocusOnPrevious(): void;
|
|
299
|
-
onOutboundMonthChange(date: UtcDate): void;
|
|
300
|
-
getMainClass(): Array<ClassModel>;
|
|
301
|
-
checkOutboundOnly(): boolean;
|
|
302
|
-
checkInboundDisabled(): boolean;
|
|
303
|
-
ngOnDestroy(): void;
|
|
304
|
-
private updateContainerWidth;
|
|
305
|
-
setInlineFlexOnContainterWidth(): void;
|
|
306
|
-
datePickerFloating(): boolean;
|
|
307
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComboNewComponent, never>;
|
|
308
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComboNewComponent, "nas-datepicker-combo-new", never, { "ariaLabelBackdrop": { "alias": "ariaLabelBackdrop"; "required": false; }; "outboundOpen": { "alias": "outboundOpen"; "required": false; }; "inboundOpen": { "alias": "inboundOpen"; "required": false; }; "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "outboundDisabled": { "alias": "outboundDisabled"; "required": false; }; "inboundDisabled": { "alias": "inboundDisabled"; "required": false; }; "outboundOnly": { "alias": "outboundOnly"; "required": false; }; "outboundLabel": { "alias": "outboundLabel"; "required": false; }; "inboundLabel": { "alias": "inboundLabel"; "required": false; }; "timepickerLabel": { "alias": "timepickerLabel"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "outboundAvailableDates": { "alias": "outboundAvailableDates"; "required": false; }; "inboundAvailableDates": { "alias": "inboundAvailableDates"; "required": false; }; "times": { "alias": "times"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "nasFormControlNameOutbound": { "alias": "nasFormControlNameOutbound"; "required": false; }; "nasFormControlNameInbound": { "alias": "nasFormControlNameInbound"; "required": false; }; "outboundSelectedDate": { "alias": "outboundSelectedDate"; "required": false; }; "inboundSelectedDate": { "alias": "inboundSelectedDate"; "required": false; }; "disableBackdrop": { "alias": "disableBackdrop"; "required": false; }; "outboundSelectedTime": { "alias": "outboundSelectedTime"; "required": false; }; "inboundSelectedTime": { "alias": "inboundSelectedTime"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; "inboundLowerLimitDateOffset": { "alias": "inboundLowerLimitDateOffset"; "required": false; }; "inlineFlex": { "alias": "inlineFlex"; "required": false; }; }, { "outboundSelectedDateChange": "outboundSelectedDateChange"; "inboundSelectedDateChange": "inboundSelectedDateChange"; "outboundOpenChange": "outboundOpenChange"; "inboundOpenChange": "inboundOpenChange"; "outboundMonthChange": "outboundMonthChange"; "inboundMonthChange": "inboundMonthChange"; "focusOnNextChange": "focusOnNextChange"; "focusOnPreviousChange": "focusOnPreviousChange"; }, never, never, false, never>;
|
|
309
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./datepicker-combo-new.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../datepicker-new/datepicker-new.module";
|
|
5
|
-
import * as i4 from "../../core/directives/nas-class/nas-class.module";
|
|
6
|
-
export declare class DatepickerComboNewModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComboNewModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComboNewModule, [typeof i1.DatepickerComboNewComponent], [typeof i2.CommonModule, typeof i3.DatepickerNewModule, typeof i4.NasClassModule], [typeof i1.DatepickerComboNewComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComboNewModule>;
|
|
10
|
-
}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { DatePipe } from '@angular/common';
|
|
6
|
-
import { ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
7
|
-
import { FormGroup } from '@angular/forms';
|
|
8
|
-
import { WeekStart } from './enums/week-start.enum';
|
|
9
|
-
import { DayModel } from './models/day.model';
|
|
10
|
-
import { SelectOptionModel } from './models/select-option.model';
|
|
11
|
-
import { WeekModel } from './models/week.model';
|
|
12
|
-
import { NasComponentBase } from '../../../core/base/nas-component.base';
|
|
13
|
-
import { ClassModel } from '../../../core/models/class.model';
|
|
14
|
-
import { UtcDate } from '../../../core/models/utc-date.model';
|
|
15
|
-
import { DateHelper } from '../../../core/services/date/date-helper.service';
|
|
16
|
-
import { SelectComponent } from '../../select/select.component';
|
|
17
|
-
import { CalendarService } from '../services/calendar.service';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
export declare class CalendarNewComponent extends NasComponentBase implements OnInit {
|
|
20
|
-
dateService: DateHelper;
|
|
21
|
-
datePipe: DatePipe;
|
|
22
|
-
private calendarService;
|
|
23
|
-
weeks: Array<WeekModel>;
|
|
24
|
-
months: SelectOptionModel[];
|
|
25
|
-
weekdays: string[];
|
|
26
|
-
isPreviousMonthDisabled: boolean;
|
|
27
|
-
previousMonthRef: ElementRef<HTMLButtonElement>;
|
|
28
|
-
nextMonthRef: ElementRef<HTMLButtonElement>;
|
|
29
|
-
tableCells: QueryList<ElementRef>;
|
|
30
|
-
dateButtons: QueryList<ElementRef>;
|
|
31
|
-
calendarContent: ElementRef;
|
|
32
|
-
monthSelectRef: SelectComponent;
|
|
33
|
-
/**
|
|
34
|
-
* @description
|
|
35
|
-
* Label for no available flights.
|
|
36
|
-
*/
|
|
37
|
-
noAvailableFlightsLabel: string;
|
|
38
|
-
/**
|
|
39
|
-
* @description
|
|
40
|
-
* Label for available flights.
|
|
41
|
-
*/
|
|
42
|
-
availableFlightsLabel: string;
|
|
43
|
-
/**
|
|
44
|
-
* @description
|
|
45
|
-
* Disable possibility to select dates in the past.
|
|
46
|
-
*/
|
|
47
|
-
disablePastSelection?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* @description
|
|
50
|
-
* The lowest date allowed.
|
|
51
|
-
*/
|
|
52
|
-
get lowerLimitDate(): UtcDate;
|
|
53
|
-
set lowerLimitDate(date: UtcDate);
|
|
54
|
-
/**
|
|
55
|
-
* @description
|
|
56
|
-
* Current month date to be displayed. It will take precedence over selected date input, if it is set.
|
|
57
|
-
*/
|
|
58
|
-
date: UtcDate;
|
|
59
|
-
/**
|
|
60
|
-
* @description
|
|
61
|
-
* Desides if the week should start on a monday or sunday. Defaults to monday.
|
|
62
|
-
*/
|
|
63
|
-
weekStart: WeekStart;
|
|
64
|
-
/**
|
|
65
|
-
* @description
|
|
66
|
-
* Display week numbers.
|
|
67
|
-
*/
|
|
68
|
-
displayWeekNumbers: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* @description
|
|
71
|
-
* Sets the datepicker in availability mode where available dates can be added.
|
|
72
|
-
*/
|
|
73
|
-
availability: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* @description
|
|
76
|
-
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
77
|
-
* This requires that registerLocaleData is called with the respective locale.
|
|
78
|
-
*/
|
|
79
|
-
locale: string;
|
|
80
|
-
/**
|
|
81
|
-
* @description
|
|
82
|
-
* An array with all the available dates of the month for seats.
|
|
83
|
-
*/
|
|
84
|
-
get availableDates(): Array<UtcDate>;
|
|
85
|
-
set availableDates(dates: Array<UtcDate>);
|
|
86
|
-
/**
|
|
87
|
-
* @description
|
|
88
|
-
* Gets or sets the active date
|
|
89
|
-
*/
|
|
90
|
-
get activeDate(): UtcDate;
|
|
91
|
-
set activeDate(date: UtcDate);
|
|
92
|
-
get selectedDate(): UtcDate;
|
|
93
|
-
set selectedDate(date: UtcDate);
|
|
94
|
-
nasFormGroup: FormGroup;
|
|
95
|
-
nasFormControlName: string;
|
|
96
|
-
dateDisplayFormat: string;
|
|
97
|
-
ariaLabelPreviousMonth: string;
|
|
98
|
-
ariaLabelNextMonth: string;
|
|
99
|
-
/**
|
|
100
|
-
* @description
|
|
101
|
-
* Month selected by the user by clicking in drop down for month selection or month navigation buttons.
|
|
102
|
-
*/
|
|
103
|
-
monthChange: EventEmitter<UtcDate>;
|
|
104
|
-
/**
|
|
105
|
-
* @description
|
|
106
|
-
* When a user has actively changed the date.
|
|
107
|
-
*/
|
|
108
|
-
focusOnNextChange: EventEmitter<KeyboardEvent | MouseEvent>;
|
|
109
|
-
/**
|
|
110
|
-
* @description
|
|
111
|
-
* When selected date has been changed.
|
|
112
|
-
*/
|
|
113
|
-
selectedDateChange: EventEmitter<UtcDate>;
|
|
114
|
-
/**
|
|
115
|
-
* @description
|
|
116
|
-
* When active date has been changed.
|
|
117
|
-
*/
|
|
118
|
-
activeDateChange: EventEmitter<UtcDate>;
|
|
119
|
-
get selectedMonth(): SelectOptionModel;
|
|
120
|
-
set selectedMonth(option: SelectOptionModel);
|
|
121
|
-
get nextMonthDisabled(): boolean;
|
|
122
|
-
get currentMonthModel(): string;
|
|
123
|
-
/**
|
|
124
|
-
* @description
|
|
125
|
-
* Is in use by DatepickerComponent
|
|
126
|
-
*/
|
|
127
|
-
get activeDateCell(): HTMLElement;
|
|
128
|
-
private maxMonthIndex;
|
|
129
|
-
private activeDateValue;
|
|
130
|
-
private availableDatesValue;
|
|
131
|
-
private currentMonth;
|
|
132
|
-
private selectedValue;
|
|
133
|
-
private availableDays;
|
|
134
|
-
private monthNames;
|
|
135
|
-
private lowerLimitDateValue;
|
|
136
|
-
private selectedDateValue;
|
|
137
|
-
private shouldFocusCalendarOnAvailableDatesUpdate;
|
|
138
|
-
constructor(dateService: DateHelper, datePipe: DatePipe, calendarService: CalendarService);
|
|
139
|
-
ngOnInit(): void;
|
|
140
|
-
dateKeyDown(event: KeyboardEvent): void;
|
|
141
|
-
onPreviousMonthKeydown(event: KeyboardEvent): void;
|
|
142
|
-
onNextMonthKeydown(event: KeyboardEvent): void;
|
|
143
|
-
onNextMonthMousedown(): void;
|
|
144
|
-
onPreviousMonthMousedown(): void;
|
|
145
|
-
onMonthSelectKeydown(event: KeyboardEvent): void;
|
|
146
|
-
focusElement(event: KeyboardEvent, elementToFocus: HTMLElement): void;
|
|
147
|
-
setActiveDate(): void;
|
|
148
|
-
onMouseDown(date: string, event: MouseEvent): void;
|
|
149
|
-
onDayFocus(day: DayModel): void;
|
|
150
|
-
onDayClick(day: DayModel): void;
|
|
151
|
-
setSelectedDate(date: UtcDate): void;
|
|
152
|
-
getCellButtonClass(day: DayModel): ClassModel;
|
|
153
|
-
getNextMonth(): void;
|
|
154
|
-
getPreviousMonth(): void;
|
|
155
|
-
setPreviousMonthDisabled(): void;
|
|
156
|
-
private applySelectedDateChanges;
|
|
157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarNewComponent, never>;
|
|
158
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarNewComponent, "nas-calendar-new", never, { "noAvailableFlightsLabel": { "alias": "noAvailableFlightsLabel"; "required": false; }; "availableFlightsLabel": { "alias": "availableFlightsLabel"; "required": false; }; "disablePastSelection": { "alias": "disablePastSelection"; "required": false; }; "lowerLimitDate": { "alias": "lowerLimitDate"; "required": false; }; "date": { "alias": "date"; "required": false; }; "weekStart": { "alias": "weekStart"; "required": false; }; "displayWeekNumbers": { "alias": "displayWeekNumbers"; "required": false; }; "availability": { "alias": "availability"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "availableDates": { "alias": "availableDates"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "dateDisplayFormat": { "alias": "dateDisplayFormat"; "required": false; }; "ariaLabelPreviousMonth": { "alias": "ariaLabelPreviousMonth"; "required": false; }; "ariaLabelNextMonth": { "alias": "ariaLabelNextMonth"; "required": false; }; }, { "monthChange": "monthChange"; "focusOnNextChange": "focusOnNextChange"; "selectedDateChange": "selectedDateChange"; "activeDateChange": "activeDateChange"; }, never, never, false, never>;
|
|
159
|
-
}
|