@norwegian/core-components 6.8.2 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/documentation/micro-button/micro-button.md +0 -0
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/micro-button/index.mjs +3 -0
- package/esm2022/lib/components/micro-button/micro-button.component.mjs +52 -0
- package/esm2022/lib/components/micro-button/micro-button.module.mjs +32 -0
- package/fesm2022/norwegian-core-components.mjs +73 -1
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/micro-button/index.d.ts +2 -0
- package/lib/components/micro-button/micro-button.component.d.ts +31 -0
- package/lib/components/micro-button/micro-button.module.d.ts +10 -0
- package/package.json +1 -1
|
File without changes
|
|
@@ -49,4 +49,5 @@ export * from './table/index';
|
|
|
49
49
|
export * from './divider/index';
|
|
50
50
|
export * from './tag/index';
|
|
51
51
|
export * from './alert/index';
|
|
52
|
-
|
|
52
|
+
export * from './micro-button/index';
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsa0JBQWtCLEN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0ICogZnJvbSAnLi9qb3VybmV5L2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vam91cm5leS1zdG9wb3Zlci9pbmRleCc7XG5leHBvcnQgKiBmcm9tICcuL3RleHRhcmVhL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vc3VnZ2VzdGlvbnMvaW5kZXgnO1xuZXhwb3J0ICogZnJvbSAnLi9qb3VybmV5LXNlbGVjdGlvbi9pbmRleCc7XG5leHBvcnQgKiBmcm9tICcuL2JhY2tkcm9wL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vc2xpZGUtdG9nZ2xlL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vc2xpZGVyL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vdGFibGUvaW5kZXgnO1xuZXhwb3J0ICogZnJvbSAnLi9kaXZpZGVyL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vdGFnL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vYWxlcnQvaW5kZXgnO1xuZXhwb3J0ICogZnJvbSAnLi9taWNyby1idXR0b24vaW5kZXgnO1xuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './micro-button.component';
|
|
2
|
+
export * from './micro-button.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL21pY3JvLWJ1dHRvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21pY3JvLWJ1dHRvbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9taWNyby1idXR0b24ubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/restrict-plus-operands */
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
5
|
+
/**
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
8
|
+
*/
|
|
9
|
+
import { Component, Input } from '@angular/core';
|
|
10
|
+
import { NasComponentBase } from '../../core';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "../icon/icon.component";
|
|
14
|
+
import * as i3 from "../../core/directives/nas-class/nas-class.directive";
|
|
15
|
+
/**
|
|
16
|
+
* @description
|
|
17
|
+
* Norwegian alert Component | Buttons and Indicators
|
|
18
|
+
*/
|
|
19
|
+
export class MicroButtonComponent extends NasComponentBase {
|
|
20
|
+
/**
|
|
21
|
+
* @property Input
|
|
22
|
+
* @description
|
|
23
|
+
* Sets the icon
|
|
24
|
+
*/
|
|
25
|
+
set icon(value) {
|
|
26
|
+
this._icon = value.toString() + '--light';
|
|
27
|
+
}
|
|
28
|
+
constructor() {
|
|
29
|
+
super('nas-micro-button');
|
|
30
|
+
this._icon = '';
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
//
|
|
34
|
+
}
|
|
35
|
+
getClasses(element) {
|
|
36
|
+
const classes = [
|
|
37
|
+
this.getClass(element)
|
|
38
|
+
];
|
|
39
|
+
return classes;
|
|
40
|
+
}
|
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
42
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: MicroButtonComponent, selector: "nas-micro-button", inputs: { text: "text", icon: "icon" }, usesInheritance: true, ngImport: i0, template: "<div class=\"nas-micro-button\">\n <div class=\"icon\" *ngIf=\"_icon.length > 0\">\n <nas-icon\n [icon]=\"_icon\"\n [type]=\"'small'\"\n [lightCircularBackground]=\"true\"\n [nasClass]=\"getClasses('nas-icon')\"\n ></nas-icon>\n </div>\n <div class=\"text-container\" [nasClass]=\"getClasses('text-container')\">\n <div class=\"text\" [nasClass]=\"getClasses('text')\">{{ text }}</div>\n </div>\n</div>\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-micro-button{display:inline-flex;align-items:flex-start;background:#003251;border-radius:4px;padding:8px 16px;align-items:center}.nas-micro-button nas-icon{width:16px;height:16px}.nas-micro-button__text-container{display:flex;justify-content:center;align-items:center;gap:10px}.nas-micro-button__text{color:#fff;text-align:center;font-family:Apercu Pro;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.nas-micro-button:hover{background:#002a3a}.nas-micro-button:focus{border-radius:3px;border:5px solid #3b99fc;background:#003251}.nas-micro-button:active{border-radius:3px;background:#002a3a #002a3a}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "nas-icon", inputs: ["icon", "type", "isIndicator", "lightCircularBackground", "cssClass"] }, { kind: "directive", type: i3.NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }] }); }
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonComponent, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'nas-micro-button', template: "<div class=\"nas-micro-button\">\n <div class=\"icon\" *ngIf=\"_icon.length > 0\">\n <nas-icon\n [icon]=\"_icon\"\n [type]=\"'small'\"\n [lightCircularBackground]=\"true\"\n [nasClass]=\"getClasses('nas-icon')\"\n ></nas-icon>\n </div>\n <div class=\"text-container\" [nasClass]=\"getClasses('text-container')\">\n <div class=\"text\" [nasClass]=\"getClasses('text')\">{{ text }}</div>\n </div>\n</div>\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-micro-button{display:inline-flex;align-items:flex-start;background:#003251;border-radius:4px;padding:8px 16px;align-items:center}.nas-micro-button nas-icon{width:16px;height:16px}.nas-micro-button__text-container{display:flex;justify-content:center;align-items:center;gap:10px}.nas-micro-button__text{color:#fff;text-align:center;font-family:Apercu Pro;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.nas-micro-button:hover{background:#002a3a}.nas-micro-button:focus{border-radius:3px;border:5px solid #3b99fc;background:#003251}.nas-micro-button:active{border-radius:3px;background:#002a3a #002a3a}\n"] }]
|
|
47
|
+
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}], icon: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}] } });
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWljcm8tYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvbWljcm8tYnV0dG9uL21pY3JvLWJ1dHRvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL21pY3JvLWJ1dHRvbi9taWNyby1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOERBQThEO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bmFzQ2xhc3NdPVwiZ2V0Q2xhc3NlcygndGV4dCcpXCI+e3sgdGV4dCB9fTwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MicroButtonComponent } from './micro-button.component';
|
|
4
|
+
import { IconModule } from '../icon/icon.module';
|
|
5
|
+
import { NasClassModule } from '../../core/directives/nas-class/nas-class.module';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class MicroButtonModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, declarations: [MicroButtonComponent], imports: [CommonModule,
|
|
10
|
+
IconModule,
|
|
11
|
+
NasClassModule], exports: [MicroButtonComponent] }); }
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, imports: [CommonModule,
|
|
13
|
+
IconModule,
|
|
14
|
+
NasClassModule] }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, decorators: [{
|
|
17
|
+
type: NgModule,
|
|
18
|
+
args: [{
|
|
19
|
+
declarations: [
|
|
20
|
+
MicroButtonComponent
|
|
21
|
+
],
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
IconModule,
|
|
25
|
+
NasClassModule
|
|
26
|
+
],
|
|
27
|
+
exports: [
|
|
28
|
+
MicroButtonComponent
|
|
29
|
+
]
|
|
30
|
+
}]
|
|
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eyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE1pY3JvQnV0dG9uQ29tcG9uZW50IH0gZnJvbSAnLi9taWNyby1idXR0b24uY29tcG9uZW50JztcbmltcG9ydCB7IEljb25Nb2R1bGUgfSBmcm9tICcuLi9pY29uL2ljb24ubW9kdWxlJztcbmltcG9ydCB7IE5hc0NsYXNzTW9kdWxlIH0gZnJvbSAnLi4vLi4vY29yZS9kaXJlY3RpdmVzL25hcy1jbGFzcy9uYXMtY2xhc3MubW9kdWxlJztcblxuXG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIE1pY3JvQnV0dG9uQ29tcG9uZW50XG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgSWNvbk1vZHVsZSxcbiAgICBOYXNDbGFzc01vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgTWljcm9CdXR0b25Db21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBNaWNyb0J1dHRvbk1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -12174,6 +12174,78 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
12174
12174
|
}]
|
|
12175
12175
|
}] });
|
|
12176
12176
|
|
|
12177
|
+
/* eslint-disable @typescript-eslint/restrict-plus-operands */
|
|
12178
|
+
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
|
12179
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
12180
|
+
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
12181
|
+
/**
|
|
12182
|
+
* @license
|
|
12183
|
+
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
12184
|
+
*/
|
|
12185
|
+
/**
|
|
12186
|
+
* @description
|
|
12187
|
+
* Norwegian alert Component | Buttons and Indicators
|
|
12188
|
+
*/
|
|
12189
|
+
class MicroButtonComponent extends NasComponentBase {
|
|
12190
|
+
/**
|
|
12191
|
+
* @property Input
|
|
12192
|
+
* @description
|
|
12193
|
+
* Sets the icon
|
|
12194
|
+
*/
|
|
12195
|
+
set icon(value) {
|
|
12196
|
+
this._icon = value.toString() + '--light';
|
|
12197
|
+
}
|
|
12198
|
+
constructor() {
|
|
12199
|
+
super('nas-micro-button');
|
|
12200
|
+
this._icon = '';
|
|
12201
|
+
}
|
|
12202
|
+
ngOnInit() {
|
|
12203
|
+
//
|
|
12204
|
+
}
|
|
12205
|
+
getClasses(element) {
|
|
12206
|
+
const classes = [
|
|
12207
|
+
this.getClass(element)
|
|
12208
|
+
];
|
|
12209
|
+
return classes;
|
|
12210
|
+
}
|
|
12211
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12212
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: MicroButtonComponent, selector: "nas-micro-button", inputs: { text: "text", icon: "icon" }, usesInheritance: true, ngImport: i0, template: "<div class=\"nas-micro-button\">\n <div class=\"icon\" *ngIf=\"_icon.length > 0\">\n <nas-icon\n [icon]=\"_icon\"\n [type]=\"'small'\"\n [lightCircularBackground]=\"true\"\n [nasClass]=\"getClasses('nas-icon')\"\n ></nas-icon>\n </div>\n <div class=\"text-container\" [nasClass]=\"getClasses('text-container')\">\n <div class=\"text\" [nasClass]=\"getClasses('text')\">{{ text }}</div>\n </div>\n</div>\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-micro-button{display:inline-flex;align-items:flex-start;background:#003251;border-radius:4px;padding:8px 16px;align-items:center}.nas-micro-button nas-icon{width:16px;height:16px}.nas-micro-button__text-container{display:flex;justify-content:center;align-items:center;gap:10px}.nas-micro-button__text{color:#fff;text-align:center;font-family:Apercu Pro;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.nas-micro-button:hover{background:#002a3a}.nas-micro-button:focus{border-radius:3px;border:5px solid #3b99fc;background:#003251}.nas-micro-button:active{border-radius:3px;background:#002a3a #002a3a}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconComponent, selector: "nas-icon", inputs: ["icon", "type", "isIndicator", "lightCircularBackground", "cssClass"] }, { kind: "directive", type: NasClassDirective, selector: "[nasClass]", inputs: ["nasClass", "attr.class"] }] }); }
|
|
12213
|
+
}
|
|
12214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonComponent, decorators: [{
|
|
12215
|
+
type: Component,
|
|
12216
|
+
args: [{ selector: 'nas-micro-button', template: "<div class=\"nas-micro-button\">\n <div class=\"icon\" *ngIf=\"_icon.length > 0\">\n <nas-icon\n [icon]=\"_icon\"\n [type]=\"'small'\"\n [lightCircularBackground]=\"true\"\n [nasClass]=\"getClasses('nas-icon')\"\n ></nas-icon>\n </div>\n <div class=\"text-container\" [nasClass]=\"getClasses('text-container')\">\n <div class=\"text\" [nasClass]=\"getClasses('text')\">{{ text }}</div>\n </div>\n</div>\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-micro-button{display:inline-flex;align-items:flex-start;background:#003251;border-radius:4px;padding:8px 16px;align-items:center}.nas-micro-button nas-icon{width:16px;height:16px}.nas-micro-button__text-container{display:flex;justify-content:center;align-items:center;gap:10px}.nas-micro-button__text{color:#fff;text-align:center;font-family:Apercu Pro;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.nas-micro-button:hover{background:#002a3a}.nas-micro-button:focus{border-radius:3px;border:5px solid #3b99fc;background:#003251}.nas-micro-button:active{border-radius:3px;background:#002a3a #002a3a}\n"] }]
|
|
12217
|
+
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
12218
|
+
type: Input
|
|
12219
|
+
}], icon: [{
|
|
12220
|
+
type: Input
|
|
12221
|
+
}] } });
|
|
12222
|
+
|
|
12223
|
+
class MicroButtonModule {
|
|
12224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12225
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, declarations: [MicroButtonComponent], imports: [CommonModule,
|
|
12226
|
+
IconModule,
|
|
12227
|
+
NasClassModule], exports: [MicroButtonComponent] }); }
|
|
12228
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, imports: [CommonModule,
|
|
12229
|
+
IconModule,
|
|
12230
|
+
NasClassModule] }); }
|
|
12231
|
+
}
|
|
12232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MicroButtonModule, decorators: [{
|
|
12233
|
+
type: NgModule,
|
|
12234
|
+
args: [{
|
|
12235
|
+
declarations: [
|
|
12236
|
+
MicroButtonComponent
|
|
12237
|
+
],
|
|
12238
|
+
imports: [
|
|
12239
|
+
CommonModule,
|
|
12240
|
+
IconModule,
|
|
12241
|
+
NasClassModule
|
|
12242
|
+
],
|
|
12243
|
+
exports: [
|
|
12244
|
+
MicroButtonComponent
|
|
12245
|
+
]
|
|
12246
|
+
}]
|
|
12247
|
+
}] });
|
|
12248
|
+
|
|
12177
12249
|
class GetPositionService {
|
|
12178
12250
|
get(element) {
|
|
12179
12251
|
let el = element;
|
|
@@ -12199,5 +12271,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
|
|
|
12199
12271
|
* Generated bundle index. Do not edit.
|
|
12200
12272
|
*/
|
|
12201
12273
|
|
|
12202
|
-
export { AbandonedBasketService, AccordionComponent, AccordionModule, AirportSelectComponent, AirportSelectModule, AlertComponent, AlertModule, AnimateHelper, AutocompleteComponent, AutocompleteModule, BackdropComponent, BackdropModule, BemHelper, BoxComponent, BoxModule, ButtonComponent, ButtonModule, CalendarComponent, CheckboxComponent, CheckboxModule, ChipComponent, ChipModule, ColComponent, ColumnComponent, ColumnGroupComponent, ContainerComponent, ContainerModule, ContinueComponent, ContinueModule, CoverComponent, CoverModule, DateHelper, DatepickerComboComponent, DatepickerComboModule, DatepickerComponent, DatepickerModule, DeviceHelper, DividerComponent, DividerModule, DropdownComponent, DropdownModule, FilterComponent, FilterModule, GeolocationService, GetPositionService, GridComponent, GridModule, HamburgerComponent, IconComponent, IconListComponent, IconListModule, IconModule, InfoComponent, InfoModule, InputComponent, InputModule, JourneyAvailabilityComponent, JourneyAvailabilityListComponent, JourneyAvailabilityListModule, JourneyAvailabilityModule, JourneyComponent, JourneyModule, JourneySelectionComponent, JourneySelectionModule, JourneyStopoverComponent, JourneyStopoverModule, LanguageHelper, ListComponent, ListItemComponent, ListModule, ModalComponent, ModalModule, NasClassDirective, NasClassModule, NasComponentBase, NumberFieldComponent, NumberFieldModule, OptgroupComponent, OptionComponent, PageFooterComponent, PageFooterModule, PageHeaderComponent, PageHeaderModule, PassengerSelectComponent, PassengerSelectModule, PassengerType, PhoneNumberComponent, PhoneNumberModule, PremiumToggleComponent, PremiumToggleModule, RadioComponent, RadioModule, SearchComponent, SelectComponent, SelectModule, SimpleListComponent, SimpleListModule, SlideToggleComponent, SlideToggleModule, SliderComponent, SliderModule, SortComponent, SortModule, SortService, SpinnerComponent, SpinnerModule, SubsidyDiscountComponent, SubsidyDiscountModule, SuggestionsComponent, SuggestionsModule, TabComponent, TabGroupComponent, TabGroupModule, TableBodyComponent, TableComponent, TableDataComponent, TableFootComponent, TableHeadComponent, TableHeaderComponent, TableModule, TableRowComponent, TagComponent, TagModule, TextareaComponent, TextareaModule, ToggleComponent, ToggleModule, TripSummaryComponent, TripSummaryModule, TripType, UtcDate, ViewPortService, WeatherIconComponent, WeatherIconModule };
|
|
12274
|
+
export { AbandonedBasketService, AccordionComponent, AccordionModule, AirportSelectComponent, AirportSelectModule, AlertComponent, AlertModule, AnimateHelper, AutocompleteComponent, AutocompleteModule, BackdropComponent, BackdropModule, BemHelper, BoxComponent, BoxModule, ButtonComponent, ButtonModule, CalendarComponent, CheckboxComponent, CheckboxModule, ChipComponent, ChipModule, ColComponent, ColumnComponent, ColumnGroupComponent, ContainerComponent, ContainerModule, ContinueComponent, ContinueModule, CoverComponent, CoverModule, DateHelper, DatepickerComboComponent, DatepickerComboModule, DatepickerComponent, DatepickerModule, DeviceHelper, DividerComponent, DividerModule, DropdownComponent, DropdownModule, FilterComponent, FilterModule, GeolocationService, GetPositionService, GridComponent, GridModule, HamburgerComponent, IconComponent, IconListComponent, IconListModule, IconModule, InfoComponent, InfoModule, InputComponent, InputModule, JourneyAvailabilityComponent, JourneyAvailabilityListComponent, JourneyAvailabilityListModule, JourneyAvailabilityModule, JourneyComponent, JourneyModule, JourneySelectionComponent, JourneySelectionModule, JourneyStopoverComponent, JourneyStopoverModule, LanguageHelper, ListComponent, ListItemComponent, ListModule, MicroButtonComponent, MicroButtonModule, ModalComponent, ModalModule, NasClassDirective, NasClassModule, NasComponentBase, NumberFieldComponent, NumberFieldModule, OptgroupComponent, OptionComponent, PageFooterComponent, PageFooterModule, PageHeaderComponent, PageHeaderModule, PassengerSelectComponent, PassengerSelectModule, PassengerType, PhoneNumberComponent, PhoneNumberModule, PremiumToggleComponent, PremiumToggleModule, RadioComponent, RadioModule, SearchComponent, SelectComponent, SelectModule, SimpleListComponent, SimpleListModule, SlideToggleComponent, SlideToggleModule, SliderComponent, SliderModule, SortComponent, SortModule, SortService, SpinnerComponent, SpinnerModule, SubsidyDiscountComponent, SubsidyDiscountModule, SuggestionsComponent, SuggestionsModule, TabComponent, TabGroupComponent, TabGroupModule, TableBodyComponent, TableComponent, TableDataComponent, TableFootComponent, TableHeadComponent, TableHeaderComponent, TableModule, TableRowComponent, TagComponent, TagModule, TextareaComponent, TextareaModule, ToggleComponent, ToggleModule, TripSummaryComponent, TripSummaryModule, TripType, UtcDate, ViewPortService, WeatherIconComponent, WeatherIconModule };
|
|
12203
12275
|
//# sourceMappingURL=norwegian-core-components.mjs.map
|