@inera/ids-angular 9.2.0 → 9.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/common/directives/click-outside.directive.d.ts +3 -3
  2. package/common/public-api.d.ts +1 -1
  3. package/components/accordion/accordion-header.component.d.ts +1 -1
  4. package/components/accordion/accordion.component.d.ts +5 -4
  5. package/components/alert/alert-header.component.d.ts +1 -1
  6. package/components/alert/alert.component.d.ts +2 -2
  7. package/components/box-link/box-link-button.component.d.ts +2 -2
  8. package/components/box-link/box-link.component.d.ts +1 -1
  9. package/components/breadcrumbs/breadcrumbs.component.d.ts +3 -4
  10. package/components/breadcrumbs/crumb.component.d.ts +1 -1
  11. package/components/carousel/carousel-item/carousel-item.component.d.ts +1 -1
  12. package/components/carousel/carousel.component.d.ts +4 -4
  13. package/components/control-button/control-button.directive.d.ts +5 -0
  14. package/components/control-button/index.d.ts +5 -0
  15. package/components/control-button/public-api.d.ts +1 -0
  16. package/components/dialog/dialog.component.d.ts +4 -4
  17. package/components/dropdown/dropdown.component.d.ts +1 -1
  18. package/components/footer-1177/footer-1177-col.component.d.ts +4 -4
  19. package/components/footer-1177/footer-1177.component.d.ts +6 -4
  20. package/components/footer-1177-admin/footer-1177-admin-col.component.d.ts +4 -4
  21. package/components/footer-1177-admin/footer-1177-admin.component.d.ts +5 -4
  22. package/components/footer-1177-pro/footer-1177-pro-col.component.d.ts +4 -4
  23. package/components/footer-1177-pro/footer-1177-pro.component.d.ts +6 -4
  24. package/components/footer-inera/footer-inera-col.component.d.ts +4 -4
  25. package/components/footer-inera/footer-inera.component.d.ts +5 -4
  26. package/components/footer-inera-admin/footer-inera-admin-col.component.d.ts +4 -4
  27. package/components/footer-inera-admin/footer-inera-admin.component.d.ts +5 -4
  28. package/components/footer-inera-general/footer-inera-general-col.component.d.ts +4 -4
  29. package/components/footer-inera-general/footer-inera-general.component.d.ts +6 -4
  30. package/components/form/checkbox-group/checkbox-group.component.d.ts +4 -4
  31. package/components/form/input/input-clear-button.component.d.ts +5 -0
  32. package/components/form/input/input.component.d.ts +7 -3
  33. package/components/form/input/public-api.d.ts +1 -0
  34. package/components/form/label-subtitle/index.d.ts +5 -0
  35. package/components/form/label-subtitle/label-subtitle.component.d.ts +5 -0
  36. package/components/form/label-subtitle/public-api.d.ts +1 -0
  37. package/components/form/radio/radio-group.component.d.ts +4 -4
  38. package/components/form/radio/radio.component.d.ts +1 -1
  39. package/components/form/radio-button/radio-button-group.component.d.ts +1 -2
  40. package/components/form/range/range.component.d.ts +1 -1
  41. package/components/form/select/select.component.d.ts +1 -1
  42. package/components/form/select-multiple/select-multiple.component.d.ts +3 -3
  43. package/components/form/textarea/textarea.component.d.ts +1 -1
  44. package/components/form/time/time.component.d.ts +1 -1
  45. package/components/global-alert/global-alert-actions.component.d.ts +1 -1
  46. package/components/global-alert/global-alert-header.component.d.ts +1 -1
  47. package/components/global-alert/global-alert.component.d.ts +2 -2
  48. package/components/header-1177/avatar/header-1177-avatar.component.d.ts +1 -1
  49. package/components/header-1177/header-1177.component.d.ts +6 -7
  50. package/components/header-1177/nav/header-1177-nav.component.d.ts +1 -1
  51. package/components/header-1177/nav-item/header-1177-nav-item.component.d.ts +5 -5
  52. package/components/header-1177/region-picker/header-1177-region-picker.component.d.ts +3 -3
  53. package/components/header-1177/region-picker-mobile/header-1177-region-picker-mobile.component.d.ts +3 -3
  54. package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +1 -1
  55. package/components/header-1177-admin/avatar-mobile/header-1177-admin-avatar-mobile.component.d.ts +1 -1
  56. package/components/header-1177-admin/header-1177-admin.component.d.ts +3 -3
  57. package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +4 -4
  58. package/components/header-1177-admin/nav-item/header-1177-admin-nav-item.component.d.ts +5 -5
  59. package/components/header-1177-pro/avatar/header-1177-pro-avatar.component.d.ts +1 -1
  60. package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +1 -1
  61. package/components/header-1177-pro/header-1177-pro.component.d.ts +3 -3
  62. package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +4 -4
  63. package/components/header-1177-pro/nav-item/header-1177-pro-nav-item.component.d.ts +5 -5
  64. package/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.d.ts +4 -4
  65. package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +1 -1
  66. package/components/header-inera/header-inera.component.d.ts +5 -6
  67. package/components/header-inera/nav/header-inera-nav.component.d.ts +2 -4
  68. package/components/header-inera/nav-item/header-inera-nav-item.component.d.ts +5 -5
  69. package/components/header-inera-admin/avatar/header-inera-admin-avatar.component.d.ts +1 -1
  70. package/components/header-inera-admin/avatar-mobile/header-inera-admin-avatar-mobile.component.d.ts +1 -1
  71. package/components/header-inera-admin/header-inera-admin.component.d.ts +6 -7
  72. package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +4 -4
  73. package/components/header-inera-admin/nav-item/header-inera-admin-nav-item.component.d.ts +4 -4
  74. package/components/header-inera-general/header-inera-general.component.d.ts +5 -6
  75. package/components/header-inera-general/nav/header-inera-general-nav.component.d.ts +1 -1
  76. package/components/header-inera-general/nav-item/header-inera-general-nav-item.component.d.ts +5 -5
  77. package/components/mobile/menu/item/mobile-menu-item.component.d.ts +3 -3
  78. package/components/mobile/menu/mobile-menu.component.d.ts +1 -2
  79. package/components/navigation/content/navigation-content-link.component.d.ts +1 -1
  80. package/components/navigation/content/navigation-content.component.d.ts +1 -2
  81. package/components/navigation/local/navigation-local-link.component.d.ts +1 -1
  82. package/components/navigation/local/navigation-local.component.d.ts +1 -2
  83. package/components/popover/popover.component.d.ts +4 -4
  84. package/components/puff-list/puff-list-item.component.d.ts +1 -1
  85. package/components/puff-list/puff-list.component.d.ts +1 -2
  86. package/components/side-menu/side-menu.component.d.ts +2 -2
  87. package/components/side-panel/side-panel.component.d.ts +7 -6
  88. package/components/stepper/stepper.component.d.ts +2 -2
  89. package/components/tabs/tab-group.component.d.ts +3 -2
  90. package/components/tabs/tab.component.d.ts +2 -2
  91. package/components/tag/tag.component.d.ts +1 -1
  92. package/components/tooltip/tooltip.component.d.ts +2 -2
  93. package/eslint/rules/no-old-components.js +2 -2
  94. package/fesm2022/inera-ids-angular-common.mjs +8 -9
  95. package/fesm2022/inera-ids-angular-common.mjs.map +1 -1
  96. package/fesm2022/inera-ids-angular-components-accordion.mjs +19 -28
  97. package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
  98. package/fesm2022/inera-ids-angular-components-alert.mjs +8 -14
  99. package/fesm2022/inera-ids-angular-components-alert.mjs.map +1 -1
  100. package/fesm2022/inera-ids-angular-components-box-link.mjs +8 -14
  101. package/fesm2022/inera-ids-angular-components-box-link.mjs.map +1 -1
  102. package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +15 -26
  103. package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
  104. package/fesm2022/inera-ids-angular-components-carousel.mjs +16 -23
  105. package/fesm2022/inera-ids-angular-components-carousel.mjs.map +1 -1
  106. package/fesm2022/inera-ids-angular-components-control-button.mjs +24 -0
  107. package/fesm2022/inera-ids-angular-components-control-button.mjs.map +1 -0
  108. package/fesm2022/inera-ids-angular-components-dialog.mjs +10 -17
  109. package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
  110. package/fesm2022/inera-ids-angular-components-dropdown.mjs +4 -7
  111. package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
  112. package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs +28 -35
  113. package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs.map +1 -1
  114. package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs +29 -35
  115. package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs.map +1 -1
  116. package/fesm2022/inera-ids-angular-components-footer-1177.mjs +29 -35
  117. package/fesm2022/inera-ids-angular-components-footer-1177.mjs.map +1 -1
  118. package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +28 -35
  119. package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
  120. package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs +30 -35
  121. package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs.map +1 -1
  122. package/fesm2022/inera-ids-angular-components-footer-inera.mjs +28 -35
  123. package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
  124. package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs +9 -15
  125. package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs.map +1 -1
  126. package/fesm2022/inera-ids-angular-components-form-input.mjs +58 -34
  127. package/fesm2022/inera-ids-angular-components-form-input.mjs.map +1 -1
  128. package/fesm2022/inera-ids-angular-components-form-label-subtitle.mjs +25 -0
  129. package/fesm2022/inera-ids-angular-components-form-label-subtitle.mjs.map +1 -0
  130. package/fesm2022/inera-ids-angular-components-form-radio-button.mjs +6 -9
  131. package/fesm2022/inera-ids-angular-components-form-radio-button.mjs.map +1 -1
  132. package/fesm2022/inera-ids-angular-components-form-radio.mjs +11 -17
  133. package/fesm2022/inera-ids-angular-components-form-radio.mjs.map +1 -1
  134. package/fesm2022/inera-ids-angular-components-form-range.mjs +2 -2
  135. package/fesm2022/inera-ids-angular-components-form-range.mjs.map +1 -1
  136. package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs +8 -11
  137. package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs.map +1 -1
  138. package/fesm2022/inera-ids-angular-components-form-select.mjs +2 -2
  139. package/fesm2022/inera-ids-angular-components-form-select.mjs.map +1 -1
  140. package/fesm2022/inera-ids-angular-components-form-textarea.mjs +2 -2
  141. package/fesm2022/inera-ids-angular-components-form-textarea.mjs.map +1 -1
  142. package/fesm2022/inera-ids-angular-components-form-time.mjs +2 -2
  143. package/fesm2022/inera-ids-angular-components-form-time.mjs.map +1 -1
  144. package/fesm2022/inera-ids-angular-components-global-alert.mjs +11 -23
  145. package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
  146. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +29 -59
  147. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
  148. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +64 -91
  149. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
  150. package/fesm2022/inera-ids-angular-components-header-1177.mjs +74 -104
  151. package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
  152. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +31 -67
  153. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
  154. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs +22 -49
  155. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs.map +1 -1
  156. package/fesm2022/inera-ids-angular-components-header-inera.mjs +23 -54
  157. package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
  158. package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs +6 -12
  159. package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs.map +1 -1
  160. package/fesm2022/inera-ids-angular-components-mobile-menu.mjs +13 -22
  161. package/fesm2022/inera-ids-angular-components-mobile-menu.mjs.map +1 -1
  162. package/fesm2022/inera-ids-angular-components-navigation-content.mjs +7 -13
  163. package/fesm2022/inera-ids-angular-components-navigation-content.mjs.map +1 -1
  164. package/fesm2022/inera-ids-angular-components-navigation-local.mjs +7 -13
  165. package/fesm2022/inera-ids-angular-components-navigation-local.mjs.map +1 -1
  166. package/fesm2022/inera-ids-angular-components-popover.mjs +106 -61
  167. package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
  168. package/fesm2022/inera-ids-angular-components-puff-list.mjs +16 -22
  169. package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
  170. package/fesm2022/inera-ids-angular-components-side-menu.mjs +9 -12
  171. package/fesm2022/inera-ids-angular-components-side-menu.mjs.map +1 -1
  172. package/fesm2022/inera-ids-angular-components-side-panel.mjs +91 -79
  173. package/fesm2022/inera-ids-angular-components-side-panel.mjs.map +1 -1
  174. package/fesm2022/inera-ids-angular-components-stepper.mjs +5 -8
  175. package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
  176. package/fesm2022/inera-ids-angular-components-tabs.mjs +14 -22
  177. package/fesm2022/inera-ids-angular-components-tabs.mjs.map +1 -1
  178. package/fesm2022/inera-ids-angular-components-tag.mjs +5 -5
  179. package/fesm2022/inera-ids-angular-components-tag.mjs.map +1 -1
  180. package/fesm2022/inera-ids-angular-components-tooltip.mjs +18 -24
  181. package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
  182. package/package.json +110 -102
  183. /package/common/services/{use-id.service.ts.d.ts → use-id.service.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"inera-ids-angular-components-footer-inera-admin.mjs","sources":["../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-col.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.html","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-text.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.module.ts","../../../projects/ids-angular/components/footer-inera-admin/inera-ids-angular-components-footer-inera-admin.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, ElementRef, HostBinding, inject, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-admin-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__link-col'\n }\n})\nexport class IDFooterIneraAdminColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n \n elementRef = inject(ElementRef);\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.colorPreset = 2;\n link.block = true;\n })\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { Component, ContentChild, ContentChildren, DestroyRef, inject, QueryList, TemplateRef, Input } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\n\n@Component({\n selector: 'id-footer-inera-admin',\n templateUrl: './footer-inera-admin.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraAdminComponent {\n @Input() headline: string = '';\n\n @ContentChildren(IDFooterIneraAdminColComponent) \n cols!: QueryList<IDFooterIneraAdminColComponent>;\n \n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n const colLength = this.cols?.length || 0;\n \n const classMap: Record<number, string> = {\n 1: \"ids-footer-inera-admin__link-col--100\",\n 2: \"ids-footer-inera-admin__link-col--50\",\n 3: \"ids-footer-inera-admin__link-col--33\"\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n this.cols?.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}\n","\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera-admin__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera-admin__text',\n },\n})\nexport class IDFooterIneraAdminTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-right'\n }\n})\nexport class IDFooterIneraAdminSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-left'\n }\n})\nexport class IDFooterIneraAdminSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__mobile-links'\n }\n})\nexport class IDFooterIneraAdminSubFooterMobileComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraAdminSubFooterMobileTextComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraAdminComponent } from './footer-inera-admin.component';\nimport { IDFooterIneraAdminTextComponent } from './footer-inera-admin-text.component';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\nimport { IDFooterIneraAdminSubFooterRightComponent } from './footer-inera-admin-sub-footer-right.component';\nimport { IDFooterIneraAdminSubFooterLeftComponent } from './footer-inera-admin-sub-footer-left.component';\nimport { IDFooterIneraAdminSubFooterMobileComponent } from './footer-inera-admin-sub-footer-mobile.component';\nimport { IDFooterIneraAdminSubFooterMobileTextComponent } from './footer-inera-admin-sub-footer-mobile-text.component';\n\n@NgModule({\n imports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n IDFooterIneraAdminSubFooterMobileTextComponent,\n ],\n exports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n IDFooterIneraAdminSubFooterMobileTextComponent,\n ],\n})\nexport class IDFooterIneraAdminModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,8BAA8B,CAAA;AACP,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEA,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEvB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAE/B,mBAAmB,GAAA;QACzB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC1B,YAAA,IAAI,CAAC,WAAW,GAAG,CAAC;AACpB,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI;AACnB,QAAA,CAAC,CAAC;IACJ;IAEA,kBAAkB,GAAA;QAChB,IAAI,CAAC,mBAAmB,EAAE;AAC1B,QAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,MAAK;YAC1E,IAAI,CAAC,mBAAmB,EAAE;AAC5B,QAAA,CAAC,CAAC;IACJ;wGA1BW,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,gBAAA,EAAA,EAAA,cAAA,EAAA,kCAAA,EAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EACxB,eAAe,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANtB,CAAA,yBAAA,CAA2B,EAAA,QA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;AAC/C,qBAAA;AACF,iBAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"inera-ids-angular-components-footer-inera-admin.mjs","sources":["../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-col.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.html","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-text.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.module.ts","../../../projects/ids-angular/components/footer-inera-admin/inera-ids-angular-components-footer-inera-admin.ts"],"sourcesContent":["import { afterNextRender, ChangeDetectorRef, Component, contentChildren, DestroyRef, ElementRef, HostBinding, inject } from '@angular/core';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-admin-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__link-col'\n }\n})\nexport class IDFooterIneraAdminColComponent {\n links = contentChildren(IDLinkDirective);\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return `ids-footer-inera-admin__link-col ${this.columnClass || ''}`;\n }\n \n elementRef = inject(ElementRef);\n\n private destroyRef = inject(DestroyRef);\n cdr = inject(ChangeDetectorRef);\n\n constructor() {\n afterNextRender(() => {\n this.links().forEach((link) => {\n link.colorPreset = 2;\n link.block = true;\n });\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { AfterContentInit, ChangeDetectorRef, Component, contentChildren, DestroyRef, effect, inject, Input } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\n\n@Component({\n selector: 'id-footer-inera-admin',\n templateUrl: './footer-inera-admin.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraAdminComponent implements AfterContentInit {\n @Input() headline: string = '';\n\n cols = contentChildren(IDFooterIneraAdminColComponent);\n \n private destroyRef = inject(DestroyRef);\n\n constructor() {\n effect(() => {\n const cols = this.cols();\n this.updateColumnClasses(cols);\n });\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses(this.cols());\n }\n\n private updateColumnClasses(cols: readonly IDFooterIneraAdminColComponent[]) {\n const colLength = cols.length;\n \n const classMap: Record<number, string> = {\n 1: \"ids-footer-inera-admin__link-col--100\",\n 2: \"ids-footer-inera-admin__link-col--50\",\n 3: \"ids-footer-inera-admin__link-col--33\"\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n cols.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n}\n","\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols().length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera-admin__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera-admin__text',\n },\n})\nexport class IDFooterIneraAdminTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-right'\n }\n})\nexport class IDFooterIneraAdminSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-left'\n }\n})\nexport class IDFooterIneraAdminSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__mobile-links'\n }\n})\nexport class IDFooterIneraAdminSubFooterMobileComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraAdminSubFooterMobileTextComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraAdminComponent } from './footer-inera-admin.component';\nimport { IDFooterIneraAdminTextComponent } from './footer-inera-admin-text.component';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\nimport { IDFooterIneraAdminSubFooterRightComponent } from './footer-inera-admin-sub-footer-right.component';\nimport { IDFooterIneraAdminSubFooterLeftComponent } from './footer-inera-admin-sub-footer-left.component';\nimport { IDFooterIneraAdminSubFooterMobileComponent } from './footer-inera-admin-sub-footer-mobile.component';\nimport { IDFooterIneraAdminSubFooterMobileTextComponent } from './footer-inera-admin-sub-footer-mobile-text.component';\n\n@NgModule({\n imports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n IDFooterIneraAdminSubFooterMobileTextComponent,\n ],\n exports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n IDFooterIneraAdminSubFooterMobileTextComponent,\n ],\n})\nexport class IDFooterIneraAdminModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAWa,8BAA8B,CAAA;AACzC,IAAA,KAAK,GAAG,eAAe,CAAC,eAAe,CAAC;AAExC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;AACX,QAAA,OAAO,oCAAoC,IAAI,CAAC,WAAW,IAAI,EAAE,EAAE;IACrE;AAEA,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEvB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AACvC,IAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAE/B,IAAA,WAAA,GAAA;QACE,eAAe,CAAC,MAAK;YACnB,IAAI,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC5B,gB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A,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAlBjC,2BAA2B,CAAA,EAAA,CAAA;;4FAkBlB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBApBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,+BAA+B;wBAC/B,8BAA8B;wBAC9B,yCAAyC;wBACzC,wCAAwC;wBACxC,0CAA0C;wBAC1C,8CAA8C;AAC/C,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,+BAA+B;wBAC/B,8BAA8B;wBAC9B,yCAAyC;wBACzC,wCAAwC;wBACxC,0CAA0C;wBAC1C,8CAA8C;AAC/C,qBAAA;AACF,iBAAA;;;AC7BD;;AAEG;;;;"}
@@ -1,30 +1,26 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, DestroyRef, HostBinding, ContentChildren, Component, Input, NgModule } from '@angular/core';
2
+ import { contentChildren, inject, DestroyRef, ChangeDetectorRef, afterNextRender, HostBinding, Component, effect, Input, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
4
  import { IDLinkDirective } from '@inera/ids-angular/components/link';
6
5
 
7
6
  class IDFooterIneraGeneralColComponent {
8
- links;
7
+ links = contentChildren(IDLinkDirective);
9
8
  columnClass;
10
9
  get hostClass() {
11
- return this.columnClass;
10
+ return `ids-footer-inera-general__link-col ${this.columnClass || ''}`;
12
11
  }
13
12
  destroyRef = inject(DestroyRef);
14
- updateColumnClasses() {
15
- this.links.forEach((link) => {
16
- link.footer = true;
17
- link.block = true;
18
- });
19
- }
20
- ngAfterContentInit() {
21
- this.updateColumnClasses();
22
- this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
23
- this.updateColumnClasses();
13
+ cdr = inject(ChangeDetectorRef);
14
+ constructor() {
15
+ afterNextRender(() => {
16
+ this.links().forEach((link) => {
17
+ link.footer = true;
18
+ link.block = true;
19
+ });
24
20
  });
25
21
  }
26
22
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralColComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraGeneralColComponent, isStandalone: true, selector: "id-footer-inera-general-col", host: { properties: { "class": "this.hostClass" }, classAttribute: "ids-footer-inera-general__link-col" }, queries: [{ propertyName: "links", predicate: IDLinkDirective }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.20", type: IDFooterIneraGeneralColComponent, isStandalone: true, selector: "id-footer-inera-general-col", host: { properties: { "class": "this.hostClass" }, classAttribute: "ids-footer-inera-general__link-col" }, queries: [{ propertyName: "links", predicate: IDLinkDirective, isSignal: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
28
24
  }
29
25
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralColComponent, decorators: [{
30
26
  type: Component,
@@ -36,47 +32,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
36
32
  class: 'ids-footer-inera-general__link-col'
37
33
  }
38
34
  }]
39
- }], propDecorators: { links: [{
40
- type: ContentChildren,
41
- args: [IDLinkDirective]
42
- }], hostClass: [{
35
+ }], ctorParameters: () => [], propDecorators: { hostClass: [{
43
36
  type: HostBinding,
44
37
  args: ['class']
45
38
  }] } });
46
39
 
47
40
  class IDFooterIneraGeneralComponent {
48
41
  headline;
49
- cols;
42
+ cols = contentChildren(IDFooterIneraGeneralColComponent);
50
43
  destroyRef = inject(DestroyRef);
51
- updateColumnClasses() {
52
- const colLength = this.cols?.length || 0;
44
+ cdr = inject(ChangeDetectorRef);
45
+ constructor() {
46
+ effect(() => {
47
+ const cols = this.cols();
48
+ this.updateColumnClasses(cols);
49
+ });
50
+ }
51
+ ngAfterContentInit() {
52
+ // Ensure initial classes are set
53
+ this.updateColumnClasses(this.cols());
54
+ }
55
+ updateColumnClasses(cols) {
56
+ const colLength = cols.length;
53
57
  const classMap = {
54
58
  1: 'ids-footer-inera-general__link-col--100',
55
59
  2: 'ids-footer-inera-general__link-col--50',
56
60
  3: 'ids-footer-inera-general__link-col--33',
57
61
  };
58
62
  const newClass = classMap[colLength] || classMap[1];
59
- this.cols?.forEach((col) => {
63
+ cols.forEach((col) => {
60
64
  col.columnClass = newClass;
61
65
  });
62
66
  }
63
- ngAfterContentInit() {
64
- this.updateColumnClasses();
65
- this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
66
- this.updateColumnClasses();
67
- });
68
- }
69
67
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
70
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraGeneralComponent, isStandalone: true, selector: "id-footer-inera-general", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraGeneralColComponent }], ngImport: i0, template: "<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
68
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraGeneralComponent, isStandalone: true, selector: "id-footer-inera-general", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraGeneralColComponent, isSignal: true }], ngImport: i0, template: "<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols().length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
71
69
  }
