@ids-group-ltd/ids-design-system 0.14.1 → 0.14.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 (94) hide show
  1. package/CHANGELOG.md +243 -0
  2. package/components.md +29 -26
  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-bar-chart.md +3 -3
  6. package/docs/agent/charts/ds-chart.md +1 -1
  7. package/docs/agent/charts/ds-column-chart.md +3 -3
  8. package/docs/agent/charts/ds-config.md +1 -1
  9. package/docs/agent/charts/ds-funnel-chart.md +3 -3
  10. package/docs/agent/charts/ds-heatmap-chart.md +1 -1
  11. package/docs/agent/charts/ds-line-chart.md +2 -2
  12. package/docs/agent/charts/ds-pie-chart.md +2 -2
  13. package/docs/agent/charts/ds-scatter-chart.md +1 -1
  14. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  15. package/docs/agent/charts/line-series-component.md +1 -1
  16. package/docs/agent/feedback/ds-description-list.md +3 -0
  17. package/docs/agent/forms/ds-textarea.md +1 -1
  18. package/docs/agent/navigation/ds-pagination.md +1 -1
  19. package/docs/agent/navigation/ds-tabs.md +1 -0
  20. package/docs/agent/overlays/ds-tooltip.md +3 -3
  21. package/docs/agent/tables/ds-table.md +1 -1
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +4 -2
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +22 -16
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +19 -7
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +180 -19
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +175 -93
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +10 -11
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +32 -18
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +47 -7
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +11 -11
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +4 -2
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +11 -5
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +15 -13
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +35 -5
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +4 -2
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +32 -7
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +66 -6
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +61 -9
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +78 -6
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +25 -9
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +85 -9
  63. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +4 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  67. package/migrations/0.14.2.json +427 -0
  68. package/package.json +1 -1
  69. package/schematics/check-overrides/surface.json +31 -2
  70. package/styles/_chart-frame.scss +34 -12
  71. package/styles/_chart-interactive.scss +10 -9
  72. package/styles/_chart-motion.scss +139 -16
  73. package/styles/_overlay-motion.scss +6 -0
  74. package/styles/_tokens.scss +19 -4
  75. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -10
  76. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +6 -1
  77. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +33 -2
  78. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +151 -103
  79. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -9
  80. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +1 -1
  81. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +23 -11
  82. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +29 -2
  83. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +8 -8
  84. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +3 -1
  85. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +17 -7
  86. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +20 -2
  87. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +6 -2
  88. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +13 -2
  89. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +22 -4
  90. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +10 -1
  91. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +11 -2
  92. package/types/ids-group-ltd-ids-design-system-components.d.ts +33 -6
  93. package/types/ids-group-ltd-ids-design-system-core.d.ts +14 -1
  94. package/types/ids-group-ltd-ids-design-system.d.ts +1 -1
