@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,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, booleanAttribute, Output, Input, Component, contentChildren, NgModule } from '@angular/core';
2
+ import { EventEmitter, inject, booleanAttribute, Output, Input, Component, contentChildren, NgModule } from '@angular/core';
3
+ import { IDUseIdService } from '@inera/ids-angular/common';
3
4
 
4
5
  class IDStepComponent {
5
6
  state = '';
@@ -11,6 +12,8 @@ class IDStepComponent {
11
12
  closed = new EventEmitter();
12
13
  opened = new EventEmitter();
13
14
  expandedChange = new EventEmitter();
15
+ idService = inject(IDUseIdService);
16
+ contentId = this.idService.generateId('step');
14
17
  toggleExpansion() {
15
18
  if (this.expanded) {
16
19
  this.hasClosed();
@@ -29,12 +32,13 @@ class IDStepComponent {
29
32
  this.expandedChange.emit(true);
30
33
  this.opened.emit();
31
34
  }
32
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDStepComponent, isStandalone: true, selector: "id-step", inputs: { state: "state", step: "step", srIndicatorText: "srIndicatorText", subtitle: "subtitle", disabled: ["disabled", "disabled", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { closed: "closed", opened: "opened", expandedChange: "expandedChange" }, host: { classAttribute: "ids-step" }, ngImport: i0, template: `
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
36
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDStepComponent, isStandalone: true, selector: "id-step", inputs: { state: "state", step: "step", srIndicatorText: "srIndicatorText", subtitle: "subtitle", disabled: ["disabled", "disabled", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { closed: "closed", opened: "opened", expandedChange: "expandedChange" }, host: { classAttribute: "ids-step" }, ngImport: i0, template: `
34
37
  <button
35
38
  class="ids-step__button focusable"
36
39
  [class.ids-step__button--disabled]="disabled"
37
40
  [disabled]="disabled"
41
+ [attr.aria-controls]="contentId"
38
42
  (click)="toggleExpansion()"
39
43
  >
40
44
  <div class="ids-step__button-inner">
@@ -65,6 +69,7 @@ class IDStepComponent {
65
69
  </div>
66
70
  </button>
67
71
  <div
72
+ [id]="contentId"
68
73
  class="ids-step__content"
69
74
  [class.ids-step__content--expanded]="expanded"
70
75
  >
@@ -72,7 +77,7 @@ class IDStepComponent {
72
77
  </div>
73
78
  `, isInline: true });
74
79
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepComponent, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepComponent, decorators: [{
76
81
  type: Component,
77
82
  args: [{
78
83
  selector: 'id-step',
@@ -81,6 +86,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
81
86
  class="ids-step__button focusable"
82
87
  [class.ids-step__button--disabled]="disabled"
83
88
  [disabled]="disabled"
89
+ [attr.aria-controls]="contentId"
84
90
  (click)="toggleExpansion()"
85
91
  >
86
92
  <div class="ids-step__button-inner">
@@ -111,6 +117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
111
117
  </div>
112
118
  </button>
113
119
  <div
120
+ [id]="contentId"
114
121
  class="ids-step__content"
115
122
  [class.ids-step__content--expanded]="expanded"
116
123
  >
@@ -153,10 +160,10 @@ class IDStepperComponent {
153
160
  }
154
161
  });
155
162
  }
156
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
157
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.20", type: IDStepperComponent, isStandalone: true, selector: "id-stepper", host: { classAttribute: "ids-stepper" }, queries: [{ propertyName: "steps", predicate: IDStepComponent, isSignal: true }], ngImport: i0, template: "<ng-content></ng-content>", isInline: true });
163
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
164
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: IDStepperComponent, isStandalone: true, selector: "id-stepper", host: { classAttribute: "ids-stepper" }, queries: [{ propertyName: "steps", predicate: IDStepComponent, isSignal: true }], ngImport: i0, template: "<ng-content></ng-content>", isInline: true });
158
165
  }
159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepperComponent, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepperComponent, decorators: [{
160
167
  type: Component,
161
168
  args: [{
162
169
  selector: "id-stepper",
@@ -169,10 +176,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
169
176
  }] });
170
177
 
171
178
  class IDStepHeaderComponent {
172
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
173
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDStepHeaderComponent, isStandalone: true, selector: "id-step-header", host: { classAttribute: "ids-step__headline" }, ngImport: i0, template: "<ng-content></ng-content>", isInline: true });
179
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
180
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: IDStepHeaderComponent, isStandalone: true, selector: "id-step-header", host: { classAttribute: "ids-step__headline" }, ngImport: i0, template: "<ng-content></ng-content>", isInline: true });
174
181
  }
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepHeaderComponent, decorators: [{
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepHeaderComponent, decorators: [{
176
183
  type: Component,
177
184
  args: [{
178
185
  selector: "id-step-header",
@@ -185,15 +192,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
185
192
  }] });
186
193
 
187
194
  class IDStepperModule {
188
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
189
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDStepperModule, imports: [IDStepComponent,
195
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
196
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: IDStepperModule, imports: [IDStepComponent,
190
197
  IDStepperComponent,
191
198
  IDStepHeaderComponent], exports: [IDStepComponent,
192
199
  IDStepperComponent,
193
200
  IDStepHeaderComponent] });
194
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepperModule });
201
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepperModule });
195
202
  }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDStepperModule, decorators: [{
203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDStepperModule, decorators: [{
197
204
  type: NgModule,
198
205
  args: [{
199
206
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"inera-ids-angular-components-stepper.mjs","sources":["../../../projects/ids-angular/components/stepper/step.component.ts","../../../projects/ids-angular/components/stepper/stepper.component.ts","../../../projects/ids-angular/components/stepper/step-header.component.ts","../../../projects/ids-angular/components/stepper/stepper.module.ts","../../../projects/ids-angular/components/stepper/inera-ids-angular-components-stepper.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output, booleanAttribute } from '@angular/core';\n\n@Component({\n selector: 'id-step',\n template: `\n <button\n class=\"ids-step__button focusable\"\n [class.ids-step__button--disabled]=\"disabled\"\n [disabled]=\"disabled\"\n (click)=\"toggleExpansion()\"\n >\n <div class=\"ids-step__button-inner\">\n <div class=\"ids-step__indicator-wrapper\">\n <div\n [attr.aria-label]=\"this.srIndicatorText || this.step\"\n [attr.role-img-alt]=\"this.srIndicatorText || this.step\"\n role=\"img\"\n class=\"ids-step__indicator ids-step__indicator--{{ this.state }}\"\n >\n @if (this.state !== 'valid' && this.state !== 'invalid') {\n {{ step }}\n }\n </div>\n </div>\n <div class=\"ids-step__button-text\">\n <div class=\"ids-step__headline-label\">\n <ng-content select=\"id-step-header\"></ng-content>\n @if (subtitle) {\n <div class=\"ids-step__subtitle\">{{ subtitle }}</div>\n }\n </div>\n <div\n class=\"ids-step__chevron\"\n [class.ids-step__chevron--expanded]=\"expanded\"\n ></div>\n </div>\n </div>\n </button>\n <div\n class=\"ids-step__content\"\n [class.ids-step__content--expanded]=\"expanded\"\n >\n <ng-content></ng-content>\n </div>\n `,\n host: {\n class: 'ids-step',\n },\n standalone: true,\n})\nexport class IDStepComponent {\n @Input() state: '' | 'valid' | 'invalid' | 'selected' = '';\n @Input() step = '';\n @Input() srIndicatorText = '';\n @Input() subtitle = '';\n @Input({ transform: booleanAttribute }) disabled = false;\n @Input({ transform: booleanAttribute }) expanded = false;\n\n @Output() closed: EventEmitter<Event> = new EventEmitter();\n @Output() opened: EventEmitter<Event> = new EventEmitter();\n @Output() expandedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n toggleExpansion() {\n if (this.expanded) {\n this.hasClosed();\n } else {\n this.hasExpanded();\n }\n }\n\n hasClosed() {\n this.expanded = false;\n this.expandedChange.emit(false);\n this.closed.emit();\n }\n hasExpanded() {\n this.expanded = true;\n this.expandedChange.emit(true);\n this.opened.emit();\n }\n}\n","import { AfterContentInit, Component, contentChildren } from '@angular/core';\nimport { IDStepComponent } from \"./step.component\";\n\n@Component({\n selector: \"id-stepper\",\n template: \"<ng-content></ng-content>\",\n standalone: true,\n host: {\n class: 'ids-stepper'\n }\n})\nexport class IDStepperComponent implements AfterContentInit {\n\n steps = contentChildren(IDStepComponent);\n\n ngAfterContentInit(): void {\n this.steps().forEach((step, index) => {\n if(!step.step) {\n step.step = \"\"+(index+1);\n }\n })\n }\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-step-header\",\n template: \"<ng-content></ng-content>\",\n standalone: true,\n host: {\n class: 'ids-step__headline'\n }\n})\nexport class IDStepHeaderComponent {}\n","import { NgModule } from '@angular/core';\n\nimport { IDStepComponent } from './step.component';\nimport { IDStepperComponent } from './stepper.component';\nimport { IDStepHeaderComponent } from './step-header.component';\n\n@NgModule({\n imports: [\n IDStepComponent,\n IDStepperComponent,\n IDStepHeaderComponent\n ],\n exports: [\n IDStepComponent,\n IDStepperComponent,\n IDStepHeaderComponent\n ],\n})\nexport class IDStepperModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAkDa,eAAe,CAAA;IACjB,KAAK,GAA0C,EAAE;IACjD,IAAI,GAAG,EAAE;IACT,eAAe,GAAG,EAAE;IACpB,QAAQ,GAAG,EAAE;IACkB,QAAQ,GAAG,KAAK;IAChB,QAAQ,GAAG,KAAK;AAE9C,IAAA,MAAM,GAAwB,IAAI,YAAY,EAAE;AAChD,IAAA,MAAM,GAAwB,IAAI,YAAY,EAAE;AAChD,IAAA,cAAc,GAA0B,IAAI,YAAY,EAAW;IAE7E,eAAe,GAAA;AACb,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,SAAS,EAAE;QAClB;aAAO;YACL,IAAI,CAAC,WAAW,EAAE;QACpB;IACF;IAEA,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,QAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;AAC/B,QAAA,IAAI,CAAC,MAA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AAA,CAAA;kBAZ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,kBAAkB;wBAClB;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,kBAAkB;wBAClB;AACD,qBAAA;AACF,iBAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"inera-ids-angular-components-stepper.mjs","sources":["../../../projects/ids-angular/components/stepper/step.component.ts","../../../projects/ids-angular/components/stepper/stepper.component.ts","../../../projects/ids-angular/components/stepper/step-header.component.ts","../../../projects/ids-angular/components/stepper/stepper.module.ts","../../../projects/ids-angular/components/stepper/inera-ids-angular-components-stepper.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output, booleanAttribute, inject } from '@angular/core';\nimport { IDUseIdService } from '@inera/ids-angular/common';\n@Component({\n selector: 'id-step',\n template: `\n <button\n class=\"ids-step__button focusable\"\n [class.ids-step__button--disabled]=\"disabled\"\n [disabled]=\"disabled\"\n [attr.aria-controls]=\"contentId\"\n (click)=\"toggleExpansion()\"\n >\n <div class=\"ids-step__button-inner\">\n <div class=\"ids-step__indicator-wrapper\">\n <div\n [attr.aria-label]=\"this.srIndicatorText || this.step\"\n [attr.role-img-alt]=\"this.srIndicatorText || this.step\"\n role=\"img\"\n class=\"ids-step__indicator ids-step__indicator--{{ this.state }}\"\n >\n @if (this.state !== 'valid' && this.state !== 'invalid') {\n {{ step }}\n }\n </div>\n </div>\n <div class=\"ids-step__button-text\">\n <div class=\"ids-step__headline-label\">\n <ng-content select=\"id-step-header\"></ng-content>\n @if (subtitle) {\n <div class=\"ids-step__subtitle\">{{ subtitle }}</div>\n }\n </div>\n <div\n class=\"ids-step__chevron\"\n [class.ids-step__chevron--expanded]=\"expanded\"\n ></div>\n </div>\n </div>\n </button>\n <div\n [id]=\"contentId\"\n class=\"ids-step__content\"\n [class.ids-step__content--expanded]=\"expanded\"\n >\n <ng-content></ng-content>\n </div>\n `,\n host: {\n class: 'ids-step',\n },\n standalone: true,\n})\nexport class IDStepComponent {\n @Input() state: '' | 'valid' | 'invalid' | 'selected' = '';\n @Input() step = '';\n @Input() srIndicatorText = '';\n @Input() subtitle = '';\n @Input({ transform: booleanAttribute }) disabled = false;\n @Input({ transform: booleanAttribute }) expanded = false;\n\n @Output() closed: EventEmitter<Event> = new EventEmitter();\n @Output() opened: EventEmitter<Event> = new EventEmitter();\n @Output() expandedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n private idService = inject(IDUseIdService);\n contentId = this.idService.generateId('step');\n\n toggleExpansion() {\n if (this.expanded) {\n this.hasClosed();\n } else {\n this.hasExpanded();\n }\n }\n\n hasClosed() {\n this.expanded = false;\n this.expandedChange.emit(false);\n this.closed.emit();\n }\n hasExpanded() {\n this.expanded = true;\n this.expandedChange.emit(true);\n this.opened.emit();\n }\n}\n","import { AfterContentInit, Component, contentChildren } from '@angular/core';\nimport { IDStepComponent } from \"./step.component\";\n\n@Component({\n selector: \"id-stepper\",\n template: \"<ng-content></ng-content>\",\n standalone: true,\n host: {\n class: 'ids-stepper'\n }\n})\nexport class IDStepperComponent implements AfterContentInit {\n\n steps = contentChildren(IDStepComponent);\n\n ngAfterContentInit(): void {\n this.steps().forEach((step, index) => {\n if(!step.step) {\n step.step = \"\"+(index+1);\n }\n })\n }\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-step-header\",\n template: \"<ng-content></ng-content>\",\n standalone: true,\n host: {\n class: 'ids-step__headline'\n }\n})\nexport class IDStepHeaderComponent {}\n","import { NgModule } from '@angular/core';\n\nimport { IDStepComponent } from './step.component';\nimport { IDStepperComponent } from './stepper.component';\nimport { IDStepHeaderComponent } from './step-header.component';\n\n@NgModule({\n imports: [\n IDStepComponent,\n IDStepperComponent,\n IDStepHeaderComponent\n ],\n exports: [\n IDStepComponent,\n IDStepperComponent,\n IDStepHeaderComponent\n ],\n})\nexport class IDStepperModule {}","/**\n * Generated bundle index. Do not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,IAAA,EAAA,qBAAqB,0HANtB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAM1B,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBARjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE;AACR;AACF,iBAAA;;;MCSY,eAAe,CAAA;wGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAVxB,eAAe;YACf,kBAAkB;AAClB,YAAA,qBAAqB,aAGrB,eAAe;YACf,kBAAkB;YAClB,qBAAqB,CAAA,EAAA,CAAA;yGAGZ,eAAe,EAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAZ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,kBAAkB;wBAClB;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,kBAAkB;wBAClB;AACD,qBAAA;AACF,iBAAA;;;ACjBD;;AAEG;;;;"}
@@ -20,12 +20,12 @@ class IDTabComponent {
20
20
  this.tabId = this.idService.generateId('tab-id');
21
21
  }
22
22
  }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.20", type: IDTabComponent, isStandalone: true, selector: "id-tab", inputs: { tabId: "tabId", label: "label", notices: "notices", icon: "icon", selected: "selected", noTabindex: "noTabindex", compact: "compact" }, queries: [{ propertyName: "labelTemplate", first: true, predicate: ["idTabLabel"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: `
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: IDTabComponent, isStandalone: true, selector: "id-tab", inputs: { tabId: "tabId", label: "label", notices: "notices", icon: "icon", selected: "selected", noTabindex: "noTabindex", compact: "compact" }, queries: [{ propertyName: "labelTemplate", first: true, predicate: ["idTabLabel"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: `
25
25
  <ng-template><ng-content></ng-content></ng-template>
26
26
  `, isInline: true });
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTabComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTabComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{
31
31
  selector: 'id-tab',
@@ -130,10 +130,10 @@ class IDTabGroupComponent {
130
130
  const hasFocusable = panelEl.querySelector(focusableSelectors) !== null;
131
131
  return hasFocusable ? -1 : 0;
132
132
  }
133
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTabGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
134
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDTabGroupComponent, isStandalone: true, selector: "id-tab-group", inputs: { responsive: "responsive", unresponsive: ["unresponsive", "unresponsive", booleanAttribute], light: ["light", "light", booleanAttribute], compact: ["compact", "compact", booleanAttribute], selectLabel: "selectLabel" }, host: { properties: { "class.ids-tabs--responsive-on-s": "responsive === 's'", "class.ids-tabs--unresponsive": "unresponsive" }, classAttribute: "ids-tabs" }, queries: [{ propertyName: "tabs", predicate: IDTabComponent, isSignal: true }], ngImport: i0, template: "<div class=\"ids-tabs__select\">\n <label\n [htmlFor]=\"selectId\"\n class=\"ids-label\"\n >\n {{ selectLabel || \"V\u00E4lj flik\" }}\n </label>\n <div class=\"ids-select__wrapper\">\n <select\n [id]=\"selectId\"\n (change)=\"selectTab(+$any($event.target).value)\"\n class=\"ids-select__select\"\n [class.ids-input--light]=\"light\"\n >\n @for (tab of tabs(); track tab; let i = $index) {\n <option\n [value]=\"i\"\n [selected]=\"i === selectedIndex\"\n >\n {{ tab.label }}\n @if (tab.notices !== \"\") {\n ({{ tab.notices }})\n }\n </option>\n }\n </select>\n </div>\n</div>\n\n<div\n class=\"ids-tabs__tabs\"\n role=\"tablist\"\n (keydown)=\"onKeydown($event)\"\n>\n @for (tab of tabs(); track tab; let i = $index) {\n <button\n role=\"tab\"\n (click)=\"selectTab(i)\"\n class=\"ids-tab\"\n [class.ids-tab--selected]=\"i === selectedIndex\"\n [attr.tabindex]=\"i === focusedIndex ? 0 : -1\"\n [attr.aria-selected]=\"i === selectedIndex\"\n [attr.id]=\"tab.tabId\"\n >\n <div class=\"ids-tab__label\">\n @if (tab.labelTemplate()) {\n <ng-container [ngTemplateOutlet]=\"tab.labelTemplate() ?? null\"></ng-container>\n } @else {\n @if (tab.icon) {\n <span class=\"ids-tab-icon ids-icon-{{ tab.icon }}\"></span>\n }\n {{ tab.label }}\n @if (tab.notices !== \"\") {\n <id-notification-badge class=\"ids-ml-2\">{{ tab.notices }}</id-notification-badge>\n }\n }\n </div>\n </button>\n }\n</div>\n\n<div class=\"ids-tabs__panels\">\n <div\n role=\"tabpanel\"\n [attr.tabindex]=\"getTabPanelTabIndex(selectedIndex)\"\n [attr.aria-labelledby]=\"tabs()[selectedIndex]?.tabId\"\n [class.ids-tab-panel--compact]=\"compact || tabs()[selectedIndex]?.compact\"\n class=\"ids-tab-panel ids-tab-panel--selected\"\n >\n <ng-container [ngTemplateOutlet]=\"tabs()[selectedIndex]?.content() ?? null\"></ng-container>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IDNotificationBadgeComponent, selector: "id-notification-badge", inputs: ["type", "icon"] }] });
133
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTabGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
134
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDTabGroupComponent, isStandalone: true, selector: "id-tab-group", inputs: { responsive: "responsive", unresponsive: ["unresponsive", "unresponsive", booleanAttribute], light: ["light", "light", booleanAttribute], compact: ["compact", "compact", booleanAttribute], selectLabel: "selectLabel" }, host: { properties: { "class.ids-tabs--responsive-on-s": "responsive === 's'", "class.ids-tabs--unresponsive": "unresponsive" }, classAttribute: "ids-tabs" }, queries: [{ propertyName: "tabs", predicate: IDTabComponent, isSignal: true }], ngImport: i0, template: "<div class=\"ids-tabs__select\">\n <label\n [htmlFor]=\"selectId\"\n class=\"ids-label\"\n >\n {{ selectLabel || \"V\u00E4lj flik\" }}\n </label>\n <div class=\"ids-select__wrapper\">\n <select\n [id]=\"selectId\"\n (change)=\"selectTab(+$any($event.target).value)\"\n class=\"ids-select__select\"\n [class.ids-input--light]=\"light\"\n >\n @for (tab of tabs(); track tab; let i = $index) {\n <option\n [value]=\"i\"\n [selected]=\"i === selectedIndex\"\n >\n {{ tab.label }}\n @if (tab.notices !== \"\") {\n ({{ tab.notices }})\n }\n </option>\n }\n </select>\n </div>\n</div>\n\n<div\n class=\"ids-tabs__tabs\"\n role=\"tablist\"\n (keydown)=\"onKeydown($event)\"\n>\n @for (tab of tabs(); track tab; let i = $index) {\n <button\n role=\"tab\"\n (click)=\"selectTab(i)\"\n class=\"ids-tab\"\n [class.ids-tab--selected]=\"i === selectedIndex\"\n [attr.tabindex]=\"i === focusedIndex ? 0 : -1\"\n [attr.aria-selected]=\"i === selectedIndex\"\n [attr.id]=\"tab.tabId\"\n >\n <div class=\"ids-tab__label\">\n @if (tab.labelTemplate()) {\n <ng-container [ngTemplateOutlet]=\"tab.labelTemplate() ?? null\"></ng-container>\n } @else {\n @if (tab.icon) {\n <span class=\"ids-tab-icon ids-icon-{{ tab.icon }}\"></span>\n }\n {{ tab.label }}\n @if (tab.notices !== \"\") {\n <id-notification-badge class=\"ids-ml-2\">{{ tab.notices }}</id-notification-badge>\n }\n }\n </div>\n </button>\n }\n</div>\n\n<div class=\"ids-tabs__panels\">\n <div\n role=\"tabpanel\"\n [attr.tabindex]=\"getTabPanelTabIndex(selectedIndex)\"\n [attr.aria-labelledby]=\"tabs()[selectedIndex]?.tabId\"\n [class.ids-tab-panel--compact]=\"compact || tabs()[selectedIndex]?.compact\"\n class=\"ids-tab-panel ids-tab-panel--selected\"\n >\n <ng-container [ngTemplateOutlet]=\"tabs()[selectedIndex]?.content() ?? null\"></ng-container>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IDNotificationBadgeComponent, selector: "id-notification-badge", inputs: ["type", "icon"] }] });
135
135
  }
136
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTabGroupComponent, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTabGroupComponent, decorators: [{
137
137
  type: Component,
138
138
  args: [{ selector: 'id-tab-group', standalone: true, imports: [NgTemplateOutlet, IDNotificationBadgeComponent], host: {
139
139
  class: 'ids-tabs',
@@ -5,10 +5,10 @@ class IDTagComponent {
5
5
  closeable = false;
6
6
  srCloseLabel = 'Stäng';
7
7
  closed = new EventEmitter();
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDTagComponent, isStandalone: true, selector: "id-tag", inputs: { closeable: ["closeable", "closeable", booleanAttribute], srCloseLabel: "srCloseLabel" }, outputs: { closed: "closed" }, host: { classAttribute: "ids-tag" }, ngImport: i0, template: "<div class=\"ids-tag__content\">\n <ng-content></ng-content>\n @if (closeable) {\n <button\n class=\"ids-tag__close-btn\"\n (closed)=\"closed.emit(true)\"\n [attr.aria-label]=\"srCloseLabel\"\n >\n <span\n class=\"ids-icon-close\"\n aria-hidden\n ></span>\n </button>\n }\n</div>\n" });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDTagComponent, isStandalone: true, selector: "id-tag", inputs: { closeable: ["closeable", "closeable", booleanAttribute], srCloseLabel: "srCloseLabel" }, outputs: { closed: "closed" }, host: { classAttribute: "ids-tag" }, ngImport: i0, template: "<div class=\"ids-tag__content\">\n <ng-content></ng-content>\n @if (closeable) {\n <button\n class=\"ids-tag__close-btn\"\n (closed)=\"closed.emit(true)\"\n [attr.aria-label]=\"srCloseLabel\"\n >\n <span\n class=\"ids-icon-close\"\n aria-hidden\n ></span>\n </button>\n }\n</div>\n" });
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTagComponent, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTagComponent, decorators: [{
12
12
  type: Component,
13
13
  args: [{ selector: 'id-tag', standalone: true, host: {
14
14
  class: 'ids-tag',
@@ -23,10 +23,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
23
23
  }] } });
24
24
 
25
25
  class IDTagDirective {
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTagDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: IDTagDirective, isStandalone: true, selector: "*[idTag]", host: { classAttribute: "ids-tag ids-tag--clickable" }, ngImport: i0 });
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTagDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: IDTagDirective, isStandalone: true, selector: "*[idTag]", host: { classAttribute: "ids-tag ids-tag--clickable" }, ngImport: i0 });
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTagDirective, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTagDirective, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  selector: "*[idTag]",
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
2
2
  import { Component } from '@angular/core';
3
3
 
4
4
  class IDToolbarComponent {
5
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDToolbarComponent, isStandalone: true, selector: "id-toolbar", ngImport: i0, template: "<div class=\"ids-toolbar\">\n <div class=\"ids-toolbar__content\">\n <ng-content></ng-content>\n </div>\n</div>\n" });
5
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: IDToolbarComponent, isStandalone: true, selector: "id-toolbar", ngImport: i0, template: "<div class=\"ids-toolbar\">\n <div class=\"ids-toolbar__content\">\n <ng-content></ng-content>\n </div>\n</div>\n" });
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDToolbarComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDToolbarComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'id-toolbar', standalone: true, template: "<div class=\"ids-toolbar\">\n <div class=\"ids-toolbar__content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
11
11
  }] });
