@ids-group-ltd/ids-design-system 0.14.0 → 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.
- package/CHANGELOG.md +573 -4
- package/components.md +103 -62
- package/design-system.md +2 -0
- package/docs/agent/INDEX.md +5 -4
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +4 -3
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +3 -3
- package/docs/agent/charts/ds-config.md +3 -1
- package/docs/agent/charts/ds-funnel-chart.md +3 -3
- package/docs/agent/charts/ds-heatmap-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +5 -4
- package/docs/agent/charts/ds-scatter-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-badge.md +1 -1
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-description-list.md +3 -0
- package/docs/agent/feedback/ds-skeleton.md +2 -2
- package/docs/agent/feedback/ds-tag.md +1 -1
- package/docs/agent/forms/ds-autocomplete.md +2 -2
- package/docs/agent/forms/ds-button.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +2 -2
- package/docs/agent/forms/ds-filter-bar.md +1 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +2 -2
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-search.md +2 -2
- package/docs/agent/forms/ds-split-button.md +1 -1
- package/docs/agent/forms/ds-textarea.md +2 -2
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-app-layout.md +2 -2
- package/docs/agent/navigation/ds-auth-layout.md +4 -4
- package/docs/agent/navigation/ds-page-header.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +1 -1
- package/docs/agent/navigation/ds-tabs.md +1 -0
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/platform/ds-config.md +2 -3
- package/docs/agent/platform/ds-intl.md +33 -0
- package/docs/agent/surfaces/ds-accordion.md +2 -2
- package/docs/agent/tables/ds-table.md +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +9 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +21 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +9 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +8 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +15 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +5 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +12 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +21 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +53 -30
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +7 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +20 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +198 -44
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +248 -142
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -25
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +16 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +12 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +13 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +64 -43
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +56 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +32 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +26 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +17 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +13 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +15 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +12 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +62 -25
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +49 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +20 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +6 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +16 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +48 -22
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +68 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +9 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +63 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +12 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +8 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +78 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +36 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +355 -81
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +362 -3
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +1 -1
- package/migrations/0.10.1.json +1 -1
- package/migrations/0.14.0.json +28 -4
- package/migrations/0.14.1.json +856 -0
- package/migrations/0.14.2.json +427 -0
- package/package.json +1 -1
- package/schematics/check-overrides/index.cjs +56 -0
- package/schematics/check-overrides/scan.cjs +74 -0
- package/schematics/check-overrides/schema.json +19 -0
- package/schematics/check-overrides/surface.json +2333 -0
- package/schematics/collection.json +5 -0
- package/styles/_chart-frame.scss +34 -12
- package/styles/_chart-interactive.scss +43 -9
- package/styles/_chart-motion.scss +139 -16
- package/styles/_field-box.scss +12 -0
- package/styles/_overlay-motion.scss +12 -4
- package/styles/_tokens-charts.scss +1 -1
- package/styles/_tokens.scss +19 -4
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +11 -2
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +5 -5
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +7 -4
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +41 -19
- package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +8 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +34 -6
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +189 -121
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -3
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +9 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +34 -20
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +36 -7
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +21 -18
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +11 -6
- package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +41 -17
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +28 -7
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +7 -3
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +6 -4
- package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +15 -6
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +15 -2
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +24 -4
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +10 -1
- package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +18 -7
- package/types/ids-group-ltd-ids-design-system-components.d.ts +75 -25
- package/types/ids-group-ltd-ids-design-system-core.d.ts +421 -11
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, input, numberAttribute, computed, ChangeDetectionStrategy, ViewEncapsulation, Component, booleanAttribute, output } from '@angular/core';
|
|
3
|
-
import { CHART_SCALES,
|
|
2
|
+
import { inject, input, numberAttribute, computed, ChangeDetectionStrategy, ViewEncapsulation, Component, booleanAttribute, viewChild, output } from '@angular/core';
|
|
3
|
+
import { CHART_SCALES, ColumnSeriesComponent, ChartComponent } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
4
4
|
import { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';
|
|
5
|
+
import { DS_INTL } from '@ids-group-ltd/ids-design-system/core';
|
|
6
|
+
import { staggerDelay, chartRenderGate, resolveChartDefaults, CHART_RENDER_GATE_PASSED } from '@ids-group-ltd/ids-design-system/components';
|
|
5
7
|
import { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
|
-
import { resolveChartDefaults } from '@ids-group-ltd/ids-design-system/components';
|
|
7
8
|
|
|
8
9
|
/** Where each bar spans, walking the running sum from zero.
|
|
9
10
|
*
|
|
@@ -54,6 +55,8 @@ class WaterfallMarksComponent {
|
|
|
54
55
|
valueFormat = input((value) => String(value), ...(ngDevMode ? [{ debugName: "valueFormat" }] : /* istanbul ignore next */ []));
|
|
55
56
|
/** The share of a category's band the bars take, so the connector starts where the bar ends. */
|
|
56
57
|
columnWidthRatio = input(0.8, { ...(ngDevMode ? { debugName: "columnWidthRatio" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
58
|
+
/** The bars' own `staggerMs`, so each label and rule waits for the bar it belongs to. */
|
|
59
|
+
staggerMs = input(40, { ...(ngDevMode ? { debugName: "staggerMs" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
57
60
|
markWidth = computed(() => this.scales.bandWidth() * this.columnWidthRatio(), ...(ngDevMode ? [{ debugName: "markWidth" }] : /* istanbul ignore next */ []));
|
|
58
61
|
/** One rule per gap between two bars, drawn at the level they share - the level the left bar
|
|
59
62
|
* ended on. Without it the bars read as five separate columns instead of one chain. */
|
|
@@ -67,6 +70,7 @@ class WaterfallMarksComponent {
|
|
|
67
70
|
x1: toX(index) + half,
|
|
68
71
|
x2: toX(index + 1) - half,
|
|
69
72
|
y: toY(step.to),
|
|
73
|
+
stagger: this.barStagger(index + 1),
|
|
70
74
|
}));
|
|
71
75
|
}, ...(ngDevMode ? [{ debugName: "connectors" }] : /* istanbul ignore next */ []));
|
|
72
76
|
labels = computed(() => {
|
|
@@ -83,16 +87,20 @@ class WaterfallMarksComponent {
|
|
|
83
87
|
x: toX(index),
|
|
84
88
|
y: tip - VALUE_LABEL_GAP,
|
|
85
89
|
text: `${sign}${format(reading, 'tooltip')}`,
|
|
90
|
+
stagger: this.barStagger(index),
|
|
86
91
|
};
|
|
87
92
|
});
|
|
88
93
|
}, ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
|
|
94
|
+
barStagger(index) {
|
|
95
|
+
return `${staggerDelay(index, this.steps().length, this.staggerMs())}ms`;
|
|
96
|
+
}
|
|
89
97
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: WaterfallMarksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: WaterfallMarksComponent, isStandalone: true, selector: "g[dsWaterfallMarks]", inputs: { steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: false, transformFunction: null }, labelValues: { classPropertyName: "labelValues", publicName: "labelValues", isSignal: true, isRequired: false, transformFunction: null }, showValues: { classPropertyName: "showValues", publicName: "showValues", isSignal: true, isRequired: false, transformFunction: null }, showConnectors: { classPropertyName: "showConnectors", publicName: "showConnectors", isSignal: true, isRequired: false, transformFunction: null }, valueFormat: { classPropertyName: "valueFormat", publicName: "valueFormat", isSignal: true, isRequired: false, transformFunction: null }, columnWidthRatio: { classPropertyName: "columnWidthRatio", publicName: "columnWidthRatio", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<svg:g\n class=\"waterfall-marks\"\n aria-hidden=\"true\">\n @if (showConnectors()) {\n @for (connector of connectors(); track connector.key) {\n <svg:line\n class=\"connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\" />\n }\n }\n\n @if (showValues()) {\n @for (label of labels(); track label.key) {\n <svg:text\n class=\"value\"\n text-anchor=\"middle\"\n [attr.x]=\"label.x\"\n [attr.y]=\"label.y\">\n {{ label.text }}\n </svg:text>\n }\n }\n</svg:g>\n", styles: [".connector{stroke:var(--_waterfall-chart-connector-color);stroke-width:1;stroke-dasharray:3 3}.value{fill:currentcolor;font-size:var(--font-size-xs);font-weight:700;pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
98
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: WaterfallMarksComponent, isStandalone: true, selector: "g[dsWaterfallMarks]", inputs: { steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: false, transformFunction: null }, labelValues: { classPropertyName: "labelValues", publicName: "labelValues", isSignal: true, isRequired: false, transformFunction: null }, showValues: { classPropertyName: "showValues", publicName: "showValues", isSignal: true, isRequired: false, transformFunction: null }, showConnectors: { classPropertyName: "showConnectors", publicName: "showConnectors", isSignal: true, isRequired: false, transformFunction: null }, valueFormat: { classPropertyName: "valueFormat", publicName: "valueFormat", isSignal: true, isRequired: false, transformFunction: null }, columnWidthRatio: { classPropertyName: "columnWidthRatio", publicName: "columnWidthRatio", isSignal: true, isRequired: false, transformFunction: null }, staggerMs: { classPropertyName: "staggerMs", publicName: "staggerMs", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<svg:g\n class=\"waterfall-marks\"\n aria-hidden=\"true\">\n @if (showConnectors()) {\n @for (connector of connectors(); track connector.key) {\n <svg:line\n class=\"connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\"\n [style.--_chart-mark-stagger]=\"connector.stagger\" />\n }\n }\n\n @if (showValues()) {\n @for (label of labels(); track label.key) {\n <svg:text\n class=\"value\"\n text-anchor=\"middle\"\n [attr.x]=\"label.x\"\n [attr.y]=\"label.y\"\n [style.--_chart-mark-stagger]=\"label.stagger\">\n {{ label.text }}\n </svg:text>\n }\n }\n</svg:g>\n", styles: ["@keyframes ds-chart-mark-grow-y{0%{transform:scaleY(0)}}@keyframes ds-chart-mark-grow-x{0%{transform:scaleX(0)}}@keyframes ds-chart-mark-fade-in{0%{opacity:0}}@keyframes ds-chart-mark-rise{0%{opacity:0;transform:translateY(var(--_chart-rise-distance, 4px))}}@keyframes ds-chart-mark-settle{0%{opacity:0;transform:scale(.96)}}@keyframes ds-chart-ring-sweep{0%{opacity:0;transform:rotate(-30deg) scale(.96)}}@keyframes ds-chart-line-draw{0%{stroke-dashoffset:1}}@keyframes ds-chart-mark-exit{to{opacity:0}}.connector{animation:ds-chart-mark-fade-in var(--ds-motion-chart-mark-enter-duration) var(--ds-motion-chart-mark-enter-easing) calc(var(--ds-motion-chart-mark-exit-duration) + var(--ds-motion-chart-mark-grow-duration) + var(--_chart-mark-stagger, 0ms)) backwards}@media(prefers-reduced-motion:reduce){.connector{animation-delay:0ms}}.connector.mark-leave{animation:ds-chart-mark-exit var(--ds-motion-chart-mark-exit-duration) var(--ds-motion-chart-mark-exit-easing) both}.value{animation:ds-chart-mark-rise var(--ds-motion-chart-mark-detail-duration) var(--ds-motion-chart-mark-enter-easing) calc(var(--ds-motion-chart-mark-exit-duration) + var(--ds-motion-chart-mark-grow-duration) + var(--_chart-mark-stagger, 0ms)) backwards}@media(prefers-reduced-motion:reduce){.value{animation-delay:0ms}}.connector{stroke:var(--_waterfall-chart-connector-color);stroke-width:1;stroke-dasharray:3 3}.value{fill:currentcolor;font-size:var(--font-size-xs);font-weight:700;pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
91
99
|
}
|
|
92
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: WaterfallMarksComponent, decorators: [{
|
|
93
101
|
type: Component,
|
|
94
|
-
args: [{ selector: 'g[dsWaterfallMarks]', standalone: true, encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg:g\n class=\"waterfall-marks\"\n aria-hidden=\"true\">\n @if (showConnectors()) {\n @for (connector of connectors(); track connector.key) {\n <svg:line\n class=\"connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\" />\n }\n }\n\n @if (showValues()) {\n @for (label of labels(); track label.key) {\n <svg:text\n class=\"value\"\n text-anchor=\"middle\"\n [attr.x]=\"label.x\"\n [attr.y]=\"label.y\">\n {{ label.text }}\n </svg:text>\n }\n }\n</svg:g>\n", styles: [".connector{stroke:var(--_waterfall-chart-connector-color);stroke-width:1;stroke-dasharray:3 3}.value{fill:currentcolor;font-size:var(--font-size-xs);font-weight:700;pointer-events:none}\n"] }]
|
|
95
|
-
}], propDecorators: { steps: [{ type: i0.Input, args: [{ isSignal: true, alias: "steps", required: false }] }], labelValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelValues", required: false }] }], showValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValues", required: false }] }], showConnectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "showConnectors", required: false }] }], valueFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormat", required: false }] }], columnWidthRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnWidthRatio", required: false }] }] } });
|
|
102
|
+
args: [{ selector: 'g[dsWaterfallMarks]', standalone: true, encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg:g\n class=\"waterfall-marks\"\n aria-hidden=\"true\">\n @if (showConnectors()) {\n @for (connector of connectors(); track connector.key) {\n <svg:line\n class=\"connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\"\n [style.--_chart-mark-stagger]=\"connector.stagger\" />\n }\n }\n\n @if (showValues()) {\n @for (label of labels(); track label.key) {\n <svg:text\n class=\"value\"\n text-anchor=\"middle\"\n [attr.x]=\"label.x\"\n [attr.y]=\"label.y\"\n [style.--_chart-mark-stagger]=\"label.stagger\">\n {{ label.text }}\n </svg:text>\n }\n }\n</svg:g>\n", styles: ["@keyframes ds-chart-mark-grow-y{0%{transform:scaleY(0)}}@keyframes ds-chart-mark-grow-x{0%{transform:scaleX(0)}}@keyframes ds-chart-mark-fade-in{0%{opacity:0}}@keyframes ds-chart-mark-rise{0%{opacity:0;transform:translateY(var(--_chart-rise-distance, 4px))}}@keyframes ds-chart-mark-settle{0%{opacity:0;transform:scale(.96)}}@keyframes ds-chart-ring-sweep{0%{opacity:0;transform:rotate(-30deg) scale(.96)}}@keyframes ds-chart-line-draw{0%{stroke-dashoffset:1}}@keyframes ds-chart-mark-exit{to{opacity:0}}.connector{animation:ds-chart-mark-fade-in var(--ds-motion-chart-mark-enter-duration) var(--ds-motion-chart-mark-enter-easing) calc(var(--ds-motion-chart-mark-exit-duration) + var(--ds-motion-chart-mark-grow-duration) + var(--_chart-mark-stagger, 0ms)) backwards}@media(prefers-reduced-motion:reduce){.connector{animation-delay:0ms}}.connector.mark-leave{animation:ds-chart-mark-exit var(--ds-motion-chart-mark-exit-duration) var(--ds-motion-chart-mark-exit-easing) both}.value{animation:ds-chart-mark-rise var(--ds-motion-chart-mark-detail-duration) var(--ds-motion-chart-mark-enter-easing) calc(var(--ds-motion-chart-mark-exit-duration) + var(--ds-motion-chart-mark-grow-duration) + var(--_chart-mark-stagger, 0ms)) backwards}@media(prefers-reduced-motion:reduce){.value{animation-delay:0ms}}.connector{stroke:var(--_waterfall-chart-connector-color);stroke-width:1;stroke-dasharray:3 3}.value{fill:currentcolor;font-size:var(--font-size-xs);font-weight:700;pointer-events:none}\n"] }]
|
|
103
|
+
}], propDecorators: { steps: [{ type: i0.Input, args: [{ isSignal: true, alias: "steps", required: false }] }], labelValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelValues", required: false }] }], showValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValues", required: false }] }], showConnectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "showConnectors", required: false }] }], valueFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormat", required: false }] }], columnWidthRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnWidthRatio", required: false }] }], staggerMs: [{ type: i0.Input, args: [{ isSignal: true, alias: "staggerMs", required: false }] }] } });
|
|
96
104
|
|
|
97
105
|
/** What each direction is painted with. A total is the neutral series colour because it is not a
|
|
98
106
|
* change at all, and reading it as one is the mistake the three-colour scheme exists to prevent. */
|
|
@@ -101,11 +109,6 @@ const DIRECTION_COLORS = {
|
|
|
101
109
|
decrease: 'var(--ds-chart-negative-color)',
|
|
102
110
|
total: 'var(--ds-chart-series-default-color)',
|
|
103
111
|
};
|
|
104
|
-
const DIRECTION_WORDS = {
|
|
105
|
-
increase: 'increase',
|
|
106
|
-
decrease: 'decrease',
|
|
107
|
-
total: 'total',
|
|
108
|
-
};
|
|
109
112
|
/**
|
|
110
113
|
* A running total, bar by bar: what a figure started at, what moved it, and what it ended at.
|
|
111
114
|
*
|
|
@@ -115,6 +118,7 @@ const DIRECTION_WORDS = {
|
|
|
115
118
|
* every bar's accessible name says "increase" or "decrease" in words.
|
|
116
119
|
*/
|
|
117
120
|
class WaterfallChartComponent {
|
|
121
|
+
renderReady = chartRenderGate();
|
|
118
122
|
/** The bars in the order they are read, which is the order they happened in - a waterfall is
|
|
119
123
|
* never sorted, because the sequence is the meaning. */
|
|
120
124
|
data = input([], ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
@@ -145,17 +149,27 @@ class WaterfallChartComponent {
|
|
|
145
149
|
* same and mean opposite things. */
|
|
146
150
|
error = input(false, { ...(ngDevMode ? { debugName: "error" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
147
151
|
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
148
|
-
* `
|
|
152
|
+
* `DS_INTL.chart.empty`. */
|
|
149
153
|
emptyText = input(null, ...(ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []));
|
|
150
154
|
/** Shown in place of the plot while `error` is set. Unset falls back to
|
|
151
|
-
* `
|
|
155
|
+
* `DS_INTL.chart.error`. */
|
|
152
156
|
errorText = input(null, ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
|
|
153
157
|
/** Formats every value the chart prints - the axis ticks, the bar labels and the annex table.
|
|
154
158
|
* The sign a delta carries is added around it, so a formatter never has to know about one. */
|
|
155
159
|
valueFormat = input(null, ...(ngDevMode ? [{ debugName: "valueFormat" }] : /* istanbul ignore next */ []));
|
|
160
|
+
/** Holds the clicked step and its tooltip in place, with a pin disc on it, until a second click,
|
|
161
|
+
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
162
|
+
* `true`. `barClicked` fires either way - pinning is a state, not a handler. */
|
|
163
|
+
pinOnClick = input(null, { ...(ngDevMode ? { debugName: "pinOnClick" } : /* istanbul ignore next */ {}), transform: (value) => (value == null ? null : booleanAttribute(value)) });
|
|
164
|
+
/** Milliseconds between one step's entrance and the next; a long waterfall narrows the step to
|
|
165
|
+
* arrive within 260ms. `0` is no stagger. */
|
|
166
|
+
staggerMs = input(40, { ...(ngDevMode ? { debugName: "staggerMs" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
167
|
+
series = viewChild(ColumnSeriesComponent, ...(ngDevMode ? [{ debugName: "series" }] : /* istanbul ignore next */ []));
|
|
168
|
+
pinned = computed(() => this.series()?.activeMark.pinned() ?? false, ...(ngDevMode ? [{ debugName: "pinned" }] : /* istanbul ignore next */ []));
|
|
156
169
|
/** The clicked datum, as it was given. Fires on click and on Enter or Space. */
|
|
157
170
|
barClicked = output();
|
|
158
171
|
defaults = resolveChartDefaults(this);
|
|
172
|
+
intl = inject(DS_INTL);
|
|
159
173
|
frameResolved = this.defaults.frame;
|
|
160
174
|
dataTableResolved = this.defaults.dataTable;
|
|
161
175
|
emptyTextResolved = this.defaults.emptyText;
|
|
@@ -179,7 +193,7 @@ class WaterfallChartComponent {
|
|
|
179
193
|
id: datum?.id ?? String(index),
|
|
180
194
|
// The word is what carries the meaning where colour cannot - forced colours, a monochrome
|
|
181
195
|
// print, a reader who cannot tell the two hues apart, and every screen reader.
|
|
182
|
-
label: `${step.label}, ${
|
|
196
|
+
label: `${step.label}, ${this.intl().chart[step.direction]} ${sign}${format(reading, 'tooltip')}`,
|
|
183
197
|
value: reading,
|
|
184
198
|
color: DIRECTION_COLORS[step.direction],
|
|
185
199
|
};
|
|
@@ -190,16 +204,17 @@ class WaterfallChartComponent {
|
|
|
190
204
|
if (given) {
|
|
191
205
|
return given;
|
|
192
206
|
}
|
|
207
|
+
const words = this.intl().chart;
|
|
193
208
|
const steps = this.steps();
|
|
194
209
|
if (steps.length === 0) {
|
|
195
|
-
return this.caption() ??
|
|
210
|
+
return this.caption() ?? words.waterfallTitle;
|
|
196
211
|
}
|
|
197
212
|
const format = this.valueFormatResolved();
|
|
198
213
|
const last = steps[steps.length - 1];
|
|
199
214
|
const spoken = steps
|
|
200
|
-
.map((step, index) => `${step.label} ${
|
|
215
|
+
.map((step, index) => `${step.label} ${words[step.direction]} ${format(this.labelValues()[index], 'tooltip')}`)
|
|
201
216
|
.join(', ');
|
|
202
|
-
return `${this.caption() ??
|
|
217
|
+
return `${this.caption() ?? words.waterfallCaption}: ${spoken}. ${words.endsAt(format(last.to, 'tooltip'))}`;
|
|
203
218
|
}, ...(ngDevMode ? [{ debugName: "accessibleName" }] : /* istanbul ignore next */ []));
|
|
204
219
|
dataTableRows = computed(() => this.tableRows().map((row) => ({
|
|
205
220
|
key: row.key,
|
|
@@ -216,7 +231,7 @@ class WaterfallChartComponent {
|
|
|
216
231
|
return this.steps().map((step, index) => ({
|
|
217
232
|
key: `${index}-${step.label}`,
|
|
218
233
|
label: step.label,
|
|
219
|
-
direction:
|
|
234
|
+
direction: this.intl().chart[step.direction],
|
|
220
235
|
formattedValue: format(values[index], 'tooltip'),
|
|
221
236
|
formattedRunningTotal: format(step.to, 'tooltip'),
|
|
222
237
|
}));
|
|
@@ -229,7 +244,7 @@ class WaterfallChartComponent {
|
|
|
229
244
|
}
|
|
230
245
|
}
|
|
231
246
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: WaterfallChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
232
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: WaterfallChartComponent, isStandalone: true, selector: "ds-waterfall-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, showValues: { classPropertyName: "showValues", publicName: "showValues", isSignal: true, isRequired: false, transformFunction: null }, showConnectors: { classPropertyName: "showConnectors", publicName: "showConnectors", 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 }, tickCount: { classPropertyName: "tickCount", publicName: "tickCount", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, frame: { classPropertyName: "frame", publicName: "frame", isSignal: true, isRequired: false, transformFunction: null }, dataTable: { classPropertyName: "dataTable", publicName: "dataTable", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", 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 } }, outputs: { barClicked: "barClicked" }, host: { properties: { "class.framed": "frameResolved() === 'auto'" } }, exportAs: ["dsWaterfallChart"], ngImport: i0, template: "<figure class=\"waterfall-chart\">\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()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonBars(); track $index) {\n <ds-skeleton height=\"var(--_waterfall-chart-skeleton-height)\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"valueFormatResolved()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\">\n <svg:g\n dsWaterfallMarks\n [steps]=\"steps()\"\n [labelValues]=\"labelValues()\"\n [showValues]=\"showValues()\"\n [showConnectors]=\"showConnectors()\"\n [valueFormat]=\"valueFormatResolved()\" />\n\n <svg:g\n dsColumnSeries\n showValues=\"false\"\n [data]=\"points()\"\n [offsets]=\"offsets()\"\n [interactive]=\"interactive()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n </ds-chart>\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"['Step', 'Direction', 'Value', 'Running total']\"\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)}.waterfall-chart{--_waterfall-chart-connector-color: var(--ds-waterfall-chart-connector-color, var(--ds-chart-axis-line-color));--_waterfall-chart-skeleton-height: var(--ds-waterfall-chart-skeleton-height, 40px);margin:0}.empty{display:grid;place-items:center;min-block-size:240px;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;gap:var(--space-2)}\n"], dependencies: [{ 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: ColumnSeriesComponent, selector: "g[dsColumnSeries]", inputs: ["data", "showValues", "interactive", "pinOnClick", "dimOthers", "staggerMs", "partOfWhole", "tooltip", "tooltipAnchor", "tooltipLingerMs", "valueFormat", "columnWidthRatio", "slot", "slotCount", "offsets", "seriesColor", "seriesFill", "seriesLabel", "seriesKey", "highlighted"], outputs: ["pointClicked"], exportAs: ["dsColumnSeries"] }, { kind: "component", type: SkeletonComponent, selector: "ds-skeleton", inputs: ["width", "height", "circle", "inline"] }, { kind: "component", type: WaterfallMarksComponent, selector: "g[dsWaterfallMarks]", inputs: ["steps", "labelValues", "showValues", "showConnectors", "valueFormat", "columnWidthRatio"] }, { kind: "component", type: ChartDataTableComponent, selector: "ds-chart-data-table", inputs: ["columns", "rows", "caption", "open", "rowHeader"], outputs: ["toggled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
247
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: WaterfallChartComponent, isStandalone: true, selector: "ds-waterfall-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, showValues: { classPropertyName: "showValues", publicName: "showValues", isSignal: true, isRequired: false, transformFunction: null }, showConnectors: { classPropertyName: "showConnectors", publicName: "showConnectors", 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 }, tickCount: { classPropertyName: "tickCount", publicName: "tickCount", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, frame: { classPropertyName: "frame", publicName: "frame", isSignal: true, isRequired: false, transformFunction: null }, dataTable: { classPropertyName: "dataTable", publicName: "dataTable", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", 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 }, pinOnClick: { classPropertyName: "pinOnClick", publicName: "pinOnClick", isSignal: true, isRequired: false, transformFunction: null }, staggerMs: { classPropertyName: "staggerMs", publicName: "staggerMs", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { barClicked: "barClicked" }, host: { properties: { "class.framed": "frameResolved() === 'auto'" } }, viewQueries: [{ propertyName: "series", first: true, predicate: ColumnSeriesComponent, descendants: true, isSignal: true }], exportAs: ["dsWaterfallChart"], ngImport: i0, template: "<figure class=\"waterfall-chart\">\n @if (pinned()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"series()?.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 skeletonBars(); track $index) {\n <ds-skeleton\n height=\"var(--_waterfall-chart-skeleton-height)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"valueFormatResolved()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\">\n <svg:g\n dsWaterfallMarks\n [steps]=\"steps()\"\n [labelValues]=\"labelValues()\"\n [showValues]=\"showValues()\"\n [showConnectors]=\"showConnectors()\"\n [staggerMs]=\"staggerMs()\"\n [valueFormat]=\"valueFormatResolved()\" />\n\n <svg:g\n dsColumnSeries\n showValues=\"false\"\n [data]=\"points()\"\n [offsets]=\"offsets()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [staggerMs]=\"staggerMs()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n </ds-chart>\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"[\n intl().chart.stepColumn,\n intl().chart.directionColumn,\n intl().chart.valueColumn,\n intl().chart.runningTotalColumn,\n ]\"\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)}.waterfall-chart{--_waterfall-chart-connector-color: var(--ds-waterfall-chart-connector-color, var(--ds-chart-axis-line-color));--_waterfall-chart-skeleton-height: var(--ds-waterfall-chart-skeleton-height, 40px);margin:0}.empty{display:grid;place-items:center;min-block-size:240px;margin:0;color:var(--text-secondary);text-align:center;border-inline-start:1px solid var(--ds-chart-axis-line-color);border-block-end:1px solid var(--ds-chart-axis-line-color)}:host{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)}.skeleton{display:grid;gap:var(--space-2)}\n"], dependencies: [{ 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: 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: SkeletonComponent, selector: "ds-skeleton", inputs: ["width", "height", "circle", "inline", "shimmer"] }, { kind: "component", type: WaterfallMarksComponent, selector: "g[dsWaterfallMarks]", inputs: ["steps", "labelValues", "showValues", "showConnectors", "valueFormat", "columnWidthRatio", "staggerMs"] }, { 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 });
|
|
233
248
|
}
|
|
234
249
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: WaterfallChartComponent, decorators: [{
|
|
235
250
|
type: Component,
|
|
@@ -241,8 +256,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
241
256
|
ChartDataTableComponent,
|
|
242
257
|
], host: {
|
|
243
258
|
'[class.framed]': "frameResolved() === 'auto'",
|
|
244
|
-
}, encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, template: "<figure class=\"waterfall-chart\">\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()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonBars(); track $index) {\n <ds-skeleton
|
|
245
|
-
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], showValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValues", required: false }] }], showConnectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "showConnectors", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], frame: [{ type: i0.Input, args: [{ isSignal: true, alias: "frame", required: false }] }], dataTable: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataTable", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], emptyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyText", required: false }] }], errorText: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorText", required: false }] }], valueFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormat", required: false }] }], barClicked: [{ type: i0.Output, args: ["barClicked"] }] } });
|
|
259
|
+
}, encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }], template: "<figure class=\"waterfall-chart\">\n @if (pinned()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"series()?.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 skeletonBars(); track $index) {\n <ds-skeleton\n height=\"var(--_waterfall-chart-skeleton-height)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"valueFormatResolved()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\">\n <svg:g\n dsWaterfallMarks\n [steps]=\"steps()\"\n [labelValues]=\"labelValues()\"\n [showValues]=\"showValues()\"\n [showConnectors]=\"showConnectors()\"\n [staggerMs]=\"staggerMs()\"\n [valueFormat]=\"valueFormatResolved()\" />\n\n <svg:g\n dsColumnSeries\n showValues=\"false\"\n [data]=\"points()\"\n [offsets]=\"offsets()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [staggerMs]=\"staggerMs()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n </ds-chart>\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"[\n intl().chart.stepColumn,\n intl().chart.directionColumn,\n intl().chart.valueColumn,\n intl().chart.runningTotalColumn,\n ]\"\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)}.waterfall-chart{--_waterfall-chart-connector-color: var(--ds-waterfall-chart-connector-color, var(--ds-chart-axis-line-color));--_waterfall-chart-skeleton-height: var(--ds-waterfall-chart-skeleton-height, 40px);margin:0}.empty{display:grid;place-items:center;min-block-size:240px;margin:0;color:var(--text-secondary);text-align:center;border-inline-start:1px solid var(--ds-chart-axis-line-color);border-block-end:1px solid var(--ds-chart-axis-line-color)}:host{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)}.skeleton{display:grid;gap:var(--space-2)}\n"] }]
|
|
260
|
+
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], showValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValues", required: false }] }], showConnectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "showConnectors", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], frame: [{ type: i0.Input, args: [{ isSignal: true, alias: "frame", required: false }] }], dataTable: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataTable", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], emptyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyText", required: false }] }], errorText: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorText", required: false }] }], valueFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormat", required: false }] }], pinOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "pinOnClick", required: false }] }], staggerMs: [{ type: i0.Input, args: [{ isSignal: true, alias: "staggerMs", required: false }] }], series: [{ type: i0.ViewChild, args: [i0.forwardRef(() => ColumnSeriesComponent), { isSignal: true }] }], barClicked: [{ type: i0.Output, args: ["barClicked"] }] } });
|
|
246
261
|
|
|
247
262
|
/**
|
|
248
263
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-components-waterfall-chart.mjs","sources":["../../../src/lib/components/waterfall-chart/waterfall-chart.math.ts","../../../src/lib/components/waterfall-chart/waterfall-marks.component.ts","../../../src/lib/components/waterfall-chart/waterfall-marks.component.html","../../../src/lib/components/waterfall-chart/waterfall-chart.component.ts","../../../src/lib/components/waterfall-chart/waterfall-chart.component.html","../../../src/lib/components/waterfall-chart/ids-group-ltd-ids-design-system-components-waterfall-chart.ts"],"sourcesContent":["import type {\n WaterfallChartBar,\n WaterfallChartStep,\n} from './waterfall-chart.types';\n\n/** Where each bar spans, walking the running sum from zero.\n *\n * Every row adds its own value to the sum, including a total - a closing total carries `0` and so\n * prints the sum reached. A delta then spans from the sum before it to the sum after; a total or a\n * subtotal stands on zero and reaches the sum, which is what makes it a figure rather than a\n * change. A non-finite reading adds nothing rather than poisoning every bar after it.\n *\n * @internal */\nexport function waterfallSteps(\n data: readonly WaterfallChartBar[],\n): readonly WaterfallChartStep[] {\n let running = 0;\n\n return data.map((datum) => {\n const from = running;\n const value = Number.isFinite(datum.value) ? datum.value : 0;\n running += value;\n const standsOnZero = datum.kind === 'total' || datum.kind === 'subtotal';\n\n return {\n label: datum.label,\n from: standsOnZero ? 0 : from,\n to: running,\n direction: standsOnZero ? 'total' : value < 0 ? 'decrease' : 'increase',\n };\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n numberAttribute,\n} from '@angular/core';\nimport { CHART_SCALES } from '@ids-group-ltd/ids-design-system/components/chart';\nimport type { ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';\nimport type { WaterfallChartStep } from './waterfall-chart.types';\n\n/** Distance from a bar's own tip to its value label's baseline. */\nconst VALUE_LABEL_GAP = 8;\n\n/**\n * The two things a waterfall needs that a column series cannot carry: the dashed rule chaining one\n * bar to the next, and a value label that prints its own sign.\n *\n * The label lives here rather than on the column series because the sign is not a property of the\n * number - a delta of `130` reads `+130` and a total of `800` reads `800` - and a series-wide\n * formatter sees only the value, never which of the two it is holding.\n *\n * Hosted on a `<g>` rather than an element of its own: an element the SVG specification does not\n * know is not rendered, and neither are its descendants. Written as `<svg:g dsWaterfallMarks>`.\n *\n * @internal\n */\n@Component({\n // The repository's `component-selector` rule asks for an element selector, and one cannot work\n // inside a canvas - see the same exemption on `g[dsColumnSeries]`.\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'g[dsWaterfallMarks]',\n standalone: true,\n templateUrl: './waterfall-marks.component.html',\n styleUrl: './waterfall-marks.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WaterfallMarksComponent {\n private readonly scales = inject(CHART_SCALES);\n\n readonly steps = input<readonly WaterfallChartStep[]>([]);\n\n /** The reading each label prints: a delta's own change, a total's running sum. */\n readonly labelValues = input<readonly number[]>([]);\n\n readonly showValues = input(true);\n\n readonly showConnectors = input(true);\n\n readonly valueFormat = input<ChartValueFormat>((value) => String(value));\n\n /** The share of a category's band the bars take, so the connector starts where the bar ends. */\n readonly columnWidthRatio = input(0.8, { transform: numberAttribute });\n\n protected readonly markWidth = computed(\n () => this.scales.bandWidth() * this.columnWidthRatio(),\n );\n\n /** One rule per gap between two bars, drawn at the level they share - the level the left bar\n * ended on. Without it the bars read as five separate columns instead of one chain. */\n protected readonly connectors = computed(() => {\n const toX = this.scales.xPosition();\n const toY = this.scales.yPosition();\n const steps = this.steps();\n const half = this.markWidth() / 2;\n\n return steps.slice(0, -1).map((step, index) => ({\n key: `${index}-${step.label}`,\n x1: toX(index) + half,\n x2: toX(index + 1) - half,\n y: toY(step.to),\n }));\n });\n\n protected readonly labels = computed(() => {\n const toX = this.scales.xPosition();\n const toY = this.scales.yPosition();\n const format = this.valueFormat();\n const values = this.labelValues();\n\n return this.steps().map((step, index) => {\n const reading = values[index] ?? step.to - step.from;\n const tip = Math.min(toY(step.from), toY(step.to));\n const sign = step.direction === 'increase' && reading > 0 ? '+' : '';\n\n return {\n key: `${index}-${step.label}`,\n x: toX(index),\n y: tip - VALUE_LABEL_GAP,\n text: `${sign}${format(reading, 'tooltip')}`,\n };\n });\n });\n}\n","<svg:g\n class=\"waterfall-marks\"\n aria-hidden=\"true\">\n @if (showConnectors()) {\n @for (connector of connectors(); track connector.key) {\n <svg:line\n class=\"connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\" />\n }\n }\n\n @if (showValues()) {\n @for (label of labels(); track label.key) {\n <svg:text\n class=\"value\"\n text-anchor=\"middle\"\n [attr.x]=\"label.x\"\n [attr.y]=\"label.y\">\n {{ label.text }}\n </svg:text>\n }\n }\n</svg:g>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n input,\n numberAttribute,\n output,\n} from '@angular/core';\nimport {\n ChartComponent,\n ColumnSeriesComponent,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type { ColumnSeriesPoint } from '@ids-group-ltd/ids-design-system/components/chart';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartValueFormat,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { waterfallSteps } from './waterfall-chart.math';\nimport { WaterfallMarksComponent } from './waterfall-marks.component';\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 WaterfallChartBar,\n WaterfallChartStep,\n} from './waterfall-chart.types';\n\n/** What each direction is painted with. A total is the neutral series colour because it is not a\n * change at all, and reading it as one is the mistake the three-colour scheme exists to prevent. */\nconst DIRECTION_COLORS: Record<WaterfallChartStep['direction'], string> = {\n increase: 'var(--ds-chart-positive-color)',\n decrease: 'var(--ds-chart-negative-color)',\n total: 'var(--ds-chart-series-default-color)',\n};\n\nconst DIRECTION_WORDS: Record<WaterfallChartStep['direction'], string> = {\n increase: 'increase',\n decrease: 'decrease',\n total: 'total',\n};\n\n/**\n * A running total, bar by bar: what a figure started at, what moved it, and what it ended at.\n *\n * The one chart in the family that cannot be a mode on another, because it needs three things at\n * once - an accumulating level, bars pinned to zero for the totals, and its own three-colour\n * semantic. Colour never carries that semantic alone: every bar's label prints its own sign and\n * every bar's accessible name says \"increase\" or \"decrease\" in words.\n */\n@Component({\n selector: 'ds-waterfall-chart',\n standalone: true,\n exportAs: 'dsWaterfallChart',\n imports: [\n ChartComponent,\n ColumnSeriesComponent,\n SkeletonComponent,\n WaterfallMarksComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './waterfall-chart.component.html',\n styleUrl: './waterfall-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WaterfallChartComponent {\n /** The bars in the order they are read, which is the order they happened in - a waterfall is\n * never sorted, because the sequence is the meaning. */\n readonly data = input<readonly WaterfallChartBar[]>([]);\n\n /** Prints each bar's own reading above it, with its sign. */\n readonly showValues = input(true, { transform: booleanAttribute });\n\n /** The dashed rule chaining one bar to the next at the level they share. Without it the bars\n * read as separate columns rather than as one running total. */\n readonly showConnectors = input(true, { transform: booleanAttribute });\n\n /** Printed above the plot as the visible title, and reused as the annex table's caption. */\n readonly caption = input<string | null>(null);\n\n /** The accessible name. Generated from the steps when omitted, naming each one's direction in\n * words and the figure the chain ends at. */\n readonly summary = input<string | null>(null);\n\n /** A hint, not a count. Ticks snap to a round step. */\n readonly tickCount = input(5, { transform: numberAttribute });\n\n /** Turns on the click affordance and the keyboard route. `barClicked` fires whether or not\n * this is set. */\n readonly interactive = input(false, { transform: booleanAttribute });\n\n /** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card\n * the page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */\n readonly frame = input<ChartFrame | null>(null);\n\n /** The annex table under the plot. Unset falls back to `DS_CONFIG.chart.dataTable`, then\n * `'none'`. It prints each step's direction, its own reading and the running total. */\n readonly dataTable = input<ChartDataTable | null>(null);\n\n /** Skeleton bars at the real count, so the page does not resize when the data lands. */\n readonly loading = input(false, { transform: booleanAttribute });\n\n /** Separate from an empty `data`: \"the request failed\" and \"there is nothing to show\" read the\n * same and mean opposite things. */\n readonly error = input(false, { transform: booleanAttribute });\n\n /** Shown in place of the plot when `data` is empty. Unset falls back to\n * `DS_CONFIG.chart.emptyText`. */\n readonly emptyText = input<string | null>(null);\n\n /** Shown in place of the plot while `error` is set. Unset falls back to\n * `DS_CONFIG.chart.errorText`. */\n readonly errorText = input<string | null>(null);\n\n /** Formats every value the chart prints - the axis ticks, the bar labels and the annex table.\n * The sign a delta carries is added around it, so a formatter never has to know about one. */\n readonly valueFormat = input<ChartValueFormat | null>(null);\n\n /** The clicked datum, as it was given. Fires on click and on Enter or Space. */\n readonly barClicked = output<WaterfallChartBar>();\n\n private readonly defaults = resolveChartDefaults(this);\n readonly frameResolved = this.defaults.frame;\n readonly dataTableResolved = this.defaults.dataTable;\n readonly emptyTextResolved = this.defaults.emptyText;\n readonly errorTextResolved = this.defaults.errorText;\n readonly valueFormatResolved = this.defaults.valueFormat;\n\n protected readonly isEmpty = computed(() => this.data().length === 0);\n\n protected readonly steps = computed(() => waterfallSteps(this.data()));\n\n protected readonly categories = computed(() =>\n this.steps().map((step) => step.label),\n );\n\n protected readonly offsets = computed(() =>\n this.steps().map((step) => ({ from: step.from, to: step.to })),\n );\n\n /** What each bar's label prints: a delta's own change, a total's running sum. The two are\n * different readings and only one of them takes a sign. */\n protected readonly labelValues = computed(() =>\n this.steps().map((step, index) =>\n step.direction === 'total' ? step.to : (this.data()[index]?.value ?? 0),\n ),\n );\n\n protected readonly points = computed<readonly ColumnSeriesPoint[]>(() => {\n const format = this.valueFormatResolved();\n const values = this.labelValues();\n\n return this.steps().map((step, index) => {\n const datum = this.data()[index];\n const reading = values[index];\n const sign = step.direction === 'increase' && reading > 0 ? '+' : '';\n\n return {\n id: datum?.id ?? String(index),\n // The word is what carries the meaning where colour cannot - forced colours, a monochrome\n // print, a reader who cannot tell the two hues apart, and every screen reader.\n label: `${step.label}, ${DIRECTION_WORDS[step.direction]} ${sign}${format(reading, 'tooltip')}`,\n value: reading,\n color: DIRECTION_COLORS[step.direction],\n };\n });\n });\n\n protected readonly accessibleName = computed(() => {\n const given = this.summary();\n if (given) {\n return given;\n }\n const steps = this.steps();\n if (steps.length === 0) {\n return this.caption() ?? 'Waterfall chart';\n }\n const format = this.valueFormatResolved();\n const last = steps[steps.length - 1];\n const spoken = steps\n .map(\n (step, index) =>\n `${step.label} ${DIRECTION_WORDS[step.direction]} ${format(this.labelValues()[index], 'tooltip')}`,\n )\n .join(', ');\n\n return `${this.caption() ?? 'Waterfall'}: ${spoken}. Ends at ${format(last.to, 'tooltip')}.`;\n });\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.key,\n cells: [\n row.label,\n row.direction,\n row.formattedValue,\n row.formattedRunningTotal,\n ],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n const values = this.labelValues();\n\n return this.steps().map((step, index) => ({\n key: `${index}-${step.label}`,\n label: step.label,\n direction: DIRECTION_WORDS[step.direction],\n formattedValue: format(values[index], 'tooltip'),\n formattedRunningTotal: format(step.to, 'tooltip'),\n }));\n });\n\n protected readonly skeletonBars = computed(() =>\n Array.from({ length: Math.max(this.data().length, 5) }),\n );\n\n protected onPointClicked(point: ColumnSeriesPoint): void {\n const datum = this.data().find(\n (entry, index) => (entry.id ?? String(index)) === point.id,\n );\n if (datum) {\n this.barClicked.emit(datum);\n }\n }\n}\n","<figure class=\"waterfall-chart\">\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()) {\n <div\n class=\"skeleton\"\n aria-hidden=\"true\">\n @for (placeholder of skeletonBars(); track $index) {\n <ds-skeleton height=\"var(--_waterfall-chart-skeleton-height)\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"valueFormatResolved()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\">\n <svg:g\n dsWaterfallMarks\n [steps]=\"steps()\"\n [labelValues]=\"labelValues()\"\n [showValues]=\"showValues()\"\n [showConnectors]=\"showConnectors()\"\n [valueFormat]=\"valueFormatResolved()\" />\n\n <svg:g\n dsColumnSeries\n showValues=\"false\"\n [data]=\"points()\"\n [offsets]=\"offsets()\"\n [interactive]=\"interactive()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n </ds-chart>\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"['Step', 'Direction', 'Value', 'Running total']\"\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":";;;;;;;AAKA;;;;;;;AAOgB;AACV,SAAU,cAAc,CAC5B,IAAkC,EAAA;IAElC,IAAI,OAAO,GAAG,CAAC;AAEf,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;QACxB,MAAM,IAAI,GAAG,OAAO;QACpB,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC;QAC5D,OAAO,IAAI,KAAK;AAChB,QAAA,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU;QAExE,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,IAAI,EAAE,YAAY,GAAG,CAAC,GAAG,IAAI;AAC7B,YAAA,EAAE,EAAE,OAAO;AACX,YAAA,SAAS,EAAE,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,CAAC,GAAG,UAAU,GAAG,UAAU;SACxE;AACH,IAAA,CAAC,CAAC;AACJ;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WAAA,EAAA,IAAA,EACrB,iBAAiB,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACjB,uBAAuB,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,aAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,aAAA,EAAA,kBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACvB,uBAAuB,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,SAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAUd,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAnBnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAAA,UAAA,EAClB,IAAI,EAAA,QAAA,EACN,kBAAkB,EAAA,OAAA,EACnB;wBACP,cAAc;wBACd,qBAAqB;wBACrB,iBAAiB;wBACjB,uBAAuB;wBACvB,uBAAuB;qBACxB,EAAA,IAAA,EAGK;AACJ,wBAAA,gBAAgB,EAAE,4BAA4B;AAC/C,qBAAA,EAAA,aAAA,EACc,iBAAiB,CAAC,QAAQ,EAAA,eAAA,EACxB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gpDAAA,EAAA,MAAA,EAAA,CAAA,++GAAA,CAAA,EAAA;;;AEtEjD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-components-waterfall-chart.mjs","sources":["../../../src/lib/components/waterfall-chart/waterfall-chart.math.ts","../../../src/lib/components/waterfall-chart/waterfall-marks.component.ts","../../../src/lib/components/waterfall-chart/waterfall-marks.component.html","../../../src/lib/components/waterfall-chart/waterfall-chart.component.ts","../../../src/lib/components/waterfall-chart/waterfall-chart.component.html","../../../src/lib/components/waterfall-chart/ids-group-ltd-ids-design-system-components-waterfall-chart.ts"],"sourcesContent":["import type {\n WaterfallChartBar,\n WaterfallChartStep,\n} from './waterfall-chart.types';\n\n/** Where each bar spans, walking the running sum from zero.\n *\n * Every row adds its own value to the sum, including a total - a closing total carries `0` and so\n * prints the sum reached. A delta then spans from the sum before it to the sum after; a total or a\n * subtotal stands on zero and reaches the sum, which is what makes it a figure rather than a\n * change. A non-finite reading adds nothing rather than poisoning every bar after it.\n *\n * @internal */\nexport function waterfallSteps(\n data: readonly WaterfallChartBar[],\n): readonly WaterfallChartStep[] {\n let running = 0;\n\n return data.map((datum) => {\n const from = running;\n const value = Number.isFinite(datum.value) ? datum.value : 0;\n running += value;\n const standsOnZero = datum.kind === 'total' || datum.kind === 'subtotal';\n\n return {\n label: datum.label,\n from: standsOnZero ? 0 : from,\n to: running,\n direction: standsOnZero ? 'total' : value < 0 ? 'decrease' : 'increase',\n };\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n numberAttribute,\n} from '@angular/core';\nimport { staggerDelay } from '@ids-group-ltd/ids-design-system/components';\nimport { CHART_SCALES } from '@ids-group-ltd/ids-design-system/components/chart';\nimport type { ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';\nimport type { WaterfallChartStep } from './waterfall-chart.types';\n\n/** Distance from a bar's own tip to its value label's baseline. */\nconst VALUE_LABEL_GAP = 8;\n\n/**\n * The two things a waterfall needs that a column series cannot carry: the dashed rule chaining one\n * bar to the next, and a value label that prints its own sign.\n *\n * The label lives here rather than on the column series because the sign is not a property of the\n * number - a delta of `130` reads `+130` and a total of `800` reads `800` - and a series-wide\n * formatter sees only the value, never which of the two it is holding.\n *\n * Hosted on a `<g>` rather than an element of its own: an element the SVG specification does not\n * know is not rendered, and neither are its descendants. Written as `<svg:g dsWaterfallMarks>`.\n *\n * @internal\n */\n@Component({\n // The repository's `component-selector` rule asks for an element selector, and one cannot work\n // inside a canvas - see the same exemption on `g[dsColumnSeries]`.\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'g[dsWaterfallMarks]',\n standalone: true,\n templateUrl: './waterfall-marks.component.html',\n styleUrl: './waterfall-marks.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WaterfallMarksComponent {\n private readonly scales = inject(CHART_SCALES);\n\n readonly steps = input<readonly WaterfallChartStep[]>([]);\n\n /** The reading each label prints: a delta's own change, a total's running sum. */\n readonly labelValues = input<readonly number[]>([]);\n\n readonly showValues = input(true);\n\n readonly showConnectors = input(true);\n\n readonly valueFormat = input<ChartValueFormat>((value) => String(value));\n\n /** The share of a category's band the bars take, so the connector starts where the bar ends. */\n readonly columnWidthRatio = input(0.8, { transform: numberAttribute });\n\n /** The bars' own `staggerMs`, so each label and rule waits for the bar it belongs to. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n protected readonly markWidth = computed(\n () => this.scales.bandWidth() * this.columnWidthRatio(),\n );\n\n /** One rule per gap between two bars, drawn at the level they share - the level the left bar\n * ended on. Without it the bars read as five separate columns instead of one chain. */\n protected readonly connectors = computed(() => {\n const toX = this.scales.xPosition();\n const toY = this.scales.yPosition();\n const steps = this.steps();\n const half = this.markWidth() / 2;\n\n return steps.slice(0, -1).map((step, index) => ({\n key: `${index}-${step.label}`,\n x1: toX(index) + half,\n x2: toX(index + 1) - half,\n y: toY(step.to),\n stagger: this.barStagger(index + 1),\n }));\n });\n\n protected readonly labels = computed(() => {\n const toX = this.scales.xPosition();\n const toY = this.scales.yPosition();\n const format = this.valueFormat();\n const values = this.labelValues();\n\n return this.steps().map((step, index) => {\n const reading = values[index] ?? step.to - step.from;\n const tip = Math.min(toY(step.from), toY(step.to));\n const sign = step.direction === 'increase' && reading > 0 ? '+' : '';\n\n return {\n key: `${index}-${step.label}`,\n x: toX(index),\n y: tip - VALUE_LABEL_GAP,\n text: `${sign}${format(reading, 'tooltip')}`,\n stagger: this.barStagger(index),\n };\n });\n });\n\n private barStagger(index: number): string {\n return `${staggerDelay(index, this.steps().length, this.staggerMs())}ms`;\n }\n}\n","<svg:g\n class=\"waterfall-marks\"\n aria-hidden=\"true\">\n @if (showConnectors()) {\n @for (connector of connectors(); track connector.key) {\n <svg:line\n class=\"connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\"\n [style.--_chart-mark-stagger]=\"connector.stagger\" />\n }\n }\n\n @if (showValues()) {\n @for (label of labels(); track label.key) {\n <svg:text\n class=\"value\"\n text-anchor=\"middle\"\n [attr.x]=\"label.x\"\n [attr.y]=\"label.y\"\n [style.--_chart-mark-stagger]=\"label.stagger\">\n {{ label.text }}\n </svg:text>\n }\n }\n</svg:g>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n inject,\n input,\n numberAttribute,\n output,\n viewChild,\n} from '@angular/core';\nimport {\n ChartComponent,\n ColumnSeriesComponent,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type { ColumnSeriesPoint } from '@ids-group-ltd/ids-design-system/components/chart';\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 ChartValueFormat,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { waterfallSteps } from './waterfall-chart.math';\nimport { WaterfallMarksComponent } from './waterfall-marks.component';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport {\n resolveChartDefaults,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n} from '@ids-group-ltd/ids-design-system/components';\nimport type {\n WaterfallChartBar,\n WaterfallChartStep,\n} from './waterfall-chart.types';\n\n/** What each direction is painted with. A total is the neutral series colour because it is not a\n * change at all, and reading it as one is the mistake the three-colour scheme exists to prevent. */\nconst DIRECTION_COLORS: Record<WaterfallChartStep['direction'], string> = {\n increase: 'var(--ds-chart-positive-color)',\n decrease: 'var(--ds-chart-negative-color)',\n total: 'var(--ds-chart-series-default-color)',\n};\n\n/**\n * A running total, bar by bar: what a figure started at, what moved it, and what it ended at.\n *\n * The one chart in the family that cannot be a mode on another, because it needs three things at\n * once - an accumulating level, bars pinned to zero for the totals, and its own three-colour\n * semantic. Colour never carries that semantic alone: every bar's label prints its own sign and\n * every bar's accessible name says \"increase\" or \"decrease\" in words.\n */\n@Component({\n selector: 'ds-waterfall-chart',\n standalone: true,\n exportAs: 'dsWaterfallChart',\n imports: [\n ChartComponent,\n ColumnSeriesComponent,\n SkeletonComponent,\n WaterfallMarksComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './waterfall-chart.component.html',\n styleUrl: './waterfall-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }],\n})\nexport class WaterfallChartComponent {\n protected readonly renderReady = chartRenderGate();\n\n /** The bars in the order they are read, which is the order they happened in - a waterfall is\n * never sorted, because the sequence is the meaning. */\n readonly data = input<readonly WaterfallChartBar[]>([]);\n\n /** Prints each bar's own reading above it, with its sign. */\n readonly showValues = input(true, { transform: booleanAttribute });\n\n /** The dashed rule chaining one bar to the next at the level they share. Without it the bars\n * read as separate columns rather than as one running total. */\n readonly showConnectors = input(true, { transform: booleanAttribute });\n\n /** Printed above the plot as the visible title, and reused as the annex table's caption. */\n readonly caption = input<string | null>(null);\n\n /** The accessible name. Generated from the steps when omitted, naming each one's direction in\n * words and the figure the chain ends at. */\n readonly summary = input<string | null>(null);\n\n /** A hint, not a count. Ticks snap to a round step. */\n readonly tickCount = input(5, { transform: numberAttribute });\n\n /** Turns on the click affordance and the keyboard route. `barClicked` fires whether or not\n * this is set. */\n readonly interactive = input(false, { transform: booleanAttribute });\n\n /** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card\n * the page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */\n readonly frame = input<ChartFrame | null>(null);\n\n /** The annex table under the plot. Unset falls back to `DS_CONFIG.chart.dataTable`, then\n * `'none'`. It prints each step's direction, its own reading and the running total. */\n readonly dataTable = input<ChartDataTable | null>(null);\n\n /** Skeleton bars at the real count, so the page does not resize when the data lands. */\n readonly loading = input(false, { transform: booleanAttribute });\n\n /** Separate from an empty `data`: \"the request failed\" and \"there is nothing to show\" read the\n * same and mean opposite things. */\n readonly error = input(false, { transform: booleanAttribute });\n\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 /** Shown in place of the plot while `error` is set. Unset falls back to\n * `DS_INTL.chart.error`. */\n readonly errorText = input<string | null>(null);\n\n /** Formats every value the chart prints - the axis ticks, the bar labels and the annex table.\n * The sign a delta carries is added around it, so a formatter never has to know about one. */\n readonly valueFormat = input<ChartValueFormat | null>(null);\n\n /** Holds the clicked step 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`. `barClicked` 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 /** Milliseconds between one step's entrance and the next; a long waterfall narrows the step to\n * arrive within 260ms. `0` is no stagger. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n protected readonly series = viewChild(ColumnSeriesComponent);\n\n protected readonly pinned = computed(\n () => this.series()?.activeMark.pinned() ?? false,\n );\n\n /** The clicked datum, as it was given. Fires on click and on Enter or Space. */\n readonly barClicked = output<WaterfallChartBar>();\n\n private readonly defaults = resolveChartDefaults(this);\n protected readonly intl = inject(DS_INTL);\n readonly frameResolved = this.defaults.frame;\n readonly dataTableResolved = this.defaults.dataTable;\n readonly emptyTextResolved = this.defaults.emptyText;\n readonly errorTextResolved = this.defaults.errorText;\n readonly valueFormatResolved = this.defaults.valueFormat;\n\n protected readonly isEmpty = computed(() => this.data().length === 0);\n\n protected readonly steps = computed(() => waterfallSteps(this.data()));\n\n protected readonly categories = computed(() =>\n this.steps().map((step) => step.label),\n );\n\n protected readonly offsets = computed(() =>\n this.steps().map((step) => ({ from: step.from, to: step.to })),\n );\n\n /** What each bar's label prints: a delta's own change, a total's running sum. The two are\n * different readings and only one of them takes a sign. */\n protected readonly labelValues = computed(() =>\n this.steps().map((step, index) =>\n step.direction === 'total' ? step.to : (this.data()[index]?.value ?? 0),\n ),\n );\n\n protected readonly points = computed<readonly ColumnSeriesPoint[]>(() => {\n const format = this.valueFormatResolved();\n const values = this.labelValues();\n\n return this.steps().map((step, index) => {\n const datum = this.data()[index];\n const reading = values[index];\n const sign = step.direction === 'increase' && reading > 0 ? '+' : '';\n\n return {\n id: datum?.id ?? String(index),\n // The word is what carries the meaning where colour cannot - forced colours, a monochrome\n // print, a reader who cannot tell the two hues apart, and every screen reader.\n label: `${step.label}, ${this.intl().chart[step.direction]} ${sign}${format(reading, 'tooltip')}`,\n value: reading,\n color: DIRECTION_COLORS[step.direction],\n };\n });\n });\n\n protected readonly accessibleName = computed(() => {\n const given = this.summary();\n if (given) {\n return given;\n }\n const words = this.intl().chart;\n const steps = this.steps();\n if (steps.length === 0) {\n return this.caption() ?? words.waterfallTitle;\n }\n const format = this.valueFormatResolved();\n const last = steps[steps.length - 1];\n const spoken = steps\n .map(\n (step, index) =>\n `${step.label} ${words[step.direction]} ${format(this.labelValues()[index], 'tooltip')}`,\n )\n .join(', ');\n\n return `${this.caption() ?? words.waterfallCaption}: ${spoken}. ${words.endsAt(format(last.to, 'tooltip'))}`;\n });\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.key,\n cells: [\n row.label,\n row.direction,\n row.formattedValue,\n row.formattedRunningTotal,\n ],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n const values = this.labelValues();\n\n return this.steps().map((step, index) => ({\n key: `${index}-${step.label}`,\n label: step.label,\n direction: this.intl().chart[step.direction],\n formattedValue: format(values[index], 'tooltip'),\n formattedRunningTotal: format(step.to, 'tooltip'),\n }));\n });\n\n protected readonly skeletonBars = computed(() =>\n Array.from({ length: Math.max(this.data().length, 5) }),\n );\n\n protected onPointClicked(point: ColumnSeriesPoint): void {\n const datum = this.data().find(\n (entry, index) => (entry.id ?? String(index)) === point.id,\n );\n if (datum) {\n this.barClicked.emit(datum);\n }\n }\n}\n","<figure class=\"waterfall-chart\">\n @if (pinned()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"series()?.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 skeletonBars(); track $index) {\n <ds-skeleton\n height=\"var(--_waterfall-chart-skeleton-height)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else {\n <ds-chart\n frame=\"none\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"valueFormatResolved()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\">\n <svg:g\n dsWaterfallMarks\n [steps]=\"steps()\"\n [labelValues]=\"labelValues()\"\n [showValues]=\"showValues()\"\n [showConnectors]=\"showConnectors()\"\n [staggerMs]=\"staggerMs()\"\n [valueFormat]=\"valueFormatResolved()\" />\n\n <svg:g\n dsColumnSeries\n showValues=\"false\"\n [data]=\"points()\"\n [offsets]=\"offsets()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [staggerMs]=\"staggerMs()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n </ds-chart>\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"[\n intl().chart.stepColumn,\n intl().chart.directionColumn,\n intl().chart.valueColumn,\n intl().chart.runningTotalColumn,\n ]\"\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":";;;;;;;;AAKA;;;;;;;AAOgB;AACV,SAAU,cAAc,CAC5B,IAAkC,EAAA;IAElC,IAAI,OAAO,GAAG,CAAC;AAEf,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;QACxB,MAAM,IAAI,GAAG,OAAO;QACpB,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC;QAC5D,OAAO,IAAI,KAAK;AAChB,QAAA,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU;QAExE,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,IAAI,EAAE,YAAY,GAAG,CAAC,GAAG,IAAI;AAC7B,YAAA,EAAE,EAAE,OAAO;AACX,YAAA,SAAS,EAAE,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,CAAC,GAAG,UAAU,GAAG,UAAU;SACxE;AACH,IAAA,CAAC,CA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