@ids-group-ltd/ids-design-system 0.14.4 → 0.14.5

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 (329) hide show
  1. package/CHANGELOG.md +160 -0
  2. package/components.md +14 -14
  3. package/docs/agent/INDEX.md +1 -1
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +1 -1
  7. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  8. package/docs/agent/charts/ds-heatmap-chart.md +1 -1
  9. package/docs/agent/charts/ds-line-chart.md +1 -1
  10. package/docs/agent/charts/ds-pie-chart.md +3 -3
  11. package/docs/agent/charts/ds-scatter-chart.md +1 -1
  12. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  13. package/docs/agent/navigation/ds-breadcrumbs.md +1 -1
  14. package/docs/agent/overlays/ds-tooltip.md +2 -2
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -6
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -3
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +58 -163
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +21 -34
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +34 -105
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +3 -3
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +22 -48
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +7 -7
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -10
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +28 -130
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +11 -29
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +10 -28
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +16 -13
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +3 -3
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +42 -69
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +15 -20
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +6 -7
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +3 -10
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +12 -28
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +58 -112
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +182 -432
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +8 -12
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -22
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -123
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +45 -116
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +4 -6
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -16
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +7 -8
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +3 -3
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +16 -45
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +10 -14
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +19 -41
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +48 -163
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +27 -85
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +17 -25
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +21 -41
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +3 -6
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +50 -166
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +7 -7
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +6 -11
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +19 -36
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +30 -57
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +37 -103
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -6
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +9 -15
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +8 -12
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +9 -24
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +32 -120
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +14 -24
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +15 -24
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +9 -16
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +27 -91
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +16 -41
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +8 -11
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +18 -52
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -7
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +30 -49
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +8 -12
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -7
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +29 -13
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +3 -3
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +8 -9
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +5 -20
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +4 -4
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +3 -3
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +5 -9
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +11 -23
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +7 -16
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +9 -43
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +167 -353
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +33 -86
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +7 -7
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -47
  166. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  167. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +21 -49
  168. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  169. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
  170. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  171. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +35 -63
  172. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  173. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -3
  174. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  175. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +38 -50
  176. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  177. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  178. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  179. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +3 -5
  180. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  181. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +3 -3
  182. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  183. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +28 -85
  184. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  185. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +325 -579
  186. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  187. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +51 -85
  188. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  189. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -21
  190. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  191. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +4 -13
  192. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
  193. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +1 -2
  194. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
  195. package/migrations/0.14.5.json +311 -0
  196. package/package.json +1 -1
  197. package/schematics/check-overrides/surface.json +17 -2
  198. package/styles/_breakpoints.scss +6 -23
  199. package/styles/_chart-data-table.scss +3 -11
  200. package/styles/_chart-frame.scss +14 -63
  201. package/styles/_chart-interactive.scss +8 -36
  202. package/styles/_chart-motion.scss +11 -39
  203. package/styles/_check-box.scss +7 -26
  204. package/styles/_check-mark.scss +7 -23
  205. package/styles/_chip-row.scss +3 -14
  206. package/styles/_clear-button.scss +2 -7
  207. package/styles/_control-label.scss +2 -13
  208. package/styles/_control-line.scss +2 -6
  209. package/styles/_dropdown-overlay.scss +8 -33
  210. package/styles/_ds-color.scss +9 -28
  211. package/styles/_field-box.scss +4 -16
  212. package/styles/_field-group-segment.scss +6 -6
  213. package/styles/_field-label.scss +3 -14
  214. package/styles/_field-state.scss +5 -10
  215. package/styles/_focus.scss +20 -60
  216. package/styles/_icon-base.scss +0 -2
  217. package/styles/_layout-utils.scss +0 -3
  218. package/styles/_link.scss +4 -18
  219. package/styles/_overlay-motion.scss +15 -38
  220. package/styles/_page-grid.scss +4 -29
  221. package/styles/_press.scss +5 -18
  222. package/styles/_reset.scss +1 -14
  223. package/styles/_scrollbar.scss +0 -2
  224. package/styles/_skeleton-shimmer.scss +3 -14
  225. package/styles/_status.scss +5 -13
  226. package/styles/_surface-motion.scss +7 -34
  227. package/styles/_table-controls.scss +3 -6
  228. package/styles/_text-clip.scss +2 -6
  229. package/styles/_theme-activation.scss +7 -20
  230. package/styles/_toast-overlay.scss +2 -6
  231. package/styles/_tokens-charts.scss +31 -90
  232. package/styles/_tokens.scss +111 -156
  233. package/styles/_typography.scss +6 -13
  234. package/styles/_visually-hidden.scss +2 -3
  235. package/styles/ds.scss +2 -10
  236. package/themes/_base-palette.scss +12 -35
  237. package/themes/_semantic.scss +29 -98
  238. package/themes/dark/_palette.scss +15 -29
  239. package/themes/dark/_theme.scss +14 -32
  240. package/themes/light/_palette.scss +2 -17
  241. package/themes/light/_theme.scss +1 -7
  242. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +2 -6
  243. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +2 -3
  244. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +45 -119
  245. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +19 -32
  246. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +29 -92
  247. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +1 -1
  248. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +23 -46
  249. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +5 -5
  250. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -8
  251. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +27 -136
  252. package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +13 -32
  253. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +6 -12
  254. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +6 -9
  255. package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +1 -1
  256. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +36 -55
  257. package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +13 -18
  258. package/types/ids-group-ltd-ids-design-system-components-card.d.ts +2 -2
  259. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -11
  260. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +10 -26
  261. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +27 -49
  262. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +161 -385
  263. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -10
  264. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +5 -14
  265. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -124
  266. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +23 -70
  267. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -3
  268. package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +3 -7
  269. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +1 -3
  270. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +6 -8
  271. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +1 -1
  272. package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +17 -50
  273. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +8 -12
  274. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +13 -28
  275. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +25 -113
  276. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +17 -85
  277. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +15 -23
  278. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +18 -37
  279. package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +3 -3
  280. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +51 -160
  281. package/types/ids-group-ltd-ids-design-system-components-list.d.ts +3 -3
  282. package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +4 -9
  283. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +13 -21
  284. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +15 -28
  285. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +27 -83
  286. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +5 -6
  287. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +5 -7
  288. package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +1 -1
  289. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -10
  290. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +8 -22
  291. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +18 -102
  292. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +7 -11
  293. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +14 -25
  294. package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +7 -12
  295. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +21 -96
  296. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +12 -33
  297. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +6 -7
  298. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +12 -41
  299. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +8 -15
  300. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +23 -40
  301. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +3 -5
  302. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +4 -4
  303. package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +14 -10
  304. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -1
  305. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +6 -7
  306. package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +2 -15
  307. package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +2 -2
  308. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +4 -6
  309. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +5 -9
  310. package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +3 -7
  311. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +4 -8
  312. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +9 -43
  313. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +160 -369
  314. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +21 -49
  315. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +5 -5
  316. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +17 -34
  317. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +17 -38
  318. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +2 -2
  319. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +20 -37
  320. package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +2 -3
  321. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +17 -36
  322. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +2 -2
  323. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +1 -1
  324. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +21 -70
  325. package/types/ids-group-ltd-ids-design-system-components.d.ts +262 -415
  326. package/types/ids-group-ltd-ids-design-system-core.d.ts +133 -260
  327. package/types/ids-group-ltd-ids-design-system-icons.d.ts +2 -24
  328. package/types/ids-group-ltd-ids-design-system-overlay.d.ts +4 -13
  329. package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -6
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-line-chart.mjs","sources":["../../../src/lib/components/line-chart/line-chart.math.ts","../../../src/lib/components/line-chart/line-chart.component.ts","../../../src/lib/components/line-chart/line-chart.component.html","../../../src/lib/components/line-chart/ids-group-ltd-ids-design-system-components-line-chart.ts"],"sourcesContent":["import type { ChartGaps } from '@ids-group-ltd/ids-design-system/core';\n\nexport type { LinePoint } from '@ids-group-ltd/ids-design-system/components';\n\nexport const LINE_CHART_DEFAULT_TICK_COUNT = 5;\n\n/** One reading per category, however long the series actually was. A series longer\n * than `categories` loses its tail and a shorter one ends early: a line that stops\n * short is a defect the reader can see, while a thrown error takes down the page\n * around it. Anything that is not a finite number is a missing reading, so `NaN`\n * and `Infinity` follow the `gaps` policy rather than reaching a coordinate. */\nexport function alignSeriesValues(\n data: readonly (number | null)[],\n categoryCount: number,\n gaps: ChartGaps,\n): (number | null)[] {\n const length =\n Number.isFinite(categoryCount) && categoryCount > 0\n ? Math.floor(categoryCount)\n : 0;\n const aligned: (number | null)[] = [];\n for (let index = 0; index < length; index++) {\n const raw = data[index];\n const reading =\n typeof raw === 'number' && Number.isFinite(raw) ? raw : null;\n aligned.push(reading === null && gaps === 'zero' ? 0 : reading);\n }\n\n return aligned;\n}\n\n/** Largest finite reading across the given series, or zero. Never negative: this\n * feeds the ceiling handed to `ds-chart`, which raises its domain and never lowers\n * it, so a negative here would pin an axis below its own data. */\nexport function domainMaxOf(\n valueGroups: readonly (readonly (number | null)[])[],\n): number {\n let max = 0;\n for (const values of valueGroups) {\n for (const value of values) {\n if (value !== null && Number.isFinite(value) && value > max) {\n max = value;\n }\n }\n }\n\n return max;\n}\n\nexport function paletteIndexFor(\n slot: number | undefined,\n index: number,\n paletteSize: number,\n): number {\n if (!Number.isFinite(paletteSize) || paletteSize < 1) {\n return 0;\n }\n const chosen =\n slot !== undefined && Number.isFinite(slot) && slot >= 1\n ? Math.floor(slot) - 1\n : index;\n\n return ((chosen % paletteSize) + paletteSize) % paletteSize;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport {\n CHART_DEFAULT_VALUE_SPACE,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n chartViewHeight,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartAnnotation,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport { formatPercent } from '@ids-group-ltd/ids-design-system/components';\nimport { stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartValueFormat,\n ChartAxisMode,\n ChartGaps,\n ChartCurve,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport { resolveChartDefaults } from '@ids-group-ltd/ids-design-system/components';\nimport type {\n ChartTooltipContext,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport {\n LINE_CHART_DEFAULT_TICK_COUNT,\n alignSeriesValues,\n domainMaxOf,\n paletteIndexFor,\n} from './line-chart.math';\n\n/** Matches `--ds-line-chart-plot-height`, for the frame before the first style read and for SSR. */\nconst DEFAULT_PLOT_HEIGHT = 240;\nimport type {\n LineChartAnnotation,\n LineChartStack,\n LineChartReading,\n LineChartSeries,\n} from './line-chart.types';\n\ninterface ResolvedSeries {\n readonly series: LineChartSeries;\n readonly values: readonly (number | null)[];\n /** Where this series' band starts on the value axis, one entry per category. `null` while the\n * chart is unstacked, where every band starts at the baseline. */\n readonly lowerValues: readonly (number | null)[] | null;\n readonly onSecondaryAxis: boolean;\n readonly color: string;\n /** `null` while `patterns` is off, which is what keeps a solid line solid. */\n readonly dash: string | null;\n}\n\n// One dash per palette slot, in the same order the colours are. Slot 1 stays solid so a\n// single-series chart is unchanged by turning patterns on.\nconst SERIES_DASH_ARRAYS = [\n 'none',\n '7 4',\n '2 3',\n '11 4 2 4',\n '1 4',\n '8 3 2 3',\n '4 2',\n '14 5',\n];\n\n@Component({\n selector: 'ds-line-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n ChartLegendComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './line-chart.component.html',\n styleUrl: './line-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_line-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }],\n})\nexport class LineChartComponent {\n protected readonly renderReady = chartRenderGate();\n\n /** X labels. Every series' `data` is read against this length. */\n readonly categories = input.required<readonly string[]>();\n\n /** One line per entry. Every series is read against `categories`, so a series longer than it\n * loses its tail and a shorter one ends early. */\n readonly series = input.required<readonly LineChartSeries[]>();\n\n /** How a secondary axis relates to the primary one. */\n readonly yAxisMode = input<ChartAxisMode>('aligned');\n\n /** Draws a dot at every reading. Off, the dots appear on hover and on focus only. */\n readonly showMarkers = input(true, { transform: booleanAttribute });\n\n /** Lays the lines and their markers on a band of the surface colour. Off where the plot holds\n * nothing for them to cross and the band only separates them from the gridlines. */\n readonly outline = input(true, { transform: booleanAttribute });\n\n /** Labels pinned over their readings, for the points that have to read without a pointer. They\n * are drawn, not announced: the data table already carries every reading, and repeating one in\n * the plot makes a screen reader say it twice. */\n readonly annotations = input<readonly LineChartAnnotation[]>([]);\n\n /** Makes every reading focusable and clickable. A series drawn without markers grows invisible\n * ones so there is something to land on; they appear on hover and on focus.\n *\n * The click output fires whether or not this is set, so a consumer that binds the output and\n * forgets the flag still receives every click. */\n readonly interactive = input(false, { transform: booleanAttribute });\n\n /** The point that was clicked, or activated with Enter or Space. Fires whether or not\n * `interactive` is set. */\n readonly pointClicked = output<LineChartReading>();\n\n /** Holds the crosshair and its tooltip on the category that was clicked, with a pin disc on it,\n * until a second click, Escape or a press outside releases it. Unset falls back to\n * `DS_CONFIG.chart.pinOnClick`, then `true`. `pointClicked` fires either way - pinning is a\n * state, not a handler. */\n readonly pinOnClick = input<boolean | null, unknown>(null, {\n transform: (value) => (value == null ? null : booleanAttribute(value)),\n });\n\n /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the\n * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed\n * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full\n * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark\n * and pays for it with the rest of the chart. */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** What a `null` reading draws. The default refuses to assert that a missing\n * reading is a zero. */\n readonly gaps = input<ChartGaps>('break');\n\n /** How the line joins its readings. `'linear'` by default, which asserts nothing the data does\n * not say; a curve is a claim about what happened BETWEEN two readings. */\n readonly curve = input<ChartCurve>('linear');\n\n /** How several series share the value axis. Stacking runs per AXIS, so a series on the secondary\n * axis never piles onto one measured against the primary. */\n readonly stack = input<LineChartStack>('none');\n\n /** Names the first axis's unit beside it. On a plot carrying two scales the colour says which\n * line reads which axis and this says what the numbers ARE - and a reader who has neither is\n * left comparing two quantities that may not be comparable at all. */\n readonly yAxisLabel = input<string | null>(null);\n\n /** `yAxisLabel` for the second axis. */\n readonly secondaryAxisLabel = input<string | null>(null);\n\n /** How many value-axis ticks to aim for. A hint, not a count: ticks snap to a round step, so\n * the axis may carry one more or one fewer. */\n readonly tickCount = input(LINE_CHART_DEFAULT_TICK_COUNT, {\n transform: numberAttribute,\n });\n\n /** Whether the chart draws its own bordered, padded box. `'auto'`, the default, draws it;\n * `'none'` leaves the chart bare, for one placed inside a card the page has already drawn.\n * Unset falls back to `DS_CONFIG.chart.frame`, then `'auto'` — whether charts live inside cards\n * is one decision per app rather than per plot. */\n readonly frame = input<ChartFrame | null>(null);\n\n /** Whether the tooltip draws a colour dot beside each reading. Unset falls back to\n * `DS_CONFIG.chart.tooltipSwatches`, then draws them for up to four readings. */\n readonly tooltipSwatches = input<boolean | null>(null, {\n transform: (value: unknown) =>\n value == null ? null : booleanAttribute(value),\n });\n\n /** How long the tooltip stays after the pointer leaves the mark, in milliseconds. The default,\n * 500, lets the pointer cross to the next mark and find the same panel, which glides there\n * instead of closing and opening again. Zero takes it away at once. Unset falls back to\n * `DS_CONFIG.chart.tooltipLingerMs`, then 500. */\n readonly tooltipLingerMs = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n /** Printed above the plot as the chart's visible title, and reused as the annex table's\n * caption. */\n readonly caption = input<string | null>(null);\n\n /** Accessible name. Generated from the data when omitted. */\n readonly summary = input<string | null>(null);\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so\n * `'none'` belongs only where the same data is already in a table on the page.\n * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Pins the value axis instead of deriving it from the data. A panel opened one subject at a\n * time — one agent, one microsite — derives a different axis for each of them, so two plots with\n * the same gentle wiggle can be four times apart in value and nothing on screen says so. A fixed\n * maximum is what makes two renders comparable.\n *\n * Null, the default, keeps the derived axis. Applies to the primary axis; `maxSecondary` pins\n * the second one where a series sets `axis: 'secondary'`. A maximum below the data does not clip\n * it — the larger of the two wins, because silently hiding a reading is worse than a taller axis\n * than you asked for. */\n readonly max = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n /** Pins the secondary value axis. See `max`. */\n readonly maxSecondary = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize\n * when the data lands. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Shown in place of the plot when `data` is empty. Unset falls back to\n * `DS_INTL.chart.empty`. */\n readonly emptyText = input<string | null>(null);\n\n /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,\n * because \"the request failed\" and \"there is nothing to show\" read the same to a reader and\n * mean opposite things. */\n readonly error = input(false, { transform: booleanAttribute });\n\n /** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */\n readonly errorText = input<string | null>(null);\n /** Formats every value the chart prints, the annex table and the generated description\n * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /\n * `LOCALE_ID`. */\n readonly valueFormat = input<ChartValueFormat | null>(null);\n\n private readonly defaults = resolveChartDefaults(this);\n protected readonly intl = inject(DS_INTL);\n readonly frameResolved = this.defaults.frame;\n readonly dataTableResolved = this.defaults.dataTable;\n readonly emptyTextResolved = this.defaults.emptyText;\n readonly errorTextResolved = this.defaults.errorText;\n readonly valueFormatResolved = this.defaults.valueFormat;\n\n protected readonly resolvedSeries = computed<readonly ResolvedSeries[]>(\n () => {\n const categoryCount = this.categories().length;\n const gaps = this.gaps();\n\n const patterns = this.patterns();\n\n return this.series().map((series, index) => {\n const slot = paletteIndexFor(\n series.slot,\n index,\n CHART_SERIES_COLORS.length,\n );\n\n return {\n series,\n values: alignSeriesValues(series.data, categoryCount, gaps),\n lowerValues: null,\n onSecondaryAxis: series.axis === 'secondary',\n color: CHART_SERIES_COLORS[slot],\n dash: patterns ? SERIES_DASH_ARRAYS[slot] : null,\n };\n });\n },\n );\n\n /** Ids of the series the legend has switched off. Two-way, so a page can drive it from a URL\n * parameter and read back what the reader chose. */\n readonly hiddenSeries = model<readonly string[]>([]);\n\n /** Whether hiding a series re-scales the value axis to what is left. Default `false`: a silent\n * rescale turns a period-over-period comparison into a different claim, and a comparison\n * dashboard is the common case. */\n readonly rescaleOnHide = input(false, { transform: booleanAttribute });\n\n /** Whether the legend switches series off. Off leaves it a plain key. */\n readonly legendFilters = input(false, { transform: booleanAttribute });\n\n /** What a legend control does. `'isolate'` shows one series and hides the rest — one action to\n * answer \"show me only this\" rather than one per series. `'toggle'` hides one and leaves the\n * rest, for taking a dominant series out so the others can be read at a usable scale.\n * Forwarded to `ds-chart-legend`, which renders radios for the first and checkboxes for the\n * second. */\n readonly legendMode = input<'toggle' | 'isolate'>('isolate');\n\n /** Shown in place of the plot once the legend has switched every series off. Without it the\n * reader is left with an empty grid and nothing saying why. Unset falls back to\n * `DS_INTL.chart.noVisibleSeries`. */\n readonly noVisibleSeriesText = input<string | null>(null);\n\n readonly noVisibleSeriesTextResolved = computed(\n () => this.noVisibleSeriesText() ?? this.intl().chart.noVisibleSeries,\n );\n\n /** Gives every series a dash pattern of its own, so the lines are told apart by shape as well\n * as by colour — WCAG technique G111. Off by default: the shipped palette clears the\n * colour-blind separation threshold on its own, so the patterns are for monochrome print, for a\n * retuned palette, and for a reader who asks for them. */\n readonly patterns = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one series' entrance and the next. `0` turns the stagger off. The step\n * narrows so the last series still starts within the stagger budget, so a long list of series\n * does not crawl in. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n protected readonly highlightedSeries = signal<string | null>(null);\n\n /** Every series with its band's own span, stacked per axis. Hiding a series does NOT re-pile the\n * rest, for the same reason `rescaleOnHide` defaults off: switching one off must not move the\n * ones still drawn. A `null` stays a hole in the line and contributes nothing to the pile. */\n protected readonly stackedSeries = computed<readonly ResolvedSeries[]>(() => {\n const mode = this.stack();\n const entries = this.resolvedSeries();\n if (mode === 'none') {\n return entries;\n }\n\n const spans = new Map<ResolvedSeries, { from: number; to: number }[]>();\n for (const secondary of [false, true]) {\n const onThisAxis = entries.filter(\n (entry) => entry.onSecondaryAxis === secondary,\n );\n const offsets = stackOffsets(\n onThisAxis.map((entry) => entry.values.map((value) => value ?? 0)),\n mode,\n );\n onThisAxis.forEach((entry, index) =>\n spans.set(entry, [...offsets[index]]),\n );\n }\n\n return entries.map((entry) => {\n const span = spans.get(entry);\n if (!span) {\n return entry;\n }\n\n return {\n ...entry,\n values: entry.values.map((value, category) =>\n value === null ? null : span[category].to,\n ),\n lowerValues: entry.values.map((value, category) =>\n value === null ? null : span[category].from,\n ),\n };\n });\n });\n\n protected readonly visibleSeries = computed<readonly ResolvedSeries[]>(() => {\n const hidden = this.hiddenSeries();\n\n return this.stackedSeries().filter(\n (entry) => !hidden.includes(entry.series.id),\n );\n });\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n color: entry.color,\n })),\n );\n\n /** A normalized stack draws shares, not readings, so the axis has to say so - the value a tooltip\n * or the annex table prints stays the reading, which is what `valueFormat` goes on formatting. */\n protected readonly axisFormat = computed<ChartValueFormat>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormatResolved(),\n );\n\n /** Each axis takes the colour of the series measured against it, but only where two scales share\n * one plot: on a single-scale chart it would restate the marks' own colour in the furniture,\n * and under `'split'` the two plots are already apart. The chart knows its own series colours,\n * so this is derived rather than asked for. */\n private readonly axisTint = computed(() => {\n if (!this.hasSecondaryAxis() || this.yAxisMode() === 'split') {\n return { primary: null, secondary: null };\n }\n const find = (onSecondaryAxis: boolean) =>\n this.visibleSeries().find(\n (entry) => entry.onSecondaryAxis === onSecondaryAxis,\n )?.color ?? null;\n\n return { primary: find(false), secondary: find(true) };\n });\n\n protected readonly primaryAxisFill = computed(() => this.axisTint().primary);\n\n protected readonly secondaryAxisFill = computed(\n () => this.axisTint().secondary,\n );\n\n protected readonly stacksSeries = computed(() => this.stack() !== 'none');\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n /** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the\n * category under the pointer, which is the reading a multi-series line is compared on;\n * `'item'` names only the marker itself. */\n readonly tooltip = input<ChartTooltipTrigger>('axis');\n\n // The category cursor is the one hover area over the plot and names every series, so a\n // marker-only or silent tooltip needs it off.\n protected readonly plotCursor = computed(() =>\n this.tooltip() === 'axis' ? 'category' : 'none',\n );\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip is pinned. `'point'`, the default, is the highest reading in the category,\n * so the panel stays put while the pointer moves within one band. `'pointer'` follows the\n * cursor. */\n readonly tooltipAnchor = input<'point' | 'pointer'>('point');\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n this.intl().chart.categoryColumn,\n ...this.resolvedSeries().map((entry) => entry.series.label),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.category,\n cells: [row.category, ...row.cells],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.categories().map((category, index) => ({\n category,\n cells: this.resolvedSeries().map((entry) => {\n const value = entry.values[index];\n\n return value === null || value === undefined\n ? '—'\n : format(value, 'tooltip');\n }),\n }));\n });\n\n protected readonly accessibleName = computed(() => {\n const summary = this.summary();\n if (summary !== null) {\n return summary;\n }\n\n const words = this.intl().chart;\n const title = this.caption() ?? words.title;\n const format = (value: number) =>\n this.valueFormatResolved()(value, 'tooltip');\n const categories = this.categories();\n // The pointer belongs to the WHOLE chart, not to each series, or a two-series plot promises\n // the table twice.\n const sentences = this.resolvedSeries().map((entry) =>\n describeSeries(\n words,\n entry.series.label,\n entry.values.flatMap((value, index) =>\n value === null ? [] : [{ label: categories[index] ?? '', value }],\n ),\n format,\n false,\n ),\n );\n const pointer =\n this.dataTableResolved() === 'none' ? '' : ` ${words.tableFollows}`;\n // The plot's own text is inside an `aria-hidden` svg, so an annotation a sighted reader takes\n // as the point of the chart would otherwise reach nobody else.\n const notes = this.markAnnotations().map((note) => note.label);\n const noted = notes.length ? ` ${words.noted(notes)}` : '';\n\n return sentences.length === 0\n ? describeSeries(\n words,\n title,\n [],\n format,\n this.dataTableResolved() !== 'none',\n )\n : `${title}. ${sentences.join(' ')}${noted}${pointer}`;\n });\n\n private readonly plot = viewChild(ChartComponent);\n\n /** Whether the category cursor is held. Read off the container, which owns the pin now that it\n * owns the cursor. */\n protected readonly pinnedCategory = computed(\n () => this.plot()?.cursorPinned() ?? false,\n );\n\n protected releaseCategoryPin(): void {\n this.plot()?.releaseCursor();\n }\n\n /** What the series mark draws: the stacked values, the hidden series already filtered out. */\n protected readonly markSeries = computed<readonly LineSeriesData[]>(() =>\n this.visibleSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n data: entry.values,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n area: entry.series.area,\n lower: entry.lowerValues ?? undefined,\n color: entry.color,\n })),\n );\n\n protected readonly dashPatterns = computed<readonly string[]>(() =>\n this.visibleSeries().map((entry) => entry.dash ?? ''),\n );\n\n /** The reading each label names, which is what the mark needs: it draws against the scales and\n * never sees the series list. One whose series is hidden or whose reading is missing is\n * dropped rather than left floating over the plot. */\n protected readonly markAnnotations = computed<readonly ChartAnnotation[]>(\n () =>\n this.annotations().flatMap((annotation) => {\n const visible = this.visibleSeries();\n const entry = annotation.seriesId\n ? visible.find(\n (candidate) => candidate.series.id === annotation.seriesId,\n )\n : visible[0];\n const value = entry?.values[annotation.categoryIndex];\n if (!entry || typeof value !== 'number') {\n return [];\n }\n\n return [\n {\n categoryIndex: annotation.categoryIndex,\n value,\n label: annotation.label,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n },\n ];\n }),\n );\n\n protected readonly markAnchor = computed(() =>\n this.tooltipAnchor() === 'pointer'\n ? ('pointer' as const)\n : ('reading' as const),\n );\n\n protected readonly hasSecondaryAxis = computed(() =>\n this.visibleSeries().some((entry) => entry.onSecondaryAxis),\n );\n\n /** The ceiling handed to the container, which raises its own domain to it and never lowers.\n * Unless `rescaleOnHide` says otherwise it is the maximum across EVERY series, so switching\n * one off does not move the gridlines under the ones still drawn. */\n protected readonly axisMax = computed(() =>\n this.rescaleOnHide() ? this.max() : this.ceilingOf(false, this.max()),\n );\n\n protected readonly axisMaxSecondary = computed(() =>\n this.rescaleOnHide()\n ? this.maxSecondary()\n : this.ceilingOf(true, this.maxSecondary()),\n );\n\n private ceilingOf(onSecondaryAxis: boolean, asked: number | null): number {\n const derived = domainMaxOf(\n this.stackedSeries()\n .filter((entry) => entry.onSecondaryAxis === onSecondaryAxis)\n .map((entry) => entry.values),\n );\n\n return asked !== null && Number.isFinite(asked) && asked > derived\n ? asked\n : derived;\n }\n\n /** `--ds-line-chart-plot-height` reaches an SVG coordinate space only as a number, so it is read\n * back off the host rather than applied as CSS. */\n protected readonly plotHeight = signal(DEFAULT_PLOT_HEIGHT);\n\n /** Every state occupies the box the plot would have, so nothing on the page moves when the data\n * lands, the request fails or the last series is switched off. */\n protected readonly viewHeightPx = computed(\n () => `${chartViewHeight(this.plotHeight(), CHART_DEFAULT_VALUE_SPACE)}px`,\n );\n\n protected onPointClicked(reading: {\n series: LineSeriesData;\n categoryIndex: number;\n value: number;\n }): void {\n const series = this.series().find(\n (candidate) => candidate.id === reading.series.id,\n );\n if (!series) {\n return;\n }\n this.pointClicked.emit({\n series,\n categoryIndex: reading.categoryIndex,\n category: this.categories()[reading.categoryIndex] ?? '',\n value: reading.value,\n });\n }\n\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef);\n afterNextRender(() => {\n const parsed = Number.parseFloat(\n getComputedStyle(host.nativeElement).getPropertyValue(\n '--_line-chart-plot-height',\n ),\n );\n if (Number.isFinite(parsed) && parsed > 0) {\n this.plotHeight.set(parsed);\n }\n });\n }\n\n protected readonly isEmpty = computed(\n () => this.series().length === 0 || this.categories().length === 0,\n );\n\n protected readonly showLegend = computed(() => this.series().length > 1);\n\n protected readonly noVisibleSeries = computed(\n () => this.series().length > 0 && this.visibleSeries().length === 0,\n );\n\n /** Placeholder legend rows while loading. Follows the real series count so the\n * chart does not resize when the data lands; falls back to three when `series`\n * is still empty. */\n protected readonly skeletonSeries = computed(() =>\n Array.from({ length: Math.max(this.series().length, 3) }),\n );\n}\n","<figure class=\"line-chart\">\n @if (pinnedCategory()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"releaseCategoryPin()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-skeleton\n height=\"var(--_line-chart-skeleton-height)\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [max]=\"axisMax()\"\n [maxSecondary]=\"axisMaxSecondary()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [cursorPin]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"markAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAIO,MAAM,6BAA6B,GAAG,CAAC;AAE9C;;;;AAIiF;SACjE,iBAAiB,CAC/B,IAAgC,EAChC,aAAqB,EACrB,IAAe,EAAA;IAEf,MAAM,MAAM,GACV,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,GAAG;AAChD,UAAE,IAAI,CAAC,KAAK,CAAC,aAAa;UACxB,CAAC;IACP,MAAM,OAAO,GAAsB,EAAE;AACrC,IAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;AAC3C,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,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,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,gBAAgB,4LA6Ec,cAAc,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEzgBlD;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-components-line-chart.mjs","sources":["../../../src/lib/components/line-chart/line-chart.math.ts","../../../src/lib/components/line-chart/line-chart.component.ts","../../../src/lib/components/line-chart/line-chart.component.html","../../../src/lib/components/line-chart/ids-group-ltd-ids-design-system-components-line-chart.ts"],"sourcesContent":["import type { ChartGaps } from '@ids-group-ltd/ids-design-system/core';\n\nexport type { LinePoint } from '@ids-group-ltd/ids-design-system/components';\n\nexport const LINE_CHART_DEFAULT_TICK_COUNT = 5;\n\n/** One reading per category. A longer series loses its tail and a shorter one ends early rather than\n * throwing. Anything that is not a finite number is a missing reading, so `NaN` and `Infinity`\n * follow the `gaps` policy rather than reaching a coordinate. */\nexport function alignSeriesValues(\n data: readonly (number | null)[],\n categoryCount: number,\n gaps: ChartGaps,\n): (number | null)[] {\n const length =\n Number.isFinite(categoryCount) && categoryCount > 0\n ? Math.floor(categoryCount)\n : 0;\n const aligned: (number | null)[] = [];\n for (let index = 0; index < length; index++) {\n const raw = data[index];\n const reading =\n typeof raw === 'number' && Number.isFinite(raw) ? raw : null;\n aligned.push(reading === null && gaps === 'zero' ? 0 : reading);\n }\n\n return aligned;\n}\n\n/** Largest finite reading across the given series, or zero. Never negative: `ds-chart` only raises\n * its domain to this ceiling, so a negative would pin an axis below its own data. */\nexport function domainMaxOf(\n valueGroups: readonly (readonly (number | null)[])[],\n): number {\n let max = 0;\n for (const values of valueGroups) {\n for (const value of values) {\n if (value !== null && Number.isFinite(value) && value > max) {\n max = value;\n }\n }\n }\n\n return max;\n}\n\nexport function paletteIndexFor(\n slot: number | undefined,\n index: number,\n paletteSize: number,\n): number {\n if (!Number.isFinite(paletteSize) || paletteSize < 1) {\n return 0;\n }\n const chosen =\n slot !== undefined && Number.isFinite(slot) && slot >= 1\n ? Math.floor(slot) - 1\n : index;\n\n return ((chosen % paletteSize) + paletteSize) % paletteSize;\n}\n","import type {\n ChartDimmable,\n ChartStaggered,\n ChartWithDataTable,\n ChartWithTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n DsChartBase,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport {\n CHART_DEFAULT_VALUE_SPACE,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n chartViewHeight,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartAnnotation,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport { formatPercent } from '@ids-group-ltd/ids-design-system/components';\nimport { stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartDataTable,\n ChartValueFormat,\n ChartAxisMode,\n ChartGaps,\n ChartCurve,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type {\n ChartTooltipContext,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport {\n LINE_CHART_DEFAULT_TICK_COUNT,\n alignSeriesValues,\n domainMaxOf,\n paletteIndexFor,\n} from './line-chart.math';\n\n/** Default of `--ds-line-chart-plot-height`, used before the first style read and under SSR. */\nconst DEFAULT_PLOT_HEIGHT = 240;\nimport type {\n LineChartAnnotation,\n LineChartStack,\n LineChartReading,\n LineChartSeries,\n} from './line-chart.types';\n\ninterface ResolvedSeries {\n readonly series: LineChartSeries;\n readonly values: readonly (number | null)[];\n /** Where this series' band starts on the value axis, per category. `null` while unstacked. */\n readonly lowerValues: readonly (number | null)[] | null;\n readonly onSecondaryAxis: boolean;\n readonly color: string;\n /** `null` while `patterns` is off. */\n readonly dash: string | null;\n}\n\nconst SERIES_DASH_ARRAYS = [\n 'none',\n '7 4',\n '2 3',\n '11 4 2 4',\n '1 4',\n '8 3 2 3',\n '4 2',\n '14 5',\n];\n\n@Component({\n selector: 'ds-line-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n ChartLegendComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './line-chart.component.html',\n styleUrl: './line-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_line-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }],\n})\nexport class LineChartComponent\n extends DsChartBase\n implements\n ChartDimmable,\n ChartStaggered,\n ChartWithDataTable,\n ChartWithTooltipTrigger\n{\n protected readonly renderReady = chartRenderGate();\n\n /** X labels. Every series' `data` is read against this length. */\n readonly categories = input<readonly string[]>([]);\n\n /** One line per entry, read against `categories`: a longer series loses its tail, a shorter one ends early. */\n readonly series = input<readonly LineChartSeries[]>([]);\n\n /** How a secondary axis relates to the primary one. */\n readonly yAxisMode = input<ChartAxisMode>('aligned');\n\n /** Draws a dot at every reading. Off, the dots appear on hover and on focus only. */\n readonly showMarkers = input(true, { transform: booleanAttribute });\n\n /** Lays the lines and their markers on a band of the background colour. */\n readonly outline = input(true, { transform: booleanAttribute });\n\n /** Labels pinned over their readings. Drawn `aria-hidden`; their text is appended to the accessible name. */\n readonly annotations = input<readonly LineChartAnnotation[]>([]);\n\n /** The point clicked or activated with Enter or Space, whether or not `interactive` is set. */\n readonly pointClicked = output<LineChartReading>();\n\n /** Dims every OTHER mark while one is hovered or focused. Dimmed marks lose separation between\n * them (three series: worst pair dE 14.8 to 2.1 at `--ds-chart-dim-opacity` 0.3, measured 2026-09-13). */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** What a `null` reading draws. The default `'break'` does not assert a missing reading is zero. */\n readonly gaps = input<ChartGaps>('break');\n\n /** How the line joins its readings. `'linear'` asserts nothing between readings; a curve does. */\n readonly curve = input<ChartCurve>('linear');\n\n /** How several series share the value axis. Stacking runs per axis. */\n readonly stack = input<LineChartStack>('none');\n\n /** Names the first axis's unit beside it. */\n readonly yAxisLabel = input<string | null>(null);\n\n /** `yAxisLabel` for the second axis. */\n readonly secondaryAxisLabel = input<string | null>(null);\n\n /** How many value-axis ticks to aim for; ticks snap to a round step. */\n readonly tickCount = input(LINE_CHART_DEFAULT_TICK_COUNT, {\n transform: numberAttribute,\n });\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. Unset falls back to `DS_CONFIG.chart.dataTable`,\n * then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Pins the primary value axis maximum so separate renders are comparable; `maxSecondary` pins\n * the second. Null keeps the derived axis. A maximum below the data does not clip it. */\n readonly max = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n /** Pins the secondary value axis. See `max`. */\n readonly maxSecondary = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n readonly dataTableResolved = this.defaults.dataTable;\n\n protected readonly resolvedSeries = computed<readonly ResolvedSeries[]>(\n () => {\n const categoryCount = this.categories().length;\n const gaps = this.gaps();\n\n const patterns = this.patterns();\n\n return this.series().map((series, index) => {\n const slot = paletteIndexFor(\n series.slot,\n index,\n CHART_SERIES_COLORS.length,\n );\n\n return {\n series,\n values: alignSeriesValues(series.data, categoryCount, gaps),\n lowerValues: null,\n onSecondaryAxis: series.axis === 'secondary',\n color: CHART_SERIES_COLORS[slot],\n dash: patterns ? SERIES_DASH_ARRAYS[slot] : null,\n };\n });\n },\n );\n\n /** Ids of the series the legend has switched off. */\n readonly hiddenSeries = model<readonly string[]>([]);\n\n /** Whether hiding a series re-scales the value axis to what is left. */\n readonly rescaleOnHide = input(false, { transform: booleanAttribute });\n\n /** Whether the legend switches series off. Off leaves it a plain key. */\n readonly legendFilters = input(false, { transform: booleanAttribute });\n\n /** What a legend control does. `'isolate'` shows one series and hides the rest (radios);\n * `'toggle'` hides one and leaves the rest (checkboxes). */\n readonly legendMode = input<'toggle' | 'isolate'>('isolate');\n\n /** Shown in place of the plot once the legend has switched every series off. Unset falls back to\n * `DS_INTL.chart.noVisibleSeries`. */\n readonly noVisibleSeriesText = input<string | null>(null);\n\n readonly noVisibleSeriesTextResolved = computed(\n () => this.noVisibleSeriesText() ?? this.intl().chart.noVisibleSeries,\n );\n\n /** Gives every series a dash pattern, so lines differ by shape as well as colour. */\n readonly patterns = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one series' entrance and the next; `0` turns it off. The step narrows\n * so the last series still starts within the stagger budget. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n protected readonly highlightedSeries = signal<string | null>(null);\n\n /** Every series with its band's span, stacked per axis. Hiding a series does not re-pile the\n * rest. A `null` stays a hole and adds nothing to the pile. */\n protected readonly stackedSeries = computed<readonly ResolvedSeries[]>(() => {\n const mode = this.stack();\n const entries = this.resolvedSeries();\n if (mode === 'none') {\n return entries;\n }\n\n const spans = new Map<ResolvedSeries, { from: number; to: number }[]>();\n for (const secondary of [false, true]) {\n const onThisAxis = entries.filter(\n (entry) => entry.onSecondaryAxis === secondary,\n );\n const offsets = stackOffsets(\n onThisAxis.map((entry) => entry.values.map((value) => value ?? 0)),\n mode,\n );\n onThisAxis.forEach((entry, index) =>\n spans.set(entry, [...offsets[index]]),\n );\n }\n\n return entries.map((entry) => {\n const span = spans.get(entry);\n if (!span) {\n return entry;\n }\n\n return {\n ...entry,\n values: entry.values.map((value, category) =>\n value === null ? null : span[category].to,\n ),\n lowerValues: entry.values.map((value, category) =>\n value === null ? null : span[category].from,\n ),\n };\n });\n });\n\n protected readonly visibleSeries = computed<readonly ResolvedSeries[]>(() => {\n const hidden = this.hiddenSeries();\n\n return this.stackedSeries().filter(\n (entry) => !hidden.includes(entry.series.id),\n );\n });\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n color: entry.color,\n })),\n );\n\n /** A normalized stack draws shares, so the axis prints percentages; tooltip and table values stay\n * the reading. */\n protected readonly axisFormat = computed<ChartValueFormat>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormatResolved(),\n );\n\n private readonly axisTint = computed(() => {\n if (!this.hasSecondaryAxis() || this.yAxisMode() === 'split') {\n return { primary: null, secondary: null };\n }\n const find = (onSecondaryAxis: boolean) =>\n this.visibleSeries().find(\n (entry) => entry.onSecondaryAxis === onSecondaryAxis,\n )?.color ?? null;\n\n return { primary: find(false), secondary: find(true) };\n });\n\n protected readonly primaryAxisFill = computed(() => this.axisTint().primary);\n\n protected readonly secondaryAxisFill = computed(\n () => this.axisTint().secondary,\n );\n\n protected readonly stacksSeries = computed(() => this.stack() !== 'none');\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n /** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the category\n * under the pointer; `'item'` names only the marker itself. */\n readonly tooltip = input<ChartTooltipTrigger>('axis');\n\n // The category cursor is the one hover area over the plot and names every series, so a\n // marker-only or silent tooltip needs it off.\n protected readonly plotCursor = computed(() =>\n this.tooltip() === 'axis' ? 'category' : 'none',\n );\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip anchors. `'reading'` (default) is the highest reading in the category, so\n * the panel stays put within one band; `'pointer'` follows the cursor. */\n readonly tooltipAnchor = input<'reading' | 'pointer'>('reading');\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n this.intl().chart.categoryColumn,\n ...this.resolvedSeries().map((entry) => entry.series.label),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.category,\n cells: [row.category, ...row.cells],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.categories().map((category, index) => ({\n category,\n cells: this.resolvedSeries().map((entry) => {\n const value = entry.values[index];\n\n return value === null || value === undefined\n ? '—'\n : format(value, 'tooltip');\n }),\n }));\n });\n\n protected readonly accessibleName = computed(() => {\n const summary = this.summary();\n if (summary !== null) {\n return summary;\n }\n\n const words = this.intl().chart;\n const title = this.caption() ?? words.title;\n const format = (value: number) =>\n this.valueFormatResolved()(value, 'tooltip');\n const categories = this.categories();\n const sentences = this.resolvedSeries().map((entry) =>\n describeSeries(\n words,\n entry.series.label,\n entry.values.flatMap((value, index) =>\n value === null ? [] : [{ label: categories[index] ?? '', value }],\n ),\n format,\n false,\n ),\n );\n const pointer =\n this.dataTableResolved() === 'none' ? '' : ` ${words.tableFollows}`;\n // Annotation text sits inside an `aria-hidden` svg, so it reaches assistive tech only through the name.\n const notes = this.markAnnotations().map((note) => note.label);\n const noted = notes.length ? ` ${words.noted(notes)}` : '';\n\n return sentences.length === 0\n ? describeSeries(\n words,\n title,\n [],\n format,\n this.dataTableResolved() !== 'none',\n )\n : `${title}. ${sentences.join(' ')}${noted}${pointer}`;\n });\n\n private readonly plot = viewChild(ChartComponent);\n\n protected readonly pinnedCategory = computed(\n () => this.plot()?.cursorPinned() ?? false,\n );\n\n protected releaseCategoryPin(): void {\n this.plot()?.releaseCursor();\n }\n\n protected readonly markSeries = computed<readonly LineSeriesData[]>(() =>\n this.visibleSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n data: entry.values,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n area: entry.series.area,\n lower: entry.lowerValues ?? undefined,\n color: entry.color,\n })),\n );\n\n protected readonly dashPatterns = computed<readonly string[]>(() =>\n this.visibleSeries().map((entry) => entry.dash ?? ''),\n );\n\n protected readonly markAnnotations = computed<readonly ChartAnnotation[]>(\n () =>\n this.annotations().flatMap((annotation) => {\n const visible = this.visibleSeries();\n const entry = annotation.seriesId\n ? visible.find(\n (candidate) => candidate.series.id === annotation.seriesId,\n )\n : visible[0];\n const value = entry?.values[annotation.categoryIndex];\n if (!entry || typeof value !== 'number') {\n return [];\n }\n\n return [\n {\n categoryIndex: annotation.categoryIndex,\n value,\n label: annotation.label,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n },\n ];\n }),\n );\n\n protected readonly hasSecondaryAxis = computed(() =>\n this.visibleSeries().some((entry) => entry.onSecondaryAxis),\n );\n\n /** The ceiling handed to the container, which only raises its domain to it. Unless `rescaleOnHide`,\n * it spans every series, so hiding one does not move the gridlines. */\n protected readonly axisMax = computed(() =>\n this.rescaleOnHide() ? this.max() : this.ceilingOf(false, this.max()),\n );\n\n protected readonly axisMaxSecondary = computed(() =>\n this.rescaleOnHide()\n ? this.maxSecondary()\n : this.ceilingOf(true, this.maxSecondary()),\n );\n\n private ceilingOf(onSecondaryAxis: boolean, asked: number | null): number {\n const derived = domainMaxOf(\n this.stackedSeries()\n .filter((entry) => entry.onSecondaryAxis === onSecondaryAxis)\n .map((entry) => entry.values),\n );\n\n return asked !== null && Number.isFinite(asked) && asked > derived\n ? asked\n : derived;\n }\n\n protected readonly plotHeight = signal(DEFAULT_PLOT_HEIGHT);\n\n protected readonly viewHeightPx = computed(\n () => `${chartViewHeight(this.plotHeight(), CHART_DEFAULT_VALUE_SPACE)}px`,\n );\n\n protected onPointClicked(reading: {\n series: LineSeriesData;\n categoryIndex: number;\n value: number;\n }): void {\n const series = this.series().find(\n (candidate) => candidate.id === reading.series.id,\n );\n if (!series) {\n return;\n }\n this.pointClicked.emit({\n series,\n categoryIndex: reading.categoryIndex,\n category: this.categories()[reading.categoryIndex] ?? '',\n value: reading.value,\n });\n }\n\n constructor() {\n super();\n const host = inject<ElementRef<HTMLElement>>(ElementRef);\n afterNextRender(() => {\n const parsed = Number.parseFloat(\n getComputedStyle(host.nativeElement).getPropertyValue(\n '--_line-chart-plot-height',\n ),\n );\n if (Number.isFinite(parsed) && parsed > 0) {\n this.plotHeight.set(parsed);\n }\n });\n }\n\n protected readonly isEmpty = computed(\n () => this.series().length === 0 || this.categories().length === 0,\n );\n\n protected readonly showLegend = computed(() => this.series().length > 1);\n\n protected readonly noVisibleSeries = computed(\n () => this.series().length > 0 && this.visibleSeries().length === 0,\n );\n\n protected readonly skeletonSeries = computed(() =>\n Array.from({ length: Math.max(this.series().length, 3) }),\n );\n}\n","<figure class=\"line-chart\">\n @if (pinnedCategory()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"releaseCategoryPin()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-skeleton\n height=\"var(--_line-chart-skeleton-height)\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [max]=\"axisMax()\"\n [maxSecondary]=\"axisMaxSecondary()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [pinOnClick]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAIO,MAAM,6BAA6B,GAAG,CAAC;AAE9C;;AAEkE;SAClD,iBAAiB,CAC/B,IAAgC,EAChC,aAAqB,EACrB,IAAe,EAAA;IAEf,MAAM,MAAM,GACV,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,GAAG;AAChD,UAAE,IAAI,CAAC,KAAK,CAAC,aAAa;UACxB,CAAC;IACP,MAAM,OAAO,GAAsB,EAAE;AACrC,IAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;AAC3C,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,MAAM,OAAO,GACX,OAAO,GAAG,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,IAAI;AAC9D,QAAA,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,KAAK,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC;IACjE;AAEA,IAAA,OAAO,OAAO;AAChB;AAEA;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Encapsulation, Component, output } from '@
3
3
  import { NgTemplateOutlet } from '@angular/common';
4
4
 
5
5
  class ListComponent {
6
- /** Draw a hairline separator between adjacent items. */
6
+ /** Hairline separator between adjacent items. */
7
7
  dividers = input(true, { ...(ngDevMode ? { debugName: "dividers" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
8
8
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: ListComponent, isStandalone: true, selector: "ds-list", inputs: { dividers: { classPropertyName: "dividers", publicName: "dividers", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "list" }, properties: { "class.dividers": "dividers()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@charset \"UTF-8\";:host{display:flex;flex-direction:column;--_divider-color: var(--ds-list-divider-color, var(--border-divider))}:host(.dividers) ::ng-deep ds-list-item:not(:last-child){border-bottom:var(--border-width-default) solid var(--_divider-color)}\n"] });
9
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: ListComponent, isStandalone: true, selector: "ds-list", inputs: { dividers: { classPropertyName: "dividers", publicName: "dividers", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "list" }, properties: { "class.dividers": "dividers()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:flex;flex-direction:column;--_divider-color: var(--ds-list-divider-color, var(--border-divider))}:host(.dividers) ::ng-deep ds-list-item:not(:last-child){border-bottom:var(--border-width-default) solid var(--_divider-color)}\n"] });
10
10
  }
11
11
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ListComponent, decorators: [{
12
12
  type: Component,
13
13
  args: [{ selector: 'ds-list', standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.Emulated, host: {
14
14
  role: 'list',
15
15
  '[class.dividers]': 'dividers()',
16
- }, styles: ["@charset \"UTF-8\";:host{display:flex;flex-direction:column;--_divider-color: var(--ds-list-divider-color, var(--border-divider))}:host(.dividers) ::ng-deep ds-list-item:not(:last-child){border-bottom:var(--border-width-default) solid var(--_divider-color)}\n"] }]
16
+ }, styles: [":host{display:flex;flex-direction:column;--_divider-color: var(--ds-list-divider-color, var(--border-divider))}:host(.dividers) ::ng-deep ds-list-item:not(:last-child){border-bottom:var(--border-width-default) solid var(--_divider-color)}\n"] }]
17
17
  }], propDecorators: { dividers: [{ type: i0.Input, args: [{ isSignal: true, alias: "dividers", required: false }] }] } });
18
18
 
19
19
  class ListItemComponent {
20
- /** Convenience text; richer middle content can be projected as default content. */
20
+ /** Row text; richer content can be projected instead. */
21
21
  title = input('', ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
22
22
  /** Secondary line below `title`. */
23
23
  subtitle = input('', ...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
24
24
  /** Makes the row's text a button that emits `activated`. `[leading]` and
25
25
  * `[trailing]` stay outside it, so a row can hold its own controls as well. */
26
26
  clickable = input(false, { ...(ngDevMode ? { debugName: "clickable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
27
- /** Marks the row current — `aria-current` and the selected tint. */
27
+ /** Marks the row current: `aria-current` and the selected tint. */
28
28
  selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
29
29
  /** Disables the row's own button. Controls projected into `[leading]` or
30
30
  * `[trailing]` keep their own disabled state. */
@@ -32,7 +32,7 @@ class ListItemComponent {
32
32
  /** Fires when the clickable row's button is activated. */
33
33
  activated = output();
34
34
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: ListItemComponent, isStandalone: true, selector: "ds-list-item", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activated: "activated" }, host: { attributes: { "role": "listitem" }, properties: { "attr.title": "null", "attr.aria-current": "selected() ? 'true' : null", "class.clickable": "clickable()", "class.selected": "selected()", "class.disabled": "disabled()" } }, ngImport: i0, template: "<span class=\"leading\">\n <ng-content select=\"[leading]\"></ng-content>\n</span>\n\n<!-- `[leading]` and `[trailing]` are siblings of the activator, never inside it: a\n row that carries its own control (a checkbox, a kebab) alongside a row-level\n action cannot nest that control in a <button> \u2014 invalid, and its click would\n bubble into `activated`. Legal here because `role=\"listitem\"` places no\n restriction on interactive descendants, unlike `role=\"option\"`. -->\n@if (clickable()) {\n <button\n type=\"button\"\n class=\"activator\"\n [disabled]=\"disabled()\"\n (click)=\"activated.emit()\">\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n </button>\n} @else {\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n}\n\n<span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n</span>\n\n<ng-template #body>\n <span class=\"body\">\n @if (title()) {\n <span class=\"title\">\n {{ title() }}\n </span>\n }\n\n @if (subtitle()) {\n <span class=\"subtitle\">\n {{ subtitle() }}\n </span>\n }\n\n <ng-content></ng-content>\n </span>\n</ng-template>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_list-item-padding-y: var(--ds-list-item-padding-y, var(--list-item-pad-y));--_list-item-padding-x: var(--ds-list-item-padding-x, var(--list-item-pad-x));--_list-item-gap: var(--ds-list-item-gap, var(--list-item-gap));--_list-item-hover-bg-color: var(--ds-list-item-hover-bg-color, var(--surface-secondary));--_list-item-selected-bg-color: var(--ds-list-item-selected-bg-color, var(--accent-surface-tint));--_list-item-selected-label-color: var(--ds-list-item-selected-label-color, var(--accent-strong));--_list-item-selected-icon-color: var(--ds-list-item-selected-icon-color, var(--_list-item-selected-label-color));--_list-item-label-color: var(--ds-list-item-label-color, var(--text-primary));--_list-item-subtitle-color: var(--ds-list-item-subtitle-color, var(--text-tertiary));display:flex;align-items:center;gap:var(--_list-item-gap);padding:var(--_list-item-padding-y) var(--_list-item-padding-x);transition:background-color var(--duration-fast) var(--ease-standard)}.activator{display:flex;align-items:center;flex:1;min-width:0;padding:0;border:0;background:transparent;border-radius:var(--focus-ring-radius);color:var(--text-primary);font:inherit;text-align:left}button.activator{cursor:pointer}button.activator:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}button.activator:disabled{cursor:not-allowed}:host(:has(button.activator:hover)){background-color:var(--_list-item-hover-bg-color)}:host(:has(button.activator:active:not(:disabled))){background-color:var(--surface-muted)}.leading,.trailing{display:inline-flex;align-items:center;flex:none}.leading:empty,.trailing:empty{display:none}.trailing{color:var(--text-tertiary)}.body{display:flex;flex-direction:column;gap:var(--space-px);flex:1;min-width:0}.title{color:var(--_list-item-label-color);font:var(--font-weight-semibold) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.subtitle{color:var(--_list-item-subtitle-color);font:var(--font-weight-regular) var(--font-size-xs)/var(--line-height-base) var(--font-sans)}:host(.selected){background-color:var(--_list-item-selected-bg-color)}:host(.selected) .title{color:var(--_list-item-selected-label-color)}:host(.selected) .leading{color:var(--_list-item-selected-icon-color)}:host(.disabled) .title,:host(.disabled) .subtitle,:host(.disabled) .trailing{color:var(--text-disabled)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
35
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: ListItemComponent, isStandalone: true, selector: "ds-list-item", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activated: "activated" }, host: { attributes: { "role": "listitem" }, properties: { "attr.title": "null", "attr.aria-current": "selected() ? 'true' : null", "class.clickable": "clickable()", "class.selected": "selected()", "class.disabled": "disabled()" } }, ngImport: i0, template: "<span class=\"leading\">\n <ng-content select=\"[leading]\"></ng-content>\n</span>\n\n<!-- `[leading]` and `[trailing]` stay outside the activator: a control nested in a <button> is\n invalid and its click would bubble into `activated`. Legal because `role=\"listitem\"` allows\n interactive descendants, unlike `role=\"option\"`. -->\n@if (clickable()) {\n <button\n type=\"button\"\n class=\"activator\"\n [disabled]=\"disabled()\"\n (click)=\"activated.emit()\">\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n </button>\n} @else {\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n}\n\n<span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n</span>\n\n<ng-template #body>\n <span class=\"body\">\n @if (title()) {\n <span class=\"title\">\n {{ title() }}\n </span>\n }\n\n @if (subtitle()) {\n <span class=\"subtitle\">\n {{ subtitle() }}\n </span>\n }\n\n <ng-content></ng-content>\n </span>\n</ng-template>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_list-item-padding-y: var(--ds-list-item-padding-y, var(--list-item-pad-y));--_list-item-padding-x: var(--ds-list-item-padding-x, var(--list-item-pad-x));--_list-item-gap: var(--ds-list-item-gap, var(--list-item-gap));--_list-item-hover-bg-color: var(--ds-list-item-hover-bg-color, var(--surface-secondary));--_list-item-selected-bg-color: var(--ds-list-item-selected-bg-color, var(--accent-surface-tint));--_list-item-selected-label-color: var(--ds-list-item-selected-label-color, var(--accent-strong));--_list-item-selected-icon-color: var(--ds-list-item-selected-icon-color, var(--_list-item-selected-label-color));--_list-item-label-color: var(--ds-list-item-label-color, var(--text-primary));--_list-item-subtitle-color: var(--ds-list-item-subtitle-color, var(--text-tertiary));display:flex;align-items:center;gap:var(--_list-item-gap);padding:var(--_list-item-padding-y) var(--_list-item-padding-x);transition:background-color var(--duration-fast) var(--ease-standard)}.activator{display:flex;align-items:center;flex:1;min-width:0;padding:0;border:0;background:transparent;border-radius:var(--focus-ring-radius);color:var(--text-primary);font:inherit;text-align:left}button.activator{cursor:pointer}button.activator:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}button.activator:disabled{cursor:not-allowed}:host(:has(button.activator:hover)){background-color:var(--_list-item-hover-bg-color)}:host(:has(button.activator:active:not(:disabled))){background-color:var(--surface-muted)}.leading,.trailing{display:inline-flex;align-items:center;flex:none}.leading:empty,.trailing:empty{display:none}.trailing{color:var(--text-tertiary)}.body{display:flex;flex-direction:column;gap:var(--space-px);flex:1;min-width:0}.title{color:var(--_list-item-label-color);font:var(--font-weight-semibold) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.subtitle{color:var(--_list-item-subtitle-color);font:var(--font-weight-regular) var(--font-size-xs)/var(--line-height-base) var(--font-sans)}:host(.selected){background-color:var(--_list-item-selected-bg-color)}:host(.selected) .title{color:var(--_list-item-selected-label-color)}:host(.selected) .leading{color:var(--_list-item-selected-icon-color)}:host(.disabled) .title,:host(.disabled) .subtitle,:host(.disabled) .trailing{color:var(--text-disabled)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
36
36
  }
37
37
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ListItemComponent, decorators: [{
38
38
  type: Component,
@@ -43,7 +43,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
43
43
  '[class.clickable]': 'clickable()',
44
44
  '[class.selected]': 'selected()',
45
45
  '[class.disabled]': 'disabled()',
46
- }, template: "<span class=\"leading\">\n <ng-content select=\"[leading]\"></ng-content>\n</span>\n\n<!-- `[leading]` and `[trailing]` are siblings of the activator, never inside it: a\n row that carries its own control (a checkbox, a kebab) alongside a row-level\n action cannot nest that control in a <button> \u2014 invalid, and its click would\n bubble into `activated`. Legal here because `role=\"listitem\"` places no\n restriction on interactive descendants, unlike `role=\"option\"`. -->\n@if (clickable()) {\n <button\n type=\"button\"\n class=\"activator\"\n [disabled]=\"disabled()\"\n (click)=\"activated.emit()\">\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n </button>\n} @else {\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n}\n\n<span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n</span>\n\n<ng-template #body>\n <span class=\"body\">\n @if (title()) {\n <span class=\"title\">\n {{ title() }}\n </span>\n }\n\n @if (subtitle()) {\n <span class=\"subtitle\">\n {{ subtitle() }}\n </span>\n }\n\n <ng-content></ng-content>\n </span>\n</ng-template>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_list-item-padding-y: var(--ds-list-item-padding-y, var(--list-item-pad-y));--_list-item-padding-x: var(--ds-list-item-padding-x, var(--list-item-pad-x));--_list-item-gap: var(--ds-list-item-gap, var(--list-item-gap));--_list-item-hover-bg-color: var(--ds-list-item-hover-bg-color, var(--surface-secondary));--_list-item-selected-bg-color: var(--ds-list-item-selected-bg-color, var(--accent-surface-tint));--_list-item-selected-label-color: var(--ds-list-item-selected-label-color, var(--accent-strong));--_list-item-selected-icon-color: var(--ds-list-item-selected-icon-color, var(--_list-item-selected-label-color));--_list-item-label-color: var(--ds-list-item-label-color, var(--text-primary));--_list-item-subtitle-color: var(--ds-list-item-subtitle-color, var(--text-tertiary));display:flex;align-items:center;gap:var(--_list-item-gap);padding:var(--_list-item-padding-y) var(--_list-item-padding-x);transition:background-color var(--duration-fast) var(--ease-standard)}.activator{display:flex;align-items:center;flex:1;min-width:0;padding:0;border:0;background:transparent;border-radius:var(--focus-ring-radius);color:var(--text-primary);font:inherit;text-align:left}button.activator{cursor:pointer}button.activator:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}button.activator:disabled{cursor:not-allowed}:host(:has(button.activator:hover)){background-color:var(--_list-item-hover-bg-color)}:host(:has(button.activator:active:not(:disabled))){background-color:var(--surface-muted)}.leading,.trailing{display:inline-flex;align-items:center;flex:none}.leading:empty,.trailing:empty{display:none}.trailing{color:var(--text-tertiary)}.body{display:flex;flex-direction:column;gap:var(--space-px);flex:1;min-width:0}.title{color:var(--_list-item-label-color);font:var(--font-weight-semibold) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.subtitle{color:var(--_list-item-subtitle-color);font:var(--font-weight-regular) var(--font-size-xs)/var(--line-height-base) var(--font-sans)}:host(.selected){background-color:var(--_list-item-selected-bg-color)}:host(.selected) .title{color:var(--_list-item-selected-label-color)}:host(.selected) .leading{color:var(--_list-item-selected-icon-color)}:host(.disabled) .title,:host(.disabled) .subtitle,:host(.disabled) .trailing{color:var(--text-disabled)}\n"] }]
46
+ }, template: "<span class=\"leading\">\n <ng-content select=\"[leading]\"></ng-content>\n</span>\n\n<!-- `[leading]` and `[trailing]` stay outside the activator: a control nested in a <button> is\n invalid and its click would bubble into `activated`. Legal because `role=\"listitem\"` allows\n interactive descendants, unlike `role=\"option\"`. -->\n@if (clickable()) {\n <button\n type=\"button\"\n class=\"activator\"\n [disabled]=\"disabled()\"\n (click)=\"activated.emit()\">\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n </button>\n} @else {\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n}\n\n<span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n</span>\n\n<ng-template #body>\n <span class=\"body\">\n @if (title()) {\n <span class=\"title\">\n {{ title() }}\n </span>\n }\n\n @if (subtitle()) {\n <span class=\"subtitle\">\n {{ subtitle() }}\n </span>\n }\n\n <ng-content></ng-content>\n </span>\n</ng-template>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_list-item-padding-y: var(--ds-list-item-padding-y, var(--list-item-pad-y));--_list-item-padding-x: var(--ds-list-item-padding-x, var(--list-item-pad-x));--_list-item-gap: var(--ds-list-item-gap, var(--list-item-gap));--_list-item-hover-bg-color: var(--ds-list-item-hover-bg-color, var(--surface-secondary));--_list-item-selected-bg-color: var(--ds-list-item-selected-bg-color, var(--accent-surface-tint));--_list-item-selected-label-color: var(--ds-list-item-selected-label-color, var(--accent-strong));--_list-item-selected-icon-color: var(--ds-list-item-selected-icon-color, var(--_list-item-selected-label-color));--_list-item-label-color: var(--ds-list-item-label-color, var(--text-primary));--_list-item-subtitle-color: var(--ds-list-item-subtitle-color, var(--text-tertiary));display:flex;align-items:center;gap:var(--_list-item-gap);padding:var(--_list-item-padding-y) var(--_list-item-padding-x);transition:background-color var(--duration-fast) var(--ease-standard)}.activator{display:flex;align-items:center;flex:1;min-width:0;padding:0;border:0;background:transparent;border-radius:var(--focus-ring-radius);color:var(--text-primary);font:inherit;text-align:left}button.activator{cursor:pointer}button.activator:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}button.activator:disabled{cursor:not-allowed}:host(:has(button.activator:hover)){background-color:var(--_list-item-hover-bg-color)}:host(:has(button.activator:active:not(:disabled))){background-color:var(--surface-muted)}.leading,.trailing{display:inline-flex;align-items:center;flex:none}.leading:empty,.trailing:empty{display:none}.trailing{color:var(--text-tertiary)}.body{display:flex;flex-direction:column;gap:var(--space-px);flex:1;min-width:0}.title{color:var(--_list-item-label-color);font:var(--font-weight-semibold) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.subtitle{color:var(--_list-item-subtitle-color);font:var(--font-weight-regular) var(--font-size-xs)/var(--line-height-base) var(--font-sans)}:host(.selected){background-color:var(--_list-item-selected-bg-color)}:host(.selected) .title{color:var(--_list-item-selected-label-color)}:host(.selected) .leading{color:var(--_list-item-selected-icon-color)}:host(.disabled) .title,:host(.disabled) .subtitle,:host(.disabled) .trailing{color:var(--text-disabled)}\n"] }]
47
47
  }], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], clickable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clickable", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], activated: [{ type: i0.Output, args: ["activated"] }] } });