@@ -9,10 +9,10 @@ class IDTooltipTriggerDirective {
9
9
  constructor(elementRef) {
10
10
  this.elementRef = elementRef;
11
11
  }
12
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipTriggerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
13
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: IDTooltipTriggerDirective, isStandalone: true, selector: "[idTooltipTrigger]", ngImport: i0 });
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipTriggerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: IDTooltipTriggerDirective, isStandalone: true, selector: "[idTooltipTrigger]", ngImport: i0 });
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipTriggerDirective, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipTriggerDirective, decorators: [{
16
16
  type: Directive,
17
17
  args: [{
18
18
  selector: '[idTooltipTrigger]',
@@ -136,8 +136,8 @@ class IDTooltipComponent {
136
136
  bottom: 'auto', right: 'auto', transform: 'none', zIndex: '9999',
137
137
  });
138
138
  }
139
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
140
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.20", type: IDTooltipComponent, isStandalone: true, selector: "id-tooltip", inputs: { maxWidth: "maxWidth", fixedPosition: ["fixedPosition", "fixedPosition", booleanAttribute], position: "position" }, host: { listeners: { "focusin": "onShow($event)", "mouseover": "onShow($event)", "focusout": "onHide()", "mouseout": "onHide()" }, classAttribute: "ids-tooltip" }, queries: [{ propertyName: "trigger", first: true, predicate: IDTooltipTriggerDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "tooltipContent", first: true, predicate: ["tooltipContent"], descendants: true, isSignal: true }], ngImport: i0, template: `
139
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
140
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: IDTooltipComponent, isStandalone: true, selector: "id-tooltip", inputs: { maxWidth: "maxWidth", fixedPosition: ["fixedPosition", "fixedPosition", booleanAttribute], position: "position" }, host: { listeners: { "focusin": "onShow($event)", "mouseover": "onShow($event)", "focusout": "onHide()", "mouseout": "onHide()" }, classAttribute: "ids-tooltip" }, queries: [{ propertyName: "trigger", first: true, predicate: IDTooltipTriggerDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "tooltipContent", first: true, predicate: ["tooltipContent"], descendants: true, isSignal: true }], ngImport: i0, template: `
141
141
  <span class="ids-tooltip__trigger">
142
142
  <ng-content select="[idTooltipTrigger]"></ng-content>
143
143
  </span>
@@ -153,7 +153,7 @@ class IDTooltipComponent {
153
153
  </span>
154
154
  `, isInline: true });
155
155
  }
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipComponent, decorators: [{
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipComponent, decorators: [{
157
157
  type: Component,
158
158
  args: [{
159
159
  selector: 'id-tooltip',
@@ -199,13 +199,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
199
199
  }] } });
200
200
 
201
201
  class IDTooltipModule {
202
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
203
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipModule, imports: [IDTooltipComponent,
202
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
203
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipModule, imports: [IDTooltipComponent,
204
204
  IDTooltipTriggerDirective], exports: [IDTooltipComponent,
205
205
  IDTooltipTriggerDirective] });
206
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipModule });
206
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipModule });
207
207
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDTooltipModule, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDTooltipModule, decorators: [{
209
209
  type: NgModule,
210
210
  args: [{
211
211
  imports: [