@inera/ids-angular 1.1.0 → 1.3.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/bundles/inera-ids-angular.umd.js +1190 -26
- package/bundles/inera-ids-angular.umd.js.map +1 -1
- package/esm2015/lib/classes/header/IDHeaderAvatar.js +18 -0
- package/esm2015/lib/classes/header/IDHeaderAvatarProps.js +2 -0
- package/esm2015/lib/classes/header/IDHeaderItem.js +15 -0
- package/esm2015/lib/classes/header/IDHeaderItemProps.js +2 -0
- package/esm2015/lib/classes/header/IDHeaderNavItem.js +30 -0
- package/esm2015/lib/classes/header/IDHeaderNavItemProps.js +2 -0
- package/esm2015/lib/classes/icon/IDIcon.js +33 -0
- package/esm2015/lib/classes/icon/IDIconProps.js +2 -0
- package/esm2015/lib/classes/link/IDLink.js +26 -0
- package/esm2015/lib/classes/link/IDLinkFunction.js +17 -0
- package/esm2015/lib/classes/link/IDLinkRoute.js +30 -0
- package/esm2015/lib/classes/link/IDLinkWeb.js +24 -0
- package/esm2015/lib/classes/mobile/MobileMenuItem.js +35 -0
- package/esm2015/lib/classes/mobile/MobileMenuItemProps.js +2 -0
- package/esm2015/lib/classes/notification-badge.js +17 -0
- package/esm2015/lib/components/alert/alert.component.js +39 -0
- package/esm2015/lib/{alert → components/alert}/alert.module.js +1 -1
- package/esm2015/lib/{alert-global → components/alert-global}/alert-global.component.js +1 -1
- package/esm2015/lib/{alert-global → components/alert-global}/alert-global.module.js +1 -1
- package/esm2015/lib/components/button/button.component.js +41 -0
- package/esm2015/lib/{button → components/button}/button.module.js +1 -1
- package/esm2015/lib/{button-group → components/button-group}/button-group.component.js +1 -1
- package/esm2015/lib/{button-group → components/button-group}/button-group.module.js +1 -1
- package/esm2015/lib/components/footer/footer.component.js +33 -0
- package/esm2015/lib/components/footer/footer.module.js +25 -0
- package/esm2015/lib/{form → components/form}/checkbox/checkbox.component.js +1 -1
- package/esm2015/lib/{form → components/form}/checkbox/checkbox.module.js +1 -1
- package/esm2015/lib/{form → components/form}/checkbox-group/checkbox-group.component.js +1 -1
- package/esm2015/lib/components/form/checkbox-group/checkbox-group.module.js +25 -0
- package/esm2015/lib/components/form/error-message/error-message.component.js +21 -0
- package/esm2015/lib/{form → components/form}/error-message/error-message.module.js +1 -1
- package/esm2015/lib/{form → components/form}/input/input.component.js +1 -1
- package/esm2015/lib/{form → components/form}/input/input.module.js +1 -1
- package/esm2015/lib/components/form/radio/radio-group.component.js +30 -0
- package/esm2015/lib/{form → components/form}/radio/radio.component.js +1 -1
- package/esm2015/lib/components/form/radio/radio.module.js +33 -0
- package/esm2015/lib/{form → components/form}/range/range.component.js +1 -1
- package/esm2015/lib/{form → components/form}/range/range.module.js +1 -1
- package/esm2015/lib/{form → components/form}/select/select.component.js +1 -1
- package/esm2015/lib/{form → components/form}/select/select.module.js +1 -1
- package/esm2015/lib/components/form/select-multiple/select-multiple.component.js +27 -0
- package/esm2015/lib/{form → components/form}/select-multiple/select-multiple.module.js +1 -1
- package/esm2015/lib/components/form/spinner/spinner.component.js +23 -0
- package/esm2015/lib/{form → components/form}/spinner/spinner.module.js +1 -1
- package/esm2015/lib/{form → components/form}/textarea/textarea.component.js +1 -1
- package/esm2015/lib/{form → components/form}/textarea/textarea.module.js +1 -1
- package/esm2015/lib/{form → components/form}/time/time.component.js +1 -1
- package/esm2015/lib/{form → components/form}/time/time.module.js +1 -1
- package/esm2015/lib/components/grid/column/column.component.js +27 -0
- package/esm2015/lib/{grid → components/grid}/column/column.module.js +1 -1
- package/esm2015/lib/components/grid/container/container.component.js +20 -0
- package/esm2015/lib/{grid → components/grid}/container/container.module.js +1 -1
- package/esm2015/lib/{grid → components/grid}/row/row.component.js +1 -1
- package/esm2015/lib/{grid → components/grid}/row/row.module.js +1 -1
- package/esm2015/lib/components/header/header.component.js +50 -0
- package/esm2015/lib/components/header/header.module.js +25 -0
- package/esm2015/lib/components/icon/icon.component.js +41 -0
- package/esm2015/lib/{icon → components/icon}/icon.module.js +1 -1
- package/esm2015/lib/components/link/link.component.js +60 -0
- package/esm2015/lib/components/link/link.module.js +26 -0
- package/esm2015/lib/components/mobile/menu/mobile-menu.component.js +27 -0
- package/esm2015/lib/components/mobile/menu/mobile-menu.module.js +25 -0
- package/esm2015/lib/components/notification/badge/notification-badge.component.js +23 -0
- package/esm2015/lib/components/notification/badge/notification-badge.module.js +22 -0
- package/esm2015/lib/internals/anchor.component.js +75 -0
- package/esm2015/lib/internals/anchor.module.js +26 -0
- package/esm2015/public-api.js +75 -40
- package/fesm2015/inera-ids-angular.js +616 -9
- package/fesm2015/inera-ids-angular.js.map +1 -1
- package/lib/classes/header/IDHeaderAvatar.d.ts +10 -0
- package/lib/classes/header/IDHeaderAvatarProps.d.ts +7 -0
- package/lib/classes/header/IDHeaderItem.d.ts +8 -0
- package/lib/classes/header/IDHeaderItemProps.d.ts +6 -0
- package/lib/classes/header/IDHeaderNavItem.d.ts +13 -0
- package/lib/classes/header/IDHeaderNavItemProps.d.ts +11 -0
- package/lib/classes/icon/IDIcon.d.ts +14 -0
- package/lib/classes/icon/IDIconProps.d.ts +11 -0
- package/lib/classes/link/IDLink.d.ts +13 -0
- package/lib/classes/link/IDLinkFunction.d.ts +8 -0
- package/lib/classes/link/IDLinkRoute.d.ts +13 -0
- package/lib/classes/link/IDLinkWeb.d.ts +11 -0
- package/lib/classes/mobile/MobileMenuItem.d.ts +14 -0
- package/lib/classes/mobile/MobileMenuItemProps.d.ts +11 -0
- package/lib/classes/notification-badge.d.ts +9 -0
- package/lib/{alert → components/alert}/alert.component.d.ts +0 -0
- package/lib/{alert → components/alert}/alert.module.d.ts +0 -0
- package/lib/{alert-global → components/alert-global}/alert-global.component.d.ts +0 -0
- package/lib/{alert-global → components/alert-global}/alert-global.module.d.ts +0 -0
- package/lib/{button → components/button}/button.component.d.ts +0 -0
- package/lib/{button → components/button}/button.module.d.ts +0 -0
- package/lib/{button-group → components/button-group}/button-group.component.d.ts +0 -0
- package/lib/{button-group → components/button-group}/button-group.module.d.ts +0 -0
- package/lib/components/footer/footer.component.d.ts +12 -0
- package/lib/components/footer/footer.module.d.ts +10 -0
- package/lib/{form → components/form}/checkbox/checkbox.component.d.ts +0 -0
- package/lib/{form → components/form}/checkbox/checkbox.module.d.ts +0 -0
- package/lib/{form → components/form}/checkbox-group/checkbox-group.component.d.ts +0 -0
- package/lib/{form → components/form}/checkbox-group/checkbox-group.module.d.ts +0 -0
- package/lib/{form → components/form}/error-message/error-message.component.d.ts +0 -0
- package/lib/{form → components/form}/error-message/error-message.module.d.ts +0 -0
- package/lib/{form → components/form}/input/input.component.d.ts +0 -0
- package/lib/{form → components/form}/input/input.module.d.ts +0 -0
- package/lib/{form → components/form}/radio/radio-group.component.d.ts +0 -0
- package/lib/{form → components/form}/radio/radio.component.d.ts +0 -0
- package/lib/{form → components/form}/radio/radio.module.d.ts +0 -0
- package/lib/{form → components/form}/range/range.component.d.ts +0 -0
- package/lib/{form → components/form}/range/range.module.d.ts +0 -0
- package/lib/{form → components/form}/select/select.component.d.ts +0 -0
- package/lib/{form → components/form}/select/select.module.d.ts +0 -0
- package/lib/{form → components/form}/select-multiple/select-multiple.component.d.ts +0 -0
- package/lib/{form → components/form}/select-multiple/select-multiple.module.d.ts +0 -0
- package/lib/{form → components/form}/spinner/spinner.component.d.ts +0 -0
- package/lib/{form → components/form}/spinner/spinner.module.d.ts +0 -0
- package/lib/{form → components/form}/textarea/textarea.component.d.ts +0 -0
- package/lib/{form → components/form}/textarea/textarea.module.d.ts +0 -0
- package/lib/{form → components/form}/time/time.component.d.ts +0 -0
- package/lib/{form → components/form}/time/time.module.d.ts +0 -0
- package/lib/{grid → components/grid}/column/column.component.d.ts +0 -0
- package/lib/{grid → components/grid}/column/column.module.d.ts +0 -0
- package/lib/{grid → components/grid}/container/container.component.d.ts +0 -0
- package/lib/{grid → components/grid}/container/container.module.d.ts +0 -0
- package/lib/{grid → components/grid}/row/row.component.d.ts +0 -0
- package/lib/{grid → components/grid}/row/row.module.d.ts +0 -0
- package/lib/components/header/header.component.d.ts +20 -0
- package/lib/components/header/header.module.d.ts +10 -0
- package/lib/{icon → components/icon}/icon.component.d.ts +0 -0
- package/lib/{icon → components/icon}/icon.module.d.ts +0 -0
- package/lib/components/link/link.component.d.ts +21 -0
- package/lib/components/link/link.module.d.ts +11 -0
- package/lib/components/mobile/menu/mobile-menu.component.d.ts +10 -0
- package/lib/components/mobile/menu/mobile-menu.module.d.ts +10 -0
- package/lib/components/notification/badge/notification-badge.component.d.ts +8 -0
- package/lib/components/notification/badge/notification-badge.module.d.ts +8 -0
- package/lib/internals/anchor.component.d.ts +30 -0
- package/lib/internals/anchor.module.d.ts +9 -0
- package/package.json +2 -2
- package/public-api.d.ts +64 -39
- package/esm2015/lib/alert/alert.component.js +0 -39
- package/esm2015/lib/button/button.component.js +0 -41
- package/esm2015/lib/form/checkbox-group/checkbox-group.module.js +0 -25
- package/esm2015/lib/form/error-message/error-message.component.js +0 -21
- package/esm2015/lib/form/radio/radio-group.component.js +0 -30
- package/esm2015/lib/form/radio/radio.module.js +0 -33
- package/esm2015/lib/form/select-multiple/select-multiple.component.js +0 -27
- package/esm2015/lib/form/spinner/spinner.component.js +0 -23
- package/esm2015/lib/grid/column/column.component.js +0 -27
- package/esm2015/lib/grid/container/container.component.js +0 -20
- package/esm2015/lib/icon/icon.component.js +0 -41
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, Input, Output, NgModule, CUSTOM_ELEMENTS_SCHEMA, ViewEncapsulation, HostBinding } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import '@inera/ids-core/components/alert/register';
|
|
6
6
|
import '@inera/ids-core/components/alert-global/register';
|
|
@@ -21,6 +21,14 @@ import '@inera/ids-core/components/form/textarea/register';
|
|
|
21
21
|
import '@inera/ids-core/components/grid/row/register';
|
|
22
22
|
import '@inera/ids-core/components/grid/column/register';
|
|
23
23
|
import '@inera/ids-core/components/grid/container/register';
|
|
24
|
+
import * as i1 from '@angular/platform-browser';
|
|
25
|
+
import * as i3 from '@angular/router';
|
|
26
|
+
import { RouterModule } from '@angular/router';
|
|
27
|
+
import '@inera/ids-core/components/link/register';
|
|
28
|
+
import '@inera/ids-core/components/notification/badge/register';
|
|
29
|
+
import '@inera/ids-core/components/mobile/menu/register';
|
|
30
|
+
import '@inera/ids-core/components/footer/register';
|
|
31
|
+
import '@inera/ids-core/components/header/register';
|
|
24
32
|
|
|
25
33
|
class IDAlertComponent {
|
|
26
34
|
constructor() {
|
|
@@ -34,7 +42,7 @@ class IDAlertComponent {
|
|
|
34
42
|
}
|
|
35
43
|
}
|
|
36
44
|
IDAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
IDAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDAlertComponent, selector: "id-alert", inputs: { dismissible: "dismissible", headline: "headline", live: "live", type: "type", srCloseText: "srCloseText", srIconTitle: "srIconTitle" }, outputs: { closed: "closed" }, ngImport: i0, template: "<ids-alert \n [dismissible]=\"dismissible\"\n [live]=\"live\"\n [type]=\"type\"\n [srclosetext]=\"srCloseText\"\n [srIconTitle]=\"srIconTitle\"\n (closed)=\"closed.emit(true)\">\n <h3 *ngIf=\"headline\">\n {{headline}}\n </h3>\n <ng-content></ng-content>\n</ids-alert>", styles: [":host { display: block; }"], directives: [{ type:
|
|
45
|
+
IDAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDAlertComponent, selector: "id-alert", inputs: { dismissible: "dismissible", headline: "headline", live: "live", type: "type", srCloseText: "srCloseText", srIconTitle: "srIconTitle" }, outputs: { closed: "closed" }, ngImport: i0, template: "<ids-alert \n [dismissible]=\"dismissible\"\n [live]=\"live\"\n [type]=\"type\"\n [srclosetext]=\"srCloseText\"\n [srIconTitle]=\"srIconTitle\"\n (closed)=\"closed.emit(true)\">\n <h3 *ngIf=\"headline\">\n {{headline}}\n </h3>\n <ng-content></ng-content>\n</ids-alert>", styles: [":host { display: block; }"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
38
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAlertComponent, decorators: [{
|
|
39
47
|
type: Component,
|
|
40
48
|
args: [{
|
|
@@ -87,7 +95,7 @@ class IDAlertGlobalComponent {
|
|
|
87
95
|
}
|
|
88
96
|
}
|
|
89
97
|
IDAlertGlobalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAlertGlobalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
-
IDAlertGlobalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDAlertGlobalComponent, selector: "id-alert-global", inputs: { expanded: "expanded", headline: "headline", showText: "showText", hideText: "hideText" }, outputs: { didToggleExpansion: "didToggleExpansion" }, ngImport: i0, template: "<ids-alert-global \n [showtext]=\"showText\"\n [hidetext]=\"hideText\"\n [expanded]=\"expanded\"\n (closed)=\"didToggleExpansion.emit(true)\">\n <h3 slot=\"alert-headline\" *ngIf=\"headline\">\n {{headline}}\n </h3>\n <ng-content></ng-content>\n</ids-alert-global>", styles: [":host { display: block; }"], directives: [{ type:
|
|
98
|
+
IDAlertGlobalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDAlertGlobalComponent, selector: "id-alert-global", inputs: { expanded: "expanded", headline: "headline", showText: "showText", hideText: "hideText" }, outputs: { didToggleExpansion: "didToggleExpansion" }, ngImport: i0, template: "<ids-alert-global \n [showtext]=\"showText\"\n [hidetext]=\"hideText\"\n [expanded]=\"expanded\"\n (closed)=\"didToggleExpansion.emit(true)\">\n <h3 slot=\"alert-headline\" *ngIf=\"headline\">\n {{headline}}\n </h3>\n <ng-content></ng-content>\n</ids-alert-global>", styles: [":host { display: block; }"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
91
99
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAlertGlobalComponent, decorators: [{
|
|
92
100
|
type: Component,
|
|
93
101
|
args: [{
|
|
@@ -219,6 +227,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
219
227
|
}]
|
|
220
228
|
}] });
|
|
221
229
|
|
|
230
|
+
class IDIcon {
|
|
231
|
+
constructor(_props) {
|
|
232
|
+
this._props = _props;
|
|
233
|
+
}
|
|
234
|
+
get name() {
|
|
235
|
+
return this._props.name;
|
|
236
|
+
}
|
|
237
|
+
get title() {
|
|
238
|
+
return this._props.title;
|
|
239
|
+
}
|
|
240
|
+
get color() {
|
|
241
|
+
return this._props.color;
|
|
242
|
+
}
|
|
243
|
+
get color2() {
|
|
244
|
+
return this._props.color2;
|
|
245
|
+
}
|
|
246
|
+
get size() {
|
|
247
|
+
return this._props.size;
|
|
248
|
+
}
|
|
249
|
+
get width() {
|
|
250
|
+
return this._props.width;
|
|
251
|
+
}
|
|
252
|
+
get height() {
|
|
253
|
+
return this._props.height;
|
|
254
|
+
}
|
|
255
|
+
get colorpreset() {
|
|
256
|
+
return this._props.colorpreset;
|
|
257
|
+
}
|
|
258
|
+
get padding() {
|
|
259
|
+
return this._props.padding;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
222
263
|
class IDIconComponent {
|
|
223
264
|
constructor() {
|
|
224
265
|
this.name = undefined;
|
|
@@ -347,7 +388,7 @@ class IDCheckboxGroupComponent {
|
|
|
347
388
|
}
|
|
348
389
|
}
|
|
349
390
|
IDCheckboxGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDCheckboxGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
350
|
-
IDCheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDCheckboxGroupComponent, selector: "id-checkbox-group", inputs: { errorMessage: "errorMessage" }, ngImport: i0, template: "<ids-checkbox-group>\r\n <ng-content></ng-content>\r\n <ids-error-message *ngIf=\"errorMessage\">{{errorMessage}}</ids-error-message>\r\n</ids-checkbox-group>\r\n", directives: [{ type:
|
|
391
|
+
IDCheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDCheckboxGroupComponent, selector: "id-checkbox-group", inputs: { errorMessage: "errorMessage" }, ngImport: i0, template: "<ids-checkbox-group>\r\n <ng-content></ng-content>\r\n <ids-error-message *ngIf=\"errorMessage\">{{errorMessage}}</ids-error-message>\r\n</ids-checkbox-group>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
351
392
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDCheckboxGroupComponent, decorators: [{
|
|
352
393
|
type: Component,
|
|
353
394
|
args: [{
|
|
@@ -438,7 +479,7 @@ class IDRadioGroupComponent {
|
|
|
438
479
|
}
|
|
439
480
|
}
|
|
440
481
|
IDRadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
441
|
-
IDRadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDRadioGroupComponent, selector: "id-radio-group", inputs: { name: "name", legend: "legend", required: "required", errorMessage: "errorMessage" }, ngImport: i0, template: "<ids-radio-group [name]=\"name\" [legend]=\"legend\" [required]=\"required\">\r\n <ng-content></ng-content>\r\n <ids-error-message *ngIf=\"errorMessage\">{{errorMessage}}</ids-error-message>\r\n</ids-radio-group>", directives: [{ type:
|
|
482
|
+
IDRadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDRadioGroupComponent, selector: "id-radio-group", inputs: { name: "name", legend: "legend", required: "required", errorMessage: "errorMessage" }, ngImport: i0, template: "<ids-radio-group [name]=\"name\" [legend]=\"legend\" [required]=\"required\">\r\n <ng-content></ng-content>\r\n <ids-error-message *ngIf=\"errorMessage\">{{errorMessage}}</ids-error-message>\r\n</ids-radio-group>", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
442
483
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDRadioGroupComponent, decorators: [{
|
|
443
484
|
type: Component,
|
|
444
485
|
args: [{
|
|
@@ -558,7 +599,7 @@ class IDSelectMultipleComponent {
|
|
|
558
599
|
}
|
|
559
600
|
}
|
|
560
601
|
IDSelectMultipleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDSelectMultipleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
561
|
-
IDSelectMultipleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDSelectMultipleComponent, selector: "id-select-multiple", inputs: { label: "label", errorMessage: "errorMessage", placeholder: "placeholder" }, ngImport: i0, template: "<ids-select-multiple [label]=\"label\" [placeholder]=\"placeholder\">\r\n <ng-content></ng-content>\r\n <ids-error-message *ngIf=\"errorMessage\">{{errorMessage}}</ids-error-message>\r\n</ids-select-multiple>", directives: [{ type:
|
|
602
|
+
IDSelectMultipleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDSelectMultipleComponent, selector: "id-select-multiple", inputs: { label: "label", errorMessage: "errorMessage", placeholder: "placeholder" }, ngImport: i0, template: "<ids-select-multiple [label]=\"label\" [placeholder]=\"placeholder\">\r\n <ng-content></ng-content>\r\n <ids-error-message *ngIf=\"errorMessage\">{{errorMessage}}</ids-error-message>\r\n</ids-select-multiple>", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
562
603
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDSelectMultipleComponent, decorators: [{
|
|
563
604
|
type: Component,
|
|
564
605
|
args: [{
|
|
@@ -739,7 +780,7 @@ class IDColumnComponent {
|
|
|
739
780
|
}
|
|
740
781
|
}
|
|
741
782
|
IDColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
742
|
-
IDColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDColumnComponent, selector: "id-col", inputs: { cols: "cols", mobile: "mobile", align: "align" }, ngImport: i0, template: "<ids-col [cols]=\"cols\"
|
|
783
|
+
IDColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDColumnComponent, selector: "id-col", inputs: { cols: "cols", mobile: "mobile", align: "align" }, ngImport: i0, template: "<ids-col \r\n [attr.cols]=\"cols\"\r\n [attr.mobile]=\"mobile\" \r\n [attr.align]=\"align\">\r\n <ng-content></ng-content>\r\n</ids-col>", styles: ["id-col { display: contents; }"], encapsulation: i0.ViewEncapsulation.None });
|
|
743
784
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDColumnComponent, decorators: [{
|
|
744
785
|
type: Component,
|
|
745
786
|
args: [{
|
|
@@ -780,7 +821,7 @@ class IDContainerComponent {
|
|
|
780
821
|
}
|
|
781
822
|
}
|
|
782
823
|
IDContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
783
|
-
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 [fluid]=\"fluid\">\r\n <ng-content></ng-content>\r\n</ids-container>", encapsulation: i0.ViewEncapsulation.None });
|
|
824
|
+
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 });
|
|
784
825
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDContainerComponent, decorators: [{
|
|
785
826
|
type: Component,
|
|
786
827
|
args: [{
|
|
@@ -810,6 +851,572 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
810
851
|
}]
|
|
811
852
|
}] });
|
|
812
853
|
|
|
854
|
+
class IDLink {
|
|
855
|
+
constructor(_label, _id, _classes) {
|
|
856
|
+
this._label = _label;
|
|
857
|
+
this._id = _id;
|
|
858
|
+
this._classes = _classes;
|
|
859
|
+
}
|
|
860
|
+
get label() {
|
|
861
|
+
return this._label;
|
|
862
|
+
}
|
|
863
|
+
get id() {
|
|
864
|
+
return this._id;
|
|
865
|
+
}
|
|
866
|
+
get classes() {
|
|
867
|
+
return this._classes;
|
|
868
|
+
}
|
|
869
|
+
set label(label) {
|
|
870
|
+
this._label = label;
|
|
871
|
+
}
|
|
872
|
+
set id(id) {
|
|
873
|
+
this._id = id;
|
|
874
|
+
}
|
|
875
|
+
set classes(classes) {
|
|
876
|
+
this._classes = classes;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
class IDLinkFunction extends IDLink {
|
|
881
|
+
constructor(_label, _action, _id, _classes) {
|
|
882
|
+
super(_label, _id, _classes);
|
|
883
|
+
this._action = _action;
|
|
884
|
+
}
|
|
885
|
+
get action() {
|
|
886
|
+
return this._action;
|
|
887
|
+
}
|
|
888
|
+
set action(action) {
|
|
889
|
+
this._action = action;
|
|
890
|
+
}
|
|
891
|
+
click() {
|
|
892
|
+
this._action();
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
class IDLinkRoute extends IDLink {
|
|
897
|
+
constructor(_label, _route, _queries = {}, router, _id, _classes) {
|
|
898
|
+
super(_label, _id, _classes);
|
|
899
|
+
this._route = _route;
|
|
900
|
+
this._queries = _queries;
|
|
901
|
+
this.router = router;
|
|
902
|
+
}
|
|
903
|
+
get route() {
|
|
904
|
+
return this._route;
|
|
905
|
+
}
|
|
906
|
+
set route(route) {
|
|
907
|
+
this._route = route;
|
|
908
|
+
}
|
|
909
|
+
get queries() {
|
|
910
|
+
return this._queries;
|
|
911
|
+
}
|
|
912
|
+
set queries(_queries) {
|
|
913
|
+
this._queries = _queries;
|
|
914
|
+
}
|
|
915
|
+
click() {
|
|
916
|
+
if (this.router) {
|
|
917
|
+
this.router.navigate([this.route]);
|
|
918
|
+
}
|
|
919
|
+
else {
|
|
920
|
+
console.error('No router supplied in IcLinkRoute Object');
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
class IDLinkWeb extends IDLink {
|
|
926
|
+
constructor(_label, _url, _target, _id, _classes) {
|
|
927
|
+
super(_label, _id, _classes);
|
|
928
|
+
this._url = _url;
|
|
929
|
+
this._target = _target;
|
|
930
|
+
}
|
|
931
|
+
get target() {
|
|
932
|
+
return this._target;
|
|
933
|
+
}
|
|
934
|
+
set target(target) {
|
|
935
|
+
this._target = target;
|
|
936
|
+
}
|
|
937
|
+
get url() {
|
|
938
|
+
return this._url;
|
|
939
|
+
}
|
|
940
|
+
set url(url) {
|
|
941
|
+
this._url = url;
|
|
942
|
+
}
|
|
943
|
+
click() {
|
|
944
|
+
window.open(this._url, this.target);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
class IDAnchorComponent {
|
|
949
|
+
constructor(sanitizer) {
|
|
950
|
+
this.sanitizer = sanitizer;
|
|
951
|
+
this.linkType = '';
|
|
952
|
+
this.isLinkExternal = false;
|
|
953
|
+
this.isLinkRoute = false;
|
|
954
|
+
this.isLinkWeb = false;
|
|
955
|
+
this.isLinkFunction = false;
|
|
956
|
+
this.classes = '';
|
|
957
|
+
this.scriptHref = this.sanitizer.bypassSecurityTrustUrl('javascript:');
|
|
958
|
+
/** Apply classes to <a> element */
|
|
959
|
+
this.contextClasses = [];
|
|
960
|
+
}
|
|
961
|
+
setLinkType() {
|
|
962
|
+
this.isLinkRoute = this.link instanceof IDLinkRoute;
|
|
963
|
+
this.isLinkWeb = this.link instanceof IDLinkWeb;
|
|
964
|
+
this.isLinkFunction = this.link instanceof IDLinkFunction;
|
|
965
|
+
if (this.link && this.isLinkWeb) {
|
|
966
|
+
const weblink = this.link;
|
|
967
|
+
this.isLinkExternal = weblink.target === '_blank' || weblink.target === 'blank';
|
|
968
|
+
}
|
|
969
|
+
else {
|
|
970
|
+
this.isLinkExternal = false;
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
setClasses() {
|
|
974
|
+
if (this.link && this.link.classes) {
|
|
975
|
+
this.classes = [...this.contextClasses, ...this.link.classes].join(' ');
|
|
976
|
+
}
|
|
977
|
+
else {
|
|
978
|
+
this.classes = this.contextClasses.join(' ');
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
get linkWeb() {
|
|
982
|
+
return this.link;
|
|
983
|
+
}
|
|
984
|
+
get linkRoute() {
|
|
985
|
+
return this.link;
|
|
986
|
+
}
|
|
987
|
+
get linkFunction() {
|
|
988
|
+
return this.link;
|
|
989
|
+
}
|
|
990
|
+
ngOnChanges(changes) {
|
|
991
|
+
if (changes.link) {
|
|
992
|
+
this.setLinkType();
|
|
993
|
+
this.setClasses();
|
|
994
|
+
}
|
|
995
|
+
if (changes.contextClasses) {
|
|
996
|
+
this.setClasses();
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
IDAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
1001
|
+
IDAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDAnchorComponent, selector: "id-anchor", inputs: { link: "link", contextClasses: "contextClasses" }, usesOnChanges: true, ngImport: i0, template: "<a *ngIf=\"isLinkRoute\" \n [attr.id]=\"linkRoute.id\"\n [class]=\"classes\" \n [routerLink]=\"linkRoute.route\"\n routerLinkActive=\"selected\"\n [queryParams]=\"linkRoute.queries\">\n {{linkRoute.label}}\n</a>\n<a *ngIf=\"isLinkWeb\" \n [attr.id]=\"linkWeb.id\"\n [class]=\"classes\" \n [href]=\"linkWeb.url\"\n [class.ic-link--external]=\"isLinkExternal\"\n [attr.target]=\"linkWeb.target\"\n [attr.rel]=\"isLinkExternal ? 'noopener' : null\">\n {{linkWeb.label}}\n</a>\n<a *ngIf=\"isLinkFunction\" \n [attr.id]=\"linkFunction.id\"\n [class]=\"classes\" \n [attr.href]=\"scriptHref\"\n (click)=\"linkFunction.action()\">\n {{linkFunction.label}}\n</a>", styles: ["a { color: inherit; text-decoration: inherit; font-size: inherit }"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }] });
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorComponent, decorators: [{
|
|
1003
|
+
type: Component,
|
|
1004
|
+
args: [{
|
|
1005
|
+
selector: 'id-anchor',
|
|
1006
|
+
templateUrl: './anchor.component.html',
|
|
1007
|
+
styles: ['a { color: inherit; text-decoration: inherit; font-size: inherit }',]
|
|
1008
|
+
}]
|
|
1009
|
+
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }, propDecorators: { link: [{
|
|
1010
|
+
type: Input
|
|
1011
|
+
}], contextClasses: [{
|
|
1012
|
+
type: Input
|
|
1013
|
+
}] } });
|
|
1014
|
+
|
|
1015
|
+
class IDLinkComponent {
|
|
1016
|
+
constructor() {
|
|
1017
|
+
this.link = null;
|
|
1018
|
+
this.notificationBadge = null;
|
|
1019
|
+
this.prependIcon = null;
|
|
1020
|
+
this.appendIcon = null;
|
|
1021
|
+
this.underlined = false;
|
|
1022
|
+
this.padding = null;
|
|
1023
|
+
this.outline = null;
|
|
1024
|
+
this.block = false;
|
|
1025
|
+
this.color = undefined;
|
|
1026
|
+
this.size = undefined;
|
|
1027
|
+
this.activeicon = false;
|
|
1028
|
+
this.external = false;
|
|
1029
|
+
this.slot = undefined;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
IDLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1033
|
+
IDLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDLinkComponent, selector: "id-link", inputs: { link: "link", notificationBadge: "notificationBadge", prependIcon: "prependIcon", appendIcon: "appendIcon", underlined: "underlined", padding: "padding", outline: "outline", block: "block", color: "color", size: "size", activeicon: "activeicon", external: "external", slot: "slot" }, host: { properties: { "class.ids-block": "this.block" } }, ngImport: i0, template: "<ids-link \n [attr.underlined]=\"underlined ? '' : null\"\n [color]=\"color\"\n [size]=\"size\"\n [activeicon]=\"activeicon\"\n [padding]=\"padding\"\n [outline]=\"outline\"\n [block]=\"block\"\n [attr.slot]=\"slot\"\n >\n <ids-icon *ngIf=\"prependIcon !== null\"\n slot=\"prepend-icon\" \n [attr.name]=\"prependIcon?.name\"\n [attr.title]=\"prependIcon?.title\" \n [attr.color]=\"prependIcon?.color\" \n [attr.color2]=\"prependIcon?.color2\" \n [attr.size]=\"prependIcon?.size\" \n [attr.padding]=\"prependIcon?.padding\" \n [attr.colorpreset]=\"prependIcon?.colorpreset\" \n [attr.height]=\"prependIcon?.height\" \n [attr.width]=\"prependIcon?.width\"></ids-icon>\n <id-anchor *ngIf=\"link\" [link]=\"link\"></id-anchor>\n <ng-content *ngIf=\"!link\"></ng-content>\n <ids-icon *ngIf=\"appendIcon !== null\" \n slot=\"append-icon\" \n [attr.name]=\"appendIcon?.name\"\n [attr.title]=\"appendIcon?.title\" \n [attr.color]=\"appendIcon?.color\" \n [attr.color2]=\"appendIcon?.color2\"\n [attr.size]=\"appendIcon?.size\" \n [attr.padding]=\"appendIcon?.padding\" \n [attr.colorpreset]=\"appendIcon?.colorpreset\" \n [attr.height]=\"appendIcon?.height\" \n [attr.width]=\"appendIcon?.width\"></ids-icon>\n <ids-notification-badge \n *ngIf=\"notificationBadge !== null\"\n [attr.type]=\"notificationBadge.type\"\n [attr.size]=\"notificationBadge.size\">\n {{notificationBadge.value}}\n </ids-notification-badge>\n</ids-link>", components: [{ type: IDAnchorComponent, selector: "id-anchor", inputs: ["link", "contextClasses"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDLinkComponent, decorators: [{
|
|
1035
|
+
type: Component,
|
|
1036
|
+
args: [{
|
|
1037
|
+
selector: 'id-link',
|
|
1038
|
+
templateUrl: './link.component.html'
|
|
1039
|
+
}]
|
|
1040
|
+
}], ctorParameters: function () { return []; }, propDecorators: { link: [{
|
|
1041
|
+
type: Input
|
|
1042
|
+
}], notificationBadge: [{
|
|
1043
|
+
type: Input
|
|
1044
|
+
}], prependIcon: [{
|
|
1045
|
+
type: Input
|
|
1046
|
+
}], appendIcon: [{
|
|
1047
|
+
type: Input
|
|
1048
|
+
}], underlined: [{
|
|
1049
|
+
type: Input
|
|
1050
|
+
}], padding: [{
|
|
1051
|
+
type: Input
|
|
1052
|
+
}], outline: [{
|
|
1053
|
+
type: Input
|
|
1054
|
+
}], block: [{
|
|
1055
|
+
type: Input
|
|
1056
|
+
}, {
|
|
1057
|
+
type: HostBinding,
|
|
1058
|
+
args: ['class.ids-block']
|
|
1059
|
+
}], color: [{
|
|
1060
|
+
type: Input
|
|
1061
|
+
}], size: [{
|
|
1062
|
+
type: Input
|
|
1063
|
+
}], activeicon: [{
|
|
1064
|
+
type: Input
|
|
1065
|
+
}], external: [{
|
|
1066
|
+
type: Input
|
|
1067
|
+
}], slot: [{
|
|
1068
|
+
type: Input
|
|
1069
|
+
}] } });
|
|
1070
|
+
|
|
1071
|
+
class IDAnchorModule {
|
|
1072
|
+
}
|
|
1073
|
+
IDAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1074
|
+
IDAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, declarations: [IDAnchorComponent], imports: [CommonModule,
|
|
1075
|
+
RouterModule], exports: [IDAnchorComponent] });
|
|
1076
|
+
IDAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, imports: [[
|
|
1077
|
+
CommonModule,
|
|
1078
|
+
RouterModule,
|
|
1079
|
+
]] });
|
|
1080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, decorators: [{
|
|
1081
|
+
type: NgModule,
|
|
1082
|
+
args: [{
|
|
1083
|
+
declarations: [IDAnchorComponent],
|
|
1084
|
+
imports: [
|
|
1085
|
+
CommonModule,
|
|
1086
|
+
RouterModule,
|
|
1087
|
+
],
|
|
1088
|
+
exports: [IDAnchorComponent]
|
|
1089
|
+
}]
|
|
1090
|
+
}] });
|
|
1091
|
+
|
|
1092
|
+
class IDLinkModule {
|
|
1093
|
+
}
|
|
1094
|
+
IDLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1095
|
+
IDLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDLinkModule, declarations: [IDLinkComponent], imports: [CommonModule, IDAnchorModule], exports: [IDLinkComponent] });
|
|
1096
|
+
IDLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDLinkModule, imports: [[CommonModule, IDAnchorModule]] });
|
|
1097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDLinkModule, decorators: [{
|
|
1098
|
+
type: NgModule,
|
|
1099
|
+
args: [{
|
|
1100
|
+
declarations: [
|
|
1101
|
+
IDLinkComponent
|
|
1102
|
+
],
|
|
1103
|
+
imports: [CommonModule, IDAnchorModule],
|
|
1104
|
+
exports: [
|
|
1105
|
+
IDLinkComponent
|
|
1106
|
+
],
|
|
1107
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1108
|
+
}]
|
|
1109
|
+
}] });
|
|
1110
|
+
|
|
1111
|
+
class IDNotificationBadgeComponent {
|
|
1112
|
+
constructor() {
|
|
1113
|
+
this.size = 'm';
|
|
1114
|
+
this.type = 'information';
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
IDNotificationBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDNotificationBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1118
|
+
IDNotificationBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDNotificationBadgeComponent, selector: "id-notification-badge", inputs: { size: "size", type: "type" }, ngImport: i0, template: "<ids-notification-badge \n [attr.type]=\"type\"\n [attr.size]=\"size\">\n <ng-content></ng-content>\n</ids-notification-badge>", encapsulation: i0.ViewEncapsulation.None });
|
|
1119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDNotificationBadgeComponent, decorators: [{
|
|
1120
|
+
type: Component,
|
|
1121
|
+
args: [{
|
|
1122
|
+
selector: 'id-notification-badge',
|
|
1123
|
+
templateUrl: './notification-badge.component.html',
|
|
1124
|
+
encapsulation: ViewEncapsulation.None,
|
|
1125
|
+
}]
|
|
1126
|
+
}], ctorParameters: function () { return []; }, propDecorators: { size: [{
|
|
1127
|
+
type: Input
|
|
1128
|
+
}], type: [{
|
|
1129
|
+
type: Input
|
|
1130
|
+
}] } });
|
|
1131
|
+
|
|
1132
|
+
class IDNotificationBadgeModule {
|
|
1133
|
+
}
|
|
1134
|
+
IDNotificationBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDNotificationBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1135
|
+
IDNotificationBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDNotificationBadgeModule, declarations: [IDNotificationBadgeComponent], exports: [IDNotificationBadgeComponent] });
|
|
1136
|
+
IDNotificationBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDNotificationBadgeModule });
|
|
1137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDNotificationBadgeModule, decorators: [{
|
|
1138
|
+
type: NgModule,
|
|
1139
|
+
args: [{
|
|
1140
|
+
declarations: [
|
|
1141
|
+
IDNotificationBadgeComponent
|
|
1142
|
+
],
|
|
1143
|
+
exports: [
|
|
1144
|
+
IDNotificationBadgeComponent
|
|
1145
|
+
],
|
|
1146
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1147
|
+
}]
|
|
1148
|
+
}] });
|
|
1149
|
+
|
|
1150
|
+
class IDNotificationBadge {
|
|
1151
|
+
constructor(_value, _size, _type) {
|
|
1152
|
+
this._value = _value;
|
|
1153
|
+
this._size = _size;
|
|
1154
|
+
this._type = _type;
|
|
1155
|
+
}
|
|
1156
|
+
get value() {
|
|
1157
|
+
return this._value;
|
|
1158
|
+
}
|
|
1159
|
+
get size() {
|
|
1160
|
+
return this._size;
|
|
1161
|
+
}
|
|
1162
|
+
get type() {
|
|
1163
|
+
return this._type;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
class IDMobileMenuComponent {
|
|
1168
|
+
constructor() {
|
|
1169
|
+
this.type = undefined;
|
|
1170
|
+
this.variation = undefined;
|
|
1171
|
+
this.items = undefined;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
IDMobileMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDMobileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1175
|
+
IDMobileMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDMobileMenuComponent, selector: "id-mobile-menu", inputs: { type: "type", variation: "variation", items: "items" }, ngImport: i0, template: "<ids-mobile-menu \n [type]=\"type\"\n [variation]=\"variation\">\n <ids-mobile-menu-item *ngFor=\"let item of items\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [variation]=\"variation\"\n [active]=\"item?.active\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [active]=\"item?.active\"\n [variation]=\"variation\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [active]=\"item?.active\"\n [variation]=\"variation\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [active]=\"item?.active\"\n [variation]=\"variation\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n </ids-mobile-menu-item>\n </ids-mobile-menu-item>\n </ids-mobile-menu-item>\n </ids-mobile-menu-item>\n</ids-mobile-menu>", 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"] }] });
|
|
1176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDMobileMenuComponent, decorators: [{
|
|
1177
|
+
type: Component,
|
|
1178
|
+
args: [{
|
|
1179
|
+
selector: 'id-mobile-menu',
|
|
1180
|
+
templateUrl: './mobile-menu.component.html'
|
|
1181
|
+
}]
|
|
1182
|
+
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
1183
|
+
type: Input
|
|
1184
|
+
}], variation: [{
|
|
1185
|
+
type: Input
|
|
1186
|
+
}], items: [{
|
|
1187
|
+
type: Input
|
|
1188
|
+
}] } });
|
|
1189
|
+
|
|
1190
|
+
class IDMobileMenuModule {
|
|
1191
|
+
}
|
|
1192
|
+
IDMobileMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDMobileMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1193
|
+
IDMobileMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDMobileMenuModule, declarations: [IDMobileMenuComponent], imports: [CommonModule, IDAnchorModule], exports: [IDMobileMenuComponent] });
|
|
1194
|
+
IDMobileMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDMobileMenuModule, imports: [[CommonModule, IDAnchorModule]] });
|
|
1195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDMobileMenuModule, decorators: [{
|
|
1196
|
+
type: NgModule,
|
|
1197
|
+
args: [{
|
|
1198
|
+
declarations: [
|
|
1199
|
+
IDMobileMenuComponent
|
|
1200
|
+
],
|
|
1201
|
+
exports: [
|
|
1202
|
+
IDMobileMenuComponent
|
|
1203
|
+
],
|
|
1204
|
+
imports: [CommonModule, IDAnchorModule],
|
|
1205
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1206
|
+
}]
|
|
1207
|
+
}] });
|
|
1208
|
+
|
|
1209
|
+
class IDMobileMenuItem {
|
|
1210
|
+
constructor(_props) {
|
|
1211
|
+
this._props = _props;
|
|
1212
|
+
}
|
|
1213
|
+
get headline() {
|
|
1214
|
+
return this._props.headline;
|
|
1215
|
+
}
|
|
1216
|
+
get link() {
|
|
1217
|
+
return this._props.link;
|
|
1218
|
+
}
|
|
1219
|
+
get items() {
|
|
1220
|
+
return this._props.items;
|
|
1221
|
+
}
|
|
1222
|
+
get expanded() {
|
|
1223
|
+
return this._props.expanded;
|
|
1224
|
+
}
|
|
1225
|
+
get secondary() {
|
|
1226
|
+
return this._props.secondary;
|
|
1227
|
+
}
|
|
1228
|
+
get active() {
|
|
1229
|
+
return this._props.active;
|
|
1230
|
+
}
|
|
1231
|
+
get variation() {
|
|
1232
|
+
return this._props.variation;
|
|
1233
|
+
}
|
|
1234
|
+
get expansionToggled() {
|
|
1235
|
+
return this._props.expansionToggled;
|
|
1236
|
+
}
|
|
1237
|
+
togleExpansion() {
|
|
1238
|
+
if (this._props.expansionToggled) {
|
|
1239
|
+
this._props.expansionToggled();
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
class IDFooterComponent {
|
|
1245
|
+
constructor() {
|
|
1246
|
+
this.type = '';
|
|
1247
|
+
this.headline = '';
|
|
1248
|
+
this.servicename = '';
|
|
1249
|
+
this.subheadline = '';
|
|
1250
|
+
this.mobileMenuItems = undefined;
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
IDFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1254
|
+
IDFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDFooterComponent, selector: "id-footer", inputs: { type: "type", headline: "headline", servicename: "servicename", subheadline: "subheadline", mobileMenuItems: "mobileMenuItems" }, ngImport: i0, template: "<ids-footer \n [type]=\"type\"\n [headline]=\"headline\"\n [subheadline]=\"subheadline\"\n [servicename]=\"servicename\">\n <ng-content></ng-content>\n <ids-mobile-menu \n *ngIf=\"mobileMenuItems\"\n [type]=\"type\">\n <ids-mobile-menu-item *ngFor=\"let item of mobileMenuItems\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [active]=\"item?.active\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [active]=\"item?.active\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [active]=\"item?.active\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n <ids-mobile-menu-item *ngFor=\"let item of item.items\"\n [attr.type]=\"type\"\n [headline]=\"item?.headline\"\n [expanded]=\"item?.expanded\"\n [secondary]=\"item?.secondary\"\n [active]=\"item?.active\"\n (didToggleExpansion)=\"item.togleExpansion()\">\n <id-anchor *ngIf=\"item.link\" [link]=\"item.link\"></id-anchor>\n </ids-mobile-menu-item>\n </ids-mobile-menu-item>\n </ids-mobile-menu-item>\n </ids-mobile-menu-item>\n </ids-mobile-menu>\n</ids-footer>", components: [{ type: IDAnchorComponent, selector: "id-anchor", inputs: ["link", "contextClasses"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDFooterComponent, decorators: [{
|
|
1256
|
+
type: Component,
|
|
1257
|
+
args: [{
|
|
1258
|
+
selector: 'id-footer',
|
|
1259
|
+
templateUrl: './footer.component.html'
|
|
1260
|
+
}]
|
|
1261
|
+
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
1262
|
+
type: Input
|
|
1263
|
+
}], headline: [{
|
|
1264
|
+
type: Input
|
|
1265
|
+
}], servicename: [{
|
|
1266
|
+
type: Input
|
|
1267
|
+
}], subheadline: [{
|
|
1268
|
+
type: Input
|
|
1269
|
+
}], mobileMenuItems: [{
|
|
1270
|
+
type: Input
|
|
1271
|
+
}] } });
|
|
1272
|
+
|
|
1273
|
+
class IDFooterModule {
|
|
1274
|
+
}
|
|
1275
|
+
IDFooterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1276
|
+
IDFooterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDFooterModule, declarations: [IDFooterComponent], imports: [CommonModule, IDAnchorModule], exports: [IDFooterComponent] });
|
|
1277
|
+
IDFooterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDFooterModule, imports: [[CommonModule, IDAnchorModule]] });
|
|
1278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDFooterModule, decorators: [{
|
|
1279
|
+
type: NgModule,
|
|
1280
|
+
args: [{
|
|
1281
|
+
declarations: [
|
|
1282
|
+
IDFooterComponent
|
|
1283
|
+
],
|
|
1284
|
+
exports: [
|
|
1285
|
+
IDFooterComponent
|
|
1286
|
+
],
|
|
1287
|
+
imports: [CommonModule, IDAnchorModule],
|
|
1288
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1289
|
+
}]
|
|
1290
|
+
}] });
|
|
1291
|
+
|
|
1292
|
+
class IDHeaderComponent {
|
|
1293
|
+
constructor() {
|
|
1294
|
+
this.type = '';
|
|
1295
|
+
this.brandtext = '';
|
|
1296
|
+
this.hideRegionPicker = false;
|
|
1297
|
+
this.hideBrand = false;
|
|
1298
|
+
this.pickRegionText = 'Välj region';
|
|
1299
|
+
this.srLogoLabel = 'Logotyp';
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
IDHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1303
|
+
IDHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDHeaderComponent, selector: "id-header", inputs: { type: "type", brandtext: "brandtext", hideRegionPicker: "hideRegionPicker", hideBrand: "hideBrand", pickRegionText: "pickRegionText", regionIcon: "regionIcon", width: "width", srLogoLabel: "srLogoLabel", items: "items", avatar: "avatar", navItems: "navItems", mobileItems: "mobileItems", mobileMenuItems: "mobileMenuItems" }, ngImport: i0, template: "<ids-header \r\n [type]=\"type\"\r\n [attr.brandtext]=\"brandtext\"\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\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"] }] });
|
|
1304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderComponent, decorators: [{
|
|
1305
|
+
type: Component,
|
|
1306
|
+
args: [{
|
|
1307
|
+
selector: 'id-header',
|
|
1308
|
+
templateUrl: './header.component.html'
|
|
1309
|
+
}]
|
|
1310
|
+
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
1311
|
+
type: Input
|
|
1312
|
+
}], brandtext: [{
|
|
1313
|
+
type: Input
|
|
1314
|
+
}], hideRegionPicker: [{
|
|
1315
|
+
type: Input
|
|
1316
|
+
}], hideBrand: [{
|
|
1317
|
+
type: Input
|
|
1318
|
+
}], pickRegionText: [{
|
|
1319
|
+
type: Input
|
|
1320
|
+
}], regionIcon: [{
|
|
1321
|
+
type: Input
|
|
1322
|
+
}], width: [{
|
|
1323
|
+
type: Input
|
|
1324
|
+
}], srLogoLabel: [{
|
|
1325
|
+
type: Input
|
|
1326
|
+
}], items: [{
|
|
1327
|
+
type: Input
|
|
1328
|
+
}], avatar: [{
|
|
1329
|
+
type: Input
|
|
1330
|
+
}], navItems: [{
|
|
1331
|
+
type: Input
|
|
1332
|
+
}], mobileItems: [{
|
|
1333
|
+
type: Input
|
|
1334
|
+
}], mobileMenuItems: [{
|
|
1335
|
+
type: Input
|
|
1336
|
+
}] } });
|
|
1337
|
+
|
|
1338
|
+
class IDHeaderModule {
|
|
1339
|
+
}
|
|
1340
|
+
IDHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1341
|
+
IDHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderModule, declarations: [IDHeaderComponent], imports: [CommonModule, IDAnchorModule], exports: [IDHeaderComponent] });
|
|
1342
|
+
IDHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderModule, imports: [[CommonModule, IDAnchorModule]] });
|
|
1343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDHeaderModule, decorators: [{
|
|
1344
|
+
type: NgModule,
|
|
1345
|
+
args: [{
|
|
1346
|
+
declarations: [
|
|
1347
|
+
IDHeaderComponent
|
|
1348
|
+
],
|
|
1349
|
+
exports: [
|
|
1350
|
+
IDHeaderComponent
|
|
1351
|
+
],
|
|
1352
|
+
imports: [CommonModule, IDAnchorModule],
|
|
1353
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1354
|
+
}]
|
|
1355
|
+
}] });
|
|
1356
|
+
|
|
1357
|
+
class IDHeaderItem {
|
|
1358
|
+
constructor(_props) {
|
|
1359
|
+
this._props = _props;
|
|
1360
|
+
}
|
|
1361
|
+
get iconName() {
|
|
1362
|
+
return this._props.iconName;
|
|
1363
|
+
}
|
|
1364
|
+
get link() {
|
|
1365
|
+
return this._props.link;
|
|
1366
|
+
}
|
|
1367
|
+
get mobile() {
|
|
1368
|
+
return this._props.mobile;
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
class IDHeaderAvatar {
|
|
1373
|
+
constructor(_props) {
|
|
1374
|
+
this._props = _props;
|
|
1375
|
+
}
|
|
1376
|
+
get username() {
|
|
1377
|
+
return this._props.username;
|
|
1378
|
+
}
|
|
1379
|
+
get linkLeft() {
|
|
1380
|
+
return this._props.linkLeft;
|
|
1381
|
+
}
|
|
1382
|
+
get linkRight() {
|
|
1383
|
+
return this._props.linkRight;
|
|
1384
|
+
}
|
|
1385
|
+
get serviceName() {
|
|
1386
|
+
return this._props.serviceName;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
class IDHeaderNavItem {
|
|
1391
|
+
constructor(_props) {
|
|
1392
|
+
this._props = _props;
|
|
1393
|
+
}
|
|
1394
|
+
get label() {
|
|
1395
|
+
return this._props.label;
|
|
1396
|
+
}
|
|
1397
|
+
get col1() {
|
|
1398
|
+
return this._props.col1;
|
|
1399
|
+
}
|
|
1400
|
+
get col2() {
|
|
1401
|
+
return this._props.col2;
|
|
1402
|
+
}
|
|
1403
|
+
get col3() {
|
|
1404
|
+
return this._props.col3;
|
|
1405
|
+
}
|
|
1406
|
+
get headline() {
|
|
1407
|
+
return this._props.headline;
|
|
1408
|
+
}
|
|
1409
|
+
get paragraph() {
|
|
1410
|
+
return this._props.paragraph;
|
|
1411
|
+
}
|
|
1412
|
+
get link() {
|
|
1413
|
+
return this._props.link;
|
|
1414
|
+
}
|
|
1415
|
+
get paragraphLink() {
|
|
1416
|
+
return this._props.pragraphLink;
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
|
|
813
1420
|
/*
|
|
814
1421
|
* Public API Surface of ids-angular
|
|
815
1422
|
*/
|
|
@@ -818,5 +1425,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
818
1425
|
* Generated bundle index. Do not edit.
|
|
819
1426
|
*/
|
|
820
1427
|
|
|
821
|
-
export { IDAlertComponent, IDAlertGlobalComponent, IDAlertGlobalModule, IDAlertModule, IDButtonComponent, IDButtonGroupComponent, IDButtonGroupModule, IDButtonModule, IDCheckboxComponent, IDCheckboxGroupComponent, IDCheckboxGroupModule, IDCheckboxModule, IDColumnComponent, IDColumnModule, IDContainerComponent, IDContainerModule, IDErrorMessageComponent, IDErrorMessageModule, IDIconComponent, IDIconModule, IDInputComponent, IDInputModule, IDRadioComponent, IDRadioGroupComponent, IDRadioModule, IDRangeComponent, IDRangeModule, IDRowComponent, IDRowModule, IDSelectComponent, IDSelectModule, IDSelectMultipleComponent, IDSelectMultipleModule, IDSpinnerComponent, IDSpinnerModule, IDTextareaComponent, IDTextareaModule, IDTimeComponent, IDTimeModule };
|
|
1428
|
+
export { IDAlertComponent, IDAlertGlobalComponent, IDAlertGlobalModule, IDAlertModule, IDButtonComponent, IDButtonGroupComponent, IDButtonGroupModule, IDButtonModule, IDCheckboxComponent, IDCheckboxGroupComponent, IDCheckboxGroupModule, IDCheckboxModule, IDColumnComponent, IDColumnModule, IDContainerComponent, IDContainerModule, IDErrorMessageComponent, IDErrorMessageModule, IDFooterComponent, IDFooterModule, IDHeaderAvatar, IDHeaderComponent, IDHeaderItem, IDHeaderModule, IDHeaderNavItem, IDIcon, IDIconComponent, IDIconModule, IDInputComponent, IDInputModule, IDLink, IDLinkComponent, IDLinkFunction, IDLinkModule, IDLinkRoute, IDLinkWeb, IDMobileMenuComponent, IDMobileMenuItem, IDMobileMenuModule, IDNotificationBadge, IDNotificationBadgeComponent, IDNotificationBadgeModule, IDRadioComponent, IDRadioGroupComponent, IDRadioModule, IDRangeComponent, IDRangeModule, IDRowComponent, IDRowModule, IDSelectComponent, IDSelectModule, IDSelectMultipleComponent, IDSelectMultipleModule, IDSpinnerComponent, IDSpinnerModule, IDTextareaComponent, IDTextareaModule, IDTimeComponent, IDTimeModule };
|
|
822
1429
|
//# sourceMappingURL=inera-ids-angular.js.map
|