@inera/ids-angular 9.3.0 → 9.4.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.
Files changed (127) hide show
  1. package/components/box-link/box-link.component.d.ts +1 -1
  2. package/components/dialog/dialog.module.d.ts +12 -0
  3. package/components/dialog/public-api.d.ts +1 -0
  4. package/components/district-selector/district-selector.component.d.ts +14 -0
  5. package/components/district-selector/index.d.ts +5 -0
  6. package/components/district-selector/public-api.d.ts +1 -0
  7. package/components/form/spinner/spinner.component.d.ts +2 -1
  8. package/components/header-1177/region-picker/header-1177-region-picker.component.d.ts +1 -1
  9. package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +3 -1
  10. package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +3 -1
  11. package/components/header-inera/nav/header-inera-nav.component.d.ts +1 -1
  12. package/components/header-inera-admin/header-inera-admin.component.d.ts +6 -6
  13. package/components/header-inera-admin/header-inera-admin.module.d.ts +1 -1
  14. package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +3 -1
  15. package/components/header-inera-admin/public-api.d.ts +12 -12
  16. package/components/header-inera-general/avatar/header-inera-general-avatar.component.d.ts +26 -0
  17. package/components/header-inera-general/avatar-mobile/header-inera-general-avatar-mobile.component.d.ts +26 -0
  18. package/components/header-inera-general/header-inera-general.component.d.ts +6 -1
  19. package/components/header-inera-general/header-inera-general.module.d.ts +11 -8
  20. package/components/header-inera-general/item/header-inera-general-item.component.d.ts +3 -1
  21. package/components/header-inera-general/nav-item-mobile/header-inera-general-nav-item-mobile.component.d.ts +8 -0
  22. package/components/header-inera-general/nav-mobile/header-inera-general-nav-mobile.component.d.ts +7 -0
  23. package/components/header-inera-general/public-api.d.ts +5 -1
  24. package/components/message-avatar/index.d.ts +5 -0
  25. package/components/message-avatar/message-avatar.component.d.ts +10 -0
  26. package/components/message-avatar/public-api.d.ts +1 -0
  27. package/components/navigation/content/navigation-content-item.component.d.ts +24 -0
  28. package/components/navigation/content/navigation-content.component.d.ts +5 -1
  29. package/components/navigation/content/public-api.d.ts +1 -0
  30. package/components/side-menu/side-menu.component.d.ts +2 -0
  31. package/components/stepper/step.component.d.ts +2 -0
  32. package/fesm2022/inera-ids-angular-common.mjs +24 -24
  33. package/fesm2022/inera-ids-angular-components-accordion.mjs +6 -6
  34. package/fesm2022/inera-ids-angular-components-action-link.mjs +3 -3
  35. package/fesm2022/inera-ids-angular-components-alert.mjs +6 -6
  36. package/fesm2022/inera-ids-angular-components-badge.mjs +4 -4
  37. package/fesm2022/inera-ids-angular-components-badge.mjs.map +1 -1
  38. package/fesm2022/inera-ids-angular-components-box-link.mjs +13 -11
  39. package/fesm2022/inera-ids-angular-components-box-link.mjs.map +1 -1
  40. package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +6 -6
  41. package/fesm2022/inera-ids-angular-components-button-group.mjs +3 -3
  42. package/fesm2022/inera-ids-angular-components-button.mjs +3 -3
  43. package/fesm2022/inera-ids-angular-components-card.mjs +3 -3
  44. package/fesm2022/inera-ids-angular-components-carousel.mjs +7 -7
  45. package/fesm2022/inera-ids-angular-components-carousel.mjs.map +1 -1
  46. package/fesm2022/inera-ids-angular-components-control-button.mjs +3 -3
  47. package/fesm2022/inera-ids-angular-components-control-button.mjs.map +1 -1
  48. package/fesm2022/inera-ids-angular-components-date-label.mjs +3 -3
  49. package/fesm2022/inera-ids-angular-components-dialog.mjs +57 -20
  50. package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
  51. package/fesm2022/inera-ids-angular-components-district-selector.mjs +45 -0
  52. package/fesm2022/inera-ids-angular-components-district-selector.mjs.map +1 -0
  53. package/fesm2022/inera-ids-angular-components-dropdown.mjs +13 -13
  54. package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs +22 -22
  55. package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs +22 -22
  56. package/fesm2022/inera-ids-angular-components-footer-1177.mjs +22 -22
  57. package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +25 -25
  58. package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs +25 -25
  59. package/fesm2022/inera-ids-angular-components-footer-inera.mjs +25 -25
  60. package/fesm2022/inera-ids-angular-components-form-check-button.mjs +3 -3
  61. package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs +3 -3
  62. package/fesm2022/inera-ids-angular-components-form-checkbox.mjs +3 -3
  63. package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs +3 -3
  64. package/fesm2022/inera-ids-angular-components-form-error-message.mjs +3 -3
  65. package/fesm2022/inera-ids-angular-components-form-input.mjs +15 -15
  66. package/fesm2022/inera-ids-angular-components-form-label-subtitle.mjs +3 -3
  67. package/fesm2022/inera-ids-angular-components-form-radio-button.mjs +6 -6
  68. package/fesm2022/inera-ids-angular-components-form-radio.mjs +6 -6
  69. package/fesm2022/inera-ids-angular-components-form-range.mjs +3 -3
  70. package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs +3 -3
  71. package/fesm2022/inera-ids-angular-components-form-select.mjs +3 -3
  72. package/fesm2022/inera-ids-angular-components-form-spinner.mjs +7 -4
  73. package/fesm2022/inera-ids-angular-components-form-spinner.mjs.map +1 -1
  74. package/fesm2022/inera-ids-angular-components-form-textarea.mjs +6 -6
  75. package/fesm2022/inera-ids-angular-components-form-time.mjs +3 -3
  76. package/fesm2022/inera-ids-angular-components-form-toggle.mjs +3 -3
  77. package/fesm2022/inera-ids-angular-components-global-alert.mjs +9 -9
  78. package/fesm2022/inera-ids-angular-components-grid-column.mjs +3 -3
  79. package/fesm2022/inera-ids-angular-components-grid-container.mjs +3 -3
  80. package/fesm2022/inera-ids-angular-components-grid-layout-grid-column.mjs +3 -3
  81. package/fesm2022/inera-ids-angular-components-grid-layout-grid-container.mjs +3 -3
  82. package/fesm2022/inera-ids-angular-components-grid-layout-grid-row.mjs +3 -3
  83. package/fesm2022/inera-ids-angular-components-grid-layout.mjs +9 -9
  84. package/fesm2022/inera-ids-angular-components-grid-row.mjs +3 -3
  85. package/fesm2022/inera-ids-angular-components-grid.mjs +9 -9
  86. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +63 -55
  87. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
  88. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +67 -55
  89. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
  90. package/fesm2022/inera-ids-angular-components-header-1177.mjs +79 -87
  91. package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
  92. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +76 -72
  93. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
  94. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs +374 -36
  95. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs.map +1 -1
  96. package/fesm2022/inera-ids-angular-components-header-inera.mjs +36 -34
  97. package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
  98. package/fesm2022/inera-ids-angular-components-header-patient.mjs +6 -6
  99. package/fesm2022/inera-ids-angular-components-link.mjs +3 -3
  100. package/fesm2022/inera-ids-angular-components-message-avatar.mjs +35 -0
  101. package/fesm2022/inera-ids-angular-components-message-avatar.mjs.map +1 -0
  102. package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs +4 -4
  103. package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs.map +1 -1
  104. package/fesm2022/inera-ids-angular-components-mobile-menu.mjs +7 -7
  105. package/fesm2022/inera-ids-angular-components-mobile-menu.mjs.map +1 -1
  106. package/fesm2022/inera-ids-angular-components-navigation-content.mjs +77 -10
  107. package/fesm2022/inera-ids-angular-components-navigation-content.mjs.map +1 -1
  108. package/fesm2022/inera-ids-angular-components-navigation-local.mjs +6 -6
  109. package/fesm2022/inera-ids-angular-components-notification-badge.mjs +5 -5
  110. package/fesm2022/inera-ids-angular-components-notification-badge.mjs.map +1 -1
  111. package/fesm2022/inera-ids-angular-components-pagination-data-pagination.mjs +6 -6
  112. package/fesm2022/inera-ids-angular-components-pagination-list-pagination.mjs +3 -3
  113. package/fesm2022/inera-ids-angular-components-popover.mjs +19 -19
  114. package/fesm2022/inera-ids-angular-components-progressbar.mjs +3 -3
  115. package/fesm2022/inera-ids-angular-components-puff-list.mjs +25 -25
  116. package/fesm2022/inera-ids-angular-components-region-icon.mjs +3 -3
  117. package/fesm2022/inera-ids-angular-components-side-menu.mjs +33 -20
  118. package/fesm2022/inera-ids-angular-components-side-menu.mjs.map +1 -1
  119. package/fesm2022/inera-ids-angular-components-side-panel.mjs +13 -13
  120. package/fesm2022/inera-ids-angular-components-stepper.mjs +21 -14
  121. package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
  122. package/fesm2022/inera-ids-angular-components-tabs.mjs +6 -6
  123. package/fesm2022/inera-ids-angular-components-tag.mjs +6 -6
  124. package/fesm2022/inera-ids-angular-components-toolbar.mjs +3 -3
  125. package/fesm2022/inera-ids-angular-components-tooltip.mjs +10 -10
  126. package/package.json +102 -94
  127. /package/components/header-inera-admin/nav-item-mobile/{header-inera-admin-nav-item-mobile.d.ts → header-inera-admin-nav-item-mobile.component.d.ts} +0 -0
