@ids-group-ltd/ids-design-system 0.14.1 → 0.14.3
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 +336 -0
- package/components.md +41 -38
- package/docs/agent/INDEX.md +3 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +3 -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 +1 -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 +2 -2
- package/docs/agent/charts/ds-pie-chart.md +2 -2
- 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-description-list.md +3 -0
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/ds-time-picker.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +1 -1
- package/docs/agent/navigation/ds-tabs.md +2 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-modal.md +1 -1
- package/docs/agent/overlays/ds-popover.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +4 -4
- package/docs/agent/tables/ds-table.md +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +22 -16
- 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 +16 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +19 -7
- 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 +180 -19
- 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 +175 -93
- 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 +25 -10
- 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 +10 -11
- 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 +28 -11
- 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 +3 -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 +13 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +32 -18
- 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 +47 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +11 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +11 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +15 -13
- 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 +35 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +32 -7
- 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 +66 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +84 -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 +16 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +138 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +25 -9
- 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 +87 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.14.2.json +427 -0
- package/migrations/0.14.3.json +71 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +36 -2
- package/styles/_chart-frame.scss +34 -12
- package/styles/_chart-interactive.scss +10 -9
- package/styles/_chart-motion.scss +139 -16
- package/styles/_overlay-motion.scss +6 -0
- package/styles/_tokens.scss +19 -4
- package/themes/_semantic.scss +1 -0
- package/themes/dark/_theme.scss +1 -0
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -10
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +33 -2
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +151 -103
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -9
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +23 -11
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +29 -2
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +8 -8
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +17 -7
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +20 -2
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +13 -2
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +31 -5
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +20 -2
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +11 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +33 -6
- package/types/ids-group-ltd-ids-design-system-core.d.ts +14 -1
- package/types/ids-group-ltd-ids-design-system.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-components-line-chart.mjs","sources":["../../../src/lib/components/line-chart/line-chart.math.ts","../../../src/lib/components/line-chart/line-chart.component.ts","../../../src/lib/components/line-chart/line-chart.component.html","../../../src/lib/components/line-chart/ids-group-ltd-ids-design-system-components-line-chart.ts"],"sourcesContent":["import type { ChartGaps } from '@ids-group-ltd/ids-design-system/core';\n\nexport type { LinePoint } from '@ids-group-ltd/ids-design-system/components';\n\nexport const LINE_CHART_DEFAULT_TICK_COUNT = 5;\n\n/** One reading per category, however long the series actually was. A series longer\n * than `categories` loses its tail and a shorter one ends early: a line that stops\n * short is a defect the reader can see, while a thrown error takes down the page\n * around it. Anything that is not a finite number is a missing reading, so `NaN`\n * and `Infinity` follow the `gaps` policy rather than reaching a coordinate. */\nexport function alignSeriesValues(\n data: readonly (number | null)[],\n categoryCount: number,\n gaps: ChartGaps,\n): (number | null)[] {\n const length =\n Number.isFinite(categoryCount) && categoryCount > 0\n ? Math.floor(categoryCount)\n : 0;\n const aligned: (number | null)[] = [];\n for (let index = 0; index < length; index++) {\n const raw = data[index];\n const reading =\n typeof raw === 'number' && Number.isFinite(raw) ? raw : null;\n aligned.push(reading === null && gaps === 'zero' ? 0 : reading);\n }\n\n return aligned;\n}\n\n/** Largest finite reading across the given series, or zero. Never negative: this\n * feeds the ceiling handed to `ds-chart`, which raises its domain and never lowers\n * it, so a negative here would pin an axis below its own data. */\nexport function domainMaxOf(\n valueGroups: readonly (readonly (number | null)[])[],\n): number {\n let max = 0;\n for (const values of valueGroups) {\n for (const value of values) {\n if (value !== null && Number.isFinite(value) && value > max) {\n max = value;\n }\n }\n }\n\n return max;\n}\n\nexport function paletteIndexFor(\n slot: number | undefined,\n index: number,\n paletteSize: number,\n): number {\n if (!Number.isFinite(paletteSize) || paletteSize < 1) {\n return 0;\n }\n const chosen =\n slot !== undefined && Number.isFinite(slot) && slot >= 1\n ? Math.floor(slot) - 1\n : index;\n\n return ((chosen % paletteSize) + paletteSize) % paletteSize;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport {\n CHART_DEFAULT_VALUE_SPACE,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n chartViewHeight,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartAnnotation,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport { formatPercent } from '@ids-group-ltd/ids-design-system/components';\nimport { stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartValueFormat,\n ChartAxisMode,\n ChartGaps,\n ChartCurve,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport { resolveChartDefaults } from '@ids-group-ltd/ids-design-system/components';\nimport type {\n ChartTooltipContext,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport {\n LINE_CHART_DEFAULT_TICK_COUNT,\n alignSeriesValues,\n domainMaxOf,\n paletteIndexFor,\n} from './line-chart.math';\n\n/** Matches `--ds-line-chart-plot-height`, for the frame before the first style read and for SSR. */\nconst DEFAULT_PLOT_HEIGHT = 240;\nimport type {\n LineChartAnnotation,\n LineChartStack,\n LineChartReading,\n LineChartSeries,\n} from './line-chart.types';\n\ninterface ResolvedSeries {\n readonly series: LineChartSeries;\n readonly values: readonly (number | null)[];\n /** Where this series' band starts on the value axis, one entry per category. `null` while the\n * chart is unstacked, where every band starts at the baseline. */\n readonly lowerValues: readonly (number | null)[] | null;\n readonly onSecondaryAxis: boolean;\n readonly color: string;\n /** `null` while `patterns` is off, which is what keeps a solid line solid. */\n readonly dash: string | null;\n}\n\n// One dash per palette slot, in the same order the colours are. Slot 1 stays solid so a\n// single-series chart is unchanged by turning patterns on.\nconst SERIES_DASH_ARRAYS = [\n 'none',\n '7 4',\n '2 3',\n '11 4 2 4',\n '1 4',\n '8 3 2 3',\n '4 2',\n '14 5',\n];\n\n@Component({\n selector: 'ds-line-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n ChartLegendComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './line-chart.component.html',\n styleUrl: './line-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_line-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }],\n})\nexport class LineChartComponent {\n protected readonly renderReady = chartRenderGate();\n\n /** X labels. Every series' `data` is read against this length. */\n readonly categories = input.required<readonly string[]>();\n\n /** One line per entry. Every series is read against `categories`, so a series longer than it\n * loses its tail and a shorter one ends early. */\n readonly series = input.required<readonly LineChartSeries[]>();\n\n /** How a secondary axis relates to the primary one. */\n readonly yAxisMode = input<ChartAxisMode>('aligned');\n\n /** Draws a dot at every reading. Off, the dots appear on hover and on focus only. */\n readonly showMarkers = input(true, { transform: booleanAttribute });\n\n /** Lays the lines and their markers on a band of the surface colour. Off where the plot holds\n * nothing for them to cross and the band only separates them from the gridlines. */\n readonly outline = input(true, { transform: booleanAttribute });\n\n /** Labels pinned over their readings, for the points that have to read without a pointer. They\n * are drawn, not announced: the data table already carries every reading, and repeating one in\n * the plot makes a screen reader say it twice. */\n readonly annotations = input<readonly LineChartAnnotation[]>([]);\n\n /** Makes every reading focusable and clickable. A series drawn without markers grows invisible\n * ones so there is something to land on; they appear on hover and on focus.\n *\n * The click output fires whether or not this is set, so a consumer that binds the output and\n * forgets the flag still receives every click. */\n readonly interactive = input(false, { transform: booleanAttribute });\n\n /** The point that was clicked, or activated with Enter or Space. Fires whether or not\n * `interactive` is set. */\n readonly pointClicked = output<LineChartReading>();\n\n /** Holds the crosshair and its tooltip on the category that was clicked, until Escape or a\n * press outside releases it. Off by default: a click is already the drill-down hook, and a\n * crosshair left standing after the pointer has gone needs a reader who knows why. `pointClicked`\n * fires either way — pinning is a state, not a handler. */\n readonly pinOnClick = input(false, { transform: booleanAttribute });\n\n /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the\n * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed\n * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full\n * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark\n * and pays for it with the rest of the chart. */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** What a `null` reading draws. The default refuses to assert that a missing\n * reading is a zero. */\n readonly gaps = input<ChartGaps>('break');\n\n /** How the line joins its readings. `'linear'` by default, which asserts nothing the data does\n * not say; a curve is a claim about what happened BETWEEN two readings. */\n readonly curve = input<ChartCurve>('linear');\n\n /** How several series share the value axis. Stacking runs per AXIS, so a series on the secondary\n * axis never piles onto one measured against the primary. */\n readonly stack = input<LineChartStack>('none');\n\n /** Names the first axis's unit beside it. On a plot carrying two scales the colour says which\n * line reads which axis and this says what the numbers ARE - and a reader who has neither is\n * left comparing two quantities that may not be comparable at all. */\n readonly yAxisLabel = input<string | null>(null);\n\n /** `yAxisLabel` for the second axis. */\n readonly secondaryAxisLabel = input<string | null>(null);\n\n /** How many value-axis ticks to aim for. A hint, not a count: ticks snap to a round step, so\n * the axis may carry one more or one fewer. */\n readonly tickCount = input(LINE_CHART_DEFAULT_TICK_COUNT, {\n transform: numberAttribute,\n });\n\n /** Whether the chart draws its own bordered, padded box. `'auto'`, the default, draws it;\n * `'none'` leaves the chart bare, for one placed inside a card the page has already drawn.\n * Unset falls back to `DS_CONFIG.chart.frame`, then `'auto'` — whether charts live inside cards\n * is one decision per app rather than per plot. */\n readonly frame = input<ChartFrame | null>(null);\n\n /** How long the tooltip stays after the pointer leaves the mark, in milliseconds. Zero, the\n * default, takes it away at once: a panel that outlives the pointer sits over the plot the\n * reader has moved on to.\n *\n * Raise it only for a panel a reader has to REACH — one carrying a link, a figure, or anything\n * selectable — which is WCAG 1.4.13's hoverable clause. The panel is portaled to the body, so\n * crossing the gap to it at an ordinary pointer speed needs about 140. Unset falls back to\n * `DS_CONFIG.chart.tooltipLingerMs`, then 0. */\n readonly tooltipLingerMs = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n /** Printed above the plot as the chart's visible title, and reused as the annex table's\n * caption. */\n readonly caption = input<string | null>(null);\n\n /** Accessible name. Generated from the data when omitted. */\n readonly summary = input<string | null>(null);\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so\n * `'none'` belongs only where the same data is already in a table on the page.\n * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Pins the value axis instead of deriving it from the data. A panel opened one subject at a\n * time — one agent, one microsite — derives a different axis for each of them, so two plots with\n * the same gentle wiggle can be four times apart in value and nothing on screen says so. A fixed\n * maximum is what makes two renders comparable.\n *\n * Null, the default, keeps the derived axis. Applies to the primary axis; `maxSecondary` pins\n * the second one where a series sets `axis: 'secondary'`. A maximum below the data does not clip\n * it — the larger of the two wins, because silently hiding a reading is worse than a taller axis\n * than you asked for. */\n readonly max = input<number | null>(null);\n\n /** Pins the secondary value axis. See `max`. */\n readonly maxSecondary = input<number | null>(null);\n\n /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize\n * when the data lands. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Shown in place of the plot when `data` is empty. Unset falls back to\n * `DS_INTL.chart.empty`. */\n readonly emptyText = input<string | null>(null);\n\n /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,\n * because \"the request failed\" and \"there is nothing to show\" read the same to a reader and\n * mean opposite things. */\n readonly error = input(false, { transform: booleanAttribute });\n\n /** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */\n readonly errorText = input<string | null>(null);\n /** Formats every value the chart prints, the annex table and the generated description\n * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /\n * `LOCALE_ID`. */\n readonly valueFormat = input<ChartValueFormat | null>(null);\n\n private readonly defaults = resolveChartDefaults(this);\n protected readonly intl = inject(DS_INTL);\n readonly frameResolved = this.defaults.frame;\n readonly dataTableResolved = this.defaults.dataTable;\n readonly emptyTextResolved = this.defaults.emptyText;\n readonly errorTextResolved = this.defaults.errorText;\n readonly valueFormatResolved = this.defaults.valueFormat;\n\n protected readonly resolvedSeries = computed<readonly ResolvedSeries[]>(\n () => {\n const categoryCount = this.categories().length;\n const gaps = this.gaps();\n\n const patterns = this.patterns();\n\n return this.series().map((series, index) => {\n const slot = paletteIndexFor(\n series.slot,\n index,\n CHART_SERIES_COLORS.length,\n );\n\n return {\n series,\n values: alignSeriesValues(series.data, categoryCount, gaps),\n lowerValues: null,\n onSecondaryAxis: series.axis === 'secondary',\n color: CHART_SERIES_COLORS[slot],\n dash: patterns ? SERIES_DASH_ARRAYS[slot] : null,\n };\n });\n },\n );\n\n /** Ids of the series the legend has switched off. Two-way, so a page can drive it from a URL\n * parameter and read back what the reader chose. */\n readonly hiddenSeries = model<readonly string[]>([]);\n\n /** Whether hiding a series re-scales the value axis to what is left. Default `false`: a silent\n * rescale turns a period-over-period comparison into a different claim, and a comparison\n * dashboard is the common case. */\n readonly rescaleOnHide = input(false, { transform: booleanAttribute });\n\n /** Whether the legend switches series off. Off leaves it a plain key. */\n readonly legendFilters = input(false, { transform: booleanAttribute });\n\n /** What a legend control does. `'isolate'` shows one series and hides the rest — one action to\n * answer \"show me only this\" rather than one per series. `'toggle'` hides one and leaves the\n * rest, for taking a dominant series out so the others can be read at a usable scale.\n * Forwarded to `ds-chart-legend`, which renders radios for the first and checkboxes for the\n * second. */\n readonly legendMode = input<'toggle' | 'isolate'>('isolate');\n\n /** Shown in place of the plot once the legend has switched every series off. Without it the\n * reader is left with an empty grid and nothing saying why. Unset falls back to\n * `DS_INTL.chart.noVisibleSeries`. */\n readonly noVisibleSeriesText = input<string | null>(null);\n\n readonly noVisibleSeriesTextResolved = computed(\n () => this.noVisibleSeriesText() ?? this.intl().chart.noVisibleSeries,\n );\n\n /** Gives every series a dash pattern of its own, so the lines are told apart by shape as well\n * as by colour — WCAG technique G111. Off by default: the shipped palette clears the\n * colour-blind separation threshold on its own, so the patterns are for monochrome print, for a\n * retuned palette, and for a reader who asks for them. */\n readonly patterns = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one series' entrance and the next. `0`, the default, is no stagger at\n * all; `40` is the documented non-zero step. The total is capped, so a long list of series does\n * not crawl in. */\n readonly staggerMs = input(0, { transform: numberAttribute });\n\n protected readonly highlightedSeries = signal<string | null>(null);\n\n /** Every series with its band's own span, stacked per axis. Hiding a series does NOT re-pile the\n * rest, for the same reason `rescaleOnHide` defaults off: switching one off must not move the\n * ones still drawn. A `null` stays a hole in the line and contributes nothing to the pile. */\n protected readonly stackedSeries = computed<readonly ResolvedSeries[]>(() => {\n const mode = this.stack();\n const entries = this.resolvedSeries();\n if (mode === 'none') {\n return entries;\n }\n\n const spans = new Map<ResolvedSeries, { from: number; to: number }[]>();\n for (const secondary of [false, true]) {\n const onThisAxis = entries.filter(\n (entry) => entry.onSecondaryAxis === secondary,\n );\n const offsets = stackOffsets(\n onThisAxis.map((entry) => entry.values.map((value) => value ?? 0)),\n mode,\n );\n onThisAxis.forEach((entry, index) =>\n spans.set(entry, [...offsets[index]]),\n );\n }\n\n return entries.map((entry) => {\n const span = spans.get(entry);\n if (!span) {\n return entry;\n }\n\n return {\n ...entry,\n values: entry.values.map((value, category) =>\n value === null ? null : span[category].to,\n ),\n lowerValues: entry.values.map((value, category) =>\n value === null ? null : span[category].from,\n ),\n };\n });\n });\n\n protected readonly visibleSeries = computed<readonly ResolvedSeries[]>(() => {\n const hidden = this.hiddenSeries();\n\n return this.stackedSeries().filter(\n (entry) => !hidden.includes(entry.series.id),\n );\n });\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n color: entry.color,\n })),\n );\n\n /** A normalized stack draws shares, not readings, so the axis has to say so - the value a tooltip\n * or the annex table prints stays the reading, which is what `valueFormat` goes on formatting. */\n protected readonly axisFormat = computed<ChartValueFormat>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormatResolved(),\n );\n\n /** Each axis takes the colour of the series measured against it, but only where two scales share\n * one plot: on a single-scale chart it would restate the marks' own colour in the furniture,\n * and under `'split'` the two plots are already apart. The chart knows its own series colours,\n * so this is derived rather than asked for. */\n private readonly axisTint = computed(() => {\n if (!this.hasSecondaryAxis() || this.yAxisMode() === 'split') {\n return { primary: null, secondary: null };\n }\n const find = (onSecondaryAxis: boolean) =>\n this.visibleSeries().find(\n (entry) => entry.onSecondaryAxis === onSecondaryAxis,\n )?.color ?? null;\n\n return { primary: find(false), secondary: find(true) };\n });\n\n protected readonly primaryAxisFill = computed(() => this.axisTint().primary);\n\n protected readonly secondaryAxisFill = computed(\n () => this.axisTint().secondary,\n );\n\n protected readonly stacksSeries = computed(() => this.stack() !== 'none');\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n /** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the\n * category under the pointer, which is the reading a multi-series line is compared on;\n * `'item'` names only the marker itself. */\n readonly tooltip = input<ChartTooltipTrigger>('axis');\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip is pinned. `'point'`, the default, is the highest reading in the category,\n * so the panel stays put while the pointer moves within one band. `'pointer'` follows the\n * cursor. */\n readonly tooltipAnchor = input<'point' | 'pointer'>('point');\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n this.intl().chart.categoryColumn,\n ...this.resolvedSeries().map((entry) => entry.series.label),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.category,\n cells: [row.category, ...row.cells],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.categories().map((category, index) => ({\n category,\n cells: this.resolvedSeries().map((entry) => {\n const value = entry.values[index];\n\n return value === null || value === undefined\n ? '—'\n : format(value, 'tooltip');\n }),\n }));\n });\n\n protected readonly accessibleName = computed(() => {\n const summary = this.summary();\n if (summary !== null) {\n return summary;\n }\n\n const words = this.intl().chart;\n const title = this.caption() ?? words.title;\n const format = (value: number) =>\n this.valueFormatResolved()(value, 'tooltip');\n const categories = this.categories();\n // The pointer belongs to the WHOLE chart, not to each series, or a two-series plot promises\n // the table twice.\n const sentences = this.resolvedSeries().map((entry) =>\n describeSeries(\n words,\n entry.series.label,\n entry.values.flatMap((value, index) =>\n value === null ? [] : [{ label: categories[index] ?? '', value }],\n ),\n format,\n false,\n ),\n );\n const pointer =\n this.dataTableResolved() === 'none' ? '' : ` ${words.tableFollows}`;\n // The plot's own text is inside an `aria-hidden` svg, so an annotation a sighted reader takes\n // as the point of the chart would otherwise reach nobody else.\n const notes = this.markAnnotations().map((note) => note.label);\n const noted = notes.length ? ` ${words.noted(notes)}` : '';\n\n return sentences.length === 0\n ? describeSeries(\n words,\n title,\n [],\n format,\n this.dataTableResolved() !== 'none',\n )\n : `${title}. ${sentences.join(' ')}${noted}${pointer}`;\n });\n\n private readonly plot = viewChild(ChartComponent);\n\n /** Whether the category cursor is held. Read off the container, which owns the pin now that it\n * owns the cursor. */\n protected readonly pinnedCategory = computed(\n () => this.plot()?.cursorPinned() ?? false,\n );\n\n protected releaseCategoryPin(): void {\n this.plot()?.releaseCursor();\n }\n\n /** What the series mark draws: the stacked values, the hidden series already filtered out. */\n protected readonly markSeries = computed<readonly LineSeriesData[]>(() =>\n this.visibleSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n data: entry.values,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n area: entry.series.area,\n lower: entry.lowerValues ?? undefined,\n color: entry.color,\n })),\n );\n\n protected readonly dashPatterns = computed<readonly string[]>(() =>\n this.visibleSeries().map((entry) => entry.dash ?? ''),\n );\n\n /** The reading each label names, which is what the mark needs: it draws against the scales and\n * never sees the series list. One whose series is hidden or whose reading is missing is\n * dropped rather than left floating over the plot. */\n protected readonly markAnnotations = computed<readonly ChartAnnotation[]>(\n () =>\n this.annotations().flatMap((annotation) => {\n const visible = this.visibleSeries();\n const entry = annotation.seriesId\n ? visible.find(\n (candidate) => candidate.series.id === annotation.seriesId,\n )\n : visible[0];\n const value = entry?.values[annotation.categoryIndex];\n if (!entry || typeof value !== 'number') {\n return [];\n }\n\n return [\n {\n categoryIndex: annotation.categoryIndex,\n value,\n label: annotation.label,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n },\n ];\n }),\n );\n\n protected readonly markAnchor = computed(() =>\n this.tooltipAnchor() === 'pointer'\n ? ('pointer' as const)\n : ('reading' as const),\n );\n\n protected readonly hasSecondaryAxis = computed(() =>\n this.visibleSeries().some((entry) => entry.onSecondaryAxis),\n );\n\n /** The ceiling handed to the container, which raises its own domain to it and never lowers.\n * Unless `rescaleOnHide` says otherwise it is the maximum across EVERY series, so switching\n * one off does not move the gridlines under the ones still drawn. */\n protected readonly axisMax = computed(() =>\n this.rescaleOnHide() ? this.max() : this.ceilingOf(false, this.max()),\n );\n\n protected readonly axisMaxSecondary = computed(() =>\n this.rescaleOnHide()\n ? this.maxSecondary()\n : this.ceilingOf(true, this.maxSecondary()),\n );\n\n private ceilingOf(onSecondaryAxis: boolean, asked: number | null): number {\n const derived = domainMaxOf(\n this.stackedSeries()\n .filter((entry) => entry.onSecondaryAxis === onSecondaryAxis)\n .map((entry) => entry.values),\n );\n\n return asked !== null && Number.isFinite(asked) && asked > derived\n ? asked\n : derived;\n }\n\n /** `--ds-line-chart-plot-height` reaches an SVG coordinate space only as a number, so it is read\n * back off the host rather than applied as CSS. */\n protected readonly plotHeight = signal(DEFAULT_PLOT_HEIGHT);\n\n /** Every state occupies the box the plot would have, so nothing on the page moves when the data\n * lands, the request fails or the last series is switched off. */\n protected readonly viewHeightPx = computed(\n () => `${chartViewHeight(this.plotHeight(), CHART_DEFAULT_VALUE_SPACE)}px`,\n );\n\n protected onPointClicked(reading: {\n series: LineSeriesData;\n categoryIndex: number;\n value: number;\n }): void {\n const series = this.series().find(\n (candidate) => candidate.id === reading.series.id,\n );\n if (!series) {\n return;\n }\n this.pointClicked.emit({\n series,\n categoryIndex: reading.categoryIndex,\n category: this.categories()[reading.categoryIndex] ?? '',\n value: reading.value,\n });\n }\n\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef);\n afterNextRender(() => {\n const parsed = Number.parseFloat(\n getComputedStyle(host.nativeElement).getPropertyValue(\n '--_line-chart-plot-height',\n ),\n );\n if (Number.isFinite(parsed) && parsed > 0) {\n this.plotHeight.set(parsed);\n }\n });\n }\n\n protected readonly isEmpty = computed(\n () => this.series().length === 0 || this.categories().length === 0,\n );\n\n protected readonly showLegend = computed(() => this.series().length > 1);\n\n protected readonly noVisibleSeries = computed(\n () => this.series().length > 0 && this.visibleSeries().length === 0,\n );\n\n /** Placeholder legend rows while loading. Follows the real series count so the\n * chart does not resize when the data lands; falls back to three when `series`\n * is still empty. */\n protected readonly skeletonSeries = computed(() =>\n Array.from({ length: Math.max(this.series().length, 3) }),\n );\n}\n","<figure class=\"line-chart\">\n @if (pinnedCategory()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"releaseCategoryPin()\">\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 <ds-skeleton\n height=\"var(--_line-chart-skeleton-height)\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"category\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [max]=\"axisMax()\"\n [maxSecondary]=\"axisMaxSecondary()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [cursorPin]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"markAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAIO,MAAM,6BAA6B,GAAG,CAAC;AAE9C;;;;AAIiF;SACjE,iBAAiB,CAC/B,IAAgC,EAChC,aAAqB,EACrB,IAAe,EAAA;IAEf,MAAM,MAAM,GACV,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,GAAG;AAChD,UAAE,IAAI,CAAC,KAAK,CAAC,aAAa;UACxB,CAAC;IACP,MAAM,OAAO,GAAsB,EAAE;AACrC,IAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;AAC3C,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,MAAM,OAAO,GACX,OAAO,GAAG,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,IAAI;AAC9D,QAAA,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,KAAK,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC;IACjE;AAEA,IAAA,OAAO,OAAO;AAChB;AAEA;;AAEmE;AAC7D,SAAU,WAAW,CACzB,WAAoD,EAAA;IAEpD,IAAI,GAAG,GAAG,CAAC;AACX,IAAA,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE;AAChC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AA,EAAA,IAAA,EAAA,KAAA,EAAA,YAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,WAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,SAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,gBAAgB,4LA6Ec,cAAc,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE1flD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-components-line-chart.mjs","sources":["../../../src/lib/components/line-chart/line-chart.math.ts","../../../src/lib/components/line-chart/line-chart.component.ts","../../../src/lib/components/line-chart/line-chart.component.html","../../../src/lib/components/line-chart/ids-group-ltd-ids-design-system-components-line-chart.ts"],"sourcesContent":["import type { ChartGaps } from '@ids-group-ltd/ids-design-system/core';\n\nexport type { LinePoint } from '@ids-group-ltd/ids-design-system/components';\n\nexport const LINE_CHART_DEFAULT_TICK_COUNT = 5;\n\n/** One reading per category, however long the series actually was. A series longer\n * than `categories` loses its tail and a shorter one ends early: a line that stops\n * short is a defect the reader can see, while a thrown error takes down the page\n * around it. Anything that is not a finite number is a missing reading, so `NaN`\n * and `Infinity` follow the `gaps` policy rather than reaching a coordinate. */\nexport function alignSeriesValues(\n data: readonly (number | null)[],\n categoryCount: number,\n gaps: ChartGaps,\n): (number | null)[] {\n const length =\n Number.isFinite(categoryCount) && categoryCount > 0\n ? Math.floor(categoryCount)\n : 0;\n const aligned: (number | null)[] = [];\n for (let index = 0; index < length; index++) {\n const raw = data[index];\n const reading =\n typeof raw === 'number' && Number.isFinite(raw) ? raw : null;\n aligned.push(reading === null && gaps === 'zero' ? 0 : reading);\n }\n\n return aligned;\n}\n\n/** Largest finite reading across the given series, or zero. Never negative: this\n * feeds the ceiling handed to `ds-chart`, which raises its domain and never lowers\n * it, so a negative here would pin an axis below its own data. */\nexport function domainMaxOf(\n valueGroups: readonly (readonly (number | null)[])[],\n): number {\n let max = 0;\n for (const values of valueGroups) {\n for (const value of values) {\n if (value !== null && Number.isFinite(value) && value > max) {\n max = value;\n }\n }\n }\n\n return max;\n}\n\nexport function paletteIndexFor(\n slot: number | undefined,\n index: number,\n paletteSize: number,\n): number {\n if (!Number.isFinite(paletteSize) || paletteSize < 1) {\n return 0;\n }\n const chosen =\n slot !== undefined && Number.isFinite(slot) && slot >= 1\n ? Math.floor(slot) - 1\n : index;\n\n return ((chosen % paletteSize) + paletteSize) % paletteSize;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n CHART_SERIES_COLORS,\n describeSeries,\n chartRenderGate,\n CHART_RENDER_GATE_PASSED,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nimport {\n CHART_DEFAULT_VALUE_SPACE,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n chartViewHeight,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport type {\n ChartAnnotation,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nimport { formatPercent } from '@ids-group-ltd/ids-design-system/components';\nimport { stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartValueFormat,\n ChartAxisMode,\n ChartGaps,\n ChartCurve,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { ChartLegendComponent } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nimport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nimport { resolveChartDefaults } from '@ids-group-ltd/ids-design-system/components';\nimport type {\n ChartTooltipContext,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nimport {\n LINE_CHART_DEFAULT_TICK_COUNT,\n alignSeriesValues,\n domainMaxOf,\n paletteIndexFor,\n} from './line-chart.math';\n\n/** Matches `--ds-line-chart-plot-height`, for the frame before the first style read and for SSR. */\nconst DEFAULT_PLOT_HEIGHT = 240;\nimport type {\n LineChartAnnotation,\n LineChartStack,\n LineChartReading,\n LineChartSeries,\n} from './line-chart.types';\n\ninterface ResolvedSeries {\n readonly series: LineChartSeries;\n readonly values: readonly (number | null)[];\n /** Where this series' band starts on the value axis, one entry per category. `null` while the\n * chart is unstacked, where every band starts at the baseline. */\n readonly lowerValues: readonly (number | null)[] | null;\n readonly onSecondaryAxis: boolean;\n readonly color: string;\n /** `null` while `patterns` is off, which is what keeps a solid line solid. */\n readonly dash: string | null;\n}\n\n// One dash per palette slot, in the same order the colours are. Slot 1 stays solid so a\n// single-series chart is unchanged by turning patterns on.\nconst SERIES_DASH_ARRAYS = [\n 'none',\n '7 4',\n '2 3',\n '11 4 2 4',\n '1 4',\n '8 3 2 3',\n '4 2',\n '14 5',\n];\n\n@Component({\n selector: 'ds-line-chart',\n standalone: true,\n imports: [\n SkeletonComponent,\n ChartComponent,\n LineSeriesComponent,\n SeriesAnnotationComponent,\n ChartLegendComponent,\n ChartDataTableComponent,\n ],\n templateUrl: './line-chart.component.html',\n styleUrl: './line-chart.component.scss',\n host: {\n '[class.framed]': \"frameResolved() === 'auto'\",\n '[style.--_line-chart-view-height]': 'viewHeightPx()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [{ provide: CHART_RENDER_GATE_PASSED, useValue: true }],\n})\nexport class LineChartComponent {\n protected readonly renderReady = chartRenderGate();\n\n /** X labels. Every series' `data` is read against this length. */\n readonly categories = input.required<readonly string[]>();\n\n /** One line per entry. Every series is read against `categories`, so a series longer than it\n * loses its tail and a shorter one ends early. */\n readonly series = input.required<readonly LineChartSeries[]>();\n\n /** How a secondary axis relates to the primary one. */\n readonly yAxisMode = input<ChartAxisMode>('aligned');\n\n /** Draws a dot at every reading. Off, the dots appear on hover and on focus only. */\n readonly showMarkers = input(true, { transform: booleanAttribute });\n\n /** Lays the lines and their markers on a band of the surface colour. Off where the plot holds\n * nothing for them to cross and the band only separates them from the gridlines. */\n readonly outline = input(true, { transform: booleanAttribute });\n\n /** Labels pinned over their readings, for the points that have to read without a pointer. They\n * are drawn, not announced: the data table already carries every reading, and repeating one in\n * the plot makes a screen reader say it twice. */\n readonly annotations = input<readonly LineChartAnnotation[]>([]);\n\n /** Makes every reading focusable and clickable. A series drawn without markers grows invisible\n * ones so there is something to land on; they appear on hover and on focus.\n *\n * The click output fires whether or not this is set, so a consumer that binds the output and\n * forgets the flag still receives every click. */\n readonly interactive = input(false, { transform: booleanAttribute });\n\n /** The point that was clicked, or activated with Enter or Space. Fires whether or not\n * `interactive` is set. */\n readonly pointClicked = output<LineChartReading>();\n\n /** Holds the crosshair and its tooltip on the category that was clicked, with a pin disc on it,\n * until a second click, Escape or a press outside releases it. Unset falls back to\n * `DS_CONFIG.chart.pinOnClick`, then `true`. `pointClicked` fires either way - pinning is a\n * state, not a handler. */\n readonly pinOnClick = input<boolean | null, unknown>(null, {\n transform: (value) => (value == null ? null : booleanAttribute(value)),\n });\n\n /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the\n * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed\n * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full\n * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark\n * and pays for it with the rest of the chart. */\n readonly dimOthers = input(false, { transform: booleanAttribute });\n\n /** What a `null` reading draws. The default refuses to assert that a missing\n * reading is a zero. */\n readonly gaps = input<ChartGaps>('break');\n\n /** How the line joins its readings. `'linear'` by default, which asserts nothing the data does\n * not say; a curve is a claim about what happened BETWEEN two readings. */\n readonly curve = input<ChartCurve>('linear');\n\n /** How several series share the value axis. Stacking runs per AXIS, so a series on the secondary\n * axis never piles onto one measured against the primary. */\n readonly stack = input<LineChartStack>('none');\n\n /** Names the first axis's unit beside it. On a plot carrying two scales the colour says which\n * line reads which axis and this says what the numbers ARE - and a reader who has neither is\n * left comparing two quantities that may not be comparable at all. */\n readonly yAxisLabel = input<string | null>(null);\n\n /** `yAxisLabel` for the second axis. */\n readonly secondaryAxisLabel = input<string | null>(null);\n\n /** How many value-axis ticks to aim for. A hint, not a count: ticks snap to a round step, so\n * the axis may carry one more or one fewer. */\n readonly tickCount = input(LINE_CHART_DEFAULT_TICK_COUNT, {\n transform: numberAttribute,\n });\n\n /** Whether the chart draws its own bordered, padded box. `'auto'`, the default, draws it;\n * `'none'` leaves the chart bare, for one placed inside a card the page has already drawn.\n * Unset falls back to `DS_CONFIG.chart.frame`, then `'auto'` — whether charts live inside cards\n * is one decision per app rather than per plot. */\n readonly frame = input<ChartFrame | null>(null);\n\n /** How long the tooltip stays after the pointer leaves the mark, in milliseconds. Zero, the\n * default, takes it away at once: a panel that outlives the pointer sits over the plot the\n * reader has moved on to.\n *\n * Raise it only for a panel a reader has to REACH — one carrying a link, a figure, or anything\n * selectable — which is WCAG 1.4.13's hoverable clause. The panel is portaled to the body, so\n * crossing the gap to it at an ordinary pointer speed needs about 140. Unset falls back to\n * `DS_CONFIG.chart.tooltipLingerMs`, then 0. */\n readonly tooltipLingerMs = input<number | null>(null, {\n transform: (raw: unknown) => (raw == null ? null : numberAttribute(raw)),\n });\n /** Printed above the plot as the chart's visible title, and reused as the annex table's\n * caption. */\n readonly caption = input<string | null>(null);\n\n /** Accessible name. Generated from the data when omitted. */\n readonly summary = input<string | null>(null);\n\n /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,\n * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so\n * `'none'` belongs only where the same data is already in a table on the page.\n * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'none'`. */\n readonly dataTable = input<ChartDataTable | null>(null);\n /** Pins the value axis instead of deriving it from the data. A panel opened one subject at a\n * time — one agent, one microsite — derives a different axis for each of them, so two plots with\n * the same gentle wiggle can be four times apart in value and nothing on screen says so. A fixed\n * maximum is what makes two renders comparable.\n *\n * Null, the default, keeps the derived axis. Applies to the primary axis; `maxSecondary` pins\n * the second one where a series sets `axis: 'secondary'`. A maximum below the data does not clip\n * it — the larger of the two wins, because silently hiding a reading is worse than a taller axis\n * than you asked for. */\n readonly max = input<number | null>(null);\n\n /** Pins the secondary value axis. See `max`. */\n readonly maxSecondary = input<number | null>(null);\n\n /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize\n * when the data lands. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Shown in place of the plot when `data` is empty. Unset falls back to\n * `DS_INTL.chart.empty`. */\n readonly emptyText = input<string | null>(null);\n\n /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,\n * because \"the request failed\" and \"there is nothing to show\" read the same to a reader and\n * mean opposite things. */\n readonly error = input(false, { transform: booleanAttribute });\n\n /** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */\n readonly errorText = input<string | null>(null);\n /** Formats every value the chart prints, the annex table and the generated description\n * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /\n * `LOCALE_ID`. */\n readonly valueFormat = input<ChartValueFormat | null>(null);\n\n private readonly defaults = resolveChartDefaults(this);\n protected readonly intl = inject(DS_INTL);\n readonly frameResolved = this.defaults.frame;\n readonly dataTableResolved = this.defaults.dataTable;\n readonly emptyTextResolved = this.defaults.emptyText;\n readonly errorTextResolved = this.defaults.errorText;\n readonly valueFormatResolved = this.defaults.valueFormat;\n\n protected readonly resolvedSeries = computed<readonly ResolvedSeries[]>(\n () => {\n const categoryCount = this.categories().length;\n const gaps = this.gaps();\n\n const patterns = this.patterns();\n\n return this.series().map((series, index) => {\n const slot = paletteIndexFor(\n series.slot,\n index,\n CHART_SERIES_COLORS.length,\n );\n\n return {\n series,\n values: alignSeriesValues(series.data, categoryCount, gaps),\n lowerValues: null,\n onSecondaryAxis: series.axis === 'secondary',\n color: CHART_SERIES_COLORS[slot],\n dash: patterns ? SERIES_DASH_ARRAYS[slot] : null,\n };\n });\n },\n );\n\n /** Ids of the series the legend has switched off. Two-way, so a page can drive it from a URL\n * parameter and read back what the reader chose. */\n readonly hiddenSeries = model<readonly string[]>([]);\n\n /** Whether hiding a series re-scales the value axis to what is left. Default `false`: a silent\n * rescale turns a period-over-period comparison into a different claim, and a comparison\n * dashboard is the common case. */\n readonly rescaleOnHide = input(false, { transform: booleanAttribute });\n\n /** Whether the legend switches series off. Off leaves it a plain key. */\n readonly legendFilters = input(false, { transform: booleanAttribute });\n\n /** What a legend control does. `'isolate'` shows one series and hides the rest — one action to\n * answer \"show me only this\" rather than one per series. `'toggle'` hides one and leaves the\n * rest, for taking a dominant series out so the others can be read at a usable scale.\n * Forwarded to `ds-chart-legend`, which renders radios for the first and checkboxes for the\n * second. */\n readonly legendMode = input<'toggle' | 'isolate'>('isolate');\n\n /** Shown in place of the plot once the legend has switched every series off. Without it the\n * reader is left with an empty grid and nothing saying why. Unset falls back to\n * `DS_INTL.chart.noVisibleSeries`. */\n readonly noVisibleSeriesText = input<string | null>(null);\n\n readonly noVisibleSeriesTextResolved = computed(\n () => this.noVisibleSeriesText() ?? this.intl().chart.noVisibleSeries,\n );\n\n /** Gives every series a dash pattern of its own, so the lines are told apart by shape as well\n * as by colour — WCAG technique G111. Off by default: the shipped palette clears the\n * colour-blind separation threshold on its own, so the patterns are for monochrome print, for a\n * retuned palette, and for a reader who asks for them. */\n readonly patterns = input(false, { transform: booleanAttribute });\n\n /** Milliseconds between one series' entrance and the next. `0` turns the stagger off. The step\n * narrows so the last series still starts within the stagger budget, so a long list of series\n * does not crawl in. */\n readonly staggerMs = input(40, { transform: numberAttribute });\n\n protected readonly highlightedSeries = signal<string | null>(null);\n\n /** Every series with its band's own span, stacked per axis. Hiding a series does NOT re-pile the\n * rest, for the same reason `rescaleOnHide` defaults off: switching one off must not move the\n * ones still drawn. A `null` stays a hole in the line and contributes nothing to the pile. */\n protected readonly stackedSeries = computed<readonly ResolvedSeries[]>(() => {\n const mode = this.stack();\n const entries = this.resolvedSeries();\n if (mode === 'none') {\n return entries;\n }\n\n const spans = new Map<ResolvedSeries, { from: number; to: number }[]>();\n for (const secondary of [false, true]) {\n const onThisAxis = entries.filter(\n (entry) => entry.onSecondaryAxis === secondary,\n );\n const offsets = stackOffsets(\n onThisAxis.map((entry) => entry.values.map((value) => value ?? 0)),\n mode,\n );\n onThisAxis.forEach((entry, index) =>\n spans.set(entry, [...offsets[index]]),\n );\n }\n\n return entries.map((entry) => {\n const span = spans.get(entry);\n if (!span) {\n return entry;\n }\n\n return {\n ...entry,\n values: entry.values.map((value, category) =>\n value === null ? null : span[category].to,\n ),\n lowerValues: entry.values.map((value, category) =>\n value === null ? null : span[category].from,\n ),\n };\n });\n });\n\n protected readonly visibleSeries = computed<readonly ResolvedSeries[]>(() => {\n const hidden = this.hiddenSeries();\n\n return this.stackedSeries().filter(\n (entry) => !hidden.includes(entry.series.id),\n );\n });\n\n protected readonly legendItems = computed<readonly ChartLegendItem[]>(() =>\n this.resolvedSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n color: entry.color,\n })),\n );\n\n /** A normalized stack draws shares, not readings, so the axis has to say so - the value a tooltip\n * or the annex table prints stays the reading, which is what `valueFormat` goes on formatting. */\n protected readonly axisFormat = computed<ChartValueFormat>(() =>\n this.stack() === 'normalized'\n ? (value: number) => formatPercent(value, 1, this.defaults.locale)\n : this.valueFormatResolved(),\n );\n\n /** Each axis takes the colour of the series measured against it, but only where two scales share\n * one plot: on a single-scale chart it would restate the marks' own colour in the furniture,\n * and under `'split'` the two plots are already apart. The chart knows its own series colours,\n * so this is derived rather than asked for. */\n private readonly axisTint = computed(() => {\n if (!this.hasSecondaryAxis() || this.yAxisMode() === 'split') {\n return { primary: null, secondary: null };\n }\n const find = (onSecondaryAxis: boolean) =>\n this.visibleSeries().find(\n (entry) => entry.onSecondaryAxis === onSecondaryAxis,\n )?.color ?? null;\n\n return { primary: find(false), secondary: find(true) };\n });\n\n protected readonly primaryAxisFill = computed(() => this.axisTint().primary);\n\n protected readonly secondaryAxisFill = computed(\n () => this.axisTint().secondary,\n );\n\n protected readonly stacksSeries = computed(() => this.stack() !== 'none');\n\n protected readonly tooltipLingerResolved = this.defaults.tooltipLingerMs;\n\n /** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the\n * category under the pointer, which is the reading a multi-series line is compared on;\n * `'item'` names only the marker itself. */\n readonly tooltip = input<ChartTooltipTrigger>('axis');\n\n protected readonly tooltipTemplate =\n contentChild<TemplateRef<{ $implicit: ChartTooltipContext }>>(\n 'dsChartTooltip',\n );\n\n /** Where the tooltip is pinned. `'point'`, the default, is the highest reading in the category,\n * so the panel stays put while the pointer moves within one band. `'pointer'` follows the\n * cursor. */\n readonly tooltipAnchor = input<'point' | 'pointer'>('point');\n\n protected readonly dataTableColumns = computed<readonly string[]>(() => [\n this.intl().chart.categoryColumn,\n ...this.resolvedSeries().map((entry) => entry.series.label),\n ]);\n\n protected readonly dataTableRows = computed<readonly ChartDataRow[]>(() =>\n this.tableRows().map((row) => ({\n key: row.category,\n cells: [row.category, ...row.cells],\n })),\n );\n\n protected readonly tableRows = computed(() => {\n const format = this.valueFormatResolved();\n\n return this.categories().map((category, index) => ({\n category,\n cells: this.resolvedSeries().map((entry) => {\n const value = entry.values[index];\n\n return value === null || value === undefined\n ? '—'\n : format(value, 'tooltip');\n }),\n }));\n });\n\n protected readonly accessibleName = computed(() => {\n const summary = this.summary();\n if (summary !== null) {\n return summary;\n }\n\n const words = this.intl().chart;\n const title = this.caption() ?? words.title;\n const format = (value: number) =>\n this.valueFormatResolved()(value, 'tooltip');\n const categories = this.categories();\n // The pointer belongs to the WHOLE chart, not to each series, or a two-series plot promises\n // the table twice.\n const sentences = this.resolvedSeries().map((entry) =>\n describeSeries(\n words,\n entry.series.label,\n entry.values.flatMap((value, index) =>\n value === null ? [] : [{ label: categories[index] ?? '', value }],\n ),\n format,\n false,\n ),\n );\n const pointer =\n this.dataTableResolved() === 'none' ? '' : ` ${words.tableFollows}`;\n // The plot's own text is inside an `aria-hidden` svg, so an annotation a sighted reader takes\n // as the point of the chart would otherwise reach nobody else.\n const notes = this.markAnnotations().map((note) => note.label);\n const noted = notes.length ? ` ${words.noted(notes)}` : '';\n\n return sentences.length === 0\n ? describeSeries(\n words,\n title,\n [],\n format,\n this.dataTableResolved() !== 'none',\n )\n : `${title}. ${sentences.join(' ')}${noted}${pointer}`;\n });\n\n private readonly plot = viewChild(ChartComponent);\n\n /** Whether the category cursor is held. Read off the container, which owns the pin now that it\n * owns the cursor. */\n protected readonly pinnedCategory = computed(\n () => this.plot()?.cursorPinned() ?? false,\n );\n\n protected releaseCategoryPin(): void {\n this.plot()?.releaseCursor();\n }\n\n /** What the series mark draws: the stacked values, the hidden series already filtered out. */\n protected readonly markSeries = computed<readonly LineSeriesData[]>(() =>\n this.visibleSeries().map((entry) => ({\n id: entry.series.id,\n label: entry.series.label,\n data: entry.values,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n area: entry.series.area,\n lower: entry.lowerValues ?? undefined,\n color: entry.color,\n })),\n );\n\n protected readonly dashPatterns = computed<readonly string[]>(() =>\n this.visibleSeries().map((entry) => entry.dash ?? ''),\n );\n\n /** The reading each label names, which is what the mark needs: it draws against the scales and\n * never sees the series list. One whose series is hidden or whose reading is missing is\n * dropped rather than left floating over the plot. */\n protected readonly markAnnotations = computed<readonly ChartAnnotation[]>(\n () =>\n this.annotations().flatMap((annotation) => {\n const visible = this.visibleSeries();\n const entry = annotation.seriesId\n ? visible.find(\n (candidate) => candidate.series.id === annotation.seriesId,\n )\n : visible[0];\n const value = entry?.values[annotation.categoryIndex];\n if (!entry || typeof value !== 'number') {\n return [];\n }\n\n return [\n {\n categoryIndex: annotation.categoryIndex,\n value,\n label: annotation.label,\n axis: entry.onSecondaryAxis\n ? ('secondary' as const)\n : ('primary' as const),\n },\n ];\n }),\n );\n\n protected readonly markAnchor = computed(() =>\n this.tooltipAnchor() === 'pointer'\n ? ('pointer' as const)\n : ('reading' as const),\n );\n\n protected readonly hasSecondaryAxis = computed(() =>\n this.visibleSeries().some((entry) => entry.onSecondaryAxis),\n );\n\n /** The ceiling handed to the container, which raises its own domain to it and never lowers.\n * Unless `rescaleOnHide` says otherwise it is the maximum across EVERY series, so switching\n * one off does not move the gridlines under the ones still drawn. */\n protected readonly axisMax = computed(() =>\n this.rescaleOnHide() ? this.max() : this.ceilingOf(false, this.max()),\n );\n\n protected readonly axisMaxSecondary = computed(() =>\n this.rescaleOnHide()\n ? this.maxSecondary()\n : this.ceilingOf(true, this.maxSecondary()),\n );\n\n private ceilingOf(onSecondaryAxis: boolean, asked: number | null): number {\n const derived = domainMaxOf(\n this.stackedSeries()\n .filter((entry) => entry.onSecondaryAxis === onSecondaryAxis)\n .map((entry) => entry.values),\n );\n\n return asked !== null && Number.isFinite(asked) && asked > derived\n ? asked\n : derived;\n }\n\n /** `--ds-line-chart-plot-height` reaches an SVG coordinate space only as a number, so it is read\n * back off the host rather than applied as CSS. */\n protected readonly plotHeight = signal(DEFAULT_PLOT_HEIGHT);\n\n /** Every state occupies the box the plot would have, so nothing on the page moves when the data\n * lands, the request fails or the last series is switched off. */\n protected readonly viewHeightPx = computed(\n () => `${chartViewHeight(this.plotHeight(), CHART_DEFAULT_VALUE_SPACE)}px`,\n );\n\n protected onPointClicked(reading: {\n series: LineSeriesData;\n categoryIndex: number;\n value: number;\n }): void {\n const series = this.series().find(\n (candidate) => candidate.id === reading.series.id,\n );\n if (!series) {\n return;\n }\n this.pointClicked.emit({\n series,\n categoryIndex: reading.categoryIndex,\n category: this.categories()[reading.categoryIndex] ?? '',\n value: reading.value,\n });\n }\n\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef);\n afterNextRender(() => {\n const parsed = Number.parseFloat(\n getComputedStyle(host.nativeElement).getPropertyValue(\n '--_line-chart-plot-height',\n ),\n );\n if (Number.isFinite(parsed) && parsed > 0) {\n this.plotHeight.set(parsed);\n }\n });\n }\n\n protected readonly isEmpty = computed(\n () => this.series().length === 0 || this.categories().length === 0,\n );\n\n protected readonly showLegend = computed(() => this.series().length > 1);\n\n protected readonly noVisibleSeries = computed(\n () => this.series().length > 0 && this.visibleSeries().length === 0,\n );\n\n /** Placeholder legend rows while loading. Follows the real series count so the\n * chart does not resize when the data lands; falls back to three when `series`\n * is still empty. */\n protected readonly skeletonSeries = computed(() =>\n Array.from({ length: Math.max(this.series().length, 3) }),\n );\n}\n","<figure class=\"line-chart\">\n @if (pinnedCategory()) {\n <button\n class=\"pin-reset\"\n type=\"button\"\n (click)=\"releaseCategoryPin()\">\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 <ds-skeleton\n height=\"var(--_line-chart-skeleton-height)\"\n [shimmer]=\"loading()\" />\n\n @if (skeletonSeries().length > 1) {\n <div class=\"skeleton-legend\">\n @for (placeholder of skeletonSeries(); track $index) {\n <ds-skeleton\n width=\"var(--space-16)\"\n height=\"var(--space-3)\"\n [shimmer]=\"loading()\" />\n }\n </div>\n }\n </div>\n } @else if (isEmpty()) {\n <p class=\"empty\">\n {{ emptyTextResolved() }}\n </p>\n } @else if (noVisibleSeries()) {\n <p\n class=\"empty\"\n role=\"status\">\n {{ noVisibleSeriesTextResolved() }}\n </p>\n\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n } @else {\n <ds-chart\n frame=\"none\"\n cursor=\"category\"\n [tooltipTemplate]=\"tooltipTemplate() ?? null\"\n [categories]=\"categories()\"\n [tickCount]=\"tickCount()\"\n [valueFormat]=\"axisFormat()\"\n [interactive]=\"interactive()\"\n [summary]=\"accessibleName()\"\n [max]=\"axisMax()\"\n [maxSecondary]=\"axisMaxSecondary()\"\n [secondaryAxisMode]=\"yAxisMode()\"\n [axisLabel]=\"yAxisLabel()\"\n [secondaryAxisLabel]=\"secondaryAxisLabel()\"\n [axisColor]=\"primaryAxisFill()\"\n [secondaryAxisColor]=\"secondaryAxisFill()\"\n [cursorPin]=\"pinOnClick()\"\n [tooltipLingerMs]=\"tooltipLingerMs()\"\n [plotHeight]=\"plotHeight()\">\n <svg:g\n #mark=\"dsLineSeries\"\n dsLineSeries\n [data]=\"markSeries()\"\n [showMarkers]=\"showMarkers()\"\n [outline]=\"outline()\"\n [interactive]=\"interactive()\"\n [pinOnClick]=\"pinOnClick()\"\n [dimOthers]=\"dimOthers()\"\n [highlighted]=\"highlightedSeries()\"\n [patterns]=\"dashPatterns()\"\n [stacked]=\"stacksSeries()\"\n [staggerMs]=\"staggerMs()\"\n [gaps]=\"gaps()\"\n [curve]=\"curve()\"\n [tooltip]=\"tooltip()\"\n [tooltipAnchor]=\"markAnchor()\"\n [tooltipLingerMs]=\"tooltipLingerResolved()\"\n [valueFormat]=\"valueFormatResolved()\"\n (pointClicked)=\"onPointClicked($event)\" />\n\n @if (markAnnotations().length) {\n <svg:g\n dsSeriesAnnotation\n [annotations]=\"markAnnotations()\" />\n }\n </ds-chart>\n\n @if (showLegend()) {\n <ds-chart-legend\n [items]=\"legendItems()\"\n [toggleable]=\"legendFilters()\"\n [mode]=\"legendMode()\"\n [(hidden)]=\"hiddenSeries\"\n [(highlighted)]=\"highlightedSeries\" />\n }\n\n @if (dataTableResolved() !== 'none') {\n <ds-chart-data-table\n [columns]=\"dataTableColumns()\"\n [rows]=\"dataTableRows()\"\n [caption]=\"caption()\"\n [open]=\"dataTableResolved() === 'visible'\" />\n }\n }\n</figure>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAIO,MAAM,6BAA6B,GAAG,CAAC;AAE9C;;;;AAIiF;SACjE,iBAAiB,CAC/B,IAAgC,EAChC,aAAqB,EACrB,IAAe,EAAA;IAEf,MAAM,MAAM,GACV,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,GAAG;AAChD,UAAE,IAAI,CAAC,KAAK,CAAC,aAAa;UACxB,CAAC;IACP,MAAM,OAAO,GAAsB,EAAE;AACrC,IAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,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AA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,SAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,gBAAgB,4LA6Ec,cAAc,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE5flD;;AAEG;;;;"}
|
|
@@ -9,6 +9,7 @@ import { IconComponent } from '@ids-group-ltd/ids-design-system/icons';
|
|
|
9
9
|
import { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';
|
|
10
10
|
import { TagComponent } from '@ids-group-ltd/ids-design-system/components/tag';
|
|
11
11
|
import { FieldMessageComponent } from '@ids-group-ltd/ids-design-system/components/field-message';
|
|
12
|
+
import { TooltipDirective } from '@ids-group-ltd/ids-design-system/components/tooltip';
|
|
12
13
|
import { DS_INTL, resolveWithConfig, flattenDsOptions, isDsOptionGroup, firstEnabledIndex, lastEnabledIndex, nextEnabledIndex } from '@ids-group-ltd/ids-design-system/core';
|
|
13
14
|
import { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';
|
|
14
15
|
|
|
@@ -376,7 +377,7 @@ class MultiSelectComponent extends DsControlValueAccessor {
|
|
|
376
377
|
constructor() {
|
|
377
378
|
super();
|
|
378
379
|
scrollActiveOptionIntoView(this.activeDescendant, this.scrollActiveIntoView, this.cursorFromKeyboard);
|
|
379
|
-
announceOptionCount(computed(() => this.filteredOptions().length), this.open);
|
|
380
|
+
announceOptionCount(computed(() => this.filteredOptions().length), computed(() => this.open() && this.showsSearch()));
|
|
380
381
|
}
|
|
381
382
|
onFilter(event) {
|
|
382
383
|
const typed = event.target.value;
|
|
@@ -582,7 +583,7 @@ class MultiSelectComponent extends DsControlValueAccessor {
|
|
|
582
583
|
useExisting: forwardRef(() => MultiSelectComponent),
|
|
583
584
|
multi: true,
|
|
584
585
|
},
|
|
585
|
-
], queries: [{ propertyName: "optionTemplate", first: true, predicate: DsOptionTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "chipTemplate", first: true, predicate: DsChipTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "pickerTrigger", first: true, predicate: DsPickerTriggerDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "panelHeaderTemplate", first: true, predicate: DsPanelHeaderTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "panelFooterTemplate", first: true, predicate: DsPanelFooterTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "groupLabelTemplate", first: true, predicate: DsGroupLabelTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: DsEmptyTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "searchInput", first: true, predicate: ["search"], descendants: true, isSignal: true }, { propertyName: "panelTpl", first: true, predicate: ["panel"], descendants: true, isSignal: true }, { propertyName: "chipRow", first: true, predicate: ["chipRow"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (label()) {\n <span\n class=\"label\"\n [id]=\"labelId\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </span>\n}\n\n<div\n #trigger\n aria-haspopup=\"listbox\"\n role=\"combobox\"\n [class]=\"'field-trigger ' + sizeResolved()\"\n [class.open]=\"open()\"\n [class.disabled]=\"isDisabled()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"hintId()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-labelledby]=\"label() ? labelId : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-readonly]=\"isReadOnly() ? 'true' : null\"\n [attr.name]=\"name()\"\n [attr.aria-activedescendant]=\"triggerActiveDescendant()\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n (click)=\"onTriggerClick()\"\n (keydown)=\"onTriggerKeydown($event)\">\n @if (pickerTrigger(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: selectedOptions(),\n selected: selectedOptions(),\n count: selectedOptions().length,\n open: open(),\n disabled: isDisabled(),\n }\" />\n } @else if (showsCompactTrigger()) {\n <span class=\"trigger-caption\">\n {{ triggerCaption() }}\n </span>\n\n @if (triggerDisplay() === 'labels' && selectedOptions().length > 0) {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <span\n data-chip\n class=\"trigger-label\">\n {{ option.label }}\n </span>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n +{{ overflowCount() }}\n </span>\n }\n </span>\n } @else if (selectedOptions().length > 0) {\n <ds-badge\n [count]=\"selectedOptions().length\"\n [countLabel]=\"intl().picker.selectedNoun\" />\n }\n } @else if (selectedOptions().length === 0) {\n <span class=\"placeholder\">\n {{ placeholderResolved() }}\n </span>\n } @else {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <ds-tag\n data-chip\n variant=\"neutral\"\n closable\n [closeLabel]=\"intl().picker.removeChip(option.label)\"\n (closed)=\"removeValue(option.value)\">\n @if (chipTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </ds-tag>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n {{ intl().picker.moreChips(overflowCount()) }}\n </span>\n }\n </span>\n }\n\n @if (\n clearable() &&\n selectedOptions().length > 0 &&\n !isDisabled() &&\n !isReadOnly()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().picker.clearSelection\"\n (click)=\"clearValue($event)\">\n <ds-icon\n name=\"x\"\n [size]=\"14\" />\n </button>\n }\n\n <ds-icon\n class=\"chevron\"\n name=\"chevronDown\"\n [size]=\"18\" />\n</div>\n\n<ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n<ng-template #panel>\n <div class=\"dropdown-panel\">\n @if (panelHeaderTemplate(); as tpl) {\n <div class=\"panel-header\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n\n @if (showsSearch()) {\n <div class=\"search-row\">\n <ds-icon\n class=\"search-icon\"\n name=\"search\"\n [size]=\"16\" />\n\n <input\n #search\n type=\"text\"\n class=\"search-input\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-expanded=\"true\"\n autocomplete=\"off\"\n spellcheck=\"false\"\n [placeholder]=\"searchPlaceholderResolved()\"\n [value]=\"filter()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilter($event)\"\n (keydown)=\"onSearchKeydown($event)\" />\n </div>\n }\n\n @if (showsPanelSelectAll() && filteredOptions().length) {\n <button\n type=\"button\"\n class=\"select-all\"\n role=\"checkbox\"\n [attr.aria-checked]=\"\n allFilteredSelected()\n ? 'true'\n : someFilteredSelected()\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleSelectAll()\">\n <span\n class=\"checkbox\"\n [class.checked]=\"allFilteredSelected()\"\n [class.indeterminate]=\"someFilteredSelected()\">\n <span class=\"tick\"></span>\n </span>\n\n <span class=\"select-all-label\">\n {{ intl().picker.selectAll }}\n </span>\n </button>\n }\n\n <ul\n class=\"dropdown-list\"\n role=\"listbox\"\n aria-multiselectable=\"true\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [id]=\"listboxId\">\n @for (item of filteredItems(); track $index; let itemIdx = $index) {\n @if (isGroup(item)) {\n <li\n class=\"optgroup\"\n role=\"group\"\n [attr.aria-label]=\"item.label\">\n <span\n class=\"optgroup-label\"\n [class.is-first]=\"itemIdx === 0\">\n @if (groupLabelTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: item,\n group: item,\n count: item.options.length,\n }\" />\n } @else {\n {{ item.label }}\n }\n </span>\n\n @if (showsGroupSelectAll()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"select-all group\"\n role=\"option\"\n [disabled]=\"item.disabled\"\n [attr.aria-selected]=\"groupAllSelected(item)\"\n [attr.aria-checked]=\"\n groupAllSelected(item)\n ? 'true'\n : groupSomeSelected(item)\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleGroup(item)\">\n <span\n class=\"checkbox\"\n [class.checked]=\"groupAllSelected(item)\"\n [class.indeterminate]=\"groupSomeSelected(item)\">\n <span class=\"tick\"></span>\n </span>\n\n {{ intl().picker.selectAllInGroup(item.label) }}\n </button>\n }\n\n <ul\n class=\"optgroup-list\"\n role=\"presentation\">\n @for (option of item.options; track option.value) {\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n </ul>\n </li>\n } @else {\n @let option = item;\n\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n }\n\n @if (loading()) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n <ds-spinner size=\"sm\" />\n </li>\n } @else if (filteredOptions().length === 0) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: filter(),\n query: filter(),\n }\" />\n } @else {\n {{ intl().picker.noMatches }}\n }\n </li>\n }\n </ul>\n\n @if (panelFooterTemplate(); as tpl) {\n <div class=\"panel-footer\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n </div>\n</ng-template>\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{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));display:flex;flex-direction:column;gap:var(--field-label-gap);--ds-dropdown-panel-bg-color: var(--ds-multi-select-panel-bg-color, initial);--_multi-select-bg-color: var(--ds-multi-select-bg-color, var(--surface-default));--_multi-select-border-color: var(--ds-multi-select-border-color, var(--_field-border-color));--_multi-select-radius: var(--ds-multi-select-radius, var(--ds-radius-control));--_multi-select-text-color: var(--ds-multi-select-text-color, var(--_field-text-color));--_multi-select-border-color-focus: var(--ds-multi-select-border-color-focus, var(--_field-border-color-focus));--_multi-select-border-color-hover: var(--ds-multi-select-border-color-hover, var(--_field-border-color-hover));--_multi-select-placeholder-color: var(--ds-multi-select-placeholder-color, var(--_field-placeholder-color));--_multi-select-font-size: var(--ds-multi-select-font-size, var(--_field-font-size))}:host(.content-width){width:fit-content}:host(.compact-trigger){width:fit-content}:host(.compact-trigger) .field-trigger{padding:var(--space-1) var(--space-2-5);gap:var(--space-1-5)}:host(.compact-trigger) .trigger-caption{font-weight:var(--font-weight-medium);white-space:nowrap}:host(.compact-trigger):has(ds-badge) .field-trigger,:host(.compact-trigger):has(.trigger-label) .field-trigger{border-color:var(--accent)}:host(.compact-trigger) .trigger-label{color:var(--text-secondary);white-space:nowrap}:host(.compact-trigger) .trigger-label:not(:last-child):after{content:\",\"}.field-trigger{display:flex;flex-wrap:wrap}.field-trigger .clear-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--icon-default);border-radius:var(--ds-radius-inner);padding:var(--space-0-5);cursor:pointer;flex:0 0 auto}.field-trigger .clear-btn:hover{color:var(--text-primary);background:var(--surface-secondary)}.field-trigger .clear-btn:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field-trigger:has(>.chip-row.fit){flex-wrap:nowrap}.field-trigger{align-items:center;gap:var(--space-1-5);--_field-height: var(--ds-field-height, var(--field-h-md));min-height:var(--_field-height)}.field-trigger.sm{--_field-height: var(--ds-field-height, var(--field-h-sm));min-height:var(--_field-height)}.field-trigger.lg{--_field-height: var(--ds-field-height, var(--field-h-lg));min-height:var(--_field-height)}.field-trigger{padding:var(--space-1-5) var(--field-pad-x);background-color:var(--_multi-select-bg-color);border:var(--border-width-default) solid var(--_multi-select-border-color);border-radius:var(--_multi-select-radius);color:var(--_multi-select-text-color);font:var(--font-weight-regular) var(--_multi-select-font-size)/var(--line-height-base) var(--font-sans);cursor:pointer;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}.field-trigger:hover:not(.disabled){border-color:var(--_multi-select-border-color-hover)}@media not (forced-colors:active){.field-trigger.open,.field-trigger:focus-visible{outline:none}}.field-trigger.open,.field-trigger:focus-visible{border-color:var(--_multi-select-border-color-focus);box-shadow:var(--accent-focus-field)}.field-trigger.disabled{background-color:var(--surface-muted);color:var(--text-disabled);cursor:not-allowed}.label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.placeholder{color:var(--_multi-select-placeholder-color)}.chip-row{display:contents}.chip-row.fit{display:flex;flex-wrap:nowrap;align-items:center;min-width:0;overflow:hidden;gap:inherit}.chip-row.fit>*{flex:0 1 auto;min-width:0;white-space:nowrap}.overflow{color:var(--text-secondary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-xs)}.chevron{margin-left:auto;color:var(--text-tertiary)}.dropdown-panel{--ds-option-bg-color-active: var( --ds-multi-select-option-bg-color-active, var(--surface-secondary) );--_multi-select-check-bg-color: var(--ds-multi-select-check-bg-color, var(--accent))}.search-row{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner)}.search-row:focus-within{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@media not (forced-colors:active){.search-row .search-input:where(:focus-visible){outline:none}}.search-icon{color:var(--text-tertiary);flex:none}.search-input{flex:1;min-width:0;border:0;background:transparent;color:var(--text-primary);font:var(--font-weight-regular) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.select-all-label{min-width:0;overflow:clip;overflow-clip-margin:var(--space-1);text-overflow:ellipsis;white-space:nowrap}.select-all{display:flex;align-items:center;gap:var(--ds-option-gap, var(--space-2));width:100%;padding:var(--ds-option-padding, var(--space-2) var(--space-2-5));border:0;border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner) var(--ds-radius-inner) 0 0;background:transparent;color:var(--text-secondary);font:var(--font-weight-semibold) var(--font-size-xs)/var(--line-height-flat) var(--font-sans);text-transform:uppercase;letter-spacing:var(--letter-spacing-wide);text-align:left;cursor:pointer}.select-all:hover:not(:disabled){background-color:var(--surface-secondary)}.select-all:active:not(:disabled){background-color:var(--surface-muted)}.select-all:disabled{color:var(--text-disabled);cursor:not-allowed}.checkbox{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--check-size);height:var(--check-size);border-radius:var(--ds-radius-inner);border:var(--check-bw) solid var(--border-strong);background-color:var(--surface-default);color:var(--text-on-primary)}.checkbox.checked,.checkbox.indeterminate{background-color:var(--_multi-select-check-bg-color);border-color:var(--_multi-select-check-bg-color)}.checkbox .tick{--_check-mark-enter-duration: var(--ds-check-mark-enter-duration, var(--ds-motion-check-enter-duration));--_check-mark-enter-easing: var(--ds-check-mark-enter-easing, var(--ds-motion-check-enter-easing));--_check-mark-exit-duration: var(--ds-check-mark-exit-duration, var(--ds-motion-check-exit-duration));--_check-mark-exit-easing: var(--ds-check-mark-exit-easing, var(--ds-motion-check-exit-easing));width:var(--check-tick-size);height:var(--check-tick-size);transform:scale(.6);opacity:0;transform-origin:center;transition:transform var(--_check-mark-exit-duration) var(--_check-mark-exit-easing),opacity var(--_check-mark-exit-duration) var(--_check-mark-exit-easing);background-color:currentcolor}@media(forced-colors:active){.checkbox .tick{background-color:CanvasText}}.checkbox .tick{-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat}.checkbox.checked .tick,.checkbox.indeterminate .tick{transform:scale(1);opacity:1;transition:transform var(--_check-mark-enter-duration) var(--_check-mark-enter-easing),opacity var(--_check-mark-enter-duration) var(--_check-mark-enter-easing)}.checkbox.indeterminate .tick{width:var(--check-indet-w);height:var(--check-indet-h);border-radius:var(--ds-radius-inner);-webkit-mask:none;mask:none}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--error);background-color:var(--error-subtitle)}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--success)}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }, { kind: "component", type: SpinnerComponent, selector: "ds-spinner", inputs: ["size"] }, { kind: "component", type: TagComponent, selector: "ds-tag", inputs: ["variant", "closable", "interactive", "selected", "closeLabel"], outputs: ["closed", "toggled"] }, { kind: "component", type: BadgeComponent, selector: "ds-badge", inputs: ["status", "withDot", "solid", "count", "max", "countLabel"] }, { kind: "component", type: FieldMessageComponent, selector: "ds-field-message", inputs: ["text", "state", "messageId", "icon", "reserve"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
586
|
+
], queries: [{ propertyName: "optionTemplate", first: true, predicate: DsOptionTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "chipTemplate", first: true, predicate: DsChipTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "pickerTrigger", first: true, predicate: DsPickerTriggerDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "panelHeaderTemplate", first: true, predicate: DsPanelHeaderTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "panelFooterTemplate", first: true, predicate: DsPanelFooterTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "groupLabelTemplate", first: true, predicate: DsGroupLabelTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: DsEmptyTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "searchInput", first: true, predicate: ["search"], descendants: true, isSignal: true }, { propertyName: "panelTpl", first: true, predicate: ["panel"], descendants: true, isSignal: true }, { propertyName: "chipRow", first: true, predicate: ["chipRow"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (label()) {\n <span\n class=\"label\"\n [id]=\"labelId\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </span>\n}\n\n<div\n #trigger\n aria-haspopup=\"listbox\"\n role=\"combobox\"\n [class]=\"'field-trigger ' + sizeResolved()\"\n [class.open]=\"open()\"\n [class.disabled]=\"isDisabled()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"hintId()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-labelledby]=\"label() ? labelId : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-readonly]=\"isReadOnly() ? 'true' : null\"\n [attr.name]=\"name()\"\n [attr.aria-activedescendant]=\"triggerActiveDescendant()\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n (click)=\"onTriggerClick()\"\n (keydown)=\"onTriggerKeydown($event)\">\n @if (pickerTrigger(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: selectedOptions(),\n selected: selectedOptions(),\n count: selectedOptions().length,\n open: open(),\n disabled: isDisabled(),\n }\" />\n } @else if (showsCompactTrigger()) {\n <span class=\"trigger-caption\">\n {{ triggerCaption() }}\n </span>\n\n @if (triggerDisplay() === 'labels' && selectedOptions().length > 0) {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <span\n data-chip\n class=\"trigger-label\">\n {{ option.label }}\n </span>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n +{{ overflowCount() }}\n </span>\n }\n </span>\n } @else if (selectedOptions().length > 0) {\n <ds-badge\n [count]=\"selectedOptions().length\"\n [countLabel]=\"intl().picker.selectedNoun\" />\n }\n } @else if (selectedOptions().length === 0) {\n <span class=\"placeholder\">\n {{ placeholderResolved() }}\n </span>\n } @else {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <ds-tag\n data-chip\n variant=\"neutral\"\n closable\n [closeLabel]=\"intl().picker.removeChip(option.label)\"\n (closed)=\"removeValue(option.value)\">\n @if (chipTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </ds-tag>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n {{ intl().picker.moreChips(overflowCount()) }}\n </span>\n }\n </span>\n }\n\n @if (\n clearable() &&\n selectedOptions().length > 0 &&\n !isDisabled() &&\n !isReadOnly()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().picker.clearSelection\"\n (click)=\"clearValue($event)\">\n <ds-icon\n name=\"x\"\n [size]=\"14\" />\n </button>\n }\n\n <ds-icon\n class=\"chevron\"\n name=\"chevronDown\"\n [size]=\"18\" />\n</div>\n\n<ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n<ng-template #panel>\n <div class=\"dropdown-panel\">\n @if (panelHeaderTemplate(); as tpl) {\n <div class=\"panel-header\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n\n @if (showsSearch()) {\n <div class=\"search-row\">\n <ds-icon\n class=\"search-icon\"\n name=\"search\"\n [size]=\"16\" />\n\n <input\n #search\n type=\"text\"\n class=\"search-input\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-expanded=\"true\"\n autocomplete=\"off\"\n spellcheck=\"false\"\n [placeholder]=\"searchPlaceholderResolved()\"\n [value]=\"filter()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilter($event)\"\n (keydown)=\"onSearchKeydown($event)\" />\n </div>\n }\n\n @if (showsPanelSelectAll() && filteredOptions().length) {\n <button\n type=\"button\"\n class=\"select-all\"\n role=\"checkbox\"\n [attr.aria-checked]=\"\n allFilteredSelected()\n ? 'true'\n : someFilteredSelected()\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleSelectAll()\">\n <span\n class=\"checkbox\"\n [class.checked]=\"allFilteredSelected()\"\n [class.indeterminate]=\"someFilteredSelected()\">\n <span class=\"tick\"></span>\n </span>\n\n <span class=\"select-all-label\">\n {{ intl().picker.selectAll }}\n </span>\n </button>\n }\n\n <ul\n class=\"dropdown-list\"\n role=\"listbox\"\n aria-multiselectable=\"true\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [id]=\"listboxId\">\n @for (item of filteredItems(); track $index; let itemIdx = $index) {\n @if (isGroup(item)) {\n <li\n class=\"optgroup\"\n role=\"group\"\n [attr.aria-label]=\"item.label\">\n <span\n class=\"optgroup-label\"\n [class.is-first]=\"itemIdx === 0\">\n @if (groupLabelTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: item,\n group: item,\n count: item.options.length,\n }\" />\n } @else {\n {{ item.label }}\n }\n </span>\n\n @if (showsGroupSelectAll()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"select-all group\"\n role=\"option\"\n [disabled]=\"item.disabled\"\n [attr.aria-selected]=\"groupAllSelected(item)\"\n [attr.aria-checked]=\"\n groupAllSelected(item)\n ? 'true'\n : groupSomeSelected(item)\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleGroup(item)\">\n <span\n class=\"checkbox\"\n [class.checked]=\"groupAllSelected(item)\"\n [class.indeterminate]=\"groupSomeSelected(item)\">\n <span class=\"tick\"></span>\n </span>\n\n {{ intl().picker.selectAllInGroup(item.label) }}\n </button>\n }\n\n <ul\n class=\"optgroup-list\"\n role=\"presentation\">\n @for (option of item.options; track option.value) {\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n dsTooltip\n dsTooltipWhenClipped\n dsTooltipTextSelector=\".option-label\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span\n class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n </ul>\n </li>\n } @else {\n @let option = item;\n\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n dsTooltip\n dsTooltipWhenClipped\n dsTooltipTextSelector=\".option-label\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span\n class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n }\n\n @if (loading()) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n <ds-spinner size=\"sm\" />\n </li>\n } @else if (filteredOptions().length === 0) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: filter(),\n query: filter(),\n }\" />\n } @else {\n {{ intl().picker.noMatches }}\n }\n </li>\n }\n </ul>\n\n @if (panelFooterTemplate(); as tpl) {\n <div class=\"panel-footer\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n </div>\n</ng-template>\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{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));display:flex;flex-direction:column;gap:var(--field-label-gap);--ds-dropdown-panel-bg-color: var(--ds-multi-select-panel-bg-color, initial);--_multi-select-bg-color: var(--ds-multi-select-bg-color, var(--surface-default));--_multi-select-border-color: var(--ds-multi-select-border-color, var(--_field-border-color));--_multi-select-radius: var(--ds-multi-select-radius, var(--ds-radius-control));--_multi-select-text-color: var(--ds-multi-select-text-color, var(--_field-text-color));--_multi-select-border-color-focus: var(--ds-multi-select-border-color-focus, var(--_field-border-color-focus));--_multi-select-border-color-hover: var(--ds-multi-select-border-color-hover, var(--_field-border-color-hover));--_multi-select-placeholder-color: var(--ds-multi-select-placeholder-color, var(--_field-placeholder-color));--_multi-select-font-size: var(--ds-multi-select-font-size, var(--_field-font-size))}:host(.content-width){width:fit-content}:host(.compact-trigger){width:fit-content}:host(.compact-trigger) .field-trigger{padding:var(--space-1) var(--space-2-5);gap:var(--space-1-5)}:host(.compact-trigger) .trigger-caption{font-weight:var(--font-weight-medium);white-space:nowrap}:host(.compact-trigger):has(ds-badge) .field-trigger,:host(.compact-trigger):has(.trigger-label) .field-trigger{border-color:var(--accent)}:host(.compact-trigger) .trigger-label{color:var(--text-secondary);white-space:nowrap}:host(.compact-trigger) .trigger-label:not(:last-child):after{content:\",\"}.field-trigger{display:flex;flex-wrap:wrap}.field-trigger .clear-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--icon-default);border-radius:var(--ds-radius-inner);padding:var(--space-0-5);cursor:pointer;flex:0 0 auto}.field-trigger .clear-btn:hover{color:var(--text-primary);background:var(--surface-secondary)}.field-trigger .clear-btn:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field-trigger:has(>.chip-row.fit){flex-wrap:nowrap}.field-trigger{align-items:center;gap:var(--space-1-5);--_field-height: var(--ds-field-height, var(--field-h-md));min-height:var(--_field-height)}.field-trigger.sm{--_field-height: var(--ds-field-height, var(--field-h-sm));min-height:var(--_field-height)}.field-trigger.lg{--_field-height: var(--ds-field-height, var(--field-h-lg));min-height:var(--_field-height)}.field-trigger{padding:var(--space-1-5) var(--field-pad-x);background-color:var(--_multi-select-bg-color);border:var(--border-width-default) solid var(--_multi-select-border-color);border-radius:var(--_multi-select-radius);color:var(--_multi-select-text-color);font:var(--font-weight-regular) var(--_multi-select-font-size)/var(--line-height-base) var(--font-sans);cursor:pointer;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}.field-trigger:hover:not(.disabled){border-color:var(--_multi-select-border-color-hover)}@media not (forced-colors:active){.field-trigger.open,.field-trigger:focus-visible{outline:none}}.field-trigger.open,.field-trigger:focus-visible{border-color:var(--_multi-select-border-color-focus);box-shadow:var(--accent-focus-field)}.field-trigger.disabled{background-color:var(--surface-muted);color:var(--text-disabled);cursor:not-allowed}.label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.placeholder{color:var(--_multi-select-placeholder-color)}.chip-row{display:contents}.chip-row.fit{display:flex;flex-wrap:nowrap;align-items:center;min-width:0;overflow:hidden;gap:inherit}.chip-row.fit>*{flex:0 1 auto;min-width:0;white-space:nowrap}.overflow{color:var(--text-secondary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-xs)}.chevron{margin-left:auto;color:var(--text-tertiary)}.dropdown-panel{--ds-option-bg-color-active: var( --ds-multi-select-option-bg-color-active, var(--surface-secondary) );--_multi-select-check-bg-color: var(--ds-multi-select-check-bg-color, var(--accent))}.search-row{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner)}.search-row:focus-within{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@media not (forced-colors:active){.search-row .search-input:where(:focus-visible){outline:none}}.search-icon{color:var(--text-tertiary);flex:none}.search-input{flex:1;min-width:0;border:0;background:transparent;color:var(--text-primary);font:var(--font-weight-regular) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.select-all-label{min-width:0;overflow:clip;overflow-clip-margin:var(--space-1);text-overflow:ellipsis;white-space:nowrap}.select-all{display:flex;align-items:center;gap:var(--ds-option-gap, var(--space-2));width:100%;padding:var(--ds-option-padding, var(--space-2) var(--space-2-5));border:0;border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner) var(--ds-radius-inner) 0 0;background:transparent;color:var(--text-secondary);font:var(--font-weight-semibold) var(--font-size-xs)/var(--line-height-flat) var(--font-sans);text-transform:uppercase;letter-spacing:var(--letter-spacing-wide);text-align:left;cursor:pointer}.select-all:hover:not(:disabled){background-color:var(--surface-secondary)}.select-all:active:not(:disabled){background-color:var(--surface-muted)}.select-all:disabled{color:var(--text-disabled);cursor:not-allowed}.checkbox{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--check-size);height:var(--check-size);border-radius:var(--ds-radius-inner);border:var(--check-bw) solid var(--border-strong);background-color:var(--surface-default);color:var(--text-on-primary)}.checkbox.checked,.checkbox.indeterminate{background-color:var(--_multi-select-check-bg-color);border-color:var(--_multi-select-check-bg-color)}.checkbox .tick{--_check-mark-enter-duration: var(--ds-check-mark-enter-duration, var(--ds-motion-check-enter-duration));--_check-mark-enter-easing: var(--ds-check-mark-enter-easing, var(--ds-motion-check-enter-easing));--_check-mark-exit-duration: var(--ds-check-mark-exit-duration, var(--ds-motion-check-exit-duration));--_check-mark-exit-easing: var(--ds-check-mark-exit-easing, var(--ds-motion-check-exit-easing));width:var(--check-tick-size);height:var(--check-tick-size);transform:scale(.6);opacity:0;transform-origin:center;transition:transform var(--_check-mark-exit-duration) var(--_check-mark-exit-easing),opacity var(--_check-mark-exit-duration) var(--_check-mark-exit-easing);background-color:currentcolor}@media(forced-colors:active){.checkbox .tick{background-color:CanvasText}}.checkbox .tick{-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat}.checkbox.checked .tick,.checkbox.indeterminate .tick{transform:scale(1);opacity:1;transition:transform var(--_check-mark-enter-duration) var(--_check-mark-enter-easing),opacity var(--_check-mark-enter-duration) var(--_check-mark-enter-easing)}.checkbox.indeterminate .tick{width:var(--check-indet-w);height:var(--check-indet-h);border-radius:var(--ds-radius-inner);-webkit-mask:none;mask:none}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--error);background-color:var(--error-subtitle)}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--success)}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }, { kind: "component", type: SpinnerComponent, selector: "ds-spinner", inputs: ["size"] }, { kind: "component", type: TagComponent, selector: "ds-tag", inputs: ["variant", "closable", "interactive", "selected", "closeLabel"], outputs: ["closed", "toggled"] }, { kind: "component", type: BadgeComponent, selector: "ds-badge", inputs: ["status", "withDot", "solid", "count", "max", "countLabel"] }, { kind: "component", type: FieldMessageComponent, selector: "ds-field-message", inputs: ["text", "state", "messageId", "icon", "reserve"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[dsTooltip]", inputs: ["dsTooltip", "dsTooltipPlacement", "dsTooltipDelay", "dsTooltipWhenClipped", "dsTooltipTextSelector"] }] });
|
|
586
587
|
}
|
|
587
588
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
588
589
|
type: Component,
|
|
@@ -593,6 +594,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
593
594
|
BadgeComponent,
|
|
594
595
|
FieldMessageComponent,
|
|
595
596
|
NgTemplateOutlet,
|
|
597
|
+
TooltipDirective,
|
|
596
598
|
], host: {
|
|
597
599
|
'[attr.data-field-state]': 'controlState()',
|
|
598
600
|
'[class.content-width]': "width() === 'content'",
|
|
@@ -603,7 +605,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
603
605
|
useExisting: forwardRef(() => MultiSelectComponent),
|
|
604
606
|
multi: true,
|
|
605
607
|
},
|
|
606
|
-
], template: "@if (label()) {\n <span\n class=\"label\"\n [id]=\"labelId\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </span>\n}\n\n<div\n #trigger\n aria-haspopup=\"listbox\"\n role=\"combobox\"\n [class]=\"'field-trigger ' + sizeResolved()\"\n [class.open]=\"open()\"\n [class.disabled]=\"isDisabled()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"hintId()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-labelledby]=\"label() ? labelId : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-readonly]=\"isReadOnly() ? 'true' : null\"\n [attr.name]=\"name()\"\n [attr.aria-activedescendant]=\"triggerActiveDescendant()\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n (click)=\"onTriggerClick()\"\n (keydown)=\"onTriggerKeydown($event)\">\n @if (pickerTrigger(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: selectedOptions(),\n selected: selectedOptions(),\n count: selectedOptions().length,\n open: open(),\n disabled: isDisabled(),\n }\" />\n } @else if (showsCompactTrigger()) {\n <span class=\"trigger-caption\">\n {{ triggerCaption() }}\n </span>\n\n @if (triggerDisplay() === 'labels' && selectedOptions().length > 0) {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <span\n data-chip\n class=\"trigger-label\">\n {{ option.label }}\n </span>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n +{{ overflowCount() }}\n </span>\n }\n </span>\n } @else if (selectedOptions().length > 0) {\n <ds-badge\n [count]=\"selectedOptions().length\"\n [countLabel]=\"intl().picker.selectedNoun\" />\n }\n } @else if (selectedOptions().length === 0) {\n <span class=\"placeholder\">\n {{ placeholderResolved() }}\n </span>\n } @else {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <ds-tag\n data-chip\n variant=\"neutral\"\n closable\n [closeLabel]=\"intl().picker.removeChip(option.label)\"\n (closed)=\"removeValue(option.value)\">\n @if (chipTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </ds-tag>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n {{ intl().picker.moreChips(overflowCount()) }}\n </span>\n }\n </span>\n }\n\n @if (\n clearable() &&\n selectedOptions().length > 0 &&\n !isDisabled() &&\n !isReadOnly()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().picker.clearSelection\"\n (click)=\"clearValue($event)\">\n <ds-icon\n name=\"x\"\n [size]=\"14\" />\n </button>\n }\n\n <ds-icon\n class=\"chevron\"\n name=\"chevronDown\"\n [size]=\"18\" />\n</div>\n\n<ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n<ng-template #panel>\n <div class=\"dropdown-panel\">\n @if (panelHeaderTemplate(); as tpl) {\n <div class=\"panel-header\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n\n @if (showsSearch()) {\n <div class=\"search-row\">\n <ds-icon\n class=\"search-icon\"\n name=\"search\"\n [size]=\"16\" />\n\n <input\n #search\n type=\"text\"\n class=\"search-input\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-expanded=\"true\"\n autocomplete=\"off\"\n spellcheck=\"false\"\n [placeholder]=\"searchPlaceholderResolved()\"\n [value]=\"filter()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilter($event)\"\n (keydown)=\"onSearchKeydown($event)\" />\n </div>\n }\n\n @if (showsPanelSelectAll() && filteredOptions().length) {\n <button\n type=\"button\"\n class=\"select-all\"\n role=\"checkbox\"\n [attr.aria-checked]=\"\n allFilteredSelected()\n ? 'true'\n : someFilteredSelected()\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleSelectAll()\">\n <span\n class=\"checkbox\"\n [class.checked]=\"allFilteredSelected()\"\n [class.indeterminate]=\"someFilteredSelected()\">\n <span class=\"tick\"></span>\n </span>\n\n <span class=\"select-all-label\">\n {{ intl().picker.selectAll }}\n </span>\n </button>\n }\n\n <ul\n class=\"dropdown-list\"\n role=\"listbox\"\n aria-multiselectable=\"true\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [id]=\"listboxId\">\n @for (item of filteredItems(); track $index; let itemIdx = $index) {\n @if (isGroup(item)) {\n <li\n class=\"optgroup\"\n role=\"group\"\n [attr.aria-label]=\"item.label\">\n <span\n class=\"optgroup-label\"\n [class.is-first]=\"itemIdx === 0\">\n @if (groupLabelTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: item,\n group: item,\n count: item.options.length,\n }\" />\n } @else {\n {{ item.label }}\n }\n </span>\n\n @if (showsGroupSelectAll()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"select-all group\"\n role=\"option\"\n [disabled]=\"item.disabled\"\n [attr.aria-selected]=\"groupAllSelected(item)\"\n [attr.aria-checked]=\"\n groupAllSelected(item)\n ? 'true'\n : groupSomeSelected(item)\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleGroup(item)\">\n <span\n class=\"checkbox\"\n [class.checked]=\"groupAllSelected(item)\"\n [class.indeterminate]=\"groupSomeSelected(item)\">\n <span class=\"tick\"></span>\n </span>\n\n {{ intl().picker.selectAllInGroup(item.label) }}\n </button>\n }\n\n <ul\n class=\"optgroup-list\"\n role=\"presentation\">\n @for (option of item.options; track option.value) {\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n </ul>\n </li>\n } @else {\n @let option = item;\n\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n }\n\n @if (loading()) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n <ds-spinner size=\"sm\" />\n </li>\n } @else if (filteredOptions().length === 0) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: filter(),\n query: filter(),\n }\" />\n } @else {\n {{ intl().picker.noMatches }}\n }\n </li>\n }\n </ul>\n\n @if (panelFooterTemplate(); as tpl) {\n <div class=\"panel-footer\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n </div>\n</ng-template>\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{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));display:flex;flex-direction:column;gap:var(--field-label-gap);--ds-dropdown-panel-bg-color: var(--ds-multi-select-panel-bg-color, initial);--_multi-select-bg-color: var(--ds-multi-select-bg-color, var(--surface-default));--_multi-select-border-color: var(--ds-multi-select-border-color, var(--_field-border-color));--_multi-select-radius: var(--ds-multi-select-radius, var(--ds-radius-control));--_multi-select-text-color: var(--ds-multi-select-text-color, var(--_field-text-color));--_multi-select-border-color-focus: var(--ds-multi-select-border-color-focus, var(--_field-border-color-focus));--_multi-select-border-color-hover: var(--ds-multi-select-border-color-hover, var(--_field-border-color-hover));--_multi-select-placeholder-color: var(--ds-multi-select-placeholder-color, var(--_field-placeholder-color));--_multi-select-font-size: var(--ds-multi-select-font-size, var(--_field-font-size))}:host(.content-width){width:fit-content}:host(.compact-trigger){width:fit-content}:host(.compact-trigger) .field-trigger{padding:var(--space-1) var(--space-2-5);gap:var(--space-1-5)}:host(.compact-trigger) .trigger-caption{font-weight:var(--font-weight-medium);white-space:nowrap}:host(.compact-trigger):has(ds-badge) .field-trigger,:host(.compact-trigger):has(.trigger-label) .field-trigger{border-color:var(--accent)}:host(.compact-trigger) .trigger-label{color:var(--text-secondary);white-space:nowrap}:host(.compact-trigger) .trigger-label:not(:last-child):after{content:\",\"}.field-trigger{display:flex;flex-wrap:wrap}.field-trigger .clear-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--icon-default);border-radius:var(--ds-radius-inner);padding:var(--space-0-5);cursor:pointer;flex:0 0 auto}.field-trigger .clear-btn:hover{color:var(--text-primary);background:var(--surface-secondary)}.field-trigger .clear-btn:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field-trigger:has(>.chip-row.fit){flex-wrap:nowrap}.field-trigger{align-items:center;gap:var(--space-1-5);--_field-height: var(--ds-field-height, var(--field-h-md));min-height:var(--_field-height)}.field-trigger.sm{--_field-height: var(--ds-field-height, var(--field-h-sm));min-height:var(--_field-height)}.field-trigger.lg{--_field-height: var(--ds-field-height, var(--field-h-lg));min-height:var(--_field-height)}.field-trigger{padding:var(--space-1-5) var(--field-pad-x);background-color:var(--_multi-select-bg-color);border:var(--border-width-default) solid var(--_multi-select-border-color);border-radius:var(--_multi-select-radius);color:var(--_multi-select-text-color);font:var(--font-weight-regular) var(--_multi-select-font-size)/var(--line-height-base) var(--font-sans);cursor:pointer;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}.field-trigger:hover:not(.disabled){border-color:var(--_multi-select-border-color-hover)}@media not (forced-colors:active){.field-trigger.open,.field-trigger:focus-visible{outline:none}}.field-trigger.open,.field-trigger:focus-visible{border-color:var(--_multi-select-border-color-focus);box-shadow:var(--accent-focus-field)}.field-trigger.disabled{background-color:var(--surface-muted);color:var(--text-disabled);cursor:not-allowed}.label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.placeholder{color:var(--_multi-select-placeholder-color)}.chip-row{display:contents}.chip-row.fit{display:flex;flex-wrap:nowrap;align-items:center;min-width:0;overflow:hidden;gap:inherit}.chip-row.fit>*{flex:0 1 auto;min-width:0;white-space:nowrap}.overflow{color:var(--text-secondary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-xs)}.chevron{margin-left:auto;color:var(--text-tertiary)}.dropdown-panel{--ds-option-bg-color-active: var( --ds-multi-select-option-bg-color-active, var(--surface-secondary) );--_multi-select-check-bg-color: var(--ds-multi-select-check-bg-color, var(--accent))}.search-row{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner)}.search-row:focus-within{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@media not (forced-colors:active){.search-row .search-input:where(:focus-visible){outline:none}}.search-icon{color:var(--text-tertiary);flex:none}.search-input{flex:1;min-width:0;border:0;background:transparent;color:var(--text-primary);font:var(--font-weight-regular) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.select-all-label{min-width:0;overflow:clip;overflow-clip-margin:var(--space-1);text-overflow:ellipsis;white-space:nowrap}.select-all{display:flex;align-items:center;gap:var(--ds-option-gap, var(--space-2));width:100%;padding:var(--ds-option-padding, var(--space-2) var(--space-2-5));border:0;border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner) var(--ds-radius-inner) 0 0;background:transparent;color:var(--text-secondary);font:var(--font-weight-semibold) var(--font-size-xs)/var(--line-height-flat) var(--font-sans);text-transform:uppercase;letter-spacing:var(--letter-spacing-wide);text-align:left;cursor:pointer}.select-all:hover:not(:disabled){background-color:var(--surface-secondary)}.select-all:active:not(:disabled){background-color:var(--surface-muted)}.select-all:disabled{color:var(--text-disabled);cursor:not-allowed}.checkbox{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--check-size);height:var(--check-size);border-radius:var(--ds-radius-inner);border:var(--check-bw) solid var(--border-strong);background-color:var(--surface-default);color:var(--text-on-primary)}.checkbox.checked,.checkbox.indeterminate{background-color:var(--_multi-select-check-bg-color);border-color:var(--_multi-select-check-bg-color)}.checkbox .tick{--_check-mark-enter-duration: var(--ds-check-mark-enter-duration, var(--ds-motion-check-enter-duration));--_check-mark-enter-easing: var(--ds-check-mark-enter-easing, var(--ds-motion-check-enter-easing));--_check-mark-exit-duration: var(--ds-check-mark-exit-duration, var(--ds-motion-check-exit-duration));--_check-mark-exit-easing: var(--ds-check-mark-exit-easing, var(--ds-motion-check-exit-easing));width:var(--check-tick-size);height:var(--check-tick-size);transform:scale(.6);opacity:0;transform-origin:center;transition:transform var(--_check-mark-exit-duration) var(--_check-mark-exit-easing),opacity var(--_check-mark-exit-duration) var(--_check-mark-exit-easing);background-color:currentcolor}@media(forced-colors:active){.checkbox .tick{background-color:CanvasText}}.checkbox .tick{-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat}.checkbox.checked .tick,.checkbox.indeterminate .tick{transform:scale(1);opacity:1;transition:transform var(--_check-mark-enter-duration) var(--_check-mark-enter-easing),opacity var(--_check-mark-enter-duration) var(--_check-mark-enter-easing)}.checkbox.indeterminate .tick{width:var(--check-indet-w);height:var(--check-indet-h);border-radius:var(--ds-radius-inner);-webkit-mask:none;mask:none}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--error);background-color:var(--error-subtitle)}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--success)}\n"] }]
|
|
608
|
+
], template: "@if (label()) {\n <span\n class=\"label\"\n [id]=\"labelId\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </span>\n}\n\n<div\n #trigger\n aria-haspopup=\"listbox\"\n role=\"combobox\"\n [class]=\"'field-trigger ' + sizeResolved()\"\n [class.open]=\"open()\"\n [class.disabled]=\"isDisabled()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"hintId()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-labelledby]=\"label() ? labelId : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-readonly]=\"isReadOnly() ? 'true' : null\"\n [attr.name]=\"name()\"\n [attr.aria-activedescendant]=\"triggerActiveDescendant()\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n (click)=\"onTriggerClick()\"\n (keydown)=\"onTriggerKeydown($event)\">\n @if (pickerTrigger(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: selectedOptions(),\n selected: selectedOptions(),\n count: selectedOptions().length,\n open: open(),\n disabled: isDisabled(),\n }\" />\n } @else if (showsCompactTrigger()) {\n <span class=\"trigger-caption\">\n {{ triggerCaption() }}\n </span>\n\n @if (triggerDisplay() === 'labels' && selectedOptions().length > 0) {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <span\n data-chip\n class=\"trigger-label\">\n {{ option.label }}\n </span>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n +{{ overflowCount() }}\n </span>\n }\n </span>\n } @else if (selectedOptions().length > 0) {\n <ds-badge\n [count]=\"selectedOptions().length\"\n [countLabel]=\"intl().picker.selectedNoun\" />\n }\n } @else if (selectedOptions().length === 0) {\n <span class=\"placeholder\">\n {{ placeholderResolved() }}\n </span>\n } @else {\n <span\n #chipRow\n class=\"chip-row\"\n [class.fit]=\"fitsChipsToWidth()\">\n @for (option of visibleChips(); track option.value) {\n <ds-tag\n data-chip\n variant=\"neutral\"\n closable\n [closeLabel]=\"intl().picker.removeChip(option.label)\"\n (closed)=\"removeValue(option.value)\">\n @if (chipTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </ds-tag>\n }\n\n @if (overflowCount() > 0) {\n <span\n class=\"overflow\"\n data-chip-overflow>\n {{ intl().picker.moreChips(overflowCount()) }}\n </span>\n }\n </span>\n }\n\n @if (\n clearable() &&\n selectedOptions().length > 0 &&\n !isDisabled() &&\n !isReadOnly()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().picker.clearSelection\"\n (click)=\"clearValue($event)\">\n <ds-icon\n name=\"x\"\n [size]=\"14\" />\n </button>\n }\n\n <ds-icon\n class=\"chevron\"\n name=\"chevronDown\"\n [size]=\"18\" />\n</div>\n\n<ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n<ng-template #panel>\n <div class=\"dropdown-panel\">\n @if (panelHeaderTemplate(); as tpl) {\n <div class=\"panel-header\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n\n @if (showsSearch()) {\n <div class=\"search-row\">\n <ds-icon\n class=\"search-icon\"\n name=\"search\"\n [size]=\"16\" />\n\n <input\n #search\n type=\"text\"\n class=\"search-input\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-expanded=\"true\"\n autocomplete=\"off\"\n spellcheck=\"false\"\n [placeholder]=\"searchPlaceholderResolved()\"\n [value]=\"filter()\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilter($event)\"\n (keydown)=\"onSearchKeydown($event)\" />\n </div>\n }\n\n @if (showsPanelSelectAll() && filteredOptions().length) {\n <button\n type=\"button\"\n class=\"select-all\"\n role=\"checkbox\"\n [attr.aria-checked]=\"\n allFilteredSelected()\n ? 'true'\n : someFilteredSelected()\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleSelectAll()\">\n <span\n class=\"checkbox\"\n [class.checked]=\"allFilteredSelected()\"\n [class.indeterminate]=\"someFilteredSelected()\">\n <span class=\"tick\"></span>\n </span>\n\n <span class=\"select-all-label\">\n {{ intl().picker.selectAll }}\n </span>\n </button>\n }\n\n <ul\n class=\"dropdown-list\"\n role=\"listbox\"\n aria-multiselectable=\"true\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [id]=\"listboxId\">\n @for (item of filteredItems(); track $index; let itemIdx = $index) {\n @if (isGroup(item)) {\n <li\n class=\"optgroup\"\n role=\"group\"\n [attr.aria-label]=\"item.label\">\n <span\n class=\"optgroup-label\"\n [class.is-first]=\"itemIdx === 0\">\n @if (groupLabelTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: item,\n group: item,\n count: item.options.length,\n }\" />\n } @else {\n {{ item.label }}\n }\n </span>\n\n @if (showsGroupSelectAll()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"select-all group\"\n role=\"option\"\n [disabled]=\"item.disabled\"\n [attr.aria-selected]=\"groupAllSelected(item)\"\n [attr.aria-checked]=\"\n groupAllSelected(item)\n ? 'true'\n : groupSomeSelected(item)\n ? 'mixed'\n : 'false'\n \"\n (click)=\"toggleGroup(item)\">\n <span\n class=\"checkbox\"\n [class.checked]=\"groupAllSelected(item)\"\n [class.indeterminate]=\"groupSomeSelected(item)\">\n <span class=\"tick\"></span>\n </span>\n\n {{ intl().picker.selectAllInGroup(item.label) }}\n </button>\n }\n\n <ul\n class=\"optgroup-list\"\n role=\"presentation\">\n @for (option of item.options; track option.value) {\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n dsTooltip\n dsTooltipWhenClipped\n dsTooltipTextSelector=\".option-label\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span\n class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n </ul>\n </li>\n } @else {\n @let option = item;\n\n <li role=\"presentation\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n role=\"option\"\n class=\"option\"\n dsTooltip\n dsTooltipWhenClipped\n dsTooltipTextSelector=\".option-label\"\n [id]=\"optionId(flatIndexOf(option))\"\n [class.is-active]=\"activeIndex() === flatIndexOf(option)\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n [disabled]=\"option.disabled\"\n (click)=\"toggleValue(option)\"\n (mouseenter)=\"\n cursorFromKeyboard.set(false);\n activeIndex.set(flatIndexOf(option))\n \">\n <span\n class=\"checkbox\"\n [class.checked]=\"isSelected(option.value)\">\n <span class=\"tick\"></span>\n </span>\n\n @if (option.icon) {\n <ds-icon\n class=\"option-icon\"\n [name]=\"option.icon\"\n [size]=\"16\" />\n }\n\n <span\n class=\"option-label\">\n @if (optionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n }\" />\n } @else {\n {{ option.label }}\n }\n </span>\n </button>\n </li>\n }\n }\n\n @if (loading()) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n <ds-spinner size=\"sm\" />\n </li>\n } @else if (filteredOptions().length === 0) {\n <li\n class=\"empty t-s\"\n role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: filter(),\n query: filter(),\n }\" />\n } @else {\n {{ intl().picker.noMatches }}\n }\n </li>\n }\n </ul>\n\n @if (panelFooterTemplate(); as tpl) {\n <div class=\"panel-footer\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n count: filteredOptions().length,\n total: allOptions().length,\n query: filter(),\n }\" />\n </div>\n }\n </div>\n</ng-template>\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{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));display:flex;flex-direction:column;gap:var(--field-label-gap);--ds-dropdown-panel-bg-color: var(--ds-multi-select-panel-bg-color, initial);--_multi-select-bg-color: var(--ds-multi-select-bg-color, var(--surface-default));--_multi-select-border-color: var(--ds-multi-select-border-color, var(--_field-border-color));--_multi-select-radius: var(--ds-multi-select-radius, var(--ds-radius-control));--_multi-select-text-color: var(--ds-multi-select-text-color, var(--_field-text-color));--_multi-select-border-color-focus: var(--ds-multi-select-border-color-focus, var(--_field-border-color-focus));--_multi-select-border-color-hover: var(--ds-multi-select-border-color-hover, var(--_field-border-color-hover));--_multi-select-placeholder-color: var(--ds-multi-select-placeholder-color, var(--_field-placeholder-color));--_multi-select-font-size: var(--ds-multi-select-font-size, var(--_field-font-size))}:host(.content-width){width:fit-content}:host(.compact-trigger){width:fit-content}:host(.compact-trigger) .field-trigger{padding:var(--space-1) var(--space-2-5);gap:var(--space-1-5)}:host(.compact-trigger) .trigger-caption{font-weight:var(--font-weight-medium);white-space:nowrap}:host(.compact-trigger):has(ds-badge) .field-trigger,:host(.compact-trigger):has(.trigger-label) .field-trigger{border-color:var(--accent)}:host(.compact-trigger) .trigger-label{color:var(--text-secondary);white-space:nowrap}:host(.compact-trigger) .trigger-label:not(:last-child):after{content:\",\"}.field-trigger{display:flex;flex-wrap:wrap}.field-trigger .clear-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--icon-default);border-radius:var(--ds-radius-inner);padding:var(--space-0-5);cursor:pointer;flex:0 0 auto}.field-trigger .clear-btn:hover{color:var(--text-primary);background:var(--surface-secondary)}.field-trigger .clear-btn:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field-trigger:has(>.chip-row.fit){flex-wrap:nowrap}.field-trigger{align-items:center;gap:var(--space-1-5);--_field-height: var(--ds-field-height, var(--field-h-md));min-height:var(--_field-height)}.field-trigger.sm{--_field-height: var(--ds-field-height, var(--field-h-sm));min-height:var(--_field-height)}.field-trigger.lg{--_field-height: var(--ds-field-height, var(--field-h-lg));min-height:var(--_field-height)}.field-trigger{padding:var(--space-1-5) var(--field-pad-x);background-color:var(--_multi-select-bg-color);border:var(--border-width-default) solid var(--_multi-select-border-color);border-radius:var(--_multi-select-radius);color:var(--_multi-select-text-color);font:var(--font-weight-regular) var(--_multi-select-font-size)/var(--line-height-base) var(--font-sans);cursor:pointer;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}.field-trigger:hover:not(.disabled){border-color:var(--_multi-select-border-color-hover)}@media not (forced-colors:active){.field-trigger.open,.field-trigger:focus-visible{outline:none}}.field-trigger.open,.field-trigger:focus-visible{border-color:var(--_multi-select-border-color-focus);box-shadow:var(--accent-focus-field)}.field-trigger.disabled{background-color:var(--surface-muted);color:var(--text-disabled);cursor:not-allowed}.label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.placeholder{color:var(--_multi-select-placeholder-color)}.chip-row{display:contents}.chip-row.fit{display:flex;flex-wrap:nowrap;align-items:center;min-width:0;overflow:hidden;gap:inherit}.chip-row.fit>*{flex:0 1 auto;min-width:0;white-space:nowrap}.overflow{color:var(--text-secondary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-xs)}.chevron{margin-left:auto;color:var(--text-tertiary)}.dropdown-panel{--ds-option-bg-color-active: var( --ds-multi-select-option-bg-color-active, var(--surface-secondary) );--_multi-select-check-bg-color: var(--ds-multi-select-check-bg-color, var(--accent))}.search-row{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner)}.search-row:focus-within{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@media not (forced-colors:active){.search-row .search-input:where(:focus-visible){outline:none}}.search-icon{color:var(--text-tertiary);flex:none}.search-input{flex:1;min-width:0;border:0;background:transparent;color:var(--text-primary);font:var(--font-weight-regular) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.select-all-label{min-width:0;overflow:clip;overflow-clip-margin:var(--space-1);text-overflow:ellipsis;white-space:nowrap}.select-all{display:flex;align-items:center;gap:var(--ds-option-gap, var(--space-2));width:100%;padding:var(--ds-option-padding, var(--space-2) var(--space-2-5));border:0;border-bottom:var(--border-width-default) solid var(--border-divider);border-radius:var(--ds-radius-inner) var(--ds-radius-inner) 0 0;background:transparent;color:var(--text-secondary);font:var(--font-weight-semibold) var(--font-size-xs)/var(--line-height-flat) var(--font-sans);text-transform:uppercase;letter-spacing:var(--letter-spacing-wide);text-align:left;cursor:pointer}.select-all:hover:not(:disabled){background-color:var(--surface-secondary)}.select-all:active:not(:disabled){background-color:var(--surface-muted)}.select-all:disabled{color:var(--text-disabled);cursor:not-allowed}.checkbox{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--check-size);height:var(--check-size);border-radius:var(--ds-radius-inner);border:var(--check-bw) solid var(--border-strong);background-color:var(--surface-default);color:var(--text-on-primary)}.checkbox.checked,.checkbox.indeterminate{background-color:var(--_multi-select-check-bg-color);border-color:var(--_multi-select-check-bg-color)}.checkbox .tick{--_check-mark-enter-duration: var(--ds-check-mark-enter-duration, var(--ds-motion-check-enter-duration));--_check-mark-enter-easing: var(--ds-check-mark-enter-easing, var(--ds-motion-check-enter-easing));--_check-mark-exit-duration: var(--ds-check-mark-exit-duration, var(--ds-motion-check-exit-duration));--_check-mark-exit-easing: var(--ds-check-mark-exit-easing, var(--ds-motion-check-exit-easing));width:var(--check-tick-size);height:var(--check-tick-size);transform:scale(.6);opacity:0;transform-origin:center;transition:transform var(--_check-mark-exit-duration) var(--_check-mark-exit-easing),opacity var(--_check-mark-exit-duration) var(--_check-mark-exit-easing);background-color:currentcolor}@media(forced-colors:active){.checkbox .tick{background-color:CanvasText}}.checkbox .tick{-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\") center/contain no-repeat}.checkbox.checked .tick,.checkbox.indeterminate .tick{transform:scale(1);opacity:1;transition:transform var(--_check-mark-enter-duration) var(--_check-mark-enter-easing),opacity var(--_check-mark-enter-duration) var(--_check-mark-enter-easing)}.checkbox.indeterminate .tick{width:var(--check-indet-w);height:var(--check-indet-h);border-radius:var(--ds-radius-inner);-webkit-mask:none;mask:none}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--error);background-color:var(--error-subtitle)}:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .field-trigger:not(.disabled):not(:disabled){border-color:var(--success)}\n"] }]
|
|
607
609
|
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], searchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchPlaceholder", required: false }] }], searchable: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchable", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], panelClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelClass", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], readonlyBinding: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], filterWith: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterWith", required: false }] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }], scrollActiveIntoView: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollActiveIntoView", required: false }] }], maxVisibleChips: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxVisibleChips", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], success: [{ type: i0.Input, args: [{ isSignal: true, alias: "success", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], triggerDisplay: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerDisplay", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], optional: [{ type: i0.Input, args: [{ isSignal: true, alias: "optional", required: false }] }], selectAll: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectAll", required: false }] }], optionTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => DsOptionTemplateDirective), { ...{
|
|
608
610
|
read: TemplateRef,
|
|
609
611
|
}, isSignal: true }] }], chipTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => DsChipTemplateDirective), { ...{
|