72
70
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralComponent, decorators: [{
73
71
  type: Component,
74
- args: [{ selector: 'id-footer-inera-general', standalone: true, imports: [CommonModule], template: "<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n" }]
75
- }], propDecorators: { headline: [{
72
+ args: [{ selector: 'id-footer-inera-general', standalone: true, imports: [CommonModule], template: "<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols().length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n" }]
73
+ }], ctorParameters: () => [], propDecorators: { headline: [{
76
74
  type: Input
77
- }], cols: [{
78
- type: ContentChildren,
79
- args: [IDFooterIneraGeneralColComponent]
80
75
  }] } });
81
76
 
82
77
  class IDFooterIneraGeneralTextComponent {
@@ -1 +1 @@
1
- {"version":3,"file":"inera-ids-angular-components-footer-inera-general.mjs","sources":["../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-col.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.component.html","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-text.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.module.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera-general/inera-ids-angular-components-footer-inera-general.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, HostBinding, inject, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-general-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__link-col'\n }\n})\nexport class IDFooterIneraGeneralColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.footer = true;\n link.block = true;\n })\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { Component, ContentChildren, DestroyRef, inject, Input, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraGeneralColComponent } from './footer-inera-general-col.component';\n\n@Component({\n selector: 'id-footer-inera-general',\n templateUrl: './footer-inera-general.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraGeneralComponent {\n @Input() headline: string;\n\n @ContentChildren(IDFooterIneraGeneralColComponent)\n cols!: QueryList<IDFooterIneraGeneralColComponent>;\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n const colLength = this.cols?.length || 0;\n\n const classMap: Record<number, string> = {\n 1: 'ids-footer-inera-general__link-col--100',\n 2: 'ids-footer-inera-general__link-col--50',\n 3: 'ids-footer-inera-general__link-col--33',\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n this.cols?.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}\n","<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera-general__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera-general__text',\n },\n})\nexport class IDFooterIneraGeneralTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-right'\n }\n})\nexport class IDFooterIneraGeneralSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-left'\n }\n})\nexport class IDFooterIneraGeneralSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__mobile-links'\n }\n})\nexport class IDFooterIneraGeneralSubFooterMobileComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraGeneralComponent } from './footer-inera-general.component';\nimport { IDFooterIneraGeneralTextComponent } from './footer-inera-general-text.component';\nimport { IDFooterIneraGeneralColComponent } from './footer-inera-general-col.component';\nimport { IDFooterIneraGeneralSubFooterRightComponent } from './footer-inera-general-sub-footer-right.component';\nimport { IDFooterIneraGeneralSubFooterLeftComponent } from './footer-inera-general-sub-footer-left.component';\nimport { IDFooterIneraGeneralSubFooterMobileComponent } from './footer-inera-general-sub-footer-mobile.component';\n\n@NgModule({\n imports: [\n IDFooterIneraGeneralComponent,\n IDFooterIneraGeneralTextComponent,\n IDFooterIneraGeneralColComponent,\n IDFooterIneraGeneralSubFooterRightComponent,\n IDFooterIneraGeneralSubFooterLeftComponent,\n IDFooterIneraGeneralSubFooterMobileComponent,\n ],\n exports: [\n IDFooterIneraGeneralComponent,\n IDFooterIneraGeneralTextComponent,\n IDFooterIneraGeneralColComponent,\n IDFooterIneraGeneralSubFooterRightComponent,\n IDFooterIneraGeneralSubFooterLeftComponent,\n IDFooterIneraGeneralSubFooterMobileComponent,\n ],\n})\nexport class IDFooterIneraGeneralModule {}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraGeneralSubFooterMobileTextComponent {\n\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,gCAAgC,CAAA;AACT,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEQ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAE/B,mBAAmB,GAAA;QACzB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC1B,YAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI;AACnB,QAAA,CAAC,CAAC;IACJ;IAEA,kBAAkB,GAAA;QAChB,IAAI,CAAC,mBAAmB,EAAE;AAC1B,QAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,MAAK;YAC1E,IAAI,CAAC,mBAAmB,EAAE;AAC5B,QAAA,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CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gDAAgD,wLALjD,CAAA,yBAAA,CAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAK1B,gDAAgD,EAAA,UAAA,EAAA,CAAA;kBAR5D,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gDAAgD;AAC1D,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA,yBAAA,CAA2B;AACrC,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE;AACR;AACF,iBAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"inera-ids-angular-components-footer-inera-general.mjs","sources":["../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-col.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.component.html","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-text.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.module.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera-general/inera-ids-angular-components-footer-inera-general.ts"],"sourcesContent":["import { afterNextRender, ChangeDetectorRef, Component, contentChildren, DestroyRef, HostBinding, inject } from '@angular/core';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-general-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__link-col'\n }\n})\nexport class IDFooterIneraGeneralColComponent {\n links = contentChildren(IDLinkDirective);\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return `ids-footer-inera-general__link-col ${this.columnClass || ''}`;\n }\n\n private destroyRef = inject(DestroyRef);\n cdr = inject(ChangeDetectorRef);\n\n constructor() {\n afterNextRender(() => {\n this.links().forEach((link) => {\n link.footer = true;\n link.block = true;\n });\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { AfterContentInit, ChangeDetectorRef, Component, contentChildren, DestroyRef, effect, inject, Input } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraGeneralColComponent } from './footer-inera-general-col.component';\n\n@Component({\n selector: 'id-footer-inera-general',\n templateUrl: './footer-inera-general.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraGeneralComponent implements AfterContentInit {\n @Input() headline: string;\n\n cols = contentChildren(IDFooterIneraGeneralColComponent);\n\n private destroyRef = inject(DestroyRef);\n private cdr = inject(ChangeDetectorRef);\n\n constructor() {\n effect(() => {\n const cols = this.cols();\n this.updateColumnClasses(cols);\n });\n }\n\n ngAfterContentInit(): void {\n // Ensure initial classes are set\n this.updateColumnClasses(this.cols());\n }\n\n private updateColumnClasses(cols: readonly IDFooterIneraGeneralColComponent[]) {\n const colLength = cols.length;\n\n const classMap: Record<number, string> = {\n 1: 'ids-footer-inera-general__link-col--100',\n 2: 'ids-footer-inera-general__link-col--50',\n 3: 'ids-footer-inera-general__link-col--33',\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n cols.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n}\n","<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols().length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera-general__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera-general__text',\n },\n})\nexport class IDFooterIneraGeneralTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-right'\n }\n})\nexport class IDFooterIneraGeneralSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-left'\n }\n})\nexport class IDFooterIneraGeneralSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__mobile-links'\n }\n})\nexport class IDFooterIneraGeneralSubFooterMobileComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraGeneralComponent } from './footer-inera-general.component';\nimport { IDFooterIneraGeneralTextComponent } from './footer-inera-general-text.component';\nimport { IDFooterIneraGeneralColComponent } from './footer-inera-general-col.component';\nimport { IDFooterIneraGeneralSubFooterRightComponent } from './footer-inera-general-sub-footer-right.component';\nimport { IDFooterIneraGeneralSubFooterLeftComponent } from './footer-inera-general-sub-footer-left.component';\nimport { IDFooterIneraGeneralSubFooterMobileComponent } from './footer-inera-general-sub-footer-mobile.component';\n\n@NgModule({\n imports: [\n IDFooterIneraGeneralComponent,\n IDFooterIneraGeneralTextComponent,\n IDFooterIneraGeneralColComponent,\n IDFooterIneraGeneralSubFooterRightComponent,\n IDFooterIneraGeneralSubFooterLeftComponent,\n IDFooterIneraGeneralSubFooterMobileComponent,\n ],\n exports: [\n IDFooterIneraGeneralComponent,\n IDFooterIneraGeneralTextComponent,\n IDFooterIneraGeneralColComponent,\n IDFooterIneraGeneralSubFooterRightComponent,\n IDFooterIneraGeneralSubFooterLeftComponent,\n IDFooterIneraGeneralSubFooterMobileComponent,\n ],\n})\nexport class IDFooterIneraGeneralModule {}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraGeneralSubFooterMobileTextComponent {\n\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAWa,gCAAgC,CAAA;AAC3C,IAAA,KAAK,GAAG,eAAe,CAAC,eAAe,CAAC;AAExC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;AACX,QAAA,OAAO,sCAAsC,IAAI,CAAC,WAAW,IAAI,EAAE,EAAE;IACvE;AAEQ,IAAA,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C;wBAC3C,0CAA0C;wBAC1C,4CAA4C;AAC7C,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,6BAA6B;wBAC7B,iCAAiC;wBACjC,gCAAgC;wBAChC,2CAA2C;wBAC3C,0CAA0C;wBAC1C,4CAA4C;AAC7C,qBAAA;AACF,iBAAA;;;MChBY,gDAAgD,CAAA;wGAAhD,gDAAgD,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAhD,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gDAAgD,wLALjD,CAAA,yBAAA,CAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAK1B,gDAAgD,EAAA,UAAA,EAAA,CAAA;kBAR5D,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gDAAgD;AAC1D,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA,yBAAA,CAA2B;AACrC,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE;AACR;AACF,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -1,30 +1,26 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, DestroyRef, HostBinding, ContentChildren, Component, Input, NgModule } from '@angular/core';
2
+ import { contentChildren, inject, DestroyRef, ChangeDetectorRef, afterNextRender, HostBinding, Component, effect, Input, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
4
  import { IDLinkDirective } from '@inera/ids-angular/components/link';
6
5
 
7
6
  class IDFooterIneraColComponent {
8
- links;
7
+ links = contentChildren(IDLinkDirective);
9
8
  columnClass;
10
9
  get hostClass() {
11
- return this.columnClass;
10
+ return `ids-footer-inera__link-col ${this.columnClass || ''}`;
12
11
  }
13
12
  destroyRef = inject(DestroyRef);
14
- updateColumnClasses() {
15
- this.links.forEach((link) => {
16
- link.footer = true;
17
- link.block = true;
18
- });
19
- }
20
- ngAfterContentInit() {
21
- this.updateColumnClasses();
22
- this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
23
- this.updateColumnClasses();
13
+ cdr = inject(ChangeDetectorRef);
14
+ constructor() {
15
+ afterNextRender(() => {
16
+ this.links().forEach((link) => {
17
+ link.footer = true;
18
+ link.block = true;
19
+ });
24
20
  });
25
21
  }
26
22
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraColComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraColComponent, isStandalone: true, selector: "id-footer-inera-col", host: { properties: { "class": "this.hostClass" }, classAttribute: "ids-footer-inera__link-col" }, queries: [{ propertyName: "links", predicate: IDLinkDirective }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.20", type: IDFooterIneraColComponent, isStandalone: true, selector: "id-footer-inera-col", host: { properties: { "class": "this.hostClass" }, classAttribute: "ids-footer-inera__link-col" }, queries: [{ propertyName: "links", predicate: IDLinkDirective, isSignal: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
28
24
  }
29
25
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraColComponent, decorators: [{
30
26
  type: Component,
@@ -36,47 +32,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
36
32
  class: 'ids-footer-inera__link-col'
37
33
  }
38
34
  }]
39
- }], propDecorators: { links: [{
40
- type: ContentChildren,
41
- args: [IDLinkDirective]
42
- }], hostClass: [{
35
+ }], ctorParameters: () => [], propDecorators: { hostClass: [{
43
36
  type: HostBinding,
44
37
  args: ['class']
45
38
  }] } });
46
39
 
47
40
  class IDFooterIneraComponent {
48
41
  headline;
49
- cols;
42
+ cols = contentChildren(IDFooterIneraColComponent);
50
43
  destroyRef = inject(DestroyRef);
51
- updateColumnClasses() {
52
- const colLength = this.cols?.length || 0;
44
+ constructor() {
45
+ effect(() => {
46
+ const cols = this.cols();
47
+ this.updateColumnClasses(cols);
48
+ });
49
+ }
50
+ ngAfterContentInit() {
51
+ this.updateColumnClasses(this.cols());
52
+ }
53
+ updateColumnClasses(cols) {
54
+ const colLength = cols.length;
53
55
  const classMap = {
54
56
  1: "ids-footer-inera__link-col--100",
55
57
  2: "ids-footer-inera__link-col--50",
56
58
  3: "ids-footer-inera__link-col--33"
57
59
  };
58
60
  const newClass = classMap[colLength] || classMap[1];
59
- this.cols?.forEach((col) => {
61
+ cols.forEach((col) => {
60
62
  col.columnClass = newClass;
61
63
  });
62
64
  }
63
- ngAfterContentInit() {
64
- this.updateColumnClasses();
65
- this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
66
- this.updateColumnClasses();
67
- });
68
- }
69
65
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
70
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraComponent, isStandalone: true, selector: "id-footer-inera", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraColComponent }], ngImport: i0, template: "<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraComponent, isStandalone: true, selector: "id-footer-inera", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraColComponent, isSignal: true }], ngImport: i0, template: "<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols().length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
71
67
  }
72
68
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraComponent, decorators: [{
73
69
  type: Component,
74
- args: [{ selector: 'id-footer-inera', standalone: true, imports: [CommonModule], template: "<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n" }]
75
- }], propDecorators: { headline: [{
70
+ args: [{ selector: 'id-footer-inera', standalone: true, imports: [CommonModule], template: "<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols().length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n" }]
71
+ }], ctorParameters: () => [], propDecorators: { headline: [{
76
72
  type: Input
77
- }], cols: [{
78
- type: ContentChildren,
79
- args: [IDFooterIneraColComponent]
80
73
  }] } });
81
74
 
82
75
  class IDFooterIneraTextComponent {
@@ -1 +1 @@
1
- {"version":3,"file":"inera-ids-angular-components-footer-inera.mjs","sources":["../../../projects/ids-angular/components/footer-inera/footer-inera-col.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.html","../../../projects/ids-angular/components/footer-inera/footer-inera-text.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.module.ts","../../../projects/ids-angular/components/footer-inera/inera-ids-angular-components-footer-inera.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, HostBinding, inject, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__link-col'\n }\n})\nexport class IDFooterIneraColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.footer = true;\n link.block = true;\n })\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { Component, ContentChildren, DestroyRef, inject, Input, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraColComponent } from './footer-inera-col.component';\n\n@Component({\n selector: 'id-footer-inera',\n templateUrl: './footer-inera.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraComponent {\n @Input() headline: string;\n\n @ContentChildren(IDFooterIneraColComponent) \n cols!: QueryList<IDFooterIneraColComponent>;\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n const colLength = this.cols?.length || 0;\n \n const classMap: Record<number, string> = {\n 1: \"ids-footer-inera__link-col--100\",\n 2: \"ids-footer-inera__link-col--50\",\n 3: \"ids-footer-inera__link-col--33\"\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n this.cols?.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}\n","<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera__text',\n },\n})\nexport class IDFooterIneraTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-right'\n }\n})\nexport class IDFooterIneraSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-left'\n }\n})\nexport class IDFooterIneraSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__mobile-links'\n }\n})\nexport class IDFooterIneraSubFooterMobileComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraSubFooterMobileTextComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraComponent } from './footer-inera.component';\nimport { IDFooterIneraTextComponent } from './footer-inera-text.component';\nimport { IDFooterIneraColComponent } from './footer-inera-col.component';\nimport { IDFooterIneraSubFooterRightComponent } from './footer-inera-sub-footer-right.component';\nimport { IDFooterIneraSubFooterLeftComponent } from './footer-inera-sub-footer-left.component';\nimport { IDFooterIneraSubFooterMobileComponent } from './footer-inera-sub-footer-mobile.component';\nimport { IDFooterIneraSubFooterMobileTextComponent } from './footer-inera-sub-footer-mobile-text.component';\n\n@NgModule({\n imports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n IDFooterIneraSubFooterMobileTextComponent\n ],\n exports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n IDFooterIneraSubFooterMobileTextComponent\n ],\n})\nexport class IDFooterIneraModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,yBAAyB,CAAA;AACF,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEQ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAE/B,mBAAmB,GAAA;QACzB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC1B,YAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI;AACnB,QAAA,CAAC,CAAC;IACJ;IAEA,kBAAkB,GAAA;QAChB,IAAI,CAAC,mBAAmB,EAAE;AAC1B,QAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,MAAK;YAC1E,IAAI,CAAC,mBAAmB,EAAE;AAC5B,QAAA,CAAC,CAAC;IACJ;wGAxBW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,gBAAA,EAAA,EAAA,cAAA,EAAA,4BAAA,EAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EACnB,eAAe,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANtB,CAAA,yBAAA,CAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAK1B,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBARrC,S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A,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE;AACR;AACF,iBAAA;;;MCqBY,mBAAmB,CAAA;wGAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAlB5B,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,oCAAoC;YACpC,mCAAmC;YACnC,qCAAqC;AACrC,YAAA,yCAAyC,aAGzC,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,oCAAoC;YACpC,mCAAmC;YACnC,qCAAqC;YACrC,yCAAyC,CAAA,EAAA,CAAA;AAGhC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAlB5B,sBAAsB,CAAA,EAAA,CAAA;;4FAkBb,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,oCAAoC;wBACpC,mCAAmC;wBACnC,qCAAqC;wBACrC;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,oCAAoC;wBACpC,mCAAmC;wBACnC,qCAAqC;wBACrC;AACD,qBAAA;AACF,iBAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"inera-ids-angular-components-footer-inera.mjs","sources":["../../../projects/ids-angular/components/footer-inera/footer-inera-col.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.html","../../../projects/ids-angular/components/footer-inera/footer-inera-text.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.module.ts","../../../projects/ids-angular/components/footer-inera/inera-ids-angular-components-footer-inera.ts"],"sourcesContent":["import { afterNextRender, ChangeDetectorRef, Component, contentChildren, DestroyRef, HostBinding, inject } from '@angular/core';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__link-col'\n }\n})\nexport class IDFooterIneraColComponent {\n links = contentChildren(IDLinkDirective);\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return `ids-footer-inera__link-col ${this.columnClass || ''}`;\n }\n\n private destroyRef = inject(DestroyRef);\n cdr = inject(ChangeDetectorRef);\n\n constructor() {\n afterNextRender(() => {\n this.links().forEach((link) => {\n link.footer = true;\n link.block = true;\n });\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { AfterContentInit, ChangeDetectorRef, Component, contentChildren, DestroyRef, effect, inject, Input } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraColComponent } from './footer-inera-col.component';\n\n@Component({\n selector: 'id-footer-inera',\n templateUrl: './footer-inera.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraComponent implements AfterContentInit {\n @Input() headline: string;\n\n cols = contentChildren(IDFooterIneraColComponent);\n\n private destroyRef = inject(DestroyRef);\n\n constructor() {\n effect(() => {\n const cols = this.cols();\n this.updateColumnClasses(cols);\n });\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses(this.cols());\n }\n\n private updateColumnClasses(cols: readonly IDFooterIneraColComponent[]) {\n const colLength = cols.length;\n \n const classMap: Record<number, string> = {\n 1: \"ids-footer-inera__link-col--100\",\n 2: \"ids-footer-inera__link-col--50\",\n 3: \"ids-footer-inera__link-col--33\"\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n cols.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n}\n","<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols().length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera__text',\n },\n})\nexport class IDFooterIneraTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-right'\n }\n})\nexport class IDFooterIneraSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-left'\n }\n})\nexport class IDFooterIneraSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__mobile-links'\n }\n})\nexport class IDFooterIneraSubFooterMobileComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraSubFooterMobileTextComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraComponent } from './footer-inera.component';\nimport { IDFooterIneraTextComponent } from './footer-inera-text.component';\nimport { IDFooterIneraColComponent } from './footer-inera-col.component';\nimport { IDFooterIneraSubFooterRightComponent } from './footer-inera-sub-footer-right.component';\nimport { IDFooterIneraSubFooterLeftComponent } from './footer-inera-sub-footer-left.component';\nimport { IDFooterIneraSubFooterMobileComponent } from './footer-inera-sub-footer-mobile.component';\nimport { IDFooterIneraSubFooterMobileTextComponent } from './footer-inera-sub-footer-mobile-text.component';\n\n@NgModule({\n imports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n IDFooterIneraSubFooterMobileTextComponent\n ],\n exports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n IDFooterIneraSubFooterMobileTextComponent\n ],\n})\nexport class IDFooterIneraModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAWa,yBAAyB,CAAA;AACpC,IAAA,KAAK,GAAG,eAAe,CAAC,eAAe,CAAC;AAExC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;AACX,QAAA,OAAO,8BAA8B,IAAI,CAAC,WAAW,IAAI,EAAE,EAAE;IAC/D;AAEQ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AACvC,IAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAE/B,IAAA,WAAA,GAAA;QACE,eAAe,CAAC,MAAK;YACnB,IAAI,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC5B,gBAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,gBAAA,IAAI,CAAC,KAAK,GAAG,IAAI;AACnB,YAAA,CAAC,CAAC;AACJ,QAAA,CAAC,CAAC;IACJ;wGApBW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,gBAAA,EAAA,EAAA,cAAA,EAAA,4BAAA,EAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EACZ,eAAe,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAN7B,CAAA,yBAAA,CA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@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, DestroyRef, booleanAttribute, Input, ContentChild, ContentChildren, Component } from '@angular/core';
2
+ import { contentChildren, contentChild, inject, DestroyRef, booleanAttribute, Input, Component } from '@angular/core';
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import { IDCheckboxComponent } from '@inera/ids-angular/components/form/checkbox';
5
5
  import { IDErrorMessageComponent } from '@inera/ids-angular/components/form/error-message';
6
6
 
7
7
  class IDCheckboxGroupComponent {
8
- checkboxes;
9
- errorMessage;
8
+ checkboxes = contentChildren(IDCheckboxComponent);
9
+ errorMessage = contentChild(IDErrorMessageComponent);
10
10
  legend;
11
11
  compact = false;
12
12
  hideLegend = false;
13
13
  destroyRef = inject(DestroyRef);
14
14
  ngAfterContentInit() {
15
- this.checkboxes.forEach((checkbox) => {
15
+ this.checkboxes().forEach((checkbox) => {
16
16
  checkbox.invalidChange
17
17
  .pipe(takeUntilDestroyed(this.destroyRef))
18
18
  .subscribe((value) => {
@@ -22,24 +22,18 @@ class IDCheckboxGroupComponent {
22
22
  this.checkShowErrorMessage();
23
23
  }
24
24
  checkShowErrorMessage() {
25
- if (this.errorMessage) {
26
- const isInvalidPresent = this.checkboxes.find((checkbox) => checkbox.invalid);
27
- this.errorMessage.show = Boolean(isInvalidPresent);
25
+ if (this.errorMessage()) {
26
+ const isInvalidPresent = this.checkboxes().find((checkbox) => checkbox.invalid);
27
+ this.errorMessage().show = Boolean(isInvalidPresent);
28
28
  }
29
29
  }
30
30
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDCheckboxGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDCheckboxGroupComponent, isStandalone: true, selector: "id-checkbox-group", inputs: { legend: "legend", compact: ["compact", "compact", booleanAttribute], hideLegend: ["hideLegend", "hideLegend", booleanAttribute] }, queries: [{ propertyName: "errorMessage", first: true, predicate: IDErrorMessageComponent, descendants: true }, { propertyName: "checkboxes", predicate: IDCheckboxComponent }], ngImport: i0, template: "<fieldset\n class=\"ids-form-group__fieldset\"\n [class.ids-form-group__fieldset--compact]=\"compact\"\n>\n @if (legend) {\n <div class=\"ids-label-wrapper\" [class.ids-label-wrapper--sr-only]=\"hideLegend\">\n <legend>\n {{ legend }}\n <span class=\"ids-legend__tooltip\">\n <ng-content select=\"id-tooltip\"></ng-content>\n <ng-content select=\"id-popover\"></ng-content>\n </span>\n </legend>\n </div>\n }\n <ng-content></ng-content>\n <ng-content select=\"id-error-message\"></ng-content>\n</fieldset>\n" });
31
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDCheckboxGroupComponent, isStandalone: true, selector: "id-checkbox-group", inputs: { legend: "legend", compact: ["compact", "compact", booleanAttribute], hideLegend: ["hideLegend", "hideLegend", booleanAttribute] }, queries: [{ propertyName: "checkboxes", predicate: IDCheckboxComponent, isSignal: true }, { propertyName: "errorMessage", first: true, predicate: IDErrorMessageComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<fieldset\n class=\"ids-form-group__fieldset\"\n [class.ids-form-group__fieldset--compact]=\"compact\"\n>\n @if (legend) {\n <div class=\"ids-label-wrapper\" [class.ids-label-wrapper--sr-only]=\"hideLegend\">\n <legend>\n {{ legend }}\n <span class=\"ids-legend__tooltip\">\n <ng-content select=\"id-tooltip\"></ng-content>\n <ng-content select=\"id-popover\"></ng-content>\n </span>\n </legend>\n </div>\n }\n <ng-content></ng-content>\n <ng-content select=\"id-error-message\"></ng-content>\n</fieldset>\n" });
32
32
  }
33
33
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDCheckboxGroupComponent, decorators: [{
34
34
  type: Component,
35
35
  args: [{ selector: 'id-checkbox-group', standalone: true, template: "<fieldset\n class=\"ids-form-group__fieldset\"\n [class.ids-form-group__fieldset--compact]=\"compact\"\n>\n @if (legend) {\n <div class=\"ids-label-wrapper\" [class.ids-label-wrapper--sr-only]=\"hideLegend\">\n <legend>\n {{ legend }}\n <span class=\"ids-legend__tooltip\">\n <ng-content select=\"id-tooltip\"></ng-content>\n <ng-content select=\"id-popover\"></ng-content>\n </span>\n </legend>\n </div>\n }\n <ng-content></ng-content>\n <ng-content select=\"id-error-message\"></ng-content>\n</fieldset>\n" }]
36
- }], propDecorators: { checkboxes: [{
37
- type: ContentChildren,
38
- args: [IDCheckboxComponent]
39
- }], errorMessage: [{
40
- type: ContentChild,
41
- args: [IDErrorMessageComponent]
42
- }], legend: [{
36
+ }], propDecorators: { legend: [{
43
37
  type: Input
44
38
  }], compact: [{
45
39
  type: Input,
@@ -1 +1 @@
1
- {"version":3,"file":"inera-ids-angular-components-form-checkbox-group.mjs","sources":["../../../projects/ids-angular/components/form/checkbox-group/checkbox-group.component.ts","../../../projects/ids-angular/components/form/checkbox-group/checkbox-group.component.html","../../../projects/ids-angular/components/form/checkbox-group/inera-ids-angular-components-form-checkbox-group.ts"],"sourcesContent":["import {\n AfterContentInit,\n Component,\n ContentChild,\n ContentChildren,\n DestroyRef,\n Input,\n QueryList,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDCheckboxComponent } from '@inera/ids-angular/components/form/checkbox';\nimport { IDErrorMessageComponent } from '@inera/ids-angular/components/form/error-message';\n\n@Component({\n selector: 'id-checkbox-group',\n templateUrl: './checkbox-group.component.html',\n standalone: true,\n})\nexport class IDCheckboxGroupComponent implements AfterContentInit {\n @ContentChildren(IDCheckboxComponent)\n checkboxes: QueryList<IDCheckboxComponent>;\n\n @ContentChild(IDErrorMessageComponent)\n errorMessage: IDErrorMessageComponent;\n\n @Input() legend?: string;\n @Input({ transform: booleanAttribute }) compact: boolean = false;\n @Input({ transform: booleanAttribute }) hideLegend: boolean = false;\n\n private destroyRef = inject(DestroyRef);\n\n ngAfterContentInit(): void {\n this.checkboxes.forEach((checkbox) => {\n checkbox.invalidChange\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((value: boolean) => {\n this.checkShowErrorMessage();\n });\n });\n this.checkShowErrorMessage();\n }\n\n checkShowErrorMessage() {\n if (this.errorMessage) {\n const isInvalidPresent = this.checkboxes.find((checkbox) => checkbox.invalid);\n this.errorMessage.show = Boolean(isInvalidPresent);\n }\n }\n}\n","<fieldset\n class=\"ids-form-group__fieldset\"\n [class.ids-form-group__fieldset--compact]=\"compact\"\n>\n @if (legend) {\n <div class=\"ids-label-wrapper\" [class.ids-label-wrapper--sr-only]=\"hideLegend\">\n <legend>\n {{ legend }}\n <span class=\"ids-legend__tooltip\">\n <ng-content select=\"id-tooltip\"></ng-content>\n <ng-content select=\"id-popover\"></ng-content>\n </span>\n </legend>\n </div>\n }\n <ng-content></ng-content>\n <ng-content select=\"id-error-message\"></ng-content>\n</fieldset>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAoBa,wBAAwB,CAAA;AAEnC,IAAA,UAAU;AAGV,IAAA,YAAY;AAEH,IAAA,MAAM;IACyB,OAAO,GAAY,KAAK;IACxB,UAAU,GAAY,KAAK;AAE3D,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAEvC,kBAAkB,GAAA;QAChB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,QAAQ,KAAI;AACnC,YAAA,QAAQ,CAAC;AACN,iBAAA,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC;AACxC,iBAAA,SAAS,CAAC,CAAC,KAAc,KAAI;gBAC5B,IAAI,CAAC,qBAAqB,EAAE;AAC9B,YAAA,CAAC,CAAC;AACN,QAAA,CAAC,CAAC;QACF,IAAI,CAAC,qBAAqB,EAAE;IAC9B;IAEA,qBAAqB,GAAA;AACnB,QAAA,IAAI,IAAI,CAAC,YAAY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mjs","sources":["../../../projects/ids-angular/components/form/checkbox-group/checkbox-group.component.ts","../../../projects/ids-angular/components/form/checkbox-group/checkbox-group.component.html","../../../projects/ids-angular/components/form/checkbox-group/inera-ids-angular-components-form-checkbox-group.ts"],"sourcesContent":["import { AfterContentInit, Component, DestroyRef, Input, booleanAttribute, inject, contentChild, contentChildren } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDCheckboxComponent } from '@inera/ids-angular/components/form/checkbox';\nimport { IDErrorMessageComponent } from '@inera/ids-angular/components/form/error-message';\n\n@Component({\n selector: 'id-checkbox-group',\n templateUrl: './checkbox-group.component.html',\n standalone: true,\n})\nexport class IDCheckboxGroupComponent implements AfterContentInit {\n checkboxes = contentChildren(IDCheckboxComponent);\n\n errorMessage = contentChild(IDErrorMessageComponent);\n\n @Input() legend?: string;\n @Input({ transform: booleanAttribute }) compact: boolean = false;\n @Input({ transform: booleanAttribute }) hideLegend: boolean = false;\n\n private destroyRef = inject(DestroyRef);\n\n ngAfterContentInit(): void {\n this.checkboxes().forEach((checkbox) => {\n checkbox.invalidChange\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((value: boolean) => {\n this.checkShowErrorMessage();\n });\n });\n this.checkShowErrorMessage();\n }\n\n checkShowErrorMessage() {\n if (this.errorMessage()) {\n const isInvalidPresent = this.checkboxes().find((checkbox) => checkbox.invalid);\n this.errorMessage()!.show = Boolean(isInvalidPresent);\n }\n }\n}\n","<fieldset\n class=\"ids-form-group__fieldset\"\n [class.ids-form-group__fieldset--compact]=\"compact\"\n>\n @if (legend) {\n <div class=\"ids-label-wrapper\" [class.ids-label-wrapper--sr-only]=\"hideLegend\">\n <legend>\n {{ legend }}\n <span class=\"ids-legend__tooltip\">\n <ng-content select=\"id-tooltip\"></ng-content>\n <ng-content select=\"id-popover\"></ng-content>\n </span>\n </legend>\n </div>\n }\n <ng-content></ng-content>\n <ng-content select=\"id-error-message\"></ng-content>\n</fieldset>\n","/**\n *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