48
48
 
49
49
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-list.mjs","sources":["../../../src/lib/components/list/list.component.ts","../../../src/lib/components/list/list-item.component.ts","../../../src/lib/components/list/list-item.component.html","../../../src/lib/components/list/ids-group-ltd-ids-design-system-components-list.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n} from '@angular/core';\n\n@Component({\n selector: 'ds-list',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './list.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'list',\n '[class.dividers]': 'dividers()',\n },\n})\nexport class ListComponent {\n /** Draw a hairline separator between adjacent items. */\n readonly dividers = input(true, { transform: booleanAttribute });\n}\n","import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n output,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'ds-list-item',\n standalone: true,\n imports: [NgTemplateOutlet],\n templateUrl: './list-item.component.html',\n styleUrl: './list-item.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n // A static `title=\"…\"` feeding the input below ALSO stays in the DOM as the global attribute,\n // which makes the host a native browser tooltip over everything inside it.\n host: {\n '[attr.title]': 'null',\n role: 'listitem',\n '[attr.aria-current]': \"selected() ? 'true' : null\",\n '[class.clickable]': 'clickable()',\n '[class.selected]': 'selected()',\n '[class.disabled]': 'disabled()',\n },\n})\nexport class ListItemComponent {\n /** Convenience text; richer middle content can be projected as default content. */\n readonly title = input<string>('');\n /** Secondary line below `title`. */\n readonly subtitle = input<string>('');\n /** Makes the row's text a button that emits `activated`. `[leading]` and\n * `[trailing]` stay outside it, so a row can hold its own controls as well. */\n readonly clickable = input(false, { transform: booleanAttribute });\n /** Marks the row current — `aria-current` and the selected tint. */\n readonly selected = input(false, { transform: booleanAttribute });\n /** Disables the row's own button. Controls projected into `[leading]` or\n * `[trailing]` keep their own disabled state. */\n readonly disabled = input(false, { transform: booleanAttribute });\n /** Fires when the clickable row's button is activated. */\n readonly activated = output<void>();\n}\n","<span class=\"leading\">\n <ng-content select=\"[leading]\"></ng-content>\n</span>\n\n<!-- `[leading]` and `[trailing]` are siblings of the activator, never inside it: a\n row that carries its own control (a checkbox, a kebab) alongside a row-level\n action cannot nest that control in a <button> — invalid, and its click would\n bubble into `activated`. Legal here because `role=\"listitem\"` places no\n restriction on interactive descendants, unlike `role=\"option\"`. -->\n@if (clickable()) {\n <button\n type=\"button\"\n class=\"activator\"\n [disabled]=\"disabled()\"\n (click)=\"activated.emit()\">\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n </button>\n} @else {\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n}\n\n<span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n</span>\n\n<ng-template #body>\n <span class=\"body\">\n @if (title()) {\n <span class=\"title\">\n {{ title() }}\n </span>\n }\n\n @if (subtitle()) {\n <span class=\"subtitle\">\n {{ subtitle() }}\n </span>\n }\n\n <ng-content></ng-content>\n </span>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAkBa,aAAa,CAAA;;IAEf,QAAQ,GAAG,KAAK,CAAC,IAAI,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;w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A,EAAA,CAAA,EAAA,CAAA;;4FAef,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAlB7B,SAAS;+BACE,cAAc,EAAA,UAAA,EACZ,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EAAA,aAAA,EAGZ,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EAGnC;AACJ,wBAAA,cAAc,EAAE,MAAM;AACtB,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,qBAAqB,EAAE,4BAA4B;AACnD,wBAAA,mBAAmB,EAAE,aAAa;AAClC,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,kBAAkB,EAAE,YAAY;AACjC,qBAAA,EAAA,QAAA,EAAA,4qCAAA,EAAA,MAAA,EAAA,CAAA,2yGAAA,CAAA,EAAA;;;AEzBH;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-components-list.mjs","sources":["../../../src/lib/components/list/list.component.ts","../../../src/lib/components/list/list-item.component.ts","../../../src/lib/components/list/list-item.component.html","../../../src/lib/components/list/ids-group-ltd-ids-design-system-components-list.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n} from '@angular/core';\n\n@Component({\n selector: 'ds-list',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './list.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'list',\n '[class.dividers]': 'dividers()',\n },\n})\nexport class ListComponent {\n /** Hairline separator between adjacent items. */\n readonly dividers = input(true, { transform: booleanAttribute });\n}\n","import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n output,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'ds-list-item',\n standalone: true,\n imports: [NgTemplateOutlet],\n templateUrl: './list-item.component.html',\n styleUrl: './list-item.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.title]': 'null',\n role: 'listitem',\n '[attr.aria-current]': \"selected() ? 'true' : null\",\n '[class.clickable]': 'clickable()',\n '[class.selected]': 'selected()',\n '[class.disabled]': 'disabled()',\n },\n})\nexport class ListItemComponent {\n /** Row text; richer content can be projected instead. */\n readonly title = input<string>('');\n /** Secondary line below `title`. */\n readonly subtitle = input<string>('');\n /** Makes the row's text a button that emits `activated`. `[leading]` and\n * `[trailing]` stay outside it, so a row can hold its own controls as well. */\n readonly clickable = input(false, { transform: booleanAttribute });\n /** Marks the row current: `aria-current` and the selected tint. */\n readonly selected = input(false, { transform: booleanAttribute });\n /** Disables the row's own button. Controls projected into `[leading]` or\n * `[trailing]` keep their own disabled state. */\n readonly disabled = input(false, { transform: booleanAttribute });\n /** Fires when the clickable row's button is activated. */\n readonly activated = output<void>();\n}\n","<span class=\"leading\">\n <ng-content select=\"[leading]\"></ng-content>\n</span>\n\n<!-- `[leading]` and `[trailing]` stay outside the activator: a control nested in a <button> is\n invalid and its click would bubble into `activated`. Legal because `role=\"listitem\"` allows\n interactive descendants, unlike `role=\"option\"`. -->\n@if (clickable()) {\n <button\n type=\"button\"\n class=\"activator\"\n [disabled]=\"disabled()\"\n (click)=\"activated.emit()\">\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n </button>\n} @else {\n <ng-container [ngTemplateOutlet]=\"body\"></ng-container>\n}\n\n<span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n</span>\n\n<ng-template #body>\n <span class=\"body\">\n @if (title()) {\n <span class=\"title\">\n {{ title() }}\n </span>\n }\n\n @if (subtitle()) {\n <span class=\"subtitle\">\n {{ subtitle() }}\n </span>\n }\n\n <ng-content></ng-content>\n </span>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAkBa,aAAa,CAAA;;IAEf,QAAQ,GAAG,KAAK,CAAC,IAAI,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;wGAFrD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,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AAA,UAAA,EAAA,CAAA;kBAhB7B,SAAS;+BACE,cAAc,EAAA,UAAA,EACZ,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EAAA,aAAA,EAGZ,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,cAAc,EAAE,MAAM;AACtB,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,qBAAqB,EAAE,4BAA4B;AACnD,wBAAA,mBAAmB,EAAE,aAAa;AAClC,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,kBAAkB,EAAE,YAAY;AACjC,qBAAA,EAAA,QAAA,EAAA,khCAAA,EAAA,MAAA,EAAA,CAAA,2yGAAA,CAAA,EAAA;;;AEvBH;;AAEG;;;;"}
@@ -11,28 +11,23 @@ class LoadingOverlayComponent {
11
11
  blur = input(true, { ...(ngDevMode ? { debugName: "blur" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
12
12
  /** Size of the spinner shown in the scrim. */
13
13
  spinnerSize = input('md', ...(ngDevMode ? [{ debugName: "spinnerSize" }] : /* istanbul ignore next */ []));
14
- /** Offset the scrim top edge — useful when a sticky header should stay uncovered. */
14
+ /** Offset the scrim top edge, e.g. to keep a sticky header uncovered. */
15
15
  insetTop = input('0', ...(ngDevMode ? [{ debugName: "insetTop" }] : /* istanbul ignore next */ []));
16
16
  /**
17
17
  * Whether the projected content goes `inert` while the scrim is up. On by
18
- * default, because a scrim that only stops the POINTER is the bug this exists
19
- * to prevent: focus walks straight under it, and a keyboard user activates a
20
- * control the mouse cannot even reach.
21
- *
22
- * Turn it off only when the scrim covers part of the content (`insetTop`), and
23
- * then mark the covered subtree `inert` yourself — a blanket flag would take
24
- * the uncovered part with it. `ds-table` does exactly that: the scrim starts
25
- * below the header, so sorting during a refresh stays possible.
18
+ * default, so focus cannot walk under the scrim. Turn it off only when the
19
+ * scrim covers part of the content (`insetTop`) and mark the covered subtree
20
+ * `inert` yourself.
26
21
  */
27
22
  inertContent = input(true, { ...(ngDevMode ? { debugName: "inertContent" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
28
23
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: LoadingOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: LoadingOverlayComponent, isStandalone: true, selector: "ds-loading-overlay", inputs: { loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, blur: { classPropertyName: "blur", publicName: "blur", isSignal: true, isRequired: false, transformFunction: null }, spinnerSize: { classPropertyName: "spinnerSize", publicName: "spinnerSize", isSignal: true, isRequired: false, transformFunction: null }, insetTop: { classPropertyName: "insetTop", publicName: "insetTop", isSignal: true, isRequired: false, transformFunction: null }, inertContent: { classPropertyName: "inertContent", publicName: "inertContent", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-busy": "loading() ? \"true\" : null" } }, ngImport: i0, template: "<div\n class=\"content\"\n [attr.inert]=\"loading() && inertContent() ? '' : null\">\n <ng-content></ng-content>\n</div>\n\n@if (loading()) {\n <div\n class=\"scrim\"\n [class.blur]=\"blur()\"\n [style.top]=\"insetTop()\">\n <ds-spinner [size]=\"spinnerSize()\" />\n\n @if (label()) {\n <span class=\"label\">\n {{ label() }}\n </span>\n }\n </div>\n}\n", styles: ["@charset \"UTF-8\";:host{display:block;position:relative;--_loading-overlay-scrim-color: var(--ds-loading-overlay-scrim-color, color-mix( in srgb, var(--surface-canvas) calc(var(--opacity-scrim) * 100%), transparent ));--_loading-overlay-label-color: var(--ds-loading-overlay-label-color, var(--text-secondary));--_loading-overlay-enter-keyframes: var(--ds-loading-overlay-enter-keyframes, ds-fade-in);--_loading-overlay-enter-duration: var(--ds-loading-overlay-enter-duration, var(--duration-fast));--_loading-overlay-enter-easing: var(--ds-loading-overlay-enter-easing, var(--ease-standard));--_ds-enter-scale: var(--ds-loading-overlay-enter-scale, .96)}@media(prefers-reduced-motion:reduce){:host{--_loading-overlay-enter-duration: 0ms}}.content{display:contents}.scrim{position:absolute;inset:0;z-index:var(--layer-raised);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);background-color:var(--_loading-overlay-scrim-color);animation-name:var(--_loading-overlay-enter-keyframes);animation-duration:var(--_loading-overlay-enter-duration);animation-timing-function:var(--_loading-overlay-enter-easing)}.scrim.blur{-webkit-backdrop-filter:blur(var(--blur-sm));backdrop-filter:blur(var(--blur-sm))}.label{color:var(--_loading-overlay-label-color);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-base) var(--font-sans)}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "ds-spinner", inputs: ["size"] }] });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: LoadingOverlayComponent, isStandalone: true, selector: "ds-loading-overlay", inputs: { loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, blur: { classPropertyName: "blur", publicName: "blur", isSignal: true, isRequired: false, transformFunction: null }, spinnerSize: { classPropertyName: "spinnerSize", publicName: "spinnerSize", isSignal: true, isRequired: false, transformFunction: null }, insetTop: { classPropertyName: "insetTop", publicName: "insetTop", isSignal: true, isRequired: false, transformFunction: null }, inertContent: { classPropertyName: "inertContent", publicName: "inertContent", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-busy": "loading() ? \"true\" : null" } }, ngImport: i0, template: "<div\n class=\"content\"\n [attr.inert]=\"loading() && inertContent() ? '' : null\">\n <ng-content></ng-content>\n</div>\n\n@if (loading()) {\n <div\n class=\"scrim\"\n [class.blur]=\"blur()\"\n [style.top]=\"insetTop()\">\n <ds-spinner [size]=\"spinnerSize()\" />\n\n @if (label()) {\n <span class=\"label\">\n {{ label() }}\n </span>\n }\n </div>\n}\n", styles: [":host{display:block;position:relative;--_loading-overlay-scrim-color: var(--ds-loading-overlay-scrim-color, color-mix( in srgb, var(--surface-canvas) calc(var(--opacity-scrim) * 100%), transparent ));--_loading-overlay-label-color: var(--ds-loading-overlay-label-color, var(--text-secondary));--_loading-overlay-enter-keyframes: var(--ds-loading-overlay-enter-keyframes, ds-fade-in);--_loading-overlay-enter-duration: var(--ds-loading-overlay-enter-duration, var(--duration-fast));--_loading-overlay-enter-easing: var(--ds-loading-overlay-enter-easing, var(--ease-standard));--_ds-enter-scale: var(--ds-loading-overlay-enter-scale, .96)}@media(prefers-reduced-motion:reduce){:host{--_loading-overlay-enter-duration: 0ms}}.content{display:contents}.scrim{position:absolute;inset:0;z-index:var(--layer-raised);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);background-color:var(--_loading-overlay-scrim-color);animation-name:var(--_loading-overlay-enter-keyframes);animation-duration:var(--_loading-overlay-enter-duration);animation-timing-function:var(--_loading-overlay-enter-easing)}.scrim.blur{-webkit-backdrop-filter:blur(var(--blur-sm));backdrop-filter:blur(var(--blur-sm))}.label{color:var(--_loading-overlay-label-color);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-base) var(--font-sans)}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "ds-spinner", inputs: ["size"] }] });
30
25
  }
31
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: LoadingOverlayComponent, decorators: [{
32
27
  type: Component,
33
28
  args: [{ selector: 'ds-loading-overlay', standalone: true, imports: [SpinnerComponent], encapsulation: ViewEncapsulation.Emulated, host: {
34
29
  '[attr.aria-busy]': 'loading() ? "true" : null',
35
- }, template: "<div\n class=\"content\"\n [attr.inert]=\"loading() && inertContent() ? '' : null\">\n <ng-content></ng-content>\n</div>\n\n@if (loading()) {\n <div\n class=\"scrim\"\n [class.blur]=\"blur()\"\n [style.top]=\"insetTop()\">\n <ds-spinner [size]=\"spinnerSize()\" />\n\n @if (label()) {\n <span class=\"label\">\n {{ label() }}\n </span>\n }\n </div>\n}\n", styles: ["@charset \"UTF-8\";:host{display:block;position:relative;--_loading-overlay-scrim-color: var(--ds-loading-overlay-scrim-color, color-mix( in srgb, var(--surface-canvas) calc(var(--opacity-scrim) * 100%), transparent ));--_loading-overlay-label-color: var(--ds-loading-overlay-label-color, var(--text-secondary));--_loading-overlay-enter-keyframes: var(--ds-loading-overlay-enter-keyframes, ds-fade-in);--_loading-overlay-enter-duration: var(--ds-loading-overlay-enter-duration, var(--duration-fast));--_loading-overlay-enter-easing: var(--ds-loading-overlay-enter-easing, var(--ease-standard));--_ds-enter-scale: var(--ds-loading-overlay-enter-scale, .96)}@media(prefers-reduced-motion:reduce){:host{--_loading-overlay-enter-duration: 0ms}}.content{display:contents}.scrim{position:absolute;inset:0;z-index:var(--layer-raised);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);background-color:var(--_loading-overlay-scrim-color);animation-name:var(--_loading-overlay-enter-keyframes);animation-duration:var(--_loading-overlay-enter-duration);animation-timing-function:var(--_loading-overlay-enter-easing)}.scrim.blur{-webkit-backdrop-filter:blur(var(--blur-sm));backdrop-filter:blur(var(--blur-sm))}.label{color:var(--_loading-overlay-label-color);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-base) var(--font-sans)}\n"] }]
30
+ }, template: "<div\n class=\"content\"\n [attr.inert]=\"loading() && inertContent() ? '' : null\">\n <ng-content></ng-content>\n</div>\n\n@if (loading()) {\n <div\n class=\"scrim\"\n [class.blur]=\"blur()\"\n [style.top]=\"insetTop()\">\n <ds-spinner [size]=\"spinnerSize()\" />\n\n @if (label()) {\n <span class=\"label\">\n {{ label() }}\n </span>\n }\n </div>\n}\n", styles: [":host{display:block;position:relative;--_loading-overlay-scrim-color: var(--ds-loading-overlay-scrim-color, color-mix( in srgb, var(--surface-canvas) calc(var(--opacity-scrim) * 100%), transparent ));--_loading-overlay-label-color: var(--ds-loading-overlay-label-color, var(--text-secondary));--_loading-overlay-enter-keyframes: var(--ds-loading-overlay-enter-keyframes, ds-fade-in);--_loading-overlay-enter-duration: var(--ds-loading-overlay-enter-duration, var(--duration-fast));--_loading-overlay-enter-easing: var(--ds-loading-overlay-enter-easing, var(--ease-standard));--_ds-enter-scale: var(--ds-loading-overlay-enter-scale, .96)}@media(prefers-reduced-motion:reduce){:host{--_loading-overlay-enter-duration: 0ms}}.content{display:contents}.scrim{position:absolute;inset:0;z-index:var(--layer-raised);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);background-color:var(--_loading-overlay-scrim-color);animation-name:var(--_loading-overlay-enter-keyframes);animation-duration:var(--_loading-overlay-enter-duration);animation-timing-function:var(--_loading-overlay-enter-easing)}.scrim.blur{-webkit-backdrop-filter:blur(var(--blur-sm));backdrop-filter:blur(var(--blur-sm))}.label{color:var(--_loading-overlay-label-color);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-base) var(--font-sans)}\n"] }]
36
31
  }], propDecorators: { loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], blur: [{ type: i0.Input, args: [{ isSignal: true, alias: "blur", required: false }] }], spinnerSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "spinnerSize", required: false }] }], insetTop: [{ type: i0.Input, args: [{ isSignal: true, alias: "insetTop", required: false }] }], inertContent: [{ type: i0.Input, args: [{ isSignal: true, alias: "inertContent", required: false }] }] } });
