@norwegian/core-components 5.18.0 → 5.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/accordion/accordion.component.mjs +148 -0
- package/esm2020/lib/components/accordion/accordion.module.mjs +20 -0
- package/esm2020/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +610 -0
- package/esm2020/lib/components/airport-select/airport-select.component.mjs +438 -0
- package/esm2020/lib/components/airport-select/airport-select.module.mjs +42 -0
- package/esm2020/lib/components/airport-select/services/airport-select-dropdown.service.mjs +35 -0
- package/esm2020/lib/components/airport-select/services/airport-select.service.mjs +38 -0
- package/esm2020/lib/components/autocomplete/autocomplete.component.mjs +287 -0
- package/esm2020/lib/components/autocomplete/autocomplete.module.mjs +43 -0
- package/esm2020/lib/components/backdrop/backdrop.component.mjs +56 -0
- package/esm2020/lib/components/backdrop/backdrop.module.mjs +24 -0
- package/esm2020/lib/components/box/box.component.mjs +68 -0
- package/esm2020/lib/components/box/box.module.mjs +19 -0
- package/esm2020/lib/components/button/button.component.mjs +167 -0
- package/esm2020/lib/components/button/button.module.mjs +20 -0
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +148 -0
- package/esm2020/lib/components/checkbox/checkbox.module.mjs +20 -0
- package/esm2020/lib/components/chip/chip.component.mjs +53 -0
- package/esm2020/lib/components/chip/chip.module.mjs +24 -0
- package/esm2020/lib/components/container/container.component.mjs +50 -0
- package/esm2020/lib/components/container/container.module.mjs +19 -0
- package/esm2020/lib/components/continue/continue.component.mjs +194 -0
- package/esm2020/lib/components/continue/continue.module.mjs +34 -0
- package/esm2020/lib/components/cover/cover.component.mjs +75 -0
- package/esm2020/lib/components/cover/cover.module.mjs +21 -0
- package/esm2020/lib/components/datepicker/calendar/calendar.component.mjs +583 -0
- package/esm2020/lib/components/datepicker/datepicker.component.mjs +550 -0
- package/esm2020/lib/components/datepicker/datepicker.module.mjs +55 -0
- package/esm2020/lib/components/datepicker/services/calendar.service.mjs +213 -0
- package/esm2020/lib/components/datepicker-combo/datepicker-combo.component.mjs +355 -0
- package/esm2020/lib/components/datepicker-combo/datepicker-combo.module.mjs +31 -0
- package/esm2020/lib/components/divider/divider.component.mjs +61 -0
- package/esm2020/lib/components/divider/divider.module.mjs +20 -0
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +169 -0
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +32 -0
- package/esm2020/lib/components/filter/filter.component.mjs +1253 -0
- package/esm2020/lib/components/filter/filter.module.mjs +73 -0
- package/esm2020/lib/components/grid/col/col.component.mjs +49 -0
- package/esm2020/lib/components/grid/grid.component.mjs +72 -0
- package/esm2020/lib/components/grid/grid.module.mjs +20 -0
- package/esm2020/lib/components/icon/icon.component.mjs +44 -0
- package/esm2020/lib/components/icon/icon.module.mjs +24 -0
- package/esm2020/lib/components/icon-list/icon-list.component.mjs +50 -0
- package/esm2020/lib/components/icon-list/icon-list.module.mjs +20 -0
- package/esm2020/lib/components/info/info.component.mjs +106 -0
- package/esm2020/lib/components/info/info.module.mjs +36 -0
- package/esm2020/lib/components/input/input.component.mjs +179 -0
- package/esm2020/lib/components/input/input.module.mjs +21 -0
- package/esm2020/lib/components/journey/journey.component.mjs +126 -0
- package/esm2020/lib/components/journey/journey.module.mjs +28 -0
- package/esm2020/lib/components/journey-availability/journey-availability.component.mjs +126 -0
- package/esm2020/lib/components/journey-availability/journey-availability.module.mjs +39 -0
- package/esm2020/lib/components/journey-availability-list/journey-availability-list.component.mjs +185 -0
- package/{esm2015/lib/components/journey-availability-list/journey-availability-list.module.js → esm2020/lib/components/journey-availability-list/journey-availability-list.module.mjs} +27 -14
- package/esm2020/lib/components/journey-selection/journey-selection.component.mjs +112 -0
- package/esm2020/lib/components/journey-selection/journey-selection.module.mjs +35 -0
- package/esm2020/lib/components/journey-stopover/journey-stopover.component.mjs +125 -0
- package/esm2020/lib/components/journey-stopover/journey-stopover.module.mjs +28 -0
- package/esm2020/lib/components/list/list-item/list-item.component.mjs +52 -0
- package/esm2020/lib/components/list/list.component.mjs +78 -0
- package/esm2020/lib/components/list/list.module.mjs +20 -0
- package/esm2020/lib/components/modal/modal.component.mjs +141 -0
- package/esm2020/lib/components/modal/modal.module.mjs +38 -0
- package/esm2020/lib/components/number-field/number-field.component.mjs +135 -0
- package/esm2020/lib/components/number-field/number-field.module.mjs +39 -0
- package/esm2020/lib/components/page-footer/page-footer.component.mjs +54 -0
- package/esm2020/lib/components/page-footer/page-footer.module.mjs +21 -0
- package/esm2020/lib/components/page-header/hamburger/hamburger.component.mjs +22 -0
- package/esm2020/lib/components/page-header/page-header.component.mjs +142 -0
- package/esm2020/lib/components/page-header/page-header.module.mjs +23 -0
- package/esm2020/lib/components/page-header/search/search.component.mjs +49 -0
- package/{esm2015/lib/components/passenger-select/models/passengers.model.js → esm2020/lib/components/passenger-select/models/passengers.model.mjs} +1 -1
- package/esm2020/lib/components/passenger-select/passenger-select.component.mjs +225 -0
- package/esm2020/lib/components/passenger-select/passenger-select.module.mjs +28 -0
- package/esm2020/lib/components/phone-number/phone-number.component.mjs +148 -0
- package/esm2020/lib/components/phone-number/phone-number.module.mjs +44 -0
- package/esm2020/lib/components/premium-toggle/premium-toggle.component.mjs +69 -0
- package/esm2020/lib/components/premium-toggle/premium-toggle.module.mjs +28 -0
- package/esm2020/lib/components/radio/radio.component.mjs +98 -0
- package/esm2020/lib/components/radio/radio.module.mjs +20 -0
- package/esm2020/lib/components/select/optgroup/optgroup.component.mjs +29 -0
- package/esm2020/lib/components/select/option/option.component.mjs +26 -0
- package/esm2020/lib/components/select/select.component.mjs +354 -0
- package/esm2020/lib/components/select/select.module.mjs +30 -0
- package/esm2020/lib/components/simple-list/simple-list.component.mjs +48 -0
- package/esm2020/lib/components/simple-list/simple-list.module.mjs +19 -0
- package/esm2020/lib/components/slide-toggle/slide-toggle.component.mjs +111 -0
- package/esm2020/lib/components/slide-toggle/slide-toggle.module.mjs +31 -0
- package/esm2020/lib/components/slider/slider.component.mjs +501 -0
- package/esm2020/lib/components/slider/slider.module.mjs +28 -0
- package/esm2020/lib/components/sort/sort.component.mjs +93 -0
- package/esm2020/lib/components/sort/sort.module.mjs +36 -0
- package/esm2020/lib/components/spinner/spinner.component.mjs +112 -0
- package/esm2020/lib/components/spinner/spinner.module.mjs +19 -0
- package/esm2020/lib/components/subsidy-discount/subsidy-discount.component.mjs +110 -0
- package/esm2020/lib/components/subsidy-discount/subsidy-discount.module.mjs +36 -0
- package/esm2020/lib/components/suggestions/suggestions.component.mjs +43 -0
- package/esm2020/lib/components/suggestions/suggestions.module.mjs +28 -0
- package/esm2020/lib/components/tab-group/tab/tab.component.mjs +131 -0
- package/esm2020/lib/components/tab-group/tab-group.component.mjs +87 -0
- package/esm2020/lib/components/tab-group/tab-group.module.mjs +29 -0
- package/esm2020/lib/components/table/column/column.component.mjs +16 -0
- package/esm2020/lib/components/table/column-group/column-group.component.mjs +30 -0
- package/esm2020/lib/components/table/services/table.service.mjs +21 -0
- package/esm2020/lib/components/table/table-body/table-body.component.mjs +23 -0
- package/esm2020/lib/components/table/table-foot/table-foot.component.mjs +23 -0
- package/esm2020/lib/components/table/table-head/table-head.component.mjs +23 -0
- package/esm2020/lib/components/table/table-row/table-data/table-data.component.mjs +15 -0
- package/esm2020/lib/components/table/table-row/table-header/table-header.component.mjs +15 -0
- package/esm2020/lib/components/table/table-row/table-row.component.mjs +23 -0
- package/esm2020/lib/components/table/table.component.mjs +29 -0
- package/esm2020/lib/components/table/table.module.mjs +68 -0
- package/esm2020/lib/components/textarea/textarea.component.mjs +93 -0
- package/esm2020/lib/components/textarea/textarea.module.mjs +31 -0
- package/esm2020/lib/components/toggle/toggle.component.mjs +103 -0
- package/esm2020/lib/components/toggle/toggle.module.mjs +35 -0
- package/esm2020/lib/components/trip-summary/trip-summary.component.mjs +170 -0
- package/esm2020/lib/components/trip-summary/trip-summary.module.mjs +36 -0
- package/esm2020/lib/components/weather-icon/weather-icon.component.mjs +60 -0
- package/esm2020/lib/components/weather-icon/weather-icon.module.mjs +19 -0
- package/esm2020/lib/core/base/nas-component.base.mjs +47 -0
- package/esm2020/lib/core/directives/nas-class/nas-class.directive.mjs +80 -0
- package/esm2020/lib/core/directives/nas-class/nas-class.module.mjs +22 -0
- package/{esm2015/lib/core/extensions/html-element.extension.js → esm2020/lib/core/extensions/html-element.extension.mjs} +1 -1
- package/esm2020/lib/core/services/abandoned-basket/abandoned-basket.service.mjs +58 -0
- package/esm2020/lib/core/services/animate-helper/animate-helper.service.mjs +49 -0
- package/esm2020/lib/core/services/bem-helper/bem-helper.service.mjs +44 -0
- package/esm2020/lib/core/services/date/date-helper.service.mjs +199 -0
- package/esm2020/lib/core/services/device/device-helper.service.mjs +46 -0
- package/esm2020/lib/core/services/geolocation/geolocation.service.mjs +63 -0
- package/esm2020/lib/core/services/language/language-helper.service.mjs +129 -0
- package/esm2020/lib/core/services/sort/sort.service.mjs +22 -0
- package/esm2020/lib/core/services/viewport/viewport.service.mjs +32 -0
- package/esm2020/lib/services/get-position.service.mjs +23 -0
- package/esm2020/norwegian-core-components.mjs +5 -0
- package/fesm2015/norwegian-core-components.mjs +11843 -0
- package/fesm2015/norwegian-core-components.mjs.map +1 -0
- package/fesm2020/norwegian-core-components.mjs +11829 -0
- package/fesm2020/norwegian-core-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/accordion/accordion.component.d.ts +3 -0
- package/lib/components/accordion/accordion.module.d.ts +8 -0
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +5 -2
- package/lib/components/airport-select/airport-select.component.d.ts +5 -2
- package/lib/components/airport-select/airport-select.module.d.ts +11 -0
- package/lib/components/airport-select/services/airport-select-dropdown.service.d.ts +3 -0
- package/lib/components/airport-select/services/airport-select.service.d.ts +3 -0
- package/lib/components/autocomplete/autocomplete.component.d.ts +5 -2
- package/lib/components/autocomplete/autocomplete.module.d.ts +11 -0
- package/lib/components/backdrop/backdrop.component.d.ts +3 -0
- package/lib/components/backdrop/backdrop.module.d.ts +7 -0
- package/lib/components/box/box.component.d.ts +3 -4
- package/lib/components/box/box.module.d.ts +7 -0
- package/lib/components/button/button.component.d.ts +3 -0
- package/lib/components/button/button.module.d.ts +8 -0
- package/lib/components/checkbox/checkbox.component.d.ts +5 -2
- package/lib/components/checkbox/checkbox.module.d.ts +8 -0
- package/lib/components/chip/chip.component.d.ts +3 -0
- package/lib/components/chip/chip.module.d.ts +7 -0
- package/lib/components/container/container.component.d.ts +3 -4
- package/lib/components/container/container.module.d.ts +7 -0
- package/lib/components/continue/continue.component.d.ts +3 -0
- package/lib/components/continue/continue.module.d.ts +9 -0
- package/lib/components/cover/cover.component.d.ts +3 -0
- package/lib/components/cover/cover.module.d.ts +9 -0
- package/lib/components/datepicker/calendar/calendar.component.d.ts +5 -2
- package/lib/components/datepicker/datepicker.component.d.ts +5 -2
- package/lib/components/datepicker/datepicker.module.d.ts +14 -0
- package/lib/components/datepicker/services/calendar.service.d.ts +3 -0
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +3 -0
- package/lib/components/datepicker-combo/datepicker-combo.module.d.ts +8 -0
- package/lib/components/divider/divider.component.d.ts +3 -4
- package/lib/components/divider/divider.module.d.ts +8 -0
- package/lib/components/dropdown/dropdown.component.d.ts +3 -0
- package/lib/components/dropdown/dropdown.module.d.ts +9 -0
- package/lib/components/filter/filter.component.d.ts +5 -2
- package/lib/components/filter/filter.module.d.ts +18 -0
- package/lib/components/grid/col/col.component.d.ts +4 -1
- package/lib/components/grid/grid.component.d.ts +3 -4
- package/lib/components/grid/grid.module.d.ts +8 -0
- package/lib/components/icon/icon.component.d.ts +3 -4
- package/lib/components/icon/icon.module.d.ts +7 -0
- package/lib/components/icon-list/icon-list.component.d.ts +3 -0
- package/lib/components/icon-list/icon-list.module.d.ts +8 -0
- package/lib/components/info/info.component.d.ts +3 -0
- package/lib/components/info/info.module.d.ts +10 -0
- package/lib/components/input/input.component.d.ts +5 -2
- package/lib/components/input/input.module.d.ts +9 -0
- package/lib/components/journey/journey.component.d.ts +3 -0
- package/lib/components/journey/journey.module.d.ts +8 -0
- package/lib/components/journey-availability/journey-availability.component.d.ts +3 -0
- package/lib/components/journey-availability/journey-availability.module.d.ts +10 -0
- package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +3 -0
- package/lib/components/journey-availability-list/journey-availability-list.module.d.ts +10 -0
- package/lib/components/journey-selection/journey-selection.component.d.ts +3 -0
- package/lib/components/journey-selection/journey-selection.module.d.ts +9 -0
- package/lib/components/journey-stopover/journey-stopover.component.d.ts +3 -0
- package/lib/components/journey-stopover/journey-stopover.module.d.ts +8 -0
- package/lib/components/list/list-item/list-item.component.d.ts +3 -0
- package/lib/components/list/list.component.d.ts +4 -1
- package/lib/components/list/list.module.d.ts +8 -0
- package/lib/components/modal/modal.component.d.ts +3 -0
- package/lib/components/modal/modal.module.d.ts +10 -0
- package/lib/components/number-field/number-field.component.d.ts +5 -2
- package/lib/components/number-field/number-field.module.d.ts +10 -0
- package/lib/components/page-footer/page-footer.component.d.ts +3 -0
- package/lib/components/page-footer/page-footer.module.d.ts +9 -0
- package/lib/components/page-header/hamburger/hamburger.component.d.ts +3 -0
- package/lib/components/page-header/page-header.component.d.ts +3 -0
- package/lib/components/page-header/page-header.module.d.ts +11 -0
- package/lib/components/page-header/search/search.component.d.ts +3 -0
- package/lib/components/passenger-select/models/passengers.model.d.ts +2 -2
- package/lib/components/passenger-select/passenger-select.component.d.ts +5 -2
- package/lib/components/passenger-select/passenger-select.module.d.ts +8 -0
- package/lib/components/phone-number/phone-number.component.d.ts +5 -2
- package/lib/components/phone-number/phone-number.module.d.ts +11 -0
- package/lib/components/premium-toggle/premium-toggle.component.d.ts +3 -0
- package/lib/components/premium-toggle/premium-toggle.module.d.ts +8 -0
- package/lib/components/radio/radio.component.d.ts +5 -2
- package/lib/components/radio/radio.module.d.ts +8 -0
- package/lib/components/select/optgroup/optgroup.component.d.ts +3 -0
- package/lib/components/select/option/option.component.d.ts +3 -0
- package/lib/components/select/select.component.d.ts +6 -3
- package/lib/components/select/select.module.d.ts +10 -0
- package/lib/components/simple-list/simple-list.component.d.ts +4 -1
- package/lib/components/simple-list/simple-list.module.d.ts +7 -0
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +5 -2
- package/lib/components/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/components/slider/slider.component.d.ts +5 -2
- package/lib/components/slider/slider.module.d.ts +8 -0
- package/lib/components/sort/sort.component.d.ts +3 -0
- package/lib/components/sort/sort.module.d.ts +10 -0
- package/lib/components/spinner/spinner.component.d.ts +11 -4
- package/lib/components/spinner/spinner.module.d.ts +7 -0
- package/lib/components/subsidy-discount/subsidy-discount.component.d.ts +3 -0
- package/lib/components/subsidy-discount/subsidy-discount.module.d.ts +10 -0
- package/lib/components/suggestions/suggestions.component.d.ts +3 -0
- package/lib/components/suggestions/suggestions.module.d.ts +8 -0
- package/lib/components/tab-group/tab/tab.component.d.ts +3 -0
- package/lib/components/tab-group/tab-group.component.d.ts +3 -0
- package/lib/components/tab-group/tab-group.module.d.ts +9 -0
- package/lib/components/table/column/column.component.d.ts +3 -0
- package/lib/components/table/column-group/column-group.component.d.ts +3 -0
- package/lib/components/table/services/table.service.d.ts +3 -0
- package/lib/components/table/table-body/table-body.component.d.ts +3 -0
- package/lib/components/table/table-foot/table-foot.component.d.ts +3 -0
- package/lib/components/table/table-head/table-head.component.d.ts +3 -0
- package/lib/components/table/table-row/table-data/table-data.component.d.ts +3 -0
- package/lib/components/table/table-row/table-header/table-header.component.d.ts +3 -0
- package/lib/components/table/table-row/table-row.component.d.ts +3 -0
- package/lib/components/table/table.component.d.ts +3 -0
- package/lib/components/table/table.module.d.ts +15 -0
- package/lib/components/textarea/textarea.component.d.ts +5 -2
- package/lib/components/textarea/textarea.module.d.ts +8 -0
- package/lib/components/toggle/toggle.component.d.ts +6 -3
- package/lib/components/toggle/toggle.module.d.ts +9 -0
- package/lib/components/trip-summary/trip-summary.component.d.ts +3 -0
- package/lib/components/trip-summary/trip-summary.module.d.ts +10 -0
- package/lib/components/weather-icon/weather-icon.component.d.ts +3 -0
- package/lib/components/weather-icon/weather-icon.module.d.ts +7 -0
- package/lib/core/directives/nas-class/nas-class.directive.d.ts +3 -0
- package/lib/core/directives/nas-class/nas-class.module.d.ts +6 -0
- package/lib/core/services/abandoned-basket/abandoned-basket.service.d.ts +3 -0
- package/lib/core/services/animate-helper/animate-helper.service.d.ts +3 -0
- package/lib/core/services/bem-helper/bem-helper.service.d.ts +3 -0
- package/lib/core/services/date/date-helper.service.d.ts +3 -0
- package/lib/core/services/device/device-helper.service.d.ts +3 -0
- package/lib/core/services/geolocation/geolocation.service.d.ts +3 -0
- package/lib/core/services/language/language-helper.service.d.ts +3 -0
- package/lib/core/services/sort/sort.service.d.ts +3 -0
- package/lib/core/services/viewport/viewport.service.d.ts +3 -0
- package/lib/services/get-position.service.d.ts +3 -0
- package/package.json +21 -9
- package/bundles/norwegian-core-components.umd.js +0 -12174
- package/bundles/norwegian-core-components.umd.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion.component.js +0 -130
- package/esm2015/lib/components/accordion/accordion.module.js +0 -15
- package/esm2015/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.js +0 -583
- package/esm2015/lib/components/airport-select/airport-select.component.js +0 -400
- package/esm2015/lib/components/airport-select/airport-select.module.js +0 -27
- package/esm2015/lib/components/airport-select/services/airport-select-dropdown.service.js +0 -34
- package/esm2015/lib/components/airport-select/services/airport-select.service.js +0 -37
- package/esm2015/lib/components/autocomplete/autocomplete.component.js +0 -265
- package/esm2015/lib/components/autocomplete/autocomplete.module.js +0 -26
- package/esm2015/lib/components/backdrop/backdrop.component.js +0 -54
- package/esm2015/lib/components/backdrop/backdrop.module.js +0 -17
- package/esm2015/lib/components/box/box.component.js +0 -61
- package/esm2015/lib/components/box/box.module.js +0 -14
- package/esm2015/lib/components/button/button.component.js +0 -140
- package/esm2015/lib/components/button/button.module.js +0 -15
- package/esm2015/lib/components/checkbox/checkbox.component.js +0 -127
- package/esm2015/lib/components/checkbox/checkbox.module.js +0 -15
- package/esm2015/lib/components/chip/chip.component.js +0 -50
- package/esm2015/lib/components/chip/chip.module.js +0 -17
- package/esm2015/lib/components/container/container.component.js +0 -47
- package/esm2015/lib/components/container/container.module.js +0 -14
- package/esm2015/lib/components/continue/continue.component.js +0 -173
- package/esm2015/lib/components/continue/continue.module.js +0 -23
- package/esm2015/lib/components/cover/cover.component.js +0 -61
- package/esm2015/lib/components/cover/cover.module.js +0 -16
- package/esm2015/lib/components/datepicker/calendar/calendar.component.js +0 -560
- package/esm2015/lib/components/datepicker/datepicker.component.js +0 -515
- package/esm2015/lib/components/datepicker/datepicker.module.js +0 -34
- package/esm2015/lib/components/datepicker/services/calendar.service.js +0 -217
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.component.js +0 -317
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.module.js +0 -22
- package/esm2015/lib/components/divider/divider.component.js +0 -53
- package/esm2015/lib/components/divider/divider.module.js +0 -15
- package/esm2015/lib/components/dropdown/dropdown.component.js +0 -150
- package/esm2015/lib/components/dropdown/dropdown.module.js +0 -21
- package/esm2015/lib/components/filter/filter.component.js +0 -1122
- package/esm2015/lib/components/filter/filter.module.js +0 -44
- package/esm2015/lib/components/grid/col/col.component.js +0 -49
- package/esm2015/lib/components/grid/grid.component.js +0 -63
- package/esm2015/lib/components/grid/grid.module.js +0 -15
- package/esm2015/lib/components/icon/icon.component.js +0 -42
- package/esm2015/lib/components/icon/icon.module.js +0 -17
- package/esm2015/lib/components/icon-list/icon-list.component.js +0 -46
- package/esm2015/lib/components/icon-list/icon-list.module.js +0 -15
- package/esm2015/lib/components/info/info.component.js +0 -94
- package/esm2015/lib/components/info/info.module.js +0 -23
- package/esm2015/lib/components/input/input.component.js +0 -148
- package/esm2015/lib/components/input/input.module.js +0 -16
- package/esm2015/lib/components/journey/journey.component.js +0 -122
- package/esm2015/lib/components/journey/journey.module.js +0 -19
- package/esm2015/lib/components/journey-availability/journey-availability.component.js +0 -125
- package/esm2015/lib/components/journey-availability/journey-availability.module.js +0 -26
- package/esm2015/lib/components/journey-availability-list/journey-availability-list.component.js +0 -175
- package/esm2015/lib/components/journey-selection/journey-selection.component.js +0 -110
- package/esm2015/lib/components/journey-selection/journey-selection.module.js +0 -24
- package/esm2015/lib/components/journey-stopover/journey-stopover.component.js +0 -121
- package/esm2015/lib/components/journey-stopover/journey-stopover.module.js +0 -19
- package/esm2015/lib/components/list/list-item/list-item.component.js +0 -56
- package/esm2015/lib/components/list/list.component.js +0 -75
- package/esm2015/lib/components/list/list.module.js +0 -15
- package/esm2015/lib/components/modal/modal.component.js +0 -131
- package/esm2015/lib/components/modal/modal.module.js +0 -25
- package/esm2015/lib/components/number-field/number-field.component.js +0 -118
- package/esm2015/lib/components/number-field/number-field.module.js +0 -24
- package/esm2015/lib/components/page-footer/page-footer.component.js +0 -49
- package/esm2015/lib/components/page-footer/page-footer.module.js +0 -16
- package/esm2015/lib/components/page-header/hamburger/hamburger.component.js +0 -24
- package/esm2015/lib/components/page-header/page-header.component.js +0 -126
- package/esm2015/lib/components/page-header/page-header.module.js +0 -18
- package/esm2015/lib/components/page-header/search/search.component.js +0 -47
- package/esm2015/lib/components/passenger-select/passenger-select.component.js +0 -207
- package/esm2015/lib/components/passenger-select/passenger-select.module.js +0 -19
- package/esm2015/lib/components/phone-number/phone-number.component.js +0 -115
- package/esm2015/lib/components/phone-number/phone-number.module.js +0 -27
- package/esm2015/lib/components/premium-toggle/premium-toggle.component.js +0 -66
- package/esm2015/lib/components/premium-toggle/premium-toggle.module.js +0 -19
- package/esm2015/lib/components/radio/radio.component.js +0 -79
- package/esm2015/lib/components/radio/radio.module.js +0 -15
- package/esm2015/lib/components/select/optgroup/optgroup.component.js +0 -31
- package/esm2015/lib/components/select/option/option.component.js +0 -29
- package/esm2015/lib/components/select/select.component.js +0 -325
- package/esm2015/lib/components/select/select.module.js +0 -21
- package/esm2015/lib/components/simple-list/simple-list.component.js +0 -42
- package/esm2015/lib/components/simple-list/simple-list.module.js +0 -14
- package/esm2015/lib/components/slide-toggle/slide-toggle.component.js +0 -105
- package/esm2015/lib/components/slide-toggle/slide-toggle.module.js +0 -20
- package/esm2015/lib/components/slider/slider.component.js +0 -475
- package/esm2015/lib/components/slider/slider.module.js +0 -19
- package/esm2015/lib/components/sort/sort.component.js +0 -87
- package/esm2015/lib/components/sort/sort.module.js +0 -23
- package/esm2015/lib/components/spinner/spinner.component.js +0 -84
- package/esm2015/lib/components/spinner/spinner.module.js +0 -14
- package/esm2015/lib/components/subsidy-discount/subsidy-discount.component.js +0 -101
- package/esm2015/lib/components/subsidy-discount/subsidy-discount.module.js +0 -23
- package/esm2015/lib/components/suggestions/suggestions.component.js +0 -40
- package/esm2015/lib/components/suggestions/suggestions.module.js +0 -19
- package/esm2015/lib/components/tab-group/tab/tab.component.js +0 -123
- package/esm2015/lib/components/tab-group/tab-group.component.js +0 -85
- package/esm2015/lib/components/tab-group/tab-group.module.js +0 -20
- package/esm2015/lib/components/table/column/column.component.js +0 -17
- package/esm2015/lib/components/table/column-group/column-group.component.js +0 -34
- package/esm2015/lib/components/table/services/table.service.js +0 -20
- package/esm2015/lib/components/table/table-body/table-body.component.js +0 -27
- package/esm2015/lib/components/table/table-foot/table-foot.component.js +0 -27
- package/esm2015/lib/components/table/table-head/table-head.component.js +0 -27
- package/esm2015/lib/components/table/table-row/table-data/table-data.component.js +0 -15
- package/esm2015/lib/components/table/table-row/table-header/table-header.component.js +0 -15
- package/esm2015/lib/components/table/table-row/table-row.component.js +0 -27
- package/esm2015/lib/components/table/table.component.js +0 -29
- package/esm2015/lib/components/table/table.module.js +0 -45
- package/esm2015/lib/components/textarea/textarea.component.js +0 -73
- package/esm2015/lib/components/textarea/textarea.module.js +0 -20
- package/esm2015/lib/components/toggle/toggle.component.js +0 -86
- package/esm2015/lib/components/toggle/toggle.module.js +0 -22
- package/esm2015/lib/components/trip-summary/trip-summary.component.js +0 -152
- package/esm2015/lib/components/trip-summary/trip-summary.module.js +0 -23
- package/esm2015/lib/components/weather-icon/weather-icon.component.js +0 -56
- package/esm2015/lib/components/weather-icon/weather-icon.module.js +0 -14
- package/esm2015/lib/core/base/nas-component.base.js +0 -48
- package/esm2015/lib/core/directives/nas-class/nas-class.directive.js +0 -75
- package/esm2015/lib/core/directives/nas-class/nas-class.module.js +0 -17
- package/esm2015/lib/core/services/abandoned-basket/abandoned-basket.service.js +0 -55
- package/esm2015/lib/core/services/animate-helper/animate-helper.service.js +0 -47
- package/esm2015/lib/core/services/bem-helper/bem-helper.service.js +0 -41
- package/esm2015/lib/core/services/date/date-helper.service.js +0 -196
- package/esm2015/lib/core/services/device/device-helper.service.js +0 -43
- package/esm2015/lib/core/services/geolocation/geolocation.service.js +0 -60
- package/esm2015/lib/core/services/language/language-helper.service.js +0 -162
- package/esm2015/lib/core/services/sort/sort.service.js +0 -19
- package/esm2015/lib/core/services/viewport/viewport.service.js +0 -29
- package/esm2015/lib/services/get-position.service.js +0 -21
- package/esm2015/norwegian-core-components.js +0 -12
- package/fesm2015/norwegian-core-components.js +0 -10835
- package/fesm2015/norwegian-core-components.js.map +0 -1
- package/norwegian-core-components.d.ts +0 -11
- package/norwegian-core-components.metadata.json +0 -1
- /package/{esm2015/lib/components/accordion/index.js → esm2020/lib/components/accordion/index.mjs} +0 -0
- /package/{esm2015/lib/components/airport-select/index.js → esm2020/lib/components/airport-select/index.mjs} +0 -0
- /package/{esm2015/lib/components/airport-select/models/airport.model.js → esm2020/lib/components/airport-select/models/airport.model.mjs} +0 -0
- /package/{esm2015/lib/components/airport-select/models/results-labels.model.js → esm2020/lib/components/airport-select/models/results-labels.model.mjs} +0 -0
- /package/{esm2015/lib/components/autocomplete/index.js → esm2020/lib/components/autocomplete/index.mjs} +0 -0
- /package/{esm2015/lib/components/autocomplete/models/autocomplete.model.js → esm2020/lib/components/autocomplete/models/autocomplete.model.mjs} +0 -0
- /package/{esm2015/lib/components/backdrop/index.js → esm2020/lib/components/backdrop/index.mjs} +0 -0
- /package/{esm2015/lib/components/box/index.js → esm2020/lib/components/box/index.mjs} +0 -0
- /package/{esm2015/lib/components/button/index.js → esm2020/lib/components/button/index.mjs} +0 -0
- /package/{esm2015/lib/components/checkbox/index.js → esm2020/lib/components/checkbox/index.mjs} +0 -0
- /package/{esm2015/lib/components/chip/index.js → esm2020/lib/components/chip/index.mjs} +0 -0
- /package/{esm2015/lib/components/container/index.js → esm2020/lib/components/container/index.mjs} +0 -0
- /package/{esm2015/lib/components/continue/index.js → esm2020/lib/components/continue/index.mjs} +0 -0
- /package/{esm2015/lib/components/cover/index.js → esm2020/lib/components/cover/index.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/calendar-date.model.js → esm2020/lib/components/datepicker/calendar/calendar-date.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/enums/week-start.enum.js → esm2020/lib/components/datepicker/calendar/enums/week-start.enum.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/models/day.model.js → esm2020/lib/components/datepicker/calendar/models/day.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/models/select-option.model.js → esm2020/lib/components/datepicker/calendar/models/select-option.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/calendar/models/week.model.js → esm2020/lib/components/datepicker/calendar/models/week.model.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker/index.js → esm2020/lib/components/datepicker/index.mjs} +0 -0
- /package/{esm2015/lib/components/datepicker-combo/index.js → esm2020/lib/components/datepicker-combo/index.mjs} +0 -0
- /package/{esm2015/lib/components/divider/index.js → esm2020/lib/components/divider/index.mjs} +0 -0
- /package/{esm2015/lib/components/dropdown/index.js → esm2020/lib/components/dropdown/index.mjs} +0 -0
- /package/{esm2015/lib/components/filter/enums/trip-type.enum.js → esm2020/lib/components/filter/enums/trip-type.enum.mjs} +0 -0
- /package/{esm2015/lib/components/filter/index.js → esm2020/lib/components/filter/index.mjs} +0 -0
- /package/{esm2015/lib/components/grid/index.js → esm2020/lib/components/grid/index.mjs} +0 -0
- /package/{esm2015/lib/components/icon/index.js → esm2020/lib/components/icon/index.mjs} +0 -0
- /package/{esm2015/lib/components/icon-list/icon-list.model.js → esm2020/lib/components/icon-list/icon-list.model.mjs} +0 -0
- /package/{esm2015/lib/components/icon-list/index.js → esm2020/lib/components/icon-list/index.mjs} +0 -0
- /package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
- /package/{esm2015/lib/components/info/index.js → esm2020/lib/components/info/index.mjs} +0 -0
- /package/{esm2015/lib/components/info/models/info.model.js → esm2020/lib/components/info/models/info.model.mjs} +0 -0
- /package/{esm2015/lib/components/input/index.js → esm2020/lib/components/input/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey/index.js → esm2020/lib/components/journey/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey/models/journey-flight.model.js → esm2020/lib/components/journey/models/journey-flight.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey/models/journey.model.js → esm2020/lib/components/journey/models/journey.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-availability/index.js → esm2020/lib/components/journey-availability/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-availability-list/enums/availability-sort-option.enum.js → esm2020/lib/components/journey-availability-list/enums/availability-sort-option.enum.mjs} +0 -0
- /package/{esm2015/lib/components/journey-availability-list/index.js → esm2020/lib/components/journey-availability-list/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/index.js → esm2020/lib/components/journey-selection/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection-collapsed.model.js → esm2020/lib/components/journey-selection/models/journey-selection-collapsed.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection-common.model.js → esm2020/lib/components/journey-selection/models/journey-selection-common.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection-expanded.model.js → esm2020/lib/components/journey-selection/models/journey-selection-expanded.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-selection/models/journey-selection.model.js → esm2020/lib/components/journey-selection/models/journey-selection.model.mjs} +0 -0
- /package/{esm2015/lib/components/journey-stopover/index.js → esm2020/lib/components/journey-stopover/index.mjs} +0 -0
- /package/{esm2015/lib/components/journey-stopover/models/stopover-time.model.js → esm2020/lib/components/journey-stopover/models/stopover-time.model.mjs} +0 -0
- /package/{esm2015/lib/components/list/index.js → esm2020/lib/components/list/index.mjs} +0 -0
- /package/{esm2015/lib/components/modal/index.js → esm2020/lib/components/modal/index.mjs} +0 -0
- /package/{esm2015/lib/components/number-field/index.js → esm2020/lib/components/number-field/index.mjs} +0 -0
- /package/{esm2015/lib/components/page-footer/index.js → esm2020/lib/components/page-footer/index.mjs} +0 -0
- /package/{esm2015/lib/components/page-header/index.js → esm2020/lib/components/page-header/index.mjs} +0 -0
- /package/{esm2015/lib/components/passenger-select/enums/passenger-type.enum.js → esm2020/lib/components/passenger-select/enums/passenger-type.enum.mjs} +0 -0
- /package/{esm2015/lib/components/passenger-select/index.js → esm2020/lib/components/passenger-select/index.mjs} +0 -0
- /package/{esm2015/lib/components/phone-number/index.js → esm2020/lib/components/phone-number/index.mjs} +0 -0
- /package/{esm2015/lib/components/premium-toggle/index.js → esm2020/lib/components/premium-toggle/index.mjs} +0 -0
- /package/{esm2015/lib/components/radio/index.js → esm2020/lib/components/radio/index.mjs} +0 -0
- /package/{esm2015/lib/components/select/index.js → esm2020/lib/components/select/index.mjs} +0 -0
- /package/{esm2015/lib/components/select/models/select-option.model.js → esm2020/lib/components/select/models/select-option.model.mjs} +0 -0
- /package/{esm2015/lib/components/simple-list/index.js → esm2020/lib/components/simple-list/index.mjs} +0 -0
- /package/{esm2015/lib/components/slide-toggle/index.js → esm2020/lib/components/slide-toggle/index.mjs} +0 -0
- /package/{esm2015/lib/components/slider/index.js → esm2020/lib/components/slider/index.mjs} +0 -0
- /package/{esm2015/lib/components/sort/index.js → esm2020/lib/components/sort/index.mjs} +0 -0
- /package/{esm2015/lib/components/spinner/index.js → esm2020/lib/components/spinner/index.mjs} +0 -0
- /package/{esm2015/lib/components/subsidy-discount/index.js → esm2020/lib/components/subsidy-discount/index.mjs} +0 -0
- /package/{esm2015/lib/components/subsidy-discount/models/subsidy-discount.model.js → esm2020/lib/components/subsidy-discount/models/subsidy-discount.model.mjs} +0 -0
- /package/{esm2015/lib/components/suggestions/index.js → esm2020/lib/components/suggestions/index.mjs} +0 -0
- /package/{esm2015/lib/components/tab-group/index.js → esm2020/lib/components/tab-group/index.mjs} +0 -0
- /package/{esm2015/lib/components/table/index.js → esm2020/lib/components/table/index.mjs} +0 -0
- /package/{esm2015/lib/components/textarea/index.js → esm2020/lib/components/textarea/index.mjs} +0 -0
- /package/{esm2015/lib/components/toggle/index.js → esm2020/lib/components/toggle/index.mjs} +0 -0
- /package/{esm2015/lib/components/toggle/models/options.model.js → esm2020/lib/components/toggle/models/options.model.mjs} +0 -0
- /package/{esm2015/lib/components/trip-summary/index.js → esm2020/lib/components/trip-summary/index.mjs} +0 -0
- /package/{esm2015/lib/components/weather-icon/index.js → esm2020/lib/components/weather-icon/index.mjs} +0 -0
- /package/{esm2015/lib/core/decorators/debounce.decorator.js → esm2020/lib/core/decorators/debounce.decorator.mjs} +0 -0
- /package/{esm2015/lib/core/directives/index.js → esm2020/lib/core/directives/index.mjs} +0 -0
- /package/{esm2015/lib/core/index.js → esm2020/lib/core/index.mjs} +0 -0
- /package/{esm2015/lib/core/models/abandoned-basket-item.model.js → esm2020/lib/core/models/abandoned-basket-item.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/animate.model.js → esm2020/lib/core/models/animate.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/class.model.js → esm2020/lib/core/models/class.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/index.js → esm2020/lib/core/models/index.mjs} +0 -0
- /package/{esm2015/lib/core/models/link.model.js → esm2020/lib/core/models/link.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/position.model.js → esm2020/lib/core/models/position.model.mjs} +0 -0
- /package/{esm2015/lib/core/models/utc-date.model.js → esm2020/lib/core/models/utc-date.model.mjs} +0 -0
- /package/{esm2015/lib/core/services/date/date-compare.enum.js → esm2020/lib/core/services/date/date-compare.enum.mjs} +0 -0
- /package/{esm2015/lib/core/services/geolocation/geolocation-state.enum.js → esm2020/lib/core/services/geolocation/geolocation-state.enum.mjs} +0 -0
- /package/{esm2015/lib/core/services/index.js → esm2020/lib/core/services/index.mjs} +0 -0
- /package/{esm2015/lib/index.js → esm2020/lib/index.mjs} +0 -0
- /package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
- /package/{esm2015/lib/shared/index.js → esm2020/lib/shared/index.mjs} +0 -0
- /package/{esm2015/lib/shared/models/flight-details.js → esm2020/lib/shared/models/flight-details.mjs} +0 -0
- /package/{esm2015/lib/shared/models/index.js → esm2020/lib/shared/models/index.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-availability-sort.model.js → esm2020/lib/shared/models/journey-availability-sort.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-availability.model.js → esm2020/lib/shared/models/journey-availability.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-details.model.js → esm2020/lib/shared/models/journey-details.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-duration.model.js → esm2020/lib/shared/models/journey-duration.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-stopover.model.js → esm2020/lib/shared/models/journey-stopover.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/journey-transit-info.model.js → esm2020/lib/shared/models/journey-transit-info.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/operating-carrier.model.js → esm2020/lib/shared/models/operating-carrier.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/sort-option.model.js → esm2020/lib/shared/models/sort-option.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/sort.model.js → esm2020/lib/shared/models/sort.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/trip-item-details.model.js → esm2020/lib/shared/models/trip-item-details.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/trip-summary-details.model.js → esm2020/lib/shared/models/trip-summary-details.model.mjs} +0 -0
- /package/{esm2015/lib/shared/models/trip-summary.model.js → esm2020/lib/shared/models/trip-summary.model.mjs} +0 -0
- /package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { FilterComponent } from './filter.component';
|
|
5
|
-
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
6
|
-
import { AbandonedBasketService } from '../../core/services/abandoned-basket/abandoned-basket.service';
|
|
7
|
-
import { DateHelper } from '../../core/services/date/date-helper.service';
|
|
8
|
-
import { DeviceHelper } from '../../core/services/device/device-helper.service';
|
|
9
|
-
import { SortService } from '../../core/services/sort/sort.service';
|
|
10
|
-
import { AccordionModule } from '../accordion/accordion.module';
|
|
11
|
-
import { AirportSelectModule } from '../airport-select/airport-select.module';
|
|
12
|
-
import { ButtonModule } from '../button/button.module';
|
|
13
|
-
import { CheckboxModule } from '../checkbox/checkbox.module';
|
|
14
|
-
import { DatepickerComboModule } from '../datepicker-combo/datepicker-combo.module';
|
|
15
|
-
import { DropdownModule } from '../dropdown/dropdown.module';
|
|
16
|
-
import { IconModule } from '../icon/icon.module';
|
|
17
|
-
import { PassengerSelectModule } from '../passenger-select/passenger-select.module';
|
|
18
|
-
import { SubsidyDiscountModule } from '../subsidy-discount/subsidy-discount.module';
|
|
19
|
-
import { SuggestionsModule } from '../suggestions/suggestions.module';
|
|
20
|
-
export class FilterModule {
|
|
21
|
-
}
|
|
22
|
-
FilterModule.decorators = [
|
|
23
|
-
{ type: NgModule, args: [{
|
|
24
|
-
imports: [
|
|
25
|
-
CommonModule,
|
|
26
|
-
NasClassModule,
|
|
27
|
-
AirportSelectModule,
|
|
28
|
-
DropdownModule,
|
|
29
|
-
PassengerSelectModule,
|
|
30
|
-
AccordionModule,
|
|
31
|
-
IconModule,
|
|
32
|
-
DatepickerComboModule,
|
|
33
|
-
CheckboxModule,
|
|
34
|
-
ReactiveFormsModule,
|
|
35
|
-
ButtonModule,
|
|
36
|
-
SubsidyDiscountModule,
|
|
37
|
-
SuggestionsModule
|
|
38
|
-
],
|
|
39
|
-
declarations: [FilterComponent],
|
|
40
|
-
exports: [FilterComponent],
|
|
41
|
-
providers: [SortService, AbandonedBasketService, DateHelper, DeviceHelper]
|
|
42
|
-
},] }
|
|
43
|
-
];
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZmlsdGVyL2ZpbHRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxrREFBa0QsQ0FBQztBQUNsRixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwrREFBK0QsQ0FBQztBQUN2RyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sOENBQThDLENBQUM7QUFDMUUsT0FBTyxFQU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FxuICAgIEFjY29yZGlvbk1vZHVsZSxcbiAgICBJY29uTW9kdWxlLFxuICAgIERhdGVwaWNrZXJDb21ib01vZHVsZSxcbiAgICBDaGVja2JveE1vZHVsZSxcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgIEJ1dHRvbk1vZHVsZSxcbiAgICBTdWJzaWR5RGlzY291bnRNb2R1bGUsXG4gICAgU3VnZ2VzdGlvbnNNb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbRmlsdGVyQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW0ZpbHRlckNvbXBvbmVudF0sXG4gIHByb3ZpZGVyczogW1NvcnRTZXJ2aWNlLCBBYmFuZG9uZWRCYXNrZXRTZXJ2aWNlLCBEYXRlSGVscGVyLCBEZXZpY2VIZWxwZXJdXG59KVxuZXhwb3J0IGNsYXNzIEZpbHRlck1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
-
*/
|
|
5
|
-
import { Component, Input, ElementRef, ViewEncapsulation, } from '@angular/core';
|
|
6
|
-
import { NasComponentBase } from '../../../core/base/nas-component.base';
|
|
7
|
-
export class ColComponent extends NasComponentBase {
|
|
8
|
-
/**
|
|
9
|
-
* @description
|
|
10
|
-
* Represent a column component.
|
|
11
|
-
* Will initiate correct block style.
|
|
12
|
-
*/
|
|
13
|
-
constructor(elementRef) {
|
|
14
|
-
super('nas-grid');
|
|
15
|
-
this.elementRef = elementRef;
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
this.removeHostElement(this.elementRef);
|
|
19
|
-
}
|
|
20
|
-
classes() {
|
|
21
|
-
const { base, md, lg, xl, colSize } = this;
|
|
22
|
-
return this.getClass('item', [
|
|
23
|
-
(base === 0 || base) && `col-${base}`,
|
|
24
|
-
(md === 0 || md) && `col-${md}-md`,
|
|
25
|
-
(lg === 0 || lg) && `col-${lg}-lg`,
|
|
26
|
-
(xl === 0 || xl) && `col-${xl}-xl`,
|
|
27
|
-
(colSize === 0 || colSize) && `col-size-${colSize}`,
|
|
28
|
-
]);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
ColComponent.decorators = [
|
|
32
|
-
{ type: Component, args: [{
|
|
33
|
-
selector: 'nas-col',
|
|
34
|
-
template: "<div [nasClass]=\"classes()\">\n <ng-content></ng-content>\n</div>\n",
|
|
35
|
-
encapsulation: ViewEncapsulation.None,
|
|
36
|
-
styles: ["@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@-webkit-keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@-webkit-keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@-webkit-keyframes fade-out{to{opacity:0}}@keyframes fade-out{to{opacity:0}}@-webkit-keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@-webkit-keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@-webkit-keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-grid{display:flex;flex-wrap:wrap;align-items:flex-start;margin-left:-12px;margin-right:-12px}@media (min-width: 1000px){.nas-grid{margin-left:-24px;margin-right:-24px}}.nas-grid__item{width:100%;flex-shrink:0;flex-grow:0;padding-left:12px;padding-right:12px}@media (min-width: 1000px){.nas-grid__item{padding-left:24px;padding-right:24px}}.nas-grid__item--col-0{width:0%;display:none}.nas-grid__item--col-1{width:8.3333333333%;display:block}.nas-grid__item--col-2{width:16.6666666667%;display:block}.nas-grid__item--col-3{width:25%;display:block}.nas-grid__item--col-4{width:33.3333333333%;display:block}.nas-grid__item--col-5{width:41.6666666667%;display:block}.nas-grid__item--col-6{width:50%;display:block}.nas-grid__item--col-7{width:58.3333333333%;display:block}.nas-grid__item--col-8{width:66.6666666667%;display:block}.nas-grid__item--col-9{width:75%;display:block}.nas-grid__item--col-10{width:83.3333333333%;display:block}.nas-grid__item--col-11{width:91.6666666667%;display:block}@media (min-width: 640px){.nas-grid__item--col-0-md{width:0%;display:none}}@media (min-width: 640px){.nas-grid__item--col-1-md{width:8.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-2-md{width:16.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-3-md{width:25%;display:block}}@media (min-width: 640px){.nas-grid__item--col-4-md{width:33.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-5-md{width:41.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-6-md{width:50%;display:block}}@media (min-width: 640px){.nas-grid__item--col-7-md{width:58.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-8-md{width:66.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-9-md{width:75%;display:block}}@media (min-width: 640px){.nas-grid__item--col-10-md{width:83.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-11-md{width:91.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-12-md{width:100%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-0-lg{width:0%;display:none}}@media (min-width: 1000px){.nas-grid__item--col-1-lg{width:8.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-2-lg{width:16.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-3-lg{width:25%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-4-lg{width:33.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-5-lg{width:41.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-6-lg{width:50%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-7-lg{width:58.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-8-lg{width:66.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-9-lg{width:75%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-10-lg{width:83.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-11-lg{width:91.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-12-lg{width:100%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-0-xl{width:0%;display:none}}@media (min-width: 1280px){.nas-grid__item--col-1-xl{width:8.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-2-xl{width:16.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-3-xl{width:25%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-4-xl{width:33.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-5-xl{width:41.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-6-xl{width:50%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-7-xl{width:58.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-8-xl{width:66.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-9-xl{width:75%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-10-xl{width:83.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-11-xl{width:91.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-12-xl{width:100%;display:block}}.nas-grid__item--col-size-0{width:Infinity%;display:none}.nas-grid__item--col-size-1{width:100%;display:block}.nas-grid__item--col-size-2{width:50%;display:block}.nas-grid__item--col-size-3{width:33.3333333333%;display:block}.nas-grid__item--col-size-4{width:25%;display:block}.nas-grid__item--col-size-5{width:20%;display:block}.nas-grid__item--col-size-6{width:16.6666666667%;display:block}.nas-grid__item--col-size-7{width:14.2857142857%;display:block}.nas-grid__item--col-size-8{width:12.5%;display:block}.nas-grid__item--col-size-9{width:11.1111111111%;display:block}.nas-grid__item--col-size-10{width:10%;display:block}.nas-grid__item--col-size-11{width:9.0909090909%;display:block}@media (min-width: 1000px){.nas-grid--wide{margin-left:-36px;margin-right:-36px}}@media (min-width: 1000px){.nas-grid--wide .nas-grid__item{padding-left:36px;padding-right:36px}}@media (min-width: 1000px){.nas-grid--tight{margin-left:-12px;margin-right:-12px}}@media (min-width: 1000px){.nas-grid--tight .nas-grid__item{padding-left:12px;padding-right:12px}}.nas-grid--xtight{margin-left:-6px;margin-right:-6px}.nas-grid--xtight .nas-grid__item{padding-left:6px;padding-right:6px}.nas-grid--xxtight{margin-left:-3px;margin-right:-3px}.nas-grid--xxtight .nas-grid__item{padding-left:3px;padding-right:3px}.nas-grid--spaceless{margin-left:0;margin-right:0}.nas-grid--spaceless .nas-grid__item{padding-left:0;padding-right:0}.nas-grid--mobileview{display:block}@media (min-width: 640px){.nas-grid--mobileview{display:flex}}.nas-grid--right{justify-content:flex-end}.nas-grid--center{justify-content:center}.nas-grid--stretch{align-items:stretch}.nas-grid--nopadding .nas-grid__item{padding-left:0;padding-right:0}.nas-grid--nomargin .nas-grid__item{margin:0!important}.nas-grid--col-group-0 .nas-grid__item{width:Infinity%;display:none}.nas-grid--col-group-1 .nas-grid__item{width:100%;display:block}.nas-grid--col-group-2 .nas-grid__item{width:50%;display:block}.nas-grid--col-group-3 .nas-grid__item{width:33.3333333333%;display:block}.nas-grid--col-group-4 .nas-grid__item{width:25%;display:block}.nas-grid--col-group-5 .nas-grid__item{width:20%;display:block}.nas-grid--col-group-6 .nas-grid__item{width:16.6666666667%;display:block}.nas-grid--col-group-7 .nas-grid__item{width:14.2857142857%;display:block}.nas-grid--col-group-8 .nas-grid__item{width:12.5%;display:block}.nas-grid--col-group-9 .nas-grid__item{width:11.1111111111%;display:block}.nas-grid--col-group-10 .nas-grid__item{width:10%;display:block}.nas-grid--col-group-11 .nas-grid__item{width:9.0909090909%;display:block}\n"]
|
|
37
|
-
},] }
|
|
38
|
-
];
|
|
39
|
-
ColComponent.ctorParameters = () => [
|
|
40
|
-
{ type: ElementRef }
|
|
41
|
-
];
|
|
42
|
-
ColComponent.propDecorators = {
|
|
43
|
-
base: [{ type: Input }],
|
|
44
|
-
md: [{ type: Input }],
|
|
45
|
-
lg: [{ type: Input }],
|
|
46
|
-
xl: [{ type: Input }],
|
|
47
|
-
colSize: [{ type: Input }]
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4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uSW5pdCgpIHtcbiAgICB0aGlzLnJlbW92ZUhvc3RFbGVtZW50KHRoaXMuZWxlbWVudFJlZik7XG4gIH1cblxuICBjbGFzc2VzKCkge1xuICAgIGNvbnN0IHsgYmFzZSwgbWQsIGxnLCB4bCwgY29sU2l6ZSB9ID0gdGhpcztcblxuICAgIHJldHVybiB0aGlzLmdldENsYXNzKCdpdGVtJywgW1xuICAgICAgKGJhc2UgPT09IDAgfHwgYmFzZSkgJiYgYGNvbC0ke2Jhc2V9YCxcbiAgICAgIChtZCA9PT0gMCB8fCBtZCkgJiYgYGNvbC0ke21kfS1tZGAsXG4gICAgICAobGcgPT09IDAgfHwgbGcpICYmIGBjb2wtJHtsZ30tbGdgLFxuICAgICAgKHhsID09PSAwIHx8IHhsKSAmJiBgY29sLSR7eGx9LXhsYCxcbiAgICAgIChjb2xTaXplID09PSAwIHx8IGNvbFNpemUpICYmIGBjb2wtc2l6ZS0ke2NvbFNpemV9YCxcbiAgICBdKTtcbiAgfVxufVxuIl19
|
|
@@ -1,63 +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/base/nas-component.base';
|
|
7
|
-
/**
|
|
8
|
-
* @description
|
|
9
|
-
* Norwegian Grid Component | Layout
|
|
10
|
-
*/
|
|
11
|
-
export class GridComponent extends NasComponentBase {
|
|
12
|
-
/**
|
|
13
|
-
* @description
|
|
14
|
-
* Represent a grid component.
|
|
15
|
-
* Will initiate correct block style.
|
|
16
|
-
*/
|
|
17
|
-
constructor() {
|
|
18
|
-
super('nas-grid');
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Set modifier array to be used by base class, based on property input
|
|
22
|
-
*/
|
|
23
|
-
getModifiers() {
|
|
24
|
-
return [
|
|
25
|
-
this.exists(this.wide) && 'wide',
|
|
26
|
-
this.exists(this.tight) && 'tight',
|
|
27
|
-
this.exists(this.xtight) && 'xtight',
|
|
28
|
-
this.exists(this.xxtight) && 'xxtight',
|
|
29
|
-
this.exists(this.spaceless) && 'spaceless',
|
|
30
|
-
this.exists(this.right) && 'right',
|
|
31
|
-
this.exists(this.center) && 'center',
|
|
32
|
-
this.exists(this.stretch) && 'stretch',
|
|
33
|
-
this.exists(this.nopadding) && 'nopadding',
|
|
34
|
-
this.exists(this.nomargin) && 'nomargin',
|
|
35
|
-
this.exists(this.mobileview) && 'mobileview',
|
|
36
|
-
(this.colGroup === 0 || this.colGroup) && `col-group-${this.colGroup}`
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
GridComponent.decorators = [
|
|
41
|
-
{ type: Component, args: [{
|
|
42
|
-
selector: 'nas-grid',
|
|
43
|
-
template: "<div [nasClass]=\"getClass('', getModifiers())\">\n <ng-content></ng-content>\n</div>\n",
|
|
44
|
-
encapsulation: ViewEncapsulation.None,
|
|
45
|
-
styles: ["@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@-webkit-keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@-webkit-keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@-webkit-keyframes fade-out{to{opacity:0}}@keyframes fade-out{to{opacity:0}}@-webkit-keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@-webkit-keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@-webkit-keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-grid{display:flex;flex-wrap:wrap;align-items:flex-start;margin-left:-12px;margin-right:-12px}@media (min-width: 1000px){.nas-grid{margin-left:-24px;margin-right:-24px}}.nas-grid__item{width:100%;flex-shrink:0;flex-grow:0;padding-left:12px;padding-right:12px}@media (min-width: 1000px){.nas-grid__item{padding-left:24px;padding-right:24px}}.nas-grid__item--col-0{width:0%;display:none}.nas-grid__item--col-1{width:8.3333333333%;display:block}.nas-grid__item--col-2{width:16.6666666667%;display:block}.nas-grid__item--col-3{width:25%;display:block}.nas-grid__item--col-4{width:33.3333333333%;display:block}.nas-grid__item--col-5{width:41.6666666667%;display:block}.nas-grid__item--col-6{width:50%;display:block}.nas-grid__item--col-7{width:58.3333333333%;display:block}.nas-grid__item--col-8{width:66.6666666667%;display:block}.nas-grid__item--col-9{width:75%;display:block}.nas-grid__item--col-10{width:83.3333333333%;display:block}.nas-grid__item--col-11{width:91.6666666667%;display:block}@media (min-width: 640px){.nas-grid__item--col-0-md{width:0%;display:none}}@media (min-width: 640px){.nas-grid__item--col-1-md{width:8.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-2-md{width:16.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-3-md{width:25%;display:block}}@media (min-width: 640px){.nas-grid__item--col-4-md{width:33.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-5-md{width:41.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-6-md{width:50%;display:block}}@media (min-width: 640px){.nas-grid__item--col-7-md{width:58.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-8-md{width:66.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-9-md{width:75%;display:block}}@media (min-width: 640px){.nas-grid__item--col-10-md{width:83.3333333333%;display:block}}@media (min-width: 640px){.nas-grid__item--col-11-md{width:91.6666666667%;display:block}}@media (min-width: 640px){.nas-grid__item--col-12-md{width:100%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-0-lg{width:0%;display:none}}@media (min-width: 1000px){.nas-grid__item--col-1-lg{width:8.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-2-lg{width:16.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-3-lg{width:25%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-4-lg{width:33.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-5-lg{width:41.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-6-lg{width:50%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-7-lg{width:58.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-8-lg{width:66.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-9-lg{width:75%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-10-lg{width:83.3333333333%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-11-lg{width:91.6666666667%;display:block}}@media (min-width: 1000px){.nas-grid__item--col-12-lg{width:100%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-0-xl{width:0%;display:none}}@media (min-width: 1280px){.nas-grid__item--col-1-xl{width:8.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-2-xl{width:16.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-3-xl{width:25%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-4-xl{width:33.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-5-xl{width:41.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-6-xl{width:50%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-7-xl{width:58.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-8-xl{width:66.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-9-xl{width:75%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-10-xl{width:83.3333333333%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-11-xl{width:91.6666666667%;display:block}}@media (min-width: 1280px){.nas-grid__item--col-12-xl{width:100%;display:block}}.nas-grid__item--col-size-0{width:Infinity%;display:none}.nas-grid__item--col-size-1{width:100%;display:block}.nas-grid__item--col-size-2{width:50%;display:block}.nas-grid__item--col-size-3{width:33.3333333333%;display:block}.nas-grid__item--col-size-4{width:25%;display:block}.nas-grid__item--col-size-5{width:20%;display:block}.nas-grid__item--col-size-6{width:16.6666666667%;display:block}.nas-grid__item--col-size-7{width:14.2857142857%;display:block}.nas-grid__item--col-size-8{width:12.5%;display:block}.nas-grid__item--col-size-9{width:11.1111111111%;display:block}.nas-grid__item--col-size-10{width:10%;display:block}.nas-grid__item--col-size-11{width:9.0909090909%;display:block}@media (min-width: 1000px){.nas-grid--wide{margin-left:-36px;margin-right:-36px}}@media (min-width: 1000px){.nas-grid--wide .nas-grid__item{padding-left:36px;padding-right:36px}}@media (min-width: 1000px){.nas-grid--tight{margin-left:-12px;margin-right:-12px}}@media (min-width: 1000px){.nas-grid--tight .nas-grid__item{padding-left:12px;padding-right:12px}}.nas-grid--xtight{margin-left:-6px;margin-right:-6px}.nas-grid--xtight .nas-grid__item{padding-left:6px;padding-right:6px}.nas-grid--xxtight{margin-left:-3px;margin-right:-3px}.nas-grid--xxtight .nas-grid__item{padding-left:3px;padding-right:3px}.nas-grid--spaceless{margin-left:0;margin-right:0}.nas-grid--spaceless .nas-grid__item{padding-left:0;padding-right:0}.nas-grid--mobileview{display:block}@media (min-width: 640px){.nas-grid--mobileview{display:flex}}.nas-grid--right{justify-content:flex-end}.nas-grid--center{justify-content:center}.nas-grid--stretch{align-items:stretch}.nas-grid--nopadding .nas-grid__item{padding-left:0;padding-right:0}.nas-grid--nomargin .nas-grid__item{margin:0!important}.nas-grid--col-group-0 .nas-grid__item{width:Infinity%;display:none}.nas-grid--col-group-1 .nas-grid__item{width:100%;display:block}.nas-grid--col-group-2 .nas-grid__item{width:50%;display:block}.nas-grid--col-group-3 .nas-grid__item{width:33.3333333333%;display:block}.nas-grid--col-group-4 .nas-grid__item{width:25%;display:block}.nas-grid--col-group-5 .nas-grid__item{width:20%;display:block}.nas-grid--col-group-6 .nas-grid__item{width:16.6666666667%;display:block}.nas-grid--col-group-7 .nas-grid__item{width:14.2857142857%;display:block}.nas-grid--col-group-8 .nas-grid__item{width:12.5%;display:block}.nas-grid--col-group-9 .nas-grid__item{width:11.1111111111%;display:block}.nas-grid--col-group-10 .nas-grid__item{width:10%;display:block}.nas-grid--col-group-11 .nas-grid__item{width:9.0909090909%;display:block}\n"]
|
|
46
|
-
},] }
|
|
47
|
-
];
|
|
48
|
-
GridComponent.ctorParameters = () => [];
|
|
49
|
-
GridComponent.propDecorators = {
|
|
50
|
-
right: [{ type: Input }],
|
|
51
|
-
center: [{ type: Input }],
|
|
52
|
-
stretch: [{ type: Input }],
|
|
53
|
-
wide: [{ type: Input }],
|
|
54
|
-
tight: [{ type: Input }],
|
|
55
|
-
xtight: [{ type: Input }],
|
|
56
|
-
xxtight: [{ type: Input }],
|
|
57
|
-
spaceless: [{ type: Input }],
|
|
58
|
-
mobileview: [{ type: Input }],
|
|
59
|
-
nopadding: [{ type: Input }],
|
|
60
|
-
nomargin: [{ type: Input }],
|
|
61
|
-
colGroup: [{ type: Input }]
|
|
62
|
-
};
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2dyaWQvZ3JpZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBRUgsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFFdEU7OztHQUdHO0FBT0gsTUFBTSxPQUFPLGFBQWMsU0FBUSxnQkFBZ0I7SUFrRWpEOzs7O09BSUc7SUFDSDtRQUNFLEtBQUssQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUNwQixDQUFDO0lBRUQ7O09BRUc7SUFDSCxZQUFZO1FBQ1YsT0FBTztZQUNMLElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxJQUFJLE1BQU07WUFDaEMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksT0FBTztZQUNsQyxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsSU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c3RzKHRoaXMueHh0aWdodCkgJiYgJ3h4dGlnaHQnLFxuICAgICAgdGhpcy5leGlzdHModGhpcy5zcGFjZWxlc3MpICYmICdzcGFjZWxlc3MnLFxuICAgICAgdGhpcy5leGlzdHModGhpcy5yaWdodCkgJiYgJ3JpZ2h0JyxcbiAgICAgIHRoaXMuZXhpc3RzKHRoaXMuY2VudGVyKSAmJiAnY2VudGVyJyxcbiAgICAgIHRoaXMuZXhpc3RzKHRoaXMuc3RyZXRjaCkgJiYgJ3N0cmV0Y2gnLFxuICAgICAgdGhpcy5leGlzdHModGhpcy5ub3BhZGRpbmcpICYmICdub3BhZGRpbmcnLFxuICAgICAgdGhpcy5leGlzdHModGhpcy5ub21hcmdpbikgJiYgJ25vbWFyZ2luJyxcbiAgICAgIHRoaXMuZXhpc3RzKHRoaXMubW9iaWxldmlldykgJiYgJ21vYmlsZXZpZXcnLFxuICAgICAgKHRoaXMuY29sR3JvdXAgPT09IDAgfHwgdGhpcy5jb2xHcm91cCkgJiYgYGNvbC1ncm91cC0ke3RoaXMuY29sR3JvdXB9YFxuICAgIF07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { GridComponent } from './grid.component';
|
|
4
|
-
import { ColComponent } from './col/col.component';
|
|
5
|
-
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
6
|
-
export class GridModule {
|
|
7
|
-
}
|
|
8
|
-
GridModule.decorators = [
|
|
9
|
-
{ type: NgModule, args: [{
|
|
10
|
-
imports: [CommonModule, NasClassModule],
|
|
11
|
-
declarations: [GridComponent, ColComponent],
|
|
12
|
-
exports: [GridComponent, ColComponent],
|
|
13
|
-
},] }
|
|
14
|
-
];
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5tb2R1bGUuanMiLCJzb3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