@ids-group-ltd/ids-design-system 0.13.4 → 0.14.1

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 (247) hide show
  1. package/CHANGELOG.md +584 -0
  2. package/components.md +100 -52
  3. package/design-system.md +2 -0
  4. package/docs/agent/INDEX.md +3 -2
  5. package/docs/agent/charts/column-series-component.md +1 -1
  6. package/docs/agent/charts/ds-bar-chart.md +2 -1
  7. package/docs/agent/charts/ds-chart.md +3 -1
  8. package/docs/agent/charts/ds-config.md +3 -1
  9. package/docs/agent/charts/ds-line-chart.md +3 -3
  10. package/docs/agent/charts/ds-pie-chart.md +4 -3
  11. package/docs/agent/charts/line-series-component.md +1 -1
  12. package/docs/agent/feedback/ds-alert.md +1 -0
  13. package/docs/agent/feedback/ds-badge.md +1 -1
  14. package/docs/agent/feedback/ds-banner.md +1 -0
  15. package/docs/agent/feedback/ds-skeleton.md +2 -2
  16. package/docs/agent/feedback/ds-tag.md +1 -1
  17. package/docs/agent/forms/ds-autocomplete.md +2 -2
  18. package/docs/agent/forms/ds-button.md +1 -1
  19. package/docs/agent/forms/ds-color-picker.md +1 -1
  20. package/docs/agent/forms/ds-date-picker.md +2 -2
  21. package/docs/agent/forms/ds-filter-bar.md +1 -1
  22. package/docs/agent/forms/ds-icon-button.md +1 -1
  23. package/docs/agent/forms/ds-input.md +1 -1
  24. package/docs/agent/forms/ds-multi-select.md +2 -2
  25. package/docs/agent/forms/ds-otp-input.md +1 -1
  26. package/docs/agent/forms/ds-search.md +3 -3
  27. package/docs/agent/forms/ds-split-button.md +1 -1
  28. package/docs/agent/forms/ds-switch.md +4 -2
  29. package/docs/agent/forms/ds-textarea.md +2 -1
  30. package/docs/agent/foundations/tokens.md +1 -1
  31. package/docs/agent/navigation/ds-app-layout.md +2 -2
  32. package/docs/agent/navigation/ds-auth-layout.md +4 -4
  33. package/docs/agent/navigation/ds-page-header.md +1 -1
  34. package/docs/agent/navigation/ds-pagination.md +2 -2
  35. package/docs/agent/platform/ds-config.md +3 -3
  36. package/docs/agent/platform/ds-intl.md +33 -0
  37. package/docs/agent/surfaces/ds-accordion.md +2 -2
  38. package/docs/agent/tables/ds-cell-template.md +1 -1
  39. package/docs/agent/tables/ds-table.md +5 -4
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +9 -5
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +21 -10
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +9 -5
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +8 -8
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +13 -8
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +5 -3
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +5 -10
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +12 -8
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +21 -10
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +56 -32
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +7 -6
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +4 -3
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -4
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +15 -3
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +5 -3
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +45 -39
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +414 -105
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -5
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +22 -18
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +16 -9
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -2
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -4
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +12 -6
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +13 -7
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +40 -42
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +13 -9
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +3 -3
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +5 -4
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +27 -23
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +62 -13
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +15 -10
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -4
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +13 -7
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +22 -13
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +12 -11
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +55 -29
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +41 -12
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +13 -6
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +4 -3
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -2
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +5 -3
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +37 -4
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +8 -7
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +5 -3
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +9 -6
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +6 -4
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +20 -5
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +18 -15
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +9 -6
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +47 -38
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +5 -3
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +9 -5
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +26 -4
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +12 -10
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +8 -6
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +5 -3
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +14 -15
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  160. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +345 -66
  161. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  162. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +361 -6
  163. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  164. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  166. package/migrations/0.10.0.json +1 -1
  167. package/migrations/0.10.1.json +1 -1
  168. package/migrations/0.12.2.json +4 -1
  169. package/migrations/0.13.3.json +32 -10
  170. package/migrations/0.13.4.json +1630 -132
  171. package/migrations/0.14.0.json +615 -0
  172. package/migrations/0.14.1.json +856 -0
  173. package/migrations/0.5.0.json +10 -4
  174. package/migrations/0.7.0.json +5 -2
  175. package/migrations/0.9.0.json +5 -2
  176. package/migrations/README.md +7 -2
  177. package/package.json +1 -1
  178. package/schematics/check-overrides/index.cjs +56 -0
  179. package/schematics/check-overrides/scan.cjs +74 -0
  180. package/schematics/check-overrides/schema.json +19 -0
  181. package/schematics/check-overrides/surface.json +2304 -0
  182. package/schematics/collection.json +5 -0
  183. package/styles/_chart-frame.scss +4 -4
  184. package/styles/_chart-interactive.scss +33 -0
  185. package/styles/_chart-motion.scss +17 -10
  186. package/styles/_field-box.scss +12 -0
  187. package/styles/_overlay-motion.scss +20 -10
  188. package/styles/_skeleton-shimmer.scss +4 -1
  189. package/styles/_tokens-charts.scss +1 -1
  190. package/styles/_tokens.scss +1 -1
  191. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +11 -2
  192. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +4 -0
  193. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +5 -2
  194. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +5 -5
  195. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +7 -4
  196. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +2 -0
  197. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +5 -3
  198. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +6 -2
  199. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -0
  200. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +20 -14
  201. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +2 -0
  202. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
  203. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -0
  204. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +2 -0
  205. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +11 -6
  206. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +155 -36
  207. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -2
  208. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +11 -8
  209. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -3
  210. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +2 -0
  211. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -0
  212. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +3 -0
  213. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +9 -4
  214. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +13 -13
  215. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +7 -5
  216. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
  217. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +17 -11
  218. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +6 -0
  219. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +11 -6
  220. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +2 -0
  221. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +6 -2
  222. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +17 -10
  223. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +2 -0
  224. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +25 -14
  225. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +15 -6
  226. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +9 -3
  227. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -2
  228. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +2 -0
  229. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +3 -1
  230. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +6 -1
  231. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
  232. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +6 -4
  233. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +5 -2
  234. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +2 -0
  235. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +10 -1
  236. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +1 -0
  237. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +44 -28
  238. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +2 -0
  239. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +6 -2
  240. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +15 -0
  241. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -0
  242. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +3 -0
  243. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +2 -0
  244. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +7 -5
  245. package/types/ids-group-ltd-ids-design-system-components.d.ts +83 -17
  246. package/types/ids-group-ltd-ids-design-system-core.d.ts +420 -14
  247. package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