37
32
 
38
33
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-loading-overlay.mjs","sources":["../../../src/lib/components/loading-overlay/loading-overlay.component.ts","../../../src/lib/components/loading-overlay/loading-overlay.component.html","../../../src/lib/components/loading-overlay/ids-group-ltd-ids-design-system-components-loading-overlay.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n} from '@angular/core';\nimport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nimport type { DsSize } from '@ids-group-ltd/ids-design-system/core';\n\n@Component({\n selector: 'ds-loading-overlay',\n standalone: true,\n imports: [SpinnerComponent],\n templateUrl: './loading-overlay.component.html',\n styleUrl: './loading-overlay.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.aria-busy]': 'loading() ? \"true\" : null',\n },\n})\nexport class LoadingOverlayComponent {\n /** Show the scrim + spinner over the projected region. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Optional caption beneath the spinner. */\n readonly label = input<string>('');\n /** Backdrop-blur the projected content behind the scrim. */\n readonly blur = input(true, { transform: booleanAttribute });\n /** Size of the spinner shown in the scrim. */\n readonly spinnerSize = input<DsSize>('md');\n /** Offset the scrim top edge — useful when a sticky header should stay uncovered. */\n readonly insetTop = input<string>('0');\n\n /**\n * Whether the projected content goes `inert` while the scrim is up. On by\n * default, because a scrim that only stops the POINTER is the bug this exists\n * to prevent: focus walks straight under it, and a keyboard user activates a\n * control the mouse cannot even reach.\n *\n * Turn it off only when the scrim covers part of the content (`insetTop`), and\n * then mark the covered subtree `inert` yourself — a blanket flag would take\n * the uncovered part with it. `ds-table` does exactly that: the scrim starts\n * below the header, so sorting during a refresh stays possible.\n */\n readonly inertContent = input(true, { transform: booleanAttribute });\n}\n","<div\n class=\"content\"\n [attr.inert]=\"loading() && inertContent() ? '' : null\">\n <ng-content></ng-content>\n</div>\n\n@if (loading()) {\n <div\n class=\"scrim\"\n [class.blur]=\"blur()\"\n [style.top]=\"insetTop()\">\n <ds-spinner [size]=\"spinnerSize()\" />\n\n @if (label()) {\n <span class=\"label\">\n {{ label() }}\n </span>\n }\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAoBa,uBAAuB,CAAA;;IAEzB,OAAO,GAAG,KAAK,CAAC,KAAK,+EA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A,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,6BAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECpBpC,2YAoBA,EAAA,MAAA,EAAA,CAAA,82CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDRY,gBAAgB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAQf,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAXnC,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EAAA,aAAA,EAGZ,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,kBAAkB,EAAE,2BAA2B;AAChD,qBAAA,EAAA,QAAA,EAAA,2YAAA,EAAA,MAAA,EAAA,CAAA,82CAAA,CAAA,EAAA;;;AElBH;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-components-loading-overlay.mjs","sources":["../../../src/lib/components/loading-overlay/loading-overlay.component.ts","../../../src/lib/components/loading-overlay/loading-overlay.component.html","../../../src/lib/components/loading-overlay/ids-group-ltd-ids-design-system-components-loading-overlay.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n} from '@angular/core';\nimport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nimport type { DsSize } from '@ids-group-ltd/ids-design-system/core';\n\n@Component({\n selector: 'ds-loading-overlay',\n standalone: true,\n imports: [SpinnerComponent],\n templateUrl: './loading-overlay.component.html',\n styleUrl: './loading-overlay.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.aria-busy]': 'loading() ? \"true\" : null',\n },\n})\nexport class LoadingOverlayComponent {\n /** Show the scrim + spinner over the projected region. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Optional caption beneath the spinner. */\n readonly label = input<string>('');\n /** Backdrop-blur the projected content behind the scrim. */\n readonly blur = input(true, { transform: booleanAttribute });\n /** Size of the spinner shown in the scrim. */\n readonly spinnerSize = input<DsSize>('md');\n /** Offset the scrim top edge, e.g. to keep a sticky header uncovered. */\n readonly insetTop = input<string>('0');\n\n /**\n * Whether the projected content goes `inert` while the scrim is up. On by\n * default, so focus cannot walk under the scrim. Turn it off only when the\n * scrim covers part of the content (`insetTop`) and mark the covered subtree\n * `inert` yourself.\n */\n readonly inertContent = input(true, { transform: booleanAttribute });\n}\n","<div\n class=\"content\"\n [attr.inert]=\"loading() && inertContent() ? '' : null\">\n <ng-content></ng-content>\n</div>\n\n@if (loading()) {\n <div\n class=\"scrim\"\n [class.blur]=\"blur()\"\n [style.top]=\"insetTop()\">\n <ds-spinner [size]=\"spinnerSize()\" />\n\n @if (label()) {\n <span class=\"label\">\n {{ label() }}\n </span>\n }\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAoBa,uBAAuB,CAAA;;IAEzB,OAAO,GAAG,KAAK,CAAC,KAAK,+EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;AAEvD,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;;IAEzB,IAAI,GAAG,KAAK,CAAC,IAAI,4EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;AAEnD,IAAA,WAAW,GAAG,KAAK,CAAS,IAAI,kFAAC;;AAEjC,IAAA,QAAQ,GAAG,KAAK,CAAS,GAAG,+EAAC;AAEtC;;;;;AAKG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