@@ -126,21 +126,20 @@ class ColumnChartComponent {
126
126
  /** The point that was clicked, or activated with Enter or Space. Fires whether or not
127
127
  * `interactive` is set. */
128
128
  pointClicked = output();
129
- /** Holds the hovered mark and its tooltip in place when it is clicked, until Escape or a press
130
- * outside releases it. Off by default: a click is already the drill-down hook, and a mark left
131
- * lit after the pointer has gone needs a reader who knows why it is lit. `pointClicked` fires
132
- * either way — pinning is a state, not a handler. */
133
- pinOnClick = input(false, { ...(ngDevMode ? { debugName: "pinOnClick" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
129
+ /** Holds the clicked mark and its tooltip in place, with a pin disc on it, until a second click,
130
+ * Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
131
+ * `true`. `pointClicked` fires either way - pinning is a state, not a handler. */
132
+ pinOnClick = input(null, { ...(ngDevMode ? { debugName: "pinOnClick" } : /* istanbul ignore next */ {}), transform: (value) => (value == null ? null : booleanAttribute(value)) });
134
133
  /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
135
134
  * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
136
135
  * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
137
136
  * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
138
137
  * and pays for it with the rest of the chart. */
139
138
  dimOthers = input(false, { ...(ngDevMode ? { debugName: "dimOthers" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
140
- /** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at
141
- * all; `40` is the documented non-zero step. The total is capped, so a long series does not
142
- * crawl in. */
143
- staggerMs = input(0, { ...(ngDevMode ? { debugName: "staggerMs" } : /* istanbul ignore next */ {}), transform: numberAttribute });
139
+ /** Milliseconds between one mark's entrance and the next. The steps narrow to fit the whole
140
+ * spread within 260ms, so a long series does not crawl in.
141
+ * `0` is no stagger. */
142
+ staggerMs = input(40, { ...(ngDevMode ? { debugName: "staggerMs" } : /* istanbul ignore next */ {}), transform: numberAttribute });
144
143
  /** Whether a hovered or focused column opens a tooltip. `'axis'` is not offered — a
145
144
  * column chart's marks ARE its categories, so an axis tooltip would repeat the item one. */
146
145
  tooltip = input('item', ...(ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []));
@@ -252,7 +251,7 @@ class ColumnChartComponent {
252
251
  afterNextRender(() => this.geometry.set(readColumnGeometry(host.nativeElement)));
253
252
  }
254
253
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ColumnChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
255
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: ColumnChartComponent, isStandalone: true, selector: "ds-column-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, stack: { classPropertyName: "stack", publicName: "stack", isSignal: true, isRequired: false, transformFunction: null }, thresholds: { classPropertyName: "thresholds", publicName: "thresholds", isSignal: true, isRequired: false, transformFunction: null }, showValues: { classPropertyName: "showValues", publicName: "showValues", isSignal: true, isRequired: false, transformFunction: null }, tickCount: { classPropertyName: "tickCount", publicName: "tickCount", isSignal: true, isRequired: false, transformFunction: null }, frame: { classPropertyName: "frame", publicName: "frame", isSignal: true, isRequired: false, transformFunction: null }, tooltipLingerMs: { classPropertyName: "tooltipLingerMs", publicName: "tooltipLingerMs", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, summary: { classPropertyName: "summary", publicName: "summary", isSignal: true, isRequired: false, transformFunction: null }, dataTable: { classPropertyName: "dataTable", publicName: "dataTable", isSignal: true, isRequired: false, transformFunction: null }, partOfWhole: { classPropertyName: "partOfWhole", publicName: "partOfWhole", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, valueFormat: { classPropertyName: "valueFormat", publicName: "valueFormat", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, pinOnClick: { classPropertyName: "pinOnClick", publicName: "pinOnClick", isSignal: true, isRequired: false, transformFunction: null }, dimOthers: { classPropertyName: "dimOthers", publicName: "dimOthers", 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" }, host: { properties: { "class.framed": "frameResolved() === 'auto'", "style.--_column-chart-view-height": "viewHeightPx()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["dsChartTooltip"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "seriesRefs", predicate: ColumnSeriesComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<figure class=\"column-chart\">\n @if (pinnedSeries()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"pinnedSeries()?.activeMark?.release()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonColumns(); track $index) {\n <ds-skeleton\n [shimmer]=\"loading()\"\n [height]=\"skeletonHeightPx()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"none\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [tooltipExtraGap]=\"valueClearance()\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [plotHeight]=\"geometry().plotHeight\"\n [axisGutter]=\"geometry().axisGutter\"\n [valueSpace]=\"geometry().valueSpace\">\n @if (thresholds().length) {\n <svg:g\n dsReferenceLine\n [thresholds]=\"thresholds()\" />\n }\n\n @for (\n series of resolvedSeries();\n track series.key;\n let seriesIndex = $index\n ) {\n <svg:g\n dsColumnSeries\n [data]=\"series.points\"\n [seriesKey]=\"series.key\"\n [highlighted]=\"highlightedSeries()\"\n [slot]=\"slotCount() > 1 ? seriesIndex : 0\"\n [slotCount]=\"slotCount()\"\n [offsets]=\"offsetsFor(seriesIndex)\"\n [seriesColor]=\"series.color\"\n [seriesFill]=\"series.fill\"\n [seriesLabel]=\"multiSeries() ? series.label : null\"\n [columnWidthRatio]=\"geometry().columnWidthRatio\"\n [showValues]=\"showValues()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [staggerMs]=\"staggerMs()\"\n [partOfWhole]=\"partOfWhole()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"pointClicked.emit($event)\" />\n }\n\n @if (thresholds().length) {\n <svg:g\n dsReferenceLabel\n [thresholds]=\"thresholds()\" />\n }\n </ds-chart>\n\n @if (multiSeries()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-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}figcaption{margin-block-end:var(--space-3);color:var(--text-primary);font-weight:var(--font-weight-semibold);-webkit-user-select:text;user-select:text}.empty.is-error,.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{--_column-chart-plot-height: var(--ds-column-chart-plot-height, 200px);--_column-chart-axis-width: var(--ds-column-chart-axis-width, 40px);--_column-chart-value-space: var(--ds-column-chart-value-space, var(--space-5));--_column-chart-column-width: var(--ds-column-chart-column-width, 80%)}.column-chart{--_column-chart-grid-line-color: var(--ds-column-chart-grid-line-color, var(--ds-chart-grid-line-color, var(--chart-grid-line-color)));--_column-chart-column-gap: var(--ds-column-chart-column-gap, var(--ds-chart-bar-gap));margin:0}ds-chart{--ds-chart-grid-line-color: var(--_column-chart-grid-line-color)}.empty{display:grid;place-items:center;min-block-size:var(--_column-chart-view-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)}.skeleton{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;column-gap:var(--_column-chart-column-gap)}:host{position:relative}.pin-reset{position:absolute;inset-block-end:var(--space-2);inset-inline:0;z-index:1;justify-self:center;margin-inline:auto;display:inline-flex;align-items:center;gap:var(--space-1);min-block-size:var(--space-12);inline-size:fit-content;padding:var(--space-1) var(--space-3);border:var(--border-width-default) solid var(--border-divider);border-radius:var(--radius-pill);background:var(--surface-default);color:var(--text-secondary);font-size:var(--font-size-xs);line-height:1;box-shadow:var(--shadow-1);cursor:pointer}.pin-reset:hover{color:var(--text-primary);border-color:var(--border-strong)}\n"], dependencies: [{ kind: "component", type: SkeletonComponent, selector: "ds-skeleton", inputs: ["width", "height", "circle", "inline", "shimmer"] }, { kind: "component", type: ChartComponent, selector: "ds-chart", inputs: ["categories", "tickCount", "min", "max", "cursor", "cursorPin", "tooltipLingerMs", "maxSecondary", "plotHeight", "axisGutter", "valueSpace", "caption", "interactive", "summary", "frame", "loading", "emptyText", "error", "errorText", "valueFormat", "secondaryAxisMode", "axisColor", "secondaryAxisColor", "axisLabel", "secondaryAxisLabel", "tooltipTemplate", "tooltipExtraGap"], exportAs: ["dsChart"] }, { kind: "component", type: ChartLegendComponent, selector: "ds-chart-legend", inputs: ["items", "hidden", "toggleable", "mode", "highlighted"], outputs: ["hiddenChange", "highlightedChange"] }, { kind: "component", type: ColumnSeriesComponent, selector: "g[dsColumnSeries]", inputs: ["data", "showValues", "interactive", "pinOnClick", "dimOthers", "staggerMs", "partOfWhole", "tooltip", "tooltipAnchor", "tooltipLingerMs", "valueFormat", "columnWidthRatio", "slot", "slotCount", "offsets", "axis", "seriesColor", "seriesFill", "seriesLabel", "seriesKey", "highlighted"], outputs: ["pointClicked"], exportAs: ["dsColumnSeries"] }, { kind: "component", type: ReferenceLabelComponent, selector: "g[dsReferenceLabel]", inputs: ["thresholds"] }, { kind: "component", type: ReferenceLineComponent, selector: "g[dsReferenceLine]", inputs: ["thresholds"] }, { kind: "component", type: ChartDataTableComponent, selector: "ds-chart-data-table", inputs: ["columns", "rows", "caption", "open", "rowHeader"], outputs: ["toggled"] }], viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
254
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: ColumnChartComponent, isStandalone: true, selector: "ds-column-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, stack: { classPropertyName: "stack", publicName: "stack", isSignal: true, isRequired: false, transformFunction: null }, thresholds: { classPropertyName: "thresholds", publicName: "thresholds", isSignal: true, isRequired: false, transformFunction: null }, showValues: { classPropertyName: "showValues", publicName: "showValues", isSignal: true, isRequired: false, transformFunction: null }, tickCount: { classPropertyName: "tickCount", publicName: "tickCount", isSignal: true, isRequired: false, transformFunction: null }, frame: { classPropertyName: "frame", publicName: "frame", isSignal: true, isRequired: false, transformFunction: null }, tooltipLingerMs: { classPropertyName: "tooltipLingerMs", publicName: "tooltipLingerMs", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, summary: { classPropertyName: "summary", publicName: "summary", isSignal: true, isRequired: false, transformFunction: null }, dataTable: { classPropertyName: "dataTable", publicName: "dataTable", isSignal: true, isRequired: false, transformFunction: null }, partOfWhole: { classPropertyName: "partOfWhole", publicName: "partOfWhole", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, valueFormat: { classPropertyName: "valueFormat", publicName: "valueFormat", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, pinOnClick: { classPropertyName: "pinOnClick", publicName: "pinOnClick", isSignal: true, isRequired: false, transformFunction: null }, dimOthers: { classPropertyName: "dimOthers", publicName: "dimOthers", 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" }, host: { properties: { "class.framed": "frameResolved() === 'auto'", "style.--_column-chart-view-height": "viewHeightPx()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["dsChartTooltip"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "seriesRefs", predicate: ColumnSeriesComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<figure class=\"column-chart\">\n @if (pinnedSeries()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"pinnedSeries()?.activeMark?.release()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonColumns(); track $index) {\n <ds-skeleton\n [shimmer]=\"loading()\"\n [height]=\"skeletonHeightPx()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"none\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [tooltipExtraGap]=\"valueClearance()\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [plotHeight]=\"geometry().plotHeight\"\n [axisGutter]=\"geometry().axisGutter\"\n [valueSpace]=\"geometry().valueSpace\">\n @if (thresholds().length) {\n <svg:g\n dsReferenceLine\n [thresholds]=\"thresholds()\" />\n }\n\n @for (\n series of resolvedSeries();\n track series.key;\n let seriesIndex = $index\n ) {\n <svg:g\n dsColumnSeries\n [data]=\"series.points\"\n [seriesKey]=\"series.key\"\n [highlighted]=\"highlightedSeries()\"\n [slot]=\"slotCount() > 1 ? seriesIndex : 0\"\n [slotCount]=\"slotCount()\"\n [offsets]=\"offsetsFor(seriesIndex)\"\n [seriesColor]=\"series.color\"\n [seriesFill]=\"series.fill\"\n [seriesLabel]=\"multiSeries() ? series.label : null\"\n [columnWidthRatio]=\"geometry().columnWidthRatio\"\n [showValues]=\"showValues()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [staggerMs]=\"staggerMs()\"\n [partOfWhole]=\"partOfWhole()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"pointClicked.emit($event)\" />\n }\n\n @if (thresholds().length) {\n <svg:g\n dsReferenceLabel\n [thresholds]=\"thresholds()\" />\n }\n </ds-chart>\n\n @if (multiSeries()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-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}figcaption{margin-block-end:var(--space-3);color:var(--text-primary);font-weight:var(--font-weight-semibold);-webkit-user-select:text;user-select:text}.empty.is-error,.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{--_column-chart-plot-height: var(--ds-column-chart-plot-height, 200px);--_column-chart-axis-width: var(--ds-column-chart-axis-width, 40px);--_column-chart-value-space: var(--ds-column-chart-value-space, var(--space-5));--_column-chart-column-width: var(--ds-column-chart-column-width, 80%)}.column-chart{--_column-chart-grid-line-color: var(--ds-column-chart-grid-line-color, var(--ds-chart-grid-line-color, var(--chart-grid-line-color)));--_column-chart-column-gap: var(--ds-column-chart-column-gap, var(--ds-chart-bar-gap));margin:0}ds-chart{--ds-chart-grid-line-color: var(--_column-chart-grid-line-color)}.empty{display:grid;place-items:center;min-block-size:var(--_column-chart-view-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)}.skeleton{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;column-gap:var(--_column-chart-column-gap)}:host{position:relative}:host(.framed){--_chart-pin-reset-inset: var(--ds-chart-frame-padding)}:host:has(.pin-reset) figure>figcaption{padding-inline-end:calc(5rem + var(--space-2))}:host:has(.pin-reset) figure:not(:has(>figcaption)){padding-block-start:calc(var(--space-6) + var(--space-2))}.pin-reset{position:absolute;inset-block-start:var(--_chart-pin-reset-inset, 0);inset-inline-end:var(--_chart-pin-reset-inset, 0);z-index:1;display:inline-flex;align-items:center;gap:var(--space-1);block-size:var(--space-6);padding:0 var(--space-2-5);border:var(--border-width-default) solid var(--border-divider);border-radius:var(--radius-pill);background:var(--surface-default);color:var(--text-secondary);font-size:var(--font-size-xs);line-height:1;box-shadow:var(--shadow-1);cursor:pointer}.pin-reset:before{position:absolute;inset:50% auto auto 50%;inline-size:max(100%,var(--hit-comfy));block-size:var(--hit-comfy);transform:translate(-50%,-50%);content:\"\"}.pin-reset:hover{color:var(--text-primary);border-color:var(--border-strong)}\n"], dependencies: [{ kind: "component", type: SkeletonComponent, selector: "ds-skeleton", inputs: ["width", "height", "circle", "inline", "shimmer"] }, { kind: "component", type: ChartComponent, selector: "ds-chart", inputs: ["categories", "tickCount", "min", "max", "cursor", "cursorPin", "tooltipLingerMs", "maxSecondary", "plotHeight", "axisGutter", "valueSpace", "caption", "interactive", "summary", "frame", "loading", "emptyText", "error", "errorText", "valueFormat", "secondaryAxisMode", "axisColor", "secondaryAxisColor", "axisLabel", "secondaryAxisLabel", "tooltipTemplate", "tooltipExtraGap"], exportAs: ["dsChart"] }, { kind: "component", type: ChartLegendComponent, selector: "ds-chart-legend", inputs: ["items", "hidden", "toggleable", "mode", "highlighted"], outputs: ["hiddenChange", "highlightedChange"] }, { kind: "component", type: ColumnSeriesComponent, selector: "g[dsColumnSeries]", inputs: ["data", "showValues", "interactive", "pinOnClick", "dimOthers", "staggerMs", "partOfWhole", "tooltip", "tooltipAnchor", "tooltipLingerMs", "valueFormat", "columnWidthRatio", "slot", "slotCount", "offsets", "axis", "seriesColor", "seriesFill", "seriesLabel", "seriesKey", "highlighted"], outputs: ["pointClicked"], exportAs: ["dsColumnSeries"] }, { kind: "component", type: ReferenceLabelComponent, selector: "g[dsReferenceLabel]", inputs: ["thresholds"] }, { kind: "component", type: ReferenceLineComponent, selector: "g[dsReferenceLine]", inputs: ["thresholds"] }, { kind: "component", type: ChartDataTableComponent, selector: "ds-chart-data-table", inputs: ["columns", "rows", "caption", "open", "rowHeader"], outputs: ["toggled"] }], viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
256
255
  }
257
256
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ColumnChartComponent, decorators: [{
258
257
  type: Component,
@@ -267,7 +266,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
267
266
  ], host: {
268
267
  '[class.framed]': "frameResolved() === 'auto'",
269
268
  '[style.--_column-chart-view-height]': 'viewHeightPx()',
270
- }, encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }], template: "<figure class=\"column-chart\">\n @if (pinnedSeries()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"pinnedSeries()?.activeMark?.release()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonColumns(); track $index) {\n <ds-skeleton\n [shimmer]=\"loading()\"\n [height]=\"skeletonHeightPx()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"none\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [tooltipExtraGap]=\"valueClearance()\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [plotHeight]=\"geometry().plotHeight\"\n [axisGutter]=\"geometry().axisGutter\"\n [valueSpace]=\"geometry().valueSpace\">\n @if (thresholds().length) {\n <svg:g\n dsReferenceLine\n [thresholds]=\"thresholds()\" />\n }\n\n @for (\n series of resolvedSeries();\n track series.key;\n let seriesIndex = $index\n ) {\n <svg:g\n dsColumnSeries\n [data]=\"series.points\"\n [seriesKey]=\"series.key\"\n [highlighted]=\"highlightedSeries()\"\n [slot]=\"slotCount() > 1 ? seriesIndex : 0\"\n [slotCount]=\"slotCount()\"\n [offsets]=\"offsetsFor(seriesIndex)\"\n [seriesColor]=\"series.color\"\n [seriesFill]=\"series.fill\"\n [seriesLabel]=\"multiSeries() ? series.label : null\"\n [columnWidthRatio]=\"geometry().columnWidthRatio\"\n [showValues]=\"showValues()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [staggerMs]=\"staggerMs()\"\n [partOfWhole]=\"partOfWhole()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"pointClicked.emit($event)\" />\n }\n\n @if (thresholds().length) {\n <svg:g\n dsReferenceLabel\n [thresholds]=\"thresholds()\" />\n }\n </ds-chart>\n\n @if (multiSeries()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-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}figcaption{margin-block-end:var(--space-3);color:var(--text-primary);font-weight:var(--font-weight-semibold);-webkit-user-select:text;user-select:text}.empty.is-error,.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{--_column-chart-plot-height: var(--ds-column-chart-plot-height, 200px);--_column-chart-axis-width: var(--ds-column-chart-axis-width, 40px);--_column-chart-value-space: var(--ds-column-chart-value-space, var(--space-5));--_column-chart-column-width: var(--ds-column-chart-column-width, 80%)}.column-chart{--_column-chart-grid-line-color: var(--ds-column-chart-grid-line-color, var(--ds-chart-grid-line-color, var(--chart-grid-line-color)));--_column-chart-column-gap: var(--ds-column-chart-column-gap, var(--ds-chart-bar-gap));margin:0}ds-chart{--ds-chart-grid-line-color: var(--_column-chart-grid-line-color)}.empty{display:grid;place-items:center;min-block-size:var(--_column-chart-view-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)}.skeleton{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;column-gap:var(--_column-chart-column-gap)}:host{position:relative}.pin-reset{position:absolute;inset-block-end:var(--space-2);inset-inline:0;z-index:1;justify-self:center;margin-inline:auto;display:inline-flex;align-items:center;gap:var(--space-1);min-block-size:var(--space-12);inline-size:fit-content;padding:var(--space-1) var(--space-3);border:var(--border-width-default) solid var(--border-divider);border-radius:var(--radius-pill);background:var(--surface-default);color:var(--text-secondary);font-size:var(--font-size-xs);line-height:1;box-shadow:var(--shadow-1);cursor:pointer}.pin-reset:hover{color:var(--text-primary);border-color:var(--border-strong)}\n"] }]
269
+ }, encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }], template: "<figure class=\"column-chart\">\n @if (pinnedSeries()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"pinnedSeries()?.activeMark?.release()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonColumns(); track $index) {\n <ds-skeleton\n [shimmer]=\"loading()\"\n [height]=\"skeletonHeightPx()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"none\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [tooltipExtraGap]=\"valueClearance()\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [plotHeight]=\"geometry().plotHeight\"\n [axisGutter]=\"geometry().axisGutter\"\n [valueSpace]=\"geometry().valueSpace\">\n @if (thresholds().length) {\n <svg:g\n dsReferenceLine\n [thresholds]=\"thresholds()\" />\n }\n\n @for (\n series of resolvedSeries();\n track series.key;\n let seriesIndex = $index\n ) {\n <svg:g\n dsColumnSeries\n [data]=\"series.points\"\n [seriesKey]=\"series.key\"\n [highlighted]=\"highlightedSeries()\"\n [slot]=\"slotCount() > 1 ? seriesIndex : 0\"\n [slotCount]=\"slotCount()\"\n [offsets]=\"offsetsFor(seriesIndex)\"\n [seriesColor]=\"series.color\"\n [seriesFill]=\"series.fill\"\n [seriesLabel]=\"multiSeries() ? series.label : null\"\n [columnWidthRatio]=\"geometry().columnWidthRatio\"\n [showValues]=\"showValues()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [staggerMs]=\"staggerMs()\"\n [partOfWhole]=\"partOfWhole()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"pointClicked.emit($event)\" />\n }\n\n @if (thresholds().length) {\n <svg:g\n dsReferenceLabel\n [thresholds]=\"thresholds()\" />\n }\n </ds-chart>\n\n @if (multiSeries()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:block;-webkit-user-select:none;user-select:none}:host(.framed){padding:var(--ds-chart-frame-padding);background:var(--ds-chart-frame-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}figcaption{margin-block-end:var(--space-3);color:var(--text-primary);font-weight:var(--font-weight-semibold);-webkit-user-select:text;user-select:text}.empty.is-error,.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{--_column-chart-plot-height: var(--ds-column-chart-plot-height, 200px);--_column-chart-axis-width: var(--ds-column-chart-axis-width, 40px);--_column-chart-value-space: var(--ds-column-chart-value-space, var(--space-5));--_column-chart-column-width: var(--ds-column-chart-column-width, 80%)}.column-chart{--_column-chart-grid-line-color: var(--ds-column-chart-grid-line-color, var(--ds-chart-grid-line-color, var(--chart-grid-line-color)));--_column-chart-column-gap: var(--ds-column-chart-column-gap, var(--ds-chart-bar-gap));margin:0}ds-chart{--ds-chart-grid-line-color: var(--_column-chart-grid-line-color)}.empty{display:grid;place-items:center;min-block-size:var(--_column-chart-view-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)}.skeleton{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;column-gap:var(--_column-chart-column-gap)}:host{position:relative}:host(.framed){--_chart-pin-reset-inset: var(--ds-chart-frame-padding)}:host:has(.pin-reset) figure>figcaption{padding-inline-end:calc(5rem + var(--space-2))}:host:has(.pin-reset) figure:not(:has(>figcaption)){padding-block-start:calc(var(--space-6) + var(--space-2))}.pin-reset{position:absolute;inset-block-start:var(--_chart-pin-reset-inset, 0);inset-inline-end:var(--_chart-pin-reset-inset, 0);z-index:1;display:inline-flex;align-items:center;gap:var(--space-1);block-size:var(--space-6);padding:0 var(--space-2-5);border:var(--border-width-default) solid var(--border-divider);border-radius:var(--radius-pill);background:var(--surface-default);color:var(--text-secondary);font-size:var(--font-size-xs);line-height:1;box-shadow:var(--shadow-1);cursor:pointer}.pin-reset:before{position:absolute;inset:50% auto auto 50%;inline-size:max(100%,var(--hit-comfy));block-size:var(--hit-comfy);transform:translate(-50%,-50%);content:\"\"}.pin-reset:hover{color:var(--text-primary);border-color:var(--border-strong)}\n"] }]
271
270
  }], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], stack: [{ type: i0.Input, args: [{ isSignal: true, alias: "stack", required: false }] }], thresholds: [{ type: i0.Input, args: [{ isSignal: true, alias: "thresholds", required: false }] }], showValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValues", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], frame: [{ type: i0.Input, args: [{ isSignal: true, alias: "frame", required: false }] }], tooltipLingerMs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipLingerMs", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: false }] }], dataTable: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataTable", required: false }] }], partOfWhole: [{ type: i0.Input, args: [{ isSignal: true, alias: "partOfWhole", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], emptyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyText", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], errorText: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorText", required: false }] }], valueFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormat", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], pointClicked: [{ type: i0.Output, args: ["pointClicked"] }], pinOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "pinOnClick", required: false }] }], dimOthers: [{ type: i0.Input, args: [{ isSignal: true, alias: "dimOthers", 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 }] }], seriesRefs: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => ColumnSeriesComponent), { isSignal: true }] }] } });