@@ -1,21 +1,22 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, booleanAttribute, Input, Component, viewChild, Directive, contentChildren, contentChild, EventEmitter, Output, NgModule } from '@angular/core';
2
+ import { inject, booleanAttribute, Input, Component, EventEmitter, viewChild, Output, Directive, contentChildren, contentChild, computed, NgModule } from '@angular/core';
3
3
  import { NgTemplateOutlet } from '@angular/common';
4
- import { ID_HEADER_CONTEXT, IDUseIdService, useEscapeKey, IDClickOutsideDirective } from '@inera/ids-angular/common';
4
+ import { ID_HEADER_CONTEXT, IDUseIdService, useFocusTrap, useEscapeKey, IDClickOutsideDirective } from '@inera/ids-angular/common';
5
5
 
6
6
  class IDHeaderIneraGeneralItemComponent {
7
7
  mobile = false;
8
+ separatorLeft = false;
8
9
  icon;
9
10
  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: `
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.25", type: IDHeaderIneraGeneralItemComponent, isStandalone: true, selector: "id-header-inera-general-item", inputs: { mobile: ["mobile", "mobile", booleanAttribute], separatorLeft: ["separatorLeft", "separatorLeft", booleanAttribute], icon: "icon" }, host: { properties: { "class.ids-header-inera-general-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-general-item--mobile": "mobile", "class.ids-header-inera-general-item--separator": "separatorLeft" }, classAttribute: "ids-header-inera-general-item" }, ngImport: i0, template: `
12
13
  <div class="ids-header-inera-general-item__icon">
13
14
  <ng-content name=[icon]></ng-content>
14
15
  <span class="ids-icon-{{icon}}" aria-hidden="true"></span>
15
16
  </div>
16
17
  <ng-content></ng-content>`, isInline: true });
17
18
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralItemComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralItemComponent, decorators: [{
19
20
  type: Component,
20
21
  args: [{
21
22
  selector: 'id-header-inera-general-item',
@@ -29,34 +30,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
29
30
  host: {
30
31
  class: 'ids-header-inera-general-item',
31
32
  '[class.ids-header-inera-general-item--unresponsive]': 'header?.unresponsive',
32
- '[class.ids-header-inera-general-item--mobile]': 'mobile'
33
+ '[class.ids-header-inera-general-item--mobile]': 'mobile',
34
+ '[class.ids-header-inera-general-item--separator]': 'separatorLeft'
33
35
  }
34
36
  }]
35
37
  }], propDecorators: { mobile: [{
36
38
  type: Input,
37
39
  args: [{ transform: booleanAttribute }]
40
+ }], separatorLeft: [{
41
+ type: Input,
42
+ args: [{ transform: booleanAttribute }]
38
43
  }], icon: [{
39
44
  type: Input
40
45
  }] } });
41
46
 
47
+ class IDHeaderIneraGeneralAvatarComponent {
48
+ username;
49
+ unit;
50
+ persistent = false;
51
+ expanded = false;
52
+ expandedChange = new EventEmitter();
53
+ opened = new EventEmitter();
54
+ closed = new EventEmitter();
55
+ idService = inject(IDUseIdService);
56
+ contentId = this.idService.generateId('header-inera-general-avatar');
57
+ header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
58
+ menuContent = viewChild('menuContent');
59
+ focusTrap = useFocusTrap(() => this.menuContent(), { disabled: () => !this.expanded });
60
+ constructor() {
61
+ useEscapeKey(() => this.handleCloseEvent(), () => this.expanded);
62
+ }
63
+ handleCloseEvent() {
64
+ if (!this.persistent) {
65
+ this.closeAvatar();
66
+ }
67
+ }
68
+ closeAvatar() {
69
+ this.focusTrap.destroy();
70
+ this.expanded = false;
71
+ this.expandedChange.emit(false);
72
+ this.closed.emit();
73
+ }
74
+ toggleAvatar() {
75
+ this.expanded = !this.expanded;
76
+ this.expandedChange.emit(this.expanded);
77
+ if (this.expanded) {
78
+ this.focusTrap.create();
79
+ this.opened.emit();
80
+ }
81
+ else {
82
+ this.focusTrap.destroy();
83
+ this.closed.emit();
84
+ }
85
+ }
86
+ ngOnDestroy() {
87
+ this.focusTrap.destroy();
88
+ }
89
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
90
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDHeaderIneraGeneralAvatarComponent, isStandalone: true, selector: "id-header-inera-general-avatar", inputs: { username: "username", unit: "unit", persistent: ["persistent", "persistent", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { expandedChange: "expandedChange", opened: "opened", closed: "closed" }, host: { properties: { "class.ids-header-inera-general-avatar--unresponsive": "header?.unresponsive" }, classAttribute: "ids-header-inera-general-avatar" }, viewQueries: [{ propertyName: "menuContent", first: true, predicate: ["menuContent"], descendants: true, isSignal: true }], ngImport: i0, template: `
91
+ <div class="ids-header-inera-general-avatar__avatar"
92
+ idClickOutside
93
+ (idClickOutside)="handleCloseEvent()">
94
+ <div #menuContent class="ids-header-inera-general-avatar__menu-wrapper">
95
+ <button
96
+ (click)="toggleAvatar()"
97
+ [attr.aria-controls]="contentId"
98
+ class="ids-header-inera-general-avatar__button"
99
+ [class.ids-header-inera-general-avatar__button--expanded]="expanded"
100
+ [attr.aria-expanded]="expanded">
101
+ <div class="ids-header-inera-general-avatar__name" [attr.title]="username">
102
+ {{username}}
103
+ </div>
104
+ @if(unit) {
105
+ <div [attr.title]="unit" class="ids-header-inera-general-avatar__unit">{{unit}} </div>
106
+ }
107
+ </button>
108
+ @if(expanded){
109
+ <div [attr.id]="contentId"
110
+ class="ids-header-inera-general-avatar__menu ids-header-inera-general-avatar__menu--mobile-menu"
111
+ [class.ids-header-inera-general-avatar__menu--expanded]="expanded">
112
+ <ng-content select="id-header-inera-general-avatar-agent"></ng-content>
113
+ <div class="ids-header-inera-general-avatar__menu-links">
114
+ <ng-content></ng-content>
115
+ </div>
116
+ </div>
117
+ }
118
+ </div>
119
+ `, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }] });
120
+ }
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralAvatarComponent, decorators: [{
122
+ type: Component,
123
+ args: [{
124
+ selector: "id-header-inera-general-avatar",
125
+ template: `
126
+ <div class="ids-header-inera-general-avatar__avatar"
127
+ idClickOutside
128
+ (idClickOutside)="handleCloseEvent()">
129
+ <div #menuContent class="ids-header-inera-general-avatar__menu-wrapper">
130
+ <button
131
+ (click)="toggleAvatar()"
132
+ [attr.aria-controls]="contentId"
133
+ class="ids-header-inera-general-avatar__button"
134
+ [class.ids-header-inera-general-avatar__button--expanded]="expanded"
135
+ [attr.aria-expanded]="expanded">
136
+ <div class="ids-header-inera-general-avatar__name" [attr.title]="username">
137
+ {{username}}
138
+ </div>
139
+ @if(unit) {
140
+ <div [attr.title]="unit" class="ids-header-inera-general-avatar__unit">{{unit}} </div>
141
+ }
142
+ </button>
143
+ @if(expanded){
144
+ <div [attr.id]="contentId"
145
+ class="ids-header-inera-general-avatar__menu ids-header-inera-general-avatar__menu--mobile-menu"
146
+ [class.ids-header-inera-general-avatar__menu--expanded]="expanded">
147
+ <ng-content select="id-header-inera-general-avatar-agent"></ng-content>
148
+ <div class="ids-header-inera-general-avatar__menu-links">
149
+ <ng-content></ng-content>
150
+ </div>
151
+ </div>
152
+ }
153
+ </div>
154
+ `,
155
+ standalone: true,
156
+ imports: [IDClickOutsideDirective],
157
+ host: {
158
+ class: 'ids-header-inera-general-avatar',
159
+ '[class.ids-header-inera-general-avatar--unresponsive]': 'header?.unresponsive'
160
+ }
161
+ }]
162
+ }], ctorParameters: () => [], propDecorators: { username: [{
163
+ type: Input
164
+ }], unit: [{
165
+ type: Input
166
+ }], persistent: [{
167
+ type: Input,
168
+ args: [{ transform: booleanAttribute }]
169
+ }], expanded: [{
170
+ type: Input,
171
+ args: [{ transform: booleanAttribute }]
172
+ }], expandedChange: [{
173
+ type: Output
174
+ }], opened: [{
175
+ type: Output
176
+ }], closed: [{
177
+ type: Output
178
+ }] } });
179
+
42
180
  class IDHeaderIneraGeneralNavComponent {
43
181
  hideOnTablet = false;
44
182
  template = viewChild.required('nav');
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: "17.2.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, isSignal: true }], ngImport: i0, template: `
183
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
184
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: IDHeaderIneraGeneralNavComponent, isStandalone: true, selector: "id-header-inera-general-nav", inputs: { hideOnTablet: ["hideOnTablet", "hideOnTablet", booleanAttribute] }, viewQueries: [{ propertyName: "template", first: true, predicate: ["nav"], descendants: true, isSignal: true }], ngImport: i0, template: `
47
185
  <ng-template #nav>
48
- <div class="ids-header-inera-general-nav__nav-items">
186
+ <div class="ids-header-inera-general-nav__inner">
49
187
  <ng-content></ng-content>
50
188
  </div>
51
189
  </ng-template>`, isInline: true });
