@inera/ids-angular 9.2.1 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) 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 +2 -2
  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/dialog/dialog.module.d.ts +12 -0
  18. package/components/dialog/public-api.d.ts +1 -0
  19. package/components/district-selector/district-selector.component.d.ts +14 -0
  20. package/components/district-selector/index.d.ts +5 -0
  21. package/components/district-selector/public-api.d.ts +1 -0
  22. package/components/dropdown/dropdown.component.d.ts +1 -1
  23. package/components/footer-1177/footer-1177-col.component.d.ts +4 -4
  24. package/components/footer-1177/footer-1177.component.d.ts +6 -4
  25. package/components/footer-1177-admin/footer-1177-admin-col.component.d.ts +4 -4
  26. package/components/footer-1177-admin/footer-1177-admin.component.d.ts +5 -4
  27. package/components/footer-1177-pro/footer-1177-pro-col.component.d.ts +4 -4
  28. package/components/footer-1177-pro/footer-1177-pro.component.d.ts +6 -4
  29. package/components/footer-inera/footer-inera-col.component.d.ts +4 -4
  30. package/components/footer-inera/footer-inera.component.d.ts +5 -4
  31. package/components/footer-inera-admin/footer-inera-admin-col.component.d.ts +4 -4
  32. package/components/footer-inera-admin/footer-inera-admin.component.d.ts +5 -4
  33. package/components/footer-inera-general/footer-inera-general-col.component.d.ts +4 -4
  34. package/components/footer-inera-general/footer-inera-general.component.d.ts +6 -4
  35. package/components/form/checkbox-group/checkbox-group.component.d.ts +4 -4
  36. package/components/form/input/input-clear-button.component.d.ts +5 -0
  37. package/components/form/input/input.component.d.ts +7 -3
  38. package/components/form/input/public-api.d.ts +1 -0
  39. package/components/form/label-subtitle/index.d.ts +5 -0
  40. package/components/form/label-subtitle/label-subtitle.component.d.ts +5 -0
  41. package/components/form/label-subtitle/public-api.d.ts +1 -0
  42. package/components/form/radio/radio-group.component.d.ts +4 -4
  43. package/components/form/radio/radio.component.d.ts +1 -1
  44. package/components/form/radio-button/radio-button-group.component.d.ts +1 -2
  45. package/components/form/range/range.component.d.ts +1 -1
  46. package/components/form/select/select.component.d.ts +1 -1
  47. package/components/form/select-multiple/select-multiple.component.d.ts +3 -3
  48. package/components/form/spinner/spinner.component.d.ts +2 -1
  49. package/components/form/textarea/textarea.component.d.ts +1 -1
  50. package/components/form/time/time.component.d.ts +1 -1
  51. package/components/global-alert/global-alert-actions.component.d.ts +1 -1
  52. package/components/global-alert/global-alert-header.component.d.ts +1 -1
  53. package/components/global-alert/global-alert.component.d.ts +2 -2
  54. package/components/header-1177/avatar/header-1177-avatar.component.d.ts +1 -1
  55. package/components/header-1177/header-1177.component.d.ts +6 -7
  56. package/components/header-1177/nav/header-1177-nav.component.d.ts +1 -1
  57. package/components/header-1177/nav-item/header-1177-nav-item.component.d.ts +5 -5
  58. package/components/header-1177/region-picker/header-1177-region-picker.component.d.ts +4 -4
  59. package/components/header-1177/region-picker-mobile/header-1177-region-picker-mobile.component.d.ts +3 -3
  60. package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +1 -1
  61. package/components/header-1177-admin/avatar-mobile/header-1177-admin-avatar-mobile.component.d.ts +1 -1
  62. package/components/header-1177-admin/header-1177-admin.component.d.ts +3 -3
  63. package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +6 -4
  64. package/components/header-1177-admin/nav-item/header-1177-admin-nav-item.component.d.ts +5 -5
  65. package/components/header-1177-pro/avatar/header-1177-pro-avatar.component.d.ts +1 -1
  66. package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +1 -1
  67. package/components/header-1177-pro/header-1177-pro.component.d.ts +3 -3
  68. package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +6 -4
  69. package/components/header-1177-pro/nav-item/header-1177-pro-nav-item.component.d.ts +5 -5
  70. package/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.d.ts +4 -4
  71. package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +1 -1
  72. package/components/header-inera/header-inera.component.d.ts +5 -6
  73. package/components/header-inera/nav/header-inera-nav.component.d.ts +3 -5
  74. package/components/header-inera/nav-item/header-inera-nav-item.component.d.ts +5 -5
  75. package/components/header-inera-admin/avatar/header-inera-admin-avatar.component.d.ts +1 -1
  76. package/components/header-inera-admin/avatar-mobile/header-inera-admin-avatar-mobile.component.d.ts +1 -1
  77. package/components/header-inera-admin/header-inera-admin.component.d.ts +12 -13
  78. package/components/header-inera-admin/header-inera-admin.module.d.ts +1 -1
  79. package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +6 -4
  80. package/components/header-inera-admin/nav-item/header-inera-admin-nav-item.component.d.ts +4 -4
  81. package/components/header-inera-admin/public-api.d.ts +12 -12
  82. package/components/header-inera-general/avatar/header-inera-general-avatar.component.d.ts +26 -0
  83. package/components/header-inera-general/avatar-mobile/header-inera-general-avatar-mobile.component.d.ts +26 -0
  84. package/components/header-inera-general/header-inera-general.component.d.ts +10 -6
  85. package/components/header-inera-general/header-inera-general.module.d.ts +11 -8
  86. package/components/header-inera-general/item/header-inera-general-item.component.d.ts +3 -1
  87. package/components/header-inera-general/nav/header-inera-general-nav.component.d.ts +1 -1
  88. package/components/header-inera-general/nav-item/header-inera-general-nav-item.component.d.ts +5 -5
  89. package/components/header-inera-general/nav-item-mobile/header-inera-general-nav-item-mobile.component.d.ts +8 -0
  90. package/components/header-inera-general/nav-mobile/header-inera-general-nav-mobile.component.d.ts +7 -0
  91. package/components/header-inera-general/public-api.d.ts +5 -1
  92. package/components/message-avatar/index.d.ts +5 -0
  93. package/components/message-avatar/message-avatar.component.d.ts +10 -0
  94. package/components/message-avatar/public-api.d.ts +1 -0
  95. package/components/mobile/menu/item/mobile-menu-item.component.d.ts +3 -3
  96. package/components/mobile/menu/mobile-menu.component.d.ts +1 -2
  97. package/components/navigation/content/navigation-content-item.component.d.ts +24 -0
  98. package/components/navigation/content/navigation-content-link.component.d.ts +1 -1
  99. package/components/navigation/content/navigation-content.component.d.ts +6 -3
  100. package/components/navigation/content/public-api.d.ts +1 -0
  101. package/components/navigation/local/navigation-local-link.component.d.ts +1 -1
  102. package/components/navigation/local/navigation-local.component.d.ts +1 -2
  103. package/components/popover/popover.component.d.ts +4 -4
  104. package/components/puff-list/puff-list-item.component.d.ts +1 -1
  105. package/components/puff-list/puff-list.component.d.ts +1 -2
  106. package/components/side-menu/side-menu.component.d.ts +4 -2
  107. package/components/side-panel/side-panel.component.d.ts +7 -6
  108. package/components/stepper/step.component.d.ts +2 -0
  109. package/components/stepper/stepper.component.d.ts +2 -2
  110. package/components/tabs/tab-group.component.d.ts +3 -2
  111. package/components/tabs/tab.component.d.ts +2 -2
  112. package/components/tag/tag.component.d.ts +1 -1
  113. package/components/tooltip/tooltip.component.d.ts +2 -2
  114. package/fesm2022/inera-ids-angular-common.mjs +31 -32
  115. package/fesm2022/inera-ids-angular-common.mjs.map +1 -1
  116. package/fesm2022/inera-ids-angular-components-accordion.mjs +23 -32
  117. package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
  118. package/fesm2022/inera-ids-angular-components-action-link.mjs +3 -3
  119. package/fesm2022/inera-ids-angular-components-alert.mjs +12 -18
  120. package/fesm2022/inera-ids-angular-components-alert.mjs.map +1 -1
  121. package/fesm2022/inera-ids-angular-components-badge.mjs +4 -4
  122. package/fesm2022/inera-ids-angular-components-badge.mjs.map +1 -1
  123. package/fesm2022/inera-ids-angular-components-box-link.mjs +19 -23
  124. package/fesm2022/inera-ids-angular-components-box-link.mjs.map +1 -1
  125. package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +19 -30
  126. package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
  127. package/fesm2022/inera-ids-angular-components-button-group.mjs +3 -3
  128. package/fesm2022/inera-ids-angular-components-button.mjs +3 -3
  129. package/fesm2022/inera-ids-angular-components-card.mjs +3 -3
  130. package/fesm2022/inera-ids-angular-components-carousel.mjs +20 -27
  131. package/fesm2022/inera-ids-angular-components-carousel.mjs.map +1 -1
  132. package/fesm2022/inera-ids-angular-components-control-button.mjs +24 -0
  133. package/fesm2022/inera-ids-angular-components-control-button.mjs.map +1 -0
  134. package/fesm2022/inera-ids-angular-components-date-label.mjs +3 -3
  135. package/fesm2022/inera-ids-angular-components-dialog.mjs +65 -35
  136. package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
  137. package/fesm2022/inera-ids-angular-components-district-selector.mjs +45 -0
  138. package/fesm2022/inera-ids-angular-components-district-selector.mjs.map +1 -0
  139. package/fesm2022/inera-ids-angular-components-dropdown.mjs +16 -19
  140. package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
  141. package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs +48 -55
  142. package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs.map +1 -1
  143. package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs +49 -55
  144. package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs.map +1 -1
  145. package/fesm2022/inera-ids-angular-components-footer-1177.mjs +49 -55
  146. package/fesm2022/inera-ids-angular-components-footer-1177.mjs.map +1 -1
  147. package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +51 -58
  148. package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
  149. package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs +53 -58
  150. package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs.map +1 -1
  151. package/fesm2022/inera-ids-angular-components-footer-inera.mjs +51 -58
  152. package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
  153. package/fesm2022/inera-ids-angular-components-form-check-button.mjs +3 -3
  154. package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs +11 -17
  155. package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs.map +1 -1
  156. package/fesm2022/inera-ids-angular-components-form-checkbox.mjs +3 -3
  157. package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs +3 -3
  158. package/fesm2022/inera-ids-angular-components-form-error-message.mjs +3 -3
  159. package/fesm2022/inera-ids-angular-components-form-input.mjs +66 -42
  160. package/fesm2022/inera-ids-angular-components-form-input.mjs.map +1 -1
  161. package/fesm2022/inera-ids-angular-components-form-label-subtitle.mjs +25 -0
  162. package/fesm2022/inera-ids-angular-components-form-label-subtitle.mjs.map +1 -0
  163. package/fesm2022/inera-ids-angular-components-form-radio-button.mjs +11 -14
  164. package/fesm2022/inera-ids-angular-components-form-radio-button.mjs.map +1 -1
  165. package/fesm2022/inera-ids-angular-components-form-radio.mjs +15 -21
  166. package/fesm2022/inera-ids-angular-components-form-radio.mjs.map +1 -1
  167. package/fesm2022/inera-ids-angular-components-form-range.mjs +4 -4
  168. package/fesm2022/inera-ids-angular-components-form-range.mjs.map +1 -1
  169. package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs +10 -13
  170. package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs.map +1 -1
  171. package/fesm2022/inera-ids-angular-components-form-select.mjs +4 -4
  172. package/fesm2022/inera-ids-angular-components-form-select.mjs.map +1 -1
  173. package/fesm2022/inera-ids-angular-components-form-spinner.mjs +7 -4
  174. package/fesm2022/inera-ids-angular-components-form-spinner.mjs.map +1 -1
  175. package/fesm2022/inera-ids-angular-components-form-textarea.mjs +7 -7
  176. package/fesm2022/inera-ids-angular-components-form-textarea.mjs.map +1 -1
  177. package/fesm2022/inera-ids-angular-components-form-time.mjs +4 -4
  178. package/fesm2022/inera-ids-angular-components-form-time.mjs.map +1 -1
  179. package/fesm2022/inera-ids-angular-components-form-toggle.mjs +3 -3
  180. package/fesm2022/inera-ids-angular-components-global-alert.mjs +17 -29
  181. package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
  182. package/fesm2022/inera-ids-angular-components-grid-column.mjs +3 -3
  183. package/fesm2022/inera-ids-angular-components-grid-container.mjs +3 -3
  184. package/fesm2022/inera-ids-angular-components-grid-layout-grid-column.mjs +3 -3
  185. package/fesm2022/inera-ids-angular-components-grid-layout-grid-container.mjs +3 -3
  186. package/fesm2022/inera-ids-angular-components-grid-layout-grid-row.mjs +3 -3
  187. package/fesm2022/inera-ids-angular-components-grid-layout.mjs +9 -9
  188. package/fesm2022/inera-ids-angular-components-grid-row.mjs +3 -3
  189. package/fesm2022/inera-ids-angular-components-grid.mjs +9 -9
  190. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +86 -108
  191. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
  192. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +123 -138
  193. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
  194. package/fesm2022/inera-ids-angular-components-header-1177.mjs +142 -180
  195. package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
  196. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +101 -133
  197. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
  198. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs +391 -80
  199. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs.map +1 -1
  200. package/fesm2022/inera-ids-angular-components-header-inera.mjs +57 -86
  201. package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
  202. package/fesm2022/inera-ids-angular-components-header-patient.mjs +6 -6
  203. package/fesm2022/inera-ids-angular-components-link.mjs +3 -3
  204. package/fesm2022/inera-ids-angular-components-message-avatar.mjs +35 -0
  205. package/fesm2022/inera-ids-angular-components-message-avatar.mjs.map +1 -0
  206. package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs +8 -14
  207. package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs.map +1 -1
  208. package/fesm2022/inera-ids-angular-components-mobile-menu.mjs +17 -26
  209. package/fesm2022/inera-ids-angular-components-mobile-menu.mjs.map +1 -1
  210. package/fesm2022/inera-ids-angular-components-navigation-content.mjs +79 -18
  211. package/fesm2022/inera-ids-angular-components-navigation-content.mjs.map +1 -1
  212. package/fesm2022/inera-ids-angular-components-navigation-local.mjs +11 -17
  213. package/fesm2022/inera-ids-angular-components-navigation-local.mjs.map +1 -1
  214. package/fesm2022/inera-ids-angular-components-notification-badge.mjs +5 -5
  215. package/fesm2022/inera-ids-angular-components-notification-badge.mjs.map +1 -1
  216. package/fesm2022/inera-ids-angular-components-pagination-data-pagination.mjs +6 -6
  217. package/fesm2022/inera-ids-angular-components-pagination-list-pagination.mjs +3 -3
  218. package/fesm2022/inera-ids-angular-components-popover.mjs +124 -79
  219. package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
  220. package/fesm2022/inera-ids-angular-components-progressbar.mjs +3 -3
  221. package/fesm2022/inera-ids-angular-components-puff-list.mjs +39 -45
  222. package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
  223. package/fesm2022/inera-ids-angular-components-region-icon.mjs +3 -3
  224. package/fesm2022/inera-ids-angular-components-side-menu.mjs +38 -28
  225. package/fesm2022/inera-ids-angular-components-side-menu.mjs.map +1 -1
  226. package/fesm2022/inera-ids-angular-components-side-panel.mjs +103 -91
  227. package/fesm2022/inera-ids-angular-components-side-panel.mjs.map +1 -1
  228. package/fesm2022/inera-ids-angular-components-stepper.mjs +24 -20
  229. package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
  230. package/fesm2022/inera-ids-angular-components-tabs.mjs +18 -26
  231. package/fesm2022/inera-ids-angular-components-tabs.mjs.map +1 -1
  232. package/fesm2022/inera-ids-angular-components-tag.mjs +10 -10
  233. package/fesm2022/inera-ids-angular-components-tag.mjs.map +1 -1
  234. package/fesm2022/inera-ids-angular-components-toolbar.mjs +3 -3
  235. package/fesm2022/inera-ids-angular-components-tooltip.mjs +27 -33
  236. package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
  237. package/package.json +58 -42
  238. /package/common/services/{use-id.service.ts.d.ts → use-id.service.d.ts} +0 -0
  239. /package/components/header-inera-admin/nav-item-mobile/{header-inera-admin-nav-item-mobile.d.ts → header-inera-admin-nav-item-mobile.component.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"inera-ids-angular-components-popover.mjs","sources":["../../../projects/ids-angular/components/popover/popover-close.component.ts","../../../projects/ids-angular/components/popover/popover-content.component.ts","../../../projects/ids-angular/components/popover/popover.component.ts","../../../projects/ids-angular/components/popover/popover-header.component.ts","../../../projects/ids-angular/components/popover/popover-trigger.component.ts","../../../projects/ids-angular/components/popover/popover.module.ts","../../../projects/ids-angular/components/popover/inera-ids-angular-components-popover.ts"],"sourcesContent":["import { Component, EventEmitter, HostListener, Output } from '@angular/core';\n\n@Component({\n selector: 'id-popover-close',\n standalone: true,\n template: `<ng-content></ng-content>`,\n})\nexport class IDPopoverCloseComponent {\n @Output() clicked = new EventEmitter<Event>();\n\n @HostListener('click')\n onClick = (e:Event) => {\n this.clicked.emit(e);\n }\n}","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, Component, ElementRef, EventEmitter, HostListener, inject, Input, Output } from '@angular/core';\nimport { IDClickOutsideDirective } from '@inera/ids-angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\n\n@Component({\n selector: 'id-popover-content',\n standalone: true,\n imports: [A11yModule, CommonModule, IDClickOutsideDirective],\n template: `\n <div [cdkTrapFocus]=\"true\" idClickOutside (idClickOutside)=\"onClickedOutside($event)\"\n (keydown.shift.tab)=\"onShiftTab($event)\"\n class=\"ids-popover-content__content-wrapper\"\n tabindex=\"0\"\n [style.maxWidth]=\"maxWidth\"\n [style.maxHeight]=\"maxHeight\">\n <div class=\"ids-popover-content__caret\" [ngClass]=\"caretPositionClass\">\n <span class=\"ids-popover-content__caret-body\" [ngClass]=\"caretPositionClass\"></span>\n <span class=\"ids-popover-content__caret-border\" [ngClass]=\"caretPositionClass\"></span>\n <span class=\"ids-popover-content__caret-shadow\" [ngClass]=\"caretPositionClass\"></span>\n </div>\n <div class=\"ids-popover-content__top-bar\">\n <div class=\"ids-popover-content__close-btn-wrapper\">\n <button (click)=\"contentClosed.emit($event)\" class=\"ids-popover-content__close-btn\" [attr.aria-label]=\"srCloseText\"></button>\n </div>\n </div>\n <div class=\"ids-popover-content__content-wrapper-inner\">\n <ng-content select=\"id-popover-header\"></ng-content>\n <ng-content></ng-content>\n </div>\n </div>`,\n host: {\n '[class]': 'hostClasses',\n 'style': 'display: none',\n }\n})\nexport class IDPopoverContentComponent {\n\n public elementRef = inject(ElementRef);\n\n @Output()\n contentClosed: EventEmitter<Event> = new EventEmitter<Event>();\n\n position = 'bottom';\n\n @Input({transform: booleanAttribute}) closeOnBlur = false;\n @Input() maxHeight = '260px';\n @Input() maxWidth = '260px';\n @Input() srCloseText = 'Stäng';\n\n get contentMaxHeight() {\n return `calc(${this.maxHeight} - 40px)`\n }\n\n onClickedOutside(event: Event) {\n if(this.closeOnBlur) {\n this.contentClosed.emit(event)\n }\n }\n\n @HostListener('keydown', ['$event'])\n onKeyDown(event: KeyboardEvent) {\n if (event.key === 'Escape') {\n this.contentClosed.emit(event);\n }\n }\n\n onShiftTab(event: Event) {\n const wrapper = this.elementRef.nativeElement.querySelector('.ids-popover-content__content-wrapper');\n if (document.activeElement !== wrapper && !wrapper?.contains(document.activeElement)) return;\n if (document.activeElement === wrapper) {\n event.preventDefault();\n const focusable = wrapper.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])') as NodeListOf<HTMLElement>;\n const last = Array.from(focusable).filter(el => el !== wrapper).pop();\n if (last) {\n last.focus();\n }\n }\n }\n\n\n get caretPositionClass() {\n return `ids-popover-content__caret--${this.position}`;\n }\n\n get hostClasses(): string {\n return `ids-popover-content ids-popover-content--${this.position}`;\n }\n}\n","import { AfterContentInit, ApplicationRef, booleanAttribute, Component, ContentChild, ContentChildren, DestroyRef, effect, ElementRef, EventEmitter, inject, Input, OnChanges, OnDestroy, Output, QueryList, SimpleChanges, ViewChild } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { DomPortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { IDPopoverCloseComponent } from './popover-close.component';\nimport { IDPopoverContentComponent } from './popover-content.component';\nimport { IDTooltipCategoryService } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-popover',\n standalone: true,\n template: `\n <span #triggerEl class=\"ids-popover-trigger\" (click)=\"togglePopover($event)\">\n <ng-content></ng-content>\n </span>\n <ng-content select=\"id-popover-content\"></ng-content>\n `,\n host: {\n class: 'ids-popover'\n }\n})\nexport class IDPopoverComponent implements AfterContentInit, OnChanges, OnDestroy {\n @Input() position:\n | 'top'\n | 'top-left'\n | 'top-right'\n | 'right'\n | 'right-top'\n | 'right-bottom'\n | 'bottom'\n | 'bottom-left'\n | 'bottom-right'\n | 'left'\n | 'left-top'\n | 'left-bottom' = 'bottom';\n\n @Input() category = '';\n @Input({transform: booleanAttribute}) show: boolean = false;\n @Output() showChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n \n @Output() closed: EventEmitter<Event> = new EventEmitter();\n @Output() opened: EventEmitter<Event> = new EventEmitter();\n\n @ContentChild(IDPopoverContentComponent, { descendants:true })\n bodyComponent: IDPopoverContentComponent;\n\n @ContentChildren(IDPopoverCloseComponent, { descendants: true })\n closeComponents: QueryList<IDPopoverCloseComponent>;\n\n @ViewChild('triggerEl') triggerEl: ElementRef<HTMLElement>;\n\n private document = inject(DOCUMENT);\n private appRef = inject(ApplicationRef);\n private opener = false;\n private categoryCollection = inject(IDTooltipCategoryService);\n private destroyRef = inject(DestroyRef);\n private updatePositionTimeout?: ReturnType<typeof setTimeout>;\n private isAttached = false;\n private openedViaTrigger = false;\n private portalOutlet: DomPortalOutlet | null = null;\n\n private readonly GAP = 4;\n private readonly CARET_SIZE = 8;\n\n private resizeHandler = () => this.applyPortalPosition();\n\n private get win(): Window {\n return this.document.defaultView || window;\n }\n\n constructor() {\n effect(() => {\n const categoryToClose = this.categoryCollection.closeCategory();\n if (!categoryToClose || categoryToClose !== this.category) return;\n if (this.opener) {\n this.opener = false;\n return;\n }\n this.detachPortal();\n this.show = false;\n });\n }\n \n ngOnChanges(changes: SimpleChanges): void {\n if (changes['position']) {\n this.updatePosition(changes['position'].currentValue);\n }\n if (changes['show'] && !changes['show'].firstChange) {\n if (changes['show'].currentValue) {\n this.attachPortal();\n } else {\n this.detachPortal();\n }\n }\n }\n\n private updatePosition(position: string) {\n clearTimeout(this.updatePositionTimeout);\n this.updatePositionTimeout = setTimeout(() => {\n this.bodyComponent.position = position;\n if (this.isAttached) {\n requestAnimationFrame(() => this.applyPortalPosition());\n }\n }, 0);\n }\n\n ngAfterContentInit(): void {\n this.bodyComponent.contentClosed\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((event: Event) => {\n this.closePopover(event);\n });\n this.closeComponents.forEach((closeComponent) => {\n closeComponent.clicked\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((event: Event) => {\n this.closePopover(event);\n });\n });\n\n if (this.show) {\n this.attachPortal();\n }\n }\n\n ngOnDestroy(): void {\n clearTimeout(this.updatePositionTimeout);\n this.detachPortal();\n }\n\n togglePopover(e: Event) {\n e.preventDefault();\n if (this.show) {\n this.closePopover(e);\n } else {\n this.showPopover(e);\n }\n }\n\n private focusContent(): void {\n if (!this.bodyComponent) return;\n const contentEl = this.bodyComponent.elementRef.nativeElement;\n const wrapper = contentEl.querySelector('.ids-popover-content__content-wrapper') as HTMLElement | null;\n if (wrapper) {\n wrapper.focus({ preventScroll: true });\n }\n }\n \n showPopover(event: Event):void {\n this.opener = true;\n this.openedViaTrigger = true;\n this.categoryCollection.requestClose(this.category);\n this.show = true;\n this.showChange.emit(this.show);\n this.attachPortal();\n this.opened.emit(event);\n }\n\n closePopover(event: Event):void {\n this.detachPortal();\n this.show = false;\n this.showChange.emit(this.show);\n this.closed.emit(event);\n this.focusTriggerContent();\n }\n\n private focusTriggerContent(): void {\n const trigger = this.triggerEl?.nativeElement;\n if (!trigger) return;\n const focusable = trigger.querySelector<HTMLElement>('button, a[href], [tabindex]:not([tabindex=\"-1\"]), input, select, textarea');\n if (focusable) {\n focusable.focus();\n }\n }\n\n private attachPortal(): void {\n if (this.isAttached || !this.bodyComponent) return;\n this.isAttached = true;\n\n const contentEl = this.bodyComponent.elementRef.nativeElement;\n contentEl.style.display = '';\n contentEl.style.opacity = '0';\n\n const outletEl = this.document.createElement('div');\n this.document.body.appendChild(outletEl);\n this.portalOutlet = new DomPortalOutlet(outletEl, undefined, this.appRef, undefined, this.document);\n this.portalOutlet.attach(new DomPortal(this.bodyComponent.elementRef));\n\n clearTimeout(this.updatePositionTimeout);\n this.updatePositionTimeout = setTimeout(() => {\n requestAnimationFrame(() => {\n this.applyPortalPosition();\n contentEl.style.opacity = '';\n if (this.openedViaTrigger) {\n this.focusContent();\n this.openedViaTrigger = false;\n }\n });\n }, 100);\n\n this.win.addEventListener('resize', this.resizeHandler);\n }\n\n private detachPortal(): void {\n if (!this.isAttached) return;\n this.isAttached = false;\n\n this.win.removeEventListener('resize', this.resizeHandler);\n\n if (this.portalOutlet) {\n this.portalOutlet.dispose();\n this.portalOutlet = null;\n }\n\n if (this.bodyComponent) {\n this.bodyComponent.elementRef.nativeElement.style.cssText = 'display:none';\n }\n }\n\n private calculatePosition(triggerRect: DOMRect, contentRect: DOMRect): { top: number; left: number } {\n const offset = this.GAP + this.CARET_SIZE;\n const pos = this.position;\n const centerY = triggerRect.top + triggerRect.height / 2 - contentRect.height / 2;\n const centerX = triggerRect.left + triggerRect.width / 2 - contentRect.width / 2;\n\n let top: number;\n if (pos.startsWith('top')) top = triggerRect.top - contentRect.height - offset;\n else if (pos.startsWith('bottom')) top = triggerRect.bottom + offset;\n else if (pos.endsWith('-top')) top = triggerRect.bottom - contentRect.height;\n else if (pos.endsWith('-bottom')) top = triggerRect.top;\n else top = centerY;\n\n let left: number;\n if (pos.startsWith('left')) left = triggerRect.left - contentRect.width - offset;\n else if (pos.startsWith('right')) left = triggerRect.right + offset;\n else if (pos.endsWith('-left')) left = triggerRect.left;\n else if (pos.endsWith('-right')) left = triggerRect.right - contentRect.width;\n else left = centerX;\n\n return { top, left };\n }\n\n private applyPortalPosition(): void {\n if (!this.bodyComponent || !this.triggerEl) return;\n\n const triggerRect = this.triggerEl.nativeElement.getBoundingClientRect();\n const contentEl = this.bodyComponent.elementRef.nativeElement;\n const { top, left } = this.calculatePosition(triggerRect, contentEl.getBoundingClientRect());\n const window = this.win;\n\n Object.assign(contentEl.style, {\n position: 'absolute',\n top: `${top + window.scrollY}px`,\n left: `${left + window.scrollX}px`,\n bottom: 'auto', right: 'auto', transform: 'none', zIndex: '9999',\n });\n }\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-popover-header',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-popover-content__headline'\n }\n})\nexport class IDPopoverHeaderComponent {}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-popover-trigger',\n standalone: true,\n template: `<ng-content></ng-content>`,\n})\nexport class IDPopoverTriggerComponent {}","import { NgModule } from '@angular/core';\n\nimport { IDPopoverComponent } from './popover.component';\nimport { IDPopoverHeaderComponent } from './popover-header.component';\nimport { IDPopoverContentComponent } from './popover-content.component';\nimport { IDPopoverTriggerComponent } from './popover-trigger.component';\nimport { IDPopoverCloseComponent } from './popover-close.component';\n\n\n@NgModule({\n imports: [\n IDPopoverComponent,\n IDPopoverHeaderComponent,\n IDPopoverContentComponent,\n IDPopoverTriggerComponent,\n IDPopoverCloseComponent\n ],\n exports: [\n IDPopoverComponent,\n IDPopoverHeaderComponent,\n IDPopoverContentComponent,\n IDPopoverTriggerComponent,\n IDPopoverCloseComponent\n ],\n})\nexport class IDPopoverModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAOa,uBAAuB,CAAA;AACxB,IAAA,OAAO,GAAG,IAAI,YAAY,EAAS;AAG7C,IAAA,OAAO,GAAG,CAAC,CAAO,KAAI;AACpB,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACtB,IAAA,CAAC;wGANU,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,4JAFxB,CAAA,yBAAA,CAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAE1B,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA,yBAAA,CAA2B;AACtC,iBAAA;8BAEW,OAAO,EAAA,CAAA;sBAAhB;gBAGD,OAAO,EAAA,CAAA;sBADN,YAAY;uBAAC,OAAO;;;MC0BV,yBAAyB,CAAA;AAE7B,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,C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CAAA;;4FAYhB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAhB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,wBAAwB;wBACxB,yBAAyB;wBACzB,yBAAyB;wBACzB;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,wBAAwB;wBACxB,yBAAyB;wBACzB,yBAAyB;wBACzB;AACD,qBAAA;AACF,iBAAA;;;ACxBD;;AAEG;;;;"}
1
+ {"version":3,"file":"inera-ids-angular-components-popover.mjs","sources":["../../../projects/ids-angular/components/popover/popover-close.component.ts","../../../projects/ids-angular/components/popover/popover-content.component.ts","../../../projects/ids-angular/components/popover/popover.component.ts","../../../projects/ids-angular/components/popover/popover-header.component.ts","../../../projects/ids-angular/components/popover/popover-trigger.component.ts","../../../projects/ids-angular/components/popover/popover.module.ts","../../../projects/ids-angular/components/popover/inera-ids-angular-components-popover.ts"],"sourcesContent":["import { Component, EventEmitter, HostListener, Output } from '@angular/core';\n\n@Component({\n selector: 'id-popover-close',\n standalone: true,\n template: `<ng-content></ng-content>`,\n})\nexport class IDPopoverCloseComponent {\n @Output() clicked = new EventEmitter<Event>();\n\n @HostListener('click')\n onClick = (e:Event) => {\n this.clicked.emit(e);\n }\n}","import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport { IDClickOutsideDirective } from '@inera/ids-angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\n\n@Component({\n selector: 'id-popover-content',\n standalone: true,\n imports: [A11yModule, CommonModule, IDClickOutsideDirective],\n template: `\n <div\n [cdkTrapFocus]=\"true\"\n idClickOutside\n (idClickOutside)=\"onClickedOutside($event)\"\n (keydown.shift.tab)=\"onShiftTab($event)\"\n class=\"ids-popover-content__content-wrapper\"\n tabindex=\"0\"\n [style.maxWidth]=\"maxWidth\"\n [style.maxHeight]=\"maxHeight\"\n >\n <div\n class=\"ids-popover-content__caret\"\n [ngClass]=\"caretPositionClass\"\n >\n <span\n class=\"ids-popover-content__caret-body\"\n [ngClass]=\"caretPositionClass\"\n ></span>\n <span\n class=\"ids-popover-content__caret-border\"\n [ngClass]=\"caretPositionClass\"\n ></span>\n <span\n class=\"ids-popover-content__caret-shadow\"\n [ngClass]=\"caretPositionClass\"\n ></span>\n </div>\n <div class=\"ids-popover-content__top-bar\">\n <div class=\"ids-popover-content__close-btn-wrapper\">\n <button\n class=\"ids-popover-content__close-btn\"\n (click)=\"contentClosed.emit($event)\"\n [attr.aria-label]=\"srCloseText\"\n >\n <span\n class=\"ids-icon-close\"\n aria-hidden\n ></span>\n </button>\n </div>\n </div>\n <div class=\"ids-popover-content__content-wrapper-inner\">\n <ng-content select=\"id-popover-header\"></ng-content>\n <ng-content></ng-content>\n </div>\n </div>\n `,\n host: {\n '[class]': 'hostClasses',\n style: 'display: none',\n },\n})\nexport class IDPopoverContentComponent {\n public elementRef = inject(ElementRef);\n\n @Output()\n contentClosed: EventEmitter<Event> = new EventEmitter<Event>();\n\n position = 'bottom';\n\n @Input({ transform: booleanAttribute }) closeOnBlur = false;\n @Input() maxHeight = '260px';\n @Input() maxWidth = '260px';\n @Input() srCloseText = 'Stäng';\n\n get contentMaxHeight() {\n return `calc(${this.maxHeight} - 40px)`;\n }\n\n onClickedOutside(event: Event) {\n if (this.closeOnBlur) {\n this.contentClosed.emit(event);\n }\n }\n\n @HostListener('keydown', ['$event'])\n onKeyDown(event: KeyboardEvent) {\n if (event.key === 'Escape') {\n this.contentClosed.emit(event);\n }\n }\n\n onShiftTab(event: Event) {\n const wrapper = this.elementRef.nativeElement.querySelector(\n '.ids-popover-content__content-wrapper',\n );\n if (document.activeElement !== wrapper && !wrapper?.contains(document.activeElement)) return;\n if (document.activeElement === wrapper) {\n event.preventDefault();\n const focusable = wrapper.querySelectorAll(\n 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])',\n ) as NodeListOf<HTMLElement>;\n const last = Array.from(focusable)\n .filter((el) => el !== wrapper)\n .pop();\n if (last) {\n last.focus();\n }\n }\n }\n\n get caretPositionClass() {\n return `ids-popover-content__caret--${this.position}`;\n }\n\n get hostClasses(): string {\n return `ids-popover-content ids-popover-content--${this.position}`;\n }\n}\n","import { AfterContentInit, ApplicationRef, booleanAttribute, Component, DestroyRef, effect, ElementRef, EventEmitter, inject, Input, OnChanges, OnDestroy, Output, SimpleChanges, viewChild, contentChild, contentChildren } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { DomPortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { IDPopoverCloseComponent } from './popover-close.component';\nimport { IDPopoverContentComponent } from './popover-content.component';\nimport { IDTooltipCategoryService } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-popover',\n standalone: true,\n template: `\n <span #triggerEl class=\"ids-popover-trigger\" (click)=\"togglePopover($event)\">\n <ng-content></ng-content>\n </span>\n <ng-content select=\"id-popover-content\"></ng-content>\n `,\n host: {\n class: 'ids-popover'\n }\n})\nexport class IDPopoverComponent implements AfterContentInit, OnChanges, OnDestroy {\n @Input() position:\n | 'top'\n | 'top-left'\n | 'top-right'\n | 'right'\n | 'right-top'\n | 'right-bottom'\n | 'bottom'\n | 'bottom-left'\n | 'bottom-right'\n | 'left'\n | 'left-top'\n | 'left-bottom' = 'bottom';\n\n @Input() category = '';\n @Input({transform: booleanAttribute}) show: boolean = false;\n @Output() showChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n \n @Output() closed: EventEmitter<Event> = new EventEmitter();\n @Output() opened: EventEmitter<Event> = new EventEmitter();\n\n bodyComponent = contentChild(IDPopoverContentComponent, { descendants:true });\n\n closeComponents = contentChildren(IDPopoverCloseComponent, { descendants: true });\n\n triggerEl = viewChild.required<ElementRef<HTMLElement>>('triggerEl');\n\n private document = inject(DOCUMENT);\n private appRef = inject(ApplicationRef);\n private opener = false;\n private categoryCollection = inject(IDTooltipCategoryService);\n private destroyRef = inject(DestroyRef);\n private updatePositionTimeout?: ReturnType<typeof setTimeout>;\n private isAttached = false;\n private openedViaTrigger = false;\n private portalOutlet: DomPortalOutlet | null = null;\n\n private readonly GAP = 4;\n private readonly CARET_SIZE = 8;\n\n private resizeHandler = () => this.applyPortalPosition();\n\n private get win(): Window {\n return this.document.defaultView || window;\n }\n\n constructor() {\n effect(() => {\n const categoryToClose = this.categoryCollection.closeCategory();\n if (!categoryToClose || categoryToClose !== this.category) return;\n if (this.opener) {\n this.opener = false;\n return;\n }\n this.detachPortal();\n this.show = false;\n });\n }\n \n ngOnChanges(changes: SimpleChanges): void {\n if (changes['position']) {\n this.updatePosition(changes['position'].currentValue);\n }\n if (changes['show'] && !changes['show'].firstChange) {\n if (changes['show'].currentValue) {\n this.attachPortal();\n } else {\n this.detachPortal();\n }\n }\n }\n\n private updatePosition(position: string) {\n clearTimeout(this.updatePositionTimeout);\n this.updatePositionTimeout = setTimeout(() => {\n this.bodyComponent()!.position = position;\n if (this.isAttached) {\n requestAnimationFrame(() => this.applyPortalPosition());\n }\n }, 0);\n }\n\n ngAfterContentInit(): void {\n this.bodyComponent()!.contentClosed\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((event: Event) => {\n this.closePopover(event);\n });\n this.closeComponents().forEach((closeComponent) => {\n closeComponent.clicked\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((event: Event) => {\n this.closePopover(event);\n });\n });\n\n if (this.show) {\n this.attachPortal();\n }\n }\n\n ngOnDestroy(): void {\n clearTimeout(this.updatePositionTimeout);\n this.detachPortal();\n }\n\n togglePopover(e: Event) {\n e.preventDefault();\n if (this.show) {\n this.closePopover(e);\n } else {\n this.showPopover(e);\n }\n }\n\n private focusContent(): void {\n if (!this.bodyComponent()) return;\n const contentEl = this.bodyComponent()!.elementRef.nativeElement;\n const wrapper = contentEl.querySelector('.ids-popover-content__content-wrapper') as HTMLElement | null;\n if (wrapper) {\n wrapper.focus({ preventScroll: true });\n }\n }\n \n showPopover(event: Event):void {\n this.opener = true;\n this.openedViaTrigger = true;\n this.categoryCollection.requestClose(this.category);\n this.show = true;\n this.showChange.emit(this.show);\n this.attachPortal();\n this.opened.emit(event);\n }\n\n closePopover(event: Event):void {\n this.detachPortal();\n this.show = false;\n this.showChange.emit(this.show);\n this.closed.emit(event);\n this.focusTriggerContent();\n }\n\n private focusTriggerContent(): void {\n const trigger = this.triggerEl()?.nativeElement;\n if (!trigger) return;\n const focusable = trigger.querySelector<HTMLElement>('button, a[href], [tabindex]:not([tabindex=\"-1\"]), input, select, textarea');\n if (focusable) {\n focusable.focus();\n }\n }\n\n private attachPortal(): void {\n if (this.isAttached || !this.bodyComponent()) return;\n this.isAttached = true;\n\n const contentEl = this.bodyComponent()!.elementRef.nativeElement;\n contentEl.style.display = '';\n contentEl.style.opacity = '0';\n\n const outletEl = this.document.createElement('div');\n this.document.body.appendChild(outletEl);\n this.portalOutlet = new DomPortalOutlet(outletEl, undefined, this.appRef, undefined, this.document);\n this.portalOutlet.attach(new DomPortal(this.bodyComponent()!.elementRef));\n\n clearTimeout(this.updatePositionTimeout);\n this.updatePositionTimeout = setTimeout(() => {\n requestAnimationFrame(() => {\n this.applyPortalPosition();\n contentEl.style.opacity = '';\n if (this.openedViaTrigger) {\n this.focusContent();\n this.openedViaTrigger = false;\n }\n });\n }, 100);\n\n this.win.addEventListener('resize', this.resizeHandler);\n }\n\n private detachPortal(): void {\n if (!this.isAttached) return;\n this.isAttached = false;\n\n this.win.removeEventListener('resize', this.resizeHandler);\n\n if (this.portalOutlet) {\n this.portalOutlet.dispose();\n this.portalOutlet = null;\n }\n\n if (this.bodyComponent()) {\n this.bodyComponent()!.elementRef.nativeElement.style.cssText = 'display:none';\n }\n }\n\n private calculatePosition(triggerRect: DOMRect, contentRect: DOMRect): { top: number; left: number } {\n const offset = this.GAP + this.CARET_SIZE;\n const pos = this.position;\n const centerY = triggerRect.top + triggerRect.height / 2 - contentRect.height / 2;\n const centerX = triggerRect.left + triggerRect.width / 2 - contentRect.width / 2;\n\n let top: number;\n if (pos.startsWith('top')) top = triggerRect.top - contentRect.height - offset;\n else if (pos.startsWith('bottom')) top = triggerRect.bottom + offset;\n else if (pos.endsWith('-top')) top = triggerRect.bottom - contentRect.height;\n else if (pos.endsWith('-bottom')) top = triggerRect.top;\n else top = centerY;\n\n let left: number;\n if (pos.startsWith('left')) left = triggerRect.left - contentRect.width - offset;\n else if (pos.startsWith('right')) left = triggerRect.right + offset;\n else if (pos.endsWith('-left')) left = triggerRect.left;\n else if (pos.endsWith('-right')) left = triggerRect.right - contentRect.width;\n else left = centerX;\n\n return { top, left };\n }\n\n private applyPortalPosition(): void {\n if (!this.bodyComponent() || !this.triggerEl()) return;\n\n const triggerRect = this.triggerEl()!.nativeElement.getBoundingClientRect();\n const contentEl = this.bodyComponent()!.elementRef.nativeElement;\n const { top, left } = this.calculatePosition(triggerRect, contentEl.getBoundingClientRect());\n const window = this.win;\n\n Object.assign(contentEl.style, {\n position: 'absolute',\n top: `${top + window.scrollY}px`,\n left: `${left + window.scrollX}px`,\n bottom: 'auto', right: 'auto', transform: 'none', zIndex: '9999',\n });\n }\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-popover-header',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-popover-content__headline'\n }\n})\nexport class IDPopoverHeaderComponent {}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-popover-trigger',\n standalone: true,\n template: `<ng-content></ng-content>`,\n})\nexport class IDPopoverTriggerComponent {}","import { NgModule } from '@angular/core';\n\nimport { IDPopoverComponent } from './popover.component';\nimport { IDPopoverHeaderComponent } from './popover-header.component';\nimport { IDPopoverContentComponent } from './popover-content.component';\nimport { IDPopoverTriggerComponent } from './popover-trigger.component';\nimport { IDPopoverCloseComponent } from './popover-close.component';\n\n\n@NgModule({\n imports: [\n IDPopoverComponent,\n IDPopoverHeaderComponent,\n IDPopoverContentComponent,\n IDPopoverTriggerComponent,\n IDPopoverCloseComponent\n ],\n exports: [\n IDPopoverComponent,\n IDPopoverHeaderComponent,\n IDPopoverContentComponent,\n IDPopoverTriggerComponent,\n IDPopoverCloseComponent\n ],\n})\nexport class IDPopoverModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAOa,uBAAuB,CAAA;AACxB,IAAA,OAAO,GAAG,IAAI,YAAY,EAAS;AAG7C,IAAA,OAAO,GAAG,CAAC,CAAO,KAAI;AACpB,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACtB,IAAA,CAAC;wGANU,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,4JAFxB,CAAA,yBAAA,CAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAE1B,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA,yBAAA,CAA2B;AACtC,iBAAA;8BAEW,OAAO,EAAA,CAAA;sBAAhB;gBAGD,OAAO,EAAA,CAAA;sBADN,YAAY;uBAAC,OAAO;;;MC6DV,yBAAyB,CAAA;AAC7B,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAGtC,IAAA,aAAa,GAAwB,IAAI,YAAY,EAAS;IAE9D,QAAQ,GAAG,QAAQ;I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AAA,IAAA,EAAA,eAAe,YAZxB,yBAAyB,CAAA,EAAA,CAAA;;4FAYhB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAhB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,wBAAwB;wBACxB,yBAAyB;wBACzB,yBAAyB;wBACzB;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,wBAAwB;wBACxB,yBAAyB;wBACzB,yBAAyB;wBACzB;AACD,qBAAA;AACF,iBAAA;;;ACxBD;;AAEG;;;;"}
@@ -6,10 +6,10 @@ class IDProgressbarComponent {
6
6
  hideLabel = false;
7
7
  srLabel = "";
8
8
  label = "";
9
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDProgressbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDProgressbarComponent, isStandalone: true, selector: "id-progressbar", inputs: { value: "value", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], srLabel: "srLabel", label: "label" }, ngImport: i0, template: "<div class=\"ids-progressbar\">\n @if(label && !hideLabel) {\n <div class=\"ids-progressbar__label\">{{this.label}} {{this.value}}%</div> \n } @else if(!hideLabel) {\n <div class=\"ids-progressbar__label\">{{this.value}}%</div>\n }\n <div\n class=\"ids-progressbar__bar\"\n role=\"progressbar\"\n [attr.aria-label]=\"srLabel\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"value\">\n <div\n [class.ids-progressbar__progress]=\"value > 0\"\n [class.ids-progressbar__progress--none]=\"value == 0\"\n [style.width]=\"'calc(' + value + '% + 0.125rem)'\"></div>\n </div>\n</div>" });
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDProgressbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDProgressbarComponent, isStandalone: true, selector: "id-progressbar", inputs: { value: "value", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], srLabel: "srLabel", label: "label" }, ngImport: i0, template: "<div class=\"ids-progressbar\">\n @if(label && !hideLabel) {\n <div class=\"ids-progressbar__label\">{{this.label}} {{this.value}}%</div> \n } @else if(!hideLabel) {\n <div class=\"ids-progressbar__label\">{{this.value}}%</div>\n }\n <div\n class=\"ids-progressbar__bar\"\n role=\"progressbar\"\n [attr.aria-label]=\"srLabel\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"value\">\n <div\n [class.ids-progressbar__progress]=\"value > 0\"\n [class.ids-progressbar__progress--none]=\"value == 0\"\n [style.width]=\"'calc(' + value + '% + 0.125rem)'\"></div>\n </div>\n</div>" });
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDProgressbarComponent, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDProgressbarComponent, decorators: [{
13
13
  type: Component,
14
14
  args: [{ selector: "id-progressbar", standalone: true, template: "<div class=\"ids-progressbar\">\n @if(label && !hideLabel) {\n <div class=\"ids-progressbar__label\">{{this.label}} {{this.value}}%</div> \n } @else if(!hideLabel) {\n <div class=\"ids-progressbar__label\">{{this.value}}%</div>\n }\n <div\n class=\"ids-progressbar__bar\"\n role=\"progressbar\"\n [attr.aria-label]=\"srLabel\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"value\">\n <div\n [class.ids-progressbar__progress]=\"value > 0\"\n [class.ids-progressbar__progress--none]=\"value == 0\"\n [style.width]=\"'calc(' + value + '% + 0.125rem)'\"></div>\n </div>\n</div>" }]
15
15
  }], propDecorators: { value: [{
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, TemplateRef, booleanAttribute, ViewChild, Output, Input, Component, ContentChildren, NgModule } from '@angular/core';
2
+ import { EventEmitter, viewChild, TemplateRef, booleanAttribute, Output, Input, Component, contentChildren, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
 
@@ -8,9 +8,9 @@ class IDPuffListItemComponent {
8
8
  interactive;
9
9
  href;
10
10
  clicked = new EventEmitter();
11
- template;
12
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDPuffListItemComponent, isStandalone: true, selector: "id-puff-list-item", inputs: { lean: ["lean", "lean", booleanAttribute], interactive: "interactive", href: "href" }, outputs: { clicked: "clicked" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
11
+ template = viewChild.required(TemplateRef);
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDPuffListItemComponent, isStandalone: true, selector: "id-puff-list-item", inputs: { lean: ["lean", "lean", booleanAttribute], interactive: "interactive", href: "href" }, outputs: { clicked: "clicked" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: `
14
14
  <ng-template>
15
15
  <ng-template #header><ng-content></ng-content></ng-template>
16
16
  <ng-template #content>
@@ -27,7 +27,7 @@ class IDPuffListItemComponent {
27
27
  [attr.href]="href ? href : null"
28
28
  (click)="clicked.emit($event)"
29
29
  [attr.tabindex]="href ? null : 0"
30
- [ariaLabel]="interactive"
30
+ [attr.aria-label]="interactive"
31
31
  >
32
32
  <div class="ids-puff-list-item__inner">
33
33
  <ng-container>
@@ -81,7 +81,7 @@ class IDPuffListItemComponent {
81
81
  </ng-template>
82
82
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemComponent, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemComponent, decorators: [{
85
85
  type: Component,
86
86
  args: [{
87
87
  selector: 'id-puff-list-item',
@@ -102,7 +102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
102
102
  [attr.href]="href ? href : null"
103
103
  (click)="clicked.emit($event)"
104
104
  [attr.tabindex]="href ? null : 0"
105
- [ariaLabel]="interactive"
105
+ [attr.aria-label]="interactive"
106
106
  >
107
107
  <div class="ids-puff-list-item__inner">
108
108
  <ng-container>
@@ -167,62 +167,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
167
167
  type: Input
168
168
  }], clicked: [{
169
169
  type: Output
170
- }], template: [{
171
- type: ViewChild,
172
- args: [TemplateRef]
173
170
  }] } });
174
171
 
175
172
  class IDPuffListComponent {
176
- listItems;
177
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
178
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDPuffListComponent, isStandalone: true, selector: "id-puff-list", queries: [{ propertyName: "listItems", predicate: IDPuffListItemComponent, descendants: true }], ngImport: i0, template: `
179
- @if (listItems.length > 1) {
173
+ listItems = contentChildren(IDPuffListItemComponent, { descendants: true });
174
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
175
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IDPuffListComponent, isStandalone: true, selector: "id-puff-list", queries: [{ propertyName: "listItems", predicate: IDPuffListItemComponent, descendants: true, isSignal: true }], ngImport: i0, template: `
176
+ @if (listItems().length > 1) {
180
177
  <ul class="ids-puff-list">
181
- <li *ngFor="let item of listItems"
178
+ <li *ngFor="let item of listItems()"
182
179
  class="ids-puff-list-item"
183
180
  [class.ids-puff-list-item--interactive]="item.interactive"
184
181
  [class.ids-puff-list-item--lean]="item.lean">
185
- <ng-template [ngTemplateOutlet]="item.template"></ng-template>
182
+ <ng-template [ngTemplateOutlet]="item.template()"></ng-template>
186
183
  </li>
187
184
  </ul>
188
185
  } @else {
189
186
  <div class="ids-puff-list-item">
190
- <ng-template [ngTemplateOutlet]="listItems.first.template"></ng-template>
187
+ <ng-template [ngTemplateOutlet]="listItems()[0].template()"></ng-template>
191
188
  </div>
192
189
  }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
193
190
  }
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListComponent, decorators: [{
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListComponent, decorators: [{
195
192
  type: Component,
196
193
  args: [{
197
194
  selector: 'id-puff-list',
198
195
  template: `
199
- @if (listItems.length > 1) {
196
+ @if (listItems().length > 1) {
200
197
  <ul class="ids-puff-list">
201
- <li *ngFor="let item of listItems"
198
+ <li *ngFor="let item of listItems()"
202
199
  class="ids-puff-list-item"
203
200
  [class.ids-puff-list-item--interactive]="item.interactive"
204
201
  [class.ids-puff-list-item--lean]="item.lean">
205
- <ng-template [ngTemplateOutlet]="item.template"></ng-template>
202
+ <ng-template [ngTemplateOutlet]="item.template()"></ng-template>
206
203
  </li>
207
204
  </ul>
208
205
  } @else {
209
206
  <div class="ids-puff-list-item">
210
- <ng-template [ngTemplateOutlet]="listItems.first.template"></ng-template>
207
+ <ng-template [ngTemplateOutlet]="listItems()[0].template()"></ng-template>
211
208
  </div>
212
209
  }`,
213
210
  standalone: true,
214
211
  imports: [CommonModule]
215
212
  }]
216
- }], propDecorators: { listItems: [{
217
- type: ContentChildren,
218
- args: [IDPuffListItemComponent, { descendants: true }]
219
- }] } });
213
+ }] });
220
214
 
221
215
  class IDPuffListItemHeaderComponent {
222
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
223
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDPuffListItemHeaderComponent, isStandalone: true, selector: "id-puff-list-item-header", host: { classAttribute: "ids-puff-list-item-header" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
216
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
217
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: IDPuffListItemHeaderComponent, isStandalone: true, selector: "id-puff-list-item-header", host: { classAttribute: "ids-puff-list-item-header" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
224
218
  }
225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemHeaderComponent, decorators: [{
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemHeaderComponent, decorators: [{
226
220
  type: Component,
227
221
  args: [{
228
222
  selector: "id-puff-list-item-header",
@@ -235,10 +229,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
235
229
  }] });
236
230
 
237
231
  class IDPuffListItemContentComponent {
238
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
239
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDPuffListItemContentComponent, isStandalone: true, selector: "id-puff-list-item-content", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
232
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
233
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: IDPuffListItemContentComponent, isStandalone: true, selector: "id-puff-list-item-content", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
240
234
  }
241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemContentComponent, decorators: [{
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemContentComponent, decorators: [{
242
236
  type: Component,
243
237
  args: [{
244
238
  selector: "id-puff-list-item-content",
@@ -248,10 +242,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
248
242
  }] });
249
243
 
250
244
  class IDPuffListItemExtraContentComponent {
251
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemExtraContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
252
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDPuffListItemExtraContentComponent, isStandalone: true, selector: "id-puff-list-item-extra-content", host: { classAttribute: "ids-puff-list-item__extra-content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
245
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemExtraContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
246
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: IDPuffListItemExtraContentComponent, isStandalone: true, selector: "id-puff-list-item-extra-content", host: { classAttribute: "ids-puff-list-item__extra-content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
253
247
  }
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemExtraContentComponent, decorators: [{
248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemExtraContentComponent, decorators: [{
255
249
  type: Component,
256
250
  args: [{
257
251
  selector: "id-puff-list-item-extra-content",
@@ -265,12 +259,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
265
259
 
266
260
  class IDPuffListItemContentInfoComponent {
267
261
  bottom = false;
268
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemContentInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
269
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.20", type: IDPuffListItemContentInfoComponent, isStandalone: true, selector: "id-puff-list-item-content-info", inputs: { bottom: ["bottom", "bottom", booleanAttribute] }, host: { properties: { "class.ids-puff-list-item__info--bottom": "bottom" }, classAttribute: "ids-puff-list-item__info" }, ngImport: i0, template: `
262
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemContentInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
263
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.25", type: IDPuffListItemContentInfoComponent, isStandalone: true, selector: "id-puff-list-item-content-info", inputs: { bottom: ["bottom", "bottom", booleanAttribute] }, host: { properties: { "class.ids-puff-list-item__info--bottom": "bottom" }, classAttribute: "ids-puff-list-item__info" }, ngImport: i0, template: `
270
264
  <ng-content></ng-content>
271
265
  `, isInline: true });
272
266
  }
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemContentInfoComponent, decorators: [{
267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemContentInfoComponent, decorators: [{
274
268
  type: Component,
275
269
  args: [{
276
270
  selector: 'id-puff-list-item-content-info',
@@ -289,10 +283,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
289
283
  }] } });
290
284
 
291
285
  class IDPuffListItemDateLabelComponent {
292
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemDateLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
293
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDPuffListItemDateLabelComponent, isStandalone: true, selector: "id-puff-list-item-date-label", host: { classAttribute: "ids-puff-list-item__date" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
286
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemDateLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
287
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: IDPuffListItemDateLabelComponent, isStandalone: true, selector: "id-puff-list-item-date-label", host: { classAttribute: "ids-puff-list-item__date" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
294
288
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListItemDateLabelComponent, decorators: [{
289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListItemDateLabelComponent, decorators: [{
296
290
  type: Component,
297
291
  args: [{
298
292
  selector: "id-puff-list-item-date-label",
@@ -305,8 +299,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
305
299
  }] });
306
300
 
307
301
  class IDPuffListModule {
308
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
309
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListModule, imports: [IDPuffListComponent,
302
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
303
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListModule, imports: [IDPuffListComponent,
310
304
  IDPuffListItemComponent,
311
305
  IDPuffListItemHeaderComponent,
312
306
  IDPuffListItemContentComponent,
@@ -319,10 +313,10 @@ class IDPuffListModule {
319
313
  IDPuffListItemExtraContentComponent,
320
314
  IDPuffListItemContentInfoComponent,
321
315
  IDPuffListItemDateLabelComponent] });
322
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListModule, imports: [IDPuffListComponent,
316
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListModule, imports: [IDPuffListComponent,
323
317
  IDPuffListItemComponent] });
324
318
  }
325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDPuffListModule, decorators: [{
319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDPuffListModule, decorators: [{
326
320
  type: NgModule,
327
321
  args: [{
328
322
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"inera-ids-angular-components-puff-list.mjs","sources":["../../../projects/ids-angular/components/puff-list/puff-list-item.component.ts","../../../projects/ids-angular/components/puff-list/puff-list.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-header.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-content.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-extra-content.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-content-info.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-date-label.component.ts","../../../projects/ids-angular/components/puff-list/puff-list.module.ts","../../../projects/ids-angular/components/puff-list/inera-ids-angular-components-puff-list.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n EventEmitter,\n Input,\n Output,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\n\n@Component({\n selector: 'id-puff-list-item',\n template: `\n <ng-template>\n <ng-template #header><ng-content></ng-content></ng-template>\n <ng-template #content>\n <ng-content select=\"id-puff-list-item-content\"></ng-content>\n </ng-template>\n <ng-template #extraContent>\n <ng-content select=\"id-puff-list-item-extra-content\"></ng-content>\n </ng-template>\n <ng-template #dateLabel><ng-content select=\"id-date-label\"></ng-content></ng-template>\n <ng-template #puffListDateLabel><ng-content select=\"id-date-label\"></ng-content></ng-template>\n @if (interactive) {\n <a\n class=\"ids-puff-list-item__item-link\"\n [attr.href]=\"href ? href : null\"\n (click)=\"clicked.emit($event)\"\n [attr.tabindex]=\"href ? null : 0\"\n [ariaLabel]=\"interactive\"\n >\n <div class=\"ids-puff-list-item__inner\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"dateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__content-wrapper\">\n <div class=\"ids-puff-list-item__content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"puffListDateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__body\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"header\" />\n <ng-template [ngTemplateOutlet]=\"content\" />\n </ng-container>\n </div>\n </div>\n <div class=\"ids-puff-list-item__extra-content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"extraContent\" />\n </ng-container>\n </div>\n </div>\n </div>\n </a>\n } @else {\n <div class=\"ids-puff-list-item__inner\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"dateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__content-wrapper\">\n <div class=\"ids-puff-list-item__content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"puffListDateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__body\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"header\" />\n <ng-template [ngTemplateOutlet]=\"content\" />\n </ng-container>\n </div>\n </div>\n <div class=\"ids-puff-list-item__extra-content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"extraContent\" />\n </ng-container>\n </div>\n </div>\n </div>\n }\n </ng-template>\n `,\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDPuffListItemComponent {\n @Input({ transform: booleanAttribute }) lean: boolean;\n @Input() interactive: string;\n @Input() href: string;\n @Output() clicked = new EventEmitter<Event>();\n\n @ViewChild(TemplateRef) template: TemplateRef<any>;\n}\n","import { Component, ContentChildren, QueryList } from '@angular/core';\nimport {IDPuffListItemComponent} from './puff-list-item.component';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'id-puff-list',\n template: `\n @if (listItems.length > 1) {\n <ul class=\"ids-puff-list\">\n <li *ngFor=\"let item of listItems\" \n class=\"ids-puff-list-item\"\n [class.ids-puff-list-item--interactive]=\"item.interactive\"\n [class.ids-puff-list-item--lean]=\"item.lean\">\n <ng-template [ngTemplateOutlet]=\"item.template\"></ng-template>\n </li>\n </ul>\n } @else {\n <div class=\"ids-puff-list-item\">\n <ng-template [ngTemplateOutlet]=\"listItems.first.template\"></ng-template>\n </div>\n }`,\n standalone:true,\n imports: [CommonModule]\n})\nexport class IDPuffListComponent {\n\n @ContentChildren(IDPuffListItemComponent, { descendants: true })\n listItems!: QueryList<IDPuffListItemComponent>;\n\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-header\",\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-puff-list-item-header'\n },\n standalone: true\n})\nexport class IDPuffListItemHeaderComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-content\",\n template: `<ng-content></ng-content>`,\n standalone: true\n})\nexport class IDPuffListItemContentComponent {}\n","\nimport { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-extra-content\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-puff-list-item__extra-content'\n }\n})\nexport class IDPuffListItemExtraContentComponent {}\n","import { Component, booleanAttribute, Input } from '@angular/core';\n\n@Component({\n selector: 'id-puff-list-item-content-info',\n template: `\n <ng-content></ng-content>\n `,\n host: {\n class: 'ids-puff-list-item__info',\n '[class.ids-puff-list-item__info--bottom]': 'bottom',\n },\n standalone: true,\n})\nexport class IDPuffListItemContentInfoComponent {\n @Input({ transform: booleanAttribute }) bottom: boolean = false;\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-date-label\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-puff-list-item__date'\n }\n})\nexport class IDPuffListItemDateLabelComponent {}\n","import { NgModule } from \"@angular/core\";\n\nimport { IDPuffListComponent } from \"./puff-list.component\";\nimport { IDPuffListItemComponent } from \"./puff-list-item.component\";\nimport { IDPuffListItemHeaderComponent } from \"./puff-list-item-header.component\";\nimport { IDPuffListItemContentComponent } from \"./puff-list-item-content.component\";\nimport { IDPuffListItemExtraContentComponent } from \"./puff-list-item-extra-content.component\";\nimport { IDPuffListItemContentInfoComponent } from \"./puff-list-item-content-info.component\";\nimport { IDPuffListItemDateLabelComponent } from \"./puff-list-item-date-label.component\";\n\n@NgModule({\n imports: [\n IDPuffListComponent,\n IDPuffListItemComponent,\n IDPuffListItemHeaderComponent,\n IDPuffListItemContentComponent,\n IDPuffListItemExtraContentComponent,\n IDPuffListItemContentInfoComponent,\n IDPuffListItemDateLabelComponent,\n ],\n exports: [\n IDPuffListComponent,\n IDPuffListItemComponent,\n IDPuffListItemHeaderComponent,\n IDPuffListItemContentComponent,\n IDPuffListItemExtraContentComponent,\n IDPuffListItemContentInfoComponent,\n IDPuffListItemDateLabelComponent,\n ],\n})\nexport class IDPuffListModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAsFa,uBAAuB,CAAA;AACM,IAAA,IAAI;AACnC,IAAA,WAAW;AACX,IAAA,IAAI;AACH,IAAA,OAAO,GAAG,IAAI,YAAY,EAAS;AAErB,IAAA,QAAQ;wGANrB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAvB,IAAA,OAAA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6BAA6B;YAC7B,8BAA8B;YAC9B,mCAAmC;YACnC,kCAAkC;AAClC,YAAA,gCAAgC,aAGhC,mBAAmB;YACnB,uBAAuB;YACvB,6BAA6B;YAC7B,8BAA8B;YAC9B,mCAAmC;YACnC,kCAAkC;YAClC,gCAAgC,CAAA,EAAA,CAAA;AAGvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAlBzB,mBAAmB;YACnB,uBAAuB,CAAA,EAAA,CAAA;;4FAiBd,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBApB5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,uBAAuB;wBACvB,6BAA6B;wBAC7B,8BAA8B;wBAC9B,mCAAmC;wBACnC,kCAAkC;wBAClC,gCAAgC;AACjC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,uBAAuB;wBACvB,6BAA6B;wBAC7B,8BAA8B;wBAC9B,mCAAmC;wBACnC,kCAAkC;wBAClC,gCAAgC;AACjC,qBAAA;AACF,iBAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"inera-ids-angular-components-puff-list.mjs","sources":["../../../projects/ids-angular/components/puff-list/puff-list-item.component.ts","../../../projects/ids-angular/components/puff-list/puff-list.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-header.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-content.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-extra-content.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-content-info.component.ts","../../../projects/ids-angular/components/puff-list/puff-list-item-date-label.component.ts","../../../projects/ids-angular/components/puff-list/puff-list.module.ts","../../../projects/ids-angular/components/puff-list/inera-ids-angular-components-puff-list.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n EventEmitter,\n Input,\n Output,\n TemplateRef,\n viewChild,\n} from '@angular/core';\n\n@Component({\n selector: 'id-puff-list-item',\n template: `\n <ng-template>\n <ng-template #header><ng-content></ng-content></ng-template>\n <ng-template #content>\n <ng-content select=\"id-puff-list-item-content\"></ng-content>\n </ng-template>\n <ng-template #extraContent>\n <ng-content select=\"id-puff-list-item-extra-content\"></ng-content>\n </ng-template>\n <ng-template #dateLabel><ng-content select=\"id-date-label\"></ng-content></ng-template>\n <ng-template #puffListDateLabel><ng-content select=\"id-date-label\"></ng-content></ng-template>\n @if (interactive) {\n <a\n class=\"ids-puff-list-item__item-link\"\n [attr.href]=\"href ? href : null\"\n (click)=\"clicked.emit($event)\"\n [attr.tabindex]=\"href ? null : 0\"\n [attr.aria-label]=\"interactive\"\n >\n <div class=\"ids-puff-list-item__inner\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"dateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__content-wrapper\">\n <div class=\"ids-puff-list-item__content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"puffListDateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__body\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"header\" />\n <ng-template [ngTemplateOutlet]=\"content\" />\n </ng-container>\n </div>\n </div>\n <div class=\"ids-puff-list-item__extra-content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"extraContent\" />\n </ng-container>\n </div>\n </div>\n </div>\n </a>\n } @else {\n <div class=\"ids-puff-list-item__inner\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"dateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__content-wrapper\">\n <div class=\"ids-puff-list-item__content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"puffListDateLabel\" />\n </ng-container>\n <div class=\"ids-puff-list-item__body\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"header\" />\n <ng-template [ngTemplateOutlet]=\"content\" />\n </ng-container>\n </div>\n </div>\n <div class=\"ids-puff-list-item__extra-content\">\n <ng-container>\n <ng-template [ngTemplateOutlet]=\"extraContent\" />\n </ng-container>\n </div>\n </div>\n </div>\n }\n </ng-template>\n `,\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDPuffListItemComponent {\n @Input({ transform: booleanAttribute }) lean: boolean;\n @Input() interactive: string;\n @Input() href: string;\n @Output() clicked = new EventEmitter<Event>();\n\n template = viewChild.required(TemplateRef);\n}\n","import { Component, contentChildren } from '@angular/core';\nimport {IDPuffListItemComponent} from './puff-list-item.component';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'id-puff-list',\n template: `\n @if (listItems().length > 1) {\n <ul class=\"ids-puff-list\">\n <li *ngFor=\"let item of listItems()\" \n class=\"ids-puff-list-item\"\n [class.ids-puff-list-item--interactive]=\"item.interactive\"\n [class.ids-puff-list-item--lean]=\"item.lean\">\n <ng-template [ngTemplateOutlet]=\"item.template()\"></ng-template>\n </li>\n </ul>\n } @else {\n <div class=\"ids-puff-list-item\">\n <ng-template [ngTemplateOutlet]=\"listItems()[0].template()\"></ng-template>\n </div>\n }`,\n standalone:true,\n imports: [CommonModule]\n})\nexport class IDPuffListComponent {\n\n listItems = contentChildren(IDPuffListItemComponent, { descendants: true });\n\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-header\",\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-puff-list-item-header'\n },\n standalone: true\n})\nexport class IDPuffListItemHeaderComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-content\",\n template: `<ng-content></ng-content>`,\n standalone: true\n})\nexport class IDPuffListItemContentComponent {}\n","\nimport { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-extra-content\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-puff-list-item__extra-content'\n }\n})\nexport class IDPuffListItemExtraContentComponent {}\n","import { Component, booleanAttribute, Input } from '@angular/core';\n\n@Component({\n selector: 'id-puff-list-item-content-info',\n template: `\n <ng-content></ng-content>\n `,\n host: {\n class: 'ids-puff-list-item__info',\n '[class.ids-puff-list-item__info--bottom]': 'bottom',\n },\n standalone: true,\n})\nexport class IDPuffListItemContentInfoComponent {\n @Input({ transform: booleanAttribute }) bottom: boolean = false;\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-puff-list-item-date-label\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-puff-list-item__date'\n }\n})\nexport class IDPuffListItemDateLabelComponent {}\n","import { NgModule } from \"@angular/core\";\n\nimport { IDPuffListComponent } from \"./puff-list.component\";\nimport { IDPuffListItemComponent } from \"./puff-list-item.component\";\nimport { IDPuffListItemHeaderComponent } from \"./puff-list-item-header.component\";\nimport { IDPuffListItemContentComponent } from \"./puff-list-item-content.component\";\nimport { IDPuffListItemExtraContentComponent } from \"./puff-list-item-extra-content.component\";\nimport { IDPuffListItemContentInfoComponent } from \"./puff-list-item-content-info.component\";\nimport { IDPuffListItemDateLabelComponent } from \"./puff-list-item-date-label.component\";\n\n@NgModule({\n imports: [\n IDPuffListComponent,\n IDPuffListItemComponent,\n IDPuffListItemHeaderComponent,\n IDPuffListItemContentComponent,\n IDPuffListItemExtraContentComponent,\n IDPuffListItemContentInfoComponent,\n IDPuffListItemDateLabelComponent,\n ],\n exports: [\n IDPuffListComponent,\n IDPuffListItemComponent,\n IDPuffListItemHeaderComponent,\n IDPuffListItemContentComponent,\n IDPuffListItemExtraContentComponent,\n IDPuffListItemContentInfoComponent,\n IDPuffListItemDateLabelComponent,\n ],\n})\nexport class IDPuffListModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAsFa,uBAAuB,CAAA;AACM,IAAA,IAAI;AACnC,IAAA,WAAW;AACX,IAAA,IAAI;AACH,IAAA,OA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,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAlBzB,mBAAmB;YACnB,uBAAuB;YACvB,6BAA6B;YAC7B,8BAA8B;YAC9B,mCAAmC;YACnC,kCAAkC;AAClC,YAAA,gCAAgC,aAGhC,mBAAmB;YACnB,uBAAuB;YACvB,6BAA6B;YAC7B,8BAA8B;YAC9B,mCAAmC;YACnC,kCAAkC;YAClC,gCAAgC,CAAA,EAAA,CAAA;AAGvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAlBzB,mBAAmB;YACnB,uBAAuB,CAAA,EAAA,CAAA;;4FAiBd,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBApB5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,uBAAuB;wBACvB,6BAA6B;wBAC7B,8BAA8B;wBAC9B,mCAAmC;wBACnC,kCAAkC;wBAClC,gCAAgC;AACjC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,uBAAuB;wBACvB,6BAA6B;wBAC7B,8BAA8B;wBAC9B,mCAAmC;wBACnC,kCAAkC;wBAClC,gCAAgC;AACjC,qBAAA;AACF,iBAAA;;;AC7BD;;AAEG;;;;"}
@@ -21,10 +21,10 @@ class IDRegionIconComponent {
21
21
  classes.push(getStateClass('inline'));
22
22
  return classes.join(' ');
23
23
  }
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDRegionIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.20", type: IDRegionIconComponent, isStandalone: true, selector: "id-region-icon", inputs: { name: "name", title: "title", colorPreset: "colorPreset", size: "size", inline: ["inline", "inline", booleanAttribute], light: ["light", "light", booleanAttribute] }, host: { properties: { "class": "hostClasses" } }, ngImport: i0, template: ``, isInline: true });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDRegionIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.25", type: IDRegionIconComponent, isStandalone: true, selector: "id-region-icon", inputs: { name: "name", title: "title", colorPreset: "colorPreset", size: "size", inline: ["inline", "inline", booleanAttribute], light: ["light", "light", booleanAttribute] }, host: { properties: { "class": "hostClasses" } }, ngImport: i0, template: ``, isInline: true });
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDRegionIconComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IDRegionIconComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{
30
30
  selector: "id-region-icon",