@inera/ids-angular 9.1.0 → 9.2.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/components/accordion/accordion.component.d.ts +4 -3
- package/components/dropdown/dropdown.component.d.ts +5 -1
- package/components/footer-inera/footer-inera-sub-footer-mobile-text.component.d.ts +5 -0
- package/components/footer-inera/footer-inera.component.d.ts +1 -1
- package/components/footer-inera/footer-inera.module.d.ts +2 -1
- package/components/footer-inera/public-api.d.ts +1 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile-text.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin.component.d.ts +1 -1
- package/components/footer-inera-admin/footer-inera-admin.module.d.ts +2 -1
- package/components/footer-inera-admin/public-api.d.ts +1 -0
- package/components/footer-inera-general/footer-inera-general-col.component.d.ts +13 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-left.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-mobile-text.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-right.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-text.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general.component.d.ts +12 -0
- package/components/footer-inera-general/footer-inera-general.module.d.ts +12 -0
- package/components/footer-inera-general/index.d.ts +5 -0
- package/components/footer-inera-general/public-api.d.ts +8 -0
- package/components/global-alert/global-alert.component.d.ts +1 -3
- package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +2 -2
- package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +1 -1
- package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +2 -2
- package/components/header-1177-pro/header-1177-pro.component.d.ts +4 -4
- package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +1 -1
- package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +4 -2
- package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +3 -1
- package/components/header-inera-general/brand-link/header-inera-general-brand-link.directive.d.ts +5 -0
- package/components/header-inera-general/header-inera-general.component.d.ts +18 -0
- package/components/header-inera-general/header-inera-general.module.d.ts +14 -0
- package/components/header-inera-general/index.d.ts +5 -0
- package/components/header-inera-general/item/header-inera-general-item.component.d.ts +10 -0
- package/components/header-inera-general/menu-mobile/header-inera-general-menu-mobile.component.d.ts +10 -0
- package/components/header-inera-general/nav/header-inera-general-nav.component.d.ts +9 -0
- package/components/header-inera-general/nav-item/header-inera-general-nav-item.component.d.ts +25 -0
- package/components/header-inera-general/nav-item-menu-link/header-inera-general-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-inera-general/public-api.d.ts +9 -0
- package/components/header-inera-general/skip-to-content/header-inera-general-skip-to-content.component.d.ts +5 -0
- package/components/popover/popover-content.component.d.ts +4 -1
- package/components/popover/popover.component.d.ts +17 -8
- package/components/stepper/step.component.d.ts +2 -2
- package/components/toolbar/index.d.ts +5 -0
- package/components/toolbar/public-api.d.ts +1 -0
- package/components/toolbar/toolbar.component.d.ts +5 -0
- package/components/tooltip/tooltip.component.d.ts +17 -4
- package/fesm2022/inera-ids-angular-components-accordion.mjs +10 -5
- package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-action-link.mjs +25 -9
- package/fesm2022/inera-ids-angular-components-action-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button.mjs +1 -1
- package/fesm2022/inera-ids-angular-components-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-card.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-card.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dialog.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dropdown.mjs +40 -13
- package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +25 -5
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs +214 -0
- package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs +25 -5
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-global-alert.mjs +3 -9
- package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +95 -63
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +110 -84
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177.mjs +2 -4
- package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +15 -16
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-general.mjs +425 -0
- package/fesm2022/inera-ids-angular-components-header-inera-general.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-header-inera.mjs +2 -4
- package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-popover.mjs +176 -50
- package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-puff-list.mjs +29 -17
- package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-stepper.mjs +7 -7
- package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-toolbar.mjs +18 -0
- package/fesm2022/inera-ids-angular-components-toolbar.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-tooltip.mjs +139 -33
- package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
- package/package.json +68 -52
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, booleanAttribute, Input, Component, ViewChild, Directive, ContentChild, ContentChildren, EventEmitter, Output, NgModule } from '@angular/core';
|
|
3
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
4
|
+
import { ID_HEADER_CONTEXT, IDUseIdService, useEscapeKey, IDClickOutsideDirective } from '@inera/ids-angular/common';
|
|
5
|
+
|
|
6
|
+
class IDHeaderIneraGeneralItemComponent {
|
|
7
|
+
mobile = false;
|
|
8
|
+
icon;
|
|
9
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.20", type: IDHeaderIneraGeneralItemComponent, isStandalone: true, selector: "id-header-inera-general-item", inputs: { mobile: ["mobile", "mobile", booleanAttribute], icon: "icon" }, host: { properties: { "class.ids-header-inera-general-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-general-item--mobile": "mobile" }, classAttribute: "ids-header-inera-general-item" }, ngImport: i0, template: `
|
|
12
|
+
<div class="ids-header-inera-general-item__icon">
|
|
13
|
+
<ng-content name=[icon]></ng-content>
|
|
14
|
+
<span class="ids-icon-{{icon}}" aria-hidden="true"></span>
|
|
15
|
+
</div>
|
|
16
|
+
<ng-content></ng-content>`, isInline: true });
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralItemComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'id-header-inera-general-item',
|
|
22
|
+
template: `
|
|
23
|
+
<div class="ids-header-inera-general-item__icon">
|
|
24
|
+
<ng-content name=[icon]></ng-content>
|
|
25
|
+
<span class="ids-icon-{{icon}}" aria-hidden="true"></span>
|
|
26
|
+
</div>
|
|
27
|
+
<ng-content></ng-content>`,
|
|
28
|
+
standalone: true,
|
|
29
|
+
host: {
|
|
30
|
+
class: 'ids-header-inera-general-item',
|
|
31
|
+
'[class.ids-header-inera-general-item--unresponsive]': 'header?.unresponsive',
|
|
32
|
+
'[class.ids-header-inera-general-item--mobile]': 'mobile'
|
|
33
|
+
}
|
|
34
|
+
}]
|
|
35
|
+
}], propDecorators: { mobile: [{
|
|
36
|
+
type: Input,
|
|
37
|
+
args: [{ transform: booleanAttribute }]
|
|
38
|
+
}], icon: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}] } });
|
|
41
|
+
|
|
42
|
+
class IDHeaderIneraGeneralNavComponent {
|
|
43
|
+
hideOnTablet = false;
|
|
44
|
+
template;
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.20", type: IDHeaderIneraGeneralNavComponent, isStandalone: true, selector: "id-header-inera-general-nav", inputs: { hideOnTablet: ["hideOnTablet", "hideOnTablet", booleanAttribute] }, viewQueries: [{ propertyName: "template", first: true, predicate: ["nav"], descendants: true }], ngImport: i0, template: `
|
|
47
|
+
<ng-template #nav>
|
|
48
|
+
<div class="ids-header-inera-general-nav__nav-items">
|
|
49
|
+
<ng-content></ng-content>
|
|
50
|
+
</div>
|
|
51
|
+
</ng-template>`, isInline: true });
|
|
52
|
+
}
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{
|
|
56
|
+
selector: "id-header-inera-general-nav",
|
|
57
|
+
template: `
|
|
58
|
+
<ng-template #nav>
|
|
59
|
+
<div class="ids-header-inera-general-nav__nav-items">
|
|
60
|
+
<ng-content></ng-content>
|
|
61
|
+
</div>
|
|
62
|
+
</ng-template>`,
|
|
63
|
+
standalone: true
|
|
64
|
+
}]
|
|
65
|
+
}], propDecorators: { hideOnTablet: [{
|
|
66
|
+
type: Input,
|
|
67
|
+
args: [{ transform: booleanAttribute }]
|
|
68
|
+
}], template: [{
|
|
69
|
+
type: ViewChild,
|
|
70
|
+
args: ['nav']
|
|
71
|
+
}] } });
|
|
72
|
+
|
|
73
|
+
class IDHeaderIneraGeneralSkipToContent {
|
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralSkipToContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDHeaderIneraGeneralSkipToContent, isStandalone: true, selector: "id-header-inera-general-skip-to-content", host: { classAttribute: "ids-header-inera-general__skip-to-content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
76
|
+
}
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralSkipToContent, decorators: [{
|
|
78
|
+
type: Component,
|
|
79
|
+
args: [{
|
|
80
|
+
selector: "id-header-inera-general-skip-to-content",
|
|
81
|
+
template: `<ng-content></ng-content>`,
|
|
82
|
+
standalone: true,
|
|
83
|
+
host: {
|
|
84
|
+
class: 'ids-header-inera-general__skip-to-content'
|
|
85
|
+
}
|
|
86
|
+
}]
|
|
87
|
+
}] });
|
|
88
|
+
|
|
89
|
+
class IDHeaderIneraGeneralBrandLinkDirective {
|
|
90
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralBrandLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
91
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: IDHeaderIneraGeneralBrandLinkDirective, isStandalone: true, selector: "a[idBrandIneraGeneralLink]", ngImport: i0 });
|
|
92
|
+
}
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralBrandLinkDirective, decorators: [{
|
|
94
|
+
type: Directive,
|
|
95
|
+
args: [{
|
|
96
|
+
selector: "a[idBrandIneraGeneralLink]",
|
|
97
|
+
standalone: true,
|
|
98
|
+
}]
|
|
99
|
+
}] });
|
|
100
|
+
|
|
101
|
+
class IDHeaderIneraGeneralComponent {
|
|
102
|
+
unresponsive = false;
|
|
103
|
+
brandText = '';
|
|
104
|
+
items;
|
|
105
|
+
nav;
|
|
106
|
+
brandLink;
|
|
107
|
+
skipToContent;
|
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
109
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraGeneralComponent, isStandalone: true, selector: "id-header-inera-general", inputs: { unresponsive: ["unresponsive", "unresponsive", booleanAttribute], brandText: "brandText" }, providers: [
|
|
110
|
+
{
|
|
111
|
+
provide: ID_HEADER_CONTEXT,
|
|
112
|
+
useExisting: IDHeaderIneraGeneralComponent,
|
|
113
|
+
},
|
|
114
|
+
], queries: [{ propertyName: "nav", first: true, predicate: IDHeaderIneraGeneralNavComponent, descendants: true }, { propertyName: "brandLink", first: true, predicate: IDHeaderIneraGeneralBrandLinkDirective, descendants: true }, { propertyName: "skipToContent", first: true, predicate: IDHeaderIneraGeneralSkipToContent, descendants: true }, { propertyName: "items", predicate: IDHeaderIneraGeneralItemComponent }], ngImport: i0, template: "<header\n class=\"ids-header-inera-general\"\n [class.ids-header-inera-general--unresponsive]=\"unresponsive\"\n>\n <ng-content select=\"id-header-inera-general-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera-general__container\">\n <div class=\"ids-header-inera-general__inner\">\n <div class=\"ids-header-inera-general__main\">\n <div class=\"ids-header-inera-general__brand\">\n @if (brandLink) {\n <span class=\"ids-header-inera-general__brand-text\">{{ brandText }}</span>\n <span class=\"ids-header-inera-general__brand-link\">\n <ng-content select=\"[idBrandIneraGeneralLink]\"></ng-content>\n </span>\n } @else {\n <h1 class=\"ids-header-inera-general__brand-text\">{{ brandText }}</h1>\n }\n </div>\n\n @if (items) {\n <div class=\"ids-header-inera-general__items\">\n <ng-content select=\"id-header-inera-general-item\"></ng-content>\n <ng-content select=\"id-header-inera-general-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if (nav) {\n <nav\n class=\"ids-header-inera-general-nav\"\n [class.ids-header-inera-general-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-inera-general-nav--hide-on-tablet]=\"nav.hideOnTablet\"\n >\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
115
|
+
}
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralComponent, decorators: [{
|
|
117
|
+
type: Component,
|
|
118
|
+
args: [{ selector: 'id-header-inera-general', standalone: true, providers: [
|
|
119
|
+
{
|
|
120
|
+
provide: ID_HEADER_CONTEXT,
|
|
121
|
+
useExisting: IDHeaderIneraGeneralComponent,
|
|
122
|
+
},
|
|
123
|
+
], imports: [NgTemplateOutlet], template: "<header\n class=\"ids-header-inera-general\"\n [class.ids-header-inera-general--unresponsive]=\"unresponsive\"\n>\n <ng-content select=\"id-header-inera-general-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera-general__container\">\n <div class=\"ids-header-inera-general__inner\">\n <div class=\"ids-header-inera-general__main\">\n <div class=\"ids-header-inera-general__brand\">\n @if (brandLink) {\n <span class=\"ids-header-inera-general__brand-text\">{{ brandText }}</span>\n <span class=\"ids-header-inera-general__brand-link\">\n <ng-content select=\"[idBrandIneraGeneralLink]\"></ng-content>\n </span>\n } @else {\n <h1 class=\"ids-header-inera-general__brand-text\">{{ brandText }}</h1>\n }\n </div>\n\n @if (items) {\n <div class=\"ids-header-inera-general__items\">\n <ng-content select=\"id-header-inera-general-item\"></ng-content>\n <ng-content select=\"id-header-inera-general-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if (nav) {\n <nav\n class=\"ids-header-inera-general-nav\"\n [class.ids-header-inera-general-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-inera-general-nav--hide-on-tablet]=\"nav.hideOnTablet\"\n >\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>\n" }]
|
|
124
|
+
}], propDecorators: { unresponsive: [{
|
|
125
|
+
type: Input,
|
|
126
|
+
args: [{ transform: booleanAttribute }]
|
|
127
|
+
}], brandText: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], items: [{
|
|
130
|
+
type: ContentChildren,
|
|
131
|
+
args: [IDHeaderIneraGeneralItemComponent]
|
|
132
|
+
}], nav: [{
|
|
133
|
+
type: ContentChild,
|
|
134
|
+
args: [IDHeaderIneraGeneralNavComponent]
|
|
135
|
+
}], brandLink: [{
|
|
136
|
+
type: ContentChild,
|
|
137
|
+
args: [IDHeaderIneraGeneralBrandLinkDirective]
|
|
138
|
+
}], skipToContent: [{
|
|
139
|
+
type: ContentChild,
|
|
140
|
+
args: [IDHeaderIneraGeneralSkipToContent]
|
|
141
|
+
}] } });
|
|
142
|
+
|
|
143
|
+
class IDHeaderIneraGeneralNavItemComponent {
|
|
144
|
+
label;
|
|
145
|
+
active = false;
|
|
146
|
+
activeChange = new EventEmitter();
|
|
147
|
+
expanded = false;
|
|
148
|
+
expandedChange = new EventEmitter();
|
|
149
|
+
col1 = null;
|
|
150
|
+
col2 = null;
|
|
151
|
+
col3 = null;
|
|
152
|
+
col4 = null;
|
|
153
|
+
idService = inject(IDUseIdService);
|
|
154
|
+
contentId = this.idService.generateId('header-inera-general-nav-item');
|
|
155
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
156
|
+
constructor() {
|
|
157
|
+
useEscapeKey(() => this.closeItem(), () => this.expanded);
|
|
158
|
+
}
|
|
159
|
+
toggleExpansion() {
|
|
160
|
+
if (this.expanded) {
|
|
161
|
+
this.closeItem();
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
this.expandItem();
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
expandItem() {
|
|
168
|
+
this.expanded = true;
|
|
169
|
+
this.expandedChange.emit(true);
|
|
170
|
+
this.activeChange.emit(true);
|
|
171
|
+
}
|
|
172
|
+
closeItem() {
|
|
173
|
+
this.expanded = false;
|
|
174
|
+
this.expandedChange.emit(false);
|
|
175
|
+
this.activeChange.emit(false);
|
|
176
|
+
}
|
|
177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
178
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraGeneralNavItemComponent, isStandalone: true, selector: "id-header-inera-general-nav-item", inputs: { label: "label", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-inera-general-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-general-nav-item--active": "active || expanded", "attr.aria-current": "active", "class.ids-header-inera-general-nav-item--expanded": "expanded" }, classAttribute: "ids-header-inera-general-nav-item" }, queries: [{ propertyName: "col1", first: true, predicate: ["col1"], descendants: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true }], ngImport: i0, template: `
|
|
179
|
+
<div
|
|
180
|
+
idClickOutside
|
|
181
|
+
(idClickOutside)="closeItem()">
|
|
182
|
+
@if (this.label) {
|
|
183
|
+
<button
|
|
184
|
+
[attr.aria-controls]="contentId"
|
|
185
|
+
[attr.aria-expanded]="expanded"
|
|
186
|
+
class="ids-header-inera-general-nav-item__button"
|
|
187
|
+
(click)="toggleExpansion()">
|
|
188
|
+
{{label}}
|
|
189
|
+
</button>
|
|
190
|
+
} @else {
|
|
191
|
+
<span class="ids-header-inera-general-nav-item__link">
|
|
192
|
+
<ng-content select="[link]"></ng-content>
|
|
193
|
+
</span>
|
|
194
|
+
}
|
|
195
|
+
<div [attr.id]="contentId"
|
|
196
|
+
class="ids-header-inera-general-nav-item__menu"
|
|
197
|
+
[class.ids-header-inera-general-nav-item__menu--expanded]="expanded">
|
|
198
|
+
<div class="ids-header-inera-general-nav-item__menu-content">
|
|
199
|
+
<div class="ids-header-inera-general-nav-item__menu-col-1">
|
|
200
|
+
<ng-container *ngTemplateOutlet="col1"></ng-container>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="ids-header-inera-general-nav-item__menu-col-2">
|
|
203
|
+
<ng-container *ngTemplateOutlet="col2"></ng-container>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="ids-header-inera-general-nav-item__menu-col-3">
|
|
206
|
+
<ng-container *ngTemplateOutlet="col3"></ng-container>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="ids-header-inera-general-nav-item__menu-col-4">
|
|
209
|
+
<ng-container *ngTemplateOutlet="col4"></ng-container>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</div>`, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
214
|
+
}
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemComponent, decorators: [{
|
|
216
|
+
type: Component,
|
|
217
|
+
args: [{
|
|
218
|
+
selector: "id-header-inera-general-nav-item",
|
|
219
|
+
template: `
|
|
220
|
+
<div
|
|
221
|
+
idClickOutside
|
|
222
|
+
(idClickOutside)="closeItem()">
|
|
223
|
+
@if (this.label) {
|
|
224
|
+
<button
|
|
225
|
+
[attr.aria-controls]="contentId"
|
|
226
|
+
[attr.aria-expanded]="expanded"
|
|
227
|
+
class="ids-header-inera-general-nav-item__button"
|
|
228
|
+
(click)="toggleExpansion()">
|
|
229
|
+
{{label}}
|
|
230
|
+
</button>
|
|
231
|
+
} @else {
|
|
232
|
+
<span class="ids-header-inera-general-nav-item__link">
|
|
233
|
+
<ng-content select="[link]"></ng-content>
|
|
234
|
+
</span>
|
|
235
|
+
}
|
|
236
|
+
<div [attr.id]="contentId"
|
|
237
|
+
class="ids-header-inera-general-nav-item__menu"
|
|
238
|
+
[class.ids-header-inera-general-nav-item__menu--expanded]="expanded">
|
|
239
|
+
<div class="ids-header-inera-general-nav-item__menu-content">
|
|
240
|
+
<div class="ids-header-inera-general-nav-item__menu-col-1">
|
|
241
|
+
<ng-container *ngTemplateOutlet="col1"></ng-container>
|
|
242
|
+
</div>
|
|
243
|
+
<div class="ids-header-inera-general-nav-item__menu-col-2">
|
|
244
|
+
<ng-container *ngTemplateOutlet="col2"></ng-container>
|
|
245
|
+
</div>
|
|
246
|
+
<div class="ids-header-inera-general-nav-item__menu-col-3">
|
|
247
|
+
<ng-container *ngTemplateOutlet="col3"></ng-container>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="ids-header-inera-general-nav-item__menu-col-4">
|
|
250
|
+
<ng-container *ngTemplateOutlet="col4"></ng-container>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</div>`,
|
|
255
|
+
standalone: true,
|
|
256
|
+
imports: [IDClickOutsideDirective, NgTemplateOutlet],
|
|
257
|
+
host: {
|
|
258
|
+
class: 'ids-header-inera-general-nav-item',
|
|
259
|
+
'[class.ids-header-inera-general-nav-item--unresponsive]': 'header?.unresponsive',
|
|
260
|
+
'[class.ids-header-inera-general-nav-item--active]': 'active || expanded',
|
|
261
|
+
'[attr.aria-current]': 'active',
|
|
262
|
+
'[class.ids-header-inera-general-nav-item--expanded]': 'expanded'
|
|
263
|
+
}
|
|
264
|
+
}]
|
|
265
|
+
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
266
|
+
type: Input
|
|
267
|
+
}], active: [{
|
|
268
|
+
type: Input,
|
|
269
|
+
args: [{ transform: booleanAttribute }]
|
|
270
|
+
}], activeChange: [{
|
|
271
|
+
type: Output
|
|
272
|
+
}], expanded: [{
|
|
273
|
+
type: Input,
|
|
274
|
+
args: [{ transform: booleanAttribute }]
|
|
275
|
+
}], expandedChange: [{
|
|
276
|
+
type: Output
|
|
277
|
+
}], col1: [{
|
|
278
|
+
type: ContentChild,
|
|
279
|
+
args: ['col1']
|
|
280
|
+
}], col2: [{
|
|
281
|
+
type: ContentChild,
|
|
282
|
+
args: ['col2']
|
|
283
|
+
}], col3: [{
|
|
284
|
+
type: ContentChild,
|
|
285
|
+
args: ['col3']
|
|
286
|
+
}], col4: [{
|
|
287
|
+
type: ContentChild,
|
|
288
|
+
args: ['col4']
|
|
289
|
+
}] } });
|
|
290
|
+
|
|
291
|
+
class IDHeaderIneraGeneralMenuMobileComponent {
|
|
292
|
+
expanded = false;
|
|
293
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
294
|
+
toggleExpansion() {
|
|
295
|
+
this.expanded = !this.expanded;
|
|
296
|
+
}
|
|
297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralMenuMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
298
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraGeneralMenuMobileComponent, isStandalone: true, selector: "id-header-inera-general-menu-mobile", inputs: { expanded: ["expanded", "expanded", booleanAttribute] }, host: { classAttribute: "ids-header-inera-general__mobile-menu" }, ngImport: i0, template: `
|
|
299
|
+
<div
|
|
300
|
+
class="ids-header-inera-general-menu-mobile"
|
|
301
|
+
[class.ids-header-inera-general-menu-mobile--unresponsive]="header?.unresponsive"
|
|
302
|
+
[class.ids-header-inera-general-menu-mobile--expanded]="expanded"
|
|
303
|
+
>
|
|
304
|
+
<button
|
|
305
|
+
(click)="toggleExpansion()"
|
|
306
|
+
aria-label="Meny"
|
|
307
|
+
[attr.aria-expanded]="expanded"
|
|
308
|
+
class="ids-header-inera-general-menu-mobile__button"
|
|
309
|
+
>
|
|
310
|
+
<div class="ids-hamburger">
|
|
311
|
+
<span class="ids-hamburger__lines"></span>
|
|
312
|
+
</div>
|
|
313
|
+
</button>
|
|
314
|
+
@if (expanded) {
|
|
315
|
+
<nav class="ids-header-inera-general-menu-mobile__items">
|
|
316
|
+
<ng-content select="id-mobile-menu"></ng-content>
|
|
317
|
+
</nav>
|
|
318
|
+
}
|
|
319
|
+
</div>
|
|
320
|
+
`, isInline: true });
|
|
321
|
+
}
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralMenuMobileComponent, decorators: [{
|
|
323
|
+
type: Component,
|
|
324
|
+
args: [{
|
|
325
|
+
selector: 'id-header-inera-general-menu-mobile',
|
|
326
|
+
template: `
|
|
327
|
+
<div
|
|
328
|
+
class="ids-header-inera-general-menu-mobile"
|
|
329
|
+
[class.ids-header-inera-general-menu-mobile--unresponsive]="header?.unresponsive"
|
|
330
|
+
[class.ids-header-inera-general-menu-mobile--expanded]="expanded"
|
|
331
|
+
>
|
|
332
|
+
<button
|
|
333
|
+
(click)="toggleExpansion()"
|
|
334
|
+
aria-label="Meny"
|
|
335
|
+
[attr.aria-expanded]="expanded"
|
|
336
|
+
class="ids-header-inera-general-menu-mobile__button"
|
|
337
|
+
>
|
|
338
|
+
<div class="ids-hamburger">
|
|
339
|
+
<span class="ids-hamburger__lines"></span>
|
|
340
|
+
</div>
|
|
341
|
+
</button>
|
|
342
|
+
@if (expanded) {
|
|
343
|
+
<nav class="ids-header-inera-general-menu-mobile__items">
|
|
344
|
+
<ng-content select="id-mobile-menu"></ng-content>
|
|
345
|
+
</nav>
|
|
346
|
+
}
|
|
347
|
+
</div>
|
|
348
|
+
`,
|
|
349
|
+
standalone: true,
|
|
350
|
+
host: {
|
|
351
|
+
class: 'ids-header-inera-general__mobile-menu',
|
|
352
|
+
},
|
|
353
|
+
}]
|
|
354
|
+
}], propDecorators: { expanded: [{
|
|
355
|
+
type: Input,
|
|
356
|
+
args: [{ transform: booleanAttribute }]
|
|
357
|
+
}] } });
|
|
358
|
+
|
|
359
|
+
class IDHeaderIneraGeneralNavItemMenuLinkComponent {
|
|
360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemMenuLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
361
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDHeaderIneraGeneralNavItemMenuLinkComponent, isStandalone: true, selector: "id-header-inera-general-nav-item-menu-link", host: { classAttribute: "ids-header-inera-general-nav__menu-item-wrapper" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
362
|
+
}
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemMenuLinkComponent, decorators: [{
|
|
364
|
+
type: Component,
|
|
365
|
+
args: [{
|
|
366
|
+
selector: "id-header-inera-general-nav-item-menu-link",
|
|
367
|
+
template: `<ng-content></ng-content>`,
|
|
368
|
+
standalone: true,
|
|
369
|
+
host: {
|
|
370
|
+
class: 'ids-header-inera-general-nav__menu-item-wrapper'
|
|
371
|
+
}
|
|
372
|
+
}]
|
|
373
|
+
}] });
|
|
374
|
+
|
|
375
|
+
class IDHeaderIneraGeneralModule {
|
|
376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
377
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule, imports: [IDHeaderIneraGeneralComponent,
|
|
378
|
+
IDHeaderIneraGeneralItemComponent,
|
|
379
|
+
IDHeaderIneraGeneralNavComponent,
|
|
380
|
+
IDHeaderIneraGeneralNavItemComponent,
|
|
381
|
+
IDHeaderIneraGeneralMenuMobileComponent,
|
|
382
|
+
IDHeaderIneraGeneralSkipToContent,
|
|
383
|
+
IDHeaderIneraGeneralNavItemMenuLinkComponent,
|
|
384
|
+
IDHeaderIneraGeneralBrandLinkDirective], exports: [IDHeaderIneraGeneralComponent,
|
|
385
|
+
IDHeaderIneraGeneralItemComponent,
|
|
386
|
+
IDHeaderIneraGeneralNavComponent,
|
|
387
|
+
IDHeaderIneraGeneralNavItemComponent,
|
|
388
|
+
IDHeaderIneraGeneralMenuMobileComponent,
|
|
389
|
+
IDHeaderIneraGeneralSkipToContent,
|
|
390
|
+
IDHeaderIneraGeneralNavItemMenuLinkComponent,
|
|
391
|
+
IDHeaderIneraGeneralBrandLinkDirective] });
|
|
392
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule });
|
|
393
|
+
}
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule, decorators: [{
|
|
395
|
+
type: NgModule,
|
|
396
|
+
args: [{
|
|
397
|
+
imports: [
|
|
398
|
+
IDHeaderIneraGeneralComponent,
|
|
399
|
+
IDHeaderIneraGeneralItemComponent,
|
|
400
|
+
IDHeaderIneraGeneralNavComponent,
|
|
401
|
+
IDHeaderIneraGeneralNavItemComponent,
|
|
402
|
+
IDHeaderIneraGeneralMenuMobileComponent,
|
|
403
|
+
IDHeaderIneraGeneralSkipToContent,
|
|
404
|
+
IDHeaderIneraGeneralNavItemMenuLinkComponent,
|
|
405
|
+
IDHeaderIneraGeneralBrandLinkDirective,
|
|
406
|
+
],
|
|
407
|
+
exports: [
|
|
408
|
+
IDHeaderIneraGeneralComponent,
|
|
409
|
+
IDHeaderIneraGeneralItemComponent,
|
|
410
|
+
IDHeaderIneraGeneralNavComponent,
|
|
411
|
+
IDHeaderIneraGeneralNavItemComponent,
|
|
412
|
+
IDHeaderIneraGeneralMenuMobileComponent,
|
|
413
|
+
IDHeaderIneraGeneralSkipToContent,
|
|
414
|
+
IDHeaderIneraGeneralNavItemMenuLinkComponent,
|
|
415
|
+
IDHeaderIneraGeneralBrandLinkDirective,
|
|
416
|
+
],
|
|
417
|
+
}]
|
|
418
|
+
}] });
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Generated bundle index. Do not edit.
|
|
422
|
+
*/
|
|
423
|
+
|
|
424
|
+
export { IDHeaderIneraGeneralBrandLinkDirective, IDHeaderIneraGeneralComponent, IDHeaderIneraGeneralItemComponent, IDHeaderIneraGeneralMenuMobileComponent, IDHeaderIneraGeneralModule, IDHeaderIneraGeneralNavComponent, IDHeaderIneraGeneralNavItemComponent, IDHeaderIneraGeneralNavItemMenuLinkComponent, IDHeaderIneraGeneralSkipToContent };
|
|
425
|
+
//# sourceMappingURL=inera-ids-angular-components-header-inera-general.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-header-inera-general.mjs","sources":["../../../projects/ids-angular/components/header-inera-general/item/header-inera-general-item.component.ts","../../../projects/ids-angular/components/header-inera-general/nav/header-inera-general-nav.component.ts","../../../projects/ids-angular/components/header-inera-general/skip-to-content/header-inera-general-skip-to-content.component.ts","../../../projects/ids-angular/components/header-inera-general/brand-link/header-inera-general-brand-link.directive.ts","../../../projects/ids-angular/components/header-inera-general/header-inera-general.component.ts","../../../projects/ids-angular/components/header-inera-general/header-inera-general.component.html","../../../projects/ids-angular/components/header-inera-general/nav-item/header-inera-general-nav-item.component.ts","../../../projects/ids-angular/components/header-inera-general/menu-mobile/header-inera-general-menu-mobile.component.ts","../../../projects/ids-angular/components/header-inera-general/nav-item-menu-link/header-inera-general-nav-item-menu-link.component.ts","../../../projects/ids-angular/components/header-inera-general/header-inera-general.module.ts","../../../projects/ids-angular/components/header-inera-general/inera-ids-angular-components-header-inera-general.ts"],"sourcesContent":["import { Component, Input, booleanAttribute, inject } from '@angular/core';\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-header-inera-general-item',\n template: `\n <div class=\"ids-header-inera-general-item__icon\">\n <ng-content name=[icon]></ng-content>\n <span class=\"ids-icon-{{icon}}\" aria-hidden=\"true\"></span>\n </div>\n <ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera-general-item',\n '[class.ids-header-inera-general-item--unresponsive]': 'header?.unresponsive',\n '[class.ids-header-inera-general-item--mobile]': 'mobile'\n }\n})\nexport class IDHeaderIneraGeneralItemComponent {\n\n @Input({ transform: booleanAttribute }) mobile: boolean = false;\n @Input() icon?: string;\n\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n}\n ","import { Component, Input, TemplateRef, ViewChild, booleanAttribute } from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-general-nav\",\n template: `\n <ng-template #nav>\n <div class=\"ids-header-inera-general-nav__nav-items\"> \n <ng-content></ng-content>\n </div>\n </ng-template>`,\n standalone: true\n})\nexport class IDHeaderIneraGeneralNavComponent {\n @Input({ transform: booleanAttribute }) hideOnTablet: boolean = false;\n\n @ViewChild('nav') template: TemplateRef<any>;\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-general-skip-to-content\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera-general__skip-to-content'\n }\n})\nexport class IDHeaderIneraGeneralSkipToContent {}\n","import { Directive } from \"@angular/core\";\n\n@Directive({\n selector: \"a[idBrandIneraGeneralLink]\",\n standalone: true,\n})\nexport class IDHeaderIneraGeneralBrandLinkDirective {}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n ContentChild,\n ContentChildren,\n Input,\n QueryList,\n booleanAttribute,\n} from '@angular/core';\nimport { IDHeaderIneraGeneralItemComponent } from './item/header-inera-general-item.component';\nimport { IDHeaderIneraGeneralNavComponent } from './nav/header-inera-general-nav.component';\nimport { IDHeaderIneraGeneralSkipToContent } from './skip-to-content/header-inera-general-skip-to-content.component';\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from '@inera/ids-angular/common';\nimport { IDHeaderIneraGeneralBrandLinkDirective } from './brand-link/header-inera-general-brand-link.directive';\n\n@Component({\n selector: 'id-header-inera-general',\n templateUrl: './header-inera-general.component.html',\n standalone: true,\n providers: [\n {\n provide: ID_HEADER_CONTEXT,\n useExisting: IDHeaderIneraGeneralComponent,\n },\n ],\n imports: [NgTemplateOutlet],\n})\nexport class IDHeaderIneraGeneralComponent implements IDHeaderContext {\n @Input({ transform: booleanAttribute }) unresponsive: boolean = false;\n @Input() brandText: string = '';\n\n @ContentChildren(IDHeaderIneraGeneralItemComponent)\n items: QueryList<IDHeaderIneraGeneralItemComponent>;\n\n @ContentChild(IDHeaderIneraGeneralNavComponent)\n nav: IDHeaderIneraGeneralNavComponent;\n\n @ContentChild(IDHeaderIneraGeneralBrandLinkDirective)\n brandLink: IDHeaderIneraGeneralBrandLinkDirective;\n\n @ContentChild(IDHeaderIneraGeneralSkipToContent)\n skipToContent: IDHeaderIneraGeneralSkipToContent;\n}\n","<header\n class=\"ids-header-inera-general\"\n [class.ids-header-inera-general--unresponsive]=\"unresponsive\"\n>\n <ng-content select=\"id-header-inera-general-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera-general__container\">\n <div class=\"ids-header-inera-general__inner\">\n <div class=\"ids-header-inera-general__main\">\n <div class=\"ids-header-inera-general__brand\">\n @if (brandLink) {\n <span class=\"ids-header-inera-general__brand-text\">{{ brandText }}</span>\n <span class=\"ids-header-inera-general__brand-link\">\n <ng-content select=\"[idBrandIneraGeneralLink]\"></ng-content>\n </span>\n } @else {\n <h1 class=\"ids-header-inera-general__brand-text\">{{ brandText }}</h1>\n }\n </div>\n\n @if (items) {\n <div class=\"ids-header-inera-general__items\">\n <ng-content select=\"id-header-inera-general-item\"></ng-content>\n <ng-content select=\"id-header-inera-general-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if (nav) {\n <nav\n class=\"ids-header-inera-general-nav\"\n [class.ids-header-inera-general-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-inera-general-nav--hide-on-tablet]=\"nav.hideOnTablet\"\n >\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>\n","import { NgTemplateOutlet } from \"@angular/common\";\nimport { Component, ContentChild, EventEmitter, Input, Output, TemplateRef, booleanAttribute, inject } from \"@angular/core\";\nimport { ID_HEADER_CONTEXT, IDHeaderContext, IDUseIdService, IDClickOutsideDirective, useEscapeKey } from \"@inera/ids-angular/common\";\n\n@Component({\n selector: \"id-header-inera-general-nav-item\",\n template: `\n <div\n idClickOutside\n (idClickOutside)=\"closeItem()\">\n @if (this.label) {\n <button\n [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"expanded\"\n class=\"ids-header-inera-general-nav-item__button\"\n (click)=\"toggleExpansion()\">\n {{label}}\n </button>\n } @else {\n <span class=\"ids-header-inera-general-nav-item__link\">\n <ng-content select=\"[link]\"></ng-content>\n </span>\n }\n <div [attr.id]=\"contentId\" \n class=\"ids-header-inera-general-nav-item__menu\"\n [class.ids-header-inera-general-nav-item__menu--expanded]=\"expanded\">\n <div class=\"ids-header-inera-general-nav-item__menu-content\">\n <div class=\"ids-header-inera-general-nav-item__menu-col-1\">\n <ng-container *ngTemplateOutlet=\"col1\"></ng-container>\n </div>\n <div class=\"ids-header-inera-general-nav-item__menu-col-2\">\n <ng-container *ngTemplateOutlet=\"col2\"></ng-container>\n </div>\n <div class=\"ids-header-inera-general-nav-item__menu-col-3\">\n <ng-container *ngTemplateOutlet=\"col3\"></ng-container>\n </div>\n <div class=\"ids-header-inera-general-nav-item__menu-col-4\">\n <ng-container *ngTemplateOutlet=\"col4\"></ng-container>\n </div>\n </div>\n </div>\n </div>`,\n standalone: true,\n imports: [IDClickOutsideDirective, NgTemplateOutlet],\n host: {\n class: 'ids-header-inera-general-nav-item',\n '[class.ids-header-inera-general-nav-item--unresponsive]': 'header?.unresponsive',\n '[class.ids-header-inera-general-nav-item--active]': 'active || expanded',\n '[attr.aria-current]': 'active',\n '[class.ids-header-inera-general-nav-item--expanded]': 'expanded'\n }\n})\nexport class IDHeaderIneraGeneralNavItemComponent {\n @Input() label?: string;\n\n @Input({ transform: booleanAttribute }) active: boolean = false;\n @Output() activeChange = new EventEmitter<boolean>();\n\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n @Output() expandedChange = new EventEmitter<boolean>();\n\n @ContentChild('col1') col1: TemplateRef<any> | null = null;\n @ContentChild('col2') col2: TemplateRef<any> | null = null;\n @ContentChild('col3') col3: TemplateRef<any> | null = null;\n @ContentChild('col4') col4: TemplateRef<any> | null = null;\n\n private idService = inject(IDUseIdService);\n protected contentId = this.idService.generateId('header-inera-general-nav-item');\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n\n constructor() {\n useEscapeKey(() => this.closeItem(), () => this.expanded);\n }\n\n toggleExpansion(): void {\n if(this.expanded) {\n this.closeItem();\n } else {\n this.expandItem();\n }\n }\n\n expandItem(): void {\n this.expanded = true;\n this.expandedChange.emit(true);\n this.activeChange.emit(true);\n }\n\n closeItem(): void {\n this.expanded = false;\n this.expandedChange.emit(false);\n this.activeChange.emit(false);\n }\n}\n","import { Component, Input, booleanAttribute, inject } from '@angular/core';\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-header-inera-general-menu-mobile',\n template: `\n <div\n class=\"ids-header-inera-general-menu-mobile\"\n [class.ids-header-inera-general-menu-mobile--unresponsive]=\"header?.unresponsive\"\n [class.ids-header-inera-general-menu-mobile--expanded]=\"expanded\"\n >\n <button\n (click)=\"toggleExpansion()\"\n aria-label=\"Meny\"\n [attr.aria-expanded]=\"expanded\"\n class=\"ids-header-inera-general-menu-mobile__button\"\n >\n <div class=\"ids-hamburger\">\n <span class=\"ids-hamburger__lines\"></span>\n </div>\n </button>\n @if (expanded) {\n <nav class=\"ids-header-inera-general-menu-mobile__items\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </nav>\n }\n </div>\n `,\n standalone: true,\n host: {\n class: 'ids-header-inera-general__mobile-menu',\n },\n})\nexport class IDHeaderIneraGeneralMenuMobileComponent {\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n\n toggleExpansion() {\n this.expanded = !this.expanded;\n }\n}\n","import {\n Component,\n} from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-general-nav-item-menu-link\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera-general-nav__menu-item-wrapper'\n }\n})\nexport class IDHeaderIneraGeneralNavItemMenuLinkComponent {\n}\n","import { NgModule } from '@angular/core';\n\nimport { IDHeaderIneraGeneralComponent } from './header-inera-general.component';\nimport { IDHeaderIneraGeneralItemComponent } from './item/header-inera-general-item.component';\nimport { IDHeaderIneraGeneralNavComponent } from './nav/header-inera-general-nav.component';\nimport { IDHeaderIneraGeneralNavItemComponent } from './nav-item/header-inera-general-nav-item.component';\nimport { IDHeaderIneraGeneralMenuMobileComponent } from './menu-mobile/header-inera-general-menu-mobile.component';\nimport { IDHeaderIneraGeneralSkipToContent } from './skip-to-content/header-inera-general-skip-to-content.component';\nimport { IDHeaderIneraGeneralNavItemMenuLinkComponent } from './nav-item-menu-link/header-inera-general-nav-item-menu-link.component';\n\nimport { IDHeaderIneraGeneralBrandLinkDirective } from './brand-link/header-inera-general-brand-link.directive';\n\n@NgModule({\n imports: [\n IDHeaderIneraGeneralComponent,\n IDHeaderIneraGeneralItemComponent,\n IDHeaderIneraGeneralNavComponent,\n IDHeaderIneraGeneralNavItemComponent,\n IDHeaderIneraGeneralMenuMobileComponent,\n IDHeaderIneraGeneralSkipToContent,\n IDHeaderIneraGeneralNavItemMenuLinkComponent,\n IDHeaderIneraGeneralBrandLinkDirective,\n ],\n exports: [\n IDHeaderIneraGeneralComponent,\n IDHeaderIneraGeneralItemComponent,\n IDHeaderIneraGeneralNavComponent,\n IDHeaderIneraGeneralNavItemComponent,\n IDHeaderIneraGeneralMenuMobileComponent,\n IDHeaderIneraGeneralSkipToContent,\n IDHeaderIneraGeneralNavItemMenuLinkComponent,\n IDHeaderIneraGeneralBrandLinkDirective,\n ],\n})\nexport class IDHeaderIneraGeneralModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAkBa,iCAAiC,CAAA;IAEJ,MAAM,GAAY,KAAK;AACtD,IAAA,IAAI;AAEb,IAAA,MAAM,GAAG,MAAM,CAAyB,iBAAiB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;wGAL/E,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAExB,gBAAgB,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mDAAA,EAAA,sBAAA,EAAA,6CAAA,EAAA,QAAA,EAAA,EAAA,cAAA,EAAA,+BAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAf1B;;;;;AAKkB,6BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAQjB,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAf7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,8BAA8B;AACxC,oBAAA,QAAQ,EAAE;;;;;AAKkB,6BAAA,CAAA;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,+BAA+B;AACtC,wBAAA,qDAAqD,EAAE,sBAAsB;AAC7E,wBAAA,+CAA+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BACvC,iCAAiC;wBACjC,4CAA4C;wBAC5C,sCAAsC;AACvC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,6BAA6B;wBAC7B,iCAAiC;wBACjC,gCAAgC;wBAChC,oCAAoC;wBACpC,uCAAuC;wBACvC,iCAAiC;wBACjC,4CAA4C;wBAC5C,sCAAsC;AACvC,qBAAA;AACF,iBAAA;;;ACjCD;;AAEG;;;;"}
|
|
@@ -168,19 +168,17 @@ class IDHeaderIneraNavItemComponent {
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
expandItem() {
|
|
171
|
-
this.active = true;
|
|
172
171
|
this.expanded = true;
|
|
173
172
|
this.expandedChange.emit(true);
|
|
174
173
|
this.activeChange.emit(true);
|
|
175
174
|
}
|
|
176
175
|
closeItem() {
|
|
177
|
-
this.active = false;
|
|
178
176
|
this.expanded = false;
|
|
179
177
|
this.expandedChange.emit(false);
|
|
180
178
|
this.activeChange.emit(false);
|
|
181
179
|
}
|
|
182
180
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
183
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraNavItemComponent, isStandalone: true, selector: "id-header-inera-nav-item", inputs: { label: "label", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-inera-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-nav-item--active": "active", "attr.aria-current": "active", "class.ids-header-inera-nav-item--expanded": "expanded" }, classAttribute: "ids-header-inera-nav-item" }, queries: [{ propertyName: "col1", first: true, predicate: ["col1"], descendants: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true }], ngImport: i0, template: `
|
|
181
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraNavItemComponent, isStandalone: true, selector: "id-header-inera-nav-item", inputs: { label: "label", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-inera-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-nav-item--active": "active || expanded", "attr.aria-current": "active", "class.ids-header-inera-nav-item--expanded": "expanded" }, classAttribute: "ids-header-inera-nav-item" }, queries: [{ propertyName: "col1", first: true, predicate: ["col1"], descendants: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true }], ngImport: i0, template: `
|
|
184
182
|
<div
|
|
185
183
|
idClickOutside
|
|
186
184
|
(idClickOutside)="closeItem()">
|
|
@@ -262,7 +260,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
262
260
|
host: {
|
|
263
261
|
class: 'ids-header-inera-nav-item',
|
|
264
262
|
'[class.ids-header-inera-nav-item--unresponsive]': 'header?.unresponsive',
|
|
265
|
-
'[class.ids-header-inera-nav-item--active]': 'active',
|
|
263
|
+
'[class.ids-header-inera-nav-item--active]': 'active || expanded',
|
|
266
264
|
'[attr.aria-current]': 'active',
|
|
267
265
|
'[class.ids-header-inera-nav-item--expanded]': 'expanded'
|
|
268
266
|
}
|