52
190
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavComponent, decorators: [{
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavComponent, decorators: [{
54
192
  type: Component,
55
193
  args: [{
56
194
  selector: "id-header-inera-general-nav",
57
195
  template: `
58
196
  <ng-template #nav>
59
- <div class="ids-header-inera-general-nav__nav-items">
197
+ <div class="ids-header-inera-general-nav__inner">
60
198
  <ng-content></ng-content>
61
199
  </div>
62
200
  </ng-template>`,
@@ -67,11 +205,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
67
205
  args: [{ transform: booleanAttribute }]
68
206
  }] } });
69
207
 
208
+ class IDHeaderIneraGeneralNavMobileComponent {
209
+ template = viewChild.required('navMobile');
210
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
211
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: IDHeaderIneraGeneralNavMobileComponent, isStandalone: true, selector: "id-header-inera-general-nav-mobile", viewQueries: [{ propertyName: "template", first: true, predicate: ["navMobile"], descendants: true, isSignal: true }], ngImport: i0, template: `
212
+ <ng-template #navMobile>
213
+ <ng-content></ng-content>
214
+ </ng-template>
215
+ `, isInline: true });
216
+ }
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavMobileComponent, decorators: [{
218
+ type: Component,
219
+ args: [{
220
+ selector: 'id-header-inera-general-nav-mobile',
221
+ template: `
222
+ <ng-template #navMobile>
223
+ <ng-content></ng-content>
224
+ </ng-template>
225
+ `,
226
+ standalone: true,
227
+ }]
228
+ }] });
229
+
70
230
  class IDHeaderIneraGeneralSkipToContent {
71
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralSkipToContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
72
- 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 });
231
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralSkipToContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
232
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", 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 });
73
233
  }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralSkipToContent, decorators: [{
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralSkipToContent, decorators: [{
75
235
  type: Component,
76
236
  args: [{
77
237
  selector: "id-header-inera-general-skip-to-content",
@@ -84,10 +244,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
84
244
  }] });
85
245
 
86
246
  class IDHeaderIneraGeneralBrandLinkDirective {
87
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralBrandLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
88
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: IDHeaderIneraGeneralBrandLinkDirective, isStandalone: true, selector: "a[idBrandIneraGeneralLink]", ngImport: i0 });
247
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralBrandLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
248
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: IDHeaderIneraGeneralBrandLinkDirective, isStandalone: true, selector: "a[idBrandIneraGeneralLink]", ngImport: i0 });
89
249
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralBrandLinkDirective, decorators: [{
250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralBrandLinkDirective, decorators: [{
91
251
  type: Directive,
92
252
  args: [{
93
253
  selector: "a[idBrandIneraGeneralLink]",
@@ -100,24 +260,27 @@ class IDHeaderIneraGeneralComponent {
100
260
  brandText = '';
101
261
  items = contentChildren(IDHeaderIneraGeneralItemComponent);
102
262
  nav = contentChild(IDHeaderIneraGeneralNavComponent);
263
+ avatar = contentChild(IDHeaderIneraGeneralAvatarComponent);
264
+ navMobile = contentChild(IDHeaderIneraGeneralNavMobileComponent);
103
265
  brandLink = contentChild(IDHeaderIneraGeneralBrandLinkDirective);
104
266
  skipToContent = contentChild(IDHeaderIneraGeneralSkipToContent);
105
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
106
- 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: [
267
+ hasHeaderItems = computed(() => this.items().length > 0 || !!this.avatar() || !!this.navMobile());
268
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
269
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDHeaderIneraGeneralComponent, isStandalone: true, selector: "id-header-inera-general", inputs: { unresponsive: ["unresponsive", "unresponsive", booleanAttribute], brandText: "brandText" }, providers: [
107
270
  {
108
271
  provide: ID_HEADER_CONTEXT,
109
272
  useExisting: IDHeaderIneraGeneralComponent,
110
273
  },
111
- ], queries: [{ propertyName: "items", predicate: IDHeaderIneraGeneralItemComponent, isSignal: true }, { propertyName: "nav", first: true, predicate: IDHeaderIneraGeneralNavComponent, descendants: true, isSignal: true }, { propertyName: "brandLink", first: true, predicate: IDHeaderIneraGeneralBrandLinkDirective, descendants: true, isSignal: true }, { propertyName: "skipToContent", first: true, predicate: IDHeaderIneraGeneralSkipToContent, descendants: true, isSignal: true }], 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 >\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"] }] });
274
+ ], queries: [{ propertyName: "items", predicate: IDHeaderIneraGeneralItemComponent, isSignal: true }, { propertyName: "nav", first: true, predicate: IDHeaderIneraGeneralNavComponent, descendants: true, isSignal: true }, { propertyName: "avatar", first: true, predicate: IDHeaderIneraGeneralAvatarComponent, descendants: true, isSignal: true }, { propertyName: "navMobile", first: true, predicate: IDHeaderIneraGeneralNavMobileComponent, descendants: true, isSignal: true }, { propertyName: "brandLink", first: true, predicate: IDHeaderIneraGeneralBrandLinkDirective, descendants: true, isSignal: true }, { propertyName: "skipToContent", first: true, predicate: IDHeaderIneraGeneralSkipToContent, descendants: true, isSignal: true }], 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 (hasHeaderItems()) {\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 <ng-content select=\"id-header-inera-general-avatar\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if (nav()) {\n <nav\n class=\"ids-header-inera-general-nav\"\n aria-label=\"Huvudmeny\"\n [class.ids-header-inera-general-nav--unresponsive]=\"unresponsive\">\n <ng-container *ngTemplateOutlet=\"nav()!.template()\"></ng-container>\n </nav>\n }\n @if (navMobile(); as navMobile) {\n <nav\n class=\"ids-header-inera-general-nav-mobile\"\n aria-label=\"Huvudmeny\"\n >\n <ng-container *ngTemplateOutlet=\"navMobile.template()\"></ng-container>\n </nav>\n }\n</header>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
112
275
  }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralComponent, decorators: [{
276
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralComponent, decorators: [{
114
277
  type: Component,
115
278
  args: [{ selector: 'id-header-inera-general', standalone: true, providers: [
116
279
  {
117
280
  provide: ID_HEADER_CONTEXT,
118
281
  useExisting: IDHeaderIneraGeneralComponent,
119
282
  },
120
- ], 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 >\n <ng-container *ngTemplateOutlet=\"nav()!.template()\"></ng-container>\n </nav>\n }\n</header>\n" }]
283
+ ], 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 (hasHeaderItems()) {\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 <ng-content select=\"id-header-inera-general-avatar\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if (nav()) {\n <nav\n class=\"ids-header-inera-general-nav\"\n aria-label=\"Huvudmeny\"\n [class.ids-header-inera-general-nav--unresponsive]=\"unresponsive\">\n <ng-container *ngTemplateOutlet=\"nav()!.template()\"></ng-container>\n </nav>\n }\n @if (navMobile(); as navMobile) {\n <nav\n class=\"ids-header-inera-general-nav-mobile\"\n aria-label=\"Huvudmeny\"\n >\n <ng-container *ngTemplateOutlet=\"navMobile.template()\"></ng-container>\n </nav>\n }\n</header>\n" }]
121
284
  }], propDecorators: { unresponsive: [{
122
285
  type: Input,
123
286
  args: [{ transform: booleanAttribute }]
@@ -125,6 +288,136 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
125
288
  type: Input
126
289
  }] } });
127
290
 
291
+ class IDHeaderIneraGeneralAvatarMobileComponent {
292
+ username;
293
+ unit;
294
+ expanded = false;
295
+ persistent = false;
296
+ expandedChange = new EventEmitter();
297
+ opened = new EventEmitter();
298
+ closed = new EventEmitter();
299
+ idService = inject(IDUseIdService);
300
+ contentId = this.idService.generateId('header-inera-general-avatar');
301
+ header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
302
+ menuContent = viewChild('menuContent');
303
+ focusTrap = useFocusTrap(() => this.menuContent(), { disabled: () => !this.expanded });
304
+ constructor() {
305
+ useEscapeKey(() => this.handleCloseEvent(), () => this.expanded);
306
+ }
307
+ handleCloseEvent() {
308
+ if (!this.persistent) {
309
+ this.closeAvatar();
310
+ }
311
+ }
312
+ closeAvatar() {
313
+ this.focusTrap.destroy();
314
+ this.expanded = false;
315
+ this.expandedChange.emit(false);
316
+ this.closed.emit();
317
+ }
318
+ toggleAvatar() {
319
+ this.expanded = !this.expanded;
320
+ this.expandedChange.emit(this.expanded);
321
+ if (this.expanded) {
322
+ this.focusTrap.create();
323
+ this.opened.emit();
324
+ }
325
+ else {
326
+ this.focusTrap.destroy();
327
+ this.closed.emit();
328
+ }
329
+ }
330
+ ngOnDestroy() {
331
+ this.focusTrap.destroy();
332
+ }
333
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralAvatarMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
334
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDHeaderIneraGeneralAvatarMobileComponent, isStandalone: true, selector: "id-header-inera-general-avatar-mobile", inputs: { username: "username", unit: "unit", expanded: ["expanded", "expanded", booleanAttribute], persistent: ["persistent", "persistent", booleanAttribute] }, outputs: { expandedChange: "expandedChange", opened: "opened", closed: "closed" }, host: { classAttribute: "ids-header-inera-general-avatar-mobile" }, viewQueries: [{ propertyName: "menuContent", first: true, predicate: ["menuContent"], descendants: true, isSignal: true }], ngImport: i0, template: `
335
+ <div #menuContent class="ids-header-inera-general-avatar-mobile__menu-wrapper"
336
+ idClickOutside
337
+ (idClickOutside)="handleCloseEvent()">
338
+ <button
339
+ class="ids-header-inera-general-avatar-mobile__button"
340
+ (click)="toggleAvatar()"
341
+ [attr.aria-controls]="contentId"
342
+ [class.ids-header-inera-general-avatar-mobile__button--expanded]="expanded"
343
+ [attr.aria-expanded]="expanded">
344
+ <div
345
+ class="ids-header-inera-general-avatar-mobile-content__name"
346
+ [attr.title]="username">
347
+ {{username}}
348
+ </div>
349
+ </button>
350
+ <div
351
+ class="ids-header-inera-general-avatar-mobile__menu"
352
+ [attr.id]="contentId"
353
+ [class.ids-header-inera-general-avatar-mobile__menu--expanded]="expanded">
354
+ @if(unit) {
355
+ <div class="ids-header-inera-general-avatar-mobile__unit">{{unit}}</div>
356
+ }
357
+ <div class="ids-header-inera-general-avatar-mobile__menu-links">
358
+ <ng-content></ng-content>
359
+ </div>
360
+ </div>
361
+ </div>
362
+ `, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }] });
363
+ }
364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralAvatarMobileComponent, decorators: [{
365
+ type: Component,
366
+ args: [{
367
+ selector: "id-header-inera-general-avatar-mobile",
368
+ template: `
369
+ <div #menuContent class="ids-header-inera-general-avatar-mobile__menu-wrapper"
370
+ idClickOutside
371
+ (idClickOutside)="handleCloseEvent()">
372
+ <button
373
+ class="ids-header-inera-general-avatar-mobile__button"
374
+ (click)="toggleAvatar()"
375
+ [attr.aria-controls]="contentId"
376
+ [class.ids-header-inera-general-avatar-mobile__button--expanded]="expanded"
377
+ [attr.aria-expanded]="expanded">
378
+ <div
379
+ class="ids-header-inera-general-avatar-mobile-content__name"
380
+ [attr.title]="username">
381
+ {{username}}
382
+ </div>
383
+ </button>
384
+ <div
385
+ class="ids-header-inera-general-avatar-mobile__menu"
386
+ [attr.id]="contentId"
387
+ [class.ids-header-inera-general-avatar-mobile__menu--expanded]="expanded">
388
+ @if(unit) {
389
+ <div class="ids-header-inera-general-avatar-mobile__unit">{{unit}}</div>
390
+ }
391
+ <div class="ids-header-inera-general-avatar-mobile__menu-links">
392
+ <ng-content></ng-content>
393
+ </div>
394
+ </div>
395
+ </div>
396
+ `,
397
+ standalone: true,
398
+ imports: [IDClickOutsideDirective],
399
+ host: {
400
+ class: 'ids-header-inera-general-avatar-mobile'
401
+ }
402
+ }]
403
+ }], ctorParameters: () => [], propDecorators: { username: [{
404
+ type: Input
405
+ }], unit: [{
406
+ type: Input
407
+ }], expanded: [{
408
+ type: Input,
409
+ args: [{ transform: booleanAttribute }]
410
+ }], persistent: [{
411
+ type: Input,
412
+ args: [{ transform: booleanAttribute }]
413
+ }], expandedChange: [{
414
+ type: Output
415
+ }], opened: [{
416
+ type: Output
417
+ }], closed: [{
418
+ type: Output
419
+ }] } });
420
+
128
421
  class IDHeaderIneraGeneralNavItemComponent {
129
422
  label;
130
423
  active = false;
@@ -159,8 +452,8 @@ class IDHeaderIneraGeneralNavItemComponent {
159
452
  this.expandedChange.emit(false);
160
453
  this.activeChange.emit(false);
161
454
  }
162
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
163
- 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, isSignal: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true, isSignal: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true, isSignal: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true, isSignal: true }], ngImport: i0, template: `
455
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
456
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", 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, isSignal: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true, isSignal: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true, isSignal: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true, isSignal: true }], ngImport: i0, template: `
164
457
  <div
