@ids-group-ltd/ids-design-system 0.15.0 → 0.15.2

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 (189) hide show
  1. package/CHANGELOG.md +496 -0
  2. package/components.md +69 -38
  3. package/docs/agent/INDEX.md +3 -3
  4. package/docs/agent/charts/column-series-component.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +2 -1
  7. package/docs/agent/charts/ds-heatmap-chart.md +2 -1
  8. package/docs/agent/charts/ds-line-chart.md +3 -3
  9. package/docs/agent/charts/ds-pie-chart.md +3 -2
  10. package/docs/agent/charts/ds-scatter-chart.md +2 -1
  11. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  12. package/docs/agent/charts/line-series-component.md +1 -1
  13. package/docs/agent/feedback/ds-alert.md +1 -0
  14. package/docs/agent/feedback/ds-banner.md +1 -0
  15. package/docs/agent/feedback/ds-toast.md +2 -0
  16. package/docs/agent/forms/ds-autocomplete.md +1 -1
  17. package/docs/agent/forms/ds-button.md +1 -0
  18. package/docs/agent/forms/ds-checkbox.md +1 -1
  19. package/docs/agent/forms/ds-color-picker.md +1 -1
  20. package/docs/agent/forms/ds-date-picker.md +1 -1
  21. package/docs/agent/forms/ds-icon-button.md +1 -1
  22. package/docs/agent/forms/ds-input.md +1 -1
  23. package/docs/agent/forms/ds-multi-select.md +1 -1
  24. package/docs/agent/forms/ds-otp-input.md +1 -1
  25. package/docs/agent/forms/ds-radio-group.md +1 -1
  26. package/docs/agent/forms/ds-segmented.md +1 -1
  27. package/docs/agent/forms/ds-select.md +1 -1
  28. package/docs/agent/forms/ds-slider.md +1 -1
  29. package/docs/agent/forms/ds-switch.md +1 -1
  30. package/docs/agent/forms/ds-textarea.md +1 -1
  31. package/docs/agent/forms/ds-time-picker.md +1 -1
  32. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  33. package/docs/agent/foundations/global-helper-classes.md +1 -1
  34. package/docs/agent/foundations/tokens.md +1 -1
  35. package/docs/agent/navigation/ds-pagination.md +2 -1
  36. package/docs/agent/overlays/ds-definition-term.md +1 -1
  37. package/docs/agent/overlays/ds-info-hint.md +21 -2
  38. package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
  39. package/docs/agent/overlays/ds-tooltip.md +1 -1
  40. package/docs/agent/tables/ds-table-columns.md +2 -0
  41. package/docs/agent/tables/ds-table.md +3 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +6 -3
  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-autocomplete.mjs +10 -4
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -3
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +2 -2
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +694 -77
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +2190 -1234
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +10 -5
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +15 -5
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +44 -5
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +22 -6
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +44 -5
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -18
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +49 -20
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +76 -10
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +33 -44
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +50 -5
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +10 -4
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +10 -5
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -6
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +102 -27
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -2
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +11 -6
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +123 -23
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +10 -5
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +10 -4
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +3 -2
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +32 -14
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +2 -2
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +17 -0
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +259 -21
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +15 -5
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +24 -7
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +17 -2
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +32 -12
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +10 -6
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +238 -67
  129. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  130. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +9 -2
  131. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
  133. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  134. package/migrations/0.15.0.json +43 -12
  135. package/migrations/0.15.1.json +745 -0
  136. package/migrations/0.15.2.json +164 -0
  137. package/migrations/0.3.0.json +16 -9
  138. package/package.json +9 -1
  139. package/schematics/check-overrides/surface.json +48 -1
  140. package/stylelint/deprecated-tokens.json +7 -0
  141. package/styles/_chart-frame.scss +14 -0
  142. package/styles/_chart-interactive.scss +26 -1
  143. package/styles/_chart-motion.scss +47 -8
  144. package/styles/_link.scss +30 -12
  145. package/styles/_tokens.scss +3 -0
  146. package/themes/README.md +55 -0
  147. package/themes/_semantic.scss +6 -7
  148. package/themes/dark/_theme.scss +7 -7
  149. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
  150. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +2 -0
  151. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
  152. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +5 -4
  153. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
  154. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +51 -7
  155. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +201 -28
  156. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
  157. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
  158. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +27 -2
  159. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
  160. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
  161. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +0 -3
  162. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +21 -8
  163. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
  164. package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +13 -4
  165. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
  166. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +13 -7
  167. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +6 -0
  168. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +2 -0
  169. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
  170. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
  171. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +24 -7
  172. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
  173. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
  174. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +39 -7
  175. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
  176. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +2 -0
  177. package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
  178. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
  179. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
  180. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
  181. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +51 -11
  182. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
  183. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
  184. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +2 -0
  185. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +8 -6
  186. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +4 -1
  187. package/types/ids-group-ltd-ids-design-system-components.d.ts +110 -34
  188. package/types/ids-group-ltd-ids-design-system-core.d.ts +44 -12
  189. package/types/ids-group-ltd-ids-design-system.d.ts +3 -2
@@ -23,19 +23,6 @@ function alignSeriesValues(data, categoryCount, gaps) {
23
23
  }
24
24
  return aligned;
25
25
  }