272
271
 
273
272
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-column-chart.mjs","sources":["../../../src/lib/components/column-chart/column-chart.component.ts","../../../src/lib/components/column-chart/column-chart.component.html","../../../src/lib/components/column-chart/ids-group-ltd-ids-design-system-components-column-chart.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n viewChildren,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n formatPercent,\n shareOfTotal,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartStackMode,\n ChartThreshold,\n ChartValueFormat,\n} from '@ids-group-ltd/ids-design-system/core';\nimport {\n ChartComponent,\n ColumnSeriesComponent,\n ReferenceLabelComponent,\n ReferenceLineComponent,\n chartViewHeight,\n stackOffsets,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type { ChartStackOffset } from '@ids-group-ltd/ids-design-system/components/chart';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport { resolveChartDefaults } from '@ids-group-ltd/ids-design-system/components';\nimport type {\n ChartItemTooltipTrigger,\n ChartTooltipContext,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport type {\n ChartMarkFill,\n ColumnChartPoint,\n ColumnChartSeries,\n} from './column-chart.types';\n\n/** One series, ready to draw. `points` is the caller's own array, never a copy: the colour and the\n * fill reach the marks as series-wide defaults so a clicked point comes back as the object that\n * was handed in. */\ninterface ResolvedColumnSeries {\n readonly key: string;\n readonly label: string;\n /** Null leaves each mark on the categorical palette by its own position, which is what a chart\n * of one series has always drawn. */\n readonly color: string | null;\n readonly fill: ChartMarkFill | null;\n readonly points: readonly ColumnChartPoint[];\n}\n\nfunction isSeriesList(\n data: readonly ColumnChartPoint[] | readonly ColumnChartSeries[],\n): data is readonly ColumnChartSeries[] {\n return data.length > 0 && 'data' in data[0];\n}\n\n/** What the four geometry tokens resolve to when nothing has been set and while the host is not yet\n * in a document — under SSR, and for the frame before the first read. */\nconst COLUMN_GEOMETRY = {\n plotHeight: 200,\n axisGutter: 40,\n valueSpace: 20,\n columnWidthRatio: 0.8,\n};\n\n/** The plot is an SVG coordinate space, so `--ds-column-chart-plot-height` and its three siblings\n * cannot reach it as CSS: a length written into a `viewBox` is a number the component computes.\n * They are read back once, from the private resolvers on the host, which is what keeps them real\n * public hooks rather than names that parse and change nothing.\n *\n * Read once, on the first pass: a token re-pointed at a breakpoint is NOT picked up, because\n * `ds-chart`'s `ResizeObserver` answers the plot's width rather than a token's value. Set these\n * from a stylesheet, not from a media query. */\nfunction readColumnGeometry(host: HTMLElement): typeof COLUMN_GEOMETRY {\n const style = getComputedStyle(host);\n const length = (token: string, fallback: number): number => {\n const parsed = Number.parseFloat(style.getPropertyValue(token));\n\n // `>= 0`, so a token deliberately set to zero - no tick gutter, no label headroom - is kept\n // rather than silently replaced by the default.\n return Number.isFinite(parsed) && parsed >= 0 ? parsed : fallback;\n };\n\n return {\n plotHeight: length(\n '--_column-chart-plot-height',\n COLUMN_GEOMETRY.plotHeight,\n ),\n axisGutter: length(\n '--_column-chart-axis-width',\n COLUMN_GEOMETRY.axisGutter,\n ),\n valueSpace: length(\n '--_column-chart-value-space',\n COLUMN_GEOMETRY.valueSpace,\n ),\n // A share of the category's own slot, written as a percentage and used as a ratio.\n columnWidthRatio:\n length(\n '--_column-chart-column-width',\n COLUMN_GEOMETRY.columnWidthRatio * 100,\n ) / 100,\n };\n}\n\n@Component({\n selector: 'ds-column-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartComponent,\n ChartLegendComponent,\n ColumnSeriesComponent,\n ReferenceLabelComponent,\n ReferenceLineComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './column-chart.component.html',\n styleUrl: './column-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_column-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }],\n})\nexport class ColumnChartComponent {\n protected readonly renderReady = chartRenderGate();\n\n /** One column per point, drawn in the order given - or one NAMED SERIES per entry, where every\n * category carries a column from each. The two forms are told apart by their shape, so a chart\n * handed a flat list behaves exactly as it always has. */\n readonly data = input.required<\n readonly ColumnChartPoint[] | readonly ColumnChartSeries[]\n >();\n\n /** How several series share one category's band. `'none'`, the default, and `'grouped'` draw\n * them side by side - a chart of one series takes the whole band either way, so the two differ\n * only in spelling. `'stacked'` puts each series on top of the one before it, and\n * `'normalized'` stacks then divides by the category's total, so every band is full and the\n * axis reads in shares.\n *\n * Unrelated to `ds-line-chart`'s `axisMode=\"stacked\"`, which is two PLOTS one above the\n * other. */\n readonly stack = input<ChartStackMode>('none');\n\n /** Reference lines and bands drawn across the plot, behind the columns: a target, a budget, an\n * SLA. Each one opens the value axis far enough to hold it, so a target above every column is\n * still on the plot, and each is named in the generated description - a line only the sighted\n * reader gets is an annotation half the audience never receives. */\n readonly thresholds = input<readonly ChartThreshold[]>([]);\n\n /** Prints each column's value above the column. */\n readonly showValues = input(true, { transform: booleanAttribute });\n\n /** How many value-axis ticks to aim for. A hint, not a count: ticks are\n * snapped to a round step, so the axis may carry one more or one fewer. */\n readonly tickCount = input(5, { transform: numberAttribute });\n\n /** Whether the chart draws its own bordered, padded box. `'auto'`, the default, draws it;\n * `'none'` leaves the chart bare, for one placed inside a card the page has already drawn.\n * Unset falls back to `DS_CONFIG.chart.frame`, then `'auto'` — whether charts live inside cards\n * is one decision per app rather than per plot. */\n readonly frame = input<ChartFrame | null>(null);\n\n /** How long the tooltip stays after the pointer leaves the mark, in milliseconds. Zero, the\n * default, takes it away at once: a panel that outlives the pointer sits over the plot the\n * reader has moved on to.\n *\n * Raise it only for a panel a reader has to REACH — one carrying a link, a figure, or anything\n * selectable — which is WCAG 1.4.13's hoverable clause. The panel is portaled to the body, so\n * crossing the gap to it at an ordinary pointer speed needs about 140. Unset falls back to\n * `DS_CONFIG.chart.tooltipLingerMs`, then 0. */\n readonly tooltipLingerMs = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n /** Printed above the plot as the chart's visible title, and reused as the annex table's\n * caption. */\n readonly caption = input<string | null>(null);\n\n /** Accessible name. Generated from the data when omitted. */\n readonly summary = input<string | null>(null);\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so\n * `'none'` belongs only where the same data is already in a table on the page.\n * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Declares that the marks are parts of one whole, which is what makes a share of their total a\n * real quantity. Off by default: a chart of visitors per stage or revenue per month sums to a\n * number nobody can point at, and \"18.6% of total\" against it is arithmetic dressed as a fact.\n * On, each mark's share appears on the tooltip's second line and in the data table. */\n readonly partOfWhole = input(false, { transform: booleanAttribute });\n\n /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize\n * when the data lands. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Shown in place of the plot when `data` is empty. Unset falls back to\n * `DS_INTL.chart.empty`. */\n readonly emptyText = input<string | null>(null);\n\n /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,\n * because \"the request failed\" and \"there is nothing to show\" read the same to a reader and\n * mean opposite things. */\n readonly error = input(false, { transform: booleanAttribute });\n\n /** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */\n readonly errorText = input<string | null>(null);\n /** Formats every value the chart prints, the annex table and the generated description\n * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /\n * `LOCALE_ID`. */\n readonly valueFormat = input<ChartValueFormat | null>(null);\n\n private readonly defaults = resolveChartDefaults(this);\n protected readonly intl = inject(DS_INTL);\n readonly frameResolved = this.defaults.frame;\n readonly dataTableResolved = this.defaults.dataTable;\n readonly emptyTextResolved = this.defaults.emptyText;\n readonly errorTextResolved = this.defaults.errorText;\n readonly valueFormatResolved = this.defaults.valueFormat;\n\n /** Turns on the click affordance — the pointer cursor and any hover tint.\n * The click output fires whether or not this is set, so a consumer that\n * binds the output and forgets the flag still receives every click. */\n readonly interactive = input(false, { transform: booleanAttribute });\n\n /** The point that was clicked, or activated with Enter or Space. Fires whether or not\n * `interactive` is set. */\n readonly pointClicked = output<ColumnChartPoint>();\n\n /** Holds the hovered mark and its tooltip in place when it is clicked, until Escape or a press\n * outside releases it. Off by default: a click is already the drill-down hook, and a mark left\n * lit after the pointer has gone needs a reader who knows why it is lit. `pointClicked` fires\n * either way — pinning is a state, not a handler. */\n readonly pinOnClick = input(false, { transform: booleanAttribute });\n\n /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the\n * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed\n * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full\n * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark\n * and pays for it with the rest of the chart. */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at\n * all; `40` is the documented non-zero step. The total is capped, so a long series does not\n * crawl in. */\n readonly staggerMs = input(0, { transform: numberAttribute });\n\n /** Whether a hovered or focused column opens a tooltip. `'axis'` is not offered — a\n * column chart's marks ARE its categories, so an axis tooltip would repeat the item one. */\n readonly tooltip = input<ChartItemTooltipTrigger>('item');\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip is pinned. `'mark'`, the default, is the column itself — a panel over the\n * reading it describes. `'cell'` is the full-height category cell, which puts the panel at the\n * top of the plot whatever the column's value. */\n readonly tooltipAnchor = input<'mark' | 'cell'>('mark');\n\n /** The value is printed ABOVE the column, so a panel anchored to the column alone opens on top\n * of that number. One text line of clearance puts it above both. */\n protected readonly valueClearance = computed(() =>\n this.showValues() ? 18 : 0,\n );\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n protected readonly geometry = signal(COLUMN_GEOMETRY);\n\n /** Every state occupies the box the plot would have, so nothing on the page moves when the data\n * lands or the request fails. */\n protected readonly viewHeightPx = computed(\n () =>\n `${chartViewHeight(this.geometry().plotHeight, this.geometry().valueSpace)}px`,\n );\n\n protected readonly skeletonHeightPx = computed(\n () => `${this.geometry().plotHeight}px`,\n );\n\n protected readonly seriesRefs = viewChildren(ColumnSeriesComponent);\n\n protected readonly pinnedSeries = computed(\n () =>\n this.seriesRefs().find((series) => series.activeMark.pinned()) ?? null,\n );\n\n protected readonly resolvedSeries = computed<readonly ResolvedColumnSeries[]>(\n () => {\n const given = this.data();\n if (!isSeriesList(given)) {\n return [\n { key: 'series', label: '', color: null, fill: null, points: given },\n ];\n }\n\n return given.map((series, index) => ({\n key: series.id,\n label: series.label,\n color:\n series.color ??\n CHART_SERIES_COLORS[index % CHART_SERIES_COLORS.length],\n fill: series.fill ?? null,\n points: series.data,\n }));\n },\n );\n\n /** Stacking collapses every series onto ONE slot, which is also why a stacked series is drawn\n * at slot 0 rather than at its own index - its segments sit on top of each other, not beside\n * them. */\n protected readonly slotCount = computed(() =>\n this.stack() === 'stacked' || this.stack() === 'normalized'\n ? 1\n : this.resolvedSeries().length,\n );\n\n private readonly offsets = computed(() =>\n stackOffsets(\n this.resolvedSeries().map((series) =>\n series.points.map((point) => point.value),\n ),\n this.stack(),\n ),\n );\n\n protected offsetsFor(index: number): readonly ChartStackOffset[] {\n return this.offsets()[index] ?? [];\n }\n\n /** The categories come from the LONGEST series: a series that stops early leaves the bands past\n * its end standing rather than taking them off the axis for every other series too. */\n protected readonly categories = computed(() =>\n this.resolvedSeries()\n .reduce<readonly ColumnChartPoint[]>(\n (longest, series) =>\n series.points.length > longest.length ? series.points : longest,\n [],\n )\n .map((point) => point.label),\n );\n\n protected readonly multiSeries = computed(\n () => this.resolvedSeries().length > 1,\n );\n\n /** The series named in the legend under the pointer, which fades the rest. */\n protected readonly highlightedSeries = signal<string | null>(null);\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((series) => ({\n id: series.key,\n label: series.label,\n color: series.color ?? '',\n })),\n );\n\n /** A normalized stack draws shares, not readings, so the axis has to say so - the value printed\n * beside each mark stays the reading, which is what `valueFormat` goes on formatting. */\n protected readonly axisFormat = computed<ChartValueFormat | null>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormat(),\n );\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n ...(this.multiSeries() ? [this.intl().chart.seriesColumn] : []),\n this.intl().chart.labelColumn,\n this.intl().chart.valueColumn,\n ...(this.partOfWhole() ? [this.intl().chart.shareColumn] : []),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.key,\n cells: [\n ...(this.multiSeries() ? [row.series] : []),\n row.label,\n row.formattedValue,\n ...(this.partOfWhole() ? [row.share] : []),\n ],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.resolvedSeries().flatMap((series) => {\n const values = series.points.map((point) => point.value);\n\n return series.points.map((point, index) => ({\n key: `${series.key}:${point.id ?? index}`,\n series: series.label,\n label: point.label,\n formattedValue: format(point.value, 'tooltip'),\n share: this.partOfWhole()\n ? shareOfTotal(values, index, this.defaults.locale)\n : '',\n }));\n });\n });\n\n protected readonly accessibleName = computed(\n () =>\n this.summary() ??\n this.resolvedSeries()\n .map((series, index) =>\n describeSeries(\n this.intl().chart,\n series.label || this.caption() || this.intl().chart.title,\n series.points.map((point) => ({\n label: point.label,\n value: point.value,\n })),\n (value) => this.valueFormatResolved()(value, 'tooltip'),\n this.dataTableResolved() !== 'none',\n // The reference lines belong to the plot, not to a series, so they are named once.\n index === 0 ? this.thresholds() : [],\n ),\n )\n .join(' '),\n );\n\n protected readonly isEmpty = computed(() => this.categories().length === 0);\n\n /** Placeholder columns while loading. Follows the real point count so the chart does not resize\n * when the data lands; falls back to three when `data` is still empty. */\n protected readonly skeletonColumns = computed(() =>\n Array.from({ length: Math.max(this.categories().length, 3) }),\n );\n\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef);\n afterNextRender(() =>\n this.geometry.set(readColumnGeometry(host.nativeElement)),\n );\n }\n}\n","<figure class=\"column-chart\">\n @if (pinnedSeries()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"pinnedSeries()?.activeMark?.release()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonColumns(); track $index) {\n <ds-skeleton\n [shimmer]=\"loading()\"\n [height]=\"skeletonHeightPx()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"none\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [tooltipExtraGap]=\"valueClearance()\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [plotHeight]=\"geometry().plotHeight\"\n [axisGutter]=\"geometry().axisGutter\"\n [valueSpace]=\"geometry().valueSpace\">\n @if (thresholds().length) {\n <svg:g\n dsReferenceLine\n [thresholds]=\"thresholds()\" />\n }\n\n @for (\n series of resolvedSeries();\n track series.key;\n let seriesIndex = $index\n ) {\n <svg:g\n dsColumnSeries\n [data]=\"series.points\"\n [seriesKey]=\"series.key\"\n [highlighted]=\"highlightedSeries()\"\n [slot]=\"slotCount() > 1 ? seriesIndex : 0\"\n [slotCount]=\"slotCount()\"\n [offsets]=\"offsetsFor(seriesIndex)\"\n [seriesColor]=\"series.color\"\n [seriesFill]=\"series.fill\"\n [seriesLabel]=\"multiSeries() ? series.label : null\"\n [columnWidthRatio]=\"geometry().columnWidthRatio\"\n [showValues]=\"showValues()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [staggerMs]=\"staggerMs()\"\n [partOfWhole]=\"partOfWhole()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"pointClicked.emit($event)\" />\n }\n\n @if (thresholds().length) {\n <svg:g\n dsReferenceLabel\n [thresholds]=\"thresholds()\" />\n }\n </ds-chart>\n\n @if (multiSeries()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAuEA,SAAS,YAAY,CACnB,IAAgE,EA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AA,KAAA,EAAA,WAAA,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,qMA6ByB,qBAAqB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEjTpE;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-components-column-chart.mjs","sources":["../../../src/lib/components/column-chart/column-chart.component.ts","../../../src/lib/components/column-chart/column-chart.component.html","../../../src/lib/components/column-chart/ids-group-ltd-ids-design-system-components-column-chart.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n viewChildren,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n formatPercent,\n shareOfTotal,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartStackMode,\n ChartThreshold,\n ChartValueFormat,\n} from '@ids-group-ltd/ids-design-system/core';\nimport {\n ChartComponent,\n ColumnSeriesComponent,\n ReferenceLabelComponent,\n ReferenceLineComponent,\n chartViewHeight,\n stackOffsets,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type { ChartStackOffset } from '@ids-group-ltd/ids-design-system/components/chart';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport { resolveChartDefaults } from '@ids-group-ltd/ids-design-system/components';\nimport type {\n ChartItemTooltipTrigger,\n ChartTooltipContext,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport type {\n ChartMarkFill,\n ColumnChartPoint,\n ColumnChartSeries,\n} from './column-chart.types';\n\n/** One series, ready to draw. `points` is the caller's own array, never a copy: the colour and the\n * fill reach the marks as series-wide defaults so a clicked point comes back as the object that\n * was handed in. */\ninterface ResolvedColumnSeries {\n readonly key: string;\n readonly label: string;\n /** Null leaves each mark on the categorical palette by its own position, which is what a chart\n * of one series has always drawn. */\n readonly color: string | null;\n readonly fill: ChartMarkFill | null;\n readonly points: readonly ColumnChartPoint[];\n}\n\nfunction isSeriesList(\n data: readonly ColumnChartPoint[] | readonly ColumnChartSeries[],\n): data is readonly ColumnChartSeries[] {\n return data.length > 0 && 'data' in data[0];\n}\n\n/** What the four geometry tokens resolve to when nothing has been set and while the host is not yet\n * in a document — under SSR, and for the frame before the first read. */\nconst COLUMN_GEOMETRY = {\n plotHeight: 200,\n axisGutter: 40,\n valueSpace: 20,\n columnWidthRatio: 0.8,\n};\n\n/** The plot is an SVG coordinate space, so `--ds-column-chart-plot-height` and its three siblings\n * cannot reach it as CSS: a length written into a `viewBox` is a number the component computes.\n * They are read back once, from the private resolvers on the host, which is what keeps them real\n * public hooks rather than names that parse and change nothing.\n *\n * Read once, on the first pass: a token re-pointed at a breakpoint is NOT picked up, because\n * `ds-chart`'s `ResizeObserver` answers the plot's width rather than a token's value. Set these\n * from a stylesheet, not from a media query. */\nfunction readColumnGeometry(host: HTMLElement): typeof COLUMN_GEOMETRY {\n const style = getComputedStyle(host);\n const length = (token: string, fallback: number): number => {\n const parsed = Number.parseFloat(style.getPropertyValue(token));\n\n // `>= 0`, so a token deliberately set to zero - no tick gutter, no label headroom - is kept\n // rather than silently replaced by the default.\n return Number.isFinite(parsed) && parsed >= 0 ? parsed : fallback;\n };\n\n return {\n plotHeight: length(\n '--_column-chart-plot-height',\n COLUMN_GEOMETRY.plotHeight,\n ),\n axisGutter: length(\n '--_column-chart-axis-width',\n COLUMN_GEOMETRY.axisGutter,\n ),\n valueSpace: length(\n '--_column-chart-value-space',\n COLUMN_GEOMETRY.valueSpace,\n ),\n // A share of the category's own slot, written as a percentage and used as a ratio.\n columnWidthRatio:\n length(\n '--_column-chart-column-width',\n COLUMN_GEOMETRY.columnWidthRatio * 100,\n ) / 100,\n };\n}\n\n@Component({\n selector: 'ds-column-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartComponent,\n ChartLegendComponent,\n ColumnSeriesComponent,\n ReferenceLabelComponent,\n ReferenceLineComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './column-chart.component.html',\n styleUrl: './column-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_column-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }],\n})\nexport class ColumnChartComponent {\n protected readonly renderReady = chartRenderGate();\n\n /** One column per point, drawn in the order given - or one NAMED SERIES per entry, where every\n * category carries a column from each. The two forms are told apart by their shape, so a chart\n * handed a flat list behaves exactly as it always has. */\n readonly data = input.required<\n readonly ColumnChartPoint[] | readonly ColumnChartSeries[]\n >();\n\n /** How several series share one category's band. `'none'`, the default, and `'grouped'` draw\n * them side by side - a chart of one series takes the whole band either way, so the two differ\n * only in spelling. `'stacked'` puts each series on top of the one before it, and\n * `'normalized'` stacks then divides by the category's total, so every band is full and the\n * axis reads in shares.\n *\n * Unrelated to `ds-line-chart`'s `axisMode=\"stacked\"`, which is two PLOTS one above the\n * other. */\n readonly stack = input<ChartStackMode>('none');\n\n /** Reference lines and bands drawn across the plot, behind the columns: a target, a budget, an\n * SLA. Each one opens the value axis far enough to hold it, so a target above every column is\n * still on the plot, and each is named in the generated description - a line only the sighted\n * reader gets is an annotation half the audience never receives. */\n readonly thresholds = input<readonly ChartThreshold[]>([]);\n\n /** Prints each column's value above the column. */\n readonly showValues = input(true, { transform: booleanAttribute });\n\n /** How many value-axis ticks to aim for. A hint, not a count: ticks are\n * snapped to a round step, so the axis may carry one more or one fewer. */\n readonly tickCount = input(5, { transform: numberAttribute });\n\n /** Whether the chart draws its own bordered, padded box. `'auto'`, the default, draws it;\n * `'none'` leaves the chart bare, for one placed inside a card the page has already drawn.\n * Unset falls back to `DS_CONFIG.chart.frame`, then `'auto'` — whether charts live inside cards\n * is one decision per app rather than per plot. */\n readonly frame = input<ChartFrame | null>(null);\n\n /** How long the tooltip stays after the pointer leaves the mark, in milliseconds. Zero, the\n * default, takes it away at once: a panel that outlives the pointer sits over the plot the\n * reader has moved on to.\n *\n * Raise it only for a panel a reader has to REACH — one carrying a link, a figure, or anything\n * selectable — which is WCAG 1.4.13's hoverable clause. The panel is portaled to the body, so\n * crossing the gap to it at an ordinary pointer speed needs about 140. Unset falls back to\n * `DS_CONFIG.chart.tooltipLingerMs`, then 0. */\n readonly tooltipLingerMs = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n /** Printed above the plot as the chart's visible title, and reused as the annex table's\n * caption. */\n readonly caption = input<string | null>(null);\n\n /** Accessible name. Generated from the data when omitted. */\n readonly summary = input<string | null>(null);\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so\n * `'none'` belongs only where the same data is already in a table on the page.\n * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Declares that the marks are parts of one whole, which is what makes a share of their total a\n * real quantity. Off by default: a chart of visitors per stage or revenue per month sums to a\n * number nobody can point at, and \"18.6% of total\" against it is arithmetic dressed as a fact.\n * On, each mark's share appears on the tooltip's second line and in the data table. */\n readonly partOfWhole = input(false, { transform: booleanAttribute });\n\n /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize\n * when the data lands. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Shown in place of the plot when `data` is empty. Unset falls back to\n * `DS_INTL.chart.empty`. */\n readonly emptyText = input<string | null>(null);\n\n /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,\n * because \"the request failed\" and \"there is nothing to show\" read the same to a reader and\n * mean opposite things. */\n readonly error = input(false, { transform: booleanAttribute });\n\n /** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */\n readonly errorText = input<string | null>(null);\n /** Formats every value the chart prints, the annex table and the generated description\n * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /\n * `LOCALE_ID`. */\n readonly valueFormat = input<ChartValueFormat | null>(null);\n\n private readonly defaults = resolveChartDefaults(this);\n protected readonly intl = inject(DS_INTL);\n readonly frameResolved = this.defaults.frame;\n readonly dataTableResolved = this.defaults.dataTable;\n readonly emptyTextResolved = this.defaults.emptyText;\n readonly errorTextResolved = this.defaults.errorText;\n readonly valueFormatResolved = this.defaults.valueFormat;\n\n /** Turns on the click affordance — the pointer cursor and any hover tint.\n * The click output fires whether or not this is set, so a consumer that\n * binds the output and forgets the flag still receives every click. */\n readonly interactive = input(false, { transform: booleanAttribute });\n\n /** The point that was clicked, or activated with Enter or Space. Fires whether or not\n * `interactive` is set. */\n readonly pointClicked = output<ColumnChartPoint>();\n\n /** Holds the clicked mark and its tooltip in place, with a pin disc on it, until a second click,\n * Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then\n * `true`. `pointClicked` fires either way - pinning is a state, not a handler. */\n readonly pinOnClick = input<boolean | null, unknown>(null, {\n transform: (value) => (value == null ? null : booleanAttribute(value)),\n });\n\n /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the\n * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed\n * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full\n * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark\n * and pays for it with the rest of the chart. */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one mark's entrance and the next. The steps narrow to fit the whole\n * spread within 260ms, so a long series does not crawl in.\n * `0` is no stagger. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n /** Whether a hovered or focused column opens a tooltip. `'axis'` is not offered — a\n * column chart's marks ARE its categories, so an axis tooltip would repeat the item one. */\n readonly tooltip = input<ChartItemTooltipTrigger>('item');\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip is pinned. `'mark'`, the default, is the column itself — a panel over the\n * reading it describes. `'cell'` is the full-height category cell, which puts the panel at the\n * top of the plot whatever the column's value. */\n readonly tooltipAnchor = input<'mark' | 'cell'>('mark');\n\n /** The value is printed ABOVE the column, so a panel anchored to the column alone opens on top\n * of that number. One text line of clearance puts it above both. */\n protected readonly valueClearance = computed(() =>\n this.showValues() ? 18 : 0,\n );\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n protected readonly geometry = signal(COLUMN_GEOMETRY);\n\n /** Every state occupies the box the plot would have, so nothing on the page moves when the data\n * lands or the request fails. */\n protected readonly viewHeightPx = computed(\n () =>\n `${chartViewHeight(this.geometry().plotHeight, this.geometry().valueSpace)}px`,\n );\n\n protected readonly skeletonHeightPx = computed(\n () => `${this.geometry().plotHeight}px`,\n );\n\n protected readonly seriesRefs = viewChildren(ColumnSeriesComponent);\n\n protected readonly pinnedSeries = computed(\n () =>\n this.seriesRefs().find((series) => series.activeMark.pinned()) ?? null,\n );\n\n protected readonly resolvedSeries = computed<readonly ResolvedColumnSeries[]>(\n () => {\n const given = this.data();\n if (!isSeriesList(given)) {\n return [\n { key: 'series', label: '', color: null, fill: null, points: given },\n ];\n }\n\n return given.map((series, index) => ({\n key: series.id,\n label: series.label,\n color:\n series.color ??\n CHART_SERIES_COLORS[index % CHART_SERIES_COLORS.length],\n fill: series.fill ?? null,\n points: series.data,\n }));\n },\n );\n\n /** Stacking collapses every series onto ONE slot, which is also why a stacked series is drawn\n * at slot 0 rather than at its own index - its segments sit on top of each other, not beside\n * them. */\n protected readonly slotCount = computed(() =>\n this.stack() === 'stacked' || this.stack() === 'normalized'\n ? 1\n : this.resolvedSeries().length,\n );\n\n private readonly offsets = computed(() =>\n stackOffsets(\n this.resolvedSeries().map((series) =>\n series.points.map((point) => point.value),\n ),\n this.stack(),\n ),\n );\n\n protected offsetsFor(index: number): readonly ChartStackOffset[] {\n return this.offsets()[index] ?? [];\n }\n\n /** The categories come from the LONGEST series: a series that stops early leaves the bands past\n * its end standing rather than taking them off the axis for every other series too. */\n protected readonly categories = computed(() =>\n this.resolvedSeries()\n .reduce<readonly ColumnChartPoint[]>(\n (longest, series) =>\n series.points.length > longest.length ? series.points : longest,\n [],\n )\n .map((point) => point.label),\n );\n\n protected readonly multiSeries = computed(\n () => this.resolvedSeries().length > 1,\n );\n\n /** The series named in the legend under the pointer, which fades the rest. */\n protected readonly highlightedSeries = signal<string | null>(null);\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((series) => ({\n id: series.key,\n label: series.label,\n color: series.color ?? '',\n })),\n );\n\n /** A normalized stack draws shares, not readings, so the axis has to say so - the value printed\n * beside each mark stays the reading, which is what `valueFormat` goes on formatting. */\n protected readonly axisFormat = computed<ChartValueFormat | null>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormat(),\n );\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n ...(this.multiSeries() ? [this.intl().chart.seriesColumn] : []),\n this.intl().chart.labelColumn,\n this.intl().chart.valueColumn,\n ...(this.partOfWhole() ? [this.intl().chart.shareColumn] : []),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.key,\n cells: [\n ...(this.multiSeries() ? [row.series] : []),\n row.label,\n row.formattedValue,\n ...(this.partOfWhole() ? [row.share] : []),\n ],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.resolvedSeries().flatMap((series) => {\n const values = series.points.map((point) => point.value);\n\n return series.points.map((point, index) => ({\n key: `${series.key}:${point.id ?? index}`,\n series: series.label,\n label: point.label,\n formattedValue: format(point.value, 'tooltip'),\n share: this.partOfWhole()\n ? shareOfTotal(values, index, this.defaults.locale)\n : '',\n }));\n });\n });\n\n protected readonly accessibleName = computed(\n () =>\n this.summary() ??\n this.resolvedSeries()\n .map((series, index) =>\n describeSeries(\n this.intl().chart,\n series.label || this.caption() || this.intl().chart.title,\n series.points.map((point) => ({\n label: point.label,\n value: point.value,\n })),\n (value) => this.valueFormatResolved()(value, 'tooltip'),\n this.dataTableResolved() !== 'none',\n // The reference lines belong to the plot, not to a series, so they are named once.\n index === 0 ? this.thresholds() : [],\n ),\n )\n .join(' '),\n );\n\n protected readonly isEmpty = computed(() => this.categories().length === 0);\n\n /** Placeholder columns while loading. Follows the real point count so the chart does not resize\n * when the data lands; falls back to three when `data` is still empty. */\n protected readonly skeletonColumns = computed(() =>\n Array.from({ length: Math.max(this.categories().length, 3) }),\n );\n\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef);\n afterNextRender(() =>\n this.geometry.set(readColumnGeometry(host.nativeElement)),\n );\n }\n}\n","<figure class=\"column-chart\">\n @if (pinnedSeries()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"pinnedSeries()?.activeMark?.release()\">\n {{ intl().chart.unpin }}\n </button>\n }\n\n @if (caption()) {\n <figcaption>\n {{ caption() }}\n </figcaption>\n }\n\n @if (error()) {\n <p\n class=\"empty is-error\"\n role=\"status\">\n {{ errorTextResolved() }}\n </p>\n } @else if (loading() || !renderReady()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonColumns(); track $index) {\n <ds-skeleton\n [shimmer]=\"loading()\"\n [height]=\"skeletonHeightPx()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"none\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [tooltipExtraGap]=\"valueClearance()\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [plotHeight]=\"geometry().plotHeight\"\n [axisGutter]=\"geometry().axisGutter\"\n [valueSpace]=\"geometry().valueSpace\">\n @if (thresholds().length) {\n <svg:g\n dsReferenceLine\n [thresholds]=\"thresholds()\" />\n }\n\n @for (\n series of resolvedSeries();\n track series.key;\n let seriesIndex = $index\n ) {\n <svg:g\n dsColumnSeries\n [data]=\"series.points\"\n [seriesKey]=\"series.key\"\n [highlighted]=\"highlightedSeries()\"\n [slot]=\"slotCount() > 1 ? seriesIndex : 0\"\n [slotCount]=\"slotCount()\"\n [offsets]=\"offsetsFor(seriesIndex)\"\n [seriesColor]=\"series.color\"\n [seriesFill]=\"series.fill\"\n [seriesLabel]=\"multiSeries() ? series.label : null\"\n [columnWidthRatio]=\"geometry().columnWidthRatio\"\n [showValues]=\"showValues()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [staggerMs]=\"staggerMs()\"\n [partOfWhole]=\"partOfWhole()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"tooltipAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"pointClicked.emit($event)\" />\n }\n\n @if (thresholds().length) {\n <svg:g\n dsReferenceLabel\n [thresholds]=\"thresholds()\" />\n }\n </ds-chart>\n\n @if (multiSeries()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAuEA,SAAS,YAAY,CACnB,IAAgE,EAAA;AAEhE,IAAA,OAAO,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC;AAC7C;AAEA;AAC0E;AAC1E,MAAM,eAAe,GAAG;AACtB,IAAA,UAAU,EAAE,GAAG;AACf,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,gBAAgB,EAAE,GAAG;CACtB;AAED;;;;;;;AAOiD;AACjD,SAAS,kBAAkB,CAAC,IAAiB,EAAA;AAC3C,IAAA,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC;AACpC,IAAA,MAAM,MAAM,GAAG,CAAC,KAAa,EAAE,QAAgB,KAAY;AACzD,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,gBAAgB,CAAC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AAA,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,qMA6ByB,qBAAqB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AElTpE;;AAEG;;;;"}
@@ -4,7 +4,7 @@ import { IconComponent } from '@ids-group-ltd/ids-design-system/icons';
4
4
  import { DS_INTL } from '@ids-group-ltd/ids-design-system/core';
5
5
 
6
6
  class DescriptionListComponent {
7
- /** horizontal = label column + value; stacked = label above value. */
7
+ /** horizontal = label column + value, every item stacking once a value would get less than --ds-description-list-value-min-width; stacked = label above value at every width. */
8
8
  orientation = input('horizontal', ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
9
9
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DescriptionListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
10
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: DescriptionListComponent, isStandalone: true, selector: "ds-description-list", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.stacked": "orientation() === 'stacked'" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{--_description-list-label-width: var(--ds-description-list-label-width, var(--dl-spec-label-w));--_description-list-row-gap: var(--ds-description-list-row-gap, var(--space-3));--_description-list-column-gap: var(--ds-description-list-column-gap, var(--space-5));display:flex;flex-direction:column;row-gap:var(--_description-list-row-gap)}\n"] });
@@ -35,14 +35,14 @@ class DescriptionItemComponent {
35
35
  setTimeout(() => this.copied.set(false), 1200);
36
36
  }
37
37
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DescriptionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: DescriptionItemComponent, isStandalone: true, selector: "ds-description-item", inputs: { term: { classPropertyName: "term", publicName: "term", isSignal: true, isRequired: false, transformFunction: null }, copyValue: { classPropertyName: "copyValue", publicName: "copyValue", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "class.stacked": "stacked()" } }, ngImport: i0, template: "<span\n class=\"term\"\n role=\"term\">\n {{ term() }}\n</span>\n\n<div\n class=\"details\"\n role=\"definition\">\n <span class=\"value\">\n <ng-content></ng-content>\n </span>\n\n @if (copyValue()) {\n <button\n type=\"button\"\n class=\"copy\"\n [attr.aria-label]=\"\n copied() ? intl().descriptionList.copied : intl().descriptionList.copy\n \"\n (click)=\"copy()\">\n <ds-icon\n [name]=\"copied() ? 'check' : 'copy'\"\n [size]=\"14\" />\n </button>\n }\n</div>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_description-item-term-color: var(--ds-description-item-term-color, var(--text-tertiary));--_description-item-term-font-size: var(--ds-description-item-term-font-size, var(--font-size-s));--_description-item-term-font-weight: var(--ds-description-item-term-font-weight, var(--font-weight-regular));--_description-item-term-letter-spacing: var(--ds-description-item-term-letter-spacing, normal);--_description-item-term-text-transform: var(--ds-description-item-term-text-transform, none);--_description-item-details-color: var(--ds-description-item-details-color, var(--text-primary));--_description-item-details-font-size: var(--ds-description-item-details-font-size, var(--font-size-s));--_description-item-details-font-weight: var(--ds-description-item-details-font-weight, var(--font-weight-regular));display:grid;grid-template-columns:minmax(0,var(--_description-list-label-width, var(--dl-spec-label-w))) minmax(0,1fr);column-gap:var(--_description-list-column-gap, var(--space-5));align-items:baseline}:host(.stacked){display:flex;flex-direction:column;gap:var(--space-0-5)}.term{color:var(--_description-item-term-color);font:var(--_description-item-term-font-weight) var(--_description-item-term-font-size)/var(--line-height-base) var(--font-sans);letter-spacing:var(--_description-item-term-letter-spacing);text-transform:var(--_description-item-term-text-transform)}.details{display:flex;align-items:center;gap:var(--space-2);min-width:0;color:var(--_description-item-details-color);font:var(--_description-item-details-font-weight) var(--_description-item-details-font-size)/var(--line-height-base) var(--font-sans)}.value{min-width:0;overflow-wrap:anywhere}.copy{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:var(--space-0-5);border:0;border-radius:var(--ds-radius-inner);background:transparent;color:var(--text-tertiary);cursor:pointer;opacity:0;transition:opacity var(--duration-fast) var(--ease-standard),background-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard)}.copy:hover{background:var(--surface-secondary);color:var(--text-primary)}.copy:active{background:var(--surface-muted)}.copy:focus-visible{opacity:1;outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}:host(:hover) .copy{opacity:1}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }] });
38
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: DescriptionItemComponent, isStandalone: true, selector: "ds-description-item", inputs: { term: { classPropertyName: "term", publicName: "term", isSignal: true, isRequired: false, transformFunction: null }, copyValue: { classPropertyName: "copyValue", publicName: "copyValue", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "class.stacked": "stacked()" } }, ngImport: i0, template: "<span\n class=\"term\"\n role=\"term\">\n {{ term() }}\n</span>\n\n<div\n class=\"details\"\n role=\"definition\">\n <span class=\"value\">\n <ng-content></ng-content>\n </span>\n\n @if (copyValue()) {\n <button\n type=\"button\"\n class=\"copy\"\n [attr.aria-label]=\"\n copied() ? intl().descriptionList.copied : intl().descriptionList.copy\n \"\n (click)=\"copy()\">\n <ds-icon\n [name]=\"copied() ? 'check' : 'copy'\"\n [size]=\"14\" />\n </button>\n }\n</div>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_description-item-term-color: var(--ds-description-item-term-color, var(--text-tertiary));--_description-item-term-font-size: var(--ds-description-item-term-font-size, var(--font-size-s));--_description-item-term-font-weight: var(--ds-description-item-term-font-weight, var(--font-weight-regular));--_description-item-term-letter-spacing: var(--ds-description-item-term-letter-spacing, normal);--_description-item-term-text-transform: var(--ds-description-item-term-text-transform, none);--_description-item-details-color: var(--ds-description-item-details-color, var(--text-primary));--_description-item-details-font-size: var(--ds-description-item-details-font-size, var(--font-size-s));--_description-item-details-font-weight: var(--ds-description-item-details-font-weight, var(--font-weight-regular));--_description-list-value-min-width: var(--ds-description-list-value-min-width, var(--dl-spec-value-min-w));display:flex;flex-wrap:wrap;gap:var(--space-0-5) var(--_description-list-column-gap, var(--space-5));align-items:baseline}.term{flex:0 0 var(--_description-list-label-width, var(--dl-spec-label-w));min-width:0;color:var(--_description-item-term-color);font:var(--_description-item-term-font-weight) var(--_description-item-term-font-size)/var(--line-height-base) var(--font-sans);letter-spacing:var(--_description-item-term-letter-spacing);text-transform:var(--_description-item-term-text-transform)}.details{flex:1 1 var(--_description-list-value-min-width);display:flex;align-items:center;gap:var(--space-2);min-width:0;color:var(--_description-item-details-color);font:var(--_description-item-details-font-weight) var(--_description-item-details-font-size)/var(--line-height-base) var(--font-sans)}.value{min-width:0;overflow-wrap:anywhere}.copy{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:var(--space-0-5);border:0;border-radius:var(--ds-radius-inner);background:transparent;color:var(--text-tertiary);cursor:pointer;opacity:0;transition:opacity var(--duration-fast) var(--ease-standard),background-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard)}.copy:hover{background:var(--surface-secondary);color:var(--text-primary)}.copy:active{background:var(--surface-muted)}.copy:focus-visible{opacity:1;outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}:host(.stacked) :is(.term,.details){flex-basis:100%}:host(:hover) .copy{opacity:1}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }] });
39
39
  }
40
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DescriptionItemComponent, decorators: [{
41
41
  type: Component,
42
42
  args: [{ selector: 'ds-description-item', standalone: true, imports: [IconComponent], encapsulation: ViewEncapsulation.Emulated, host: {
43
43
  role: 'group',
44
44
  '[class.stacked]': 'stacked()',
45
- }, template: "<span\n class=\"term\"\n role=\"term\">\n {{ term() }}\n</span>\n\n<div\n class=\"details\"\n role=\"definition\">\n <span class=\"value\">\n <ng-content></ng-content>\n </span>\n\n @if (copyValue()) {\n <button\n type=\"button\"\n class=\"copy\"\n [attr.aria-label]=\"\n copied() ? intl().descriptionList.copied : intl().descriptionList.copy\n \"\n (click)=\"copy()\">\n <ds-icon\n [name]=\"copied() ? 'check' : 'copy'\"\n [size]=\"14\" />\n </button>\n }\n</div>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_description-item-term-color: var(--ds-description-item-term-color, var(--text-tertiary));--_description-item-term-font-size: var(--ds-description-item-term-font-size, var(--font-size-s));--_description-item-term-font-weight: var(--ds-description-item-term-font-weight, var(--font-weight-regular));--_description-item-term-letter-spacing: var(--ds-description-item-term-letter-spacing, normal);--_description-item-term-text-transform: var(--ds-description-item-term-text-transform, none);--_description-item-details-color: var(--ds-description-item-details-color, var(--text-primary));--_description-item-details-font-size: var(--ds-description-item-details-font-size, var(--font-size-s));--_description-item-details-font-weight: var(--ds-description-item-details-font-weight, var(--font-weight-regular));display:grid;grid-template-columns:minmax(0,var(--_description-list-label-width, var(--dl-spec-label-w))) minmax(0,1fr);column-gap:var(--_description-list-column-gap, var(--space-5));align-items:baseline}:host(.stacked){display:flex;flex-direction:column;gap:var(--space-0-5)}.term{color:var(--_description-item-term-color);font:var(--_description-item-term-font-weight) var(--_description-item-term-font-size)/var(--line-height-base) var(--font-sans);letter-spacing:var(--_description-item-term-letter-spacing);text-transform:var(--_description-item-term-text-transform)}.details{display:flex;align-items:center;gap:var(--space-2);min-width:0;color:var(--_description-item-details-color);font:var(--_description-item-details-font-weight) var(--_description-item-details-font-size)/var(--line-height-base) var(--font-sans)}.value{min-width:0;overflow-wrap:anywhere}.copy{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:var(--space-0-5);border:0;border-radius:var(--ds-radius-inner);background:transparent;color:var(--text-tertiary);cursor:pointer;opacity:0;transition:opacity var(--duration-fast) var(--ease-standard),background-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard)}.copy:hover{background:var(--surface-secondary);color:var(--text-primary)}.copy:active{background:var(--surface-muted)}.copy:focus-visible{opacity:1;outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}:host(:hover) .copy{opacity:1}\n"] }]
45
+ }, template: "<span\n class=\"term\"\n role=\"term\">\n {{ term() }}\n</span>\n\n<div\n class=\"details\"\n role=\"definition\">\n <span class=\"value\">\n <ng-content></ng-content>\n </span>\n\n @if (copyValue()) {\n <button\n type=\"button\"\n class=\"copy\"\n [attr.aria-label]=\"\n copied() ? intl().descriptionList.copied : intl().descriptionList.copy\n \"\n (click)=\"copy()\">\n <ds-icon\n [name]=\"copied() ? 'check' : 'copy'\"\n [size]=\"14\" />\n </button>\n }\n</div>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_description-item-term-color: var(--ds-description-item-term-color, var(--text-tertiary));--_description-item-term-font-size: var(--ds-description-item-term-font-size, var(--font-size-s));--_description-item-term-font-weight: var(--ds-description-item-term-font-weight, var(--font-weight-regular));--_description-item-term-letter-spacing: var(--ds-description-item-term-letter-spacing, normal);--_description-item-term-text-transform: var(--ds-description-item-term-text-transform, none);--_description-item-details-color: var(--ds-description-item-details-color, var(--text-primary));--_description-item-details-font-size: var(--ds-description-item-details-font-size, var(--font-size-s));--_description-item-details-font-weight: var(--ds-description-item-details-font-weight, var(--font-weight-regular));--_description-list-value-min-width: var(--ds-description-list-value-min-width, var(--dl-spec-value-min-w));display:flex;flex-wrap:wrap;gap:var(--space-0-5) var(--_description-list-column-gap, var(--space-5));align-items:baseline}.term{flex:0 0 var(--_description-list-label-width, var(--dl-spec-label-w));min-width:0;color:var(--_description-item-term-color);font:var(--_description-item-term-font-weight) var(--_description-item-term-font-size)/var(--line-height-base) var(--font-sans);letter-spacing:var(--_description-item-term-letter-spacing);text-transform:var(--_description-item-term-text-transform)}.details{flex:1 1 var(--_description-list-value-min-width);display:flex;align-items:center;gap:var(--space-2);min-width:0;color:var(--_description-item-details-color);font:var(--_description-item-details-font-weight) var(--_description-item-details-font-size)/var(--line-height-base) var(--font-sans)}.value{min-width:0;overflow-wrap:anywhere}.copy{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:var(--space-0-5);border:0;border-radius:var(--ds-radius-inner);background:transparent;color:var(--text-tertiary);cursor:pointer;opacity:0;transition:opacity var(--duration-fast) var(--ease-standard),background-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard)}.copy:hover{background:var(--surface-secondary);color:var(--text-primary)}.copy:active{background:var(--surface-muted)}.copy:focus-visible{opacity:1;outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}:host(.stacked) :is(.term,.details){flex-basis:100%}:host(:hover) .copy{opacity:1}\n"] }]
46
46
  }], propDecorators: { term: [{ type: i0.Input, args: [{ isSignal: true, alias: "term", required: false }] }], copyValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "copyValue", required: false }] }] } });