165
458
  idClickOutside
166
459
  (idClickOutside)="closeItem()">
@@ -197,7 +490,7 @@ class IDHeaderIneraGeneralNavItemComponent {
197
490
  </div>
198
491
  </div>`, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
199
492
  }
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemComponent, decorators: [{
493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavItemComponent, decorators: [{
201
494
  type: Component,
202
495
  args: [{
203
496
  selector: "id-header-inera-general-nav-item",
@@ -261,14 +554,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
261
554
  type: Output
262
555
  }] } });
263
556
 
557
+ class IDHeaderIneraGeneralNavItemMobileComponent {
558
+ icon;
559
+ header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
560
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavItemMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
561
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: IDHeaderIneraGeneralNavItemMobileComponent, isStandalone: true, selector: "id-header-inera-general-nav-item-mobile", inputs: { icon: "icon" }, host: { properties: { "class.ids-header-inera-general-nav-item-mobile--unresponsive": "header?.unresponsive" }, classAttribute: "ids-header-inera-general-nav-item-mobile" }, ngImport: i0, template: `
562
+ <span class="ids-header-inera-general-nav-item-mobile__icon">
563
+ <span class="ids-icon-{{icon}}"></span>
564
+ <ng-content select="[idNavItemMobileIcon]"></ng-content>
565
+ </span>
566
+ <ng-content></ng-content>
567
+ `, isInline: true });
568
+ }
569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavItemMobileComponent, decorators: [{
570
+ type: Component,
571
+ args: [{
572
+ selector: "id-header-inera-general-nav-item-mobile",
573
+ template: `
574
+ <span class="ids-header-inera-general-nav-item-mobile__icon">
575
+ <span class="ids-icon-{{icon}}"></span>
576
+ <ng-content select="[idNavItemMobileIcon]"></ng-content>
577
+ </span>
578
+ <ng-content></ng-content>
579
+ `,
580
+ standalone: true,
581
+ host: {
582
+ class: 'ids-header-inera-general-nav-item-mobile',
583
+ '[class.ids-header-inera-general-nav-item-mobile--unresponsive]': 'header?.unresponsive'
584
+ }
585
+ }]
586
+ }], propDecorators: { icon: [{
587
+ type: Input
588
+ }] } });
589
+
264
590
  class IDHeaderIneraGeneralMenuMobileComponent {
265
591
  expanded = false;
266
592
  header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
267
593
  toggleExpansion() {
268
594
  this.expanded = !this.expanded;
269
595
  }
270
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralMenuMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
271
- 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: `
596
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralMenuMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
597
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", 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: `
272
598
  <div
273
599
  class="ids-header-inera-general-menu-mobile"
274
600
  [class.ids-header-inera-general-menu-mobile--unresponsive]="header?.unresponsive"
@@ -292,7 +618,7 @@ class IDHeaderIneraGeneralMenuMobileComponent {
292
618
  </div>
293
619
  `, isInline: true });
294
620
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralMenuMobileComponent, decorators: [{
621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralMenuMobileComponent, decorators: [{
296
622
  type: Component,
297
623
  args: [{
298
624
  selector: 'id-header-inera-general-menu-mobile',
@@ -330,10 +656,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
330
656
  }] } });
331
657
 
332
658
  class IDHeaderIneraGeneralNavItemMenuLinkComponent {
333
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemMenuLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
334
- 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 });
659
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavItemMenuLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
660
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", 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 });
335
661
  }
336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralNavItemMenuLinkComponent, decorators: [{
662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralNavItemMenuLinkComponent, decorators: [{
337
663
  type: Component,
338
664
  args: [{
339
665
  selector: "id-header-inera-general-nav-item-menu-link",
@@ -346,32 +672,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
346
672
  }] });
347
673
 
348
674
  class IDHeaderIneraGeneralModule {
349
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
350
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule, imports: [IDHeaderIneraGeneralComponent,
675
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
676
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralModule, imports: [IDHeaderIneraGeneralComponent,
677
+ IDHeaderIneraGeneralAvatarComponent,
678
+ IDHeaderIneraGeneralAvatarMobileComponent,
351
679
  IDHeaderIneraGeneralItemComponent,
352
680
  IDHeaderIneraGeneralNavComponent,
353
681
  IDHeaderIneraGeneralNavItemComponent,
682
+ IDHeaderIneraGeneralNavItemMobileComponent,
354
683
  IDHeaderIneraGeneralMenuMobileComponent,
355
684
  IDHeaderIneraGeneralSkipToContent,
356
685
  IDHeaderIneraGeneralNavItemMenuLinkComponent,
357
686
  IDHeaderIneraGeneralBrandLinkDirective], exports: [IDHeaderIneraGeneralComponent,
687
+ IDHeaderIneraGeneralAvatarComponent,
688
+ IDHeaderIneraGeneralAvatarMobileComponent,
358
689
  IDHeaderIneraGeneralItemComponent,
359
690
  IDHeaderIneraGeneralNavComponent,
360
691
  IDHeaderIneraGeneralNavItemComponent,
692
+ IDHeaderIneraGeneralNavItemMobileComponent,
361
693
  IDHeaderIneraGeneralMenuMobileComponent,
362
694
  IDHeaderIneraGeneralSkipToContent,
363
695
  IDHeaderIneraGeneralNavItemMenuLinkComponent,
364
696
  IDHeaderIneraGeneralBrandLinkDirective] });
365
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule });
697
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralModule });
366
698
  }
367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraGeneralModule, decorators: [{
699
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDHeaderIneraGeneralModule, decorators: [{
368
700
  type: NgModule,
369
701
  args: [{
370
702
  imports: [
371
703
  IDHeaderIneraGeneralComponent,
704
+ IDHeaderIneraGeneralAvatarComponent,
705
+ IDHeaderIneraGeneralAvatarMobileComponent,
372
706
  IDHeaderIneraGeneralItemComponent,
373
707
  IDHeaderIneraGeneralNavComponent,
374
708
  IDHeaderIneraGeneralNavItemComponent,
709
+ IDHeaderIneraGeneralNavItemMobileComponent,
375
710
  IDHeaderIneraGeneralMenuMobileComponent,
376
711
  IDHeaderIneraGeneralSkipToContent,
377
712
  IDHeaderIneraGeneralNavItemMenuLinkComponent,
@@ -379,9 +714,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
379
714
  ],
380
715
  exports: [
381
716
  IDHeaderIneraGeneralComponent,
717
+ IDHeaderIneraGeneralAvatarComponent,
718
+ IDHeaderIneraGeneralAvatarMobileComponent,
382
719
  IDHeaderIneraGeneralItemComponent,
383
720
  IDHeaderIneraGeneralNavComponent,
384
721
  IDHeaderIneraGeneralNavItemComponent,
722
+ IDHeaderIneraGeneralNavItemMobileComponent,
385
723
  IDHeaderIneraGeneralMenuMobileComponent,
386
724
  IDHeaderIneraGeneralSkipToContent,
387
725
  IDHeaderIneraGeneralNavItemMenuLinkComponent,
@@ -394,5 +732,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
394
732
  * Generated bundle index. Do not edit.
395
733
  */
396
734
 
397
- export { IDHeaderIneraGeneralBrandLinkDirective, IDHeaderIneraGeneralComponent, IDHeaderIneraGeneralItemComponent, IDHeaderIneraGeneralMenuMobileComponent, IDHeaderIneraGeneralModule, IDHeaderIneraGeneralNavComponent, IDHeaderIneraGeneralNavItemComponent, IDHeaderIneraGeneralNavItemMenuLinkComponent, IDHeaderIneraGeneralSkipToContent };
735
+ export { IDHeaderIneraGeneralAvatarComponent, IDHeaderIneraGeneralAvatarMobileComponent, IDHeaderIneraGeneralBrandLinkDirective, IDHeaderIneraGeneralComponent, IDHeaderIneraGeneralItemComponent, IDHeaderIneraGeneralMenuMobileComponent, IDHeaderIneraGeneralModule, IDHeaderIneraGeneralNavComponent, IDHeaderIneraGeneralNavItemComponent, IDHeaderIneraGeneralNavItemMenuLinkComponent, IDHeaderIneraGeneralNavItemMobileComponent, IDHeaderIneraGeneralNavMobileComponent, IDHeaderIneraGeneralSkipToContent };
398
736
  //# sourceMappingURL=inera-ids-angular-components-header-inera-general.mjs.map