@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
|
@@ -143,7 +143,9 @@
|
|
|
143
143
|
function IDButtonComponent() {
|
|
144
144
|
this.secondary = false;
|
|
145
145
|
this.toggle = false;
|
|
146
|
-
this.
|
|
146
|
+
this.block = false;
|
|
147
|
+
this.sBlock = false;
|
|
148
|
+
this.mBlock = false;
|
|
147
149
|
this.active = false;
|
|
148
150
|
this.submit = false;
|
|
149
151
|
this.search = false;
|
|
@@ -153,20 +155,24 @@
|
|
|
153
155
|
return IDButtonComponent;
|
|
154
156
|
}());
|
|
155
157
|
IDButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDButtonComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
156
|
-
IDButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDButtonComponent, selector: "id-button", inputs: { secondary: "secondary", toggle: "toggle",
|
|
158
|
+
IDButtonComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ViewEncapsulation.None });
|
|
157
159
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDButtonComponent, decorators: [{
|
|
158
160
|
type: i0.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: i0.ViewEncapsulation.None,
|
|
164
166
|
}]
|
|
165
167
|
}], ctorParameters: function () { return []; }, propDecorators: { secondary: [{
|
|
166
168
|
type: i0.Input
|
|
167
169
|
}], toggle: [{
|
|
168
170
|
type: i0.Input
|
|
169
|
-
}],
|
|
171
|
+
}], block: [{
|
|
172
|
+
type: i0.Input
|
|
173
|
+
}], sBlock: [{
|
|
174
|
+
type: i0.Input
|
|
175
|
+
}], mBlock: [{
|
|
170
176
|
type: i0.Input
|
|
171
177
|
}], active: [{
|
|
172
178
|
type: i0.Input
|
|
@@ -241,7 +247,7 @@
|
|
|
241
247
|
}]
|
|
242
248
|
}] });
|
|
243
249
|
|
|
244
|
-
|
|
250
|
+
/******************************************************************************
|
|
245
251
|
Copyright (c) Microsoft Corporation.
|
|
246
252
|
|
|
247
253
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -403,7 +409,11 @@
|
|
|
403
409
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
404
410
|
if (k2 === undefined)
|
|
405
411
|
k2 = k;
|
|
406
|
-
Object.
|
|
412
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
413
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
414
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
415
|
+
}
|
|
416
|
+
Object.defineProperty(o, k2, desc);
|
|
407
417
|
}) : (function (o, m, k, k2) {
|
|
408
418
|
if (k2 === undefined)
|
|
409
419
|
k2 = k;
|
|
@@ -557,6 +567,11 @@
|
|
|
557
567
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
558
568
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
559
569
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
570
|
+
}
|
|
571
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
572
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
573
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
574
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
560
575
|
}
|
|
561
576
|
|
|
562
577
|
var IDLink = /** @class */ (function () {
|
|
@@ -866,7 +881,7 @@
|
|
|
866
881
|
return IDCardComponent;
|
|
867
882
|
}());
|
|
868
883
|
IDCardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDCardComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
869
|
-
IDCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDCardComponent, selector: "id-card", inputs: { fill: "fill" }, ngImport: i0__namespace, template: "<ids-card \n [fill]=\"fill\">\n <ng-content></ng-content>\n</ids-card>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
884
|
+
IDCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDCardComponent, selector: "id-card", inputs: { fill: "fill" }, ngImport: i0__namespace, template: "<ids-card \r\n [fill]=\"fill\">\r\n <ng-content></ng-content>\r\n</ids-card>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
870
885
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDCardComponent, decorators: [{
|
|
871
886
|
type: i0.Component,
|
|
872
887
|
args: [{
|
|
@@ -963,7 +978,7 @@
|
|
|
963
978
|
return IDDialogComponent;
|
|
964
979
|
}());
|
|
965
980
|
IDDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDialogComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
966
|
-
IDDialogComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ViewEncapsulation.None });
|
|
981
|
+
IDDialogComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ViewEncapsulation.None });
|
|
967
982
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDialogComponent, decorators: [{
|
|
968
983
|
type: i0.Component,
|
|
969
984
|
args: [{
|
|
@@ -991,7 +1006,7 @@
|
|
|
991
1006
|
return IDDialogActionsComponent;
|
|
992
1007
|
}());
|
|
993
1008
|
IDDialogActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDialogActionsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
994
|
-
IDDialogActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogActionsComponent, selector: "id-dialog-actions", ngImport: i0__namespace, template: "<ids-dialog-actions>\n <ng-content></ng-content>\n</ids-dialog-actions>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1009
|
+
IDDialogActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogActionsComponent, selector: "id-dialog-actions", ngImport: i0__namespace, template: "<ids-dialog-actions>\r\n <ng-content></ng-content>\r\n</ids-dialog-actions>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
995
1010
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDialogActionsComponent, decorators: [{
|
|
996
1011
|
type: i0.Component,
|
|
997
1012
|
args: [{
|
|
@@ -1641,19 +1656,30 @@
|
|
|
1641
1656
|
}] });
|
|
1642
1657
|
|
|
1643
1658
|
var IDRowComponent = /** @class */ (function () {
|
|
1644
|
-
function IDRowComponent() {
|
|
1659
|
+
function IDRowComponent(_elementRef) {
|
|
1660
|
+
this._elementRef = _elementRef;
|
|
1661
|
+
this.align = null;
|
|
1662
|
+
this.justify = null;
|
|
1663
|
+
this.style = null;
|
|
1664
|
+
this._elementRef.nativeElement.removeAttribute('style');
|
|
1645
1665
|
}
|
|
1646
1666
|
return IDRowComponent;
|
|
1647
1667
|
}());
|
|
1648
|
-
IDRowComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDRowComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1649
|
-
IDRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDRowComponent, selector: "id-row", ngImport: i0__namespace, template: "<ids-row>\r\n <ng-content></ng-content>\r\n</ids-row>" });
|
|
1668
|
+
IDRowComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDRowComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1669
|
+
IDRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDRowComponent, selector: "id-row", inputs: { align: "align", justify: "justify", style: "style" }, ngImport: i0__namespace, template: "<ids-row [style]=\"style\" [justify]=\"justify\" [align]=\"align\">\r\n <ng-content></ng-content>\r\n</ids-row>" });
|
|
1650
1670
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDRowComponent, decorators: [{
|
|
1651
1671
|
type: i0.Component,
|
|
1652
1672
|
args: [{
|
|
1653
1673
|
selector: 'id-row',
|
|
1654
1674
|
templateUrl: './row.component.html',
|
|
1655
1675
|
}]
|
|
1656
|
-
}], ctorParameters: function () { return []; }
|
|
1676
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { align: [{
|
|
1677
|
+
type: i0.Input
|
|
1678
|
+
}], justify: [{
|
|
1679
|
+
type: i0.Input
|
|
1680
|
+
}], style: [{
|
|
1681
|
+
type: i0.Input
|
|
1682
|
+
}] } });
|
|
1657
1683
|
|
|
1658
1684
|
var IDRowModule = /** @class */ (function () {
|
|
1659
1685
|
function IDRowModule() {
|
|
@@ -1677,15 +1703,22 @@
|
|
|
1677
1703
|
}] });
|
|
1678
1704
|
|
|
1679
1705
|
var IDColumnComponent = /** @class */ (function () {
|
|
1680
|
-
function IDColumnComponent() {
|
|
1706
|
+
function IDColumnComponent(_elementRef) {
|
|
1707
|
+
this._elementRef = _elementRef;
|
|
1681
1708
|
this.cols = "";
|
|
1682
|
-
this.
|
|
1709
|
+
this.offset = null;
|
|
1710
|
+
this.m = "";
|
|
1711
|
+
this.mOffset = null;
|
|
1712
|
+
this.s = "";
|
|
1713
|
+
this.sOffset = null;
|
|
1683
1714
|
this.align = "";
|
|
1715
|
+
this.style = null;
|
|
1716
|
+
this._elementRef.nativeElement.removeAttribute('style');
|
|
1684
1717
|
}
|
|
1685
1718
|
return IDColumnComponent;
|
|
1686
1719
|
}());
|
|
1687
|
-
IDColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDColumnComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1688
|
-
IDColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDColumnComponent, selector: "id-col", inputs: { cols: "cols",
|
|
1720
|
+
IDColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDColumnComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1721
|
+
IDColumnComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ViewEncapsulation.None });
|
|
1689
1722
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDColumnComponent, decorators: [{
|
|
1690
1723
|
type: i0.Component,
|
|
1691
1724
|
args: [{
|
|
@@ -1694,12 +1727,22 @@
|
|
|
1694
1727
|
encapsulation: i0.ViewEncapsulation.None,
|
|
1695
1728
|
styles: ['id-col { display: contents; }']
|
|
1696
1729
|
}]
|
|
1697
|
-
}], ctorParameters: function () { return []; }, propDecorators: { cols: [{
|
|
1730
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { cols: [{
|
|
1731
|
+
type: i0.Input
|
|
1732
|
+
}], offset: [{
|
|
1733
|
+
type: i0.Input
|
|
1734
|
+
}], m: [{
|
|
1735
|
+
type: i0.Input
|
|
1736
|
+
}], mOffset: [{
|
|
1698
1737
|
type: i0.Input
|
|
1699
|
-
}],
|
|
1738
|
+
}], s: [{
|
|
1739
|
+
type: i0.Input
|
|
1740
|
+
}], sOffset: [{
|
|
1700
1741
|
type: i0.Input
|
|
1701
1742
|
}], align: [{
|
|
1702
1743
|
type: i0.Input
|
|
1744
|
+
}], style: [{
|
|
1745
|
+
type: i0.Input
|
|
1703
1746
|
}] } });
|
|
1704
1747
|
|
|
1705
1748
|
var IDColumnModule = /** @class */ (function () {
|
|
@@ -1726,11 +1769,12 @@
|
|
|
1726
1769
|
var IDContainerComponent = /** @class */ (function () {
|
|
1727
1770
|
function IDContainerComponent() {
|
|
1728
1771
|
this.fluid = false;
|
|
1772
|
+
this.gutterless = false;
|
|
1729
1773
|
}
|
|
1730
1774
|
return IDContainerComponent;
|
|
1731
1775
|
}());
|
|
1732
1776
|
IDContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1733
|
-
IDContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDContainerComponent, selector: "id-container", inputs: { fluid: "fluid" }, ngImport: i0__namespace, template: "<ids-container [attr.fluid]=\"fluid\">\r\n <ng-content></ng-content>\r\n</ids-container>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1777
|
+
IDContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDContainerComponent, selector: "id-container", inputs: { fluid: "fluid", gutterless: "gutterless" }, ngImport: i0__namespace, 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__namespace.ViewEncapsulation.None });
|
|
1734
1778
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDContainerComponent, decorators: [{
|
|
1735
1779
|
type: i0.Component,
|
|
1736
1780
|
args: [{
|
|
@@ -1740,6 +1784,8 @@
|
|
|
1740
1784
|
}]
|
|
1741
1785
|
}], ctorParameters: function () { return []; }, propDecorators: { fluid: [{
|
|
1742
1786
|
type: i0.Input
|
|
1787
|
+
}], gutterless: [{
|
|
1788
|
+
type: i0.Input
|
|
1743
1789
|
}] } });
|
|
1744
1790
|
|
|
1745
1791
|
var IDContainerModule = /** @class */ (function () {
|
|
@@ -2225,7 +2271,7 @@
|
|
|
2225
2271
|
return IDHeaderComponent;
|
|
2226
2272
|
}());
|
|
2227
2273
|
IDHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2228
|
-
IDHeaderComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2274
|
+
IDHeaderComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2229
2275
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDHeaderComponent, decorators: [{
|
|
2230
2276
|
type: i0.Component,
|
|
2231
2277
|
args: [{
|
|
@@ -2348,6 +2394,13 @@
|
|
|
2348
2394
|
enumerable: false,
|
|
2349
2395
|
configurable: true
|
|
2350
2396
|
});
|
|
2397
|
+
Object.defineProperty(IDHeaderAvatar.prototype, "linkMobile", {
|
|
2398
|
+
get: function () {
|
|
2399
|
+
return this._props.linkMobile;
|
|
2400
|
+
},
|
|
2401
|
+
enumerable: false,
|
|
2402
|
+
configurable: true
|
|
2403
|
+
});
|
|
2351
2404
|
return IDHeaderAvatar;
|
|
2352
2405
|
}());
|
|
2353
2406
|
|
|
@@ -2411,6 +2464,13 @@
|
|
|
2411
2464
|
enumerable: false,
|
|
2412
2465
|
configurable: true
|
|
2413
2466
|
});
|
|
2467
|
+
Object.defineProperty(IDHeaderNavItem.prototype, "active", {
|
|
2468
|
+
get: function () {
|
|
2469
|
+
return this._props.active;
|
|
2470
|
+
},
|
|
2471
|
+
enumerable: false,
|
|
2472
|
+
configurable: true
|
|
2473
|
+
});
|
|
2414
2474
|
return IDHeaderNavItem;
|
|
2415
2475
|
}());
|
|
2416
2476
|
|