@norwegian/core-components 7.17.2 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/assets/documentation/accordion/accordion.md +1 -1
- package/assets/documentation/airport-select/airport-select.md +1 -0
- package/assets/documentation/alert/alert.md +1 -0
- package/assets/documentation/autocomplete/autocomplete.md +1 -1
- package/assets/documentation/backdrop/backdrop.md +1 -0
- package/assets/documentation/box/box.md +1 -1
- package/assets/documentation/button/button.md +1 -10
- package/assets/documentation/checkbox/checkbox.md +1 -7
- package/assets/documentation/container/container.md +1 -1
- package/assets/documentation/continue/continue.md +2 -1
- package/assets/documentation/cover/cover.md +1 -1
- package/assets/documentation/datepicker/datepicker.md +1 -3
- package/assets/documentation/datepicker-combo/datepicker-combo.md +2 -1
- package/assets/documentation/divider/divider.md +1 -1
- package/assets/documentation/dropdown/dropdown.md +1 -3
- package/assets/documentation/filter/filter.md +1 -0
- package/assets/documentation/grid/grid.md +1 -1
- package/assets/documentation/icon/icon.md +1 -1
- package/assets/documentation/icon-list/icon-list.md +1 -1
- package/assets/documentation/input/input.md +1 -1
- package/assets/documentation/journey/journey.md +2 -1
- package/assets/documentation/journey-availability/journey-availability.md +1 -3
- package/assets/documentation/journey-availability-list/journey-availability-list.md +1 -9
- package/assets/documentation/journey-selection/journey-selection.md +1 -1
- package/assets/documentation/journey-stopover/journey-stopover.md +2 -1
- package/assets/documentation/list/list.md +1 -1
- package/assets/documentation/micro-button/micro-button.md +2 -0
- package/assets/documentation/modal/modal.md +1 -0
- package/assets/documentation/number-field/number-field.md +1 -1
- package/assets/documentation/page-footer/page-footer.md +1 -1
- package/assets/documentation/page-header/page-header.md +1 -1
- package/assets/documentation/passenger-select/passenger-select.md +1 -1
- package/assets/documentation/phone-number/phone-number.md +1 -2
- package/assets/documentation/premium-toggle/premium-toggle.md +1 -9
- package/assets/documentation/radio/radio.md +1 -7
- package/assets/documentation/ribbon-banner/ribbon-banner.md +2 -1
- package/assets/documentation/select/select.md +1 -1
- package/assets/documentation/simple-list/simple-list.md +1 -1
- package/assets/documentation/slide-toggle/slide-toggle.md +1 -1
- package/assets/documentation/slider/slider.md +1 -1
- package/assets/documentation/sort/sort.md +1 -1
- package/assets/documentation/spinner/spinner.md +1 -1
- package/assets/documentation/status-box/status-box.md +2 -1
- package/assets/documentation/suggestions/suggestions.md +2 -1
- package/assets/documentation/tab-group/tab-group.md +1 -1
- package/assets/documentation/table/table.md +1 -8
- package/assets/documentation/tag/tag.md +1 -0
- package/assets/documentation/textarea/textarea.md +1 -1
- package/assets/documentation/toggle/toggle.md +1 -5
- package/assets/documentation/tooltip/tooltip.md +1 -0
- package/assets/documentation/trip-summary/trip-summary.md +1 -2
- package/fesm2022/norwegian-core-components.mjs +13636 -13565
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/index.d.ts +9449 -5
- package/package.json +14 -8
- package/styles/1__settings/_colors.scss +9 -9
- package/styles/1__settings/_mixins.scss +67 -40
- package/styles/1__settings/_type.scss +18 -6
- package/styles/1__settings/_vars.scss +7 -4
- package/styles/2__generic/_fonts.scss +7 -5
- package/styles/3__base/_animations.scss +84 -84
- package/styles/3__base/_body.scss +10 -8
- package/styles/3__base/_fixes.scss +1 -1
- package/styles/3__base/_form.scss +5 -3
- package/styles/3__base/_heading.scss +21 -12
- package/styles/3__base/_hr.scss +4 -0
- package/styles/3__base/_input.scss +5 -1
- package/styles/3__base/_link.scss +3 -0
- package/styles/3__base/_table.scss +8 -4
- package/styles/3__base/_type.scss +17 -13
- package/styles/_helpers.scss +4 -4
- package/styles/_index.scss +13 -13
- package/assets/documentation/campaign-header/campaign-header.md +0 -0
- package/assets/documentation/chip/chip.md +0 -1
- package/assets/documentation/info/info.md +0 -1
- package/assets/icons/small/info--light--light.svg +0 -4
- package/assets/images/logo--mobile.svg +0 -50
- package/assets/images/logo-reward.svg +0 -140
- package/assets/images/logo.svg +0 -135
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -163
- package/esm2022/lib/components/accordion/accordion.module.mjs +0 -20
- package/esm2022/lib/components/accordion/index.mjs +0 -3
- package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +0 -622
- package/esm2022/lib/components/airport-select/airport-select.component.mjs +0 -498
- package/esm2022/lib/components/airport-select/airport-select.module.mjs +0 -42
- package/esm2022/lib/components/airport-select/index.mjs +0 -7
- package/esm2022/lib/components/airport-select/models/airport-select-event.model.mjs +0 -2
- package/esm2022/lib/components/airport-select/models/airport-select-state.model.mjs +0 -2
- package/esm2022/lib/components/airport-select/models/airport.model.mjs +0 -2
- package/esm2022/lib/components/airport-select/models/results-labels.model.mjs +0 -3
- package/esm2022/lib/components/airport-select/services/airport-select-dropdown.service.mjs +0 -35
- package/esm2022/lib/components/airport-select/services/airport-select.service.mjs +0 -38
- package/esm2022/lib/components/alert/alert.component.mjs +0 -169
- package/esm2022/lib/components/alert/alert.module.mjs +0 -22
- package/esm2022/lib/components/alert/index.mjs +0 -4
- package/esm2022/lib/components/alert/models/alert.model.mjs +0 -2
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +0 -318
- package/esm2022/lib/components/autocomplete/autocomplete.module.mjs +0 -43
- package/esm2022/lib/components/autocomplete/index.mjs +0 -4
- package/esm2022/lib/components/autocomplete/models/autocomplete.model.mjs +0 -2
- package/esm2022/lib/components/backdrop/backdrop.component.mjs +0 -58
- package/esm2022/lib/components/backdrop/backdrop.module.mjs +0 -19
- package/esm2022/lib/components/backdrop/index.mjs +0 -3
- package/esm2022/lib/components/box/box.component.mjs +0 -66
- package/esm2022/lib/components/box/box.module.mjs +0 -19
- package/esm2022/lib/components/box/index.mjs +0 -3
- package/esm2022/lib/components/button/button.component.mjs +0 -192
- package/esm2022/lib/components/button/button.module.mjs +0 -21
- package/esm2022/lib/components/button/index.mjs +0 -3
- package/esm2022/lib/components/campaign-header/campaign-header.component.mjs +0 -51
- package/esm2022/lib/components/campaign-header/campaign-header.module.mjs +0 -20
- package/esm2022/lib/components/campaign-header/index.mjs +0 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -163
- package/esm2022/lib/components/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/lib/components/checkbox/index.mjs +0 -3
- package/esm2022/lib/components/chip/chip.component.mjs +0 -48
- package/esm2022/lib/components/chip/chip.module.mjs +0 -19
- package/esm2022/lib/components/chip/index.mjs +0 -3
- package/esm2022/lib/components/container/container.component.mjs +0 -50
- package/esm2022/lib/components/container/container.module.mjs +0 -19
- package/esm2022/lib/components/container/index.mjs +0 -3
- package/esm2022/lib/components/continue/continue.component.mjs +0 -199
- package/esm2022/lib/components/continue/continue.module.mjs +0 -23
- package/esm2022/lib/components/continue/index.mjs +0 -3
- package/esm2022/lib/components/cover/cover.component.mjs +0 -75
- package/esm2022/lib/components/cover/cover.module.mjs +0 -21
- package/esm2022/lib/components/cover/index.mjs +0 -3
- package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +0 -606
- package/esm2022/lib/components/datepicker/calendar/enums/week-start.enum.mjs +0 -6
- package/esm2022/lib/components/datepicker/calendar/models/calendar-date.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/calendar/models/calendar.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/calendar/models/day.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/calendar/models/select-option.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/calendar/models/week.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/datepicker.component.mjs +0 -613
- package/esm2022/lib/components/datepicker/datepicker.module.mjs +0 -55
- package/esm2022/lib/components/datepicker/index.mjs +0 -9
- package/esm2022/lib/components/datepicker/services/calendar.service.mjs +0 -215
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +0 -417
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.module.mjs +0 -31
- package/esm2022/lib/components/datepicker-combo/index.mjs +0 -3
- package/esm2022/lib/components/divider/divider.component.mjs +0 -59
- package/esm2022/lib/components/divider/divider.module.mjs +0 -28
- package/esm2022/lib/components/divider/index.mjs +0 -3
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -170
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +0 -21
- package/esm2022/lib/components/dropdown/index.mjs +0 -3
- package/esm2022/lib/components/filter/enums/trip-type.enum.mjs +0 -8
- package/esm2022/lib/components/filter/filter.component.mjs +0 -1445
- package/esm2022/lib/components/filter/filter.module.mjs +0 -81
- package/esm2022/lib/components/filter/index.mjs +0 -4
- package/esm2022/lib/components/grid/col/col.component.mjs +0 -49
- package/esm2022/lib/components/grid/grid.component.mjs +0 -72
- package/esm2022/lib/components/grid/grid.module.mjs +0 -20
- package/esm2022/lib/components/grid/index.mjs +0 -4
- package/esm2022/lib/components/icon/icon.component.mjs +0 -44
- package/esm2022/lib/components/icon/icon.module.mjs +0 -19
- package/esm2022/lib/components/icon/index.mjs +0 -3
- package/esm2022/lib/components/icon-list/icon-list.component.mjs +0 -50
- package/esm2022/lib/components/icon-list/icon-list.module.mjs +0 -20
- package/esm2022/lib/components/icon-list/index.mjs +0 -4
- package/esm2022/lib/components/icon-list/models/icon-list.model.mjs +0 -2
- package/esm2022/lib/components/index.mjs +0 -68
- package/esm2022/lib/components/info/index.mjs +0 -4
- package/esm2022/lib/components/info/info.component.mjs +0 -116
- package/esm2022/lib/components/info/info.module.mjs +0 -36
- package/esm2022/lib/components/info/models/info.model.mjs +0 -2
- package/esm2022/lib/components/input/index.mjs +0 -3
- package/esm2022/lib/components/input/input.component.mjs +0 -228
- package/esm2022/lib/components/input/input.module.mjs +0 -35
- package/esm2022/lib/components/journey/index.mjs +0 -6
- package/esm2022/lib/components/journey/journey.component.mjs +0 -137
- package/esm2022/lib/components/journey/journey.module.mjs +0 -21
- package/esm2022/lib/components/journey/models/journey-flight.model.mjs +0 -2
- package/esm2022/lib/components/journey/models/journey.model.mjs +0 -2
- package/esm2022/lib/components/journey/models/marketing-carrier.enum.mjs +0 -8
- package/esm2022/lib/components/journey-availability/index.mjs +0 -3
- package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +0 -128
- package/esm2022/lib/components/journey-availability/journey-availability.module.mjs +0 -39
- package/esm2022/lib/components/journey-availability-list/enums/availability-sort-option.enum.mjs +0 -7
- package/esm2022/lib/components/journey-availability-list/index.mjs +0 -4
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +0 -182
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.module.mjs +0 -36
- package/esm2022/lib/components/journey-selection/index.mjs +0 -7
- package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +0 -120
- package/esm2022/lib/components/journey-selection/journey-selection.module.mjs +0 -24
- package/esm2022/lib/components/journey-selection/models/journey-selection-collapsed.model.mjs +0 -2
- package/esm2022/lib/components/journey-selection/models/journey-selection-common.model.mjs +0 -2
- package/esm2022/lib/components/journey-selection/models/journey-selection-expanded.model.mjs +0 -2
- package/esm2022/lib/components/journey-selection/models/journey-selection.model.mjs +0 -2
- package/esm2022/lib/components/journey-stopover/index.mjs +0 -4
- package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +0 -150
- package/esm2022/lib/components/journey-stopover/journey-stopover.module.mjs +0 -21
- package/esm2022/lib/components/journey-stopover/models/stopover-time.model.mjs +0 -2
- package/esm2022/lib/components/list/index.mjs +0 -4
- package/esm2022/lib/components/list/list-item/list-item.component.mjs +0 -52
- package/esm2022/lib/components/list/list.component.mjs +0 -78
- package/esm2022/lib/components/list/list.module.mjs +0 -20
- package/esm2022/lib/components/micro-button/index.mjs +0 -3
- package/esm2022/lib/components/micro-button/micro-button.component.mjs +0 -101
- package/esm2022/lib/components/micro-button/micro-button.module.mjs +0 -20
- package/esm2022/lib/components/modal/index.mjs +0 -3
- package/esm2022/lib/components/modal/modal.component.mjs +0 -156
- package/esm2022/lib/components/modal/modal.module.mjs +0 -38
- package/esm2022/lib/components/number-field/index.mjs +0 -4
- package/esm2022/lib/components/number-field/models/number-field.model.mjs +0 -2
- package/esm2022/lib/components/number-field/number-field.component.mjs +0 -162
- package/esm2022/lib/components/number-field/number-field.module.mjs +0 -39
- package/esm2022/lib/components/page-footer/index.mjs +0 -3
- package/esm2022/lib/components/page-footer/page-footer.component.mjs +0 -52
- package/esm2022/lib/components/page-footer/page-footer.module.mjs +0 -21
- package/esm2022/lib/components/page-header/hamburger/hamburger.component.mjs +0 -22
- package/esm2022/lib/components/page-header/index.mjs +0 -6
- package/esm2022/lib/components/page-header/models/wallet.model.mjs +0 -2
- package/esm2022/lib/components/page-header/page-header.component.mjs +0 -171
- package/esm2022/lib/components/page-header/page-header.module.mjs +0 -55
- package/esm2022/lib/components/page-header/search/search.component.mjs +0 -49
- package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +0 -57
- package/esm2022/lib/components/passenger-select/enums/passenger-type.enum.mjs +0 -9
- package/esm2022/lib/components/passenger-select/index.mjs +0 -5
- package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +0 -2
- package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +0 -423
- package/esm2022/lib/components/passenger-select/passenger-select.module.mjs +0 -28
- package/esm2022/lib/components/phone-number/index.mjs +0 -3
- package/esm2022/lib/components/phone-number/phone-number.component.mjs +0 -182
- package/esm2022/lib/components/phone-number/phone-number.module.mjs +0 -44
- package/esm2022/lib/components/premium-toggle/index.mjs +0 -3
- package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +0 -68
- package/esm2022/lib/components/premium-toggle/premium-toggle.module.mjs +0 -20
- package/esm2022/lib/components/radio/index.mjs +0 -3
- package/esm2022/lib/components/radio/radio.component.mjs +0 -109
- package/esm2022/lib/components/radio/radio.module.mjs +0 -20
- package/esm2022/lib/components/ribbon-banner/index.mjs +0 -3
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +0 -89
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.module.mjs +0 -40
- package/esm2022/lib/components/select/index.mjs +0 -6
- package/esm2022/lib/components/select/models/select-option.model.mjs +0 -2
- package/esm2022/lib/components/select/optgroup/optgroup.component.mjs +0 -29
- package/esm2022/lib/components/select/option/option.component.mjs +0 -26
- package/esm2022/lib/components/select/select.component.mjs +0 -407
- package/esm2022/lib/components/select/select.module.mjs +0 -23
- package/esm2022/lib/components/select-new/index.mjs +0 -5
- package/esm2022/lib/components/select-new/models/select-option.model.mjs +0 -2
- package/esm2022/lib/components/select-new/optgroup/optgroup-new.component.mjs +0 -23
- package/esm2022/lib/components/select-new/option/option-new.component.mjs +0 -41
- package/esm2022/lib/components/select-new/select-new.component.mjs +0 -271
- package/esm2022/lib/components/select-new/select-new.module.mjs +0 -26
- package/esm2022/lib/components/select-new/services/select-new.service.mjs +0 -40
- package/esm2022/lib/components/simple-list/index.mjs +0 -3
- package/esm2022/lib/components/simple-list/simple-list.component.mjs +0 -48
- package/esm2022/lib/components/simple-list/simple-list.module.mjs +0 -19
- package/esm2022/lib/components/slide-toggle/index.mjs +0 -3
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -121
- package/esm2022/lib/components/slide-toggle/slide-toggle.module.mjs +0 -20
- package/esm2022/lib/components/slider/index.mjs +0 -3
- package/esm2022/lib/components/slider/slider.component.mjs +0 -515
- package/esm2022/lib/components/slider/slider.module.mjs +0 -20
- package/esm2022/lib/components/sort/index.mjs +0 -3
- package/esm2022/lib/components/sort/sort.component.mjs +0 -98
- package/esm2022/lib/components/sort/sort.module.mjs +0 -36
- package/esm2022/lib/components/spinner/index.mjs +0 -3
- package/esm2022/lib/components/spinner/spinner.component.mjs +0 -127
- package/esm2022/lib/components/spinner/spinner.module.mjs +0 -19
- package/esm2022/lib/components/status-box/index.mjs +0 -4
- package/esm2022/lib/components/status-box/models/status-box.model.mjs +0 -2
- package/esm2022/lib/components/status-box/status-box.component.mjs +0 -109
- package/esm2022/lib/components/status-box/status-box.module.mjs +0 -21
- package/esm2022/lib/components/suggestions/index.mjs +0 -3
- package/esm2022/lib/components/suggestions/suggestions.component.mjs +0 -44
- package/esm2022/lib/components/suggestions/suggestions.module.mjs +0 -20
- package/esm2022/lib/components/tab-group/index.mjs +0 -4
- package/esm2022/lib/components/tab-group/tab/tab.component.mjs +0 -140
- package/esm2022/lib/components/tab-group/tab-group.component.mjs +0 -91
- package/esm2022/lib/components/tab-group/tab-group.module.mjs +0 -21
- package/esm2022/lib/components/table/column/column.component.mjs +0 -16
- package/esm2022/lib/components/table/column-group/column-group.component.mjs +0 -30
- package/esm2022/lib/components/table/index.mjs +0 -11
- package/esm2022/lib/components/table/services/table.service.mjs +0 -24
- package/esm2022/lib/components/table/table-body/table-body.component.mjs +0 -23
- package/esm2022/lib/components/table/table-foot/table-foot.component.mjs +0 -23
- package/esm2022/lib/components/table/table-head/table-head.component.mjs +0 -23
- package/esm2022/lib/components/table/table-row/table-data/table-data.component.mjs +0 -15
- package/esm2022/lib/components/table/table-row/table-header/table-header.component.mjs +0 -15
- package/esm2022/lib/components/table/table-row/table-row.component.mjs +0 -23
- package/esm2022/lib/components/table/table.component.mjs +0 -27
- package/esm2022/lib/components/table/table.module.mjs +0 -63
- package/esm2022/lib/components/tag/index.mjs +0 -3
- package/esm2022/lib/components/tag/tag.component.mjs +0 -71
- package/esm2022/lib/components/tag/tag.module.mjs +0 -28
- package/esm2022/lib/components/textarea/index.mjs +0 -3
- package/esm2022/lib/components/textarea/textarea.component.mjs +0 -139
- package/esm2022/lib/components/textarea/textarea.module.mjs +0 -21
- package/esm2022/lib/components/toggle/index.mjs +0 -3
- package/esm2022/lib/components/toggle/models/options.model.mjs +0 -3
- package/esm2022/lib/components/toggle/toggle.component.mjs +0 -102
- package/esm2022/lib/components/toggle/toggle.module.mjs +0 -35
- package/esm2022/lib/components/tooltip/index.mjs +0 -3
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -170
- package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -30
- package/esm2022/lib/components/trip-summary/index.mjs +0 -3
- package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +0 -167
- package/esm2022/lib/components/trip-summary/trip-summary.module.mjs +0 -36
- package/esm2022/lib/core/base/nas-component.base.mjs +0 -48
- package/esm2022/lib/core/decorators/debounce.decorator.mjs +0 -12
- package/esm2022/lib/core/directives/index.mjs +0 -3
- package/esm2022/lib/core/directives/nas-class/nas-class.directive.mjs +0 -80
- package/esm2022/lib/core/directives/nas-class/nas-class.module.mjs +0 -20
- package/esm2022/lib/core/extensions/html-element.extension.mjs +0 -31
- package/esm2022/lib/core/index.mjs +0 -5
- package/esm2022/lib/core/models/abandoned-basket-item.model.mjs +0 -2
- package/esm2022/lib/core/models/animate.model.mjs +0 -2
- package/esm2022/lib/core/models/class.model.mjs +0 -2
- package/esm2022/lib/core/models/index.mjs +0 -7
- package/esm2022/lib/core/models/link.model.mjs +0 -2
- package/esm2022/lib/core/models/position.model.mjs +0 -2
- package/esm2022/lib/core/models/utc-date.model.mjs +0 -40
- package/esm2022/lib/core/services/abandoned-basket/abandoned-basket.service.mjs +0 -61
- package/esm2022/lib/core/services/animate-helper/animate-helper.service.mjs +0 -49
- package/esm2022/lib/core/services/bem-helper/bem-helper.service.mjs +0 -44
- package/esm2022/lib/core/services/date/date-compare.enum.mjs +0 -7
- package/esm2022/lib/core/services/date/date-helper.service.mjs +0 -199
- package/esm2022/lib/core/services/device/device-helper.service.mjs +0 -46
- package/esm2022/lib/core/services/geolocation/geolocation-state.enum.mjs +0 -8
- package/esm2022/lib/core/services/geolocation/geolocation.service.mjs +0 -66
- package/esm2022/lib/core/services/index.mjs +0 -10
- package/esm2022/lib/core/services/language/language-helper.service.mjs +0 -114
- package/esm2022/lib/core/services/sort/sort.service.mjs +0 -25
- package/esm2022/lib/core/services/viewport/viewport.service.mjs +0 -36
- package/esm2022/lib/index.mjs +0 -5
- package/esm2022/lib/services/get-position.service.mjs +0 -23
- package/esm2022/lib/services/index.mjs +0 -2
- package/esm2022/lib/shared/index.mjs +0 -2
- package/esm2022/lib/shared/models/flight-details.mjs +0 -3
- package/esm2022/lib/shared/models/index.mjs +0 -6
- package/esm2022/lib/shared/models/journey-availability-sort.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-availability.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-details.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-duration.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-stopover.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-transit-info.model.mjs +0 -2
- package/esm2022/lib/shared/models/operating-carrier.model.mjs +0 -2
- package/esm2022/lib/shared/models/sort-option.model.mjs +0 -2
- package/esm2022/lib/shared/models/sort.model.mjs +0 -2
- package/esm2022/lib/shared/models/trip-item-details.model.mjs +0 -2
- package/esm2022/lib/shared/models/trip-summary-details.model.mjs +0 -2
- package/esm2022/lib/shared/models/trip-summary.model.mjs +0 -2
- package/esm2022/norwegian-core-components.mjs +0 -5
- package/esm2022/public_api.mjs +0 -2
- package/lib/components/accordion/accordion.component.d.ts +0 -241
- package/lib/components/accordion/accordion.module.d.ts +0 -10
- package/lib/components/accordion/index.d.ts +0 -2
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +0 -100
- package/lib/components/airport-select/airport-select.component.d.ts +0 -330
- package/lib/components/airport-select/airport-select.module.d.ts +0 -13
- package/lib/components/airport-select/index.d.ts +0 -6
- package/lib/components/airport-select/models/airport-select-event.model.d.ts +0 -4
- package/lib/components/airport-select/models/airport-select-state.model.d.ts +0 -5
- package/lib/components/airport-select/models/airport.model.d.ts +0 -11
- package/lib/components/airport-select/models/results-labels.model.d.ts +0 -8
- package/lib/components/airport-select/services/airport-select-dropdown.service.d.ts +0 -10
- package/lib/components/airport-select/services/airport-select.service.d.ts +0 -8
- package/lib/components/alert/alert.component.d.ts +0 -129
- package/lib/components/alert/alert.module.d.ts +0 -12
- package/lib/components/alert/index.d.ts +0 -3
- package/lib/components/alert/models/alert.model.d.ts +0 -10
- package/lib/components/autocomplete/autocomplete.component.d.ts +0 -135
- package/lib/components/autocomplete/autocomplete.module.d.ts +0 -13
- package/lib/components/autocomplete/index.d.ts +0 -3
- package/lib/components/autocomplete/models/autocomplete.model.d.ts +0 -5
- package/lib/components/backdrop/backdrop.component.d.ts +0 -38
- package/lib/components/backdrop/backdrop.module.d.ts +0 -9
- package/lib/components/backdrop/index.d.ts +0 -2
- package/lib/components/box/box.component.d.ts +0 -78
- package/lib/components/box/box.module.d.ts +0 -9
- package/lib/components/box/index.d.ts +0 -2
- package/lib/components/button/button.component.d.ts +0 -294
- package/lib/components/button/button.module.d.ts +0 -11
- package/lib/components/button/index.d.ts +0 -2
- package/lib/components/campaign-header/campaign-header.component.d.ts +0 -58
- package/lib/components/campaign-header/campaign-header.module.d.ts +0 -10
- package/lib/components/campaign-header/index.d.ts +0 -2
- package/lib/components/checkbox/checkbox.component.d.ts +0 -151
- package/lib/components/checkbox/checkbox.module.d.ts +0 -10
- package/lib/components/checkbox/index.d.ts +0 -2
- package/lib/components/chip/chip.component.d.ts +0 -48
- package/lib/components/chip/chip.module.d.ts +0 -9
- package/lib/components/chip/index.d.ts +0 -2
- package/lib/components/container/container.component.d.ts +0 -52
- package/lib/components/container/container.module.d.ts +0 -9
- package/lib/components/container/index.d.ts +0 -2
- package/lib/components/continue/continue.component.d.ts +0 -171
- package/lib/components/continue/continue.module.d.ts +0 -11
- package/lib/components/continue/index.d.ts +0 -2
- package/lib/components/cover/cover.component.d.ts +0 -125
- package/lib/components/cover/cover.module.d.ts +0 -11
- package/lib/components/cover/index.d.ts +0 -2
- package/lib/components/datepicker/calendar/calendar.component.d.ts +0 -169
- package/lib/components/datepicker/calendar/enums/week-start.enum.d.ts +0 -4
- package/lib/components/datepicker/calendar/models/calendar-date.model.d.ts +0 -5
- package/lib/components/datepicker/calendar/models/calendar.model.d.ts +0 -4
- package/lib/components/datepicker/calendar/models/day.model.d.ts +0 -10
- package/lib/components/datepicker/calendar/models/select-option.model.d.ts +0 -4
- package/lib/components/datepicker/calendar/models/week.model.d.ts +0 -5
- package/lib/components/datepicker/datepicker.component.d.ts +0 -289
- package/lib/components/datepicker/datepicker.module.d.ts +0 -16
- package/lib/components/datepicker/index.d.ts +0 -8
- package/lib/components/datepicker/services/calendar.service.d.ts +0 -27
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +0 -329
- package/lib/components/datepicker-combo/datepicker-combo.module.d.ts +0 -10
- package/lib/components/datepicker-combo/index.d.ts +0 -2
- package/lib/components/divider/divider.component.d.ts +0 -68
- package/lib/components/divider/divider.module.d.ts +0 -10
- package/lib/components/divider/index.d.ts +0 -2
- package/lib/components/dropdown/dropdown.component.d.ts +0 -80
- package/lib/components/dropdown/dropdown.module.d.ts +0 -11
- package/lib/components/dropdown/index.d.ts +0 -2
- package/lib/components/filter/enums/trip-type.enum.d.ts +0 -6
- package/lib/components/filter/filter.component.d.ts +0 -942
- package/lib/components/filter/filter.module.d.ts +0 -22
- package/lib/components/filter/index.d.ts +0 -3
- package/lib/components/grid/col/col.component.d.ts +0 -45
- package/lib/components/grid/grid.component.d.ts +0 -92
- package/lib/components/grid/grid.module.d.ts +0 -10
- package/lib/components/grid/index.d.ts +0 -3
- package/lib/components/icon/icon.component.d.ts +0 -53
- package/lib/components/icon/icon.module.d.ts +0 -9
- package/lib/components/icon/index.d.ts +0 -2
- package/lib/components/icon-list/icon-list.component.d.ts +0 -49
- package/lib/components/icon-list/icon-list.module.d.ts +0 -10
- package/lib/components/icon-list/index.d.ts +0 -3
- package/lib/components/icon-list/models/icon-list.model.d.ts +0 -8
- package/lib/components/index.d.ts +0 -67
- package/lib/components/info/index.d.ts +0 -3
- package/lib/components/info/info.component.d.ts +0 -108
- package/lib/components/info/info.module.d.ts +0 -12
- package/lib/components/info/models/info.model.d.ts +0 -9
- package/lib/components/input/index.d.ts +0 -2
- package/lib/components/input/input.component.d.ts +0 -214
- package/lib/components/input/input.module.d.ts +0 -11
- package/lib/components/journey/index.d.ts +0 -5
- package/lib/components/journey/journey.component.d.ts +0 -102
- package/lib/components/journey/journey.module.d.ts +0 -11
- package/lib/components/journey/models/journey-flight.model.d.ts +0 -13
- package/lib/components/journey/models/journey.model.d.ts +0 -5
- package/lib/components/journey/models/marketing-carrier.enum.d.ts +0 -6
- package/lib/components/journey-availability/index.d.ts +0 -2
- package/lib/components/journey-availability/journey-availability.component.d.ts +0 -93
- package/lib/components/journey-availability/journey-availability.module.d.ts +0 -12
- package/lib/components/journey-availability-list/enums/availability-sort-option.enum.d.ts +0 -5
- package/lib/components/journey-availability-list/index.d.ts +0 -3
- package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +0 -114
- package/lib/components/journey-availability-list/journey-availability-list.module.d.ts +0 -12
- package/lib/components/journey-selection/index.d.ts +0 -6
- package/lib/components/journey-selection/journey-selection.component.d.ts +0 -84
- package/lib/components/journey-selection/journey-selection.module.d.ts +0 -11
- package/lib/components/journey-selection/models/journey-selection-collapsed.model.d.ts +0 -11
- package/lib/components/journey-selection/models/journey-selection-common.model.d.ts +0 -7
- package/lib/components/journey-selection/models/journey-selection-expanded.model.d.ts +0 -5
- package/lib/components/journey-selection/models/journey-selection.model.d.ts +0 -14
- package/lib/components/journey-stopover/index.d.ts +0 -3
- package/lib/components/journey-stopover/journey-stopover.component.d.ts +0 -131
- package/lib/components/journey-stopover/journey-stopover.module.d.ts +0 -11
- package/lib/components/journey-stopover/models/stopover-time.model.d.ts +0 -4
- package/lib/components/list/index.d.ts +0 -3
- package/lib/components/list/list-item/list-item.component.d.ts +0 -35
- package/lib/components/list/list.component.d.ts +0 -76
- package/lib/components/list/list.module.d.ts +0 -10
- package/lib/components/micro-button/index.d.ts +0 -2
- package/lib/components/micro-button/micro-button.component.d.ts +0 -139
- package/lib/components/micro-button/micro-button.module.d.ts +0 -10
- package/lib/components/modal/index.d.ts +0 -2
- package/lib/components/modal/modal.component.d.ts +0 -119
- package/lib/components/modal/modal.module.d.ts +0 -12
- package/lib/components/number-field/index.d.ts +0 -3
- package/lib/components/number-field/models/number-field.model.d.ts +0 -5
- package/lib/components/number-field/number-field.component.d.ts +0 -124
- package/lib/components/number-field/number-field.module.d.ts +0 -12
- package/lib/components/page-footer/index.d.ts +0 -2
- package/lib/components/page-footer/page-footer.component.d.ts +0 -53
- package/lib/components/page-footer/page-footer.module.d.ts +0 -11
- package/lib/components/page-header/hamburger/hamburger.component.d.ts +0 -12
- package/lib/components/page-header/index.d.ts +0 -5
- package/lib/components/page-header/models/wallet.model.d.ts +0 -21
- package/lib/components/page-header/page-header.component.d.ts +0 -127
- package/lib/components/page-header/page-header.module.d.ts +0 -17
- package/lib/components/page-header/search/search.component.d.ts +0 -26
- package/lib/components/page-header/wallet/wallet.component.d.ts +0 -23
- package/lib/components/passenger-select/enums/passenger-type.enum.d.ts +0 -7
- package/lib/components/passenger-select/index.d.ts +0 -4
- package/lib/components/passenger-select/models/passengers.model.d.ts +0 -11
- package/lib/components/passenger-select/passenger-select.component.d.ts +0 -141
- package/lib/components/passenger-select/passenger-select.module.d.ts +0 -10
- package/lib/components/phone-number/index.d.ts +0 -2
- package/lib/components/phone-number/phone-number.component.d.ts +0 -263
- package/lib/components/phone-number/phone-number.module.d.ts +0 -13
- package/lib/components/premium-toggle/index.d.ts +0 -2
- package/lib/components/premium-toggle/premium-toggle.component.d.ts +0 -50
- package/lib/components/premium-toggle/premium-toggle.module.d.ts +0 -10
- package/lib/components/radio/index.d.ts +0 -2
- package/lib/components/radio/radio.component.d.ts +0 -137
- package/lib/components/radio/radio.module.d.ts +0 -10
- package/lib/components/ribbon-banner/index.d.ts +0 -2
- package/lib/components/ribbon-banner/ribbon-banner.component.d.ts +0 -66
- package/lib/components/ribbon-banner/ribbon-banner.module.d.ts +0 -13
- package/lib/components/select/index.d.ts +0 -5
- package/lib/components/select/models/select-option.model.d.ts +0 -4
- package/lib/components/select/optgroup/optgroup.component.d.ts +0 -25
- package/lib/components/select/option/option.component.d.ts +0 -24
- package/lib/components/select/select.component.d.ts +0 -204
- package/lib/components/select/select.module.d.ts +0 -13
- package/lib/components/select-new/index.d.ts +0 -4
- package/lib/components/select-new/models/select-option.model.d.ts +0 -6
- package/lib/components/select-new/optgroup/optgroup-new.component.d.ts +0 -8
- package/lib/components/select-new/option/option-new.component.d.ts +0 -16
- package/lib/components/select-new/select-new.component.d.ts +0 -173
- package/lib/components/select-new/select-new.module.d.ts +0 -14
- package/lib/components/select-new/services/select-new.service.d.ts +0 -10
- package/lib/components/simple-list/index.d.ts +0 -2
- package/lib/components/simple-list/simple-list.component.d.ts +0 -60
- package/lib/components/simple-list/simple-list.module.d.ts +0 -9
- package/lib/components/slide-toggle/index.d.ts +0 -2
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -70
- package/lib/components/slide-toggle/slide-toggle.module.d.ts +0 -10
- package/lib/components/slider/index.d.ts +0 -2
- package/lib/components/slider/slider.component.d.ts +0 -216
- package/lib/components/slider/slider.module.d.ts +0 -10
- package/lib/components/sort/index.d.ts +0 -2
- package/lib/components/sort/sort.component.d.ts +0 -55
- package/lib/components/sort/sort.module.d.ts +0 -12
- package/lib/components/spinner/index.d.ts +0 -2
- package/lib/components/spinner/spinner.component.d.ts +0 -104
- package/lib/components/spinner/spinner.module.d.ts +0 -9
- package/lib/components/status-box/index.d.ts +0 -3
- package/lib/components/status-box/models/status-box.model.d.ts +0 -5
- package/lib/components/status-box/status-box.component.d.ts +0 -92
- package/lib/components/status-box/status-box.module.d.ts +0 -11
- package/lib/components/suggestions/index.d.ts +0 -2
- package/lib/components/suggestions/suggestions.component.d.ts +0 -36
- package/lib/components/suggestions/suggestions.module.d.ts +0 -10
- package/lib/components/tab-group/index.d.ts +0 -3
- package/lib/components/tab-group/tab/tab.component.d.ts +0 -97
- package/lib/components/tab-group/tab-group.component.d.ts +0 -42
- package/lib/components/tab-group/tab-group.module.d.ts +0 -11
- package/lib/components/table/column/column.component.d.ts +0 -6
- package/lib/components/table/column-group/column-group.component.d.ts +0 -15
- package/lib/components/table/index.d.ts +0 -10
- package/lib/components/table/services/table.service.d.ts +0 -8
- package/lib/components/table/table-body/table-body.component.d.ts +0 -15
- package/lib/components/table/table-foot/table-foot.component.d.ts +0 -15
- package/lib/components/table/table-head/table-head.component.d.ts +0 -15
- package/lib/components/table/table-row/table-data/table-data.component.d.ts +0 -5
- package/lib/components/table/table-row/table-header/table-header.component.d.ts +0 -5
- package/lib/components/table/table-row/table-row.component.d.ts +0 -15
- package/lib/components/table/table.component.d.ts +0 -19
- package/lib/components/table/table.module.d.ts +0 -17
- package/lib/components/tag/index.d.ts +0 -2
- package/lib/components/tag/tag.component.d.ts +0 -71
- package/lib/components/tag/tag.module.d.ts +0 -10
- package/lib/components/textarea/index.d.ts +0 -2
- package/lib/components/textarea/textarea.component.d.ts +0 -156
- package/lib/components/textarea/textarea.module.d.ts +0 -11
- package/lib/components/toggle/index.d.ts +0 -2
- package/lib/components/toggle/models/options.model.d.ts +0 -7
- package/lib/components/toggle/toggle.component.d.ts +0 -159
- package/lib/components/toggle/toggle.module.d.ts +0 -11
- package/lib/components/tooltip/index.d.ts +0 -2
- package/lib/components/tooltip/tooltip.component.d.ts +0 -63
- package/lib/components/tooltip/tooltip.module.d.ts +0 -10
- package/lib/components/trip-summary/index.d.ts +0 -2
- package/lib/components/trip-summary/trip-summary.component.d.ts +0 -162
- package/lib/components/trip-summary/trip-summary.module.d.ts +0 -12
- package/lib/core/base/nas-component.base.d.ts +0 -11
- package/lib/core/decorators/debounce.decorator.d.ts +0 -1
- package/lib/core/directives/index.d.ts +0 -2
- package/lib/core/directives/nas-class/nas-class.directive.d.ts +0 -14
- package/lib/core/directives/nas-class/nas-class.module.d.ts +0 -8
- package/lib/core/extensions/html-element.extension.d.ts +0 -6
- package/lib/core/index.d.ts +0 -4
- package/lib/core/models/abandoned-basket-item.model.d.ts +0 -14
- package/lib/core/models/animate.model.d.ts +0 -6
- package/lib/core/models/class.model.d.ts +0 -7
- package/lib/core/models/index.d.ts +0 -6
- package/lib/core/models/link.model.d.ts +0 -5
- package/lib/core/models/position.model.d.ts +0 -4
- package/lib/core/models/utc-date.model.d.ts +0 -13
- package/lib/core/services/abandoned-basket/abandoned-basket.service.d.ts +0 -10
- package/lib/core/services/animate-helper/animate-helper.service.d.ts +0 -9
- package/lib/core/services/bem-helper/bem-helper.service.d.ts +0 -7
- package/lib/core/services/date/date-compare.enum.d.ts +0 -5
- package/lib/core/services/date/date-helper.service.d.ts +0 -22
- package/lib/core/services/device/device-helper.service.d.ts +0 -16
- package/lib/core/services/geolocation/geolocation-state.enum.d.ts +0 -6
- package/lib/core/services/geolocation/geolocation.service.d.ts +0 -9
- package/lib/core/services/index.d.ts +0 -9
- package/lib/core/services/language/language-helper.service.d.ts +0 -12
- package/lib/core/services/sort/sort.service.d.ts +0 -6
- package/lib/core/services/viewport/viewport.service.d.ts +0 -11
- package/lib/index.d.ts +0 -4
- package/lib/services/get-position.service.d.ts +0 -9
- package/lib/services/index.d.ts +0 -1
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/models/flight-details.d.ts +0 -22
- package/lib/shared/models/index.d.ts +0 -5
- package/lib/shared/models/journey-availability-sort.model.d.ts +0 -8
- package/lib/shared/models/journey-availability.model.d.ts +0 -25
- package/lib/shared/models/journey-details.model.d.ts +0 -8
- package/lib/shared/models/journey-duration.model.d.ts +0 -7
- package/lib/shared/models/journey-stopover.model.d.ts +0 -15
- package/lib/shared/models/journey-transit-info.model.d.ts +0 -5
- package/lib/shared/models/operating-carrier.model.d.ts +0 -4
- package/lib/shared/models/sort-option.model.d.ts +0 -11
- package/lib/shared/models/sort.model.d.ts +0 -10
- package/lib/shared/models/trip-item-details.model.d.ts +0 -12
- package/lib/shared/models/trip-summary-details.model.d.ts +0 -5
- package/lib/shared/models/trip-summary.model.d.ts +0 -4
- package/public_api.d.ts +0 -1
- /package/assets/icons/{icon-chevron-left--light.svg → medium/chevron-left--light.svg} +0 -0
- /package/assets/icons/{icon-chevron-left.svg → medium/chevron-left.svg} +0 -0
- /package/assets/icons/{icon-chevron-right--light.svg → medium/chevron-right--light.svg} +0 -0
- /package/assets/icons/{icon-chevron-right.svg → medium/chevron-right.svg} +0 -0
- /package/assets/images/{cloud-1.svg → cloud.svg} +0 -0
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
6
|
-
import { FormGroup } from '@angular/forms';
|
|
7
|
-
import { ClassModel } from '../../core';
|
|
8
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @description
|
|
12
|
-
* Norwegian Input Component | Form Controls | New design
|
|
13
|
-
*/
|
|
14
|
-
export declare class InputComponent extends NasComponentBase implements OnInit {
|
|
15
|
-
inputReactive: ElementRef<HTMLElement>;
|
|
16
|
-
inputNotReactive: ElementRef<HTMLElement>;
|
|
17
|
-
controls: ElementRef<HTMLElement>;
|
|
18
|
-
/**
|
|
19
|
-
* @property Input
|
|
20
|
-
* @description
|
|
21
|
-
* The ID of the native input element
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* @property Input
|
|
26
|
-
* @description
|
|
27
|
-
* The value of the native input element
|
|
28
|
-
*/
|
|
29
|
-
get model(): string;
|
|
30
|
-
set model(value: string);
|
|
31
|
-
modelChange: EventEmitter<string>;
|
|
32
|
-
blur: EventEmitter<string>;
|
|
33
|
-
/**
|
|
34
|
-
* @property Input
|
|
35
|
-
* @description
|
|
36
|
-
* Whether the control is in an error state.
|
|
37
|
-
*/
|
|
38
|
-
error: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* @property Input
|
|
41
|
-
* @description
|
|
42
|
-
* Whether the native input element is disabled or no, with disabled styling.
|
|
43
|
-
*/
|
|
44
|
-
get disabled(): boolean;
|
|
45
|
-
set disabled(value: boolean);
|
|
46
|
-
/**
|
|
47
|
-
* @property Input
|
|
48
|
-
* @description
|
|
49
|
-
* Set spaceless styling (removing spacing)
|
|
50
|
-
*/
|
|
51
|
-
spaceless: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* @property Input
|
|
54
|
-
* @description
|
|
55
|
-
* Sets the label of the input
|
|
56
|
-
*/
|
|
57
|
-
label: string;
|
|
58
|
-
/**
|
|
59
|
-
* @property Input
|
|
60
|
-
* @description
|
|
61
|
-
* Sets the label of the input inside the white area
|
|
62
|
-
*/
|
|
63
|
-
labelInside: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* @property Input
|
|
66
|
-
* @description
|
|
67
|
-
* The error message to display when error occur. Error attribute need to be true.
|
|
68
|
-
*/
|
|
69
|
-
errorMessage: string;
|
|
70
|
-
/**
|
|
71
|
-
* @property Input
|
|
72
|
-
* @description
|
|
73
|
-
* Sets placeholder text in the native input element
|
|
74
|
-
*/
|
|
75
|
-
placeholder: string;
|
|
76
|
-
/**
|
|
77
|
-
* @property Input
|
|
78
|
-
* @description
|
|
79
|
-
* Sets min length on the native input element.
|
|
80
|
-
*/
|
|
81
|
-
minLength: number;
|
|
82
|
-
/**
|
|
83
|
-
* @property Input
|
|
84
|
-
* @description
|
|
85
|
-
* Sets max length on the native input element.
|
|
86
|
-
*/
|
|
87
|
-
maxLength: number;
|
|
88
|
-
/**
|
|
89
|
-
* @property Input
|
|
90
|
-
* @description
|
|
91
|
-
* Sets the info text related to the input
|
|
92
|
-
*/
|
|
93
|
-
info: string;
|
|
94
|
-
/**
|
|
95
|
-
* @property Input
|
|
96
|
-
* @description
|
|
97
|
-
* Sets the icon on the input
|
|
98
|
-
*/
|
|
99
|
-
icon: string;
|
|
100
|
-
/**
|
|
101
|
-
* @property Input
|
|
102
|
-
* @description
|
|
103
|
-
* Boolean that sets input mode to the value
|
|
104
|
-
*/
|
|
105
|
-
inputModeValue: string;
|
|
106
|
-
/**
|
|
107
|
-
* @property Input
|
|
108
|
-
* @description
|
|
109
|
-
* String that sets autocomplete to the value
|
|
110
|
-
*/
|
|
111
|
-
autocompleteValue: string;
|
|
112
|
-
/**
|
|
113
|
-
* @property Input
|
|
114
|
-
* @description
|
|
115
|
-
* Input type of the element.
|
|
116
|
-
*/
|
|
117
|
-
type: string;
|
|
118
|
-
/**
|
|
119
|
-
* @property Input
|
|
120
|
-
* @description
|
|
121
|
-
* Whether the element is readonly.
|
|
122
|
-
*/
|
|
123
|
-
readonly: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* @property Input
|
|
126
|
-
* @description
|
|
127
|
-
* String to set name on native input element.
|
|
128
|
-
*/
|
|
129
|
-
get name(): string;
|
|
130
|
-
set name(value: string);
|
|
131
|
-
/**
|
|
132
|
-
* @property Input
|
|
133
|
-
* @description
|
|
134
|
-
* Sets aria describedby for accessibility
|
|
135
|
-
*/
|
|
136
|
-
ariaDescribedby: string;
|
|
137
|
-
/**
|
|
138
|
-
* @property Input
|
|
139
|
-
* @description
|
|
140
|
-
* Sets the required attribute on the native input element.
|
|
141
|
-
*/
|
|
142
|
-
required: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* @property Input
|
|
145
|
-
* @description
|
|
146
|
-
* Sets a formControlName directive to the input.
|
|
147
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
148
|
-
* It requiers that the nasFormGroup input is filled.
|
|
149
|
-
* @example
|
|
150
|
-
* <nas-input [nasFormControlName]="'username'"></nas-input>
|
|
151
|
-
*/
|
|
152
|
-
nasFormControlName: string;
|
|
153
|
-
/**
|
|
154
|
-
* @property Input
|
|
155
|
-
* @description
|
|
156
|
-
* Adds the parent's form group.
|
|
157
|
-
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
158
|
-
* It is requiered to be filled if nasFormControlName added.
|
|
159
|
-
* @example
|
|
160
|
-
* <nas-input [nasFormGroup]="loginGroup"></nas-input>
|
|
161
|
-
*/
|
|
162
|
-
nasFormGroup: FormGroup;
|
|
163
|
-
/**
|
|
164
|
-
* @property Input
|
|
165
|
-
* @description
|
|
166
|
-
* The minimum value to accept for this input.
|
|
167
|
-
* @example
|
|
168
|
-
* <nas-input [type]="'number'" [min]="0"></nas-input>
|
|
169
|
-
*/
|
|
170
|
-
min: number;
|
|
171
|
-
/**
|
|
172
|
-
* @property Input
|
|
173
|
-
* @description
|
|
174
|
-
* The maximum value to accept for this input.
|
|
175
|
-
* @example
|
|
176
|
-
* <nas-input [type]="'number'" [max]="10"></nas-input>
|
|
177
|
-
*/
|
|
178
|
-
max: number;
|
|
179
|
-
/**
|
|
180
|
-
* @property Input
|
|
181
|
-
* @description
|
|
182
|
-
* Adds a line below the input element. Default value is true.
|
|
183
|
-
* @example
|
|
184
|
-
* <nas-input [line]="false"></nas-input>
|
|
185
|
-
*/
|
|
186
|
-
line: boolean;
|
|
187
|
-
/**
|
|
188
|
-
* @property Input
|
|
189
|
-
* @description
|
|
190
|
-
* Specifies a regular expression that the input value is checked against on form submission
|
|
191
|
-
*/
|
|
192
|
-
pattern: string;
|
|
193
|
-
get inputId(): string;
|
|
194
|
-
get errorId(): string;
|
|
195
|
-
private componentId;
|
|
196
|
-
private modelValue;
|
|
197
|
-
private disabledValue;
|
|
198
|
-
private nameValue;
|
|
199
|
-
active: boolean;
|
|
200
|
-
focus: boolean;
|
|
201
|
-
valid: boolean;
|
|
202
|
-
lastWasTab: boolean;
|
|
203
|
-
constructor();
|
|
204
|
-
onKeydown(e: KeyboardEvent): void;
|
|
205
|
-
ngOnInit(): void;
|
|
206
|
-
ngAfterViewInit(): void;
|
|
207
|
-
mainClass(): ClassModel;
|
|
208
|
-
private setNameAttribute;
|
|
209
|
-
onBlur(value: string): void;
|
|
210
|
-
onKeyDown(): void;
|
|
211
|
-
setActiveInput(active: boolean): void;
|
|
212
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
213
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "nas-input", never, { "id": { "alias": "id"; "required": false; }; "model": { "alias": "model"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelInside": { "alias": "labelInside"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "info": { "alias": "info"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "inputModeValue": { "alias": "inputModeValue"; "required": false; }; "autocompleteValue": { "alias": "autocompleteValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "line": { "alias": "line"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; }, { "modelChange": "modelChange"; "blur": "blur"; }, never, never, false, never>;
|
|
214
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../icon/icon.module";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "../../core/directives/nas-class/nas-class.module";
|
|
7
|
-
export declare class InputModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputModule, [typeof i1.InputComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.FormsModule, typeof i5.NasClassModule, typeof i4.ReactiveFormsModule], [typeof i1.InputComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<InputModule>;
|
|
11
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { SimpleChanges, OnChanges, OnInit } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
7
|
-
import { JourneyModel } from './models/journey.model';
|
|
8
|
-
import { ClassModel } from '../../core/models/class.model';
|
|
9
|
-
import { DateHelper } from '../../core/services/date/date-helper.service';
|
|
10
|
-
import { JourneyFlightModel } from './models/journey-flight.model';
|
|
11
|
-
import { DatePipe } from '@angular/common';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @description
|
|
15
|
-
* Norwegian journey Component | Functional
|
|
16
|
-
*/
|
|
17
|
-
export declare class JourneyComponent extends NasComponentBase implements OnChanges, OnInit {
|
|
18
|
-
private datePipe;
|
|
19
|
-
private dateService;
|
|
20
|
-
currentJourney: {
|
|
21
|
-
departureTime: string;
|
|
22
|
-
arrivalTime: string;
|
|
23
|
-
departureDate: string;
|
|
24
|
-
arrivalDate: string;
|
|
25
|
-
estimatedArrivalTime?: string;
|
|
26
|
-
estimatedDepartureTime?: string;
|
|
27
|
-
estimatedArrivalDate?: string;
|
|
28
|
-
estimatedDepartureDate?: string;
|
|
29
|
-
};
|
|
30
|
-
marketingCarrierIcon: string;
|
|
31
|
-
/**
|
|
32
|
-
* @property Input
|
|
33
|
-
* @description
|
|
34
|
-
* A record containing Journey details.
|
|
35
|
-
* @required
|
|
36
|
-
* @example
|
|
37
|
-
* <nas-journey [journeyModel]="journeyModel"></nas-journey>
|
|
38
|
-
*/
|
|
39
|
-
journeyModel: JourneyModel;
|
|
40
|
-
/**
|
|
41
|
-
* @property Input
|
|
42
|
-
* @description
|
|
43
|
-
* A string representing date display format, if not provided, default formatting on date will be applied
|
|
44
|
-
* i.e 'dd MMM yyyy', which will result in displaying date like '21, Feb 2019'.
|
|
45
|
-
* @example
|
|
46
|
-
* <nas-journey [dateFormat]="'dd, MMM yyyy'"></nas-journey>
|
|
47
|
-
*/
|
|
48
|
-
dateFormat: string;
|
|
49
|
-
/**
|
|
50
|
-
* @property Input
|
|
51
|
-
* @description
|
|
52
|
-
* A string representing time display format, if not provided, default formatting on date will be applied
|
|
53
|
-
* i.e 'HH:mm' , which will result in displaying time like '09:23'.
|
|
54
|
-
* @example
|
|
55
|
-
* <nas-journey [timeFormat]="'HH:mm'"></nas-journey>
|
|
56
|
-
*/
|
|
57
|
-
timeFormat: string;
|
|
58
|
-
/**
|
|
59
|
-
* @property Input
|
|
60
|
-
* @description
|
|
61
|
-
* A string representing arrival label, it will be displayed before the arrival time.
|
|
62
|
-
* @example
|
|
63
|
-
* <nas-journey [arrivalLabel]="'Arrival'"></nas-journey>
|
|
64
|
-
*/
|
|
65
|
-
arrivalLabel: string;
|
|
66
|
-
/**
|
|
67
|
-
* @property Input
|
|
68
|
-
* @description
|
|
69
|
-
* A string representing departure label, it will be displayed before the departure time.
|
|
70
|
-
* @example
|
|
71
|
-
* <nas-journey [departureLabel]="'Departure'"></nas-journey>
|
|
72
|
-
*/
|
|
73
|
-
departureLabel: string;
|
|
74
|
-
/**
|
|
75
|
-
* @property Input
|
|
76
|
-
* @description
|
|
77
|
-
* 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.
|
|
78
|
-
* This requires that registerLocaleData is called with the respective locale.
|
|
79
|
-
* @example
|
|
80
|
-
* <nas-journey [locale]="'es'"></nas-journey>
|
|
81
|
-
*/
|
|
82
|
-
locale: string;
|
|
83
|
-
/**
|
|
84
|
-
* @property Input
|
|
85
|
-
* @description
|
|
86
|
-
* User can input the timezone to localize the date.
|
|
87
|
-
* Default is set to UTC and it will by default show the date exactly what is passed to it.
|
|
88
|
-
* @example
|
|
89
|
-
* <nas-journey [timeZone]="'UTC'"></nas-journey>
|
|
90
|
-
*/
|
|
91
|
-
timeZone: string;
|
|
92
|
-
constructor(datePipe: DatePipe, dateService: DateHelper);
|
|
93
|
-
ngOnInit(): void;
|
|
94
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
95
|
-
getTimeClass(journeyFlight: JourneyFlightModel): ClassModel;
|
|
96
|
-
getLineClass(): ClassModel;
|
|
97
|
-
private getMarketingCarrierIcon;
|
|
98
|
-
private setDisplayDates;
|
|
99
|
-
private transformDate;
|
|
100
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JourneyComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JourneyComponent, "nas-journey", never, { "journeyModel": { "alias": "journeyModel"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "arrivalLabel": { "alias": "arrivalLabel"; "required": false; }; "departureLabel": { "alias": "departureLabel"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
102
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./journey.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../../core/directives/nas-class/nas-class.module";
|
|
5
|
-
import * as i4 from "../accordion/accordion.module";
|
|
6
|
-
import * as i5 from "../icon/icon.module";
|
|
7
|
-
export declare class JourneyModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JourneyModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<JourneyModule, [typeof i1.JourneyComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.AccordionModule, typeof i5.IconModule], [typeof i1.JourneyComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<JourneyModule>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { UtcDate } from '../../../core/models/utc-date.model';
|
|
2
|
-
import { MarketingCarrier } from './marketing-carrier.enum';
|
|
3
|
-
export interface JourneyFlightModel {
|
|
4
|
-
date: UtcDate;
|
|
5
|
-
airportName: string;
|
|
6
|
-
airportCode?: string;
|
|
7
|
-
airlineName?: string;
|
|
8
|
-
flightCode?: string;
|
|
9
|
-
marketingCarrier?: MarketingCarrier;
|
|
10
|
-
time: UtcDate;
|
|
11
|
-
estimatedTime?: UtcDate;
|
|
12
|
-
estimatedDate?: UtcDate;
|
|
13
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { DatePipe } from '@angular/common';
|
|
6
|
-
import { OnChanges, SimpleChanges, EventEmitter, OnInit } from '@angular/core';
|
|
7
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
8
|
-
import { DeviceHelper } from '../../core/services/device/device-helper.service';
|
|
9
|
-
import { JourneyAvailabilityModel } from '../../shared/models/journey-availability.model';
|
|
10
|
-
import { DateHelper } from '../../core/services/date/date-helper.service';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* @description
|
|
14
|
-
* Norwegian Journey Availability Component | Functional
|
|
15
|
-
*/
|
|
16
|
-
export declare class JourneyAvailabilityComponent extends NasComponentBase implements OnInit, OnChanges {
|
|
17
|
-
private datePipe;
|
|
18
|
-
private deviceService;
|
|
19
|
-
private dateService;
|
|
20
|
-
currentJourney: any;
|
|
21
|
-
private displayJourneyDetailsValue;
|
|
22
|
-
isSmallScreen: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* @property Input
|
|
25
|
-
* @required
|
|
26
|
-
* @description
|
|
27
|
-
* A record containing all the data required to show journey availability UI, look at 'RouteModel' for details.
|
|
28
|
-
* @example
|
|
29
|
-
* <nas-journey-availability [journeyAvailabilityModel]="journeyAvailabilityModel"></nas-journey-availability>
|
|
30
|
-
*/
|
|
31
|
-
model: JourneyAvailabilityModel;
|
|
32
|
-
/**
|
|
33
|
-
* @property Input
|
|
34
|
-
* @description
|
|
35
|
-
* A boolean value, when set to true will show journey availability UI in selected format.
|
|
36
|
-
* @example
|
|
37
|
-
* <nas-journey-availability [selected]="true"></nas-journey-availability>
|
|
38
|
-
*/
|
|
39
|
-
selected: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* @property Input
|
|
42
|
-
* @description
|
|
43
|
-
* 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.
|
|
44
|
-
* This requires that registerLocaleData is called with the respective locale.
|
|
45
|
-
* @example
|
|
46
|
-
* <nas-journey-availability [locale]="'es'"></nas-journey-availability>
|
|
47
|
-
*/
|
|
48
|
-
locale: string;
|
|
49
|
-
/**
|
|
50
|
-
* @property Input
|
|
51
|
-
* @description
|
|
52
|
-
* Time display format, Default is HH:mm
|
|
53
|
-
* @example
|
|
54
|
-
* <nas-journey-availability [timeDisplayFormat]="'HH:mm'"></nas-journey-availability>
|
|
55
|
-
*/
|
|
56
|
-
timeDisplayFormat: string;
|
|
57
|
-
/**
|
|
58
|
-
* @property Input
|
|
59
|
-
* @description
|
|
60
|
-
* User can input the timezone to localize the date.
|
|
61
|
-
* Default is set to UTC and it will by default show the date exactly what is passed to it.
|
|
62
|
-
* @example
|
|
63
|
-
* <nas-journey-availability [timeZone]="'UTC'"></nas-journey-availability>
|
|
64
|
-
*/
|
|
65
|
-
timeZone: string;
|
|
66
|
-
/**
|
|
67
|
-
* @property Input
|
|
68
|
-
* @description
|
|
69
|
-
* Setter and getter when the flight info popup shows/hidden.
|
|
70
|
-
*/
|
|
71
|
-
get displayJourneyDetails(): boolean;
|
|
72
|
-
set displayJourneyDetails(value: boolean);
|
|
73
|
-
/**
|
|
74
|
-
* @property Output
|
|
75
|
-
* @description
|
|
76
|
-
* An Event which Emitts boolean when Flight info popup is toggled.
|
|
77
|
-
*/
|
|
78
|
-
displayJourneyDetailsChange: EventEmitter<boolean>;
|
|
79
|
-
/**
|
|
80
|
-
* @property Output
|
|
81
|
-
* @description
|
|
82
|
-
* Event emits when user click on journey availability for selection.
|
|
83
|
-
*/
|
|
84
|
-
journeyAvailabilityClick: EventEmitter<KeyboardEvent>;
|
|
85
|
-
constructor(datePipe: DatePipe, deviceService: DeviceHelper, dateService: DateHelper);
|
|
86
|
-
ngOnInit(): void;
|
|
87
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
88
|
-
emitClick(event: KeyboardEvent): void;
|
|
89
|
-
toggleJourneyInfoDetails(event: KeyboardEvent): void;
|
|
90
|
-
getIconType(): string;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JourneyAvailabilityComponent, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JourneyAvailabilityComponent, "nas-journey-availability", never, { "model": { "alias": "model"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "displayJourneyDetails": { "alias": "displayJourneyDetails"; "required": false; }; }, { "displayJourneyDetailsChange": "displayJourneyDetailsChange"; "journeyAvailabilityClick": "journeyAvailabilityClick"; }, never, never, false, never>;
|
|
93
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./journey-availability.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../../core/directives/nas-class/nas-class.module";
|
|
5
|
-
import * as i4 from "../icon/icon.module";
|
|
6
|
-
import * as i5 from "../modal/modal.module";
|
|
7
|
-
import * as i6 from "../trip-summary/trip-summary.module";
|
|
8
|
-
export declare class JourneyAvailabilityModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JourneyAvailabilityModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<JourneyAvailabilityModule, [typeof i1.JourneyAvailabilityComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.IconModule, typeof i5.ModalModule, typeof i6.TripSummaryModule], [typeof i1.JourneyAvailabilityComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<JourneyAvailabilityModule>;
|
|
12
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
7
|
-
import { JourneyAvailabilityModel } from '../../shared/models/journey-availability.model';
|
|
8
|
-
import { SortModel } from '../../shared/models/sort.model';
|
|
9
|
-
import { JourneyAvailabilitySortModel } from '../../shared/models/journey-availability-sort.model';
|
|
10
|
-
import { SortOptionModel } from '../../shared/models/sort-option.model';
|
|
11
|
-
import { DateHelper } from '../../core/services/date/date-helper.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @description
|
|
15
|
-
* Norwegian Journey availability list Component | Functional
|
|
16
|
-
*/
|
|
17
|
-
export declare class JourneyAvailabilityListComponent extends NasComponentBase {
|
|
18
|
-
private dateService;
|
|
19
|
-
activeIndex: number;
|
|
20
|
-
sortMetaData: SortModel;
|
|
21
|
-
sortSelectedOptionObject: SortOptionModel;
|
|
22
|
-
/**
|
|
23
|
-
* @property Input
|
|
24
|
-
* @required
|
|
25
|
-
* @description
|
|
26
|
-
* A record containing all the data required to show availability results, look at 'journeyAvailabilityModel' for details.
|
|
27
|
-
* @example
|
|
28
|
-
* <nas-journey-availability-list [model]="journeyAvailabilityData"></nas-journey-availability-list>
|
|
29
|
-
*/
|
|
30
|
-
model: Array<JourneyAvailabilityModel>;
|
|
31
|
-
/**
|
|
32
|
-
* @property Input
|
|
33
|
-
* @description
|
|
34
|
-
* An optional model for sort popup options.
|
|
35
|
-
*/
|
|
36
|
-
set sortModel(model: JourneyAvailabilitySortModel);
|
|
37
|
-
/**
|
|
38
|
-
* @property Input
|
|
39
|
-
* @description
|
|
40
|
-
* set or get selected sort option.
|
|
41
|
-
*/
|
|
42
|
-
get sortSelectedOption(): SortOptionModel;
|
|
43
|
-
set sortSelectedOption(option: SortOptionModel);
|
|
44
|
-
/**
|
|
45
|
-
* @property Output
|
|
46
|
-
* @description
|
|
47
|
-
* Event that fires when the sort option changes.
|
|
48
|
-
*/
|
|
49
|
-
sortSelectedOptionChange: EventEmitter<SortOptionModel>;
|
|
50
|
-
/**
|
|
51
|
-
* @property Input
|
|
52
|
-
* @description
|
|
53
|
-
* 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.
|
|
54
|
-
* This requires that registerLocaleData is called with the respective locale.
|
|
55
|
-
* @example
|
|
56
|
-
* <nas-journey-availability-list [locale]="'es'"></nas-journey-availability-list>
|
|
57
|
-
*/
|
|
58
|
-
locale: string;
|
|
59
|
-
/**
|
|
60
|
-
* @property Input
|
|
61
|
-
* @required
|
|
62
|
-
* @description
|
|
63
|
-
* A string to give the user feedback when there no data available for the availability result for specified parameters
|
|
64
|
-
* @example
|
|
65
|
-
* <nas-journey-availability-list [noDataCaption]="noDataCaption"></nas-journey-availability-list>
|
|
66
|
-
*/
|
|
67
|
-
noDataCaption: string;
|
|
68
|
-
/**
|
|
69
|
-
* @property Input
|
|
70
|
-
* @description
|
|
71
|
-
* Time display format.
|
|
72
|
-
* @example
|
|
73
|
-
* <nas-journey-availability-list [timeDisplayFormat]="'HH:mm'"></nas-journey-availability-list>
|
|
74
|
-
*/
|
|
75
|
-
timeDisplayFormat: string;
|
|
76
|
-
/**
|
|
77
|
-
* @property Output
|
|
78
|
-
* @description
|
|
79
|
-
* A JourneyModel type record the represents selected journey data;
|
|
80
|
-
* @example
|
|
81
|
-
* <nas-journey-availability-list (selectedJourney)="onselectedJourney($event)"></nas-journey-availability-list>
|
|
82
|
-
*/
|
|
83
|
-
selectedJourney: EventEmitter<JourneyAvailabilityModel>;
|
|
84
|
-
/**
|
|
85
|
-
* @property Output
|
|
86
|
-
* @description
|
|
87
|
-
* A selected index of selected journey data;
|
|
88
|
-
* @example
|
|
89
|
-
* <nas-journey-availability-list (selectedIndexChange)="onSelectedIndexChange($event)"></nas-journey-availability-list>
|
|
90
|
-
*/
|
|
91
|
-
selectedIndexChange: EventEmitter<number>;
|
|
92
|
-
/**
|
|
93
|
-
* @property Input
|
|
94
|
-
* @description
|
|
95
|
-
* A number that sets the SelectedIndex from the JourneyList array in journeyAvailabilityListModel
|
|
96
|
-
* @example
|
|
97
|
-
* <nas-journey-availability-list [(selectIndex)]="selectIndex"></nas-journey-availability-list>
|
|
98
|
-
*/
|
|
99
|
-
get selectedIndex(): number;
|
|
100
|
-
set selectedIndex(index: number);
|
|
101
|
-
/**
|
|
102
|
-
* @property Output
|
|
103
|
-
* @description
|
|
104
|
-
* An Event which Emitts boolean when Flight info popup is toggled.
|
|
105
|
-
*/
|
|
106
|
-
displayJourneyDetailsChange: EventEmitter<boolean>;
|
|
107
|
-
constructor(dateService: DateHelper);
|
|
108
|
-
displayJourneyDetailsChanged(value: boolean): void;
|
|
109
|
-
isAvailabilityJourneySelected(journeyAvailabilityIndex: number): boolean;
|
|
110
|
-
emitSelected(flightIndex: number): void;
|
|
111
|
-
sortChange(option: SortOptionModel): void;
|
|
112
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JourneyAvailabilityListComponent, never>;
|
|
113
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JourneyAvailabilityListComponent, "nas-journey-availability-list", never, { "model": { "alias": "model"; "required": false; }; "sortModel": { "alias": "sortModel"; "required": false; }; "sortSelectedOption": { "alias": "sortSelectedOption"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "noDataCaption": { "alias": "noDataCaption"; "required": false; }; "timeDisplayFormat": { "alias": "timeDisplayFormat"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; }, { "sortSelectedOptionChange": "sortSelectedOptionChange"; "selectedJourney": "selectedJourney"; "selectedIndexChange": "selectedIndexChange"; "displayJourneyDetailsChange": "displayJourneyDetailsChange"; }, never, never, false, never>;
|
|
114
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./journey-availability-list.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../journey-availability/journey-availability.module";
|
|
5
|
-
import * as i4 from "../../core/directives/nas-class/nas-class.module";
|
|
6
|
-
import * as i5 from "../cover/cover.module";
|
|
7
|
-
import * as i6 from "../sort/sort.module";
|
|
8
|
-
export declare class JourneyAvailabilityListModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JourneyAvailabilityListModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<JourneyAvailabilityListModule, [typeof i1.JourneyAvailabilityListComponent], [typeof i2.CommonModule, typeof i3.JourneyAvailabilityModule, typeof i4.NasClassModule, typeof i5.CoverModule, typeof i6.SortModule], [typeof i1.JourneyAvailabilityListComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<JourneyAvailabilityListModule>;
|
|
12
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './journey-selection.component';
|
|
2
|
-
export * from './journey-selection.module';
|
|
3
|
-
export * from './models/journey-selection-collapsed.model';
|
|
4
|
-
export * from './models/journey-selection-common.model';
|
|
5
|
-
export * from './models/journey-selection-expanded.model';
|
|
6
|
-
export * from './models/journey-selection.model';
|