@inera/ids-angular 1.8.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/inera-ids-angular.umd.js +81 -21
- package/bundles/inera-ids-angular.umd.js.map +1 -1
- package/esm2015/lib/classes/header/IDHeaderAvatar.js +4 -1
- package/esm2015/lib/classes/header/IDHeaderAvatarProps.js +1 -1
- package/esm2015/lib/classes/header/IDHeaderNavItem.js +4 -1
- package/esm2015/lib/classes/header/IDHeaderNavItemProps.js +1 -1
- package/esm2015/lib/components/button/button.component.js +11 -5
- package/esm2015/lib/components/card/card.component.js +2 -2
- package/esm2015/lib/components/card/card.module.js +1 -1
- package/esm2015/lib/components/dialog/actions/dialog-actions.component.js +2 -2
- package/esm2015/lib/components/dialog/dialog.component.js +2 -2
- package/esm2015/lib/components/dialog/dialog.module.js +1 -1
- package/esm2015/lib/components/grid/column/column.component.js +24 -7
- package/esm2015/lib/components/grid/container/container.component.js +5 -2
- package/esm2015/lib/components/grid/row/row.component.js +18 -6
- package/esm2015/lib/components/header/header.component.js +2 -2
- package/fesm2015/inera-ids-angular.js +63 -19
- package/fesm2015/inera-ids-angular.js.map +1 -1
- package/lib/classes/header/IDHeaderAvatar.d.ts +1 -0
- package/lib/classes/header/IDHeaderAvatarProps.d.ts +1 -0
- package/lib/classes/header/IDHeaderNavItem.d.ts +1 -0
- package/lib/classes/header/IDHeaderNavItemProps.d.ts +1 -0
- package/lib/components/button/button.component.d.ts +4 -2
- package/lib/components/grid/column/column.component.d.ts +10 -3
- package/lib/components/grid/container/container.component.d.ts +2 -1
- package/lib/components/grid/row/row.component.d.ts +7 -2
- package/package.json +2 -2
|
@@ -144,7 +144,9 @@ class IDButtonComponent {
|
|
|
144
144
|
constructor() {
|
|
145
145
|
this.secondary = false;
|
|
146
146
|
this.toggle = false;
|
|
147
|
-
this.
|
|
147
|
+
this.block = false;
|
|
148
|
+
this.sBlock = false;
|
|
149
|
+
this.mBlock = false;
|
|
148
150
|
this.active = false;
|
|
149
151
|
this.submit = false;
|
|
150
152
|
this.search = false;
|
|
@@ -153,20 +155,24 @@ class IDButtonComponent {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
IDButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
156
|
-
IDButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDButtonComponent, selector: "id-button", inputs: { secondary: "secondary", toggle: "toggle",
|
|
158
|
+
IDButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDButtonComponent, selector: "id-button", inputs: { secondary: "secondary", toggle: "toggle", block: "block", sBlock: "sBlock", mBlock: "mBlock", active: "active", submit: "submit", search: "search", disabled: "disabled", type: "type" }, ngImport: i0, template: "<ids-button \r\n [secondary]=\"secondary ? 'true' : null\"\r\n [toggle]=\"toggle ? 'true' : null\"\r\n [active]=\"active ? 'true' : null\"\r\n [submit]=\"submit ? 'true' : null\"\r\n [search]=\"search ? 'true' : null\"\r\n [disabled]=\"disabled ? 'true' : null\"\r\n [block]=\"block ? 'true' : null\"\r\n [s-block]=\"sBlock ? 'true' : null\"\r\n [m-block]=\"mBlock ? 'true' : null\"\r\n [type]=\"type\">\r\n <ng-content></ng-content>\r\n</ids-button>", styles: ["id-button[ng-reflect-block=true], id-button[ng-reflect-m-block=true], id-button[ng-reflect-s-block=true] { display: contents; }"], encapsulation: i0.ViewEncapsulation.None });
|
|
157
159
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDButtonComponent, decorators: [{
|
|
158
160
|
type: Component,
|
|
159
161
|
args: [{
|
|
160
162
|
selector: 'id-button',
|
|
161
163
|
templateUrl: './button.component.html',
|
|
162
|
-
styles: ['id-button[ng-reflect-
|
|
164
|
+
styles: ['id-button[ng-reflect-block=true], id-button[ng-reflect-m-block=true], id-button[ng-reflect-s-block=true] { display: contents; }'],
|
|
163
165
|
encapsulation: ViewEncapsulation.None,
|
|
164
166
|
}]
|
|
165
167
|
}], ctorParameters: function () { return []; }, propDecorators: { secondary: [{
|
|
166
168
|
type: Input
|
|
167
169
|
}], toggle: [{
|
|
168
170
|
type: Input
|
|
169
|
-
}],
|
|
171
|
+
}], block: [{
|
|
172
|
+
type: Input
|
|
173
|
+
}], sBlock: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}], mBlock: [{
|
|
170
176
|
type: Input
|
|
171
177
|
}], active: [{
|
|
172
178
|
type: Input
|
|
@@ -477,7 +483,7 @@ class IDCardComponent {
|
|
|
477
483
|
}
|
|
478
484
|
}
|
|
479
485
|
IDCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
480
|
-
IDCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDCardComponent, selector: "id-card", inputs: { fill: "fill" }, ngImport: i0, template: "<ids-card \n [fill]=\"fill\">\n <ng-content></ng-content>\n</ids-card>", encapsulation: i0.ViewEncapsulation.None });
|
|
486
|
+
IDCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDCardComponent, selector: "id-card", inputs: { fill: "fill" }, ngImport: i0, template: "<ids-card \r\n [fill]=\"fill\">\r\n <ng-content></ng-content>\r\n</ids-card>", encapsulation: i0.ViewEncapsulation.None });
|
|
481
487
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDCardComponent, decorators: [{
|
|
482
488
|
type: Component,
|
|
483
489
|
args: [{
|
|
@@ -566,7 +572,7 @@ class IDDialogComponent {
|
|
|
566
572
|
}
|
|
567
573
|
}
|
|
568
574
|
IDDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
569
|
-
IDDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogComponent, selector: "id-dialog", inputs: { dismissible: "dismissible", headline: "headline", overlay: "overlay", persistent: "persistent", show: "show", width: "width" }, ngImport: i0, template: "<ids-dialog \n [dismissible]=\"dismissible\"\n [headline]=\"headline\"\n [overlay]=\"overlay\"\n [persistent]=\"persistent\"\n [show]=\"show\"\n [width]=\"width\">\n <ng-content></ng-content>\n</ids-dialog>", encapsulation: i0.ViewEncapsulation.None });
|
|
575
|
+
IDDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogComponent, selector: "id-dialog", inputs: { dismissible: "dismissible", headline: "headline", overlay: "overlay", persistent: "persistent", show: "show", width: "width" }, ngImport: i0, template: "<ids-dialog \r\n [dismissible]=\"dismissible\"\r\n [headline]=\"headline\"\r\n [overlay]=\"overlay\"\r\n [persistent]=\"persistent\"\r\n [show]=\"show\"\r\n [width]=\"width\">\r\n <ng-content></ng-content>\r\n</ids-dialog>", encapsulation: i0.ViewEncapsulation.None });
|
|
570
576
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDDialogComponent, decorators: [{
|
|
571
577
|
type: Component,
|
|
572
578
|
args: [{
|
|
@@ -592,7 +598,7 @@ class IDDialogActionsComponent {
|
|
|
592
598
|
constructor() { }
|
|
593
599
|
}
|
|
594
600
|
IDDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDDialogActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
595
|
-
IDDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogActionsComponent, selector: "id-dialog-actions", ngImport: i0, template: "<ids-dialog-actions>\n <ng-content></ng-content>\n</ids-dialog-actions>", encapsulation: i0.ViewEncapsulation.None });
|
|
601
|
+
IDDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogActionsComponent, selector: "id-dialog-actions", ngImport: i0, template: "<ids-dialog-actions>\r\n <ng-content></ng-content>\r\n</ids-dialog-actions>", encapsulation: i0.ViewEncapsulation.None });
|
|
596
602
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDDialogActionsComponent, decorators: [{
|
|
597
603
|
type: Component,
|
|
598
604
|
args: [{
|
|
@@ -1148,17 +1154,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1148
1154
|
}] });
|
|
1149
1155
|
|
|
1150
1156
|
class IDRowComponent {
|
|
1151
|
-
constructor() {
|
|
1157
|
+
constructor(_elementRef) {
|
|
1158
|
+
this._elementRef = _elementRef;
|
|
1159
|
+
this.align = null;
|
|
1160
|
+
this.justify = null;
|
|
1161
|
+
this.style = null;
|
|
1162
|
+
this._elementRef.nativeElement.removeAttribute('style');
|
|
1163
|
+
}
|
|
1152
1164
|
}
|
|
1153
|
-
IDRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1154
|
-
IDRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDRowComponent, selector: "id-row", ngImport: i0, template: "<ids-row>\r\n <ng-content></ng-content>\r\n</ids-row>" });
|
|
1165
|
+
IDRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDRowComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1166
|
+
IDRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDRowComponent, selector: "id-row", inputs: { align: "align", justify: "justify", style: "style" }, ngImport: i0, template: "<ids-row [style]=\"style\" [justify]=\"justify\" [align]=\"align\">\r\n <ng-content></ng-content>\r\n</ids-row>" });
|
|
1155
1167
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDRowComponent, decorators: [{
|
|
1156
1168
|
type: Component,
|
|
1157
1169
|
args: [{
|
|
1158
1170
|
selector: 'id-row',
|
|
1159
1171
|
templateUrl: './row.component.html',
|
|
1160
1172
|
}]
|
|
1161
|
-
}], ctorParameters: function () { return []; }
|
|
1173
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { align: [{
|
|
1174
|
+
type: Input
|
|
1175
|
+
}], justify: [{
|
|
1176
|
+
type: Input
|
|
1177
|
+
}], style: [{
|
|
1178
|
+
type: Input
|
|
1179
|
+
}] } });
|
|
1162
1180
|
|
|
1163
1181
|
class IDRowModule {
|
|
1164
1182
|
}
|
|
@@ -1179,14 +1197,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1179
1197
|
}] });
|
|
1180
1198
|
|
|
1181
1199
|
class IDColumnComponent {
|
|
1182
|
-
constructor() {
|
|
1200
|
+
constructor(_elementRef) {
|
|
1201
|
+
this._elementRef = _elementRef;
|
|
1183
1202
|
this.cols = "";
|
|
1184
|
-
this.
|
|
1203
|
+
this.offset = null;
|
|
1204
|
+
this.m = "";
|
|
1205
|
+
this.mOffset = null;
|
|
1206
|
+
this.s = "";
|
|
1207
|
+
this.sOffset = null;
|
|
1185
1208
|
this.align = "";
|
|
1209
|
+
this.style = null;
|
|
1210
|
+
this._elementRef.nativeElement.removeAttribute('style');
|
|
1186
1211
|
}
|
|
1187
1212
|
}
|
|
1188
|
-
IDColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1189
|
-
IDColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDColumnComponent, selector: "id-col", inputs: { cols: "cols",
|
|
1213
|
+
IDColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDColumnComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1214
|
+
IDColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDColumnComponent, selector: "id-col", inputs: { cols: "cols", offset: "offset", m: "m", mOffset: "mOffset", s: "s", sOffset: "sOffset", align: "align", style: "style" }, ngImport: i0, template: "<ids-col \r\n [attr.cols]=\"cols\"\r\n [attr.offset]=\"offset\"\r\n [attr.m]=\"m\" \r\n [attr.m-offset]=\"[mOffset]\"\r\n [attr.s]=\"s\" \r\n [attr.s-offset]=\"[sOffset]\"\r\n [attr.align]=\"align\"\r\n [attr.style]=\"style\">\r\n <ng-content></ng-content>\r\n</ids-col>", styles: ["id-col { display: contents; }"], encapsulation: i0.ViewEncapsulation.None });
|
|
1190
1215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDColumnComponent, decorators: [{
|
|
1191
1216
|
type: Component,
|
|
1192
1217
|
args: [{
|
|
@@ -1195,12 +1220,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1195
1220
|
encapsulation: ViewEncapsulation.None,
|
|
1196
1221
|
styles: ['id-col { display: contents; }']
|
|
1197
1222
|
}]
|
|
1198
|
-
}], ctorParameters: function () { return []; }, propDecorators: { cols: [{
|
|
1223
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { cols: [{
|
|
1224
|
+
type: Input
|
|
1225
|
+
}], offset: [{
|
|
1226
|
+
type: Input
|
|
1227
|
+
}], m: [{
|
|
1199
1228
|
type: Input
|
|
1200
|
-
}],
|
|
1229
|
+
}], mOffset: [{
|
|
1230
|
+
type: Input
|
|
1231
|
+
}], s: [{
|
|
1232
|
+
type: Input
|
|
1233
|
+
}], sOffset: [{
|
|
1201
1234
|
type: Input
|
|
1202
1235
|
}], align: [{
|
|
1203
1236
|
type: Input
|
|
1237
|
+
}], style: [{
|
|
1238
|
+
type: Input
|
|
1204
1239
|
}] } });
|
|
1205
1240
|
|
|
1206
1241
|
class IDColumnModule {
|
|
@@ -1224,10 +1259,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1224
1259
|
class IDContainerComponent {
|
|
1225
1260
|
constructor() {
|
|
1226
1261
|
this.fluid = false;
|
|
1262
|
+
this.gutterless = false;
|
|
1227
1263
|
}
|
|
1228
1264
|
}
|
|
1229
1265
|
IDContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1230
|
-
IDContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDContainerComponent, selector: "id-container", inputs: { fluid: "fluid" }, ngImport: i0, template: "<ids-container [attr.fluid]=\"fluid\">\r\n <ng-content></ng-content>\r\n</ids-container>", encapsulation: i0.ViewEncapsulation.None });
|
|
1266
|
+
IDContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDContainerComponent, selector: "id-container", inputs: { fluid: "fluid", gutterless: "gutterless" }, ngImport: i0, template: "<ids-container \r\n [attr.gutterless]=\"gutterless ? true : null\" \r\n [attr.fluid]=\"fluid ? true : null\">\r\n <ng-content></ng-content>\r\n</ids-container>", encapsulation: i0.ViewEncapsulation.None });
|
|
1231
1267
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDContainerComponent, decorators: [{
|
|
1232
1268
|
type: Component,
|
|
1233
1269
|
args: [{
|
|
@@ -1237,6 +1273,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1237
1273
|
}]
|
|
1238
1274
|
}], ctorParameters: function () { return []; }, propDecorators: { fluid: [{
|
|
1239
1275
|
type: Input
|
|
1276
|
+
}], gutterless: [{
|
|
1277
|
+
type: Input
|
|
1240
1278
|
}] } });
|
|
1241
1279
|
|
|
1242
1280
|
class IDContainerModule {
|
|
@@ -1642,7 +1680,7 @@ class IDHeaderComponent {
|
|
|
1642
1680
|
}
|
|
1643
1681
|
}
|
|
1644
1682
|
IDHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1645
|
-
IDHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDHeaderComponent, selector: "id-header", inputs: { type: "type", brandText: "brandText", brandTextTop: "brandTextTop", brandTextBottom: "brandTextBottom", hideRegionPicker: "hideRegionPicker", hideBrand: "hideBrand", pickRegionText: "pickRegionText", regionIcon: "regionIcon", width: "width", srLogoLabel: "srLogoLabel", items: "items", avatar: "avatar", navItems: "navItems", mobileItems: "mobileItems", mobileMenuItems: "mobileMenuItems" }, outputs: { didToggleRegion: "didToggleRegion" }, ngImport: i0, template: "<ids-header \r\n [attr.type]=\"type\"\r\n [attr.brandtext]=\"brandText\"\r\n [attr.brandtexttop]=\"brandTextTop\"\r\n [attr.brandtextbottom]=\"brandTextBottom\"\r\n [hideregionpicker]=\"hideRegionPicker\"\r\n [hidebrand]=\"hideBrand\"\r\n [pickregiontext]=\"pickRegionText\"\r\n [regionicon]=\"regionIcon\"\r\n [width]=\"width\"\r\n [srlogolabel]=\"srLogoLabel\"\r\n (didToggleRegion)=\"didToggleRegion.emit(true)\">\r\n\r\n <ids-header-item *ngFor=\"let item of items\" \r\n [icon]=\"item.iconName\" \r\n [mobile]=\"item.mobile\">\r\n <id-anchor [link]=\"item.link\"></id-anchor>\r\n </ids-header-item>\r\n\r\n <ids-header-nav *ngIf=\"navItems || mobileItems\">\r\n <ids-header-nav-item *ngFor=\"let navItem of navItems; let i = index\" [label]=\"navItem.label\" [link]=\"navItem.link\">\r\n <id-anchor *ngIf=\"navItem.link\" [link]=\"navItem.link\"></id-anchor>\r\n <ids-link slot=\"col-1\" [block]=\"true\" *ngFor=\"let link of navItem.col1\">\r\n <ids-icon *ngIf=\"type.indexOf('1177')\" name=\"arrow\"></ids-icon>\r\n <ids-icon *ngIf=\"type.indexOf('inera')\" color=\"var(--color-main)\" name=\"arrow\"></ids-icon>\r\n <id-anchor [link]=\"link\"></id-anchor>\r\n </ids-link> \r\n <ids-link slot=\"col-2\" [block]=\"true\" *ngFor=\"let link of navItem.col2\">\r\n <ids-icon *ngIf=\"type.indexOf('1177')\" name=\"arrow\"></ids-icon>\r\n <ids-icon *ngIf=\"type.indexOf('inera')\" color=\"var(--color-main)\" name=\"arrow\"></ids-icon>\r\n <id-anchor [link]=\"link\"></id-anchor>\r\n </ids-link>\r\n <ids-link slot=\"col-3\" [block]=\"true\" *ngFor=\"let link of navItem.col3\">\r\n <ids-icon *ngIf=\"type.indexOf('1177')\" name=\"arrow\"></ids-icon>\r\n <ids-icon *ngIf=\"type.indexOf('inera')\" color=\"var(--color-main)\" name=\"arrow\"></ids-icon>\r\n <id-anchor [link]=\"link\"></id-anchor>\r\n </ids-link>\r\n <div slot=\"col-4\">\r\n <h2 style=\"margin-bottom: 15px; color: var(--header-nav-item-heading_color);\" class=\"h2\">{{navItem.headline}}</h2>\r\n <p class=\"body\">{{navItem.paragraph}}</p>\r\n <id-anchor>{{navItem.paragraphLink}}</id-anchor>\r\n </div>\r\n </ids-header-nav-item>\r\n <ids-header-mobile-item *ngFor=\"let mobileItem of mobileItems\" [icon]=\"mobileItem.iconName\">\r\n <id-anchor [link]=\"mobileItem.link\"></id-anchor>\r\n </ids-header-mobile-item>\r\n \r\n <ids-header-mobile-menu *ngIf=\"mobileMenuItems\">\r\n Menu\r\n <ids-mobile-menu-item *ngFor=\"let item of mobileMenuItems\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-header-mobile-menu>\r\n </ids-header-nav>\r\n\r\n <ids-header-avatar *ngIf=\"avatar\" [username]=\"avatar.username\">\r\n <ng-content select=\"[avatar]\"></ng-content>\r\n <span slot=\"avatar-text\">{{avatar.serviceName}}</span>\r\n <id-anchor [link]=\"avatar.linkLeft\" slot=\"avatar-left\"></id-anchor>\r\n <id-anchor [link]=\"avatar.linkRight\" slot=\"avatar-right\"></id-anchor>\r\n </ids-header-avatar>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ids-header-mobile-menu \r\n *ngIf=\"type !== '1177' && (mobileMenuItems || avatar)\"\r\n [type]=\"type\">\r\n <ids-mobile-menu-avatar *ngIf=\"avatar\" [username]=\"avatar.username\">\r\n <ng-content select=\"[avatarMobile]\"></ng-content>\r\n </ids-mobile-menu-avatar>\r\n <ids-mobile-menu-item *ngFor=\"let item of mobileMenuItems\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-header-mobile-menu>\r\n</ids-header>", components: [{ type: IDAnchorComponent, selector: "id-anchor", inputs: ["link", "contextClasses"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1683
|
+
IDHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDHeaderComponent, selector: "id-header", inputs: { type: "type", brandText: "brandText", brandTextTop: "brandTextTop", brandTextBottom: "brandTextBottom", hideRegionPicker: "hideRegionPicker", hideBrand: "hideBrand", pickRegionText: "pickRegionText", regionIcon: "regionIcon", width: "width", srLogoLabel: "srLogoLabel", items: "items", avatar: "avatar", navItems: "navItems", mobileItems: "mobileItems", mobileMenuItems: "mobileMenuItems" }, outputs: { didToggleRegion: "didToggleRegion" }, ngImport: i0, template: "<ids-header \r\n [attr.type]=\"type\"\r\n [attr.brandtext]=\"brandText\"\r\n [attr.brandtexttop]=\"brandTextTop\"\r\n [attr.brandtextbottom]=\"brandTextBottom\"\r\n [hideregionpicker]=\"hideRegionPicker\"\r\n [hidebrand]=\"hideBrand\"\r\n [pickregiontext]=\"pickRegionText\"\r\n [regionicon]=\"regionIcon\"\r\n [width]=\"width\"\r\n [srlogolabel]=\"srLogoLabel\"\r\n (didToggleRegion)=\"didToggleRegion.emit(true)\">\r\n\r\n <ids-header-item *ngFor=\"let item of items\" \r\n [icon]=\"item.iconName\" \r\n [mobile]=\"item.mobile\">\r\n <id-anchor [link]=\"item.link\"></id-anchor>\r\n </ids-header-item>\r\n\r\n <ids-header-nav *ngIf=\"navItems || mobileItems\">\r\n <ids-header-nav-item *ngFor=\"let navItem of navItems; let i = index\" [label]=\"navItem.label\" [link]=\"navItem.link\" [active]=\"navItem.active\">\r\n <id-anchor *ngIf=\"navItem.link\" [link]=\"navItem.link\"></id-anchor>\r\n <ids-link slot=\"col-1\" [block]=\"true\" *ngFor=\"let link of navItem.col1\">\r\n <ids-icon *ngIf=\"type.indexOf('1177')\" name=\"arrow\"></ids-icon>\r\n <ids-icon *ngIf=\"type.indexOf('inera')\" color=\"var(--color-main)\" name=\"arrow\"></ids-icon>\r\n <id-anchor [link]=\"link\"></id-anchor>\r\n </ids-link> \r\n <ids-link slot=\"col-2\" [block]=\"true\" *ngFor=\"let link of navItem.col2\">\r\n <ids-icon *ngIf=\"type.indexOf('1177')\" name=\"arrow\"></ids-icon>\r\n <ids-icon *ngIf=\"type.indexOf('inera')\" color=\"var(--color-main)\" name=\"arrow\"></ids-icon>\r\n <id-anchor [link]=\"link\"></id-anchor>\r\n </ids-link>\r\n <ids-link slot=\"col-3\" [block]=\"true\" *ngFor=\"let link of navItem.col3\">\r\n <ids-icon *ngIf=\"type.indexOf('1177')\" name=\"arrow\"></ids-icon>\r\n <ids-icon *ngIf=\"type.indexOf('inera')\" color=\"var(--color-main)\" name=\"arrow\"></ids-icon>\r\n <id-anchor [link]=\"link\"></id-anchor>\r\n </ids-link>\r\n <div slot=\"col-4\">\r\n <h2 style=\"margin-bottom: 15px; color: var(--header-nav-item-heading_color);\" class=\"h2\">{{navItem.headline}}</h2>\r\n <p class=\"body\">{{navItem.paragraph}}</p>\r\n <id-anchor>{{navItem.paragraphLink}}</id-anchor>\r\n </div>\r\n </ids-header-nav-item>\r\n <ids-header-mobile-item *ngFor=\"let mobileItem of mobileItems\" [icon]=\"mobileItem.iconName\">\r\n <id-anchor [link]=\"mobileItem.link\"></id-anchor>\r\n </ids-header-mobile-item>\r\n \r\n <ids-header-mobile-menu *ngIf=\"mobileMenuItems\">\r\n Menu\r\n <ids-mobile-menu-item *ngFor=\"let item of mobileMenuItems\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n [secondary]=\"item?.secondary\"\r\n [active]=\"item?.active\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-header-mobile-menu>\r\n </ids-header-nav>\r\n\r\n <ids-header-avatar *ngIf=\"avatar\" [username]=\"avatar.username\">\r\n <ng-content select=\"[avatar]\"></ng-content>\r\n <span slot=\"avatar-text\">{{avatar.serviceName}}</span>\r\n <id-anchor [link]=\"avatar.linkLeft\" slot=\"avatar-left\"></id-anchor>\r\n <id-anchor [link]=\"avatar.linkRight\" slot=\"avatar-right\"></id-anchor>\r\n </ids-header-avatar>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ids-header-mobile-menu \r\n *ngIf=\"type !== '1177' && (mobileMenuItems || avatar)\"\r\n [type]=\"type\">\r\n <ids-mobile-menu-avatar *ngIf=\"avatar\" [username]=\"avatar.username\">\r\n <ng-content select=\"[avatarMobile]\"></ng-content>\r\n <id-anchor style=\"color: var(--mobile-menu-avatar-link)\" *ngIf=\"avatar.linkMobile\" [link]=\"avatar.linkMobile\"></id-anchor>\r\n </ids-mobile-menu-avatar>\r\n <ids-mobile-menu-item *ngFor=\"let item of mobileMenuItems\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\r\n [attr.type]=\"type\"\r\n [headline]=\"item?.headline\"\r\n [expanded]=\"item?.expanded\"\r\n (didToggleExpansion)=\"item.togleExpansion()\">\r\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-mobile-menu-item>\r\n </ids-header-mobile-menu>\r\n</ids-header>", components: [{ type: IDAnchorComponent, selector: "id-anchor", inputs: ["link", "contextClasses"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1646
1684
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderComponent, decorators: [{
|
|
1647
1685
|
type: Component,
|
|
1648
1686
|
args: [{
|
|
@@ -1733,6 +1771,9 @@ class IDHeaderAvatar {
|
|
|
1733
1771
|
get serviceName() {
|
|
1734
1772
|
return this._props.serviceName;
|
|
1735
1773
|
}
|
|
1774
|
+
get linkMobile() {
|
|
1775
|
+
return this._props.linkMobile;
|
|
1776
|
+
}
|
|
1736
1777
|
}
|
|
1737
1778
|
|
|
1738
1779
|
class IDHeaderNavItem {
|
|
@@ -1763,6 +1804,9 @@ class IDHeaderNavItem {
|
|
|
1763
1804
|
get paragraphLink() {
|
|
1764
1805
|
return this._props.pragraphLink;
|
|
1765
1806
|
}
|
|
1807
|
+
get active() {
|
|
1808
|
+
return this._props.active;
|
|
1809
|
+
}
|
|
1766
1810
|
}
|
|
1767
1811
|
|
|
1768
1812
|
class IDTabsComponent {
|