@@ -1,4 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
2
3
 
3
4
  interface ChartLegendItem {
4
5
  /** Matches the series or slice id the chart hides by. */
@@ -16,6 +17,7 @@ interface ChartLegendItem {
16
17
  * @internal
17
18
  */
18
19
  declare class ChartLegendComponent {
20
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
19
21
  readonly items: _angular_core.InputSignal<readonly ChartLegendItem[]>;
20
22
  /** Ids of the hidden items. Two-way, so a page can drive it from a URL parameter and so
21
23
  * cross-chart filtering later is this same mechanism. */
@@ -15,6 +15,9 @@ interface ChartTooltipEntry {
15
15
  /** Already through the chart's `valueFormat`, so the panel never formats. */
16
16
  readonly formatted: string;
17
17
  readonly color: string;
18
+ /** Marks whose fill is hatched rather than solid. The swatch takes the same treatment, so the
19
+ * panel and the plot encode the distinction the same way and neither relies on hue alone. */
20
+ readonly hatched?: boolean;
18
21
  /** A second line under the value, for what the chart does NOT already print beside the mark —
19
22
  * its share of the total, its rank, the drop into it. A tooltip that repeats the label a
20
23
  * reader is looking at has told them nothing. */
@@ -52,9 +55,9 @@ declare class ChartTooltipDirective {
52
55
  * that text as well as the mark, or the two overlap. Ignored for touch, where the gap is already
53
56
  * sized for a fingertip. */
54
57
  readonly dsChartTooltipExtraGap: _angular_core.InputSignal<number>;
55
- /** Opens the panel BELOW the mark first. A chart sets it while a mark is held, so the panel
56
- * leaves the plot's top edge — and the Unpin control that lives there — alone. */
57
- readonly dsChartTooltipPreferBelow: _angular_core.InputSignal<boolean>;
58
+ /** A held panel takes the pointer again, so its text can be selected. While it merely follows
59
+ * the pointer the pane stays inert, or the mark it covers never sees the pointer at all. */
60
+ readonly dsChartTooltipPinned: _angular_core.InputSignal<boolean>;
58
61
  private overlayRef;
59
62
  private panelRef;
60
63
  private detachScrollReposition;
@@ -65,7 +68,7 @@ declare class ChartTooltipDirective {
65
68
  private closeOnEscape;
66
69
  private close;
67
70
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTooltipDirective, never>;
68
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "dsChartTooltipPreferBelow": { "alias": "dsChartTooltipPreferBelow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
71
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "dsChartTooltipPinned": { "alias": "dsChartTooltipPinned"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
69
72
  }
70
73
 
71
74
  /** @internal */
@@ -76,7 +79,9 @@ interface ChartActiveMark {
76
79
  readonly origin: Signal<Element | null>;
77
80
  /** Whether the active mark is held rather than followed — a tap, or a click under `pinOnClick`. */
78
81
  readonly pinned: Signal<boolean>;
79
- enter(index: number, event: Event, anchor?: string | Element | null): void;
82
+ /** `mark` is the hovered element, for a listener delegated to the marks' parent; it defaults to
83
+ * the event's `currentTarget`. */
84
+ enter(index: number, event: Event, anchor?: string | Element | null, mark?: Element): void;
80
85
  /** Moves the active index with no pointer behind it - a keyboard, or a mark handing over which
81
86
  * category it took focus on. Leaves the anchor alone: the caller that has no event has no
82
87
  * element to aim at either. A pin holds against this too. */
@@ -84,7 +89,7 @@ interface ChartActiveMark {
84
89
  leave(): void;
85
90
  /** Holds the mark that was activated, for any pointer type. Activating the mark that is already
86
91
  * pinned releases it, so one gesture both sets and clears. */
87
- pin(index: number, event: Event, anchor?: string | Element | null): void;
92
+ pin(index: number, event: Event, anchor?: string | Element | null, mark?: Element): void;
88
93
  /** Lets go of a held mark, for a control that offers the way out in as many words. */
89
94
  release(): void;
90
95
  }
@@ -1,10 +1,11 @@
1
1
  import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
2
- import { NiceDomain } from '@ids-group-ltd/ids-design-system/components';
2
+ import { NiceDomain, leaveMark } from '@ids-group-ltd/ids-design-system/components';
3
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
3
4
  import { ChartThresholdDash, ChartStackMode, ChartAxis, ChartFrame, ChartValueFormat, ChartAxisMode, ChartGaps, ChartCurve, ChartThreshold } from '@ids-group-ltd/ids-design-system/core';
4
- import * as _angular_core from '@angular/core';
5
- import { InjectionToken, Signal, OnDestroy } from '@angular/core';
6
5
  import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
7
- import { ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipTrigger, ChartTooltipOrigin } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
6
+ import { ChartTooltipContext, ChartTooltipOrigin, ChartTooltipEntry, ChartItemTooltipTrigger, ChartTooltipTrigger } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
7
+ import * as _angular_core from '@angular/core';
8
+ import { InjectionToken, Signal, TemplateRef, OnDestroy } from '@angular/core';
8
9
  import { SafeHtml } from '@angular/platform-browser';
9
10
  import * as _ids_group_ltd_ids_design_system_components_chart from '@ids-group-ltd/ids-design-system/components/chart';
10
11
 
@@ -84,6 +85,26 @@ interface ChartStackOffset {
84
85
  readonly to: number;
85
86
  }
86
87
 
88
+ /** What a mark hands the container so the container can open the panel for it. The mark decides
89
+ * WHAT the panel says and WHERE it points; the container decides that there is one, which is what
90
+ * keeps a plot from opening two. */
91
+ interface ChartTooltipSource {
92
+ readonly context: Signal<ChartTooltipContext | null>;
93
+ readonly origin: Signal<ChartTooltipOrigin | null>;
94
+ /** Whether the mark is held. A held panel takes the pointer, so its text can be selected. */
95
+ readonly pinned?: Signal<boolean>;
96
+ /** Whether this mark shows a tooltip at all. Absent means it does. Two marks that do make the
97
+ * plot a composed one, which is what turns the category cursor on under `cursor="auto"`. */
98
+ readonly offersTooltip?: Signal<boolean>;
99
+ /** This mark's own reading at the category the cursor is on, as an element, whether or not the
100
+ * pointer is over it. A category panel hangs over the highest of these. Absent falls back to
101
+ * `origin`. */
102
+ readonly axisOrigin?: Signal<Element | null>;
103
+ /** What this mark reads at the category the cursor is on, whatever its own tooltip setting. A
104
+ * category panel names every series at that category, and a mark that answers per-mark still
105
+ * belongs in it. */
106
+ readonly axisEntries?: Signal<readonly ChartTooltipEntry[]>;
107
+ }
87
108
  /** The drawable rectangle inside `ds-chart`, in CSS pixels: the container measures itself and
88
109
  * sizes its `viewBox` so one user unit is one pixel. A length written into a mark is therefore
89
110
  * the length it says it is, at every card width. The gutters outside it carry the axis labels. */
@@ -103,6 +124,10 @@ interface ChartPlot {
103
124
  interface ChartScales {
104
125
  readonly categories: Signal<readonly string[]>;
105
126
  readonly plot: Signal<ChartPlot>;
127
+ /** Whether the plot has its real width yet. Until it does, the scales describe a stand-in width
128
+ * that the first measurement replaces, so a mark that waits for this builds its geometry once
129
+ * instead of twice. Absent means always measured. */
130
+ readonly measured?: Signal<boolean>;
106
131
  /** The CENTRE of a category's band. A mark with a width of its own subtracts half of
107
132
  * `bandWidth` to reach its leading edge. */
108
133
  readonly xPosition: Signal<(index: number) => number>;
@@ -140,10 +165,15 @@ interface ChartScales {
140
165
  reportDomain(id: string, values: readonly number[], axis?: ChartAxis): void;
141
166
  /** Withdraws a contribution, which a mark does in `ngOnDestroy`. */
142
167
  releaseDomain(id: string): void;
168
+ /** Offers the container a panel to open while this mark is the active one. Reporting again with
169
+ * the same id replaces the offer. */
170
+ reportTooltip(id: string, source: ChartTooltipSource): void;
171
+ releaseTooltip(id: string): void;
143
172
  }
144
173
  declare const CHART_SCALES: InjectionToken<ChartScales>;
145
174
 
146
175
  declare class ChartComponent implements ChartScales {
176
+ protected readonly renderReady: Signal<boolean>;
147
177
  /** The category axis. Every projected mark is positioned against this list, so its length is
148
178
  * what decides how many bands the plot has. */
149
179
  readonly categories: _angular_core.InputSignal<readonly string[]>;
@@ -157,10 +187,12 @@ declare class ChartComponent implements ChartScales {
157
187
  * only comparable when both are pinned. */
158
188
  readonly max: _angular_core.InputSignalWithTransform<number | null, number | null>;
159
189
  /** Draws a band and a crosshair down the category under the pointer, and reports that category
160
- * to every mark through `activeIndex`. `'none'`, the default, leaves the plot alone: a chart
161
- * whose marks are the hover targets already answers per mark, and two affordances on one plot
162
- * read as two different questions. */
163
- readonly cursor: _angular_core.InputSignal<"none" | "category">;
190
+ * to every mark through `activeIndex`. On a plot of two or more marks that show a tooltip, the
191
+ * panel then names every mark's reading at that category wherever in it the pointer is.
192
+ * `'auto'`, the default, is `'category'` for such a composed plot and `'none'` for a plot of one
193
+ * mark, whose marks already answer per mark: two affordances on one plot read as two different
194
+ * questions. */
195
+ readonly cursor: _angular_core.InputSignal<"none" | "category" | "auto">;
164
196
  /** Whether a press holds the category cursor where it is, so the reader can look away from the
165
197
  * plot with the comparison still on screen. Released by pressing it again, by Escape, or by a
166
198
  * press outside the plot. */
@@ -202,17 +234,16 @@ declare class ChartComponent implements ChartScales {
202
234
  * resize when the data lands. */
203
235
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
204
236
  /** Shown in place of the plot when `categories` is empty. Unset falls back to
205
- * `DS_CONFIG.chart.emptyText`, then `'No data'`. */
237
+ * `DS_INTL.chart.empty`. */
206
238
  readonly emptyText: _angular_core.InputSignal<string | null>;
207
239
  /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty
208
240
  * `categories`, because "the request failed" and "there is nothing to show" read the same to a
209
241
  * reader and mean opposite things. */
210
242
  readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
211
- /** The message the error state prints. Unset falls back to `DS_CONFIG.chart.errorText`, then
212
- * `'Could not load the data'`. */
243
+ /** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */
213
244
  readonly errorText: _angular_core.InputSignal<string | null>;
214
- /** Formats the value-axis ticks. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the
215
- * browser's locale grouping with a K/M/B suffix past four digits. */
245
+ /** Formats the value-axis ticks. Unset falls back to `DS_CONFIG.chart.valueFormat`, then
246
+ * `DS_CONFIG.locale` / `LOCALE_ID`. */
216
247
  readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
217
248
  /** How the second value axis relates to the first, once a mark has reported against it. The
218
249
  * same four words `ds-line-chart` takes. */
@@ -231,15 +262,20 @@ declare class ChartComponent implements ChartScales {
231
262
  /** `axisLabel` for the second axis. */
232
263
  readonly secondaryAxisLabel: _angular_core.InputSignal<string | null>;
233
264
  private readonly defaults;
265
+ protected readonly intl: Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
234
266
  readonly frameResolved: Signal<ChartFrame>;
235
267
  readonly emptyTextResolved: Signal<string>;
236
268
  readonly errorTextResolved: Signal<string>;
237
- readonly valueFormatResolved: Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
269
+ readonly valueFormatResolved: Signal<ChartValueFormat>;
238
270
  private readonly host;
271
+ private readonly zone;
272
+ private readonly isBrowser;
239
273
  /** The `<svg>`'s own rendered width: `:host(.framed)` carries the frame padding, so the host's
240
274
  * CONTENT box - which is what a `ResizeObserver` reports - is the box the canvas fills at
241
275
  * `inline-size: 100%`. Measuring the host is therefore measuring the canvas. */
242
276
  private readonly measuredWidth;
277
+ /** Server-rendered output has no width to wait for, so it draws at the stand-in. */
278
+ readonly measured: Signal<boolean>;
243
279
  protected readonly viewWidth: Signal<number>;
244
280
  /** Whether the marks may animate yet. The first frame draws at `CHART_FALLBACK_WIDTH` scaled to
245
281
  * fit, so the measurement that follows moves every mark - and a mark that transitions its
@@ -276,6 +312,16 @@ declare class ChartComponent implements ChartScales {
276
312
  * count, neither of which the gutter feeds, so widening it moves the labels without rewriting
277
313
  * them and the second measurement equals the first. */
278
314
  protected readonly effectiveAxisGutter: Signal<number>;
315
+ /** A rotated axis title stands in the same gutter as the tick labels, so the gutter has to carry
316
+ * both or the widest tick runs through the title. Its own width is its line height, because it
317
+ * is turned on its side. */
318
+ protected readonly axisTitleGutter: Signal<20 | 0>;
319
+ /** Where a rotated axis title sits: hard against the outer edge, with the tick labels between it
320
+ * and the plot. */
321
+ protected readonly axisTitleX: Signal<number>;
322
+ /** Mirrors `axisTitleX` against the right edge, so the two titles stand the same distance from
323
+ * their own ticks. */
324
+ protected readonly secondaryTitleX: Signal<number>;
279
325
  /** Widest secondary tick label, measured the same way and for the same reason as the primary
280
326
  * one: those labels sit OUTSIDE the plot's right edge and an SVG canvas clips what a DOM
281
327
  * column merely overflowed. */
@@ -283,12 +329,36 @@ declare class ChartComponent implements ChartScales {
283
329
  /** The plot gives the right-hand labels room only when they are drawn there - a stacked second
284
330
  * axis puts both label columns down the left, so the plot keeps the full width. */
285
331
  protected readonly rightGutter: Signal<number>;
332
+ /** The second axis's title stands in the right gutter exactly as the first one's stands in the
333
+ * left, so both sides reserve the same band and the plot sits centred between its two labels. */
334
+ protected readonly secondaryTitleGutter: Signal<20 | 0>;
286
335
  readonly plot: Signal<ChartPlot>;
287
336
  readonly secondaryPlot: Signal<ChartPlot>;
288
337
  private readonly reportedDomains;
289
338
  reportDomain(id: string, values: readonly number[], axis?: ChartAxis): void;
290
339
  private valuesOn;
291
340
  releaseDomain(id: string): void;
341
+ /** A template that replaces the panel's body, for a preset that prints more than label+value. */
342
+ readonly tooltipTemplate: _angular_core.InputSignal<TemplateRef<{
343
+ $implicit: ChartTooltipContext;
344
+ }> | null>;
345
+ /** Extra clearance between the mark and the panel, for a chart that prints a value label in
346
+ * the gap the panel would otherwise take. */
347
+ readonly tooltipExtraGap: _angular_core.InputSignalWithTransform<number, unknown>;
348
+ private readonly tooltipSources;
349
+ reportTooltip(id: string, source: ChartTooltipSource): void;
350
+ releaseTooltip(id: string): void;
351
+ /** Two or more marks that show a tooltip: the plot reads as one comparison, so its panel is about
352
+ * the category rather than about whichever mark the pointer happens to be over. */
353
+ private readonly composed;
354
+ protected readonly cursorResolved: Signal<"none" | "category">;
355
+ /** The offer to show, if any mark is making one. At most one mark has a context at a time: a
356
+ * per-mark tooltip only fills it while that mark is hovered, and an axis tooltip only while the
357
+ * category cursor is on. The container opening the panel is what stops two marks opening two. */
358
+ private readonly activeTooltip;
359
+ protected readonly tooltipContext: Signal<ChartTooltipContext | null>;
360
+ protected readonly tooltipOrigin: Signal<_ids_group_ltd_ids_design_system_components_chart_tooltip.ChartTooltipOrigin | null>;
361
+ protected readonly tooltipPinned: Signal<boolean>;
292
362
  /** Compared by value, which is what stops a mark that reports AND reads `yPosition()` in one
293
363
  * effect from running forever: every report allocates a fresh `Map` and `niceDomain` a fresh
294
364
  * object, so identity always differs and the read would re-arm the write. Measured without it:
@@ -336,8 +406,12 @@ declare class ChartComponent implements ChartScales {
336
406
  /** Whether the cursor is held. A preset renders its own way out of the pin from this. */
337
407
  readonly cursorPinned: Signal<boolean>;
338
408
  releaseCursor(): void;
339
- protected onPlotPointer(event: PointerEvent): void;
340
- protected clearCursor(): void;
409
+ private readonly canvasElement;
410
+ private canvasRect;
411
+ private plotPointer;
412
+ /** The plot listens to the pointer only when it draws a category cursor, and outside the zone:
413
+ * the handler writes signals, which schedule the render they need. */
414
+ private listenForCursor;
341
415
  private readonly bandElement;
342
416
  readonly cursorOrigin: Signal<Element | null>;
343
417
  setActiveIndex(index: number): void;
@@ -353,6 +427,7 @@ declare class ChartComponent implements ChartScales {
353
427
  y: number;
354
428
  label: string;
355
429
  }[]>;
430
+ private readonly labelTexts;
356
431
  /** Rotation is spent before thinning: a tilt costs the reader a glance, dropping a label costs
357
432
  * them a reading. Both are decided from the widest label as it actually rendered. */
358
433
  protected readonly categoryLabelsRotated: Signal<boolean>;
@@ -369,7 +444,7 @@ declare class ChartComponent implements ChartScales {
369
444
  protected readonly isEmpty: Signal<boolean>;
370
445
  protected readonly accessibleName: Signal<string>;
371
446
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartComponent, never>;
372
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComponent, "ds-chart", ["dsChart"], { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "cursor": { "alias": "cursor"; "required": false; "isSignal": true; }; "cursorPin": { "alias": "cursorPin"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "plotHeight": { "alias": "plotHeight"; "required": false; "isSignal": true; }; "axisGutter": { "alias": "axisGutter"; "required": false; "isSignal": true; }; "valueSpace": { "alias": "valueSpace"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "secondaryAxisMode": { "alias": "secondaryAxisMode"; "required": false; "isSignal": true; }; "axisColor": { "alias": "axisColor"; "required": false; "isSignal": true; }; "secondaryAxisColor": { "alias": "secondaryAxisColor"; "required": false; "isSignal": true; }; "axisLabel": { "alias": "axisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; }, {}, never, ["[dsReferenceLine]", "*", "[dsReferenceLabel], [dsSeriesAnnotation]"], true, never>;
447
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComponent, "ds-chart", ["dsChart"], { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "cursor": { "alias": "cursor"; "required": false; "isSignal": true; }; "cursorPin": { "alias": "cursorPin"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "plotHeight": { "alias": "plotHeight"; "required": false; "isSignal": true; }; "axisGutter": { "alias": "axisGutter"; "required": false; "isSignal": true; }; "valueSpace": { "alias": "valueSpace"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "secondaryAxisMode": { "alias": "secondaryAxisMode"; "required": false; "isSignal": true; }; "axisColor": { "alias": "axisColor"; "required": false; "isSignal": true; }; "secondaryAxisColor": { "alias": "secondaryAxisColor"; "required": false; "isSignal": true; }; "axisLabel": { "alias": "axisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "tooltipExtraGap": { "alias": "tooltipExtraGap"; "required": false; "isSignal": true; }; }, {}, never, ["[dsReferenceLine]", "*", "[dsReferenceLabel], [dsSeriesAnnotation]"], true, never>;
373
448
  }
374
449
 
375
450
  interface ColumnSeriesPoint {
@@ -387,7 +462,10 @@ interface ColumnSeriesPoint {
387
462
  * container's canvas would draw nothing. Written as `<svg:g dsColumnSeries>`.
388
463
  */
389
464
  declare class ColumnSeriesComponent implements OnDestroy {
465
+ protected readonly leaveMark: typeof leaveMark;
390
466
  private readonly scales;
467
+ private readonly locale;
468
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
391
469
  /** Not `input.required`: the preset reads `tooltipContext()` from a binding on this same
392
470
  * element, and a required input throws NG0950 for the pass before its own value is written. */
393
471
  readonly data: _angular_core.InputSignal<readonly ColumnSeriesPoint[]>;
@@ -431,6 +509,9 @@ declare class ColumnSeriesComponent implements OnDestroy {
431
509
  /** Where each mark starts and ends on the value axis, one entry per point. Unset, every mark
432
510
  * runs from zero to its own value, which is the unstacked case. */
433
511
  readonly offsets: _angular_core.InputSignal<readonly ChartStackOffset[] | null>;
512
+ /** Which value axis the columns are measured against. `'secondary'` reads them off the second
513
+ * axis, the way `axis: 'secondary'` does on a line series' data. */
514
+ readonly axis: _angular_core.InputSignal<ChartAxis>;
434
515
  /** One colour for the whole series, which is what several series drawn together need. Unset,
435
516
  * each mark takes the categorical palette by its own position - the right reading when the
436
517
  * marks ARE the categories, which is the single-series case. A point's own colour wins over
@@ -441,6 +522,11 @@ declare class ColumnSeriesComponent implements OnDestroy {
441
522
  /** Names the series in the tooltip, where the category then becomes the panel's heading. Unset,
442
523
  * the panel names the category instead, which is what a chart of one series has to say. */
443
524
  readonly seriesLabel: _angular_core.InputSignal<string | null>;
525
+ /** Identifies this series to the legend, so hovering a legend item can single it out. */
526
+ readonly seriesKey: _angular_core.InputSignal<string | null>;
527
+ /** The series the reader is pointing at in the legend. Every other series fades. */
528
+ readonly highlighted: _angular_core.InputSignal<string | null>;
529
+ protected readonly dimmedBySeries: _angular_core.Signal<boolean>;
444
530
  /** The clicked datum. Fires on click and on Enter or Space, whatever `interactive` says. */
445
531
  readonly pointClicked: _angular_core.OutputEmitterRef<ColumnSeriesPoint>;
446
532
  private readonly seriesId;
@@ -454,6 +540,7 @@ declare class ColumnSeriesComponent implements OnDestroy {
454
540
  constructor();
455
541
  ngOnDestroy(): void;
456
542
  readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
543
+ private readonly barElements;
457
544
  /** One SERIES' slot inside a category's band: the whole band while a chart draws one series,
458
545
  * a share of it per series when several are grouped. The box that catches the pointer is sized
459
546
  * from this rather than from the drawn column, so a short column stays reachable. */
@@ -464,10 +551,24 @@ declare class ColumnSeriesComponent implements OnDestroy {
464
551
  * reservation costs nothing - the outer `<svg>` clips it - while falling short would leave a
465
552
  * strip under the plot that answers no pointer. */
466
553
  protected readonly hitHeight: _angular_core.Signal<number>;
554
+ /** Stacked series sit on top of one another, so a full-slot hit box on each one means only the
555
+ * series drawn last is ever reachable. Stacked, a mark catches the pointer over its own segment
556
+ * and nothing else. */
557
+ protected readonly stacked: _angular_core.Signal<boolean>;
558
+ /** Keeps a thin segment reachable without letting it reach into its neighbours. */
559
+ private static readonly MIN_STACK_HIT;
560
+ protected hitBox(mark: {
561
+ top: number;
562
+ height: number;
563
+ }): {
564
+ y: number;
565
+ height: number;
566
+ };
467
567
  protected readonly pinDiscRadius = 11;
468
568
  protected readonly pinGlyphSize = 14;
469
569
  protected readonly pinGlyphOffset: number;
470
570
  protected readonly pinGlyph: SafeHtml;
571
+ protected readonly hatchInUse: _angular_core.Signal<boolean>;
471
572
  protected readonly marks: _angular_core.Signal<{
472
573
  key: string;
473
574
  point: ColumnSeriesPoint;
@@ -485,23 +586,23 @@ declare class ColumnSeriesComponent implements OnDestroy {
485
586
  hatched: boolean;
486
587
  }[]>;
487
588
  protected markStagger(index: number): string;
488
- protected onMarkClick(payload: ColumnSeriesPoint, index: number, event: Event): void;
489
- protected onMarkEnter(index: number, event: Event): void;
490
- /** One tab stop per chart, not one per mark: WCAG 2.1.1's Understanding is explicit that not
491
- * every mouse-operable control has to be separately focusable, and that is what keeps a
492
- * twenty-five mark chart from being twenty-five stops in the page's tab order. */
493
- protected readonly rovingIndex: _angular_core.WritableSignal<number>;
494
- protected readonly tabStopIndex: _angular_core.Signal<number>;
495
- protected onMarkFocus(index: number, event: FocusEvent): void;
496
- protected onMarkNavigation(event: KeyboardEvent, index: number): void;
497
- protected onPointKey(point: ColumnSeriesPoint, event: Event): void;
589
+ private readonly tooltipMark;
590
+ protected onMarkClick(event: MouseEvent): void;
591
+ protected onMarkOver(event: PointerEvent): void;
592
+ protected onMarkOut(event: PointerEvent): void;
593
+ protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
594
+ private onMarkFocus;
595
+ protected onMarkKey(event: KeyboardEvent): void;
498
596
  protected entryLabel(mark: {
499
597
  point: ColumnSeriesPoint;
500
598
  formattedValue: string;
501
599
  }): string;
600
+ /** This series' reading at the category the cursor is on. Filled whatever `tooltip` says: it
601
+ * feeds the container's category panel, never a panel of this mark's own. */
602
+ readonly axisEntries: _angular_core.Signal<readonly ChartTooltipEntry[]>;
502
603
  readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
503
604
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnSeriesComponent, never>;
504
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnSeriesComponent, "g[dsColumnSeries]", ["dsColumnSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "columnWidthRatio": { "alias": "columnWidthRatio"; "required": false; "isSignal": true; }; "slot": { "alias": "slot"; "required": false; "isSignal": true; }; "slotCount": { "alias": "slotCount"; "required": false; "isSignal": true; }; "offsets": { "alias": "offsets"; "required": false; "isSignal": true; }; "seriesColor": { "alias": "seriesColor"; "required": false; "isSignal": true; }; "seriesFill": { "alias": "seriesFill"; "required": false; "isSignal": true; }; "seriesLabel": { "alias": "seriesLabel"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
605
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnSeriesComponent, "g[dsColumnSeries]", ["dsColumnSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "columnWidthRatio": { "alias": "columnWidthRatio"; "required": false; "isSignal": true; }; "slot": { "alias": "slot"; "required": false; "isSignal": true; }; "slotCount": { "alias": "slotCount"; "required": false; "isSignal": true; }; "offsets": { "alias": "offsets"; "required": false; "isSignal": true; }; "axis": { "alias": "axis"; "required": false; "isSignal": true; }; "seriesColor": { "alias": "seriesColor"; "required": false; "isSignal": true; }; "seriesFill": { "alias": "seriesFill"; "required": false; "isSignal": true; }; "seriesLabel": { "alias": "seriesLabel"; "required": false; "isSignal": true; }; "seriesKey": { "alias": "seriesKey"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
505
606
  }
506
607
 
507
608
  interface LineSeriesData {
@@ -530,6 +631,7 @@ interface LineSeriesData {
530
631
  * know is not rendered, and neither are its descendants. Written as `<svg:g dsLineSeries>`.
531
632
  */
532
633
  declare class LineSeriesComponent implements OnDestroy {
634
+ protected readonly leaveMark: typeof leaveMark;
533
635
  private readonly scales;
534
636
  /** Not `input.required`: the preset reads `tooltipContext()` from a binding on this same
535
637
  * element, and a required input throws NG0950 for the pass before its own value is written. */
@@ -537,6 +639,10 @@ declare class LineSeriesComponent implements OnDestroy {
537
639
  /** Draws a round marker at every reading. Off leaves the line alone, which reads better past
538
640
  * roughly twenty points. */
539
641
  readonly showMarkers: _angular_core.InputSignalWithTransform<boolean, unknown>;
642
+ /** Lays the line and its markers on a band of the surface colour, so they stay legible where
643
+ * they cross other marks. On by default: a line shares its plot more often than not, and on an
644
+ * empty plot the band only separates it from the gridlines. */
645
+ readonly outline: _angular_core.InputSignalWithTransform<boolean, unknown>;
540
646
  /** Turns on the click affordance - the pointer cursor and the hover tint. `pointClicked`
541
647
  * fires whether or not this is set. */
542
648
  readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -548,8 +654,8 @@ declare class LineSeriesComponent implements OnDestroy {
548
654
  readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
549
655
  /** The one series to single out: every other one draws faded and this one draws bold, so the
550
656
  * comparison survives a monochrome print. Driven from a legend, or from whatever else the app
551
- * uses to mean "show me this one". Needs `dimOthers`, which is what says fading is wanted at
552
- * all. */
657
+ * uses to mean "show me this one". Fades the others whether or not `dimOthers` is set, which
658
+ * governs only what a pointer over a marker does. */
553
659
  readonly highlighted: _angular_core.InputSignal<string | null>;
554
660
  /** A dash pattern per series, in the order the series are given. A series past the end of the
555
661
  * list, or given an empty string, draws solid. */
@@ -626,21 +732,34 @@ declare class LineSeriesComponent implements OnDestroy {
626
732
  * every mouse-operable control has to be separately focusable, which is what keeps a
627
733
  * 12-category, 2-series plot from being twenty-four stops in the page's tab order. */
628
734
  private readonly rovingBySeries;
735
+ private readonly firstMarkerBySeries;
629
736
  protected isTabStop(seriesId: string, markIndex: number): boolean;
630
737
  /** The series a marker holds focus on, which narrows an `'axis'` panel to that one reading: a
631
738
  * pointer answers for every series at once, a focused marker answers for its own. */
632
739
  private readonly focusedSeries;
633
- protected onMarkerEnter(markIndex: number, event: Event): void;
634
- protected onMarkerFocus(markIndex: number, event: FocusEvent): void;
635
- protected onMarkerBlur(): void;
636
- protected onMarkerNavigation(event: KeyboardEvent, markIndex: number): void;
740
+ /** A reading is active when its own marker is hovered OR when the category cursor is on its
741
+ * category: one band, one answer, so the dot grows wherever in the band the pointer is rather
742
+ * than only on the 4px dot itself. */
743
+ protected isActiveMarker(marker: {
744
+ markIndex: number;
745
+ categoryIndex: number;
746
+ }): boolean;
747
+ protected onMarkerOver(event: PointerEvent): void;
748
+ protected onMarkerOut(event: PointerEvent): void;
749
+ private onMarkerFocus;
750
+ protected onMarkerKey(event: KeyboardEvent): void;
637
751
  protected isDimmed(seriesId: string): boolean;
638
- protected onMarkerClick(markIndex: number, event?: Event): void;
752
+ protected onMarkerClick(event: MouseEvent): void;
753
+ private selectMarker;
639
754
  protected markerLabel(marker: {
640
755
  seriesLabel: string;
641
756
  category: string;
642
757
  formattedValue: string;
643
758
  }): string;
759
+ /** What this series reads at the category the cursor is on, whatever `tooltip` says. It feeds
760
+ * the container's category panel, so one band answers for every mark on the plot rather than
761
+ * each mark owning a hover field of its own. */
762
+ readonly axisEntries: _angular_core.Signal<readonly ChartTooltipEntry[]>;
644
763
  readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
645
764
  private readonly markerElements;
646
765
  /** The topmost reading at the active category, as its own element. The cursor band spans the
@@ -655,7 +774,7 @@ declare class LineSeriesComponent implements OnDestroy {
655
774
  * blank one. */
656
775
  private readonly axisTooltipContext;
657
776
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineSeriesComponent, never>;
658
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineSeriesComponent, "g[dsLineSeries]", ["dsLineSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
777
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineSeriesComponent, "g[dsLineSeries]", ["dsLineSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
659
778
  }
660
779
 
661
780
  /**
@@ -3,6 +3,7 @@ import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids
3
3
  import { DsControlValueAccessor, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
4
4
  import * as _angular_core from '@angular/core';
5
5
  import { OnDestroy, ElementRef, TemplateRef } from '@angular/core';
6
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
6
7
  import { DsOverlayCloseRef } from '@ids-group-ltd/ids-design-system/overlay';
7
8
 
8
9
  /** Hue 0–360, saturation/value 0–100 — the model the Photoshop-style picker
@@ -17,6 +18,7 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
17
18
  private readonly overlay;
18
19
  private readonly vcr;
19
20
  private readonly host;
21
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
20
22
  /** Public panel tokens forwarded onto the portaled overlay pane on open so
21
23
  * a consumer's `ds-color-picker { --ds-color-picker-panel-*: … }` reaches it.
22
24
  * Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
@@ -33,8 +35,10 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
33
35
  readonly panelClass: _angular_core.InputSignal<string | readonly string[]>;
34
36
  /** Disables the trigger and blocks all interaction. */
35
37
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
36
- /** Accessible name for the trigger button and panel. */
37
- readonly ariaLabel: _angular_core.InputSignal<string>;
38
+ /** Accessible name for the trigger button and panel.
39
+ * Unset falls back to `DS_INTL.colorPicker.label`. */
40
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
41
+ readonly ariaLabelResolved: _angular_core.Signal<string>;
38
42
  /** Confirmation text, shown when there is no error or warning — and it paints
39
43
  * the field's success border. A string like `warning`: the text IS the state. */
40
44
  readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
@@ -1,7 +1,7 @@
1
- import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
1
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
2
+ import { ChartStackMode, ChartThreshold, ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
2
3
  import * as _angular_core from '@angular/core';
3
4
  import { TemplateRef } from '@angular/core';
4
- import { ChartStackMode, ChartThreshold, ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
5
5
  import { ColumnSeriesComponent, ChartStackOffset } from '@ids-group-ltd/ids-design-system/components/chart';
6
6
  import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
7
7
  import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
@@ -56,6 +56,7 @@ interface ResolvedColumnSeries {
56
56
  readonly points: readonly ColumnChartPoint[];
57
57
  }
58
58
  declare class ColumnChartComponent {
59
+ protected readonly renderReady: _angular_core.Signal<boolean>;
59
60
  /** One column per point, drawn in the order given - or one NAMED SERIES per entry, where every
60
61
  * category carries a column from each. The two forms are told apart by their shape, so a chart
61
62
  * handed a flat list behaves exactly as it always has. */
@@ -112,25 +113,25 @@ declare class ColumnChartComponent {
112
113
  * when the data lands. */
113
114
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
114
115
  /** Shown in place of the plot when `data` is empty. Unset falls back to
115
- * `DS_CONFIG.chart.emptyText`, then `'No data'`. */
116
+ * `DS_INTL.chart.empty`. */
116
117
  readonly emptyText: _angular_core.InputSignal<string | null>;
117
118
  /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
118
119
  * because "the request failed" and "there is nothing to show" read the same to a reader and
119
120
  * mean opposite things. */
120
121
  readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
121
- /** The message the error state prints. Unset falls back to `DS_CONFIG.chart.errorText`, then
122
- * `'Could not load the data'`. */
122
+ /** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */
123
123
  readonly errorText: _angular_core.InputSignal<string | null>;
124
124
  /** Formats every value the chart prints, the annex table and the generated description
125
- * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
126
- * grouping with a K/M/B suffix past four digits. */
125
+ * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
126
+ * `LOCALE_ID`. */
127
127
  readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
128
128
  private readonly defaults;
129
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
129
130
  readonly frameResolved: _angular_core.Signal<ChartFrame>;
130
131
  readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
131
132
  readonly emptyTextResolved: _angular_core.Signal<string>;
132
133
  readonly errorTextResolved: _angular_core.Signal<string>;
133
- readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
134
+ readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
134
135
  /** Turns on the click affordance — the pointer cursor and any hover tint.
135
136
  * The click output fires whether or not this is set, so a consumer that
136
137
  * binds the output and forgets the flag still receives every click. */
@@ -190,6 +191,8 @@ declare class ColumnChartComponent {
190
191
  * its end standing rather than taking them off the axis for every other series too. */
191
192
  protected readonly categories: _angular_core.Signal<string[]>;
192
193
  protected readonly multiSeries: _angular_core.Signal<boolean>;
194
+ /** The series named in the legend under the pointer, which fades the rest. */
195
+ protected readonly highlightedSeries: _angular_core.WritableSignal<string | null>;
193
196
  protected readonly legendItems: _angular_core.Signal<readonly ChartLegendItem[]>;
194
197
  /** A normalized stack draws shares, not readings, so the axis has to say so - the value printed
195
198
  * beside each mark stays the reading, which is what `valueFormat` goes on formatting. */
@@ -3,6 +3,7 @@ import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids
3
3
  import { DsControlValueAccessor, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
4
4
  import * as _angular_core from '@angular/core';
5
5
  import { OnDestroy, ElementRef, TemplateRef } from '@angular/core';
6
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
6
7
  import { DsSize } from '@ids-group-ltd/ids-design-system/core';
7
8
  import { describedByIds } from '@ids-group-ltd/ids-design-system/components/field-group';
8
9
 
@@ -63,6 +64,8 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
63
64
  private readonly vcr;
64
65
  private readonly injector;
65
66
  private readonly config;
67
+ private readonly appLocale;
68
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
66
69
  private readonly host;
67
70
  /** Public panel tokens forwarded onto the portaled overlay pane on open so
68
71
  * a consumer's `ds-date-picker { --ds-date-picker-*: … }` reaches it.
@@ -80,8 +83,10 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
80
83
  readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
81
84
  /** Selected date (single) or `[start, end]` (range), two-way bound. */
82
85
  readonly value: _angular_core.ModelSignal<Date | DateRangeValue | null>;
83
- /** Accessible-name fallback only — the mask fills the visible placeholder, not this. */
84
- readonly placeholder: _angular_core.InputSignal<string>;
86
+ /** Accessible-name fallback only — the mask fills the visible placeholder, not this.
87
+ * Unset falls back to `DS_INTL.datePicker.placeholder`. */
88
+ readonly placeholder: _angular_core.InputSignal<string | null>;
89
+ readonly placeholderResolved: _angular_core.Signal<string>;
85
90
  /** Field label shown above the trigger. */
86
91
  readonly label: _angular_core.InputSignal<string>;
87
92
  /** Marks the field required — shows an asterisk and sets `aria-required`. */
@@ -112,7 +117,8 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
112
117
  readonly disabledDate: _angular_core.InputSignal<((date: Date) => boolean) | null>;
113
118
  /** Quick-pick shortcuts shown as a button column inside the calendar panel. */
114
119
  readonly presets: _angular_core.InputSignal<readonly DatePickerPreset[]>;
115
- /** BCP-47 locale driving month/weekday names and the value format. */
120
+ /** BCP-47 locale driving month/weekday names and the value format. Unset falls
121
+ * back to `DS_CONFIG.datePicker.locale`, then `DS_CONFIG.locale`, then `LOCALE_ID`. */
116
122
  readonly locale: _angular_core.InputSignal<string | null>;
117
123
  /** Explicit token format e.g. `'MM/DD/YYYY'`; default derived from `locale`. */
118
124
  readonly dateFormat: _angular_core.InputSignal<string | null>;