@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,163 +0,0 @@
|
|
|
1
|
-
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
2
|
-
import { Component, Input, Output, EventEmitter, ViewEncapsulation, ViewChild, } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
import * as i3 from "../../core/directives/nas-class/nas-class.directive";
|
|
7
|
-
let nextId = 0;
|
|
8
|
-
/**
|
|
9
|
-
* @description
|
|
10
|
-
* Norwegian Checkbox Component | Form Controls | New design
|
|
11
|
-
*/
|
|
12
|
-
export class CheckboxComponent extends NasComponentBase {
|
|
13
|
-
/**
|
|
14
|
-
* @property Input
|
|
15
|
-
* @description
|
|
16
|
-
* Sets the Id of the native input element
|
|
17
|
-
*/
|
|
18
|
-
get inputId() {
|
|
19
|
-
if (this.inputIdValue) {
|
|
20
|
-
return this.inputIdValue;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
return `nas-checkbox-${this.componentId}`;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
set inputId(value) {
|
|
27
|
-
if (!value) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
this.inputIdValue = value;
|
|
31
|
-
}
|
|
32
|
-
get checked() {
|
|
33
|
-
return this.checkedValue;
|
|
34
|
-
}
|
|
35
|
-
set checked(value) {
|
|
36
|
-
if (value !== this.checkedValue) {
|
|
37
|
-
this.checkedValue = value;
|
|
38
|
-
this.checkedChange.emit(this.checked);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
get mainClass() {
|
|
42
|
-
return this.getClass('', [
|
|
43
|
-
this.exists(this.error) && 'error',
|
|
44
|
-
this.exists(this.disabled) && 'disabled',
|
|
45
|
-
this.exists(this.block) && 'block',
|
|
46
|
-
this.exists(this.spaceless) && 'spaceless',
|
|
47
|
-
this.exists(this.inverted) && 'inverted',
|
|
48
|
-
(this.exists(this.inverted) && this.error) && 'inverted-error',
|
|
49
|
-
this.exists(this.outlined) && 'outlined',
|
|
50
|
-
(this.exists(this.outlined) && this.error) && 'outlined-error',
|
|
51
|
-
this.exists(this.reverse) && 'reverse',
|
|
52
|
-
this.exists(this.filled) && 'filled',
|
|
53
|
-
]);
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @description
|
|
57
|
-
* Represent a checkbox component.
|
|
58
|
-
* Will initiate correct block style.
|
|
59
|
-
*/
|
|
60
|
-
constructor() {
|
|
61
|
-
super('nas-checkbox');
|
|
62
|
-
/**
|
|
63
|
-
* @property Input
|
|
64
|
-
* @description
|
|
65
|
-
* The value attribute is bound to ngModel of the native input element.
|
|
66
|
-
*/
|
|
67
|
-
this.value = '';
|
|
68
|
-
this.checkedChange = new EventEmitter();
|
|
69
|
-
this.focusOnPrevious = new EventEmitter();
|
|
70
|
-
this.focusOnNext = new EventEmitter();
|
|
71
|
-
this.componentId = nextId++;
|
|
72
|
-
}
|
|
73
|
-
ngOnInit() {
|
|
74
|
-
if (this.nasFormGroup && this.nasFormControlName) {
|
|
75
|
-
const checkedControl = this.nasFormGroup.get(this.nasFormControlName);
|
|
76
|
-
if (checkedControl) {
|
|
77
|
-
this.checked = checkedControl.value;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
inputChanged(event) {
|
|
82
|
-
event.stopPropagation();
|
|
83
|
-
}
|
|
84
|
-
inputClicked(event) {
|
|
85
|
-
event.stopPropagation();
|
|
86
|
-
if (this.exists(this.disabled)) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
this.checked = !this.checked;
|
|
90
|
-
}
|
|
91
|
-
onKeydown(event) {
|
|
92
|
-
switch (event.key) {
|
|
93
|
-
case 'Tab':
|
|
94
|
-
if (event.shiftKey) {
|
|
95
|
-
this.focusOnPrevious.emit(event);
|
|
96
|
-
}
|
|
97
|
-
break;
|
|
98
|
-
case 'Enter':
|
|
99
|
-
this.checked = !this.checked;
|
|
100
|
-
this.focusOnNext.emit(event);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
104
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CheckboxComponent, selector: "nas-checkbox", inputs: { inputId: "inputId", value: "value", error: "error", disabled: "disabled", block: "block", spaceless: "spaceless", inverted: "inverted", outlined: "outlined", reverse: "reverse", filled: "filled", ariaLabel: ["aria-label", "ariaLabel"], ariaDescribedby: ["aria-describedby", "ariaDescribedby"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], name: "name", required: "required", tabIndex: "tabIndex", checked: "checked", nasFormControlName: "nasFormControlName", nasFormGroup: "nasFormGroup" }, outputs: { checkedChange: "checkedChange", focusOnPrevious: "focusOnPrevious", focusOnNext: "focusOnNext" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "inputReactive", first: true, predicate: ["inputReactive"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"!nasFormControlName; else reactiveForm\">\n <label [nasClass]=\"mainClass\">\n <input type=\"checkbox\" #input [id]=\"inputId\" [checked]=\"exists(checked)\" [disabled]=\"exists(disabled)\"\n [required]=\"exists(required)\" [tabIndex]=\"tabIndex\" [attr.name]=\"name\" [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby\" [attr.aria-describedby]=\"ariaLabelledby\" [attr.value]=\"value\"\n (change)=\"inputChanged($event)\" (click)=\"inputClicked($event)\" (keydown)=\"onKeydown($event)\" />\n <span [nasClass]=\"getClass('indicator')\"></span>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </label>\n</ng-container>\n\n<ng-template #reactiveForm>\n <label [nasClass]=\"mainClass\" #inputReactive [formGroup]=\"nasFormGroup\">\n <input type=\"checkbox\" [formControlName]=\"nasFormControlName\" [id]=\"inputId\" [checked]=\"exists(checked)\"\n [required]=\"exists(required)\" [tabIndex]=\"tabIndex\" [attr.name]=\"name\" [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby\" [attr.aria-describedby]=\"ariaLabelledby\" [attr.value]=\"value\"\n (keydown)=\"onKeydown($event)\" />\n <span [nasClass]=\"getClass('indicator')\"></span>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </label>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-checkbox{-webkit-user-select:none;-o-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-drag:none;user-drag:none;position:relative;display:inline-block;cursor:pointer;padding-left:30px;margin-bottom:24px;color:#15273f}.nas-checkbox:hover .nas-checkbox__indicator:after{border-color:#6f6f6f}.nas-checkbox input{position:absolute;opacity:0;z-index:-1}.nas-checkbox input:focus-visible+.nas-checkbox__indicator{outline:2px solid #0978E8;outline-offset:2px}.nas-checkbox input:checked+.nas-checkbox__indicator{border-color:#15273f;background-color:#ebf4ff}.nas-checkbox input:checked+.nas-checkbox__indicator:before{transform:scale(.9);opacity:1;top:10px}.nas-checkbox input:checked+.nas-checkbox__indicator:after{border-color:#15273f}.nas-checkbox input[disabled]+.nas-checkbox__indicator{background-color:#e9e7e4;border-color:#6f6f6f}.nas-checkbox input[disabled]+.nas-checkbox__indicator:after,.nas-checkbox input[disabled]+.nas-checkbox__indicator:hover:after,.nas-checkbox input[disabled]+.nas-checkbox__indicator:focus:after{border-color:#e9e7e4}.nas-checkbox__indicator{position:absolute;display:block;-webkit-user-select:none;user-select:none;left:0;border:2px solid #15273F;width:22px;height:22px;background-color:#fff}.nas-checkbox__indicator:focus-visible{outline:2px solid #2A5980;outline-offset:2px}.nas-checkbox__indicator:before{content:\"\";display:inline-block;vertical-align:middle;position:absolute;top:55%;left:50%;width:14px;height:12px;margin-top:-6px;margin-left:-7px;transform-origin:40% 90%;opacity:0;transform:scale(0);transition:all .1s cubic-bezier(0,0,.1,1);background-image:url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 18.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%2214px%22 height%3D%2212px%22 viewBox%3D%220 0 14 12%22 enable-background%3D%22new 0 0 14 12%22 xml%3Aspace%3D%22preserve%22%3E%3Cpolygon fill%3D%22%2315273F%22 points%3D%2211.7%2C0 5.8%2C6.7 2.2%2C3.1 0%2C5.3 6%2C11.3 14%2C2 %22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat}.nas-checkbox--disabled{color:#6f6f6f;cursor:default}.nas-checkbox--disabled .nas-checkbox__indicator{background-color:#e9e7e4}.nas-checkbox--disabled .nas-checkbox__indicator:before{background-image:url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 18.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%2214px%22 height%3D%2212px%22 viewBox%3D%220 0 14 12%22 enable-background%3D%22new 0 0 14 12%22 xml%3Aspace%3D%22preserve%22%3E%3Cpolygon fill%3D%22%236F6F6F%22 points%3D%2211.7%2C0 5.8%2C6.7 2.2%2C3.1 0%2C5.3 6%2C11.3 14%2C2 %22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat}.nas-checkbox--disabled:hover .nas-checkbox__indicator:after{border-color:#e9e7e4}.nas-checkbox--error input:checked+.nas-checkbox__indicator:after,.nas-checkbox--error input+.nas-checkbox__indicator:after{border-color:#e5212d}.nas-checkbox--inverted{color:#fff}.nas-checkbox--inverted input:checked+.nas-checkbox__indicator:after,.nas-checkbox--inverted input+.nas-checkbox__indicator:after{border-color:#fff}.nas-checkbox--inverted-error{color:#fff}.nas-checkbox--inverted-error input:checked+.nas-checkbox__indicator:after,.nas-checkbox--inverted-error input+.nas-checkbox__indicator:after{border-color:#e5212d}.nas-checkbox--outlined .nas-checkbox__indicator{border:2px solid #E9E7E4}.nas-checkbox--outlined .nas-checkbox__indicator:after{display:none}.nas-checkbox--outlined-error .nas-checkbox__indicator{border:2px solid #E5212D;background-color:#fff5f3}.nas-checkbox--outlined-error .nas-checkbox__indicator:after{display:none}.nas-checkbox--spaceless{margin-bottom:6px}.nas-checkbox--block{display:block}.nas-checkbox--reverse{padding-left:0;padding-right:30px}.nas-checkbox--reverse .nas-checkbox__indicator{right:0;left:auto}.nas-checkbox--filled{width:100%;margin:0;display:flex;justify-content:flex-end}.nas-checkbox--filled.nas-checkbox--reverse{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.CheckboxRequiredValidator, selector: "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]" }, { kind: "directive", type: i3.NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
105
|
-
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
107
|
-
type: Component,
|
|
108
|
-
args: [{ selector: 'nas-checkbox', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"!nasFormControlName; else reactiveForm\">\n <label [nasClass]=\"mainClass\">\n <input type=\"checkbox\" #input [id]=\"inputId\" [checked]=\"exists(checked)\" [disabled]=\"exists(disabled)\"\n [required]=\"exists(required)\" [tabIndex]=\"tabIndex\" [attr.name]=\"name\" [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby\" [attr.aria-describedby]=\"ariaLabelledby\" [attr.value]=\"value\"\n (change)=\"inputChanged($event)\" (click)=\"inputClicked($event)\" (keydown)=\"onKeydown($event)\" />\n <span [nasClass]=\"getClass('indicator')\"></span>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </label>\n</ng-container>\n\n<ng-template #reactiveForm>\n <label [nasClass]=\"mainClass\" #inputReactive [formGroup]=\"nasFormGroup\">\n <input type=\"checkbox\" [formControlName]=\"nasFormControlName\" [id]=\"inputId\" [checked]=\"exists(checked)\"\n [required]=\"exists(required)\" [tabIndex]=\"tabIndex\" [attr.name]=\"name\" [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby\" [attr.aria-describedby]=\"ariaLabelledby\" [attr.value]=\"value\"\n (keydown)=\"onKeydown($event)\" />\n <span [nasClass]=\"getClass('indicator')\"></span>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </label>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-checkbox{-webkit-user-select:none;-o-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-drag:none;user-drag:none;position:relative;display:inline-block;cursor:pointer;padding-left:30px;margin-bottom:24px;color:#15273f}.nas-checkbox:hover .nas-checkbox__indicator:after{border-color:#6f6f6f}.nas-checkbox input{position:absolute;opacity:0;z-index:-1}.nas-checkbox input:focus-visible+.nas-checkbox__indicator{outline:2px solid #0978E8;outline-offset:2px}.nas-checkbox input:checked+.nas-checkbox__indicator{border-color:#15273f;background-color:#ebf4ff}.nas-checkbox input:checked+.nas-checkbox__indicator:before{transform:scale(.9);opacity:1;top:10px}.nas-checkbox input:checked+.nas-checkbox__indicator:after{border-color:#15273f}.nas-checkbox input[disabled]+.nas-checkbox__indicator{background-color:#e9e7e4;border-color:#6f6f6f}.nas-checkbox input[disabled]+.nas-checkbox__indicator:after,.nas-checkbox input[disabled]+.nas-checkbox__indicator:hover:after,.nas-checkbox input[disabled]+.nas-checkbox__indicator:focus:after{border-color:#e9e7e4}.nas-checkbox__indicator{position:absolute;display:block;-webkit-user-select:none;user-select:none;left:0;border:2px solid #15273F;width:22px;height:22px;background-color:#fff}.nas-checkbox__indicator:focus-visible{outline:2px solid #2A5980;outline-offset:2px}.nas-checkbox__indicator:before{content:\"\";display:inline-block;vertical-align:middle;position:absolute;top:55%;left:50%;width:14px;height:12px;margin-top:-6px;margin-left:-7px;transform-origin:40% 90%;opacity:0;transform:scale(0);transition:all .1s cubic-bezier(0,0,.1,1);background-image:url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 18.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%2214px%22 height%3D%2212px%22 viewBox%3D%220 0 14 12%22 enable-background%3D%22new 0 0 14 12%22 xml%3Aspace%3D%22preserve%22%3E%3Cpolygon fill%3D%22%2315273F%22 points%3D%2211.7%2C0 5.8%2C6.7 2.2%2C3.1 0%2C5.3 6%2C11.3 14%2C2 %22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat}.nas-checkbox--disabled{color:#6f6f6f;cursor:default}.nas-checkbox--disabled .nas-checkbox__indicator{background-color:#e9e7e4}.nas-checkbox--disabled .nas-checkbox__indicator:before{background-image:url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 18.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%2214px%22 height%3D%2212px%22 viewBox%3D%220 0 14 12%22 enable-background%3D%22new 0 0 14 12%22 xml%3Aspace%3D%22preserve%22%3E%3Cpolygon fill%3D%22%236F6F6F%22 points%3D%2211.7%2C0 5.8%2C6.7 2.2%2C3.1 0%2C5.3 6%2C11.3 14%2C2 %22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat}.nas-checkbox--disabled:hover .nas-checkbox__indicator:after{border-color:#e9e7e4}.nas-checkbox--error input:checked+.nas-checkbox__indicator:after,.nas-checkbox--error input+.nas-checkbox__indicator:after{border-color:#e5212d}.nas-checkbox--inverted{color:#fff}.nas-checkbox--inverted input:checked+.nas-checkbox__indicator:after,.nas-checkbox--inverted input+.nas-checkbox__indicator:after{border-color:#fff}.nas-checkbox--inverted-error{color:#fff}.nas-checkbox--inverted-error input:checked+.nas-checkbox__indicator:after,.nas-checkbox--inverted-error input+.nas-checkbox__indicator:after{border-color:#e5212d}.nas-checkbox--outlined .nas-checkbox__indicator{border:2px solid #E9E7E4}.nas-checkbox--outlined .nas-checkbox__indicator:after{display:none}.nas-checkbox--outlined-error .nas-checkbox__indicator{border:2px solid #E5212D;background-color:#fff5f3}.nas-checkbox--outlined-error .nas-checkbox__indicator:after{display:none}.nas-checkbox--spaceless{margin-bottom:6px}.nas-checkbox--block{display:block}.nas-checkbox--reverse{padding-left:0;padding-right:30px}.nas-checkbox--reverse .nas-checkbox__indicator{right:0;left:auto}.nas-checkbox--filled{width:100%;margin:0;display:flex;justify-content:flex-end}.nas-checkbox--filled.nas-checkbox--reverse{display:block}\n"] }]
|
|
109
|
-
}], ctorParameters: function () { return []; }, propDecorators: { input: [{
|
|
110
|
-
type: ViewChild,
|
|
111
|
-
args: ['input']
|
|
112
|
-
}], inputReactive: [{
|
|
113
|
-
type: ViewChild,
|
|
114
|
-
args: ['inputReactive']
|
|
115
|
-
}], inputId: [{
|
|
116
|
-
type: Input
|
|
117
|
-
}], value: [{
|
|
118
|
-
type: Input
|
|
119
|
-
}], error: [{
|
|
120
|
-
type: Input
|
|
121
|
-
}], disabled: [{
|
|
122
|
-
type: Input
|
|
123
|
-
}], block: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], spaceless: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}], inverted: [{
|
|
128
|
-
type: Input
|
|
129
|
-
}], outlined: [{
|
|
130
|
-
type: Input
|
|
131
|
-
}], reverse: [{
|
|
132
|
-
type: Input
|
|
133
|
-
}], filled: [{
|
|
134
|
-
type: Input
|
|
135
|
-
}], ariaLabel: [{
|
|
136
|
-
type: Input,
|
|
137
|
-
args: ['aria-label']
|
|
138
|
-
}], ariaDescribedby: [{
|
|
139
|
-
type: Input,
|
|
140
|
-
args: ['aria-describedby']
|
|
141
|
-
}], ariaLabelledby: [{
|
|
142
|
-
type: Input,
|
|
143
|
-
args: ['aria-labelledby']
|
|
144
|
-
}], name: [{
|
|
145
|
-
type: Input
|
|
146
|
-
}], required: [{
|
|
147
|
-
type: Input
|
|
148
|
-
}], tabIndex: [{
|
|
149
|
-
type: Input
|
|
150
|
-
}], checked: [{
|
|
151
|
-
type: Input
|
|
152
|
-
}], nasFormControlName: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], nasFormGroup: [{
|
|
155
|
-
type: Input
|
|
156
|
-
}], checkedChange: [{
|
|
157
|
-
type: Output
|
|
158
|
-
}], focusOn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
|
-
import { CheckboxComponent } from './checkbox.component';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class CheckboxModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [CommonModule, FormsModule, NasClassModule, ReactiveFormsModule], exports: [CheckboxComponent] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, imports: [CommonModule, FormsModule, NasClassModule, ReactiveFormsModule] }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
declarations: [CheckboxComponent],
|
|
16
|
-
imports: [CommonModule, FormsModule, NasClassModule, ReactiveFormsModule],
|
|
17
|
-
exports: [CheckboxComponent],
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jaGVja2JveC9jaGVja2J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O1xuaW1wb3J0IHsgTmFzQ2xhc3NNb2R1bGUgfSBmcm9tICcuLi8uLi9jb3JlL2RpcmVjdGl2ZXMvbmFzLWNsYXNzL25hcy1jbGFzcy5tb2R1bGUnO1xuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQ2hlY2tib3hDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBGb3Jtc01vZHVsZSwgTmFzQ2xhc3NNb2R1bGUsIFJlYWN0aXZlRm9ybXNNb2R1bGVdLFxuICBleHBvcnRzOiBbQ2hlY2tib3hDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBDaGVja2JveE1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './checkbox.component';
|
|
2
|
-
export * from './checkbox.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NoZWNrYm94L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2hlY2tib3guY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY2hlY2tib3gubW9kdWxlJztcbiJdfQ==
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { Component, Input } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
|
-
import * as i2 from "../../core/directives/nas-class/nas-class.directive";
|
|
10
|
-
/**
|
|
11
|
-
* @description
|
|
12
|
-
* Norwegian Chip Component | Buttons and Indicators | Depricated
|
|
13
|
-
*/
|
|
14
|
-
export class ChipComponent extends NasComponentBase {
|
|
15
|
-
constructor() {
|
|
16
|
-
super('nas-chip');
|
|
17
|
-
/**
|
|
18
|
-
* @property Input
|
|
19
|
-
* @description
|
|
20
|
-
* Property to set custom styling on button.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* <nas-chip [cssStyle]="{'width': '300px', 'height': '40px'}"></nas-chip>
|
|
24
|
-
*/
|
|
25
|
-
this.cssStyle = {};
|
|
26
|
-
}
|
|
27
|
-
getChipClass() {
|
|
28
|
-
return this.getClass('', [
|
|
29
|
-
this.exists(this.approve) && 'approve',
|
|
30
|
-
this.exists(this.primary) && 'primary'
|
|
31
|
-
]);
|
|
32
|
-
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ChipComponent, selector: "nas-chip", inputs: { primary: "primary", approve: "approve", cssStyle: "cssStyle", small: "small" }, usesInheritance: true, ngImport: i0, template: "<small *ngIf=\"exists(small); else defaultChip\" [nasClass]=\"getChipClass()\" [ngStyle]=\"cssStyle\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</small>\n\n<ng-template #defaultChip>\n <span [nasClass]=\"getChipClass()\" [ngStyle]=\"cssStyle\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-chip{padding:0 6px 1px;border-radius:3px;white-space:nowrap;background-color:#fff}.nas-chip--approve{background-color:#238e00;color:#fff}.nas-chip--primary{background-color:#e5212d;color:#fff}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }] }); }
|
|
35
|
-
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipComponent, decorators: [{
|
|
37
|
-
type: Component,
|
|
38
|
-
args: [{ selector: 'nas-chip', template: "<small *ngIf=\"exists(small); else defaultChip\" [nasClass]=\"getChipClass()\" [ngStyle]=\"cssStyle\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</small>\n\n<ng-template #defaultChip>\n <span [nasClass]=\"getChipClass()\" [ngStyle]=\"cssStyle\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-chip{padding:0 6px 1px;border-radius:3px;white-space:nowrap;background-color:#fff}.nas-chip--approve{background-color:#238e00;color:#fff}.nas-chip--primary{background-color:#e5212d;color:#fff}\n"] }]
|
|
39
|
-
}], ctorParameters: function () { return []; }, propDecorators: { primary: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], approve: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], cssStyle: [{
|
|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mJiAnYXBwcm92ZScsXG4gICAgICB0aGlzLmV4aXN0cyh0aGlzLnByaW1hcnkpICYmICdwcmltYXJ5J1xuICAgIF0pO1xuICB9XG5cbn1cbiIsIjxzbWFsbCAqbmdJZj1cImV4aXN0cyhzbWFsbCk7IGVsc2UgZGVmYXVsdENoaXBcIiBbbmFzQ2xhc3NdPVwiZ2V0Q2hpcENsYXNzKClcIiBbbmdTdHlsZV09XCJjc3NTdHlsZVwiPlxuICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiY29udGVudFwiPjwvbmctY29udGFpbmVyPlxuPC9zbWFsbD5cblxuPG5nLXRlbXBsYXRlICNkZWZhdWx0Q2hpcD5cbiAgPHNwYW4gW25hc0NsYXNzXT1cImdldENoaXBDbGFzcygpXCIgW25nU3R5bGVdPVwiY3NzU3R5bGVcIj5cbiAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiY29udGVudFwiPjwvbmctY29udGFpbmVyPlxuICA8L3NwYW4+XG48L25nLXRlbXBsYXRlPlxuXG48bmctdGVtcGxhdGUgI2NvbnRlbnQ+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ChipComponent } from './chip.component';
|
|
4
|
-
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class ChipModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, declarations: [ChipComponent], imports: [CommonModule, NasClassModule], exports: [ChipComponent] }); }
|
|
9
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, imports: [CommonModule, NasClassModule] }); }
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
declarations: [ChipComponent],
|
|
15
|
-
imports: [CommonModule, NasClassModule],
|
|
16
|
-
exports: [ChipComponent],
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NoaXAvY2hpcC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxrREFBa0QsQ0FBQzs7QUFPbEYsTUFBTSxPQUFPLFVBQVU7K0dBQVYsVUFBVTtnSEFBVixVQUFVLGlCQUpOLGFBQWEsYUFDbEIsWUFBWSxFQUFFLGNBQWMsYUFDNUIsYUFBYTtnSEFFWixVQUFVLFlBSFgsWUFBWSxFQUFFLGNBQWM7OzRGQUczQixVQUFVO2tCQUx0QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLGFBQWEsQ0FBQztvQkFDN0IsT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLGNBQWMsQ0FBQztvQkFDdkMsT0FBTyxFQUFFLENBQUMsYUFBYSxDQUFDO2lCQUN6QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuXG5pbXBvcnQgeyBDaGlwQ29tcG9uZW50IH0gZnJvbSAnLi9jaGlwLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBOYXNDbGFzc01vZHVsZSB9IGZyb20gJy4uLy4uL2NvcmUvZGlyZWN0aXZlcy9uYXMtY2xhc3MvbmFzLWNsYXNzLm1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0NoaXBDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBOYXNDbGFzc01vZHVsZV0sXG4gIGV4cG9ydHM6IFtDaGlwQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQ2hpcE1vZHVsZSB7fVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './chip.component';
|
|
2
|
-
export * from './chip.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NoaXAvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2hpcC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jaGlwLm1vZHVsZSc7XG4iXX0=
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../core/directives/nas-class/nas-class.directive";
|
|
9
|
-
/**
|
|
10
|
-
* @description
|
|
11
|
-
* Norwegian Container Component | Layout
|
|
12
|
-
*/
|
|
13
|
-
export class ContainerComponent extends NasComponentBase {
|
|
14
|
-
/**
|
|
15
|
-
* Represent a container component.
|
|
16
|
-
* Will initiate correct block style.
|
|
17
|
-
*/
|
|
18
|
-
constructor() {
|
|
19
|
-
super('nas-container');
|
|
20
|
-
}
|
|
21
|
-
getModifiers() {
|
|
22
|
-
return [
|
|
23
|
-
this.exists(this.columns) && 'columns',
|
|
24
|
-
this.exists(this.spaceless) && 'spaceless',
|
|
25
|
-
this.exists(this.centered) && 'centered',
|
|
26
|
-
this.exists(this.full) && 'full',
|
|
27
|
-
this.exists(this.medium) && 'medium',
|
|
28
|
-
this.exists(this.tight) && 'tight',
|
|
29
|
-
];
|
|
30
|
-
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContainerComponent, selector: "nas-container", inputs: { columns: "columns", spaceless: "spaceless", centered: "centered", full: "full", medium: "medium", tight: "tight" }, usesInheritance: true, ngImport: i0, template: "<section [nasClass]=\"getClass('', getModifiers())\">\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-container{max-width:1180px;padding-left:12px;padding-right:12px;margin:0 auto}@media (min-width: 1000px){.nas-container{padding-left:24px;padding-right:24px}}.nas-container--wide{max-width:1600px}.nas-container--medium{max-width:820px}.nas-container--tight{max-width:600px}.nas-container--full{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;max-width:none;padding-left:0;padding-right:0}.nas-container--columns{display:flex;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:100%}.nas-container--centered{text-align:center}.nas-container .nas-container{padding-left:0;padding-right:0}.nas-container--spaceless{padding:0}\n"], dependencies: [{ kind: "directive", type: i1.NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
35
|
-
type: Component,
|
|
36
|
-
args: [{ selector: 'nas-container', encapsulation: ViewEncapsulation.None, template: "<section [nasClass]=\"getClass('', getModifiers())\">\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fade-in{0%{opacity:0}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-out{to{opacity:0}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-container{max-width:1180px;padding-left:12px;padding-right:12px;margin:0 auto}@media (min-width: 1000px){.nas-container{padding-left:24px;padding-right:24px}}.nas-container--wide{max-width:1600px}.nas-container--medium{max-width:820px}.nas-container--tight{max-width:600px}.nas-container--full{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;max-width:none;padding-left:0;padding-right:0}.nas-container--columns{display:flex;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:100%}.nas-container--centered{text-align:center}.nas-container .nas-container{padding-left:0;padding-right:0}.nas-container--spaceless{padding:0}\n"] }]
|
|
37
|
-
}], ctorParameters: function () { return []; }, propDecorators: { columns: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}], spaceless: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], centered: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], full: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], medium: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], tight: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY29udGFpbmVyL2NvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbnRhaW5lci9jb250YWluZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBRUgsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sWUFBWSxDQUFDOzs7QUFFOUM7OztHQUdHO0FBT0gsTUFBTSxPQUFPLGtCQUFtQixTQUFRLGdCQUFnQjtJQXNDdEQ7OztPQUdHO0lBQ0g7UUFDRSxLQUFLLENBQUMsZUFBZSxDQUFDLENBQUM7SUFDekIsQ0FBQztJQUVELFlBQVk7UUFDVixPQUFPO1lBQ0wsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksU0FBUztZQUN0QyxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxTQ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
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ContainerComponent } from './container.component';
|
|
4
|
-
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class ContainerModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ContainerModule, declarations: [ContainerComponent], imports: [CommonModule, NasClassModule], exports: [ContainerComponent] }); }
|
|
9
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContainerModule, imports: [CommonModule, NasClassModule] }); }
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContainerModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
declarations: [ContainerComponent],
|
|
15
|
-
imports: [CommonModule, NasClassModule],
|
|
16
|
-
exports: [ContainerComponent],
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFpbmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY29udGFpbmVyL2NvbnRhaW5lci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBUyxNQUFNLGVBQWUsQ0F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haW5lckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIENvbnRhaW5lck1vZHVsZSB7fVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './container.component';
|
|
2
|
-
export * from './container.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbnRhaW5lci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbnRhaW5lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jb250YWluZXIubW9kdWxlJztcbiJdfQ==
|