@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
@@ -3,12 +3,9 @@ import { InjectionToken, inject, computed, isDevMode, effect, signal, LOCALE_ID
3
3
  /**
4
4
  * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.
5
5
  *
6
- * `click` cannot be trusted there: the browser fires it at the nearest common
7
- * ancestor of the press and the release, so a drag that starts inside the dialog and
8
- * ends on the backdrop fires `click` ON THE BACKDROP, and a
9
- * `target === currentTarget` check waves it through. Hence tracking the press:
10
- * dismiss only when press AND release both land on the backdrop itself. `ds-drawer` needs none of this because its scrim
11
- * is a SIBLING of the panel, which makes their common ancestor a third element.
6
+ * `click` cannot be trusted there: it fires at the nearest common ancestor of press and release,
7
+ * so a drag from inside the dialog to the backdrop fires `click` ON THE BACKDROP. Dismiss only
8
+ * when press AND release both land on the backdrop itself.
12
9
  * @internal
13
10
  */
14
11
  function backdropDismiss() {
@@ -31,28 +28,27 @@ function backdropDismiss() {
31
28
  const DS_CONFIG = new InjectionToken('DS_CONFIG', {
32
29
  factory: () => ({}),
33
30
  });
34
- /** Provide DS-level defaults.
31
+ /** Provides DS-level defaults: `providers: [provideDsConfig({ control: { size: 'sm' } })]`.
35
32
  *
36
- * providers: [provideDsConfig({ control: { size: 'sm' } })]
33
+ * Works at the app root, on a `Route`, or on a component/directive. Component inputs still win.
37
34
  *
38
- * Works at the app root, on a `Route`, or on a component/directive — the config
39
- * resolves through the element-injector chain, so a subtree can differ from the
40
- * app. Component inputs (e.g. `<ds-card padding="lg">`) still win.
41
- *
42
- * A nested call MERGES with the config above it section by section; only the keys
43
- * you name are replaced. ONE call per injector, though: two in the SAME
44
- * `providers` array both resolve their parent with `skipSelf`, so the later wins
45
- * and the earlier is silently lost.
35
+ * A nested call MERGES with the config above it section by section; only the keys you name are
36
+ * replaced. Several calls in one `providers` array merge in order, the later winning per key.
46
37
  */
47
38
  function provideDsConfig(config) {
48
- return { provide: DS_CONFIG, useFactory: () => inheritDsConfig(config) };
39
+ return [
40
+ { provide: DS_CONFIG_LAYERS, useValue: config, multi: true },
41
+ { provide: DS_CONFIG, useFactory: mergeDsConfigLayers },
42
+ ];
43
+ }
44
+ const DS_CONFIG_LAYERS = new InjectionToken('DS_CONFIG_LAYERS');
45
+ function mergeDsConfigLayers() {
46
+ return inject(DS_CONFIG_LAYERS, { self: true }).reduce(mergeDsConfig, inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {});
49
47
  }
50
48
  /**
51
- * The factory body behind `provideDsConfig`, exported so a directive can put the
52
- * provider in its metadata as a plain object literal. Calling `provideDsConfig`
53
- * there instead runs at module-evaluation time, which makes the module
54
- * side-effectful and costs the consumer its tree-shaking (measured at +566 kB
55
- * moved into the eager chunk).
49
+ * The factory body behind `provideDsConfig`, exported so a directive can put the provider in its
50
+ * metadata as an object literal: calling `provideDsConfig` there makes the module side-effectful
51
+ * and defeats tree-shaking.
56
52
  *
57
53
  * Must be called from an injection context.
58
54
  */
@@ -75,9 +71,8 @@ function mergeDsConfig(parent, own) {
75
71
  /**
76
72
  * Resolve an input against `DS_CONFIG`, then a built-in default.
77
73
  *
78
- * The input must be typed `T | null` and default to `null`: a signal input cannot
79
- * report whether it was bound, so `null` is what separates "not set" from an explicit
80
- * value. Precedence is input → config → built-in. Call from an injection context.
74
+ * The input must be typed `T | null` and default to `null`: a signal input cannot report
75
+ * whether it was bound. Precedence is input → config → built-in. Call from an injection context.
81
76
  * @internal
82
77
  */
83
78
  function resolveWithConfig(value, pick, fallback) {
@@ -86,23 +81,14 @@ function resolveWithConfig(value, pick, fallback) {
86
81
  }
87
82
 
88
83
  /**
89
- * Warns once per distinct message, not once per recomputation: the effect re-runs whenever any
90
- * signal the condition reads changes, so without that a static misconfiguration would log again
91
- * on every keystroke.
92
- *
93
- * Returning the message from the condition keeps the two together — a condition
94
- * that drifts from its message is how a warning ends up describing a state that
95
- * cannot happen any more.
84
+ * Warns once per distinct message: the effect re-runs whenever a signal the condition reads
85
+ * changes, so a static misconfiguration would otherwise log on every keystroke.
96
86
  *
97
87
  * Must be called from an injection context.
98
88
  *
99
- * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`. That is
100
- * a BUILD-time expression, not a repeat of the `isDevMode()` below: the intent is for
101
- * a minifier to fold it and drop the message with it, which `isDevMode()` — an opaque
102
- * call — can never allow. It cannot become a helper function for the same reason.
103
- *
104
- * It does work: `ds-stat`, `ds-split-button` and `ds-toast-region` keep no message text in the
105
- * shipped bundle.
89
+ * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`: a BUILD-time
90
+ * expression a minifier folds away with the message, which the opaque `isDevMode()` call never
91
+ * allows. It cannot become a helper function for the same reason.
106
92
  * @internal
107
93
  */
108
94
  function devWarn(message) {
@@ -121,12 +107,10 @@ function devWarn(message) {
121
107
  }
122
108
 
123
109
  /**
124
- * The two ways `announce` on `ds-banner` / `ds-alert` goes wrong without anyone deciding it. An
125
- * assertive element left unbound while the app has not set `DS_CONFIG.<section>.announce` is one a
126
- * screen reader will not hear; a polite one that announces only because that key is `true` is
127
- * nearly always page furniture written after the key was adopted. Each warns once per instance,
128
- * in dev mode only; the caller wraps the call in the `typeof ngDevMode` guard (see `devWarn`).
129
- * Must be called from an injection context.
110
+ * Warns about two undecided `announce` cases on `ds-banner` / `ds-alert`: an assertive element
111
+ * left unbound while `DS_CONFIG.<section>.announce` is unset (not heard), and a polite one that
112
+ * announces only because that key is `true`. Once per instance, dev mode only; the caller wraps
113
+ * the call in the `typeof ngDevMode` guard (see `devWarn`). Must be called from an injection context.
130
114
  * @internal
131
115
  */
132
116
  function warnAnnounceOversight(tag, section, state) {
@@ -437,25 +421,24 @@ const DS_INTL = new InjectionToken('DS_INTL', {
437
421
  * providers: [provideDsIntl({ picker: { selectAll: 'Выбрать все' } })]
438
422
  *
439
423
  * Pass an object for a fixed language, or a factory returning a signal for a language that
440
- * changes at runtime; the factory runs in an injection context, so it can inject the app's own
441
- * language service:
424
+ * changes at runtime (the factory runs in an injection context):
442
425
  *
443
426
  * provideDsIntl(() => { const language = inject(LanguageService); return computed(() => language.dictionary().ds); })
444
427
  *
445
- * Works at the root, on a `Route` or on a component. A nested call MERGES with the one above it
446
- * section by section, for the reason given on `provideDsConfig`. Numbers and dates do not come
447
- * from here: they follow `DsConfig.locale`, then `LOCALE_ID`. */
428
+ * Works at the root, on a `Route` or on a component; a nested call MERGES section by section,
429
+ * as `provideDsConfig` does, and several calls in one `providers` array merge in order. Numbers
430
+ * and dates follow `DsConfig.locale`, then `LOCALE_ID`. */
448
431
  function provideDsIntl(overrides) {
449
- return {
450
- provide: DS_INTL,
451
- useFactory: () => {
452
- const parent = inject(DS_INTL, { skipSelf: true, optional: true }) ?? DEFAULTS;
453
- const own = typeof overrides === 'function'
454
- ? overrides()
455
- : signal(overrides).asReadonly();
456
- return computed(() => mergeDsIntl(parent(), own()));
457
- },
458
- };
432
+ return [
433
+ { provide: DS_INTL_LAYERS, useValue: overrides, multi: true },
434
+ { provide: DS_INTL, useFactory: mergeDsIntlLayers },
435
+ ];
436
+ }
437
+ const DS_INTL_LAYERS = new InjectionToken('DS_INTL_LAYERS');
438
+ function mergeDsIntlLayers() {
439
+ const parent = inject(DS_INTL, { skipSelf: true, optional: true }) ?? DEFAULTS;
440
+ const layers = inject(DS_INTL_LAYERS, { self: true }).map((layer) => typeof layer === 'function' ? layer() : signal(layer).asReadonly());
441
+ return computed(() => layers.reduce((merged, layer) => mergeDsIntl(merged, layer()), parent()));
459
442
  }
460
443
  function mergeDsIntl(parent, own) {
461
444
  const merged = { ...parent };
@@ -477,13 +460,8 @@ function injectDsLocale() {
477
460
  }
478
461
 
479
462
  /**
480
- * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends
481
- * `undefined` when the schema sets no bound. The DS spells an absent bound as
482
- * `null`, so the write type has to accept both while the read type stays what it
483
- * always was — otherwise every internal use and every consumer moves for nothing.
484
- *
485
- * Declared once here because it was copy-pasted across three controls, and an
486
- * explanation in three places is an explanation that drifts in two of them.
463
+ * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends `undefined`
464
+ * for no bound; the DS spells it `null`, so the write type accepts both.
487
465
  * @internal
488
466
  */
489
467
  function optionalBound(value) {
@@ -579,11 +557,7 @@ const ICONS = {
579
557
  mail: '<rect x="3" y="5" width="18" height="14" rx="2" /><path d="m3 7 9 6 9-6" />',
580
558
  'eye-off': '<path d="M3 3l18 18" /><path d="M10.6 6.1A10 10 0 0 1 12 6c6 0 10 7 10 7a14 14 0 0 1-2.4 3.1" /><path d="M6.7 6.7A14 14 0 0 0 2 12s4 7 10 7a10 10 0 0 0 4.5-1" /><path d="M9.9 14.1A3 3 0 0 1 9 12a3 3 0 0 1 3-3 3 3 0 0 1 2.1.9" />',
581
559
  'check-circle': '<circle cx="12" cy="12" r="9" /><path d="m8 12 3 3 5-6" />',
582
- // r=8, not the 9 of check-circle: this is the empty counterpart of a tick, and
583
- // at 14px a ring the same size as the filled state reads as the heavier of the
584
- // two rather than the lighter.
585
560
  circle: '<circle cx="12" cy="12" r="8" />',
586
- // Drag handle: 6 dots in 2 cols × 3 rows. Use 1.6 radius to read at 12-16px.
587
561
  drag: '<circle cx="9" cy="6" r="1.6" /><circle cx="15" cy="6" r="1.6" /><circle cx="9" cy="12" r="1.6" /><circle cx="15" cy="12" r="1.6" /><circle cx="9" cy="18" r="1.6" /><circle cx="15" cy="18" r="1.6" />',
588
562
  scan: '<path d="M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3" />',
589
563
  wifi: '<path d="M2 9.5a15 15 0 0 1 20 0" /><path d="M5 13a10 10 0 0 1 14 0" /><path d="M8.5 16.5a5 5 0 0 1 7 0" /><path d="M12 20h.01" />',
@@ -601,8 +575,7 @@ const NON_TEXT_INPUT_TYPES = new Set([
601
575
  'reset',
602
576
  'submit',
603
577
  ]);
604
- /** True when the key landed on a control that consumes its own keystrokes, so a
605
- * container listening on the way up must leave the event alone.
578
+ /** True when the key landed on a control that consumes its own keystrokes.
606
579
  * @internal
607
580
  */
608
581
  function isTextEntryTarget(event) {
@@ -623,12 +596,8 @@ function isTextEntryTarget(event) {
623
596
 
624
597
  /** True when `element` is showing less text than it holds, horizontally.
625
598
  *
626
- * Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the
627
- * wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house
628
- * `single-line-ellipsis` mixin earn a disclosure.
629
- *
630
- * Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its
631
- * `clientWidth`, so a caller that clamps has to compare line counts instead.
599
+ * Descendants count: a template-driven cell puts the ellipsis on a child. Only horizontal:
600
+ * a clamped block hides whole LINES with `scrollWidth` equal to `clientWidth`.
632
601
  */
633
602
  function isTextClipped(element) {
634
603
  if (element.scrollWidth > element.clientWidth) {
@@ -660,9 +629,7 @@ function lastEnabledIndex(list) {
660
629
  /**
661
630
  * The next enabled index `step` away from `from`, wrapping at both ends.
662
631
  *
663
- * `from` of -1 means "no cursor yet": stepping forward lands on the first
664
- * enabled entry and stepping back on the last, which is what a reader expects
665
- * from a freshly opened panel.
632
+ * `from` of -1 means "no cursor yet".
666
633
  * @internal
667
634
  */
668
635
  function nextEnabledIndex(list, from, step) {
@@ -690,9 +657,8 @@ function isDsOptionGroup(item) {
690
657
  function flattenDsOptions(items) {
691
658
  return items.flatMap((item) => isDsOptionGroup(item)
692
659
  ? item.options.map((option) =>
693
- // Only copy when the flag is not already there: the pickers pre-apply a
694
- // disabled group to the options THEY render, and a second copy here
695
- // would break the object identity their flat-index lookup compares by.
660
+ // Copy only when the flag is missing: pickers pre-apply a disabled group to the options
661
+ // they render, and a second copy would break the identity their flat-index lookup uses.
696
662
  item.disabled && !option.disabled
697
663
  ? { ...option, disabled: true }
698
664
  : option)
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-core.mjs","sources":["../../../src/lib/core/backdrop-dismiss.ts","../../../src/lib/core/ds-config.ts","../../../src/lib/core/config-defaults.ts","../../../src/lib/core/dev-warning.ts","../../../src/lib/core/announce-warning.ts","../../../src/lib/core/ds-intl-defaults.ts","../../../src/lib/core/ds-intl.ts","../../../src/lib/core/ds-locale.ts","../../../src/lib/core/field-bounds.ts","../../../src/lib/core/icon-names.ts","../../../src/lib/core/key-target.ts","../../../src/lib/core/text-clip.ts","../../../src/lib/core/list-cursor.ts","../../../src/lib/core/option.ts","../../../src/lib/core/ids-group-ltd-ids-design-system-core.ts"],"sourcesContent":["/**\n * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.\n *\n * `click` cannot be trusted there: the browser fires it at the nearest common\n * ancestor of the press and the release, so a drag that starts inside the dialog and\n * ends on the backdrop fires `click` ON THE BACKDROP, and a\n * `target === currentTarget` check waves it through. Hence tracking the press:\n * dismiss only when press AND release both land on the backdrop itself. `ds-drawer` needs none of this because its scrim\n * is a SIBLING of the panel, which makes their common ancestor a third element.\n * @internal\n */\nexport function backdropDismiss(): {\n down: (event: PointerEvent) => void;\n shouldDismiss: (event: PointerEvent) => boolean;\n} {\n let pressedOnBackdrop = false;\n\n return {\n down(event: PointerEvent): void {\n pressedOnBackdrop =\n event.button === 0 && event.target === event.currentTarget;\n },\n shouldDismiss(event: PointerEvent): boolean {\n const dismiss =\n pressedOnBackdrop &&\n event.button === 0 &&\n event.target === event.currentTarget;\n pressedOnBackdrop = false;\n\n return dismiss;\n },\n };\n}\n","import { InjectionToken, Provider, inject } from '@angular/core';\nimport type { IconName } from './icon-names';\nimport type { DsSize } from './size';\nimport type { CardElevation, CardPadding } from './card.types';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartRendering,\n ChartValueFormat,\n} from './chart.types';\nimport type { DsToastPosition } from './toast-position';\nimport type { PaginationLayout } from './pagination.types';\n\nexport interface DsConfig {\n /** BCP-47 locale every component formats numbers and dates in - chart values and\n * percentages, `ds-date-picker`, file sizes in `ds-dropzone`. Default is Angular's\n * `LOCALE_ID`, which is `'en-US'` unless the app provides it, so the library prints numbers\n * the way the app's own `| number` does. Set it here only where the library must differ\n * from `LOCALE_ID`. A section key that names a locale (`datePicker.locale`) wins over this. */\n locale?: string;\n field?: {\n /** Default for every field's `reserveMessage` — keeps a message line's worth\n * of space even when empty. Default `false`. Setting `true` here applies to\n * EVERY field in the injector's subtree, which is rarely what a whole app\n * wants; prefer `dsReserveMessages` on the individual form that validates. */\n reserveMessage?: boolean;\n /** Fallback text per validation-error kind, for errors whose validator did\n * not carry a `message` — Angular's built-ins never do, so this is where\n * `required`, `minlength`, `email` and friends get their wording. A message\n * on the error itself always wins, so one shared map here plus a per-case\n * override at the validator covers both. Unmapped kinds warn in dev. */\n errorMessages?: Record<string, string>;\n /** Leading glyph on a field's message line, per state. Defaults carry one for\n * `error`, `warning` and `success` and NONE for `hint`, which is resting text\n * rather than a state. Each key is independent — a glyph name replaces the\n * default, `false` removes it, and `stateIcons: false` removes all four.\n *\n * The glyphs exist because warning and success differ from each other by hue\n * and nothing else, which WCAG 1.4.1 forbids a state from resting on. */\n stateIcons?:\n | false\n | {\n error?: IconName | false;\n warning?: IconName | false;\n success?: IconName | false;\n /** The `default` state — the hint line. Off unless set. */\n hint?: IconName | false;\n };\n };\n breadcrumbs?: {\n separator?: IconName;\n clickable?: boolean;\n };\n timePicker?: {\n /** Display format for `ds-time-picker` / date-picker time — 24h or 12h AM/PM. Default `'24h'`. */\n format?: '24h' | '12h';\n };\n avatar?: {\n /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule\n * takes the first two words, which is a Latin-script guess — an app whose names\n * follow another convention supplies its own here. */\n initials?: (name: string) => string;\n };\n brand?: {\n /** Brand text for `ds-sidenav` and `ds-auth-layout` — the wordmark, and the\n * source of the letter-mark's glyph when `logoLetter` is unset. */\n name?: string;\n /** Letter-mark glyph when it differs from the brand's first character. */\n logoLetter?: string;\n /** Strapline under the brand row. `ds-auth-layout` only. */\n tagline?: string;\n /* No accent key on purpose: a two-tone wordmark is projected markup\n (`[dsBrandName]`), so the consumer says where the accent belongs. A config\n string would have to be split back apart, which is the guessing the\n projection exists to avoid. */\n };\n modal?: {\n /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`.\n * Configurable app-wide because a `ModalService` confirm renders a card with no\n * `ds-modal` ancestor to bind — an attribute cannot reach it. */\n dividers?: boolean;\n };\n banner?: {\n /** Default for every `ds-banner`'s `announce`. Default `false`, because an\n * `alert` region fires on INSERTION: a banner that is page furniture would\n * interrupt the reader on every route into the page. Set `true` where the app\n * raises banners in response to events, and bind `[announce]=\"false\"` on the\n * furniture. `ds-alert` has its own key, so the two can differ. */\n announce?: boolean;\n };\n alert?: {\n /** Default for every `ds-alert`'s `announce`. Default `false`, for the reason\n * under `banner.announce`. */\n announce?: boolean;\n };\n toast?: {\n /** Where the stack sits. Merged field by field over the built-in\n * `right` / `top` / `var(--space-6)`, so naming one key keeps the other two. */\n position?: Partial<DsToastPosition>;\n /** Maximum number of toasts visible at once. Extras are queued and shown as\n * earlier ones dismiss. Default `5`; `0` means unlimited. */\n maxVisible?: number;\n /** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */\n showQueueCount?: boolean;\n };\n picker?: {\n /** Default for `ds-multi-select``s `searchable`. `true` always shows the panel's\n * filter row, `false` never, and a NUMBER is a threshold — the row appears once\n * there are at least that many options. Default `true`. One threshold for the\n * app is the point: left to each call site, two panels of the same length in\n * the same screen end up disagreeing. */\n searchable?: boolean | number;\n };\n\n control?: {\n /** Default `size` for every control on the field-height contract. Default `'md'`.\n *\n * A different axis from `[data-density]`: that tier rewrites hit targets and\n * padding in CSS, this picks which of the three declared sizes a control renders\n * at. A screen that differs still binds `size` per element. */\n size?: DsSize;\n };\n pagination?: {\n /** Default `size` for every pager, `ds-table`'s footer included. Unset falls back to\n * `control.size`, so this is where a pager gets bigger targets than the rest of the\n * controls without resizing them all. */\n size?: DsSize;\n /** Default `layout` for every pager, `ds-table`'s footer included. Default `'grouped'`. */\n layout?: PaginationLayout;\n };\n card?: {\n /** Default `elevation` for `ds-card`. Default `'flat'`. */\n elevation?: CardElevation;\n /** Default `padding` preset for `ds-card`. Unset keeps the card's own. */\n padding?: CardPadding;\n };\n table?: {\n /** Default for `ds-table`'s `stickyScrollbar` — the proxy that keeps the\n * horizontal bar reachable on a tall table. Default `false`. Here rather than\n * per table because every new table is one forgotten binding away from\n * scrolling invisibly. */\n stickyScrollbar?: boolean;\n /** Default for `ds-table`'s `bordered` — the outer border and radius.\n * Default `false`. */\n bordered?: boolean;\n /** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes\n * to rest, as any CSS length. Unset, each table measures its own scroll container's bottom\n * padding and cancels it, which puts the bar on the edge the reader sees; set this for an app\n * whose scrollports end somewhere else, so every table agrees without a binding each. */\n stickyScrollbarOffset?: string;\n };\n icon?: {\n /** Default pixel `size` for `ds-icon`. Default `16`. */\n size?: number;\n };\n badge?: {\n /** Default for `ds-badge`'s `withDot` — the leading status dot. Default `false`. */\n withDot?: boolean;\n };\n chart?: {\n /** Default `dataTable` for all five charts. Default `'none'`. It is an accessibility policy\n * rather than a per-chart taste — whether the numbers behind a plot have a non-visual route is\n * decided once for an app, not thirty times, so an app that wants the annex everywhere sets\n * `'toggle'` here once rather than on every chart. Off by default: a chart usually sits in a\n * page that already carries its numbers, and an unasked-for disclosure under every plot is\n * chrome the page did not ask for. */\n dataTable?: ChartDataTable;\n /** Whether every chart draws its own bordered, padded box. Default `'auto'`, which draws it.\n * Whether charts live inside cards is decided once for an app — a page that puts every chart\n * in a card sets `'none'` here rather than reaching into five components' chrome from a\n * global stylesheet. */\n frame?: ChartFrame;\n /** How long every chart's tooltip stays after the pointer leaves the mark, in milliseconds.\n * Default 500: the pointer crossing to the next mark finds the same panel, which glides there\n * instead of closing and opening again. Zero takes it away at once. */\n tooltipLingerMs?: number;\n /** Whether a click on a mark, or on a category under the category cursor, holds its tooltip\n * and highlight in place, for every chart. Default `true`. A held mark shows a pin disc; a\n * second click, Escape or a press elsewhere lets go. A tap holds whatever this says. */\n pinOnClick?: boolean;\n /** How long the pointer rests on a mark, a category or a legend entry before the chart answers\n * it - highlight and tooltip alike - in milliseconds. Default 0. Once a chart has answered,\n * the next mark answers at once until the pointer leaves the chart; focus, a tap and a click\n * that pins answer at once. */\n hoverDelayMs?: number;\n /** Whether every chart's tooltip draws a colour dot beside each reading. Unset draws them for up\n * to four readings and leaves them out from five, where a column of dots reads as noise. */\n tooltipSwatches?: boolean;\n /** How every chart formats its values, the annex table and the generated description included.\n * Default groups digits in `locale` and abbreviates on a tick (`1.2M`). The same reason\n * `datePicker.locale` lives here: a number reads one way in an app, and a formatter passed\n * per chart drifts as soon as there are two screens. */\n valueFormat?: ChartValueFormat;\n /** How charts build themselves on a long page: build each one as it nears the viewport, build\n * ahead while idle, skip the ones off screen. All off by default. */\n rendering?: ChartRendering;\n };\n datePicker?: {\n /** BCP-47 locale for `ds-date-picker` names and value format. Unset falls back to\n * `locale`, then `LOCALE_ID`. */\n locale?: string;\n /** Explicit token format e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */\n dateFormat?: string;\n /** First weekday column: 0=Sunday … 6=Saturday. Default `1` (Monday). */\n firstDayOfWeek?: number;\n };\n}\n\nexport const DS_CONFIG = new InjectionToken<DsConfig>('DS_CONFIG', {\n factory: () => ({}),\n});\n\n/** Provide DS-level defaults.\n *\n * providers: [provideDsConfig({ control: { size: 'sm' } })]\n *\n * Works at the app root, on a `Route`, or on a component/directive — the config\n * resolves through the element-injector chain, so a subtree can differ from the\n * app. Component inputs (e.g. `<ds-card padding=\"lg\">`) still win.\n *\n * A nested call MERGES with the config above it section by section; only the keys\n * you name are replaced. ONE call per injector, though: two in the SAME\n * `providers` array both resolve their parent with `skipSelf`, so the later wins\n * and the earlier is silently lost.\n */\nexport function provideDsConfig(config: DsConfig): Provider {\n return { provide: DS_CONFIG, useFactory: () => inheritDsConfig(config) };\n}\n\n/**\n * The factory body behind `provideDsConfig`, exported so a directive can put the\n * provider in its metadata as a plain object literal. Calling `provideDsConfig`\n * there instead runs at module-evaluation time, which makes the module\n * side-effectful and costs the consumer its tree-shaking (measured at +566 kB\n * moved into the eager chunk).\n *\n * Must be called from an injection context.\n */\nexport function inheritDsConfig(config: DsConfig): DsConfig {\n return mergeDsConfig(\n inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {},\n config,\n );\n}\n\nfunction mergeDsConfig(parent: DsConfig, own: DsConfig): DsConfig {\n const merged: DsConfig = { ...parent };\n for (const section of Object.keys(own) as (keyof DsConfig)[]) {\n const value = own[section];\n Object.assign(merged, {\n [section]:\n typeof value === 'object' && value !== null\n ? { ...(parent[section] as object | undefined), ...value }\n : value,\n });\n }\n\n return merged;\n}\n","import { Signal, computed, inject } from '@angular/core';\nimport { DS_CONFIG, type DsConfig } from './ds-config';\n\n/**\n * Resolve an input against `DS_CONFIG`, then a built-in default.\n *\n * The input must be typed `T | null` and default to `null`: a signal input cannot\n * report whether it was bound, so `null` is what separates \"not set\" from an explicit\n * value. Precedence is input → config → built-in. Call from an injection context.\n * @internal\n */\nexport function resolveWithConfig<T>(\n value: Signal<T | null>,\n pick: (config: DsConfig) => T | undefined,\n fallback: T,\n): Signal<T> {\n const config = inject(DS_CONFIG);\n\n return computed(() => value() ?? pick(config) ?? fallback);\n}\n","import { effect, isDevMode } from '@angular/core';\n\n/**\n * Warns once per distinct message, not once per recomputation: the effect re-runs whenever any\n * signal the condition reads changes, so without that a static misconfiguration would log again\n * on every keystroke.\n *\n * Returning the message from the condition keeps the two together — a condition\n * that drifts from its message is how a warning ends up describing a state that\n * cannot happen any more.\n *\n * Must be called from an injection context.\n *\n * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`. That is\n * a BUILD-time expression, not a repeat of the `isDevMode()` below: the intent is for\n * a minifier to fold it and drop the message with it, which `isDevMode()` — an opaque\n * call — can never allow. It cannot become a helper function for the same reason.\n *\n * It does work: `ds-stat`, `ds-split-button` and `ds-toast-region` keep no message text in the\n * shipped bundle.\n * @internal\n */\nexport function devWarn(message: () => string | null): void {\n if (!isDevMode()) {\n return;\n }\n const seen = new Set<string>();\n effect(() => {\n const text = message();\n if (!text || seen.has(text)) {\n return;\n }\n seen.add(text);\n console.warn(text);\n });\n}\n","import { inject } from '@angular/core';\nimport { devWarn } from './dev-warning';\nimport { DS_CONFIG } from './ds-config';\n\nexport interface AnnounceState {\n variant: string;\n title: string;\n /** Whether the element would announce as `role=\"alert\"` rather than `status`. */\n assertive: boolean;\n /** The element's own `announce` input, `null` while unbound. */\n announce: boolean | null;\n}\n\n/**\n * The two ways `announce` on `ds-banner` / `ds-alert` goes wrong without anyone deciding it. An\n * assertive element left unbound while the app has not set `DS_CONFIG.<section>.announce` is one a\n * screen reader will not hear; a polite one that announces only because that key is `true` is\n * nearly always page furniture written after the key was adopted. Each warns once per instance,\n * in dev mode only; the caller wraps the call in the `typeof ngDevMode` guard (see `devWarn`).\n * Must be called from an injection context.\n * @internal\n */\nexport function warnAnnounceOversight(\n tag: 'ds-banner' | 'ds-alert',\n section: 'banner' | 'alert',\n state: () => AnnounceState,\n): void {\n const configured = inject(DS_CONFIG)[section]?.announce;\n devWarn(() => {\n const { variant, title, assertive, announce } = state();\n if (announce !== null) {\n return null;\n }\n const element = `[${tag}] variant=\"${variant}\"${title ? ` title=\"${title}\"` : ''}`;\n if (assertive && configured === undefined) {\n return `${element} is not announced, so a screen reader will not hear it. Decide once for the app with provideDsConfig({ ${section}: { announce: true } }) and bind [announce]=\"false\" on page furniture; this warning ends once the key is set, true or false.`;\n }\n if (!assertive && configured === true) {\n return `${element} announces because DS_CONFIG.${section}.announce is true, not because this element asked to. Bind [announce]=\"false\" if it is page furniture, or [announce]=\"true\" to keep it announced on purpose.`;\n }\n\n return null;\n });\n}\n","import type { DsIntl } from './ds-intl.types';\n\n/** English wording for every string the library invents. Used unless `provideDsIntl` overrides\n * a section. */\nexport const DS_INTL_DEFAULTS: DsIntl = {\n field: {\n optional: '(optional)',\n clearInput: 'Clear input',\n showPassword: 'Show password',\n hidePassword: 'Hide password',\n overLimit: (excess) =>\n excess === 1\n ? '1 character over the limit'\n : `${excess} characters over the limit`,\n },\n picker: {\n placeholder: 'Select…',\n filterPlaceholder: 'Filter…',\n clearSelection: 'Clear selection',\n noMatches: 'No matches',\n noOptions: 'No options',\n selectAll: 'Select all',\n selectAllInGroup: (group) => `All of ${group}`,\n create: (query) => `Create «${query}»`,\n moreChips: (count) => `+${count} more`,\n removeChip: (label) => `Remove ${label}`,\n selectedNoun: 'selected',\n resultCount: (count) =>\n count === 0\n ? 'No results'\n : count === 1\n ? '1 result'\n : `${count} results`,\n },\n datePicker: {\n placeholder: 'Select date',\n openCalendar: 'Choose date',\n selectMonth: 'Select month',\n selectYear: 'Select year',\n previousYears: 'Previous years',\n nextYears: 'Next years',\n invalidDate: (mask) => `Enter a valid date (${mask})`,\n },\n timePicker: {\n selectTime: 'Select time',\n rangeStart: (label) => `${label} (from)`,\n rangeEnd: (label) => `${label} (to)`,\n clear: 'Clear',\n now: 'Now',\n done: 'Done',\n time: 'Time',\n hours: 'Hours',\n minutes: 'Minutes',\n period: 'AM/PM',\n },\n colorPicker: {\n label: 'Choose colour',\n saturationBrightness:\n 'Saturation and brightness — use arrow keys to adjust',\n hue: 'Hue',\n hexValue: 'Hex colour value',\n presets: 'Preset colours',\n },\n otpInput: {\n label: 'Verification code',\n digit: (position) => `Digit ${position}`,\n character: (position) => `Character ${position}`,\n },\n slider: {\n rangeStart: (label) => (label ? `${label} minimum` : 'Minimum'),\n rangeEnd: (label) => (label ? `${label} maximum` : 'Maximum'),\n },\n numberStepper: {\n decrease: 'Decrease',\n increase: 'Increase',\n },\n search: {\n placeholder: 'Search',\n clear: 'Clear search',\n },\n dropzone: {\n label: 'Upload files',\n title: 'Drop files here',\n hint: 'or click to browse',\n remove: (fileName) => `Remove ${fileName}`,\n uploading: 'uploading',\n success: 'success',\n error: 'error',\n },\n passwordRules: {\n pending: 'not yet met',\n met: 'met',\n failed: 'not met',\n },\n tag: {\n remove: 'Remove',\n },\n badge: {\n noun: 'notifications',\n count: (count, noun) => `${count} ${noun}`,\n overMax: (max, noun) => `More than ${max} ${noun}`,\n },\n avatar: {\n online: 'Online',\n offline: 'Offline',\n away: 'Away',\n busy: 'Busy',\n },\n avatarGroup: {\n more: (count) => `${count} more`,\n },\n descriptionList: {\n copy: 'Copy value',\n copied: 'Copied',\n },\n what3words: {\n copy: (address) => `Copy what3words address ${address}`,\n },\n dialog: {\n close: 'Close',\n closeDialog: 'Close dialog',\n dismiss: 'Dismiss',\n confirm: 'Confirm',\n cancel: 'Cancel',\n typeToConfirmBefore: 'Type',\n typeToConfirmAfter: 'to confirm',\n },\n toast: {\n region: 'Notifications',\n },\n spinner: {\n label: 'Loading',\n },\n breadcrumbs: {\n label: 'Breadcrumb',\n },\n appLayout: {\n railLabel: 'Navigation',\n },\n sidenav: {\n expandGroup: (label) => `Expand ${label}`,\n collapseGroup: (label) => `Collapse ${label}`,\n },\n sidenavFooter: {\n search: 'Search',\n searchPlaceholder: 'Search…',\n clear: 'Clear',\n noMatches: (query) => `No matches for “${query}”.`,\n typeToSearch: 'Type to search.',\n alerts: 'Alerts',\n allCaughtUp: 'You’re all caught up.',\n accountMenu: 'Account menu',\n account: 'Account',\n signedInAs: (name) => `Signed in as ${name}`,\n profile: 'Your profile',\n settings: 'Account settings',\n help: 'Help & support',\n signOut: 'Sign out',\n expand: 'Expand',\n collapse: 'Collapse',\n },\n stepper: {\n label: 'Progress',\n step: (position, label, state) => `Step ${position}: ${label} (${state})`,\n },\n tabs: {\n close: (label) => `Close ${label}`,\n },\n splitButton: {\n menuLabel: 'More actions',\n },\n filterBar: {\n more: 'more',\n panelLabel: 'More filters',\n },\n pagination: {\n label: 'Pagination',\n previous: 'Previous page',\n next: 'Next page',\n page: (page) => `Page ${page}`,\n range: (first, last, total) =>\n total === 0 ? 'Showing 0 of 0' : `Showing ${first}–${last} of ${total}`,\n perPage: (size) => `${size} per page`,\n rowsPerPage: 'Rows per page',\n },\n table: {\n actions: 'Actions',\n actionsFor: (row) => `Actions for ${row}`,\n filterColumn: (column) => `Filter ${column}`,\n resizeColumn: (column) => `Resize ${column}`,\n narrowColumn: (column) => `Narrow ${column}`,\n widenColumn: (column) => `Widen ${column}`,\n fitColumn: (column) => `Fit ${column} to its content`,\n fit: 'Fit',\n selectRow: (row) => `Select ${row}`,\n expandRow: 'Expand row',\n collapseRow: 'Collapse row',\n filterValues: 'Filter values',\n filterSearch: 'Search…',\n emptyValue: '(empty)',\n noMatches: 'No matches',\n selectedCount: (count) => `${count} selected`,\n clear: 'Clear',\n loading: 'Loading…',\n sorted: (label, direction) =>\n direction\n ? `Sorted by ${label}, ${direction === 'asc' ? 'ascending' : 'descending'}`\n : 'Sorting cleared',\n rowsExpanded: (count) => `${count} rows expanded`,\n selectAllRows: (onThisPage) =>\n onThisPage ? 'Select all rows on this page' : 'Select all rows',\n expandAllRows: (onThisPage) =>\n `Expand all rows${onThisPage ? ' on this page' : ''}`,\n collapseAllRows: (onThisPage) =>\n `Collapse all rows${onThisPage ? ' on this page' : ''}`,\n },\n tableColumns: {\n title: 'Columns',\n panelLabel: 'Column visibility',\n moveUp: 'Move up',\n moveDown: 'Move down',\n reset: 'Reset to default',\n trigger: 'Choose columns',\n },\n tableExport: {\n button: 'Export CSV',\n buttonBusy: 'Preparing…',\n preparing: 'Preparing export…',\n ready: 'Export ready',\n failed: 'Export failed',\n },\n chart: {\n empty: 'No data',\n error: 'Could not load the data',\n title: 'Chart',\n unpin: 'Unpin',\n dataTable: 'Data table',\n dataTableCaption: 'Chart data',\n legendAll: 'All',\n legendNone: 'None',\n labelColumn: 'Label',\n valueColumn: 'Value',\n shareColumn: 'Share of total',\n seriesColumn: 'Series',\n categoryColumn: 'Category',\n shareOfTotal: (share) => `${share} of total`,\n other: 'Other',\n noVisibleSeries: 'All series are hidden',\n target: (value) => `Target ${value}`,\n noted: (notes) => `Noted: ${notes.join('; ')}.`,\n noData: (label) => `${label}. No data.`,\n onePoint: (label, value, at) => `${label}, one point: ${value} at ${at}.`,\n range: (label, count, lowest, highest) =>\n `${label}, ${count} points, ${lowest} to ${highest}.`,\n trendRisingThroughout: 'Rising throughout',\n trendFallingThroughout: 'Falling throughout',\n trendRisingOverall: 'Rising overall',\n trendFallingOverall: 'Falling overall',\n trendFlat: 'Ending where it started',\n extremes: (highestLabel, highest, lowestLabel, lowest) =>\n `Highest in ${highestLabel} at ${highest}, lowest in ${lowestLabel} at ${lowest}.`,\n tableFollows: 'Full values in the table below.',\n threshold: 'Threshold',\n thresholdAbove: (name, value, count, total) =>\n `${name} at ${value}, ${count} of ${total} ${total === 1 ? 'point' : 'points'} above.`,\n thresholdInside: (name, low, high, count, total) =>\n `${name} from ${low} to ${high}, ${count} of ${total} ${total === 1 ? 'point' : 'points'} inside.`,\n funnelCaption:\n 'Each stage as a percentage of the first, and the drop from the stage above it.',\n stageColumn: 'Stage',\n percentColumn: 'Percent',\n dropColumn: 'Drop',\n fellAway: (drop) => `${drop} fell away since the stage above`,\n noReading: 'No reading',\n heatmapTitle: 'Heat map',\n heatmapSummary: (title, rows, columns, lowest, highest) =>\n `${title}, ${rows} rows by ${columns} columns, readings from ${lowest} to ${highest}.`,\n scatterTitle: 'Scatter chart',\n scatterAxis: (axis, from, to) => `${axis} from ${from} to ${to}`,\n scatterSummary: (title, count, axes, dropped) =>\n `${title}: ${count} readings drawn, ${axes}.${\n dropped > 0\n ? ` ${dropped} further readings were thinned out to keep the plot drawable; the data table lists every one.`\n : ''\n }`,\n scatterThinned: (count) =>\n `${count} readings thinned out to keep the plot drawable - every one is in the data table.`,\n waterfallTitle: 'Waterfall chart',\n waterfallCaption: 'Waterfall',\n increase: 'increase',\n decrease: 'decrease',\n total: 'total',\n stepColumn: 'Step',\n directionColumn: 'Direction',\n runningTotalColumn: 'Running total',\n endsAt: (value) => `Ends at ${value}.`,\n },\n};\n","import {\n InjectionToken,\n computed,\n inject,\n signal,\n type Provider,\n type Signal,\n} from '@angular/core';\nimport { DS_INTL_DEFAULTS } from './ds-intl-defaults';\nimport type { DsIntl, DsIntlOverrides } from './ds-intl.types';\n\nconst DEFAULTS = signal(DS_INTL_DEFAULTS).asReadonly();\n\n/** Every string the library invents, as a signal so a language switch re-renders in place.\n * Unprovided, it holds the English defaults. */\nexport const DS_INTL = new InjectionToken<Signal<DsIntl>>('DS_INTL', {\n factory: () => DEFAULTS,\n});\n\n/** Provide the library's wording.\n *\n * providers: [provideDsIntl({ picker: { selectAll: 'Выбрать все' } })]\n *\n * Pass an object for a fixed language, or a factory returning a signal for a language that\n * changes at runtime; the factory runs in an injection context, so it can inject the app's own\n * language service:\n *\n * provideDsIntl(() => { const language = inject(LanguageService); return computed(() => language.dictionary().ds); })\n *\n * Works at the root, on a `Route` or on a component. A nested call MERGES with the one above it\n * section by section, for the reason given on `provideDsConfig`. Numbers and dates do not come\n * from here: they follow `DsConfig.locale`, then `LOCALE_ID`. */\nexport function provideDsIntl(\n overrides: DsIntlOverrides | (() => Signal<DsIntlOverrides>),\n): Provider {\n return {\n provide: DS_INTL,\n useFactory: () => {\n const parent =\n inject(DS_INTL, { skipSelf: true, optional: true }) ?? DEFAULTS;\n const own =\n typeof overrides === 'function'\n ? overrides()\n : signal(overrides).asReadonly();\n\n return computed(() => mergeDsIntl(parent(), own()));\n },\n };\n}\n\nfunction mergeDsIntl(parent: DsIntl, own: DsIntlOverrides): DsIntl {\n const merged = { ...parent };\n for (const section of Object.keys(own) as (keyof DsIntl)[]) {\n Object.assign(merged, {\n [section]: { ...parent[section], ...own[section] },\n });\n }\n\n return merged;\n}\n","import { LOCALE_ID, inject } from '@angular/core';\nimport { DS_CONFIG } from './ds-config';\n\n/**\n * The BCP-47 tag the library formats numbers and dates in: `DsConfig.locale`, then Angular's\n * `LOCALE_ID`. Call from an injection context.\n * @internal\n */\nexport function injectDsLocale(): string {\n return inject(DS_CONFIG).locale ?? inject(LOCALE_ID);\n}\n","/**\n * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends\n * `undefined` when the schema sets no bound. The DS spells an absent bound as\n * `null`, so the write type has to accept both while the read type stays what it\n * always was — otherwise every internal use and every consumer moves for nothing.\n *\n * Declared once here because it was copy-pasted across three controls, and an\n * explanation in three places is an explanation that drifts in two of them.\n * @internal\n */\nexport function optionalBound(value: number | null | undefined): number | null {\n return value ?? null;\n}\n\n/** As `optionalBound`, for a bound the control requires a value for.\n * @internal\n */\nexport function boundOr(fallback: number) {\n return (value: number | undefined): number => value ?? fallback;\n}\n","// All paths render inside <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\">, stroke-width 1.75.\n\nexport const ICONS = {\n search: '<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />',\n plus: '<path d=\"M12 5v14M5 12h14\" />',\n minus: '<path d=\"M5 12h14\" />',\n check: '<path d=\"m4 12 5 5L20 6\" />',\n x: '<path d=\"M6 6l12 12M18 6L6 18\" />',\n chevronDown: '<path d=\"m6 9 6 6 6-6\" />',\n chevronRight: '<path d=\"m9 6 6 6-6 6\" />',\n chevronLeft: '<path d=\"m15 6-6 6 6 6\" />',\n chevronUp: '<path d=\"m6 15 6-6 6 6\" />',\n menu: '<path d=\"M4 6h16M4 12h16M4 18h16\" />',\n arrowRight: '<path d=\"M5 12h14M13 6l6 6-6 6\" />',\n arrowUp: '<path d=\"M12 19V5M6 11l6-6 6 6\" />',\n arrowDown: '<path d=\"M12 5v14M6 13l6 6 6-6\" />',\n info: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v.01M11 12h1v4h1\" />',\n warn: '<path d=\"M12 3 2 21h20L12 3z\" /><path d=\"M12 10v4M12 18v.01\" />',\n error: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v4M12 16v.01\" />',\n success: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n bell: '<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" /><path d=\"M10 21a2 2 0 0 0 4 0\" />',\n settings:\n '<circle cx=\"12\" cy=\"12\" r=\"3\" /><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\" />',\n user: '<circle cx=\"12\" cy=\"8\" r=\"4\" /><path d=\"M4 21a8 8 0 0 1 16 0\" />',\n users:\n '<circle cx=\"9\" cy=\"8\" r=\"4\" /><path d=\"M2 21a7 7 0 0 1 14 0\" /><path d=\"M16 4a4 4 0 0 1 0 8M22 21a6 6 0 0 0-6-6\" />',\n home: '<path d=\"m3 11 9-8 9 8\" /><path d=\"M5 10v10h14V10\" />',\n calendar:\n '<rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\" /><path d=\"M3 10h18M8 3v4M16 3v4\" />',\n truck:\n '<path d=\"M3 16V6a1 1 0 0 1 1-1h11v11\" /><path d=\"M15 9h4l2 3v4h-6\" /><circle cx=\"7.5\" cy=\"17.5\" r=\"2\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2\" />',\n box: '<path d=\"m21 8-9-5-9 5 9 5 9-5z\" /><path d=\"M3 8v8l9 5 9-5V8\" /><path d=\"m12 13 .01 8\" />',\n map: '<path d=\"m9 4-6 3v13l6-3 6 3 6-3V4l-6 3-6-3z\" /><path d=\"M9 4v13M15 7v13\" />',\n activity: '<path d=\"M3 12h4l3-9 4 18 3-9h4\" />',\n folder:\n '<path d=\"M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />',\n edit: '<path d=\"M12 20h9\" /><path d=\"M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4z\" />',\n external:\n '<path d=\"M14 4h6v6\" /><path d=\"M20 4 10 14\" /><path d=\"M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5\" />',\n trash:\n '<path d=\"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />',\n copy: '<rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\" /><path d=\"M5 15V5a2 2 0 0 1 2-2h10\" />',\n download: '<path d=\"M12 4v12M6 12l6 6 6-6\" /><path d=\"M4 20h16\" />',\n upload: '<path d=\"M12 20V8M6 12l6-6 6 6\" /><path d=\"M4 4h16\" />',\n eye: '<path d=\"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />',\n filter: '<path d=\"M3 5h18l-7 9v6l-4-2v-4z\" />',\n sort: '<path d=\"M7 4v16M3 8l4-4 4 4\" /><path d=\"M17 20V4M21 16l-4 4-4-4\" />',\n sortAsc: '<path d=\"M7 18V6M3 10l4-4 4 4\" />',\n sortDesc: '<path d=\"M7 6v12M11 14l-4 4-4-4\" />',\n grid: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" />',\n list: '<path d=\"M8 6h13M8 12h13M8 18h13\" /><circle cx=\"3.5\" cy=\"6\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"12\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"18\" r=\"1.2\" />',\n moreH:\n '<circle cx=\"5\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"19\" cy=\"12\" r=\"1.5\" />',\n moreV:\n '<circle cx=\"12\" cy=\"5\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"19\" r=\"1.5\" />',\n link: '<path d=\"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1\" /><path d=\"M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1\" />',\n flag: '<path d=\"M5 21V5a14 14 0 0 1 14 0v9a14 14 0 0 1-14 0z\" />',\n star: '<path d=\"m12 3 2.9 6 6.6.9-4.8 4.6 1.1 6.5L12 17.8 6.2 21l1.1-6.5L2.5 9.9 9.1 9z\" />',\n inbox:\n '<path d=\"M22 12h-6l-2 3h-4l-2-3H2\" /><path d=\"M5 4h14l3 8v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8z\" />',\n archive:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"5\" rx=\"1\" /><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8M10 12h4\" />',\n clock: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 7v5l3 2\" />',\n refresh:\n '<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />',\n play: '<path d=\"M6 4l14 8-14 8z\" />',\n pause: '<path d=\"M7 4v16M17 4v16\" />',\n cmd: '<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />',\n paperclip:\n '<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />',\n file: '<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />',\n image:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-5-5L5 21\" />',\n lock: '<rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\" /><path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />',\n logout:\n '<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" /><path d=\"m16 17 5-5-5-5M21 12H9\" />',\n help: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 4M12 17v.01\" />',\n pin: '<path d=\"M15 4.5 11 8.5 7 10 5.5 11.5 12.5 18.5 14 17 15.5 13 19.5 9\" /><path d=\"m9 15-4.5 4.5\" /><path d=\"m14.5 4 5.5 5.5\" />',\n bookmark: '<path d=\"M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16l-7-4z\" />',\n sparkle:\n '<path d=\"M12 3v6M12 15v6M3 12h6M15 12h6M5.6 5.6l4.2 4.2M14.2 14.2l4.2 4.2M5.6 18.4l4.2-4.2M14.2 9.8l4.2-4.2\" />',\n layers:\n '<path d=\"m12 3 9 5-9 5-9-5z\" /><path d=\"m3 13 9 5 9-5M3 18l9 5 9-5\" />',\n chart: '<path d=\"M3 3v18h18\" /><path d=\"M7 14l4-4 4 4 5-5\" />',\n gauge:\n '<path d=\"M12 14l4-4\" /><circle cx=\"12\" cy=\"14\" r=\"9\" /><path d=\"M3 14a9 9 0 0 1 18 0\" />',\n package:\n '<path d=\"M3 7v10l9 4 9-4V7l-9-4z\" /><path d=\"m3 7 9 5 9-5M12 12v9\" />',\n git: '<circle cx=\"6\" cy=\"6\" r=\"2.5\" /><circle cx=\"6\" cy=\"18\" r=\"2.5\" /><circle cx=\"18\" cy=\"12\" r=\"2.5\" /><path d=\"M6 8.5v7M8.5 6h4a3 3 0 0 1 3 3v0\" />',\n sun: '<circle cx=\"12\" cy=\"12\" r=\"4\" /><path d=\"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4\" />',\n moon: '<path d=\"M21 13a9 9 0 0 1-12-12 9 9 0 1 0 12 12z\" />',\n save: '<path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\" /><path d=\"M17 21v-8H7v8M7 3v5h8\" />',\n rotate: '<path d=\"M3 12a9 9 0 1 0 3-6.7L3 8\" /><path d=\"M3 3v5h5\" />',\n qr: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><path d=\"M14 14h3v3h-3zM18 18h3v3h-3z\" />',\n globe:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\" />',\n phone:\n '<path d=\"M5 4h4l2 5-2 1a11 11 0 0 0 5 5l1-2 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z\" />',\n bin: '<rect x=\"3\" y=\"6\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"M7 6V4h10v2\" />',\n pen: '<path d=\"M3 17V21h4l11-11-4-4z\" />',\n smile:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 14a5 5 0 0 0 8 0\" />',\n frown:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 16a5 5 0 0 1 8 0\" />',\n mail: '<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"m3 7 9 6 9-6\" />',\n 'eye-off':\n '<path d=\"M3 3l18 18\" /><path d=\"M10.6 6.1A10 10 0 0 1 12 6c6 0 10 7 10 7a14 14 0 0 1-2.4 3.1\" /><path d=\"M6.7 6.7A14 14 0 0 0 2 12s4 7 10 7a10 10 0 0 0 4.5-1\" /><path d=\"M9.9 14.1A3 3 0 0 1 9 12a3 3 0 0 1 3-3 3 3 0 0 1 2.1.9\" />',\n 'check-circle': '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n // r=8, not the 9 of check-circle: this is the empty counterpart of a tick, and\n // at 14px a ring the same size as the filled state reads as the heavier of the\n // two rather than the lighter.\n circle: '<circle cx=\"12\" cy=\"12\" r=\"8\" />',\n // Drag handle: 6 dots in 2 cols × 3 rows. Use 1.6 radius to read at 12-16px.\n drag: '<circle cx=\"9\" cy=\"6\" r=\"1.6\" /><circle cx=\"15\" cy=\"6\" r=\"1.6\" /><circle cx=\"9\" cy=\"12\" r=\"1.6\" /><circle cx=\"15\" cy=\"12\" r=\"1.6\" /><circle cx=\"9\" cy=\"18\" r=\"1.6\" /><circle cx=\"15\" cy=\"18\" r=\"1.6\" />',\n scan: '<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />',\n wifi: '<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />',\n 'wifi-off':\n '<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />',\n} as const;\n\n/** Built-in DS icon names. Consumers can extend the runtime set via `provideDsIcons({...})` —\n * the type widens to `string` so any custom name is accepted at the call site (at the cost of\n * autocomplete for those custom names). */\nexport type IconName = keyof typeof ICONS | (string & {});\n","const NON_TEXT_INPUT_TYPES = new Set([\n 'button',\n 'checkbox',\n 'color',\n 'file',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n]);\n\n/** True when the key landed on a control that consumes its own keystrokes, so a\n * container listening on the way up must leave the event alone.\n * @internal\n */\nexport function isTextEntryTarget(event: Event): boolean {\n const target = event.target;\n if (!(target instanceof HTMLElement)) {\n return false;\n }\n if (target.isContentEditable) {\n return true;\n }\n const tag = target.tagName.toLowerCase();\n if (tag === 'textarea' || tag === 'select') {\n return true;\n }\n\n return (\n tag === 'input' &&\n !NON_TEXT_INPUT_TYPES.has((target as HTMLInputElement).type.toLowerCase())\n );\n}\n","/** True when `element` is showing less text than it holds, horizontally.\n *\n * Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the\n * wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house\n * `single-line-ellipsis` mixin earn a disclosure.\n *\n * Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its\n * `clientWidth`, so a caller that clamps has to compare line counts instead.\n */\nexport function isTextClipped(element: HTMLElement): boolean {\n if (element.scrollWidth > element.clientWidth) {\n return true;\n }\n\n return [...element.querySelectorAll<HTMLElement>('*')].some(\n (child) => child.scrollWidth > child.clientWidth,\n );\n}\n","/**\n * Index arithmetic for a keyboard cursor over a list of options.\n *\n * Every picker walks the same four ways — next, previous, first, last — skipping\n * whatever is disabled and wrapping at the ends.\n */\nexport interface DsListCursorList {\n length: number;\n isEnabled: (index: number) => boolean;\n}\n\n/** Where the cursor lands, or -1 when nothing in the list can take it.\n * @internal\n */\nexport function firstEnabledIndex(list: DsListCursorList): number {\n for (let index = 0; index < list.length; index += 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/** @internal */\nexport function lastEnabledIndex(list: DsListCursorList): number {\n for (let index = list.length - 1; index >= 0; index -= 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/**\n * The next enabled index `step` away from `from`, wrapping at both ends.\n *\n * `from` of -1 means \"no cursor yet\": stepping forward lands on the first\n * enabled entry and stepping back on the last, which is what a reader expects\n * from a freshly opened panel.\n * @internal\n */\nexport function nextEnabledIndex(\n list: DsListCursorList,\n from: number,\n step: number,\n): number {\n if (list.length === 0) {\n return -1;\n }\n if (from < 0) {\n return step > 0 ? firstEnabledIndex(list) : lastEnabledIndex(list);\n }\n\n let index = from;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of -- walks from `from` with modulo wraparound; `attempts` only bounds the walk, it is not a sequential index\n for (let attempts = 0; attempts < list.length; attempts += 1) {\n index = (index + step + list.length) % list.length;\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return from;\n}\n","import type { IconName } from './icon-names';\n\n/**\n * The shape every picker's option shares — select, multi-select, autocomplete.\n * Add a field HERE, or the three drift apart the way `icon` did. Each keeps its\n * own exported name: those are public API.\n *\n * `T` exists because autocomplete carries typed values; the other two are keyed\n * by string.\n */\nexport interface DsOption<T = string> {\n value: T;\n label: string;\n disabled?: boolean;\n /** Why this option cannot be picked. Reaches the row as `aria-describedby`, so a\n * reader hears the reason instead of only meeting a dead row. Ignored unless\n * `disabled` is set. */\n disabledReason?: string;\n /** Rendered before the label at 16px by every picker's option row. */\n icon?: IconName;\n}\n\n/**\n * A labelled section of options. `disabled` turns the whole section off.\n */\nexport interface DsOptionGroup<T = string> {\n label: string;\n options: DsOption<T>[];\n disabled?: boolean;\n}\n\n/**\n * What a picker's `options` input takes: flat options, groups, or both mixed.\n * One input rather than two, because a second `optionGroups` input can only\n * answer \"what if both are set\" by silently ignoring one.\n */\nexport type DsOptionItem<T = string> = DsOption<T> | DsOptionGroup<T>;\n\nexport function isDsOptionGroup<T>(\n item: DsOptionItem<T>,\n): item is DsOptionGroup<T> {\n return 'options' in item && Array.isArray((item as DsOptionGroup<T>).options);\n}\n\n/** Every option in `items`, groups flattened in place, in source order. */\nexport function flattenDsOptions<T>(\n items: readonly DsOptionItem<T>[],\n): DsOption<T>[] {\n return items.flatMap((item) =>\n isDsOptionGroup(item)\n ? item.options.map((option) =>\n // Only copy when the flag is not already there: the pickers pre-apply a\n // disabled group to the options THEY render, and a second copy here\n // would break the object identity their flat-index lookup compares by.\n item.disabled && !option.disabled\n ? { ...option, disabled: true }\n : option,\n )\n : [item],\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;;;;;;;;AAUG;SACa,eAAe,GAAA;IAI7B,IAAI,iBAAiB,GAAG,KAAK;IAE7B,OAAO;AACL,QAAA,IAAI,CAAC,KAAmB,EAAA;YACtB,iBAAiB;AACf,gBAAA,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;QAC9D,CAAC;AACD,QAAA,aAAa,CAAC,KAAmB,EAAA;YAC/B,MAAM,OAAO,GACX,iBAAiB;gBACjB,KAAK,CAAC,MAAM,KAAK,CAAC;AAClB,gBAAA,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YACtC,iBAAiB,GAAG,KAAK;AAEzB,YAAA,OAAO,OAAO;QAChB,CAAC;KACF;AACH;;MCgLa,SAAS,GAAG,IAAI,cAAc,CAAW,WAAW,EAAE;AACjE,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACpB,CAAA;AAED;;;;;;;;;;;;AAYG;AACG,SAAU,eAAe,CAAC,MAAgB,EAAA;AAC9C,IAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC,MAAM,CAAC,EAAE;AAC1E;AAEA;;;;;;;;AAQG;AACG,SAAU,eAAe,CAAC,MAAgB,EAAA;IAC9C,OAAO,aAAa,CAClB,MAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,EAC3D,MAAM,CACP;AACH;AAEA,SAAS,aAAa,CAAC,MAAgB,EAAE,GAAa,EAAA;AACpD,IAAA,MAAM,MAAM,GAAa,EAAE,GAAG,MAAM,EAAE;IACtC,KAAK,MAAM,OAAO,IAAI,MAAM,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IAAI,IAAI,KAAK,CAAC,OAAO,CAAE,IAAyB,CAAC,OAAO,CAAC;AAC/E;AAEA;AACM,SAAU,gBAAgB,CAC9B,KAAiC,EAAA;AAEjC,IAAA,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KACxB,eAAe,CAAC,IAAI;UAChB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM;;;;AAItB,QAAA,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC;cACrB,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,IAAI;cAC3B,MAAM;AAEd,UAAE,CAAC,IAAI,CAAC,CACX;AACH;;AC5DA;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-core.mjs","sources":["../../../src/lib/core/backdrop-dismiss.ts","../../../src/lib/core/ds-config.ts","../../../src/lib/core/config-defaults.ts","../../../src/lib/core/dev-warning.ts","../../../src/lib/core/announce-warning.ts","../../../src/lib/core/ds-intl-defaults.ts","../../../src/lib/core/ds-intl.ts","../../../src/lib/core/ds-locale.ts","../../../src/lib/core/field-bounds.ts","../../../src/lib/core/icon-names.ts","../../../src/lib/core/key-target.ts","../../../src/lib/core/text-clip.ts","../../../src/lib/core/list-cursor.ts","../../../src/lib/core/option.ts","../../../src/lib/core/ids-group-ltd-ids-design-system-core.ts"],"sourcesContent":["/**\n * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.\n *\n * `click` cannot be trusted there: it fires at the nearest common ancestor of press and release,\n * so a drag from inside the dialog to the backdrop fires `click` ON THE BACKDROP. Dismiss only\n * when press AND release both land on the backdrop itself.\n * @internal\n */\nexport function backdropDismiss(): {\n down: (event: PointerEvent) => void;\n shouldDismiss: (event: PointerEvent) => boolean;\n} {\n let pressedOnBackdrop = false;\n\n return {\n down(event: PointerEvent): void {\n pressedOnBackdrop =\n event.button === 0 && event.target === event.currentTarget;\n },\n shouldDismiss(event: PointerEvent): boolean {\n const dismiss =\n pressedOnBackdrop &&\n event.button === 0 &&\n event.target === event.currentTarget;\n pressedOnBackdrop = false;\n\n return dismiss;\n },\n };\n}\n","import { InjectionToken, inject, type Provider } from '@angular/core';\nimport type { IconName } from './icon-names';\nimport type { DsSize } from './size';\nimport type { CardElevation, CardPadding } from './card.types';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartRendering,\n ChartValueFormat,\n} from './chart.types';\nimport type { DsToastPosition } from './toast-position';\nimport type { PaginationLayout } from './pagination.types';\n\nexport interface DsConfig {\n /** BCP-47 locale every component formats numbers and dates in. Default is Angular's\n * `LOCALE_ID`. A section key that names a locale (`datePicker.locale`) wins over this. */\n locale?: string;\n field?: {\n /** Default for every field's `reserveMessage`. Default `false`. `true` applies to EVERY field\n * in the injector's subtree; prefer `dsReserveMessages` on the form that validates. */\n reserveMessage?: boolean;\n /** Fallback text per validation-error kind, for validators with no `message` (Angular's\n * built-ins never carry one). A message on the error itself wins. Unmapped kinds warn in dev. */\n errorMessages?: Record<string, string>;\n /** Leading glyph on a field's message line, per state. Defaults carry one for `error`,\n * `warning` and `success` (WCAG 1.4.1: not hue alone) and NONE for `hint`. Each key is\n * independent: a glyph name replaces the default, `false` removes it, and\n * `stateIcons: false` removes all four. */\n stateIcons?:\n | false\n | {\n error?: IconName | false;\n warning?: IconName | false;\n success?: IconName | false;\n /** The `default` state (the hint line). Off unless set. */\n hint?: IconName | false;\n };\n };\n breadcrumbs?: {\n separator?: IconName;\n clickable?: boolean;\n };\n timePicker?: {\n /** Display format for `ds-time-picker` / date-picker time - 24h or 12h AM/PM. Default `'24h'`. */\n format?: '24h' | '12h';\n };\n avatar?: {\n /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule takes the\n * first two words (a Latin-script guess). */\n initials?: (name: string) => string;\n };\n brand?: {\n /** Brand text for `ds-sidenav` and `ds-auth-layout`: the wordmark, and the source of the\n * letter-mark's glyph when `logoLetter` is unset. */\n name?: string;\n /** Letter-mark glyph when it differs from the brand's first character. */\n logoLetter?: string;\n /** Strapline under the brand row. `ds-auth-layout` only. */\n tagline?: string;\n };\n modal?: {\n /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`. */\n dividers?: boolean;\n };\n banner?: {\n /** Default for every `ds-banner`'s `announce`. Default `false`: an `alert` region fires on\n * INSERTION, so page-furniture banners would interrupt on every route. Set `true` where banners\n * answer events, and bind `[announce]=\"false\"` on the furniture. `ds-alert` has its own key. */\n announce?: boolean;\n };\n alert?: {\n /** Default for every `ds-alert`'s `announce`. Default `false`, as `banner.announce`. */\n announce?: boolean;\n };\n toast?: {\n /** Where the stack sits. Merged field by field over the built-in\n * `right` / `top` / `var(--space-6)`. */\n position?: Partial<DsToastPosition>;\n /** Maximum number of toasts visible at once; extras queue. Default `5`; `0` is unlimited. */\n maxVisible?: number;\n /** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */\n showQueueCount?: boolean;\n };\n picker?: {\n /** Default for `ds-multi-select`'s `searchable`. `true` always shows the panel's filter row,\n * `false` never, and a NUMBER is a threshold: the row appears once there are at least that\n * many options. Default `true`. */\n searchable?: boolean | number;\n };\n\n control?: {\n /** Default `size` for every control on the field-height contract. Default `'md'`. A different\n * axis from `[data-density]`, which rewrites hit targets and padding in CSS. */\n size?: DsSize;\n };\n pagination?: {\n /** Default `size` for every pager, `ds-table`'s footer included. Unset falls back to\n * `control.size`. */\n size?: DsSize;\n /** Default `layout` for every pager, `ds-table`'s footer included. Default `'grouped'`. */\n layout?: PaginationLayout;\n };\n card?: {\n /** Default `elevation` for `ds-card`. Default `'flat'`. */\n elevation?: CardElevation;\n /** Default `padding` preset for `ds-card`. Unset keeps the card's own. */\n padding?: CardPadding;\n };\n table?: {\n /** Default for `ds-table`'s `stickyScrollbar` (keeps the horizontal bar reachable). Default `false`. */\n stickyScrollbar?: boolean;\n /** Default for `ds-table`'s `bordered` (the outer border and radius). Default `false`. */\n bordered?: boolean;\n /** Default for `ds-table`'s `stickyScrollbarOffset`, as any CSS length. Unset, each table\n * cancels its scroll container's bottom padding. */\n stickyScrollbarOffset?: string;\n };\n icon?: {\n /** Default pixel `size` for `ds-icon`. Default `16`. */\n size?: number;\n };\n badge?: {\n /** Default for `ds-badge`'s `withDot` (the leading status dot). Default `false`. */\n withDot?: boolean;\n };\n chart?: {\n /** Default `dataTable` for every chart. Default `'none'`; `'toggle'` offers the annex everywhere. */\n dataTable?: ChartDataTable;\n /** Whether every chart draws its own bordered, padded box. Default `'auto'`, which draws it. */\n frame?: ChartFrame;\n /** How long a chart's tooltip stays after the pointer leaves the mark, in milliseconds.\n * Default 500; zero closes it at once. */\n tooltipLingerMs?: number;\n /** Whether a click on a mark or category holds its tooltip and highlight. Default `true`.\n * A second click, Escape or a press elsewhere releases. A tap holds whatever this says. */\n pinOnClick?: boolean;\n /** Milliseconds the pointer rests on a mark, category or legend entry before the chart answers.\n * Default 0. After one answer the next is immediate until the pointer leaves the chart;\n * focus, a tap and a pinning click are always immediate. */\n hoverDelayMs?: number;\n /** Whether a chart's tooltip draws a colour dot beside each reading. Unset draws them for two\n * to four readings. */\n tooltipSwatches?: boolean;\n /** How charts format values, annex table and description included. Default groups digits in\n * `locale` and abbreviates on a tick (`1.2M`). */\n valueFormat?: ChartValueFormat;\n /** How charts build themselves on a long page. All off by default. */\n rendering?: ChartRendering;\n };\n datePicker?: {\n /** BCP-47 locale for `ds-date-picker` names and value format. Unset falls back to\n * `locale`, then `LOCALE_ID`. */\n locale?: string;\n /** Explicit token format, e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */\n dateFormat?: string;\n /** First weekday column: 0=Sunday to 6=Saturday. Default `1` (Monday). */\n firstDayOfWeek?: number;\n };\n}\n\nexport const DS_CONFIG = new InjectionToken<DsConfig>('DS_CONFIG', {\n factory: () => ({}),\n});\n\n/** Provides DS-level defaults: `providers: [provideDsConfig({ control: { size: 'sm' } })]`.\n *\n * Works at the app root, on a `Route`, or on a component/directive. Component inputs still win.\n *\n * A nested call MERGES with the config above it section by section; only the keys you name are\n * replaced. Several calls in one `providers` array merge in order, the later winning per key.\n */\nexport function provideDsConfig(config: DsConfig): Provider {\n return [\n { provide: DS_CONFIG_LAYERS, useValue: config, multi: true },\n { provide: DS_CONFIG, useFactory: mergeDsConfigLayers },\n ];\n}\n\nconst DS_CONFIG_LAYERS = new InjectionToken<readonly DsConfig[]>(\n 'DS_CONFIG_LAYERS',\n);\n\nfunction mergeDsConfigLayers(): DsConfig {\n return inject(DS_CONFIG_LAYERS, { self: true }).reduce(\n mergeDsConfig,\n inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {},\n );\n}\n\n/**\n * The factory body behind `provideDsConfig`, exported so a directive can put the provider in its\n * metadata as an object literal: calling `provideDsConfig` there makes the module side-effectful\n * and defeats tree-shaking.\n *\n * Must be called from an injection context.\n */\nexport function inheritDsConfig(config: DsConfig): DsConfig {\n return mergeDsConfig(\n inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {},\n config,\n );\n}\n\nfunction mergeDsConfig(parent: DsConfig, own: DsConfig): DsConfig {\n const merged: DsConfig = { ...parent };\n for (const section of Object.keys(own) as (keyof DsConfig)[]) {\n const value = own[section];\n Object.assign(merged, {\n [section]:\n typeof value === 'object' && value !== null\n ? { ...(parent[section] as object | undefined), ...value }\n : value,\n });\n }\n\n return merged;\n}\n","import { Signal, computed, inject } from '@angular/core';\nimport { DS_CONFIG, type DsConfig } from './ds-config';\n\n/**\n * Resolve an input against `DS_CONFIG`, then a built-in default.\n *\n * The input must be typed `T | null` and default to `null`: a signal input cannot report\n * whether it was bound. Precedence is input → config → built-in. Call from an injection context.\n * @internal\n */\nexport function resolveWithConfig<T>(\n value: Signal<T | null>,\n pick: (config: DsConfig) => T | undefined,\n fallback: T,\n): Signal<T> {\n const config = inject(DS_CONFIG);\n\n return computed(() => value() ?? pick(config) ?? fallback);\n}\n","import { effect, isDevMode } from '@angular/core';\n\n/**\n * Warns once per distinct message: the effect re-runs whenever a signal the condition reads\n * changes, so a static misconfiguration would otherwise log on every keystroke.\n *\n * Must be called from an injection context.\n *\n * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`: a BUILD-time\n * expression a minifier folds away with the message, which the opaque `isDevMode()` call never\n * allows. It cannot become a helper function for the same reason.\n * @internal\n */\nexport function devWarn(message: () => string | null): void {\n if (!isDevMode()) {\n return;\n }\n const seen = new Set<string>();\n effect(() => {\n const text = message();\n if (!text || seen.has(text)) {\n return;\n }\n seen.add(text);\n console.warn(text);\n });\n}\n","import { inject } from '@angular/core';\nimport { devWarn } from './dev-warning';\nimport { DS_CONFIG } from './ds-config';\n\nexport interface AnnounceState {\n variant: string;\n title: string;\n /** Whether the element would announce as `role=\"alert\"` rather than `status`. */\n assertive: boolean;\n /** The element's own `announce` input, `null` while unbound. */\n announce: boolean | null;\n}\n\n/**\n * Warns about two undecided `announce` cases on `ds-banner` / `ds-alert`: an assertive element\n * left unbound while `DS_CONFIG.<section>.announce` is unset (not heard), and a polite one that\n * announces only because that key is `true`. Once per instance, dev mode only; the caller wraps\n * the call in the `typeof ngDevMode` guard (see `devWarn`). Must be called from an injection context.\n * @internal\n */\nexport function warnAnnounceOversight(\n tag: 'ds-banner' | 'ds-alert',\n section: 'banner' | 'alert',\n state: () => AnnounceState,\n): void {\n const configured = inject(DS_CONFIG)[section]?.announce;\n devWarn(() => {\n const { variant, title, assertive, announce } = state();\n if (announce !== null) {\n return null;\n }\n const element = `[${tag}] variant=\"${variant}\"${title ? ` title=\"${title}\"` : ''}`;\n if (assertive && configured === undefined) {\n return `${element} is not announced, so a screen reader will not hear it. Decide once for the app with provideDsConfig({ ${section}: { announce: true } }) and bind [announce]=\"false\" on page furniture; this warning ends once the key is set, true or false.`;\n }\n if (!assertive && configured === true) {\n return `${element} announces because DS_CONFIG.${section}.announce is true, not because this element asked to. Bind [announce]=\"false\" if it is page furniture, or [announce]=\"true\" to keep it announced on purpose.`;\n }\n\n return null;\n });\n}\n","import type { DsIntl } from './ds-intl.types';\n\n/** English wording for every string the library invents. Used unless `provideDsIntl` overrides\n * a section. */\nexport const DS_INTL_DEFAULTS: DsIntl = {\n field: {\n optional: '(optional)',\n clearInput: 'Clear input',\n showPassword: 'Show password',\n hidePassword: 'Hide password',\n overLimit: (excess) =>\n excess === 1\n ? '1 character over the limit'\n : `${excess} characters over the limit`,\n },\n picker: {\n placeholder: 'Select…',\n filterPlaceholder: 'Filter…',\n clearSelection: 'Clear selection',\n noMatches: 'No matches',\n noOptions: 'No options',\n selectAll: 'Select all',\n selectAllInGroup: (group) => `All of ${group}`,\n create: (query) => `Create «${query}»`,\n moreChips: (count) => `+${count} more`,\n removeChip: (label) => `Remove ${label}`,\n selectedNoun: 'selected',\n resultCount: (count) =>\n count === 0\n ? 'No results'\n : count === 1\n ? '1 result'\n : `${count} results`,\n },\n datePicker: {\n placeholder: 'Select date',\n openCalendar: 'Choose date',\n selectMonth: 'Select month',\n selectYear: 'Select year',\n previousYears: 'Previous years',\n nextYears: 'Next years',\n invalidDate: (mask) => `Enter a valid date (${mask})`,\n },\n timePicker: {\n selectTime: 'Select time',\n rangeStart: (label) => `${label} (from)`,\n rangeEnd: (label) => `${label} (to)`,\n clear: 'Clear',\n now: 'Now',\n done: 'Done',\n time: 'Time',\n hours: 'Hours',\n minutes: 'Minutes',\n period: 'AM/PM',\n },\n colorPicker: {\n label: 'Choose colour',\n saturationBrightness:\n 'Saturation and brightness — use arrow keys to adjust',\n hue: 'Hue',\n hexValue: 'Hex colour value',\n presets: 'Preset colours',\n },\n otpInput: {\n label: 'Verification code',\n digit: (position) => `Digit ${position}`,\n character: (position) => `Character ${position}`,\n },\n slider: {\n rangeStart: (label) => (label ? `${label} minimum` : 'Minimum'),\n rangeEnd: (label) => (label ? `${label} maximum` : 'Maximum'),\n },\n numberStepper: {\n decrease: 'Decrease',\n increase: 'Increase',\n },\n search: {\n placeholder: 'Search',\n clear: 'Clear search',\n },\n dropzone: {\n label: 'Upload files',\n title: 'Drop files here',\n hint: 'or click to browse',\n remove: (fileName) => `Remove ${fileName}`,\n uploading: 'uploading',\n success: 'success',\n error: 'error',\n },\n passwordRules: {\n pending: 'not yet met',\n met: 'met',\n failed: 'not met',\n },\n tag: {\n remove: 'Remove',\n },\n badge: {\n noun: 'notifications',\n count: (count, noun) => `${count} ${noun}`,\n overMax: (max, noun) => `More than ${max} ${noun}`,\n },\n avatar: {\n online: 'Online',\n offline: 'Offline',\n away: 'Away',\n busy: 'Busy',\n },\n avatarGroup: {\n more: (count) => `${count} more`,\n },\n descriptionList: {\n copy: 'Copy value',\n copied: 'Copied',\n },\n what3words: {\n copy: (address) => `Copy what3words address ${address}`,\n },\n dialog: {\n close: 'Close',\n closeDialog: 'Close dialog',\n dismiss: 'Dismiss',\n confirm: 'Confirm',\n cancel: 'Cancel',\n typeToConfirmBefore: 'Type',\n typeToConfirmAfter: 'to confirm',\n },\n toast: {\n region: 'Notifications',\n },\n spinner: {\n label: 'Loading',\n },\n breadcrumbs: {\n label: 'Breadcrumb',\n },\n appLayout: {\n railLabel: 'Navigation',\n },\n sidenav: {\n expandGroup: (label) => `Expand ${label}`,\n collapseGroup: (label) => `Collapse ${label}`,\n },\n sidenavFooter: {\n search: 'Search',\n searchPlaceholder: 'Search…',\n clear: 'Clear',\n noMatches: (query) => `No matches for “${query}”.`,\n typeToSearch: 'Type to search.',\n alerts: 'Alerts',\n allCaughtUp: 'You’re all caught up.',\n accountMenu: 'Account menu',\n account: 'Account',\n signedInAs: (name) => `Signed in as ${name}`,\n profile: 'Your profile',\n settings: 'Account settings',\n help: 'Help & support',\n signOut: 'Sign out',\n expand: 'Expand',\n collapse: 'Collapse',\n },\n stepper: {\n label: 'Progress',\n step: (position, label, state) => `Step ${position}: ${label} (${state})`,\n },\n tabs: {\n close: (label) => `Close ${label}`,\n },\n splitButton: {\n menuLabel: 'More actions',\n },\n filterBar: {\n more: 'more',\n panelLabel: 'More filters',\n },\n pagination: {\n label: 'Pagination',\n previous: 'Previous page',\n next: 'Next page',\n page: (page) => `Page ${page}`,\n range: (first, last, total) =>\n total === 0 ? 'Showing 0 of 0' : `Showing ${first}–${last} of ${total}`,\n perPage: (size) => `${size} per page`,\n rowsPerPage: 'Rows per page',\n },\n table: {\n actions: 'Actions',\n actionsFor: (row) => `Actions for ${row}`,\n filterColumn: (column) => `Filter ${column}`,\n resizeColumn: (column) => `Resize ${column}`,\n narrowColumn: (column) => `Narrow ${column}`,\n widenColumn: (column) => `Widen ${column}`,\n fitColumn: (column) => `Fit ${column} to its content`,\n fit: 'Fit',\n selectRow: (row) => `Select ${row}`,\n expandRow: 'Expand row',\n collapseRow: 'Collapse row',\n filterValues: 'Filter values',\n filterSearch: 'Search…',\n emptyValue: '(empty)',\n noMatches: 'No matches',\n selectedCount: (count) => `${count} selected`,\n clear: 'Clear',\n loading: 'Loading…',\n sorted: (label, direction) =>\n direction\n ? `Sorted by ${label}, ${direction === 'asc' ? 'ascending' : 'descending'}`\n : 'Sorting cleared',\n rowsExpanded: (count) => `${count} rows expanded`,\n selectAllRows: (onThisPage) =>\n onThisPage ? 'Select all rows on this page' : 'Select all rows',\n expandAllRows: (onThisPage) =>\n `Expand all rows${onThisPage ? ' on this page' : ''}`,\n collapseAllRows: (onThisPage) =>\n `Collapse all rows${onThisPage ? ' on this page' : ''}`,\n },\n tableColumns: {\n title: 'Columns',\n panelLabel: 'Column visibility',\n moveUp: 'Move up',\n moveDown: 'Move down',\n reset: 'Reset to default',\n trigger: 'Choose columns',\n },\n tableExport: {\n button: 'Export CSV',\n buttonBusy: 'Preparing…',\n preparing: 'Preparing export…',\n ready: 'Export ready',\n failed: 'Export failed',\n },\n chart: {\n empty: 'No data',\n error: 'Could not load the data',\n title: 'Chart',\n unpin: 'Unpin',\n dataTable: 'Data table',\n dataTableCaption: 'Chart data',\n legendAll: 'All',\n legendNone: 'None',\n labelColumn: 'Label',\n valueColumn: 'Value',\n shareColumn: 'Share of total',\n seriesColumn: 'Series',\n categoryColumn: 'Category',\n shareOfTotal: (share) => `${share} of total`,\n other: 'Other',\n noVisibleSeries: 'All series are hidden',\n target: (value) => `Target ${value}`,\n noted: (notes) => `Noted: ${notes.join('; ')}.`,\n noData: (label) => `${label}. No data.`,\n onePoint: (label, value, at) => `${label}, one point: ${value} at ${at}.`,\n range: (label, count, lowest, highest) =>\n `${label}, ${count} points, ${lowest} to ${highest}.`,\n trendRisingThroughout: 'Rising throughout',\n trendFallingThroughout: 'Falling throughout',\n trendRisingOverall: 'Rising overall',\n trendFallingOverall: 'Falling overall',\n trendFlat: 'Ending where it started',\n extremes: (highestLabel, highest, lowestLabel, lowest) =>\n `Highest in ${highestLabel} at ${highest}, lowest in ${lowestLabel} at ${lowest}.`,\n tableFollows: 'Full values in the table below.',\n threshold: 'Threshold',\n thresholdAbove: (name, value, count, total) =>\n `${name} at ${value}, ${count} of ${total} ${total === 1 ? 'point' : 'points'} above.`,\n thresholdInside: (name, low, high, count, total) =>\n `${name} from ${low} to ${high}, ${count} of ${total} ${total === 1 ? 'point' : 'points'} inside.`,\n funnelCaption:\n 'Each stage as a percentage of the first, and the drop from the stage above it.',\n stageColumn: 'Stage',\n percentColumn: 'Percent',\n dropColumn: 'Drop',\n fellAway: (drop) => `${drop} fell away since the stage above`,\n noReading: 'No reading',\n heatmapTitle: 'Heat map',\n heatmapSummary: (title, rows, columns, lowest, highest) =>\n `${title}, ${rows} rows by ${columns} columns, readings from ${lowest} to ${highest}.`,\n scatterTitle: 'Scatter chart',\n scatterAxis: (axis, from, to) => `${axis} from ${from} to ${to}`,\n scatterSummary: (title, count, axes, dropped) =>\n `${title}: ${count} readings drawn, ${axes}.${\n dropped > 0\n ? ` ${dropped} further readings were thinned out to keep the plot drawable; the data table lists every one.`\n : ''\n }`,\n scatterThinned: (count) =>\n `${count} readings thinned out to keep the plot drawable - every one is in the data table.`,\n waterfallTitle: 'Waterfall chart',\n waterfallCaption: 'Waterfall',\n increase: 'increase',\n decrease: 'decrease',\n total: 'total',\n stepColumn: 'Step',\n directionColumn: 'Direction',\n runningTotalColumn: 'Running total',\n endsAt: (value) => `Ends at ${value}.`,\n },\n};\n","import {\n InjectionToken,\n computed,\n inject,\n signal,\n type Provider,\n type Signal,\n} from '@angular/core';\nimport { DS_INTL_DEFAULTS } from './ds-intl-defaults';\nimport type { DsIntl, DsIntlOverrides } from './ds-intl.types';\n\nconst DEFAULTS = signal(DS_INTL_DEFAULTS).asReadonly();\n\n/** Every string the library invents, as a signal so a language switch re-renders in place.\n * Unprovided, it holds the English defaults. */\nexport const DS_INTL = new InjectionToken<Signal<DsIntl>>('DS_INTL', {\n factory: () => DEFAULTS,\n});\n\n/** Provide the library's wording.\n *\n * providers: [provideDsIntl({ picker: { selectAll: 'Выбрать все' } })]\n *\n * Pass an object for a fixed language, or a factory returning a signal for a language that\n * changes at runtime (the factory runs in an injection context):\n *\n * provideDsIntl(() => { const language = inject(LanguageService); return computed(() => language.dictionary().ds); })\n *\n * Works at the root, on a `Route` or on a component; a nested call MERGES section by section,\n * as `provideDsConfig` does, and several calls in one `providers` array merge in order. Numbers\n * and dates follow `DsConfig.locale`, then `LOCALE_ID`. */\nexport function provideDsIntl(\n overrides: DsIntlOverrides | (() => Signal<DsIntlOverrides>),\n): Provider {\n return [\n { provide: DS_INTL_LAYERS, useValue: overrides, multi: true },\n { provide: DS_INTL, useFactory: mergeDsIntlLayers },\n ];\n}\n\ntype DsIntlLayer = DsIntlOverrides | (() => Signal<DsIntlOverrides>);\n\nconst DS_INTL_LAYERS = new InjectionToken<readonly DsIntlLayer[]>(\n 'DS_INTL_LAYERS',\n);\n\nfunction mergeDsIntlLayers(): Signal<DsIntl> {\n const parent =\n inject(DS_INTL, { skipSelf: true, optional: true }) ?? DEFAULTS;\n const layers = inject(DS_INTL_LAYERS, { self: true }).map((layer) =>\n typeof layer === 'function' ? layer() : signal(layer).asReadonly(),\n );\n\n return computed(() =>\n layers.reduce((merged, layer) => mergeDsIntl(merged, layer()), parent()),\n );\n}\n\nfunction mergeDsIntl(parent: DsIntl, own: DsIntlOverrides): DsIntl {\n const merged = { ...parent };\n for (const section of Object.keys(own) as (keyof DsIntl)[]) {\n Object.assign(merged, {\n [section]: { ...parent[section], ...own[section] },\n });\n }\n\n return merged;\n}\n","import { LOCALE_ID, inject } from '@angular/core';\nimport { DS_CONFIG } from './ds-config';\n\n/**\n * The BCP-47 tag the library formats numbers and dates in: `DsConfig.locale`, then Angular's\n * `LOCALE_ID`. Call from an injection context.\n * @internal\n */\nexport function injectDsLocale(): string {\n return inject(DS_CONFIG).locale ?? inject(LOCALE_ID);\n}\n","/**\n * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends `undefined`\n * for no bound; the DS spells it `null`, so the write type accepts both.\n * @internal\n */\nexport function optionalBound(value: number | null | undefined): number | null {\n return value ?? null;\n}\n\n/** As `optionalBound`, for a bound the control requires a value for.\n * @internal\n */\nexport function boundOr(fallback: number) {\n return (value: number | undefined): number => value ?? fallback;\n}\n","// All paths render inside <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\">, stroke-width 1.75.\n\nexport const ICONS = {\n search: '<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />',\n plus: '<path d=\"M12 5v14M5 12h14\" />',\n minus: '<path d=\"M5 12h14\" />',\n check: '<path d=\"m4 12 5 5L20 6\" />',\n x: '<path d=\"M6 6l12 12M18 6L6 18\" />',\n chevronDown: '<path d=\"m6 9 6 6 6-6\" />',\n chevronRight: '<path d=\"m9 6 6 6-6 6\" />',\n chevronLeft: '<path d=\"m15 6-6 6 6 6\" />',\n chevronUp: '<path d=\"m6 15 6-6 6 6\" />',\n menu: '<path d=\"M4 6h16M4 12h16M4 18h16\" />',\n arrowRight: '<path d=\"M5 12h14M13 6l6 6-6 6\" />',\n arrowUp: '<path d=\"M12 19V5M6 11l6-6 6 6\" />',\n arrowDown: '<path d=\"M12 5v14M6 13l6 6 6-6\" />',\n info: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v.01M11 12h1v4h1\" />',\n warn: '<path d=\"M12 3 2 21h20L12 3z\" /><path d=\"M12 10v4M12 18v.01\" />',\n error: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v4M12 16v.01\" />',\n success: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n bell: '<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" /><path d=\"M10 21a2 2 0 0 0 4 0\" />',\n settings:\n '<circle cx=\"12\" cy=\"12\" r=\"3\" /><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\" />',\n user: '<circle cx=\"12\" cy=\"8\" r=\"4\" /><path d=\"M4 21a8 8 0 0 1 16 0\" />',\n users:\n '<circle cx=\"9\" cy=\"8\" r=\"4\" /><path d=\"M2 21a7 7 0 0 1 14 0\" /><path d=\"M16 4a4 4 0 0 1 0 8M22 21a6 6 0 0 0-6-6\" />',\n home: '<path d=\"m3 11 9-8 9 8\" /><path d=\"M5 10v10h14V10\" />',\n calendar:\n '<rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\" /><path d=\"M3 10h18M8 3v4M16 3v4\" />',\n truck:\n '<path d=\"M3 16V6a1 1 0 0 1 1-1h11v11\" /><path d=\"M15 9h4l2 3v4h-6\" /><circle cx=\"7.5\" cy=\"17.5\" r=\"2\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2\" />',\n box: '<path d=\"m21 8-9-5-9 5 9 5 9-5z\" /><path d=\"M3 8v8l9 5 9-5V8\" /><path d=\"m12 13 .01 8\" />',\n map: '<path d=\"m9 4-6 3v13l6-3 6 3 6-3V4l-6 3-6-3z\" /><path d=\"M9 4v13M15 7v13\" />',\n activity: '<path d=\"M3 12h4l3-9 4 18 3-9h4\" />',\n folder:\n '<path d=\"M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />',\n edit: '<path d=\"M12 20h9\" /><path d=\"M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4z\" />',\n external:\n '<path d=\"M14 4h6v6\" /><path d=\"M20 4 10 14\" /><path d=\"M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5\" />',\n trash:\n '<path d=\"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />',\n copy: '<rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\" /><path d=\"M5 15V5a2 2 0 0 1 2-2h10\" />',\n download: '<path d=\"M12 4v12M6 12l6 6 6-6\" /><path d=\"M4 20h16\" />',\n upload: '<path d=\"M12 20V8M6 12l6-6 6 6\" /><path d=\"M4 4h16\" />',\n eye: '<path d=\"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />',\n filter: '<path d=\"M3 5h18l-7 9v6l-4-2v-4z\" />',\n sort: '<path d=\"M7 4v16M3 8l4-4 4 4\" /><path d=\"M17 20V4M21 16l-4 4-4-4\" />',\n sortAsc: '<path d=\"M7 18V6M3 10l4-4 4 4\" />',\n sortDesc: '<path d=\"M7 6v12M11 14l-4 4-4-4\" />',\n grid: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" />',\n list: '<path d=\"M8 6h13M8 12h13M8 18h13\" /><circle cx=\"3.5\" cy=\"6\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"12\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"18\" r=\"1.2\" />',\n moreH:\n '<circle cx=\"5\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"19\" cy=\"12\" r=\"1.5\" />',\n moreV:\n '<circle cx=\"12\" cy=\"5\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"19\" r=\"1.5\" />',\n link: '<path d=\"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1\" /><path d=\"M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1\" />',\n flag: '<path d=\"M5 21V5a14 14 0 0 1 14 0v9a14 14 0 0 1-14 0z\" />',\n star: '<path d=\"m12 3 2.9 6 6.6.9-4.8 4.6 1.1 6.5L12 17.8 6.2 21l1.1-6.5L2.5 9.9 9.1 9z\" />',\n inbox:\n '<path d=\"M22 12h-6l-2 3h-4l-2-3H2\" /><path d=\"M5 4h14l3 8v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8z\" />',\n archive:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"5\" rx=\"1\" /><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8M10 12h4\" />',\n clock: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 7v5l3 2\" />',\n refresh:\n '<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />',\n play: '<path d=\"M6 4l14 8-14 8z\" />',\n pause: '<path d=\"M7 4v16M17 4v16\" />',\n cmd: '<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />',\n paperclip:\n '<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />',\n file: '<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />',\n image:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-5-5L5 21\" />',\n lock: '<rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\" /><path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />',\n logout:\n '<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" /><path d=\"m16 17 5-5-5-5M21 12H9\" />',\n help: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 4M12 17v.01\" />',\n pin: '<path d=\"M15 4.5 11 8.5 7 10 5.5 11.5 12.5 18.5 14 17 15.5 13 19.5 9\" /><path d=\"m9 15-4.5 4.5\" /><path d=\"m14.5 4 5.5 5.5\" />',\n bookmark: '<path d=\"M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16l-7-4z\" />',\n sparkle:\n '<path d=\"M12 3v6M12 15v6M3 12h6M15 12h6M5.6 5.6l4.2 4.2M14.2 14.2l4.2 4.2M5.6 18.4l4.2-4.2M14.2 9.8l4.2-4.2\" />',\n layers:\n '<path d=\"m12 3 9 5-9 5-9-5z\" /><path d=\"m3 13 9 5 9-5M3 18l9 5 9-5\" />',\n chart: '<path d=\"M3 3v18h18\" /><path d=\"M7 14l4-4 4 4 5-5\" />',\n gauge:\n '<path d=\"M12 14l4-4\" /><circle cx=\"12\" cy=\"14\" r=\"9\" /><path d=\"M3 14a9 9 0 0 1 18 0\" />',\n package:\n '<path d=\"M3 7v10l9 4 9-4V7l-9-4z\" /><path d=\"m3 7 9 5 9-5M12 12v9\" />',\n git: '<circle cx=\"6\" cy=\"6\" r=\"2.5\" /><circle cx=\"6\" cy=\"18\" r=\"2.5\" /><circle cx=\"18\" cy=\"12\" r=\"2.5\" /><path d=\"M6 8.5v7M8.5 6h4a3 3 0 0 1 3 3v0\" />',\n sun: '<circle cx=\"12\" cy=\"12\" r=\"4\" /><path d=\"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4\" />',\n moon: '<path d=\"M21 13a9 9 0 0 1-12-12 9 9 0 1 0 12 12z\" />',\n save: '<path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\" /><path d=\"M17 21v-8H7v8M7 3v5h8\" />',\n rotate: '<path d=\"M3 12a9 9 0 1 0 3-6.7L3 8\" /><path d=\"M3 3v5h5\" />',\n qr: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><path d=\"M14 14h3v3h-3zM18 18h3v3h-3z\" />',\n globe:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\" />',\n phone:\n '<path d=\"M5 4h4l2 5-2 1a11 11 0 0 0 5 5l1-2 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z\" />',\n bin: '<rect x=\"3\" y=\"6\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"M7 6V4h10v2\" />',\n pen: '<path d=\"M3 17V21h4l11-11-4-4z\" />',\n smile:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 14a5 5 0 0 0 8 0\" />',\n frown:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 16a5 5 0 0 1 8 0\" />',\n mail: '<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"m3 7 9 6 9-6\" />',\n 'eye-off':\n '<path d=\"M3 3l18 18\" /><path d=\"M10.6 6.1A10 10 0 0 1 12 6c6 0 10 7 10 7a14 14 0 0 1-2.4 3.1\" /><path d=\"M6.7 6.7A14 14 0 0 0 2 12s4 7 10 7a10 10 0 0 0 4.5-1\" /><path d=\"M9.9 14.1A3 3 0 0 1 9 12a3 3 0 0 1 3-3 3 3 0 0 1 2.1.9\" />',\n 'check-circle': '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n circle: '<circle cx=\"12\" cy=\"12\" r=\"8\" />',\n drag: '<circle cx=\"9\" cy=\"6\" r=\"1.6\" /><circle cx=\"15\" cy=\"6\" r=\"1.6\" /><circle cx=\"9\" cy=\"12\" r=\"1.6\" /><circle cx=\"15\" cy=\"12\" r=\"1.6\" /><circle cx=\"9\" cy=\"18\" r=\"1.6\" /><circle cx=\"15\" cy=\"18\" r=\"1.6\" />',\n scan: '<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />',\n wifi: '<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />',\n 'wifi-off':\n '<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />',\n} as const;\n\n/** Built-in DS icon names. Consumers extend the runtime set via `provideDsIcons({...})`; the\n * type widens to `string` so a custom name is accepted, without autocomplete. */\nexport type IconName = keyof typeof ICONS | (string & {});\n","const NON_TEXT_INPUT_TYPES = new Set([\n 'button',\n 'checkbox',\n 'color',\n 'file',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n]);\n\n/** True when the key landed on a control that consumes its own keystrokes.\n * @internal\n */\nexport function isTextEntryTarget(event: Event): boolean {\n const target = event.target;\n if (!(target instanceof HTMLElement)) {\n return false;\n }\n if (target.isContentEditable) {\n return true;\n }\n const tag = target.tagName.toLowerCase();\n if (tag === 'textarea' || tag === 'select') {\n return true;\n }\n\n return (\n tag === 'input' &&\n !NON_TEXT_INPUT_TYPES.has((target as HTMLInputElement).type.toLowerCase())\n );\n}\n","/** True when `element` is showing less text than it holds, horizontally.\n *\n * Descendants count: a template-driven cell puts the ellipsis on a child. Only horizontal:\n * a clamped block hides whole LINES with `scrollWidth` equal to `clientWidth`.\n */\nexport function isTextClipped(element: HTMLElement): boolean {\n if (element.scrollWidth > element.clientWidth) {\n return true;\n }\n\n return [...element.querySelectorAll<HTMLElement>('*')].some(\n (child) => child.scrollWidth > child.clientWidth,\n );\n}\n","/**\n * Index arithmetic for a keyboard cursor over options: skips disabled entries, wraps at the ends.\n */\nexport interface DsListCursorList {\n length: number;\n isEnabled: (index: number) => boolean;\n}\n\n/** Where the cursor lands, or -1 when nothing in the list can take it.\n * @internal\n */\nexport function firstEnabledIndex(list: DsListCursorList): number {\n for (let index = 0; index < list.length; index += 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/** @internal */\nexport function lastEnabledIndex(list: DsListCursorList): number {\n for (let index = list.length - 1; index >= 0; index -= 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/**\n * The next enabled index `step` away from `from`, wrapping at both ends.\n *\n * `from` of -1 means \"no cursor yet\".\n * @internal\n */\nexport function nextEnabledIndex(\n list: DsListCursorList,\n from: number,\n step: number,\n): number {\n if (list.length === 0) {\n return -1;\n }\n if (from < 0) {\n return step > 0 ? firstEnabledIndex(list) : lastEnabledIndex(list);\n }\n\n let index = from;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of -- walks from `from` with modulo wraparound; `attempts` only bounds the walk, it is not a sequential index\n for (let attempts = 0; attempts < list.length; attempts += 1) {\n index = (index + step + list.length) % list.length;\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return from;\n}\n","import type { IconName } from './icon-names';\n\n/**\n * The shape every picker's option shares (select, multi-select, autocomplete). Each keeps its\n * own exported name. `T` exists because autocomplete carries typed values.\n */\nexport interface DsOption<T = string> {\n value: T;\n label: string;\n disabled?: boolean;\n /** Why this option cannot be picked; reaches the row as `aria-describedby`. Needs `disabled`. */\n disabledReason?: string;\n /** Rendered before the label at 16px. */\n icon?: IconName;\n}\n\n/** A labelled section of options. `disabled` turns the whole section off. */\nexport interface DsOptionGroup<T = string> {\n label: string;\n options: DsOption<T>[];\n disabled?: boolean;\n}\n\n/**\n * What a picker's `options` input takes: flat options, groups, or both mixed.\n */\nexport type DsOptionItem<T = string> = DsOption<T> | DsOptionGroup<T>;\n\nexport function isDsOptionGroup<T>(\n item: DsOptionItem<T>,\n): item is DsOptionGroup<T> {\n return 'options' in item && Array.isArray((item as DsOptionGroup<T>).options);\n}\n\n/** Every option in `items`, groups flattened in place, in source order. */\nexport function flattenDsOptions<T>(\n items: readonly DsOptionItem<T>[],\n): DsOption<T>[] {\n return items.flatMap((item) =>\n isDsOptionGroup(item)\n ? item.options.map((option) =>\n // Copy only when the flag is missing: pickers pre-apply a disabled group to the options\n // they render, and a second copy would break the identity their flat-index lookup uses.\n item.disabled && !option.disabled\n ? { ...option, disabled: true }\n : option,\n )\n : [item],\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;;;;;AAOG;SACa,eAAe,GAAA;IAI7B,IAAI,iBAAiB,GAAG,KAAK;IAE7B,OAAO;AACL,QAAA,IAAI,CAAC,KAAmB,EAAA;YACtB,iBAAiB;AACf,gBAAA,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;QAC9D,CAAC;AACD,QAAA,aAAa,CAAC,KAAmB,EAAA;YAC/B,MAAM,OAAO,GACX,iBAAiB;gBACjB,KAAK,CAAC,MAAM,KAAK,CAAC;AAClB,gBAAA,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YACtC,iBAAiB,GAAG,KAAK;AAEzB,YAAA,OAAO,OAAO;QAChB,CAAC;KACF;AACH;;MCmIa,SAAS,GAAG,IAAI,cAAc,CAAW,WAAW,EAAE;AACjE,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACpB,CAAA;AAED;;;;;;AAMG;AACG,SAAU,eAAe,CAAC,MAAgB,EAAA;IAC9C,OAAO;QACL,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE;AAC5D,QAAA,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,mBAAmB,EAAE;KACx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