47
47
 
48
48
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-description-list.mjs","sources":["../../../src/lib/components/description-list/description-list.component.ts","../../../src/lib/components/description-list/description-list.component.html","../../../src/lib/components/description-list/description-item.component.ts","../../../src/lib/components/description-list/description-item.component.html","../../../src/lib/components/description-list/ids-group-ltd-ids-design-system-components-description-list.ts"],"sourcesContent":["import { Component, ViewEncapsulation, input } from '@angular/core';\n\nexport type DescriptionListOrientation = 'horizontal' | 'stacked';\n\n@Component({\n selector: 'ds-description-list',\n standalone: true,\n templateUrl: './description-list.component.html',\n styleUrl: './description-list.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[class.stacked]': \"orientation() === 'stacked'\",\n },\n})\nexport class DescriptionListComponent {\n /** horizontal = label column + value; stacked = label above value. */\n readonly orientation = input<DescriptionListOrientation>('horizontal');\n}\n","<ng-content></ng-content>\n","import {\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n signal,\n} from '@angular/core';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport { DescriptionListComponent } from './description-list.component';\n\n@Component({\n selector: 'ds-description-item',\n standalone: true,\n imports: [IconComponent],\n templateUrl: './description-item.component.html',\n styleUrl: './description-item.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'group',\n '[class.stacked]': 'stacked()',\n },\n})\nexport class DescriptionItemComponent {\n private readonly list = inject(DescriptionListComponent, { optional: true });\n protected readonly intl = inject(DS_INTL);\n\n /** The label. Plain text; rich values go in the projected content. */\n readonly term = input<string>('');\n /** When set, a copy button appears that copies this string to the clipboard. */\n readonly copyValue = input<string | null>(null);\n\n protected readonly stacked = computed(\n () => this.list?.orientation() === 'stacked',\n );\n protected readonly copied = signal(false);\n\n protected async copy(): Promise<void> {\n const value = this.copyValue();\n if (!value) {\n return;\n }\n await navigator.clipboard?.writeText(value);\n this.copied.set(true);\n setTimeout(() => this.copied.set(false), 1200);\n }\n}\n","<span\n class=\"term\"\n role=\"term\">\n {{ term() }}\n</span>\n\n<div\n class=\"details\"\n role=\"definition\">\n <span class=\"value\">\n <ng-content></ng-content>\n </span>\n\n @if (copyValue()) {\n <button\n type=\"button\"\n class=\"copy\"\n [attr.aria-label]=\"\n copied() ? intl().descriptionList.copied : intl().descriptionList.copy\n \"\n (click)=\"copy()\">\n <ds-icon\n [name]=\"copied() ? 'check' : 'copy'\"\n [size]=\"14\" />\n </button>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAca,wBAAwB,CAAA;;AAE1B,IAAA,WAAW,GAAG,KAAK,CAA6B,YAAY,kFAAC;wGAF3D,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,E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","sources":["../../../src/lib/components/description-list/description-list.component.ts","../../../src/lib/components/description-list/description-list.component.html","../../../src/lib/components/description-list/description-item.component.ts","../../../src/lib/components/description-list/description-item.component.html","../../../src/lib/components/description-list/ids-group-ltd-ids-design-system-components-description-list.ts"],"sourcesContent":["import { Component, ViewEncapsulation, input } from '@angular/core';\n\nexport type DescriptionListOrientation = 'horizontal' | 'stacked';\n\n@Component({\n selector: 'ds-description-list',\n standalone: true,\n templateUrl: './description-list.component.html',\n styleUrl: './description-list.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[class.stacked]': \"orientation() === 'stacked'\",\n },\n})\nexport class DescriptionListComponent {\n /** horizontal = label column + value, every item stacking once a value would get less than --ds-description-list-value-min-width; stacked = label above value at every width. */\n readonly orientation = input<DescriptionListOrientation>('horizontal');\n}\n","<ng-content></ng-content>\n","import {\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n signal,\n} from '@angular/core';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport { DescriptionListComponent } from './description-list.component';\n\n@Component({\n selector: 'ds-description-item',\n standalone: true,\n imports: [IconComponent],\n templateUrl: './description-item.component.html',\n styleUrl: './description-item.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'group',\n '[class.stacked]': 'stacked()',\n },\n})\nexport class DescriptionItemComponent {\n private readonly list = inject(DescriptionListComponent, { optional: true });\n protected readonly intl = inject(DS_INTL);\n\n /** The label. Plain text; rich values go in the projected content. */\n readonly term = input<string>('');\n /** When set, a copy button appears that copies this string to the clipboard. */\n readonly copyValue = input<string | null>(null);\n\n protected readonly stacked = computed(\n () => this.list?.orientation() === 'stacked',\n );\n protected readonly copied = signal(false);\n\n protected async copy(): Promise<void> {\n const value = this.copyValue();\n if (!value) {\n return;\n }\n await navigator.clipboard?.writeText(value);\n this.copied.set(true);\n setTimeout(() => this.copied.set(false), 1200);\n }\n}\n","<span\n class=\"term\"\n role=\"term\">\n {{ term() }}\n</span>\n\n<div\n class=\"details\"\n role=\"definition\">\n <span class=\"value\">\n <ng-content></ng-content>\n </span>\n\n @if (copyValue()) {\n <button\n type=\"button\"\n class=\"copy\"\n [attr.aria-label]=\"\n copied() ? intl().descriptionList.copied : intl().descriptionList.copy\n \"\n (click)=\"copy()\">\n <ds-icon\n [name]=\"copied() ? 'check' : 'copy'\"\n [size]=\"14\" />\n </button>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAca,wBAAwB,CAAA;;AAE1B,IAAA,WAAW,GAAG,KAAK,CAA6B,YAAY,kFAAC;wGAF3D,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,+SCdrC,6BACA,EAAA,MAAA,EAAA,CAAA,4VAAA,CAAA,EAAA,CAAA;;4FDaa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAVpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,cACnB,IAAI,EAAA,aAAA,EAGD,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,iBAAiB,EAAE,6BAA6B;AACjD,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,4VAAA,CAAA,EAAA;;;MEYU,wBAAwB,CAAA;IAClB,IAAI,GAAG,MAAM,CAAC,wBAAwB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACzD,IAAA,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;;AAGhC,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,2EAAC;;A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