26
- /** Largest finite reading across the given series, or zero. Never negative: `ds-chart` only raises
27
- * its domain to this ceiling, so a negative would pin an axis below its own data. */
28
- function domainMaxOf(valueGroups) {
29
- let max = 0;
30
- for (const values of valueGroups) {
31
- for (const value of values) {
32
- if (value !== null && Number.isFinite(value) && value > max) {
33
- max = value;
34
- }
35
- }
36
- }
37
- return max;
38
- }
39
26
  function paletteIndexFor(slot, index, paletteSize) {
40
27
  if (!Number.isFinite(paletteSize) || paletteSize < 1) {
41
28
  return 0;
@@ -121,8 +108,9 @@ class LineChartComponent extends DsChartBase {
121
108
  }, ...(ngDevMode ? [{ debugName: "resolvedSeries" }] : /* istanbul ignore next */ []));
122
109
  /** Ids of the series the legend has switched off. */
123
110
  hiddenSeries = model([], ...(ngDevMode ? [{ debugName: "hiddenSeries" }] : /* istanbul ignore next */ []));
124
- /** Whether hiding a series re-scales the value axis to what is left. */
125
- rescaleOnHide = input(false, { ...(ngDevMode ? { debugName: "rescaleOnHide" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
111
+ /** Whether hiding a series re-scales the value axis to what is left. Off holds the axis where it
112
+ * stands with every series shown. */
113
+ rescaleOnHide = input(true, { ...(ngDevMode ? { debugName: "rescaleOnHide" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
126
114
  /** Whether the legend switches series off. Off leaves it a plain key. */
127
115
  legendFilters = input(false, { ...(ngDevMode ? { debugName: "legendFilters" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
128
116
  /** What a legend control does. `'isolate'` shows one series and hides the rest (radios);
@@ -134,6 +122,16 @@ class LineChartComponent extends DsChartBase {
134
122
  noVisibleSeriesTextResolved = computed(() => this.noVisibleSeriesText() ?? this.intl().chart.noVisibleSeries, ...(ngDevMode ? [{ debugName: "noVisibleSeriesTextResolved" }] : /* istanbul ignore next */ []));
135
123
  /** Gives every series a dash pattern, so lines differ by shape as well as colour. */
136
124
  patterns = input(false, { ...(ngDevMode ? { debugName: "patterns" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
125
+ /** Lets a press dragged across categories select them: a band, the sum and mean of every reading in
126
+ * it, and the readings outside faded. Escape or a press outside clears it. Off by default. */
127
+ selectRange = input(false, { ...(ngDevMode ? { debugName: "selectRange" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
128
+ /** Answers the pointer on the axes: the category label in bold, a guide from the value axis and
129
+ * the value there in a pill on the axis. On by default. */
130
+ showAxisReadout = input(true, { ...(ngDevMode ? { debugName: "showAxisReadout" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
131
+ /** On the hovered reading, thickens the stretches from the reading before it and to the reading
132
+ * after it, each in its own rising or falling colour and, unless it starts at zero, with its own
133
+ * change in percent; with several series, for the one singled out. */
134
+ showChange = input(false, { ...(ngDevMode ? { debugName: "showChange" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
137
135
  /** Milliseconds between one series' entrance and the next; `0` turns it off. The step narrows
138
136
  * so the last series still starts within the stagger budget. */
139
137
  staggerMs = input(40, { ...(ngDevMode ? { debugName: "staggerMs" } : /* istanbul ignore next */ {}), transform: numberAttribute });
@@ -243,18 +241,23 @@ class LineChartComponent extends DsChartBase {
243
241
  releaseCategoryPin() {
244
242
  this.plot()?.releaseCursor();
245
243
  }
246
- markSeries = computed(() => this.visibleSeries().map((entry) => ({
247
- id: entry.series.id,
248
- label: entry.series.label,
249
- data: entry.values,
250
- axis: entry.onSecondaryAxis
251
- ? 'secondary'
252
- : 'primary',
253
- area: entry.series.area,
254
- lower: entry.lowerValues ?? undefined,
255
- color: entry.color,
256
- })), ...(ngDevMode ? [{ debugName: "markSeries" }] : /* istanbul ignore next */ []));
257
- dashPatterns = computed(() => this.visibleSeries().map((entry) => entry.dash ?? ''), ...(ngDevMode ? [{ debugName: "dashPatterns" }] : /* istanbul ignore next */ []));
244
+ // Hidden series stay drawn, flagged, so a line erases itself instead of vanishing.
245
+ markSeries = computed(() => {
246
+ const hidden = this.hiddenSeries();
247
+ return this.stackedSeries().map((entry) => ({
248
+ id: entry.series.id,
249
+ label: entry.series.label,
250
+ data: entry.values,
251
+ axis: entry.onSecondaryAxis
252
+ ? 'secondary'
253
+ : 'primary',
254
+ area: entry.series.area,
255
+ lower: entry.lowerValues ?? undefined,
256
+ color: entry.color,
257
+ hidden: hidden.includes(entry.series.id),
258
+ }));
259
+ }, ...(ngDevMode ? [{ debugName: "markSeries" }] : /* istanbul ignore next */ []));
260
+ dashPatterns = computed(() => this.stackedSeries().map((entry) => entry.dash ?? ''), ...(ngDevMode ? [{ debugName: "dashPatterns" }] : /* istanbul ignore next */ []));
258
261
  markAnnotations = computed(() => this.annotations().flatMap((annotation) => {
259
262
  const visible = this.visibleSeries();
260
263
  const entry = annotation.seriesId
@@ -276,20 +279,6 @@ class LineChartComponent extends DsChartBase {
276
279
  ];
277
280
  }), ...(ngDevMode ? [{ debugName: "markAnnotations" }] : /* istanbul ignore next */ []));
278
281
  hasSecondaryAxis = computed(() => this.visibleSeries().some((entry) => entry.onSecondaryAxis), ...(ngDevMode ? [{ debugName: "hasSecondaryAxis" }] : /* istanbul ignore next */ []));
279
- /** The ceiling handed to the container, which only raises its domain to it. Unless `rescaleOnHide`,
280
- * it spans every series, so hiding one does not move the gridlines. */
281
- axisMax = computed(() => this.rescaleOnHide() ? this.max() : this.ceilingOf(false, this.max()), ...(ngDevMode ? [{ debugName: "axisMax" }] : /* istanbul ignore next */ []));
282
- axisMaxSecondary = computed(() => this.rescaleOnHide()
283
- ? this.maxSecondary()
284
- : this.ceilingOf(true, this.maxSecondary()), ...(ngDevMode ? [{ debugName: "axisMaxSecondary" }] : /* istanbul ignore next */ []));
285
- ceilingOf(onSecondaryAxis, asked) {
286
- const derived = domainMaxOf(this.stackedSeries()
287
- .filter((entry) => entry.onSecondaryAxis === onSecondaryAxis)
288
- .map((entry) => entry.values));
289
- return asked !== null && Number.isFinite(asked) && asked > derived
290
- ? asked
291
- : derived;
292
- }
293
282
  plotHeight = readOnHostResize(inject(ElementRef), readPlotHeight, DEFAULT_PLOT_HEIGHT, Object.is);
294
283
  viewHeightPx = computed(() => `${chartViewHeight(this.plotHeight(), CHART_DEFAULT_VALUE_SPACE)}px`, ...(ngDevMode ? [{ debugName: "viewHeightPx" }] : /* istanbul ignore next */ []));
295
284
  onPointClicked(reading) {
@@ -314,7 +303,7 @@ class LineChartComponent extends DsChartBase {
314
303
  skeletonAxisGutter = CHART_DEFAULT_AXIS_GUTTER;
315
304
  skeletonSeries = computed(() => Array.from({ length: Math.max(this.series().length, 3) }), ...(ngDevMode ? [{ debugName: "skeletonSeries" }] : /* istanbul ignore next */ []));
316
305
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: LineChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
317
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: LineChartComponent, isStandalone: true, selector: "ds-line-chart", inputs: { categories: { classPropertyName: "categories", publicName: "categories", isSignal: true, isRequired: false, transformFunction: null }, series: { classPropertyName: "series", publicName: "series", isSignal: true, isRequired: false, transformFunction: null }, yAxisMode: { classPropertyName: "yAxisMode", publicName: "yAxisMode", isSignal: true, isRequired: false, transformFunction: null }, showMarkers: { classPropertyName: "showMarkers", publicName: "showMarkers", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, annotations: { classPropertyName: "annotations", publicName: "annotations", isSignal: true, isRequired: false, transformFunction: null }, dimOthers: { classPropertyName: "dimOthers", publicName: "dimOthers", isSignal: true, isRequired: false, transformFunction: null }, gaps: { classPropertyName: "gaps", publicName: "gaps", isSignal: true, isRequired: false, transformFunction: null }, curve: { classPropertyName: "curve", publicName: "curve", isSignal: true, isRequired: false, transformFunction: null }, stack: { classPropertyName: "stack", publicName: "stack", isSignal: true, isRequired: false, transformFunction: null }, yAxisLabel: { classPropertyName: "yAxisLabel", publicName: "yAxisLabel", isSignal: true, isRequired: false, transformFunction: null }, secondaryAxisLabel: { classPropertyName: "secondaryAxisLabel", publicName: "secondaryAxisLabel", isSignal: true, isRequired: false, transformFunction: null }, tickCount: { classPropertyName: "tickCount", publicName: "tickCount", isSignal: true, isRequired: false, transformFunction: null }, dataTable: { classPropertyName: "dataTable", publicName: "dataTable", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, maxSecondary: { classPropertyName: "maxSecondary", publicName: "maxSecondary", isSignal: true, isRequired: false, transformFunction: null }, hiddenSeries: { classPropertyName: "hiddenSeries", publicName: "hiddenSeries", isSignal: true, isRequired: false, transformFunction: null }, rescaleOnHide: { classPropertyName: "rescaleOnHide", publicName: "rescaleOnHide", isSignal: true, isRequired: false, transformFunction: null }, legendFilters: { classPropertyName: "legendFilters", publicName: "legendFilters", isSignal: true, isRequired: false, transformFunction: null }, legendMode: { classPropertyName: "legendMode", publicName: "legendMode", isSignal: true, isRequired: false, transformFunction: null }, noVisibleSeriesText: { classPropertyName: "noVisibleSeriesText", publicName: "noVisibleSeriesText", isSignal: true, isRequired: false, transformFunction: null }, patterns: { classPropertyName: "patterns", publicName: "patterns", isSignal: true, isRequired: false, transformFunction: null }, staggerMs: { classPropertyName: "staggerMs", publicName: "staggerMs", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipAnchor: { classPropertyName: "tooltipAnchor", publicName: "tooltipAnchor", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pointClicked: "pointClicked", hiddenSeries: "hiddenSeriesChange" }, host: { properties: { "class.framed": "frameResolved() === 'auto'", "style.--_line-chart-view-height": "viewHeightPx()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["dsChartTooltip"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "plot", first: true, predicate: ChartComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<figure\n class=\"line-chart\"\n dsChartStates\n messageAxes\n [pinned]=\"pinnedCategory()\"\n [caption]=\"caption()\"\n [error]=\"error()\"\n [errorText]=\"errorTextResolved()\"\n [pending]=\"(loading() && isEmpty()) || !renderReady()\"\n [reloading]=\"loading()\"\n [dataTable]=\"dataTableResolved() !== 'none'\"\n [shimmer]=\"loading()\"\n [empty]=\"isEmpty()\"\n [emptyText]=\"emptyTextResolved()\"\n [skeleton]=\"skeleton\"\n [body]=\"body\"\n (release)=\"releaseCategoryPin()\">\n</figure>\n\n<ng-template #skeleton>\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-chart-skeleton\n marks=\"line\"\n [plotHeight]=\"skeletonPlotHeight\"\n [count]=\"skeletonPoints()\"\n [valueSpace]=\"skeletonValueSpace\"\n [axisGutter]=\"skeletonAxisGutter\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #body>\n @if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [max]=\"axisMax()\"\n [maxSecondary]=\"axisMaxSecondary()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [pinOnClick]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</ng-template>\n", styles: ["@layer ds-component-base{:host{box-sizing:border-box;interpolate-size:allow-keywords}*,*:before,*:after{box-sizing:border-box}button,input,select,textarea{font-family:inherit}h1,h2,h3,h4,h5,h6{margin:0}:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-bg-color, var(--ds-chart-bg-color));border:var(--ds-chart-frame-border-width) solid var(--ds-chart-frame-border-color);border-radius:var(--ds-chart-frame-radius)}.data-table,.stage-table{-webkit-user-select:text;user-select:text}.empty-text.is-error{color:var(--error)}.data-table{--_chart-data-table-marker: var(--space-1);margin-block-start:var(--space-4);color:var(--text-secondary);font-size:var(--font-size-s)}.data-table>summary{display:inline-flex;align-items:center;gap:var(--space-1);padding-block:var(--space-1);color:var(--text-tertiary);font-size:var(--font-size-xs);cursor:pointer;list-style:none}.data-table>summary::-webkit-details-marker{display:none}.data-table>summary:before{content:\"\";inline-size:0;block-size:0;border-block-start:var(--_chart-data-table-marker) solid transparent;border-block-end:var(--_chart-data-table-marker) solid transparent;border-inline-start:calc(var(--_chart-data-table-marker) * 1.25) solid currentcolor;transition:transform var(--duration-fast) var(--ease-standard)}@media(prefers-reduced-motion:reduce){.data-table>summary:before{transition:none}}.data-table[open]>summary:before{transform:rotate(90deg)}.data-table>summary{border-radius:var(--radius-sm)}.data-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.data-table table{inline-size:100%;margin-block-start:var(--space-2);border-collapse:collapse;font-variant-numeric:tabular-nums}.data-table th,.data-table td{padding-block:var(--space-2);border-block-end:var(--border-width-default) solid var(--ds-chart-grid-line-color);text-align:end}.data-table thead th{color:var(--text-tertiary);font-size:var(--font-size-xs);font-weight:600}.data-table th:first-child,.data-table td:first-child{text-align:start}.data-table td+td{padding-inline-start:var(--space-3)}:host{--_line-chart-plot-height: var(--ds-line-chart-plot-height, 240px);--_line-chart-skeleton-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height));--_line-chart-message-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height))}.line-chart{--_line-chart-grid-line-color: var(--ds-line-chart-grid-line-color, var(--ds-chart-grid-line-color));--_line-chart-axis-line-color: var(--ds-line-chart-axis-line-color, var(--ds-chart-axis-line-color));--_line-chart-axis-label-color: var(--ds-line-chart-axis-label-color, var(--ds-chart-axis-label-color));--_line-chart-axis-font-size: var(--ds-line-chart-axis-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-color: var(--ds-line-chart-annotation-color, var(--text-primary));--_line-chart-annotation-font-size: var(--ds-line-chart-annotation-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-font-weight: var(--ds-line-chart-annotation-font-weight, var(--font-weight-bold));--_line-chart-annotation-halo-color: var(--ds-line-chart-annotation-halo-color, var(--ds-chart-bg-color));--_line-chart-annotation-halo-width: var(--ds-line-chart-annotation-halo-width, 3px);--_line-chart-line-width: var(--ds-line-chart-line-width, var(--ds-chart-line-width));--_line-chart-dot-radius: var(--ds-line-chart-dot-radius, var(--ds-chart-dot-radius));--_line-chart-dot-radius-active: var(--ds-line-chart-dot-radius-active, var(--ds-chart-dot-radius-active));--_line-chart-hover-bg-color: var(--ds-line-chart-hover-bg-color, var(--ds-chart-hover-bg-color));--_line-chart-cursor-line-color: var(--ds-line-chart-cursor-line-color, var(--ds-chart-cursor-line-color));--_line-chart-line-width-bold: var( --ds-line-chart-line-width-bold, var(--ds-chart-line-width-bold) );--_line-chart-focus-color: var(--ds-line-chart-focus-color, var(--focus-ring-color));--_line-chart-focus-width: var(--ds-line-chart-focus-width, var(--focus-ring-width));--_line-chart-area-opacity: var(--ds-line-chart-area-opacity, .16);--_line-chart-swatch-size: var(--ds-line-chart-swatch-size, 10px);margin:0}.empty{display:grid;place-items:center;min-block-size:var(--_line-chart-message-height);margin:0;color:var(--text-secondary);text-align:center;border-inline-start:1px solid var(--ds-chart-axis-line-color);border-block-end:1px solid var(--ds-chart-axis-line-color)}:host{--_chart-message-height: var(--_line-chart-message-height)}ds-chart{--ds-chart-grid-line-color: var(--_line-chart-grid-line-color);--ds-chart-axis-line-color: var(--_line-chart-axis-line-color);--ds-chart-axis-label-color: var(--_line-chart-axis-label-color);--ds-chart-axis-font-size: var(--_line-chart-axis-font-size);--ds-chart-hover-bg-color: var(--_line-chart-hover-bg-color);--ds-chart-cursor-line-color: var(--_line-chart-cursor-line-color);--ds-chart-line-width: var(--_line-chart-line-width);--ds-chart-line-width-bold: var(--_line-chart-line-width-bold);--ds-chart-dot-radius: var(--_line-chart-dot-radius);--ds-chart-dot-radius-active: var(--_line-chart-dot-radius-active);--ds-chart-area-opacity: var(--_line-chart-area-opacity);--ds-chart-annotation-color: var(--_line-chart-annotation-color);--ds-chart-annotation-font-size: var(--_line-chart-annotation-font-size);--ds-chart-annotation-font-weight: var(--_line-chart-annotation-font-weight);--ds-chart-annotation-halo-color: var(--_line-chart-annotation-halo-color);--ds-chart-annotation-halo-width: var(--_line-chart-annotation-halo-width);--ds-chart-focus-ring-color: var(--_line-chart-focus-color);--focus-ring-width: var(--_line-chart-focus-width)}ds-chart-legend{--ds-chart-legend-swatch-size: var(--_line-chart-swatch-size)}.skeleton{display:grid}.skeleton-legend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-4);min-block-size:1lh;margin-block-start:var(--space-3);font-size:var(--font-size-xs)}@media(forced-colors:active){.axis-line,.grid-line{stroke:CanvasText}.axis-label,.category-label{fill:CanvasText}:focus-visible{stroke:Highlight;filter:none}}:host{position:relative}:host(.framed){--_chart-pin-reset-inset: var(--ds-chart-frame-padding)}\n"], dependencies: [{ kind: "component", type: SkeletonComponent, selector: "ds-skeleton", inputs: ["width", "height", "circle", "inline", "shimmer"] }, { kind: "component", type: ChartSkeletonComponent, selector: "ds-chart-skeleton", inputs: ["marks", "count", "plotHeight", "valueSpace", "axisGutter", "shimmer"] }, { kind: "component", type: ChartComponent, selector: "ds-chart", inputs: ["categories", "skeletonCount", "tickCount", "min", "max", "cursor", "maxSecondary", "plotHeight", "axisGutter", "valueSpace", "secondaryAxisMode", "axisColor", "secondaryAxisColor", "axisLabel", "secondaryAxisLabel", "tooltipTemplate", "tooltipExtraGap"], exportAs: ["dsChart"] }, { kind: "component", type: LineSeriesComponent, selector: "g[dsLineSeries]", inputs: ["data", "showMarkers", "outline", "interactive", "pinOnClick", "dimOthers", "highlighted", "patterns", "stacked", "staggerMs", "gaps", "curve", "tooltip", "tooltipAnchor", "tooltipLingerMs", "valueFormat"], outputs: ["pointClicked"], exportAs: ["dsLineSeries"] }, { kind: "component", type: SeriesAnnotationComponent, selector: "g[dsSeriesAnnotation]", inputs: ["annotations"] }, { kind: "component", type: ChartLegendComponent, selector: "ds-chart-legend", inputs: ["items", "hidden", "toggleable", "mode", "highlighted"], outputs: ["hiddenChange", "highlightedChange"] }, { kind: "component", type: ChartDataTableComponent, selector: "ds-chart-data-table", inputs: ["columns", "rows", "caption", "open", "rowHeader"], outputs: ["toggled"] }, { kind: "component", type: ChartStatesComponent, selector: "figure[dsChartStates]", inputs: ["unpin", "pinned", "caption", "error", "errorText", "pending", "dataTable", "shimmer", "reloading", "empty", "emptyText", "messageAxes", "skeleton", "body", "message"], outputs: ["release"] }], viewProviders: [
306
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: LineChartComponent, isStandalone: true, selector: "ds-line-chart", inputs: { categories: { classPropertyName: "categories", publicName: "categories", isSignal: true, isRequired: false, transformFunction: null }, series: { classPropertyName: "series", publicName: "series", isSignal: true, isRequired: false, transformFunction: null }, yAxisMode: { classPropertyName: "yAxisMode", publicName: "yAxisMode", isSignal: true, isRequired: false, transformFunction: null }, showMarkers: { classPropertyName: "showMarkers", publicName: "showMarkers", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, annotations: { classPropertyName: "annotations", publicName: "annotations", isSignal: true, isRequired: false, transformFunction: null }, dimOthers: { classPropertyName: "dimOthers", publicName: "dimOthers", isSignal: true, isRequired: false, transformFunction: null }, gaps: { classPropertyName: "gaps", publicName: "gaps", isSignal: true, isRequired: false, transformFunction: null }, curve: { classPropertyName: "curve", publicName: "curve", isSignal: true, isRequired: false, transformFunction: null }, stack: { classPropertyName: "stack", publicName: "stack", isSignal: true, isRequired: false, transformFunction: null }, yAxisLabel: { classPropertyName: "yAxisLabel", publicName: "yAxisLabel", isSignal: true, isRequired: false, transformFunction: null }, secondaryAxisLabel: { classPropertyName: "secondaryAxisLabel", publicName: "secondaryAxisLabel", isSignal: true, isRequired: false, transformFunction: null }, tickCount: { classPropertyName: "tickCount", publicName: "tickCount", isSignal: true, isRequired: false, transformFunction: null }, dataTable: { classPropertyName: "dataTable", publicName: "dataTable", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, maxSecondary: { classPropertyName: "maxSecondary", publicName: "maxSecondary", isSignal: true, isRequired: false, transformFunction: null }, hiddenSeries: { classPropertyName: "hiddenSeries", publicName: "hiddenSeries", isSignal: true, isRequired: false, transformFunction: null }, rescaleOnHide: { classPropertyName: "rescaleOnHide", publicName: "rescaleOnHide", isSignal: true, isRequired: false, transformFunction: null }, legendFilters: { classPropertyName: "legendFilters", publicName: "legendFilters", isSignal: true, isRequired: false, transformFunction: null }, legendMode: { classPropertyName: "legendMode", publicName: "legendMode", isSignal: true, isRequired: false, transformFunction: null }, noVisibleSeriesText: { classPropertyName: "noVisibleSeriesText", publicName: "noVisibleSeriesText", isSignal: true, isRequired: false, transformFunction: null }, patterns: { classPropertyName: "patterns", publicName: "patterns", isSignal: true, isRequired: false, transformFunction: null }, selectRange: { classPropertyName: "selectRange", publicName: "selectRange", isSignal: true, isRequired: false, transformFunction: null }, showAxisReadout: { classPropertyName: "showAxisReadout", publicName: "showAxisReadout", isSignal: true, isRequired: false, transformFunction: null }, showChange: { classPropertyName: "showChange", publicName: "showChange", isSignal: true, isRequired: false, transformFunction: null }, staggerMs: { classPropertyName: "staggerMs", publicName: "staggerMs", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipAnchor: { classPropertyName: "tooltipAnchor", publicName: "tooltipAnchor", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pointClicked: "pointClicked", hiddenSeries: "hiddenSeriesChange" }, host: { properties: { "class.framed": "frameResolved() === 'auto'", "style.--_line-chart-view-height": "viewHeightPx()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["dsChartTooltip"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "plot", first: true, predicate: ChartComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<figure\n class=\"line-chart\"\n dsChartStates\n messageAxes\n [pinned]=\"pinnedCategory()\"\n [caption]=\"caption()\"\n [error]=\"error()\"\n [errorText]=\"errorTextResolved()\"\n [pending]=\"(loading() && isEmpty()) || !renderReady()\"\n [reloading]=\"loading()\"\n [dataTable]=\"dataTableResolved()\"\n [shimmer]=\"loading()\"\n [empty]=\"isEmpty()\"\n [emptyText]=\"emptyTextResolved()\"\n [skeleton]=\"skeleton\"\n [body]=\"body\"\n (release)=\"releaseCategoryPin()\">\n</figure>\n\n<ng-template #skeleton>\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-chart-skeleton\n marks=\"line\"\n [plotHeight]=\"skeletonPlotHeight\"\n [count]=\"skeletonPoints()\"\n [valueSpace]=\"skeletonValueSpace\"\n [axisGutter]=\"skeletonAxisGutter\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #body>\n @if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [selectRange]=\"selectRange()\"\n [showAxisReadout]=\"showAxisReadout()\"\n [summary]=\"accessibleName()\"\n [max]=\"max()\"\n [maxSecondary]=\"maxSecondary()\"\n [rescaleOnHide]=\"rescaleOnHide()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [pinOnClick]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [showChange]=\"showChange()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</ng-template>\n", styles: ["@layer ds-component-base{:host{box-sizing:border-box;interpolate-size:allow-keywords}*,*:before,*:after{box-sizing:border-box}button,input,select,textarea{font-family:inherit}h1,h2,h3,h4,h5,h6{margin:0}:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-bg-color, var(--ds-chart-bg-color));border:var(--ds-chart-frame-border-width) solid var(--ds-chart-frame-border-color);border-radius:var(--ds-chart-frame-radius)}.data-table,.stage-table{-webkit-user-select:text;user-select:text}.empty-text.is-error{color:var(--error)}.data-table{--_chart-data-table-marker: var(--space-1);margin-block-start:var(--space-4);color:var(--text-secondary);font-size:var(--font-size-s)}.data-table>summary{display:inline-flex;align-items:center;gap:var(--space-1);padding-block:var(--space-1);color:var(--text-tertiary);font-size:var(--font-size-xs);cursor:pointer;list-style:none}.data-table>summary::-webkit-details-marker{display:none}.data-table>summary:before{content:\"\";inline-size:0;block-size:0;border-block-start:var(--_chart-data-table-marker) solid transparent;border-block-end:var(--_chart-data-table-marker) solid transparent;border-inline-start:calc(var(--_chart-data-table-marker) * 1.25) solid currentcolor;transition:transform var(--duration-fast) var(--ease-standard)}@media(prefers-reduced-motion:reduce){.data-table>summary:before{transition:none}}.data-table[open]>summary:before{transform:rotate(90deg)}.data-table>summary{border-radius:var(--radius-sm)}.data-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.data-table table{inline-size:100%;margin-block-start:var(--space-2);border-collapse:collapse;font-variant-numeric:tabular-nums}.data-table th,.data-table td{padding-block:var(--space-2);border-block-end:var(--border-width-default) solid var(--ds-chart-grid-line-color);text-align:end}.data-table thead th{color:var(--text-tertiary);font-size:var(--font-size-xs);font-weight:600}.data-table th:first-child,.data-table td:first-child{text-align:start}.data-table td+td{padding-inline-start:var(--space-3)}:host{--_line-chart-plot-height: var(--ds-line-chart-plot-height, 240px);--_line-chart-skeleton-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height));--_line-chart-message-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height))}.line-chart{--_line-chart-grid-line-color: var(--ds-line-chart-grid-line-color, var(--ds-chart-grid-line-color));--_line-chart-axis-line-color: var(--ds-line-chart-axis-line-color, var(--ds-chart-axis-line-color));--_line-chart-axis-label-color: var(--ds-line-chart-axis-label-color, var(--ds-chart-axis-label-color));--_line-chart-axis-font-size: var(--ds-line-chart-axis-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-color: var(--ds-line-chart-annotation-color, var(--text-primary));--_line-chart-annotation-font-size: var(--ds-line-chart-annotation-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-font-weight: var(--ds-line-chart-annotation-font-weight, var(--font-weight-bold));--_line-chart-annotation-halo-color: var(--ds-line-chart-annotation-halo-color, var(--ds-chart-bg-color));--_line-chart-annotation-halo-width: var(--ds-line-chart-annotation-halo-width, 3px);--_line-chart-line-width: var(--ds-line-chart-line-width, var(--ds-chart-line-width));--_line-chart-dot-radius: var(--ds-line-chart-dot-radius, var(--ds-chart-dot-radius));--_line-chart-dot-radius-active: var(--ds-line-chart-dot-radius-active, var(--ds-chart-dot-radius-active));--_line-chart-hover-bg-color: var(--ds-line-chart-hover-bg-color, var(--ds-chart-hover-bg-color));--_line-chart-cursor-line-color: var(--ds-line-chart-cursor-line-color, var(--ds-chart-cursor-line-color));--_line-chart-line-width-bold: var( --ds-line-chart-line-width-bold, var(--ds-chart-line-width-bold) );--_line-chart-focus-color: var(--ds-line-chart-focus-color, var(--focus-ring-color));--_line-chart-focus-width: var(--ds-line-chart-focus-width, var(--focus-ring-width));--_line-chart-area-opacity: var(--ds-line-chart-area-opacity, .16);--_line-chart-swatch-size: var(--ds-line-chart-swatch-size, 10px);margin:0}.empty{display:grid;place-items:center;min-block-size:var(--_line-chart-message-height);margin:0;color:var(--text-secondary);text-align:center;border-inline-start:1px solid var(--ds-chart-axis-line-color);border-block-end:1px solid var(--ds-chart-axis-line-color)}:host{--_chart-message-height: var(--_line-chart-message-height)}ds-chart{--ds-chart-grid-line-color: var(--_line-chart-grid-line-color);--ds-chart-axis-line-color: var(--_line-chart-axis-line-color);--ds-chart-axis-label-color: var(--_line-chart-axis-label-color);--ds-chart-axis-font-size: var(--_line-chart-axis-font-size);--ds-chart-hover-bg-color: var(--_line-chart-hover-bg-color);--ds-chart-cursor-line-color: var(--_line-chart-cursor-line-color);--ds-chart-line-width: var(--_line-chart-line-width);--ds-chart-line-width-bold: var(--_line-chart-line-width-bold);--ds-chart-dot-radius: var(--_line-chart-dot-radius);--ds-chart-dot-radius-active: var(--_line-chart-dot-radius-active);--ds-chart-area-opacity: var(--_line-chart-area-opacity);--ds-chart-annotation-color: var(--_line-chart-annotation-color);--ds-chart-annotation-font-size: var(--_line-chart-annotation-font-size);--ds-chart-annotation-font-weight: var(--_line-chart-annotation-font-weight);--ds-chart-annotation-halo-color: var(--_line-chart-annotation-halo-color);--ds-chart-annotation-halo-width: var(--_line-chart-annotation-halo-width);--ds-chart-focus-ring-color: var(--_line-chart-focus-color);--focus-ring-width: var(--_line-chart-focus-width)}ds-chart-legend{--ds-chart-legend-swatch-size: var(--_line-chart-swatch-size)}.skeleton{display:grid}.skeleton-legend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-4);min-block-size:1lh;margin-block-start:var(--space-3);font-size:var(--font-size-xs)}@media(forced-colors:active){.axis-line,.grid-line{stroke:CanvasText}.axis-label,.category-label{fill:CanvasText}:focus-visible{stroke:Highlight;filter:none}}:host{position:relative}:host(.framed){--_chart-pin-reset-inset: var(--ds-chart-frame-padding)}\n"], dependencies: [{ kind: "component", type: SkeletonComponent, selector: "ds-skeleton", inputs: ["width", "height", "circle", "inline", "shimmer"] }, { kind: "component", type: ChartSkeletonComponent, selector: "ds-chart-skeleton", inputs: ["marks", "count", "plotHeight", "valueSpace", "axisGutter", "shimmer"] }, { kind: "component", type: ChartComponent, selector: "ds-chart", inputs: ["categories", "skeletonCount", "tickCount", "min", "max", "cursor", "rescaleOnHide", "maxSecondary", "plotHeight", "axisGutter", "valueSpace", "secondaryAxisMode", "axisColor", "secondaryAxisColor", "axisLabel", "secondaryAxisLabel", "selectRange", "showAxisReadout", "tooltipTemplate", "tooltipExtraGap"], exportAs: ["dsChart"] }, { kind: "component", type: LineSeriesComponent, selector: "g[dsLineSeries]", inputs: ["data", "showMarkers", "outline", "interactive", "pinOnClick", "dimOthers", "highlighted", "showChange", "patterns", "stacked", "staggerMs", "gaps", "curve", "tooltip", "tooltipAnchor", "tooltipLingerMs", "valueFormat"], outputs: ["pointClicked"], exportAs: ["dsLineSeries"] }, { kind: "component", type: SeriesAnnotationComponent, selector: "g[dsSeriesAnnotation]", inputs: ["annotations"] }, { kind: "component", type: ChartLegendComponent, selector: "ds-chart-legend", inputs: ["items", "hidden", "toggleable", "mode", "highlighted"], outputs: ["hiddenChange", "highlightedChange"] }, { kind: "component", type: ChartDataTableComponent, selector: "ds-chart-data-table", inputs: ["columns", "rows", "caption", "open", "rowHeader"], outputs: ["toggled"] }, { kind: "component", type: ChartStatesComponent, selector: "figure[dsChartStates]", inputs: ["unpin", "pinned", "caption", "error", "errorText", "pending", "dataTable", "shimmer", "reloading", "empty", "emptyText", "messageAxes", "skeleton", "body", "message", "morphGrowth"], outputs: ["release"] }], viewProviders: [
318
307
  { provide: CHART_RENDER_GATE_PASSED, useValue: true },
319
308
  { provide: CHART_UNPIN_DRAWN_BY_HOST, useValue: true },
320
309
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -336,8 +325,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
336
325
  }, encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [
337
326
  { provide: CHART_RENDER_GATE_PASSED, useValue: true },
338
327
  { provide: CHART_UNPIN_DRAWN_BY_HOST, useValue: true },
339
- ], template: "<figure\n class=\"line-chart\"\n dsChartStates\n messageAxes\n [pinned]=\"pinnedCategory()\"\n [caption]=\"caption()\"\n [error]=\"error()\"\n [errorText]=\"errorTextResolved()\"\n [pending]=\"(loading() && isEmpty()) || !renderReady()\"\n [reloading]=\"loading()\"\n [dataTable]=\"dataTableResolved() !== 'none'\"\n [shimmer]=\"loading()\"\n [empty]=\"isEmpty()\"\n [emptyText]=\"emptyTextResolved()\"\n [skeleton]=\"skeleton\"\n [body]=\"body\"\n (release)=\"releaseCategoryPin()\">\n</figure>\n\n<ng-template #skeleton>\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-chart-skeleton\n marks=\"line\"\n [plotHeight]=\"skeletonPlotHeight\"\n [count]=\"skeletonPoints()\"\n [valueSpace]=\"skeletonValueSpace\"\n [axisGutter]=\"skeletonAxisGutter\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #body>\n @if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [max]=\"axisMax()\"\n [maxSecondary]=\"axisMaxSecondary()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [pinOnClick]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</ng-template>\n", styles: ["@layer ds-component-base{:host{box-sizing:border-box;interpolate-size:allow-keywords}*,*:before,*:after{box-sizing:border-box}button,input,select,textarea{font-family:inherit}h1,h2,h3,h4,h5,h6{margin:0}:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-bg-color, var(--ds-chart-bg-color));border:var(--ds-chart-frame-border-width) solid var(--ds-chart-frame-border-color);border-radius:var(--ds-chart-frame-radius)}.data-table,.stage-table{-webkit-user-select:text;user-select:text}.empty-text.is-error{color:var(--error)}.data-table{--_chart-data-table-marker: var(--space-1);margin-block-start:var(--space-4);color:var(--text-secondary);font-size:var(--font-size-s)}.data-table>summary{display:inline-flex;align-items:center;gap:var(--space-1);padding-block:var(--space-1);color:var(--text-tertiary);font-size:var(--font-size-xs);cursor:pointer;list-style:none}.data-table>summary::-webkit-details-marker{display:none}.data-table>summary:before{content:\"\";inline-size:0;block-size:0;border-block-start:var(--_chart-data-table-marker) solid transparent;border-block-end:var(--_chart-data-table-marker) solid transparent;border-inline-start:calc(var(--_chart-data-table-marker) * 1.25) solid currentcolor;transition:transform var(--duration-fast) var(--ease-standard)}@media(prefers-reduced-motion:reduce){.data-table>summary:before{transition:none}}.data-table[open]>summary:before{transform:rotate(90deg)}.data-table>summary{border-radius:var(--radius-sm)}.data-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.data-table table{inline-size:100%;margin-block-start:var(--space-2);border-collapse:collapse;font-variant-numeric:tabular-nums}.data-table th,.data-table td{padding-block:var(--space-2);border-block-end:var(--border-width-default) solid var(--ds-chart-grid-line-color);text-align:end}.data-table thead th{color:var(--text-tertiary);font-size:var(--font-size-xs);font-weight:600}.data-table th:first-child,.data-table td:first-child{text-align:start}.data-table td+td{padding-inline-start:var(--space-3)}:host{--_line-chart-plot-height: var(--ds-line-chart-plot-height, 240px);--_line-chart-skeleton-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height));--_line-chart-message-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height))}.line-chart{--_line-chart-grid-line-color: var(--ds-line-chart-grid-line-color, var(--ds-chart-grid-line-color));--_line-chart-axis-line-color: var(--ds-line-chart-axis-line-color, var(--ds-chart-axis-line-color));--_line-chart-axis-label-color: var(--ds-line-chart-axis-label-color, var(--ds-chart-axis-label-color));--_line-chart-axis-font-size: var(--ds-line-chart-axis-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-color: var(--ds-line-chart-annotation-color, var(--text-primary));--_line-chart-annotation-font-size: var(--ds-line-chart-annotation-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-font-weight: var(--ds-line-chart-annotation-font-weight, var(--font-weight-bold));--_line-chart-annotation-halo-color: var(--ds-line-chart-annotation-halo-color, var(--ds-chart-bg-color));--_line-chart-annotation-halo-width: var(--ds-line-chart-annotation-halo-width, 3px);--_line-chart-line-width: var(--ds-line-chart-line-width, var(--ds-chart-line-width));--_line-chart-dot-radius: var(--ds-line-chart-dot-radius, var(--ds-chart-dot-radius));--_line-chart-dot-radius-active: var(--ds-line-chart-dot-radius-active, var(--ds-chart-dot-radius-active));--_line-chart-hover-bg-color: var(--ds-line-chart-hover-bg-color, var(--ds-chart-hover-bg-color));--_line-chart-cursor-line-color: var(--ds-line-chart-cursor-line-color, var(--ds-chart-cursor-line-color));--_line-chart-line-width-bold: var( --ds-line-chart-line-width-bold, var(--ds-chart-line-width-bold) );--_line-chart-focus-color: var(--ds-line-chart-focus-color, var(--focus-ring-color));--_line-chart-focus-width: var(--ds-line-chart-focus-width, var(--focus-ring-width));--_line-chart-area-opacity: var(--ds-line-chart-area-opacity, .16);--_line-chart-swatch-size: var(--ds-line-chart-swatch-size, 10px);margin:0}.empty{display:grid;place-items:center;min-block-size:var(--_line-chart-message-height);margin:0;color:var(--text-secondary);text-align:center;border-inline-start:1px solid var(--ds-chart-axis-line-color);border-block-end:1px solid var(--ds-chart-axis-line-color)}:host{--_chart-message-height: var(--_line-chart-message-height)}ds-chart{--ds-chart-grid-line-color: var(--_line-chart-grid-line-color);--ds-chart-axis-line-color: var(--_line-chart-axis-line-color);--ds-chart-axis-label-color: var(--_line-chart-axis-label-color);--ds-chart-axis-font-size: var(--_line-chart-axis-font-size);--ds-chart-hover-bg-color: var(--_line-chart-hover-bg-color);--ds-chart-cursor-line-color: var(--_line-chart-cursor-line-color);--ds-chart-line-width: var(--_line-chart-line-width);--ds-chart-line-width-bold: var(--_line-chart-line-width-bold);--ds-chart-dot-radius: var(--_line-chart-dot-radius);--ds-chart-dot-radius-active: var(--_line-chart-dot-radius-active);--ds-chart-area-opacity: var(--_line-chart-area-opacity);--ds-chart-annotation-color: var(--_line-chart-annotation-color);--ds-chart-annotation-font-size: var(--_line-chart-annotation-font-size);--ds-chart-annotation-font-weight: var(--_line-chart-annotation-font-weight);--ds-chart-annotation-halo-color: var(--_line-chart-annotation-halo-color);--ds-chart-annotation-halo-width: var(--_line-chart-annotation-halo-width);--ds-chart-focus-ring-color: var(--_line-chart-focus-color);--focus-ring-width: var(--_line-chart-focus-width)}ds-chart-legend{--ds-chart-legend-swatch-size: var(--_line-chart-swatch-size)}.skeleton{display:grid}.skeleton-legend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-4);min-block-size:1lh;margin-block-start:var(--space-3);font-size:var(--font-size-xs)}@media(forced-colors:active){.axis-line,.grid-line{stroke:CanvasText}.axis-label,.category-label{fill:CanvasText}:focus-visible{stroke:Highlight;filter:none}}:host{position:relative}:host(.framed){--_chart-pin-reset-inset: var(--ds-chart-frame-padding)}\n"] }]
340
- }], propDecorators: { categories: [{ type: i0.Input, args: [{ isSignal: true, alias: "categories", required: false }] }], series: [{ type: i0.Input, args: [{ isSignal: true, alias: "series", required: false }] }], yAxisMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisMode", required: false }] }], showMarkers: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMarkers", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }], annotations: [{ type: i0.Input, args: [{ isSignal: true, alias: "annotations", required: false }] }], pointClicked: [{ type: i0.Output, args: ["pointClicked"] }], dimOthers: [{ type: i0.Input, args: [{ isSignal: true, alias: "dimOthers", required: false }] }], gaps: [{ type: i0.Input, args: [{ isSignal: true, alias: "gaps", required: false }] }], curve: [{ type: i0.Input, args: [{ isSignal: true, alias: "curve", required: false }] }], stack: [{ type: i0.Input, args: [{ isSignal: true, alias: "stack", required: false }] }], yAxisLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisLabel", required: false }] }], secondaryAxisLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "secondaryAxisLabel", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], dataTable: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataTable", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], maxSecondary: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSecondary", required: false }] }], hiddenSeries: [{ type: i0.Input, args: [{ isSignal: true, alias: "hiddenSeries", required: false }] }, { type: i0.Output, args: ["hiddenSeriesChange"] }], rescaleOnHide: [{ type: i0.Input, args: [{ isSignal: true, alias: "rescaleOnHide", required: false }] }], legendFilters: [{ type: i0.Input, args: [{ isSignal: true, alias: "legendFilters", required: false }] }], legendMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "legendMode", required: false }] }], noVisibleSeriesText: [{ type: i0.Input, args: [{ isSignal: true, alias: "noVisibleSeriesText", required: false }] }], patterns: [{ type: i0.Input, args: [{ isSignal: true, alias: "patterns", required: false }] }], staggerMs: [{ type: i0.Input, args: [{ isSignal: true, alias: "staggerMs", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], tooltipTemplate: [{ type: i0.ContentChild, args: ['dsChartTooltip', { isSignal: true }] }], tooltipAnchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipAnchor", required: false }] }], plot: [{ type: i0.ViewChild, args: [i0.forwardRef(() => ChartComponent), { isSignal: true }] }] } });
328
+ ], template: "<figure\n class=\"line-chart\"\n dsChartStates\n messageAxes\n [pinned]=\"pinnedCategory()\"\n [caption]=\"caption()\"\n [error]=\"error()\"\n [errorText]=\"errorTextResolved()\"\n [pending]=\"(loading() && isEmpty()) || !renderReady()\"\n [reloading]=\"loading()\"\n [dataTable]=\"dataTableResolved()\"\n [shimmer]=\"loading()\"\n [empty]=\"isEmpty()\"\n [emptyText]=\"emptyTextResolved()\"\n [skeleton]=\"skeleton\"\n [body]=\"body\"\n (release)=\"releaseCategoryPin()\">\n</figure>\n\n<ng-template #skeleton>\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-chart-skeleton\n marks=\"line\"\n [plotHeight]=\"skeletonPlotHeight\"\n [count]=\"skeletonPoints()\"\n [valueSpace]=\"skeletonValueSpace\"\n [axisGutter]=\"skeletonAxisGutter\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #body>\n @if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [selectRange]=\"selectRange()\"\n [showAxisReadout]=\"showAxisReadout()\"\n [summary]=\"accessibleName()\"\n [max]=\"max()\"\n [maxSecondary]=\"maxSecondary()\"\n [rescaleOnHide]=\"rescaleOnHide()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [pinOnClick]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [showChange]=\"showChange()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</ng-template>\n", styles: ["@layer ds-component-base{:host{box-sizing:border-box;interpolate-size:allow-keywords}*,*:before,*:after{box-sizing:border-box}button,input,select,textarea{font-family:inherit}h1,h2,h3,h4,h5,h6{margin:0}:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:host(:where(:focus-visible)),:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-bg-color, var(--ds-chart-bg-color));border:var(--ds-chart-frame-border-width) solid var(--ds-chart-frame-border-color);border-radius:var(--ds-chart-frame-radius)}.data-table,.stage-table{-webkit-user-select:text;user-select:text}.empty-text.is-error{color:var(--error)}.data-table{--_chart-data-table-marker: var(--space-1);margin-block-start:var(--space-4);color:var(--text-secondary);font-size:var(--font-size-s)}.data-table>summary{display:inline-flex;align-items:center;gap:var(--space-1);padding-block:var(--space-1);color:var(--text-tertiary);font-size:var(--font-size-xs);cursor:pointer;list-style:none}.data-table>summary::-webkit-details-marker{display:none}.data-table>summary:before{content:\"\";inline-size:0;block-size:0;border-block-start:var(--_chart-data-table-marker) solid transparent;border-block-end:var(--_chart-data-table-marker) solid transparent;border-inline-start:calc(var(--_chart-data-table-marker) * 1.25) solid currentcolor;transition:transform var(--duration-fast) var(--ease-standard)}@media(prefers-reduced-motion:reduce){.data-table>summary:before{transition:none}}.data-table[open]>summary:before{transform:rotate(90deg)}.data-table>summary{border-radius:var(--radius-sm)}.data-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.data-table table{inline-size:100%;margin-block-start:var(--space-2);border-collapse:collapse;font-variant-numeric:tabular-nums}.data-table th,.data-table td{padding-block:var(--space-2);border-block-end:var(--border-width-default) solid var(--ds-chart-grid-line-color);text-align:end}.data-table thead th{color:var(--text-tertiary);font-size:var(--font-size-xs);font-weight:600}.data-table th:first-child,.data-table td:first-child{text-align:start}.data-table td+td{padding-inline-start:var(--space-3)}:host{--_line-chart-plot-height: var(--ds-line-chart-plot-height, 240px);--_line-chart-skeleton-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height));--_line-chart-message-height: var(--ds-line-chart-placeholder-height, var(--_line-chart-view-height))}.line-chart{--_line-chart-grid-line-color: var(--ds-line-chart-grid-line-color, var(--ds-chart-grid-line-color));--_line-chart-axis-line-color: var(--ds-line-chart-axis-line-color, var(--ds-chart-axis-line-color));--_line-chart-axis-label-color: var(--ds-line-chart-axis-label-color, var(--ds-chart-axis-label-color));--_line-chart-axis-font-size: var(--ds-line-chart-axis-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-color: var(--ds-line-chart-annotation-color, var(--text-primary));--_line-chart-annotation-font-size: var(--ds-line-chart-annotation-font-size, var(--ds-chart-axis-font-size));--_line-chart-annotation-font-weight: var(--ds-line-chart-annotation-font-weight, var(--font-weight-bold));--_line-chart-annotation-halo-color: var(--ds-line-chart-annotation-halo-color, var(--ds-chart-bg-color));--_line-chart-annotation-halo-width: var(--ds-line-chart-annotation-halo-width, 3px);--_line-chart-line-width: var(--ds-line-chart-line-width, var(--ds-chart-line-width));--_line-chart-dot-radius: var(--ds-line-chart-dot-radius, var(--ds-chart-dot-radius));--_line-chart-dot-radius-active: var(--ds-line-chart-dot-radius-active, var(--ds-chart-dot-radius-active));--_line-chart-hover-bg-color: var(--ds-line-chart-hover-bg-color, var(--ds-chart-hover-bg-color));--_line-chart-cursor-line-color: var(--ds-line-chart-cursor-line-color, var(--ds-chart-cursor-line-color));--_line-chart-line-width-bold: var( --ds-line-chart-line-width-bold, var(--ds-chart-line-width-bold) );--_line-chart-focus-color: var(--ds-line-chart-focus-color, var(--focus-ring-color));--_line-chart-focus-width: var(--ds-line-chart-focus-width, var(--focus-ring-width));--_line-chart-area-opacity: var(--ds-line-chart-area-opacity, .16);--_line-chart-swatch-size: var(--ds-line-chart-swatch-size, 10px);margin:0}.empty{display:grid;place-items:center;min-block-size:var(--_line-chart-message-height);margin:0;color:var(--text-secondary);text-align:center;border-inline-start:1px solid var(--ds-chart-axis-line-color);border-block-end:1px solid var(--ds-chart-axis-line-color)}:host{--_chart-message-height: var(--_line-chart-message-height)}ds-chart{--ds-chart-grid-line-color: var(--_line-chart-grid-line-color);--ds-chart-axis-line-color: var(--_line-chart-axis-line-color);--ds-chart-axis-label-color: var(--_line-chart-axis-label-color);--ds-chart-axis-font-size: var(--_line-chart-axis-font-size);--ds-chart-hover-bg-color: var(--_line-chart-hover-bg-color);--ds-chart-cursor-line-color: var(--_line-chart-cursor-line-color);--ds-chart-line-width: var(--_line-chart-line-width);--ds-chart-line-width-bold: var(--_line-chart-line-width-bold);--ds-chart-dot-radius: var(--_line-chart-dot-radius);--ds-chart-dot-radius-active: var(--_line-chart-dot-radius-active);--ds-chart-area-opacity: var(--_line-chart-area-opacity);--ds-chart-annotation-color: var(--_line-chart-annotation-color);--ds-chart-annotation-font-size: var(--_line-chart-annotation-font-size);--ds-chart-annotation-font-weight: var(--_line-chart-annotation-font-weight);--ds-chart-annotation-halo-color: var(--_line-chart-annotation-halo-color);--ds-chart-annotation-halo-width: var(--_line-chart-annotation-halo-width);--ds-chart-focus-ring-color: var(--_line-chart-focus-color);--focus-ring-width: var(--_line-chart-focus-width)}ds-chart-legend{--ds-chart-legend-swatch-size: var(--_line-chart-swatch-size)}.skeleton{display:grid}.skeleton-legend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-4);min-block-size:1lh;margin-block-start:var(--space-3);font-size:var(--font-size-xs)}@media(forced-colors:active){.axis-line,.grid-line{stroke:CanvasText}.axis-label,.category-label{fill:CanvasText}:focus-visible{stroke:Highlight;filter:none}}:host{position:relative}:host(.framed){--_chart-pin-reset-inset: var(--ds-chart-frame-padding)}\n"] }]
329
+ }], propDecorators: { categories: [{ type: i0.Input, args: [{ isSignal: true, alias: "categories", required: false }] }], series: [{ type: i0.Input, args: [{ isSignal: true, alias: "series", required: false }] }], yAxisMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisMode", required: false }] }], showMarkers: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMarkers", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }], annotations: [{ type: i0.Input, args: [{ isSignal: true, alias: "annotations", required: false }] }], pointClicked: [{ type: i0.Output, args: ["pointClicked"] }], dimOthers: [{ type: i0.Input, args: [{ isSignal: true, alias: "dimOthers", required: false }] }], gaps: [{ type: i0.Input, args: [{ isSignal: true, alias: "gaps", required: false }] }], curve: [{ type: i0.Input, args: [{ isSignal: true, alias: "curve", required: false }] }], stack: [{ type: i0.Input, args: [{ isSignal: true, alias: "stack", required: false }] }], yAxisLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisLabel", required: false }] }], secondaryAxisLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "secondaryAxisLabel", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], dataTable: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataTable", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], maxSecondary: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSecondary", required: false }] }], hiddenSeries: [{ type: i0.Input, args: [{ isSignal: true, alias: "hiddenSeries", required: false }] }, { type: i0.Output, args: ["hiddenSeriesChange"] }], rescaleOnHide: [{ type: i0.Input, args: [{ isSignal: true, alias: "rescaleOnHide", required: false }] }], legendFilters: [{ type: i0.Input, args: [{ isSignal: true, alias: "legendFilters", required: false }] }], legendMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "legendMode", required: false }] }], noVisibleSeriesText: [{ type: i0.Input, args: [{ isSignal: true, alias: "noVisibleSeriesText", required: false }] }], patterns: [{ type: i0.Input, args: [{ isSignal: true, alias: "patterns", required: false }] }], selectRange: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectRange", required: false }] }], showAxisReadout: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAxisReadout", required: false }] }], showChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "showChange", required: false }] }], staggerMs: [{ type: i0.Input, args: [{ isSignal: true, alias: "staggerMs", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], tooltipTemplate: [{ type: i0.ContentChild, args: ['dsChartTooltip', { isSignal: true }] }], tooltipAnchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipAnchor", required: false }] }], plot: [{ type: i0.ViewChild, args: [i0.forwardRef(() => ChartComponent), { isSignal: true }] }] } });
341
330
 
342
331
  /**
343
332
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-line-chart.mjs","sources":["../../../src/lib/components/line-chart/line-chart.math.ts","../../../src/lib/components/line-chart/line-chart.component.ts","../../../src/lib/components/line-chart/line-chart.component.html","../../../src/lib/components/line-chart/ids-group-ltd-ids-design-system-components-line-chart.ts"],"sourcesContent":["import type { ChartGaps } from '@ids-group-ltd/ids-design-system/core';\n\nexport type { LinePoint } from '@ids-group-ltd/ids-design-system/components';\n\nexport const LINE_CHART_DEFAULT_TICK_COUNT = 5;\n\n/** One reading per category. A longer series loses its tail and a shorter one ends early rather than\n * throwing. Anything that is not a finite number is a missing reading, so `NaN` and `Infinity`\n * follow the `gaps` policy rather than reaching a coordinate. */\nexport function alignSeriesValues(\n data: readonly (number | null)[],\n categoryCount: number,\n gaps: ChartGaps,\n): (number | null)[] {\n const length =\n Number.isFinite(categoryCount) && categoryCount > 0\n ? Math.floor(categoryCount)\n : 0;\n const aligned: (number | null)[] = [];\n for (let index = 0; index < length; index++) {\n const raw = data[index];\n const reading =\n typeof raw === 'number' && Number.isFinite(raw) ? raw : null;\n aligned.push(reading === null && gaps === 'zero' ? 0 : reading);\n }\n\n return aligned;\n}\n\n/** Largest finite reading across the given series, or zero. Never negative: `ds-chart` only raises\n * its domain to this ceiling, so a negative would pin an axis below its own data. */\nexport function domainMaxOf(\n valueGroups: readonly (readonly (number | null)[])[],\n): number {\n let max = 0;\n for (const values of valueGroups) {\n for (const value of values) {\n if (value !== null && Number.isFinite(value) && value > max) {\n max = value;\n }\n }\n }\n\n return max;\n}\n\nexport function paletteIndexFor(\n slot: number | undefined,\n index: number,\n paletteSize: number,\n): number {\n if (!Number.isFinite(paletteSize) || paletteSize < 1) {\n return 0;\n }\n const chosen =\n slot !== undefined && Number.isFinite(slot) && slot >= 1\n ? Math.floor(slot) - 1\n : index;\n\n return ((chosen % paletteSize) + paletteSize) % paletteSize;\n}\n","import type {\n ChartDimmable,\n ChartStaggered,\n ChartWithDataTable,\n ChartWithTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n DsChartBase,\n readOnHostResize,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport {\n CHART_DEFAULT_AXIS_GUTTER,\n CHART_DEFAULT_VALUE_SPACE,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n chartViewHeight,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartAnnotation,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport { formatPercent } from '@ids-group-ltd/ids-design-system/components';\nimport { stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartDataTable,\n ChartValueFormat,\n ChartAxisMode,\n ChartGaps,\n ChartCurve,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport {\n CHART_SKELETON_CATEGORY_BAND,\n CHART_UNPIN_DRAWN_BY_HOST,\n ChartSkeletonComponent,\n ChartStatesComponent,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport type {\n ChartTooltipContext,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport {\n LINE_CHART_DEFAULT_TICK_COUNT,\n alignSeriesValues,\n domainMaxOf,\n paletteIndexFor,\n} from './line-chart.math';\n\n/** Default of `--ds-line-chart-plot-height`, used before the first style read and under SSR. */\nconst DEFAULT_PLOT_HEIGHT = 240;\n\nfunction readPlotHeight(host: HTMLElement): number {\n const parsed = Number.parseFloat(\n getComputedStyle(host).getPropertyValue('--_line-chart-plot-height'),\n );\n\n return Number.isFinite(parsed) && parsed > 0 ? parsed : DEFAULT_PLOT_HEIGHT;\n}\nimport type {\n LineChartAnnotation,\n LineChartStack,\n LineChartReading,\n LineChartSeries,\n} from './line-chart.types';\n\ninterface ResolvedSeries {\n readonly series: LineChartSeries;\n readonly values: readonly (number | null)[];\n /** Where this series' band starts on the value axis, per category. `null` while unstacked. */\n readonly lowerValues: readonly (number | null)[] | null;\n readonly onSecondaryAxis: boolean;\n readonly color: string;\n /** `null` while `patterns` is off. */\n readonly dash: string | null;\n}\n\nconst SERIES_DASH_ARRAYS = [\n 'none',\n '7 4',\n '2 3',\n '11 4 2 4',\n '1 4',\n '8 3 2 3',\n '4 2',\n '14 5',\n];\n\n@Component({\n selector: 'ds-line-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartSkeletonComponent,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n ChartLegendComponent,\n ChartDataTableComponent,\n ChartStatesComponent,\n ],\n templateUrl: './line-chart.component.html',\n styleUrl: './line-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_line-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [\n { provide: CHART_RENDER_GATE_PASSED, useValue: true },\n { provide: CHART_UNPIN_DRAWN_BY_HOST, useValue: true },\n ],\n})\nexport class LineChartComponent\n extends DsChartBase\n implements\n ChartDimmable,\n ChartStaggered,\n ChartWithDataTable,\n ChartWithTooltipTrigger\n{\n protected readonly renderReady = chartRenderGate();\n\n /** X labels. Every series' `data` is read against this length. */\n readonly categories = input<readonly string[]>([]);\n\n /** One line per entry, read against `categories`: a longer series loses its tail, a shorter one ends early. */\n readonly series = input<readonly LineChartSeries[]>([]);\n\n /** How a secondary axis relates to the primary one. */\n readonly yAxisMode = input<ChartAxisMode>('aligned');\n\n /** Draws a dot at every reading. Off, the dots appear on hover and on focus only. */\n readonly showMarkers = input(true, { transform: booleanAttribute });\n\n /** Lays the lines and their markers on a band of the background colour. */\n readonly outline = input(true, { transform: booleanAttribute });\n\n /** Labels pinned over their readings. Drawn `aria-hidden`; their text is appended to the accessible name. */\n readonly annotations = input<readonly LineChartAnnotation[]>([]);\n\n /** The point clicked or activated with Enter or Space, whether or not `interactive` is set. */\n readonly pointClicked = output<LineChartReading>();\n\n /** Dims every OTHER mark while one is hovered or focused. Dimmed marks lose separation between\n * them (three series: worst pair dE 14.8 to 2.1 at `--ds-chart-dim-opacity` 0.3, measured 2026-09-13). */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** What a `null` reading draws. The default `'break'` does not assert a missing reading is zero. */\n readonly gaps = input<ChartGaps>('break');\n\n /** How the line joins its readings. `'linear'` asserts nothing between readings; a curve does. */\n readonly curve = input<ChartCurve>('linear');\n\n /** How several series share the value axis. Stacking runs per axis. */\n readonly stack = input<LineChartStack>('none');\n\n /** Names the first axis's unit beside it. */\n readonly yAxisLabel = input<string | null>(null);\n\n /** `yAxisLabel` for the second axis. */\n readonly secondaryAxisLabel = input<string | null>(null);\n\n /** How many value-axis ticks to aim for; ticks snap to a round step. */\n readonly tickCount = input(LINE_CHART_DEFAULT_TICK_COUNT, {\n transform: numberAttribute,\n });\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. Unset falls back to `DS_CONFIG.chart.dataTable`,\n * then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Pins the primary value axis maximum so separate renders are comparable; `maxSecondary` pins\n * the second. Null keeps the derived axis. A maximum below the data does not clip it. */\n readonly max = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n /** Pins the secondary value axis. See `max`. */\n readonly maxSecondary = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n readonly dataTableResolved = this.defaults.dataTable;\n\n protected readonly resolvedSeries = computed<readonly ResolvedSeries[]>(\n () => {\n const categoryCount = this.categories().length;\n const gaps = this.gaps();\n\n const patterns = this.patterns();\n\n return this.series().map((series, index) => {\n const slot = paletteIndexFor(\n series.slot,\n index,\n CHART_SERIES_COLORS.length,\n );\n\n return {\n series,\n values: alignSeriesValues(series.data, categoryCount, gaps),\n lowerValues: null,\n onSecondaryAxis: series.axis === 'secondary',\n color: CHART_SERIES_COLORS[slot],\n dash: patterns ? SERIES_DASH_ARRAYS[slot] : null,\n };\n });\n },\n );\n\n /** Ids of the series the legend has switched off. */\n readonly hiddenSeries = model<readonly string[]>([]);\n\n /** Whether hiding a series re-scales the value axis to what is left. */\n readonly rescaleOnHide = input(false, { transform: booleanAttribute });\n\n /** Whether the legend switches series off. Off leaves it a plain key. */\n readonly legendFilters = input(false, { transform: booleanAttribute });\n\n /** What a legend control does. `'isolate'` shows one series and hides the rest (radios);\n * `'toggle'` hides one and leaves the rest (checkboxes). */\n readonly legendMode = input<'toggle' | 'isolate'>('isolate');\n\n /** Shown in place of the plot once the legend has switched every series off. Unset falls back to\n * `DS_INTL.chart.noVisibleSeries`. */\n readonly noVisibleSeriesText = input<string | null>(null);\n\n readonly noVisibleSeriesTextResolved = computed(\n () => this.noVisibleSeriesText() ?? this.intl().chart.noVisibleSeries,\n );\n\n /** Gives every series a dash pattern, so lines differ by shape as well as colour. */\n readonly patterns = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one series' entrance and the next; `0` turns it off. The step narrows\n * so the last series still starts within the stagger budget. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n protected readonly highlightedSeries = signal<string | null>(null);\n\n /** Every series with its band's span, stacked per axis. Hiding a series does not re-pile the\n * rest. A `null` stays a hole and adds nothing to the pile. */\n protected readonly stackedSeries = computed<readonly ResolvedSeries[]>(() => {\n const mode = this.stack();\n const entries = this.resolvedSeries();\n if (mode === 'none') {\n return entries;\n }\n\n const spans = new Map<ResolvedSeries, { from: number; to: number }[]>();\n for (const secondary of [false, true]) {\n const onThisAxis = entries.filter(\n (entry) => entry.onSecondaryAxis === secondary,\n );\n const offsets = stackOffsets(\n onThisAxis.map((entry) => entry.values.map((value) => value ?? 0)),\n mode,\n );\n onThisAxis.forEach((entry, index) =>\n spans.set(entry, [...offsets[index]]),\n );\n }\n\n return entries.map((entry) => {\n const span = spans.get(entry);\n if (!span) {\n return entry;\n }\n\n return {\n ...entry,\n values: entry.values.map((value, category) =>\n value === null ? null : span[category].to,\n ),\n lowerValues: entry.values.map((value, category) =>\n value === null ? null : span[category].from,\n ),\n };\n });\n });\n\n protected readonly visibleSeries = computed<readonly ResolvedSeries[]>(() => {\n const hidden = this.hiddenSeries();\n\n return this.stackedSeries().filter(\n (entry) => !hidden.includes(entry.series.id),\n );\n });\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n color: entry.color,\n })),\n );\n\n /** A normalized stack draws shares, so the axis prints percentages; tooltip and table values stay\n * the reading. */\n protected readonly axisFormat = computed<ChartValueFormat>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormatResolved(),\n );\n\n private readonly axisTint = computed(() => {\n if (!this.hasSecondaryAxis() || this.yAxisMode() === 'split') {\n return { primary: null, secondary: null };\n }\n const find = (onSecondaryAxis: boolean) =>\n this.visibleSeries().find(\n (entry) => entry.onSecondaryAxis === onSecondaryAxis,\n )?.color ?? null;\n\n return { primary: find(false), secondary: find(true) };\n });\n\n protected readonly primaryAxisFill = computed(() => this.axisTint().primary);\n\n protected readonly secondaryAxisFill = computed(\n () => this.axisTint().secondary,\n );\n\n protected readonly stacksSeries = computed(() => this.stack() !== 'none');\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n /** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the category\n * under the pointer; `'item'` names only the marker itself. */\n readonly tooltip = input<ChartTooltipTrigger>('axis');\n\n // The category cursor is the one hover area over the plot and names every series, so a\n // marker-only or silent tooltip needs it off.\n protected readonly plotCursor = computed(() =>\n this.tooltip() === 'axis' ? 'category' : 'none',\n );\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip anchors while `tooltip` is `'axis'` (default); with `'item'` the panel\n * hangs on the marker and this does nothing. `'reading'` (default) is the highest reading in the\n * category, so the panel stays put within one band; `'pointer'` follows the cursor. */\n readonly tooltipAnchor = input<'reading' | 'pointer'>('reading');\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n this.intl().chart.categoryColumn,\n ...this.resolvedSeries().map((entry) => entry.series.label),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.category,\n cells: [row.category, ...row.cells],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.categories().map((category, index) => ({\n category,\n cells: this.resolvedSeries().map((entry) => {\n const value = entry.values[index];\n\n return value === null || value === undefined\n ? '—'\n : format(value, 'tooltip');\n }),\n }));\n });\n\n protected readonly accessibleName = computed(() => {\n const summary = this.summary();\n if (summary !== null) {\n return summary;\n }\n\n const words = this.intl().chart;\n const title = this.caption() ?? words.title;\n const format = (value: number) =>\n this.valueFormatResolved()(value, 'tooltip');\n const categories = this.categories();\n const sentences = this.resolvedSeries().map((entry) =>\n describeSeries(\n words,\n entry.series.label,\n entry.values.flatMap((value, index) =>\n value === null ? [] : [{ label: categories[index] ?? '', value }],\n ),\n format,\n false,\n ),\n );\n const pointer =\n this.dataTableResolved() === 'none' ? '' : ` ${words.tableFollows}`;\n // Annotation text sits inside an `aria-hidden` svg, so it reaches assistive tech only through the name.\n const notes = this.markAnnotations().map((note) => note.label);\n const noted = notes.length ? ` ${words.noted(notes)}` : '';\n\n return sentences.length === 0\n ? describeSeries(\n words,\n title,\n [],\n format,\n this.dataTableResolved() !== 'none',\n )\n : `${title}. ${sentences.join(' ')}${noted}${pointer}`;\n });\n\n private readonly plot = viewChild(ChartComponent);\n\n protected readonly pinnedCategory = computed(\n () => this.plot()?.cursorPinned() ?? false,\n );\n\n protected releaseCategoryPin(): void {\n this.plot()?.releaseCursor();\n }\n\n protected readonly markSeries = computed<readonly LineSeriesData[]>(() =>\n this.visibleSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n data: entry.values,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n area: entry.series.area,\n lower: entry.lowerValues ?? undefined,\n color: entry.color,\n })),\n );\n\n protected readonly dashPatterns = computed<readonly string[]>(() =>\n this.visibleSeries().map((entry) => entry.dash ?? ''),\n );\n\n protected readonly markAnnotations = computed<readonly ChartAnnotation[]>(\n () =>\n this.annotations().flatMap((annotation) => {\n const visible = this.visibleSeries();\n const entry = annotation.seriesId\n ? visible.find(\n (candidate) => candidate.series.id === annotation.seriesId,\n )\n : visible[0];\n const value = entry?.values[annotation.categoryIndex];\n if (!entry || typeof value !== 'number') {\n return [];\n }\n\n return [\n {\n categoryIndex: annotation.categoryIndex,\n value,\n label: annotation.label,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n },\n ];\n }),\n );\n\n protected readonly hasSecondaryAxis = computed(() =>\n this.visibleSeries().some((entry) => entry.onSecondaryAxis),\n );\n\n /** The ceiling handed to the container, which only raises its domain to it. Unless `rescaleOnHide`,\n * it spans every series, so hiding one does not move the gridlines. */\n protected readonly axisMax = computed(() =>\n this.rescaleOnHide() ? this.max() : this.ceilingOf(false, this.max()),\n );\n\n protected readonly axisMaxSecondary = computed(() =>\n this.rescaleOnHide()\n ? this.maxSecondary()\n : this.ceilingOf(true, this.maxSecondary()),\n );\n\n private ceilingOf(onSecondaryAxis: boolean, asked: number | null): number {\n const derived = domainMaxOf(\n this.stackedSeries()\n .filter((entry) => entry.onSecondaryAxis === onSecondaryAxis)\n .map((entry) => entry.values),\n );\n\n return asked !== null && Number.isFinite(asked) && asked > derived\n ? asked\n : derived;\n }\n\n protected readonly plotHeight = readOnHostResize(\n inject<ElementRef<HTMLElement>>(ElementRef),\n readPlotHeight,\n DEFAULT_PLOT_HEIGHT,\n Object.is,\n );\n\n protected readonly viewHeightPx = computed(\n () => `${chartViewHeight(this.plotHeight(), CHART_DEFAULT_VALUE_SPACE)}px`,\n );\n\n protected onPointClicked(reading: {\n series: LineSeriesData;\n categoryIndex: number;\n value: number;\n }): void {\n const series = this.series().find(\n (candidate) => candidate.id === reading.series.id,\n );\n if (!series) {\n return;\n }\n this.pointClicked.emit({\n series,\n categoryIndex: reading.categoryIndex,\n category: this.categories()[reading.categoryIndex] ?? '',\n value: reading.value,\n });\n }\n\n protected readonly isEmpty = computed(\n () => this.series().length === 0 || this.categories().length === 0,\n );\n\n protected readonly showLegend = computed(() => this.series().length > 1);\n\n protected readonly noVisibleSeries = computed(\n () => this.series().length > 0 && this.visibleSeries().length === 0,\n );\n\n protected readonly skeletonPoints = computed(\n () => this.categories().length || 7,\n );\n\n protected readonly skeletonValueSpace = CHART_DEFAULT_VALUE_SPACE;\n /** `--ds-line-chart-placeholder-height` sizes the whole skeleton; the plot takes what the labels leave. */\n protected readonly skeletonPlotHeight = `calc(var(--_line-chart-skeleton-height) - ${CHART_DEFAULT_VALUE_SPACE + CHART_SKELETON_CATEGORY_BAND}px)`;\n protected readonly skeletonAxisGutter = CHART_DEFAULT_AXIS_GUTTER;\n\n protected readonly skeletonSeries = computed(() =>\n Array.from({ length: Math.max(this.series().length, 3) }),\n );\n}\n","<figure\n class=\"line-chart\"\n dsChartStates\n messageAxes\n [pinned]=\"pinnedCategory()\"\n [caption]=\"caption()\"\n [error]=\"error()\"\n [errorText]=\"errorTextResolved()\"\n [pending]=\"(loading() && isEmpty()) || !renderReady()\"\n [reloading]=\"loading()\"\n [dataTable]=\"dataTableResolved() !== 'none'\"\n [shimmer]=\"loading()\"\n [empty]=\"isEmpty()\"\n [emptyText]=\"emptyTextResolved()\"\n [skeleton]=\"skeleton\"\n [body]=\"body\"\n (release)=\"releaseCategoryPin()\">\n</figure>\n\n<ng-template #skeleton>\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-chart-skeleton\n marks=\"line\"\n [plotHeight]=\"skeletonPlotHeight\"\n [count]=\"skeletonPoints()\"\n [valueSpace]=\"skeletonValueSpace\"\n [axisGutter]=\"skeletonAxisGutter\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #body>\n @if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [max]=\"axisMax()\"\n [maxSecondary]=\"axisMaxSecondary()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [pinOnClick]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAIO,MAAM,6BAA6B,GAAG,CAAC;AAE9C;;AAEkE;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AAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,WAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,SAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,gBAAgB,4LA0Ec,cAAc,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AExblD;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-components-line-chart.mjs","sources":["../../../src/lib/components/line-chart/line-chart.math.ts","../../../src/lib/components/line-chart/line-chart.component.ts","../../../src/lib/components/line-chart/line-chart.component.html","../../../src/lib/components/line-chart/ids-group-ltd-ids-design-system-components-line-chart.ts"],"sourcesContent":["import type { ChartGaps } from '@ids-group-ltd/ids-design-system/core';\n\nexport type { LinePoint } from '@ids-group-ltd/ids-design-system/components';\n\nexport const LINE_CHART_DEFAULT_TICK_COUNT = 5;\n\n/** One reading per category. A longer series loses its tail and a shorter one ends early rather than\n * throwing. Anything that is not a finite number is a missing reading, so `NaN` and `Infinity`\n * follow the `gaps` policy rather than reaching a coordinate. */\nexport function alignSeriesValues(\n data: readonly (number | null)[],\n categoryCount: number,\n gaps: ChartGaps,\n): (number | null)[] {\n const length =\n Number.isFinite(categoryCount) && categoryCount > 0\n ? Math.floor(categoryCount)\n : 0;\n const aligned: (number | null)[] = [];\n for (let index = 0; index < length; index++) {\n const raw = data[index];\n const reading =\n typeof raw === 'number' && Number.isFinite(raw) ? raw : null;\n aligned.push(reading === null && gaps === 'zero' ? 0 : reading);\n }\n\n return aligned;\n}\n\nexport function paletteIndexFor(\n slot: number | undefined,\n index: number,\n paletteSize: number,\n): number {\n if (!Number.isFinite(paletteSize) || paletteSize < 1) {\n return 0;\n }\n const chosen =\n slot !== undefined && Number.isFinite(slot) && slot >= 1\n ? Math.floor(slot) - 1\n : index;\n\n return ((chosen % paletteSize) + paletteSize) % paletteSize;\n}\n","import type {\n ChartDimmable,\n ChartStaggered,\n ChartWithDataTable,\n ChartWithTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n DsChartBase,\n readOnHostResize,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport {\n CHART_DEFAULT_AXIS_GUTTER,\n CHART_DEFAULT_VALUE_SPACE,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n chartViewHeight,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartAnnotation,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport { formatPercent } from '@ids-group-ltd/ids-design-system/components';\nimport { stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartDataTable,\n ChartValueFormat,\n ChartAxisMode,\n ChartGaps,\n ChartCurve,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport {\n CHART_SKELETON_CATEGORY_BAND,\n CHART_UNPIN_DRAWN_BY_HOST,\n ChartSkeletonComponent,\n ChartStatesComponent,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport type {\n ChartTooltipContext,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport {\n LINE_CHART_DEFAULT_TICK_COUNT,\n alignSeriesValues,\n paletteIndexFor,\n} from './line-chart.math';\n\n/** Default of `--ds-line-chart-plot-height`, used before the first style read and under SSR. */\nconst DEFAULT_PLOT_HEIGHT = 240;\n\nfunction readPlotHeight(host: HTMLElement): number {\n const parsed = Number.parseFloat(\n getComputedStyle(host).getPropertyValue('--_line-chart-plot-height'),\n );\n\n return Number.isFinite(parsed) && parsed > 0 ? parsed : DEFAULT_PLOT_HEIGHT;\n}\nimport type {\n LineChartAnnotation,\n LineChartStack,\n LineChartReading,\n LineChartSeries,\n} from './line-chart.types';\n\ninterface ResolvedSeries {\n readonly series: LineChartSeries;\n readonly values: readonly (number | null)[];\n /** Where this series' band starts on the value axis, per category. `null` while unstacked. */\n readonly lowerValues: readonly (number | null)[] | null;\n readonly onSecondaryAxis: boolean;\n readonly color: string;\n /** `null` while `patterns` is off. */\n readonly dash: string | null;\n}\n\nconst SERIES_DASH_ARRAYS = [\n 'none',\n '7 4',\n '2 3',\n '11 4 2 4',\n '1 4',\n '8 3 2 3',\n '4 2',\n '14 5',\n];\n\n@Component({\n selector: 'ds-line-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartSkeletonComponent,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n ChartLegendComponent,\n ChartDataTableComponent,\n ChartStatesComponent,\n ],\n templateUrl: './line-chart.component.html',\n styleUrl: './line-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_line-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [\n { provide: CHART_RENDER_GATE_PASSED, useValue: true },\n { provide: CHART_UNPIN_DRAWN_BY_HOST, useValue: true },\n ],\n})\nexport class LineChartComponent\n extends DsChartBase\n implements\n ChartDimmable,\n ChartStaggered,\n ChartWithDataTable,\n ChartWithTooltipTrigger\n{\n protected readonly renderReady = chartRenderGate();\n\n /** X labels. Every series' `data` is read against this length. */\n readonly categories = input<readonly string[]>([]);\n\n /** One line per entry, read against `categories`: a longer series loses its tail, a shorter one ends early. */\n readonly series = input<readonly LineChartSeries[]>([]);\n\n /** How a secondary axis relates to the primary one. */\n readonly yAxisMode = input<ChartAxisMode>('aligned');\n\n /** Draws a dot at every reading. Off, the dots appear on hover and on focus only. */\n readonly showMarkers = input(true, { transform: booleanAttribute });\n\n /** Lays the lines and their markers on a band of the background colour. */\n readonly outline = input(true, { transform: booleanAttribute });\n\n /** Labels pinned over their readings. Drawn `aria-hidden`; their text is appended to the accessible name. */\n readonly annotations = input<readonly LineChartAnnotation[]>([]);\n\n /** The point clicked or activated with Enter or Space, whether or not `interactive` is set. */\n readonly pointClicked = output<LineChartReading>();\n\n /** Dims every OTHER mark while one is hovered or focused. Dimmed marks lose separation between\n * them (three series: worst pair dE 14.8 to 2.1 at `--ds-chart-dim-opacity` 0.3, measured 2026-09-13). */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** What a `null` reading draws. The default `'break'` does not assert a missing reading is zero. */\n readonly gaps = input<ChartGaps>('break');\n\n /** How the line joins its readings. `'linear'` asserts nothing between readings; a curve does. */\n readonly curve = input<ChartCurve>('linear');\n\n /** How several series share the value axis. Stacking runs per axis. */\n readonly stack = input<LineChartStack>('none');\n\n /** Names the first axis's unit beside it. */\n readonly yAxisLabel = input<string | null>(null);\n\n /** `yAxisLabel` for the second axis. */\n readonly secondaryAxisLabel = input<string | null>(null);\n\n /** How many value-axis ticks to aim for; ticks snap to a round step. */\n readonly tickCount = input(LINE_CHART_DEFAULT_TICK_COUNT, {\n transform: numberAttribute,\n });\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. Unset falls back to `DS_CONFIG.chart.dataTable`,\n * then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Pins the primary value axis maximum so separate renders are comparable; `maxSecondary` pins\n * the second. Null keeps the derived axis. A maximum below the data does not clip it. */\n readonly max = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n /** Pins the secondary value axis. See `max`. */\n readonly maxSecondary = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n\n readonly dataTableResolved = this.defaults.dataTable;\n\n protected readonly resolvedSeries = computed<readonly ResolvedSeries[]>(\n () => {\n const categoryCount = this.categories().length;\n const gaps = this.gaps();\n\n const patterns = this.patterns();\n\n return this.series().map((series, index) => {\n const slot = paletteIndexFor(\n series.slot,\n index,\n CHART_SERIES_COLORS.length,\n );\n\n return {\n series,\n values: alignSeriesValues(series.data, categoryCount, gaps),\n lowerValues: null,\n onSecondaryAxis: series.axis === 'secondary',\n color: CHART_SERIES_COLORS[slot],\n dash: patterns ? SERIES_DASH_ARRAYS[slot] : null,\n };\n });\n },\n );\n\n /** Ids of the series the legend has switched off. */\n readonly hiddenSeries = model<readonly string[]>([]);\n\n /** Whether hiding a series re-scales the value axis to what is left. Off holds the axis where it\n * stands with every series shown. */\n readonly rescaleOnHide = input(true, { transform: booleanAttribute });\n\n /** Whether the legend switches series off. Off leaves it a plain key. */\n readonly legendFilters = input(false, { transform: booleanAttribute });\n\n /** What a legend control does. `'isolate'` shows one series and hides the rest (radios);\n * `'toggle'` hides one and leaves the rest (checkboxes). */\n readonly legendMode = input<'toggle' | 'isolate'>('isolate');\n\n /** Shown in place of the plot once the legend has switched every series off. Unset falls back to\n * `DS_INTL.chart.noVisibleSeries`. */\n readonly noVisibleSeriesText = input<string | null>(null);\n\n readonly noVisibleSeriesTextResolved = computed(\n () => this.noVisibleSeriesText() ?? this.intl().chart.noVisibleSeries,\n );\n\n /** Gives every series a dash pattern, so lines differ by shape as well as colour. */\n readonly patterns = input(false, { transform: booleanAttribute });\n\n /** Lets a press dragged across categories select them: a band, the sum and mean of every reading in\n * it, and the readings outside faded. Escape or a press outside clears it. Off by default. */\n readonly selectRange = input(false, { transform: booleanAttribute });\n\n /** Answers the pointer on the axes: the category label in bold, a guide from the value axis and\n * the value there in a pill on the axis. On by default. */\n readonly showAxisReadout = input(true, { transform: booleanAttribute });\n\n /** On the hovered reading, thickens the stretches from the reading before it and to the reading\n * after it, each in its own rising or falling colour and, unless it starts at zero, with its own\n * change in percent; with several series, for the one singled out. */\n readonly showChange = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one series' entrance and the next; `0` turns it off. The step narrows\n * so the last series still starts within the stagger budget. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n protected readonly highlightedSeries = signal<string | null>(null);\n\n /** Every series with its band's span, stacked per axis. Hiding a series does not re-pile the\n * rest. A `null` stays a hole and adds nothing to the pile. */\n protected readonly stackedSeries = computed<readonly ResolvedSeries[]>(() => {\n const mode = this.stack();\n const entries = this.resolvedSeries();\n if (mode === 'none') {\n return entries;\n }\n\n const spans = new Map<ResolvedSeries, { from: number; to: number }[]>();\n for (const secondary of [false, true]) {\n const onThisAxis = entries.filter(\n (entry) => entry.onSecondaryAxis === secondary,\n );\n const offsets = stackOffsets(\n onThisAxis.map((entry) => entry.values.map((value) => value ?? 0)),\n mode,\n );\n onThisAxis.forEach((entry, index) =>\n spans.set(entry, [...offsets[index]]),\n );\n }\n\n return entries.map((entry) => {\n const span = spans.get(entry);\n if (!span) {\n return entry;\n }\n\n return {\n ...entry,\n values: entry.values.map((value, category) =>\n value === null ? null : span[category].to,\n ),\n lowerValues: entry.values.map((value, category) =>\n value === null ? null : span[category].from,\n ),\n };\n });\n });\n\n protected readonly visibleSeries = computed<readonly ResolvedSeries[]>(() => {\n const hidden = this.hiddenSeries();\n\n return this.stackedSeries().filter(\n (entry) => !hidden.includes(entry.series.id),\n );\n });\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n color: entry.color,\n })),\n );\n\n /** A normalized stack draws shares, so the axis prints percentages; tooltip and table values stay\n * the reading. */\n protected readonly axisFormat = computed<ChartValueFormat>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormatResolved(),\n );\n\n private readonly axisTint = computed(() => {\n if (!this.hasSecondaryAxis() || this.yAxisMode() === 'split') {\n return { primary: null, secondary: null };\n }\n const find = (onSecondaryAxis: boolean) =>\n this.visibleSeries().find(\n (entry) => entry.onSecondaryAxis === onSecondaryAxis,\n )?.color ?? null;\n\n return { primary: find(false), secondary: find(true) };\n });\n\n protected readonly primaryAxisFill = computed(() => this.axisTint().primary);\n\n protected readonly secondaryAxisFill = computed(\n () => this.axisTint().secondary,\n );\n\n protected readonly stacksSeries = computed(() => this.stack() !== 'none');\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n /** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the category\n * under the pointer; `'item'` names only the marker itself. */\n readonly tooltip = input<ChartTooltipTrigger>('axis');\n\n // The category cursor is the one hover area over the plot and names every series, so a\n // marker-only or silent tooltip needs it off.\n protected readonly plotCursor = computed(() =>\n this.tooltip() === 'axis' ? 'category' : 'none',\n );\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip anchors while `tooltip` is `'axis'` (default); with `'item'` the panel\n * hangs on the marker and this does nothing. `'reading'` (default) is the highest reading in the\n * category, so the panel stays put within one band; `'pointer'` follows the cursor. */\n readonly tooltipAnchor = input<'reading' | 'pointer'>('reading');\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n this.intl().chart.categoryColumn,\n ...this.resolvedSeries().map((entry) => entry.series.label),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.category,\n cells: [row.category, ...row.cells],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.categories().map((category, index) => ({\n category,\n cells: this.resolvedSeries().map((entry) => {\n const value = entry.values[index];\n\n return value === null || value === undefined\n ? '—'\n : format(value, 'tooltip');\n }),\n }));\n });\n\n protected readonly accessibleName = computed(() => {\n const summary = this.summary();\n if (summary !== null) {\n return summary;\n }\n\n const words = this.intl().chart;\n const title = this.caption() ?? words.title;\n const format = (value: number) =>\n this.valueFormatResolved()(value, 'tooltip');\n const categories = this.categories();\n const sentences = this.resolvedSeries().map((entry) =>\n describeSeries(\n words,\n entry.series.label,\n entry.values.flatMap((value, index) =>\n value === null ? [] : [{ label: categories[index] ?? '', value }],\n ),\n format,\n false,\n ),\n );\n const pointer =\n this.dataTableResolved() === 'none' ? '' : ` ${words.tableFollows}`;\n // Annotation text sits inside an `aria-hidden` svg, so it reaches assistive tech only through the name.\n const notes = this.markAnnotations().map((note) => note.label);\n const noted = notes.length ? ` ${words.noted(notes)}` : '';\n\n return sentences.length === 0\n ? describeSeries(\n words,\n title,\n [],\n format,\n this.dataTableResolved() !== 'none',\n )\n : `${title}. ${sentences.join(' ')}${noted}${pointer}`;\n });\n\n private readonly plot = viewChild(ChartComponent);\n\n protected readonly pinnedCategory = computed(\n () => this.plot()?.cursorPinned() ?? false,\n );\n\n protected releaseCategoryPin(): void {\n this.plot()?.releaseCursor();\n }\n\n // Hidden series stay drawn, flagged, so a line erases itself instead of vanishing.\n protected readonly markSeries = computed<readonly LineSeriesData[]>(() => {\n const hidden = this.hiddenSeries();\n\n return this.stackedSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n data: entry.values,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n area: entry.series.area,\n lower: entry.lowerValues ?? undefined,\n color: entry.color,\n hidden: hidden.includes(entry.series.id),\n }));\n });\n\n protected readonly dashPatterns = computed<readonly string[]>(() =>\n this.stackedSeries().map((entry) => entry.dash ?? ''),\n );\n\n protected readonly markAnnotations = computed<readonly ChartAnnotation[]>(\n () =>\n this.annotations().flatMap((annotation) => {\n const visible = this.visibleSeries();\n const entry = annotation.seriesId\n ? visible.find(\n (candidate) => candidate.series.id === annotation.seriesId,\n )\n : visible[0];\n const value = entry?.values[annotation.categoryIndex];\n if (!entry || typeof value !== 'number') {\n return [];\n }\n\n return [\n {\n categoryIndex: annotation.categoryIndex,\n value,\n label: annotation.label,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n },\n ];\n }),\n );\n\n protected readonly hasSecondaryAxis = computed(() =>\n this.visibleSeries().some((entry) => entry.onSecondaryAxis),\n );\n\n protected readonly plotHeight = readOnHostResize(\n inject<ElementRef<HTMLElement>>(ElementRef),\n readPlotHeight,\n DEFAULT_PLOT_HEIGHT,\n Object.is,\n );\n\n protected readonly viewHeightPx = computed(\n () => `${chartViewHeight(this.plotHeight(), CHART_DEFAULT_VALUE_SPACE)}px`,\n );\n\n protected onPointClicked(reading: {\n series: LineSeriesData;\n categoryIndex: number;\n value: number;\n }): void {\n const series = this.series().find(\n (candidate) => candidate.id === reading.series.id,\n );\n if (!series) {\n return;\n }\n this.pointClicked.emit({\n series,\n categoryIndex: reading.categoryIndex,\n category: this.categories()[reading.categoryIndex] ?? '',\n value: reading.value,\n });\n }\n\n protected readonly isEmpty = computed(\n () => this.series().length === 0 || this.categories().length === 0,\n );\n\n protected readonly showLegend = computed(() => this.series().length > 1);\n\n protected readonly noVisibleSeries = computed(\n () => this.series().length > 0 && this.visibleSeries().length === 0,\n );\n\n protected readonly skeletonPoints = computed(\n () => this.categories().length || 7,\n );\n\n protected readonly skeletonValueSpace = CHART_DEFAULT_VALUE_SPACE;\n /** `--ds-line-chart-placeholder-height` sizes the whole skeleton; the plot takes what the labels leave. */\n protected readonly skeletonPlotHeight = `calc(var(--_line-chart-skeleton-height) - ${CHART_DEFAULT_VALUE_SPACE + CHART_SKELETON_CATEGORY_BAND}px)`;\n protected readonly skeletonAxisGutter = CHART_DEFAULT_AXIS_GUTTER;\n\n protected readonly skeletonSeries = computed(() =>\n Array.from({ length: Math.max(this.series().length, 3) }),\n );\n}\n","<figure\n class=\"line-chart\"\n dsChartStates\n messageAxes\n [pinned]=\"pinnedCategory()\"\n [caption]=\"caption()\"\n [error]=\"error()\"\n [errorText]=\"errorTextResolved()\"\n [pending]=\"(loading() && isEmpty()) || !renderReady()\"\n [reloading]=\"loading()\"\n [dataTable]=\"dataTableResolved()\"\n [shimmer]=\"loading()\"\n [empty]=\"isEmpty()\"\n [emptyText]=\"emptyTextResolved()\"\n [skeleton]=\"skeleton\"\n [body]=\"body\"\n (release)=\"releaseCategoryPin()\">\n</figure>\n\n<ng-template #skeleton>\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n <ds-chart-skeleton\n marks=\"line\"\n [plotHeight]=\"skeletonPlotHeight\"\n [count]=\"skeletonPoints()\"\n [valueSpace]=\"skeletonValueSpace\"\n [axisGutter]=\"skeletonAxisGutter\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #body>\n @if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n [cursor]=\"plotCursor()\"\n [tooltipSwatches]=\"tooltipSwatches()\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [selectRange]=\"selectRange()\"\n [showAxisReadout]=\"showAxisReadout()\"\n [summary]=\"accessibleName()\"\n [max]=\"max()\"\n [maxSecondary]=\"maxSecondary()\"\n [rescaleOnHide]=\"rescaleOnHide()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [pinOnClick]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [showChange]=\"showChange()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAIO,MAAM,6BAA6B,GAAG,CAAC;AAE9C;;AAEkE;SAClD,iBAAiB,CAC/B,IAAgC,EAChC,aAAqB,EACrB,IAAe,EAAA;IAEf,MAAM,MAAM,GACV,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,GAAG;AAChD,UAAE,IAAI,CAAC,KAAK,CAAC,aAAa;UACxB,CAAC;IACP,MAAM,OAAO,GAAsB,EAAE;AACrC,IAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;AAC3C,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,MAAM,OAAO,GACX,OAAO,GAAG,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,IAAI;AAC9D,QAAA,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,KAAK,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC;IACjE;AAEA,IAAA,OAAO,OAAO;AAChB;SAEgB,eAAe,CAC7B,IAAwB,EACxB,KAAa,EACb,WAAmB,EAAA;AAEnB,IAAA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