@factorialco/f0-react 16.24.0 → 16.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChatPostComposerDialog-Ca3fcEzD.js → ChatPostComposerDialog-BkVTdJP1.js} +1 -1
- package/dist/{CoachmarkProvider-Bw3qcSzA.js → CoachmarkProvider-C9Oflsz-.js} +14737 -14735
- package/dist/{F0Map-ClnO_2tF.js → F0Map-YL4dv1Z1.js} +2 -2
- package/dist/{Map-Cs17xyE6.js → Map-BSw_AafU.js} +2 -2
- package/dist/ai.d.ts +3 -3
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +12 -3
- package/dist/experimental.js +186 -182
- package/dist/{exports-Ov8gD_6H.d.ts → exports-BLEz8iU-.d.ts} +1 -1
- package/dist/f0.d.ts +2650 -2729
- package/dist/f0.js +1423 -1330
- package/dist/{index-DIIVN_RC.d.ts → index-DUvBbZtb.d.ts} +971 -12
- package/dist/{types-GYsHhskI.d.ts → index-rB6-YKod.d.ts} +10 -818
- package/dist/{maplibre-Vwv9Nk1T.js → maplibre-D5-cJ0JA.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import React$1, { AnchorHTMLAttributes, ComponentProps, ComponentType, FC, Forwa
|
|
|
4
4
|
import { VariantProps } from "cva";
|
|
5
5
|
import { baseColors } from "@factorialco/f0-core";
|
|
6
6
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
7
|
+
import * as echarts from "echarts";
|
|
7
8
|
import "react-pdf";
|
|
8
9
|
import { PDFDocumentProxy } from "pdfjs-dist";
|
|
9
10
|
import "@base-ui/react/tooltip";
|
|
@@ -1634,6 +1635,940 @@ interface F0ComposerCompactProps extends F0ComposerBaseProps {
|
|
|
1634
1635
|
/** `rest` only exists on `compact`, so it cannot be passed to `default`. */
|
|
1635
1636
|
type F0ComposerProps = F0ComposerDefaultProps | F0ComposerCompactProps;
|
|
1636
1637
|
//#endregion
|
|
1638
|
+
//#region src/elements/lib/charts/data-chart-colors.d.ts
|
|
1639
|
+
/**
|
|
1640
|
+
* The 15 chromatic color names from the F0 design token palette.
|
|
1641
|
+
* These are the only colors allowed for custom series / data-point colors.
|
|
1642
|
+
*/
|
|
1643
|
+
declare const chartColorTokens: readonly ["lilac", "barbie", "smoke", "army", "flubber", "indigo", "camel", "radical", "viridian", "orange", "red", "grass", "malibu", "yellow", "purple"];
|
|
1644
|
+
/** A valid chart color token — one of the 15 chromatic F0 base-color names. */
|
|
1645
|
+
type ChartColorToken = (typeof chartColorTokens)[number];
|
|
1646
|
+
//#endregion
|
|
1647
|
+
//#region src/addons/charts/F0DataChart/types.d.ts
|
|
1648
|
+
/**
|
|
1649
|
+
* Configuration for the empty state shown when a chart has no data.
|
|
1650
|
+
*
|
|
1651
|
+
* `F0DataChart` auto-detects empty data across all variants and renders a
|
|
1652
|
+
* default empty state. Use this prop to customize the copy, fully replace
|
|
1653
|
+
* the rendered UI via `render`, or skip detection via `disabled`.
|
|
1654
|
+
*/
|
|
1655
|
+
interface F0DataChartEmptyStateProps {
|
|
1656
|
+
/** Override the default headline. */
|
|
1657
|
+
title?: string;
|
|
1658
|
+
/** Override the default supporting copy. */
|
|
1659
|
+
description?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* Render-prop escape hatch — when provided, replaces the entire empty
|
|
1662
|
+
* state UI. Still gated by the empty-data detection.
|
|
1663
|
+
*/
|
|
1664
|
+
render?: () => ReactNode;
|
|
1665
|
+
/**
|
|
1666
|
+
* Skip empty-data detection and render the chart as usual. Use when zero
|
|
1667
|
+
* values are legitimate (e.g. a "0 errors per day" timeline).
|
|
1668
|
+
* @default false
|
|
1669
|
+
*/
|
|
1670
|
+
disabled?: boolean;
|
|
1671
|
+
}
|
|
1672
|
+
/** One series' value at the category a click resolved to. */
|
|
1673
|
+
interface F0DataChartPointClickSeries {
|
|
1674
|
+
/** Configured series name. Empty when ECharts does not report one. */
|
|
1675
|
+
name: string;
|
|
1676
|
+
/** Index of the series in the chart's own series list. */
|
|
1677
|
+
seriesIndex: number;
|
|
1678
|
+
/** Raw, unformatted value at this category. */
|
|
1679
|
+
value: number;
|
|
1680
|
+
}
|
|
1681
|
+
/**
|
|
1682
|
+
* What a click resolved to — one bar segment, one slice, one point, or (for a
|
|
1683
|
+
* line, where the click can land anywhere in the plot area) a whole category.
|
|
1684
|
+
*
|
|
1685
|
+
* The top-level fields always name a single series, so a consumer that wants
|
|
1686
|
+
* one number has one. {@link F0DataChartPointClickBase.series} carries
|
|
1687
|
+
* everything the click resolved, which for a line is every series at that
|
|
1688
|
+
* category — the same rows its tooltip shows.
|
|
1689
|
+
*/
|
|
1690
|
+
interface F0DataChartPointClickBase {
|
|
1691
|
+
/** Interaction surface that resolved the point. */
|
|
1692
|
+
source: "pointer";
|
|
1693
|
+
/**
|
|
1694
|
+
* Configured series name for the mark. Empty when ECharts does not report one.
|
|
1695
|
+
*
|
|
1696
|
+
* For a radar it is the clicked polygon's name: a click picks a whole
|
|
1697
|
+
* polygon, never one spoke. For a heatmap it is the cell's y-axis category,
|
|
1698
|
+
* so a row reads like a series.
|
|
1699
|
+
*/
|
|
1700
|
+
seriesName: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* Mark name reported by ECharts: an axis category, pie slice, funnel stage,
|
|
1703
|
+
* scatter label, or gauge item name. For a heatmap it is the cell's x-axis
|
|
1704
|
+
* category. Empty for a radar, whose polygon spans every indicator, and
|
|
1705
|
+
* whenever the mark has no name.
|
|
1706
|
+
*/
|
|
1707
|
+
category: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* Raw, unformatted value. Consumers apply their own formatting.
|
|
1710
|
+
*
|
|
1711
|
+
* For a radar this is the last indicator that has data, not a single
|
|
1712
|
+
* observation — read {@link values} instead.
|
|
1713
|
+
*/
|
|
1714
|
+
value: number;
|
|
1715
|
+
/**
|
|
1716
|
+
* Every series the click resolved, in the order they are configured.
|
|
1717
|
+
*
|
|
1718
|
+
* A line chart accepts a click anywhere in its plot area, so this is the
|
|
1719
|
+
* whole category — one entry per series that has a value there and is
|
|
1720
|
+
* switched on in the legend, exactly the rows its axis tooltip shows.
|
|
1721
|
+
* Everywhere else a click identifies one mark and this holds that one entry,
|
|
1722
|
+
* matching {@link seriesName} and {@link value}.
|
|
1723
|
+
*/
|
|
1724
|
+
series: F0DataChartPointClickSeries[];
|
|
1725
|
+
/** Index of the clicked mark within its series. */
|
|
1726
|
+
dataIndex: number;
|
|
1727
|
+
/** Index of the series the mark belongs to. */
|
|
1728
|
+
seriesIndex: number;
|
|
1729
|
+
/**
|
|
1730
|
+
* Where a pointer click landed, in viewport coordinates — enough to anchor a
|
|
1731
|
+
* floating element without the consumer having to reach for the chart's own
|
|
1732
|
+
* geometry. Taken from the touch on a touch device, where the event itself
|
|
1733
|
+
* carries no coordinates. Both are 0 if the pointer event carried no
|
|
1734
|
+
* coordinates.
|
|
1735
|
+
*/
|
|
1736
|
+
clientX: number;
|
|
1737
|
+
clientY: number;
|
|
1738
|
+
}
|
|
1739
|
+
/** A click on any chart except a radar. */
|
|
1740
|
+
interface F0DataChartMarkPointClick extends F0DataChartPointClickBase {
|
|
1741
|
+
/**
|
|
1742
|
+
* Every number the mark carries, in series order: `[42]` for a bar or a
|
|
1743
|
+
* slice, `[x, y]` for a scatter point, `[xIndex, yIndex, value]` for a
|
|
1744
|
+
* heatmap cell.
|
|
1745
|
+
*
|
|
1746
|
+
* {@link value} is the last entry, which is the measure for every type
|
|
1747
|
+
* except scatter — there both entries are measures, and quoting only the
|
|
1748
|
+
* last one drops half the point. Read this when the chart type has more
|
|
1749
|
+
* than one number to say.
|
|
1750
|
+
*/
|
|
1751
|
+
values: number[];
|
|
1752
|
+
}
|
|
1753
|
+
/** A click on a radar, which picks a whole polygon. */
|
|
1754
|
+
interface F0DataChartRadarPointClick extends F0DataChartPointClickBase {
|
|
1755
|
+
/**
|
|
1756
|
+
* One entry per indicator, in indicator order. `null` is an indicator with
|
|
1757
|
+
* no data; {@link value} is then the last indicator that has one.
|
|
1758
|
+
*/
|
|
1759
|
+
values: (number | null)[];
|
|
1760
|
+
}
|
|
1761
|
+
/** A click on a category label of the axis. */
|
|
1762
|
+
interface F0DataChartCategoryClick {
|
|
1763
|
+
/** Interaction surface that resolved the click. */
|
|
1764
|
+
source: "pointer" | "keyboard";
|
|
1765
|
+
/** The category as passed in `categories`, before `categoryFormatter`. */
|
|
1766
|
+
category: string;
|
|
1767
|
+
/** Index of the category in `categories`. */
|
|
1768
|
+
index: number;
|
|
1769
|
+
/**
|
|
1770
|
+
* Where the click landed, in viewport coordinates. For a keyboard click, the
|
|
1771
|
+
* centre of the label.
|
|
1772
|
+
*/
|
|
1773
|
+
clientX: number;
|
|
1774
|
+
clientY: number;
|
|
1775
|
+
}
|
|
1776
|
+
/** What a click on any chart type resolved to. */
|
|
1777
|
+
type F0DataChartPointClick = F0DataChartMarkPointClick | F0DataChartRadarPointClick;
|
|
1778
|
+
/**
|
|
1779
|
+
* Props shared by every `F0DataChart` variant.
|
|
1780
|
+
*/
|
|
1781
|
+
interface F0DataChartCommonProps<Point extends F0DataChartPointClick = F0DataChartMarkPointClick> {
|
|
1782
|
+
/**
|
|
1783
|
+
* What the chart is about, e.g. "Headcount by department, Q3". Screen
|
|
1784
|
+
* readers announce it as the chart's name, followed by the summary of its
|
|
1785
|
+
* data that every chart generates on its own. Pass the chart's visible
|
|
1786
|
+
* title when it has one: the data alone can't say what was measured.
|
|
1787
|
+
*/
|
|
1788
|
+
ariaLabel?: string;
|
|
1789
|
+
/** Customize or opt out of the empty state shown when data is empty. */
|
|
1790
|
+
emptyState?: F0DataChartEmptyStateProps;
|
|
1791
|
+
/**
|
|
1792
|
+
* Called when the user clicks a single mark (bar segment, slice, point).
|
|
1793
|
+
* Omit to leave clicks inert, which is the default for every chart.
|
|
1794
|
+
*
|
|
1795
|
+
* Line charts accept a click anywhere in the plot area, since a line is too
|
|
1796
|
+
* thin to hit — the same allowance their axis-triggered tooltip already
|
|
1797
|
+
* makes — and answer with the whole category in
|
|
1798
|
+
* {@link F0DataChartPointClickBase.series}, matching what the tooltip
|
|
1799
|
+
* showed.
|
|
1800
|
+
*/
|
|
1801
|
+
onPointClick?: (point: Point) => void;
|
|
1802
|
+
}
|
|
1803
|
+
/** Props shared only by variants with an interactive legend. */
|
|
1804
|
+
interface F0DataChartLegendInteractionProps {
|
|
1805
|
+
/**
|
|
1806
|
+
* Reports the chart's live legend visibility after an interactive toggle.
|
|
1807
|
+
* Primarily used by accessible companion surfaces that must expose the same
|
|
1808
|
+
* data currently shown in the chart.
|
|
1809
|
+
*/
|
|
1810
|
+
onLegendSelectionChange?: (selected: Record<string, boolean>) => void;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* A single data point in a bar chart series.
|
|
1814
|
+
* Can be a simple number or an object with value and optional target.
|
|
1815
|
+
*
|
|
1816
|
+
* `null` is a value that is missing — not known, or not readable by the viewer.
|
|
1817
|
+
* No bar is drawn for it, and the tooltip and screen-reader summary say there is
|
|
1818
|
+
* no data, so it never reads as a real 0.
|
|
1819
|
+
*/
|
|
1820
|
+
type F0DataChartBarDataPoint = number | null | {
|
|
1821
|
+
value: number;
|
|
1822
|
+
/** When set, renders a gradient fade from the bar top up to the target value */
|
|
1823
|
+
target?: number;
|
|
1824
|
+
/** Override color for this individual bar. Must be an F0 design token name. */
|
|
1825
|
+
color?: ChartColorToken;
|
|
1826
|
+
};
|
|
1827
|
+
/**
|
|
1828
|
+
* A series of bars to render in the chart.
|
|
1829
|
+
*/
|
|
1830
|
+
interface F0DataChartBarSeries {
|
|
1831
|
+
/** Display name used in legend and tooltip */
|
|
1832
|
+
name: string;
|
|
1833
|
+
/** Data points — one per category */
|
|
1834
|
+
data: F0DataChartBarDataPoint[];
|
|
1835
|
+
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
1836
|
+
color?: ChartColorToken;
|
|
1837
|
+
}
|
|
1838
|
+
/**
|
|
1839
|
+
* A single data point in a line chart series.
|
|
1840
|
+
* Can be a simple number or an object with a value.
|
|
1841
|
+
*
|
|
1842
|
+
* `null` is a value that is missing — not known, or not readable by the viewer.
|
|
1843
|
+
* The line breaks there instead of dropping to 0 or bridging the gap, and the
|
|
1844
|
+
* tooltip and screen-reader summary say there is no data.
|
|
1845
|
+
*/
|
|
1846
|
+
type F0DataChartLineDataPoint = number | null | {
|
|
1847
|
+
value: number;
|
|
1848
|
+
};
|
|
1849
|
+
/** Line interpolation type */
|
|
1850
|
+
type F0DataChartLineType = "linear" | "smooth" | "step";
|
|
1851
|
+
type F0DataChartPointPlacement = "edge" | "center";
|
|
1852
|
+
/**
|
|
1853
|
+
* A series of data points to render as a line.
|
|
1854
|
+
*/
|
|
1855
|
+
interface F0DataChartLineSeries {
|
|
1856
|
+
/** Display name used in legend and tooltip */
|
|
1857
|
+
name: string;
|
|
1858
|
+
/** Data points — one per category */
|
|
1859
|
+
data: F0DataChartLineDataPoint[];
|
|
1860
|
+
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
1861
|
+
color?: ChartColorToken;
|
|
1862
|
+
/** Render this line with a dashed pattern (useful for projections/targets) */
|
|
1863
|
+
dashed?: boolean;
|
|
1864
|
+
/** Override line interpolation for this series */
|
|
1865
|
+
lineType?: F0DataChartLineType;
|
|
1866
|
+
/** Override area fill for this series */
|
|
1867
|
+
showArea?: boolean;
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* A constant drawn across the whole plot rather than per category.
|
|
1871
|
+
*
|
|
1872
|
+
* For a figure that does not vary with the categories — a peer median, a
|
|
1873
|
+
* target, an average. Drawn as one dashed line with its label at the end, so it
|
|
1874
|
+
* reads as a threshold the bars are measured against rather than as another
|
|
1875
|
+
* series: a constant repeated once per category would claim to be a quantity
|
|
1876
|
+
* each of them has.
|
|
1877
|
+
*/
|
|
1878
|
+
interface F0DataChartReferenceLine {
|
|
1879
|
+
/** Where on the value axis to draw it. */
|
|
1880
|
+
value: number;
|
|
1881
|
+
/** Shown at the end of the line. Omit for an unlabelled rule. */
|
|
1882
|
+
label?: string;
|
|
1883
|
+
/** Must be an F0 design token name. Falls back to a neutral line colour. */
|
|
1884
|
+
color?: ChartColorToken;
|
|
1885
|
+
/** Solid instead of dashed. @default false */
|
|
1886
|
+
solid?: boolean;
|
|
1887
|
+
/**
|
|
1888
|
+
* Shown when the reader hovers the line, under its label and value.
|
|
1889
|
+
*
|
|
1890
|
+
* For saying what the figure actually is — which companies a peer median
|
|
1891
|
+
* covers, which quarter a target belongs to, whether it is an estimate. A
|
|
1892
|
+
* line with no description is not hoverable: there would be nothing to add
|
|
1893
|
+
* beyond the label already printed beside it.
|
|
1894
|
+
*/
|
|
1895
|
+
description?: string;
|
|
1896
|
+
}
|
|
1897
|
+
interface F0DataChartBaseProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
1898
|
+
/** Labels for the category axis (one per data point) */
|
|
1899
|
+
categories: string[];
|
|
1900
|
+
/** Show the legend below the chart. @default true */
|
|
1901
|
+
showLegend?: boolean;
|
|
1902
|
+
/** Show the background grid lines. @default true */
|
|
1903
|
+
showGrid?: boolean;
|
|
1904
|
+
/** Show value labels on each data point. @default false */
|
|
1905
|
+
showLabels?: boolean;
|
|
1906
|
+
/** Format the value axis tick labels (e.g. `(v) => \`${v}M\`` ) */
|
|
1907
|
+
valueFormatter?: (value: number) => string;
|
|
1908
|
+
/**
|
|
1909
|
+
* Format category axis tick labels. Only the axis uses it: the chart's
|
|
1910
|
+
* screen-reader summary reads `categories` as passed. So pass full names
|
|
1911
|
+
* ("January", "Monday") and shorten them here, e.g.
|
|
1912
|
+
* `(category) => category.slice(0, 3)`, rather than passing abbreviations a
|
|
1913
|
+
* screen reader would read out as "Jan".
|
|
1914
|
+
*/
|
|
1915
|
+
categoryFormatter?: (value: string) => string;
|
|
1916
|
+
/**
|
|
1917
|
+
* A second line under a category label, in a quieter style — a count or a
|
|
1918
|
+
* score that qualifies the category, e.g. "61% agreement". Return
|
|
1919
|
+
* `undefined` to leave a category without one. When set, the category name
|
|
1920
|
+
* itself is shown in the primary text colour so the two read as a title and
|
|
1921
|
+
* its detail.
|
|
1922
|
+
*
|
|
1923
|
+
* Shown only when every category label has room of its own: a horizontal
|
|
1924
|
+
* category axis (line charts and vertical bars) with at least 60px for each
|
|
1925
|
+
* category. A denser axis shows only some of the names, and no subtitles.
|
|
1926
|
+
*/
|
|
1927
|
+
categorySubtitle?: (category: string, index: number) => string | undefined;
|
|
1928
|
+
/**
|
|
1929
|
+
* Called when the user clicks a category label on the axis. Set it when each
|
|
1930
|
+
* category opens something of its own — a detail panel, a drill-down — and
|
|
1931
|
+
* the label is where a reader looks for it. Each label is then a button: it
|
|
1932
|
+
* takes keyboard focus and Enter or Space also calls this.
|
|
1933
|
+
*
|
|
1934
|
+
* Works under the same condition as `categorySubtitle`. On a denser axis the
|
|
1935
|
+
* labels are not clickable, so give the same action elsewhere on the page
|
|
1936
|
+
* too, e.g. a click on the point.
|
|
1937
|
+
*/
|
|
1938
|
+
onCategoryClick?: (click: F0DataChartCategoryClick) => void;
|
|
1939
|
+
/**
|
|
1940
|
+
* A last line in the hover tooltip, under a divider — a hint about what a
|
|
1941
|
+
* click does ("Click to see its 4 questions") or a note that applies to the
|
|
1942
|
+
* whole category. Return `undefined` to leave a category without one.
|
|
1943
|
+
*/
|
|
1944
|
+
tooltipFooter?: (category: string, index: number) => string | undefined;
|
|
1945
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
1946
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
* Bar chart variant props.
|
|
1950
|
+
*/
|
|
1951
|
+
interface F0DataChartBarProps extends F0DataChartBaseProps {
|
|
1952
|
+
/** Chart type */
|
|
1953
|
+
type: "bar";
|
|
1954
|
+
/** One or more data series to render as bars */
|
|
1955
|
+
series: F0DataChartBarSeries[];
|
|
1956
|
+
/** Constants drawn across the plot. See {@link F0DataChartReferenceLine}. */
|
|
1957
|
+
referenceLines?: F0DataChartReferenceLine[];
|
|
1958
|
+
/** Bar orientation. @default "vertical" */
|
|
1959
|
+
orientation?: "vertical" | "horizontal";
|
|
1960
|
+
/** Stack all series into a single bar per category. @default false */
|
|
1961
|
+
stacked?: boolean;
|
|
1962
|
+
/**
|
|
1963
|
+
* Draw the stretch of a bar that ran past its `target` in a darker shade of
|
|
1964
|
+
* the bar's own colour, split at the target.
|
|
1965
|
+
*
|
|
1966
|
+
* Left off, a target only shows as the faded ghost the bar has yet to reach,
|
|
1967
|
+
* so a bar that beat its target looks the same as one that landed exactly on
|
|
1968
|
+
* it — the reader has to eye its height against the ghosts beside it. Turn it
|
|
1969
|
+
* on wherever passing the target is itself the news: attainment against a
|
|
1970
|
+
* quota, a goal, a budget.
|
|
1971
|
+
*
|
|
1972
|
+
* Ignored by points with no target, and by negative values — "past the
|
|
1973
|
+
* target" has no single reading when the bar grows downwards.
|
|
1974
|
+
* @default false
|
|
1975
|
+
*/
|
|
1976
|
+
highlightOverachievement?: boolean;
|
|
1977
|
+
/**
|
|
1978
|
+
* Add the share of the target the bar reached to its tooltip, under the
|
|
1979
|
+
* target row (e.g. "108.1% of target").
|
|
1980
|
+
*
|
|
1981
|
+
* Opt-in: the percentage answers "how did this do against its target", which
|
|
1982
|
+
* is the question on a quota or a goal, and noise on a chart where the target
|
|
1983
|
+
* is a reference line the reader is not scoring against.
|
|
1984
|
+
*
|
|
1985
|
+
* The percentage is `value / target`, the same two numbers the bar draws.
|
|
1986
|
+
* @default false
|
|
1987
|
+
*/
|
|
1988
|
+
showTargetProgress?: boolean;
|
|
1989
|
+
/**
|
|
1990
|
+
* When {@link F0DataChartBaseProps.showLabels} is on, hide a category's value
|
|
1991
|
+
* labels if the widest value in that category doesn't fit the bar. The whole
|
|
1992
|
+
* category drops together (all-or-nothing), so a tight chart never shows a
|
|
1993
|
+
* ragged, half-labelled set instead of overlapping numbers. @default true
|
|
1994
|
+
*/
|
|
1995
|
+
hideOverflowingLabels?: boolean;
|
|
1996
|
+
/**
|
|
1997
|
+
* Per-side clearance in pixels the widest value must have before
|
|
1998
|
+
* {@link F0DataChartBarProps.hideOverflowingLabels} counts it as fitting.
|
|
1999
|
+
* Overrides the default, which is placement-based: **6** for stacked (inside)
|
|
2000
|
+
* labels, **0** for labels outside the bar.
|
|
2001
|
+
*/
|
|
2002
|
+
labelFitPadding?: number;
|
|
2003
|
+
/**
|
|
2004
|
+
* With {@link F0DataChartBarProps.hideOverflowingLabels} on, use the widest
|
|
2005
|
+
* label as the fit reference for vertical columns and labels outside
|
|
2006
|
+
* horizontal bars. If it exceeds the shared allowance, hide every label
|
|
2007
|
+
* instead of leaving a ragged, partially labelled chart. Labels inside
|
|
2008
|
+
* horizontal stacked segments always fit per segment because their available
|
|
2009
|
+
* widths differ. Height overflow is also evaluated per bar. @default true
|
|
2010
|
+
*/
|
|
2011
|
+
hideAllLabelsOnOverflow?: boolean;
|
|
2012
|
+
/**
|
|
2013
|
+
* Draw only as many categories as fit at a readable bar thickness, instead of
|
|
2014
|
+
* compressing every one of them into the available height.
|
|
2015
|
+
*
|
|
2016
|
+
* Opt-in, because it hides data: a windowed chart shows the first N rows in
|
|
2017
|
+
* data order and nothing in the chart itself leads to the rest. Set it only
|
|
2018
|
+
* where the surrounding UI offers the way back — subscribe to
|
|
2019
|
+
* {@link F0DataChartBarProps.onHiddenCategoriesChange} and put a control next
|
|
2020
|
+
* to the count, as `F0AnalyticsDashboard` does. Left off, a dense chart stays
|
|
2021
|
+
* complete and its bars get thinner, which is the readable-but-honest end of
|
|
2022
|
+
* the trade.
|
|
2023
|
+
*
|
|
2024
|
+
* Ignored by vertical charts, which lay categories out along the width.
|
|
2025
|
+
* @default false
|
|
2026
|
+
*/
|
|
2027
|
+
windowCategories?: boolean;
|
|
2028
|
+
/**
|
|
2029
|
+
* Render every category at once, overriding
|
|
2030
|
+
* {@link F0DataChartBarProps.windowCategories}.
|
|
2031
|
+
*
|
|
2032
|
+
* Set this when the reader has asked to see the whole distribution — an
|
|
2033
|
+
* expanded or fullscreen view — and accepts thinner bars in exchange. Ignored
|
|
2034
|
+
* by vertical charts, which lay categories out along the width.
|
|
2035
|
+
* @default false
|
|
2036
|
+
*/
|
|
2037
|
+
showAllCategories?: boolean;
|
|
2038
|
+
/**
|
|
2039
|
+
* Reports how many categories the row window is hiding — `0` when every
|
|
2040
|
+
* category is on screen. Fires whenever the count changes, which includes
|
|
2041
|
+
* container resizes and {@link F0DataChartBarProps.showAllCategories} being
|
|
2042
|
+
* switched on.
|
|
2043
|
+
*
|
|
2044
|
+
* The chart states the fact rather than rendering an affordance for it: only
|
|
2045
|
+
* the surrounding UI knows where a "see everything" control belongs. The
|
|
2046
|
+
* dashboard puts it in the widget's description, next to the count.
|
|
2047
|
+
*/
|
|
2048
|
+
onHiddenCategoriesChange?: (hiddenCategoryCount: number) => void;
|
|
2049
|
+
/**
|
|
2050
|
+
* Suggested number of segments on the value axis — lower values draw fewer
|
|
2051
|
+
* grid lines. Applies to whichever axis is the value axis (Y for vertical
|
|
2052
|
+
* bars, X for horizontal). ECharts rounds to "nice" intervals. @default 2
|
|
2053
|
+
*/
|
|
2054
|
+
valueAxisSplitNumber?: number;
|
|
2055
|
+
/**
|
|
2056
|
+
* Font size in pixels for the value labels. @default 11
|
|
2057
|
+
*/
|
|
2058
|
+
labelFontSize?: number;
|
|
2059
|
+
/**
|
|
2060
|
+
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
2061
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
2062
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
2063
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
2064
|
+
* ("107,505").
|
|
2065
|
+
*/
|
|
2066
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2067
|
+
}
|
|
2068
|
+
/**
|
|
2069
|
+
* Line chart variant props.
|
|
2070
|
+
*/
|
|
2071
|
+
interface F0DataChartLineProps extends F0DataChartBaseProps {
|
|
2072
|
+
/** Chart type */
|
|
2073
|
+
type: "line";
|
|
2074
|
+
/** One or more data series to render as lines */
|
|
2075
|
+
series: F0DataChartLineSeries[];
|
|
2076
|
+
/** Constants drawn across the plot. See {@link F0DataChartReferenceLine}. */
|
|
2077
|
+
referenceLines?: F0DataChartReferenceLine[];
|
|
2078
|
+
/** Line interpolation type. @default "linear" */
|
|
2079
|
+
lineType?: F0DataChartLineType;
|
|
2080
|
+
/** Show gradient area fill below lines. @default true */
|
|
2081
|
+
showArea?: boolean;
|
|
2082
|
+
/** Show data point dots on the lines. @default false */
|
|
2083
|
+
showDots?: boolean;
|
|
2084
|
+
pointPlacement?: F0DataChartPointPlacement;
|
|
2085
|
+
/**
|
|
2086
|
+
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
2087
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
2088
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
2089
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
2090
|
+
* ("107,505").
|
|
2091
|
+
*/
|
|
2092
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2093
|
+
}
|
|
2094
|
+
/**
|
|
2095
|
+
* A single data point in a funnel chart series.
|
|
2096
|
+
* Each point has a value and a stage name.
|
|
2097
|
+
*/
|
|
2098
|
+
interface F0DataChartFunnelDataPoint {
|
|
2099
|
+
/** Numeric value for this funnel stage */
|
|
2100
|
+
value: number;
|
|
2101
|
+
/** Stage label (e.g. "Applied", "Phone Screen", "Hired") */
|
|
2102
|
+
name: string;
|
|
2103
|
+
/** Override color for this individual stage. Must be an F0 design token name. */
|
|
2104
|
+
color?: ChartColorToken;
|
|
2105
|
+
}
|
|
2106
|
+
/**
|
|
2107
|
+
* A single funnel series with named data points.
|
|
2108
|
+
*/
|
|
2109
|
+
interface F0DataChartFunnelSeries {
|
|
2110
|
+
/** Display name used in legend and tooltip */
|
|
2111
|
+
name: string;
|
|
2112
|
+
/** Data points — one per funnel stage */
|
|
2113
|
+
data: F0DataChartFunnelDataPoint[];
|
|
2114
|
+
/** Override color for the entire series. Must be an F0 design token name. */
|
|
2115
|
+
color?: ChartColorToken;
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Funnel chart variant props.
|
|
2119
|
+
*
|
|
2120
|
+
* Funnels do NOT use category/value axes — stage names come from the data
|
|
2121
|
+
* points themselves. This interface is separate from `F0DataChartBaseProps`.
|
|
2122
|
+
*/
|
|
2123
|
+
interface F0DataChartFunnelProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
2124
|
+
/** Chart type */
|
|
2125
|
+
type: "funnel";
|
|
2126
|
+
/** The funnel series to render */
|
|
2127
|
+
series: F0DataChartFunnelSeries;
|
|
2128
|
+
/** Sort direction of funnel stages. @default "descending" */
|
|
2129
|
+
sort?: "descending" | "ascending" | "none";
|
|
2130
|
+
/** Gap between funnel stages in pixels. @default 0 */
|
|
2131
|
+
gap?: number;
|
|
2132
|
+
/** Funnel orientation. @default "horizontal" */
|
|
2133
|
+
orient?: "horizontal" | "vertical";
|
|
2134
|
+
/** Show the legend below the chart. @default false */
|
|
2135
|
+
showLegend?: boolean;
|
|
2136
|
+
/** Show value labels on each stage. @default true */
|
|
2137
|
+
showLabels?: boolean;
|
|
2138
|
+
/**
|
|
2139
|
+
* Show conversion percentages in labels.
|
|
2140
|
+
* Each stage displays its value as a percentage of the first stage.
|
|
2141
|
+
* The tooltip also shows step-over-step conversion.
|
|
2142
|
+
* @default false
|
|
2143
|
+
*/
|
|
2144
|
+
showConversion?: boolean;
|
|
2145
|
+
/** Format the value displayed in labels and tooltip */
|
|
2146
|
+
valueFormatter?: (value: number) => string;
|
|
2147
|
+
/**
|
|
2148
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
2149
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
2150
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
2151
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
2152
|
+
*/
|
|
2153
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2154
|
+
/**
|
|
2155
|
+
* Map stage colors to their values using a gradient scale (light→dark).
|
|
2156
|
+
* When enabled, higher values get a more intense color. @default true
|
|
2157
|
+
*/
|
|
2158
|
+
colorScale?: boolean;
|
|
2159
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
2160
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* A single data point in a pie chart.
|
|
2164
|
+
*/
|
|
2165
|
+
interface F0DataChartPieDataPoint {
|
|
2166
|
+
/** Numeric value for this segment */
|
|
2167
|
+
value: number;
|
|
2168
|
+
/** Segment label */
|
|
2169
|
+
name: string;
|
|
2170
|
+
/** Override color for this individual segment. Must be an F0 design token name. */
|
|
2171
|
+
color?: ChartColorToken;
|
|
2172
|
+
}
|
|
2173
|
+
/**
|
|
2174
|
+
* A single pie series with named data points.
|
|
2175
|
+
*/
|
|
2176
|
+
interface F0DataChartPieSeries {
|
|
2177
|
+
/** Display name used in tooltip */
|
|
2178
|
+
name: string;
|
|
2179
|
+
/** Data points — one per pie segment */
|
|
2180
|
+
data: F0DataChartPieDataPoint[];
|
|
2181
|
+
/** Override color for the entire series. Must be an F0 design token name. */
|
|
2182
|
+
color?: ChartColorToken;
|
|
2183
|
+
}
|
|
2184
|
+
/**
|
|
2185
|
+
* Pie/donut chart variant props.
|
|
2186
|
+
*
|
|
2187
|
+
* Pies do NOT use category/value axes — segment names come from the data
|
|
2188
|
+
* points themselves. This interface is separate from `F0DataChartBaseProps`.
|
|
2189
|
+
*/
|
|
2190
|
+
interface F0DataChartPieProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
2191
|
+
/** Chart type */
|
|
2192
|
+
type: "pie";
|
|
2193
|
+
/** The pie series to render */
|
|
2194
|
+
series: F0DataChartPieSeries;
|
|
2195
|
+
/** Inner radius percentage. 0 = pie, >0 = donut. @default 0 */
|
|
2196
|
+
innerRadius?: number;
|
|
2197
|
+
/** Show the legend below the chart. @default true */
|
|
2198
|
+
showLegend?: boolean;
|
|
2199
|
+
/** Show value labels on each segment. @default true */
|
|
2200
|
+
showLabels?: boolean;
|
|
2201
|
+
/** Show percentage in labels. @default false */
|
|
2202
|
+
showPercentage?: boolean;
|
|
2203
|
+
/** Format the value displayed in labels and tooltip */
|
|
2204
|
+
valueFormatter?: (value: number) => string;
|
|
2205
|
+
/**
|
|
2206
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
2207
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
2208
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
2209
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
2210
|
+
*/
|
|
2211
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2212
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
2213
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* A radar chart indicator (axis/dimension).
|
|
2217
|
+
*/
|
|
2218
|
+
interface F0DataChartRadarIndicator {
|
|
2219
|
+
/** Name of the axis/dimension (e.g. "Performance", "Engagement") */
|
|
2220
|
+
name: string;
|
|
2221
|
+
/** Maximum value for this axis. @default auto-calculated from data */
|
|
2222
|
+
max?: number;
|
|
2223
|
+
}
|
|
2224
|
+
/**
|
|
2225
|
+
* A series of data points for a radar chart.
|
|
2226
|
+
*/
|
|
2227
|
+
interface F0DataChartRadarSeries {
|
|
2228
|
+
/** Display name used in legend and tooltip (e.g. "Team A", "Team B") */
|
|
2229
|
+
name: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* Values — one per indicator, in the same order. `null` marks an indicator
|
|
2232
|
+
* with no data: the tooltip reads "No data" and no vertex label is drawn.
|
|
2233
|
+
* ECharts still draws that vertex at the centre, the same place as `0`.
|
|
2234
|
+
*/
|
|
2235
|
+
data: (number | null)[];
|
|
2236
|
+
/** Override color for this series. Must be an F0 design token name. */
|
|
2237
|
+
color?: ChartColorToken;
|
|
2238
|
+
}
|
|
2239
|
+
/**
|
|
2240
|
+
* Radar chart variant props.
|
|
2241
|
+
*
|
|
2242
|
+
* Radar charts use a polar coordinate system — no cartesian axes.
|
|
2243
|
+
*/
|
|
2244
|
+
interface F0DataChartRadarProps extends F0DataChartCommonProps<F0DataChartRadarPointClick>, F0DataChartLegendInteractionProps {
|
|
2245
|
+
/** Chart type */
|
|
2246
|
+
type: "radar";
|
|
2247
|
+
/** Axes of the radar — defines the dimensions to compare */
|
|
2248
|
+
indicators: F0DataChartRadarIndicator[];
|
|
2249
|
+
/** Series to compare (one or more) */
|
|
2250
|
+
series: F0DataChartRadarSeries[];
|
|
2251
|
+
/** Fill the area of each series with semi-transparent color. @default true */
|
|
2252
|
+
showArea?: boolean;
|
|
2253
|
+
/** Show the legend below the chart. @default true */
|
|
2254
|
+
showLegend?: boolean;
|
|
2255
|
+
/** Show value labels on each vertex. @default false */
|
|
2256
|
+
showLabels?: boolean;
|
|
2257
|
+
/** Format values in labels and tooltip */
|
|
2258
|
+
valueFormatter?: (value: number) => string;
|
|
2259
|
+
/**
|
|
2260
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
2261
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
2262
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
2263
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
2264
|
+
*/
|
|
2265
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2266
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
2267
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
2268
|
+
}
|
|
2269
|
+
/**
|
|
2270
|
+
* Gauge/KPI chart variant props.
|
|
2271
|
+
*
|
|
2272
|
+
* A single-value gauge indicator — no axes, no legend.
|
|
2273
|
+
*/
|
|
2274
|
+
interface F0DataChartGaugeProps extends F0DataChartCommonProps {
|
|
2275
|
+
/** Chart type */
|
|
2276
|
+
type: "gauge";
|
|
2277
|
+
/** Current value */
|
|
2278
|
+
value: number;
|
|
2279
|
+
/** Minimum value. @default 0 */
|
|
2280
|
+
min?: number;
|
|
2281
|
+
/** Maximum value. @default 100 */
|
|
2282
|
+
max?: number;
|
|
2283
|
+
/** Label shown below the value */
|
|
2284
|
+
name?: string;
|
|
2285
|
+
/** Override color. Must be an F0 design token name. */
|
|
2286
|
+
color?: ChartColorToken;
|
|
2287
|
+
/** Show the numeric value in the center. @default true */
|
|
2288
|
+
showValue?: boolean;
|
|
2289
|
+
/** Format the value displayed */
|
|
2290
|
+
valueFormatter?: (value: number) => string;
|
|
2291
|
+
/**
|
|
2292
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
2293
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
2294
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
2295
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
2296
|
+
*/
|
|
2297
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2298
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
2299
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
2300
|
+
}
|
|
2301
|
+
/**
|
|
2302
|
+
* Heatmap chart variant props.
|
|
2303
|
+
*
|
|
2304
|
+
* Renders a grid where each cell's color intensity represents a numeric value.
|
|
2305
|
+
* Uses two category axes (x for columns, y for rows) and a visualMap for
|
|
2306
|
+
* value→color mapping.
|
|
2307
|
+
*/
|
|
2308
|
+
interface F0DataChartHeatmapProps extends F0DataChartCommonProps {
|
|
2309
|
+
/** Chart type */
|
|
2310
|
+
type: "heatmap";
|
|
2311
|
+
/** Column labels (x-axis) */
|
|
2312
|
+
xCategories: string[];
|
|
2313
|
+
/** Row labels (y-axis) */
|
|
2314
|
+
yCategories: string[];
|
|
2315
|
+
/** Data as [xIndex, yIndex, value] tuples */
|
|
2316
|
+
data: [number, number, number][];
|
|
2317
|
+
/** Minimum value for color scale. @default auto from data */
|
|
2318
|
+
min?: number;
|
|
2319
|
+
/** Maximum value for color scale. @default auto from data */
|
|
2320
|
+
max?: number;
|
|
2321
|
+
/** Show value labels inside cells. @default false */
|
|
2322
|
+
showLabels?: boolean;
|
|
2323
|
+
/** Show the visual map (color scale legend). @default false */
|
|
2324
|
+
showVisualMap?: boolean;
|
|
2325
|
+
/** Format values in labels and tooltip */
|
|
2326
|
+
valueFormatter?: (value: number) => string;
|
|
2327
|
+
/**
|
|
2328
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
2329
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
2330
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
2331
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
2332
|
+
*/
|
|
2333
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2334
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
2335
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
2336
|
+
}
|
|
2337
|
+
/**
|
|
2338
|
+
* A single point in a scatter series.
|
|
2339
|
+
*
|
|
2340
|
+
* The bare `[x, y]` tuple is the terse form. The object form additionally
|
|
2341
|
+
* carries `label` — the point's identity (e.g. an employee or team name),
|
|
2342
|
+
* shown as the tooltip header — and an optional `avatar` drawn in place of
|
|
2343
|
+
* the dot.
|
|
2344
|
+
*/
|
|
2345
|
+
type F0DataChartScatterDataPoint = [number, number] | {
|
|
2346
|
+
/** Horizontal position, plotted on the value X axis */
|
|
2347
|
+
x: number;
|
|
2348
|
+
/** Vertical position, plotted on the value Y axis */
|
|
2349
|
+
y: number;
|
|
2350
|
+
/** Identity of this point, used as the tooltip header (e.g. "Ana Ruiz") */
|
|
2351
|
+
label?: string;
|
|
2352
|
+
/** Override color for this individual point. Must be an F0 design token name. */
|
|
2353
|
+
color?: ChartColorToken;
|
|
2354
|
+
/**
|
|
2355
|
+
* Draw this avatar in place of the dot, e.g. the employee the point
|
|
2356
|
+
* stands for. It sits on a dot of the series color, so a color split
|
|
2357
|
+
* still reads. Rendered at the largest avatar size that fits
|
|
2358
|
+
* `pointSize`, and never below `xs` (20px).
|
|
2359
|
+
*/
|
|
2360
|
+
avatar?: AvatarVariant$1;
|
|
2361
|
+
};
|
|
2362
|
+
/**
|
|
2363
|
+
* A group of points sharing a color and a legend entry. Use one series per
|
|
2364
|
+
* group value to split a scatter by a dimension (e.g. one per department).
|
|
2365
|
+
*/
|
|
2366
|
+
interface F0DataChartScatterSeries {
|
|
2367
|
+
/** Display name used in legend and tooltip */
|
|
2368
|
+
name: string;
|
|
2369
|
+
/** Points in this group */
|
|
2370
|
+
data: F0DataChartScatterDataPoint[];
|
|
2371
|
+
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
2372
|
+
color?: ChartColorToken;
|
|
2373
|
+
}
|
|
2374
|
+
/**
|
|
2375
|
+
* Scatter chart variant props.
|
|
2376
|
+
*
|
|
2377
|
+
* Plots x/y pairs on two value axes to show the relationship between two
|
|
2378
|
+
* measures. Unlike bar/line there is no category axis — both axes are
|
|
2379
|
+
* continuous — so this interface is separate from `F0DataChartBaseProps`.
|
|
2380
|
+
* Pass multiple `series` to color-split the points by a group dimension.
|
|
2381
|
+
*/
|
|
2382
|
+
interface F0DataChartScatterProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
2383
|
+
/** Chart type */
|
|
2384
|
+
type: "scatter";
|
|
2385
|
+
/** One or more point groups. Multiple series render as a color split. */
|
|
2386
|
+
series: F0DataChartScatterSeries[];
|
|
2387
|
+
/**
|
|
2388
|
+
* Point diameter in pixels. Points with an `avatar` use the largest avatar
|
|
2389
|
+
* size that fits it, and never go below 20px. @default 12
|
|
2390
|
+
*/
|
|
2391
|
+
pointSize?: number;
|
|
2392
|
+
/**
|
|
2393
|
+
* Fit each axis to its data range instead of anchoring it at zero. Turn off
|
|
2394
|
+
* to force both axes through the origin. @default true
|
|
2395
|
+
*/
|
|
2396
|
+
scaleAxes?: boolean;
|
|
2397
|
+
/** Show the legend below the chart. Only rendered with 2+ series. @default true */
|
|
2398
|
+
showLegend?: boolean;
|
|
2399
|
+
/** Show the background grid lines on both axes. @default true */
|
|
2400
|
+
showGrid?: boolean;
|
|
2401
|
+
/** Format the Y axis tick labels */
|
|
2402
|
+
valueFormatter?: (value: number) => string;
|
|
2403
|
+
/** Format the X axis tick labels */
|
|
2404
|
+
xValueFormatter?: (value: number) => string;
|
|
2405
|
+
/**
|
|
2406
|
+
* Formatter for the y value shown in the hover tooltip. Defaults to
|
|
2407
|
+
* {@link valueFormatter}, so a unit or a currency on the Y axis reads the same
|
|
2408
|
+
* on hover, then to a plain localized number. Set it when the axis has to
|
|
2409
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
2410
|
+
*/
|
|
2411
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2412
|
+
/**
|
|
2413
|
+
* Formatter for the x value shown in the hover tooltip. Same contract as
|
|
2414
|
+
* {@link tooltipValueFormatter}, against {@link xValueFormatter}.
|
|
2415
|
+
*/
|
|
2416
|
+
xTooltipValueFormatter?: (value: number) => string;
|
|
2417
|
+
/**
|
|
2418
|
+
* What the X measure is, e.g. "salary". Labels the x row in the tooltip —
|
|
2419
|
+
* a scatter has no headline value, so both coordinates read as rows and
|
|
2420
|
+
* need naming, the same way radar names its indicators.
|
|
2421
|
+
*/
|
|
2422
|
+
xAxisName?: string;
|
|
2423
|
+
/** What the Y measure is, e.g. "tenure". Labels the y row in the tooltip. */
|
|
2424
|
+
yAxisName?: string;
|
|
2425
|
+
/**
|
|
2426
|
+
* Pin the X axis bounds instead of letting ECharts round them to nice values,
|
|
2427
|
+
* e.g. `0`–`100` for a percentage. Either bound can be set on its own.
|
|
2428
|
+
*/
|
|
2429
|
+
xAxisMin?: number;
|
|
2430
|
+
/** Upper X axis bound. See {@link xAxisMin}. */
|
|
2431
|
+
xAxisMax?: number;
|
|
2432
|
+
/** Lower Y axis bound, e.g. the bottom of a rating scale. */
|
|
2433
|
+
yAxisMin?: number;
|
|
2434
|
+
/** Upper Y axis bound, e.g. the top of a rating scale. */
|
|
2435
|
+
yAxisMax?: number;
|
|
2436
|
+
/**
|
|
2437
|
+
* Print each point's `label` next to it, the way bar charts print their
|
|
2438
|
+
* values, so a small labelled cloud reads without hovering. Overlapping labels
|
|
2439
|
+
* are hidden. @default false
|
|
2440
|
+
*/
|
|
2441
|
+
showPointLabels?: boolean;
|
|
2442
|
+
/**
|
|
2443
|
+
* Merge points that land on nearly the same spot into one dot. The merged dot
|
|
2444
|
+
* prints no label or avatar; hovering it lists every point it holds.
|
|
2445
|
+
* @default false
|
|
2446
|
+
*/
|
|
2447
|
+
groupNearbyPoints?: boolean;
|
|
2448
|
+
/** Render `xAxisName`/`yAxisName` as axis titles, not only in the tooltip. @default false */
|
|
2449
|
+
showAxisNames?: boolean;
|
|
2450
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
2451
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
2452
|
+
}
|
|
2453
|
+
/**
|
|
2454
|
+
* Props for the F0DataChart component.
|
|
2455
|
+
*
|
|
2456
|
+
* A unified chart component that supports bar, line, funnel, pie, radar,
|
|
2457
|
+
* gauge, heatmap, and scatter chart types via a discriminated `type` prop.
|
|
2458
|
+
*/
|
|
2459
|
+
type F0DataChartProps = F0DataChartBarProps | F0DataChartLineProps | F0DataChartFunnelProps | F0DataChartPieProps | F0DataChartRadarProps | F0DataChartGaugeProps | F0DataChartHeatmapProps | F0DataChartScatterProps;
|
|
2460
|
+
//#endregion
|
|
2461
|
+
//#region src/addons/charts/F0MatrixChart/types.d.ts
|
|
2462
|
+
/**
|
|
2463
|
+
* One band of a matrix axis: a column (left → right) or a row (bottom → top).
|
|
2464
|
+
*
|
|
2465
|
+
* A score falls in the first band where `min < score <= max`. The first band
|
|
2466
|
+
* also takes a score equal to its `min`, so a 0–100 scale starts at 0
|
|
2467
|
+
* inclusive. A score on the line between two bands goes to the lower one, as
|
|
2468
|
+
* in the talent 9-box (33 on 0–33 / 33–66 is low).
|
|
2469
|
+
* Leave a bound out to make the band open on that side.
|
|
2470
|
+
*/
|
|
2471
|
+
interface F0MatrixChartBand {
|
|
2472
|
+
/** Name of the band, e.g. "Low", "Medium", "High" */
|
|
2473
|
+
label: string;
|
|
2474
|
+
/** Lowest score in the band (exclusive, except on the first band) */
|
|
2475
|
+
min?: number;
|
|
2476
|
+
/** Highest score in the band (inclusive) */
|
|
2477
|
+
max?: number;
|
|
2478
|
+
}
|
|
2479
|
+
/**
|
|
2480
|
+
* Configuration for one box of the matrix. Boxes that are not listed have no
|
|
2481
|
+
* name and take their color from their position.
|
|
2482
|
+
*/
|
|
2483
|
+
interface F0MatrixChartCell {
|
|
2484
|
+
/** 0-based column, counted from the left */
|
|
2485
|
+
column: number;
|
|
2486
|
+
/** 0-based row, counted from the bottom */
|
|
2487
|
+
row: number;
|
|
2488
|
+
/** Name of the box, e.g. "Top talent" */
|
|
2489
|
+
label?: string;
|
|
2490
|
+
/** What the box means. Shown in the tooltip of the box's name. */
|
|
2491
|
+
description?: string;
|
|
2492
|
+
/**
|
|
2493
|
+
* Tint of the box. One of the F0 chart color tokens, at the medium tone.
|
|
2494
|
+
* Replaces the color the box gets from its position.
|
|
2495
|
+
*/
|
|
2496
|
+
color?: ChartColorToken;
|
|
2497
|
+
}
|
|
2498
|
+
/**
|
|
2499
|
+
* Something shown inside a matrix box, usually a person. The chart places it
|
|
2500
|
+
* by its two scores, through the bands' `min` / `max`.
|
|
2501
|
+
*/
|
|
2502
|
+
interface F0MatrixChartItem {
|
|
2503
|
+
/** Unique id of the item */
|
|
2504
|
+
id: string;
|
|
2505
|
+
/** Name of the item, e.g. a person's full name. Read in tooltips. */
|
|
2506
|
+
label: string;
|
|
2507
|
+
/** Image of the avatar. Falls back to initials of `label`. */
|
|
2508
|
+
src?: string;
|
|
2509
|
+
/** Score on the horizontal axis, bucketed into `columns` */
|
|
2510
|
+
x: number;
|
|
2511
|
+
/** Score on the vertical axis, bucketed into `rows` */
|
|
2512
|
+
y: number;
|
|
2513
|
+
}
|
|
2514
|
+
declare const matrixItemTypes: readonly ["person", "team", "company"];
|
|
2515
|
+
/** Which avatar the items are drawn with */
|
|
2516
|
+
type F0MatrixChartItemType = (typeof matrixItemTypes)[number];
|
|
2517
|
+
/** How the matrix is drawn, whatever its data */
|
|
2518
|
+
interface F0MatrixChartDisplayProps {
|
|
2519
|
+
/**
|
|
2520
|
+
* Which avatar the items are drawn with.
|
|
2521
|
+
* @default "person"
|
|
2522
|
+
*/
|
|
2523
|
+
itemType?: F0MatrixChartItemType;
|
|
2524
|
+
/** Title of the horizontal axis, e.g. "Performance score" */
|
|
2525
|
+
xAxisLabel?: string;
|
|
2526
|
+
/** Title of the vertical axis, e.g. "Potential score" */
|
|
2527
|
+
yAxisLabel?: string;
|
|
2528
|
+
/**
|
|
2529
|
+
* Show the label of every band along the axes.
|
|
2530
|
+
* @default false
|
|
2531
|
+
*/
|
|
2532
|
+
showBandLabels?: boolean;
|
|
2533
|
+
/**
|
|
2534
|
+
* Show each box's share of the items next to its count.
|
|
2535
|
+
* @default true
|
|
2536
|
+
*/
|
|
2537
|
+
showPercentage?: boolean;
|
|
2538
|
+
/**
|
|
2539
|
+
* Exact number of avatars shown per box before the `+N` counter.
|
|
2540
|
+
* @default as many as fit the box
|
|
2541
|
+
*/
|
|
2542
|
+
maxAvatars?: number;
|
|
2543
|
+
/**
|
|
2544
|
+
* What the chart is about, e.g. "9-box, Q3 review". Screen readers announce
|
|
2545
|
+
* it as the name of the grid.
|
|
2546
|
+
*/
|
|
2547
|
+
ariaLabel?: string;
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* A grid of named, colored boxes with the items (people, teams…) that fall
|
|
2551
|
+
* in each one, placed by two scores: a 9-box talent grid, a 6-box, a 16-box.
|
|
2552
|
+
*/
|
|
2553
|
+
interface F0MatrixChartProps extends F0MatrixChartDisplayProps {
|
|
2554
|
+
/**
|
|
2555
|
+
* Bands of the horizontal axis, left → right. At least one, at most
|
|
2556
|
+
* {@link MATRIX_MAX_COLUMNS}.
|
|
2557
|
+
*/
|
|
2558
|
+
columns: F0MatrixChartBand[];
|
|
2559
|
+
/**
|
|
2560
|
+
* Bands of the vertical axis, bottom → top. At least one, at most
|
|
2561
|
+
* {@link MATRIX_MAX_ROWS}.
|
|
2562
|
+
*/
|
|
2563
|
+
rows: F0MatrixChartBand[];
|
|
2564
|
+
/** Name, description and color of each box */
|
|
2565
|
+
cells?: F0MatrixChartCell[];
|
|
2566
|
+
/** What goes inside the boxes */
|
|
2567
|
+
items?: F0MatrixChartItem[];
|
|
2568
|
+
/** Customize or opt out of the empty state shown when nobody is placed. */
|
|
2569
|
+
emptyState?: F0DataChartEmptyStateProps;
|
|
2570
|
+
}
|
|
2571
|
+
//#endregion
|
|
1637
2572
|
//#region src/elements/avatars/F0AvatarModule/F0AvatarModule.d.ts
|
|
1638
2573
|
declare const moduleAvatarVariants: (props?: ({
|
|
1639
2574
|
size?: "2xs" | "3xs" | "4xs" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
@@ -2342,7 +3277,28 @@ interface ChatDashboardScatterChartConfig {
|
|
|
2342
3277
|
/** Formats the X measure, which is a second measure rather than a category */
|
|
2343
3278
|
xValueFormat?: FormatPreset;
|
|
2344
3279
|
}
|
|
2345
|
-
|
|
3280
|
+
/**
|
|
3281
|
+
* The talent grid. The bands, boxes, names and colors are what One authors —
|
|
3282
|
+
* asking for fewer or more boxes changes them — and the people come from the
|
|
3283
|
+
* data, each with the two scores the grid buckets them by.
|
|
3284
|
+
*/
|
|
3285
|
+
interface ChatDashboardMatrixChartConfig {
|
|
3286
|
+
type: "matrix";
|
|
3287
|
+
/** Bands of the horizontal score; see F0MatrixChartBand for the boundary rule */
|
|
3288
|
+
columns: F0MatrixChartBand[];
|
|
3289
|
+
/** Bands of the vertical score */
|
|
3290
|
+
rows: F0MatrixChartBand[];
|
|
3291
|
+
cells?: F0MatrixChartCell[];
|
|
3292
|
+
itemType?: F0MatrixChartItemType;
|
|
3293
|
+
/** What the X score is, e.g. "Performance score" */
|
|
3294
|
+
xAxisName?: string;
|
|
3295
|
+
/** What the Y score is, e.g. "Potential score" */
|
|
3296
|
+
yAxisName?: string;
|
|
3297
|
+
showBandLabels?: boolean;
|
|
3298
|
+
showPercentage?: boolean;
|
|
3299
|
+
maxAvatars?: number;
|
|
3300
|
+
}
|
|
3301
|
+
type ChatDashboardChartConfig = ChatDashboardBarChartConfig | ChatDashboardLineChartConfig | ChatDashboardFunnelChartConfig | ChatDashboardRadarChartConfig | ChatDashboardPieChartConfig | ChatDashboardGaugeChartConfig | ChatDashboardHeatmapChartConfig | ChatDashboardScatterChartConfig | ChatDashboardMatrixChartConfig;
|
|
2346
3302
|
type ChatDashboardMetricFormat = {
|
|
2347
3303
|
type: "number";
|
|
2348
3304
|
} | {
|
|
@@ -2429,6 +3385,18 @@ interface ScatterComputation {
|
|
|
2429
3385
|
series?: string;
|
|
2430
3386
|
limit?: number;
|
|
2431
3387
|
}
|
|
3388
|
+
/**
|
|
3389
|
+
* One row per person, no aggregation: `xAxis` and `yAxis` are the two score
|
|
3390
|
+
* columns, `label` the name and `id` the column identifying the person.
|
|
3391
|
+
*/
|
|
3392
|
+
interface MatrixComputation {
|
|
3393
|
+
datasetId: string;
|
|
3394
|
+
xAxis: string;
|
|
3395
|
+
yAxis: string;
|
|
3396
|
+
label: string;
|
|
3397
|
+
id?: string;
|
|
3398
|
+
limit?: number;
|
|
3399
|
+
}
|
|
2432
3400
|
interface CollectionComputation {
|
|
2433
3401
|
datasetId: string;
|
|
2434
3402
|
sortBy?: string;
|
|
@@ -2511,7 +3479,7 @@ interface ChatDashboardItemBase {
|
|
|
2511
3479
|
interface ChatDashboardChartItem extends ChatDashboardItemBase {
|
|
2512
3480
|
type: "chart";
|
|
2513
3481
|
chart: ChatDashboardChartConfig;
|
|
2514
|
-
computation: ChartComputation | RadarComputation | PieComputation | GaugeComputation | HeatmapComputation | ScatterComputation;
|
|
3482
|
+
computation: ChartComputation | RadarComputation | PieComputation | GaugeComputation | HeatmapComputation | ScatterComputation | MatrixComputation;
|
|
2515
3483
|
}
|
|
2516
3484
|
interface ChatDashboardMetricItem extends ChatDashboardItemBase {
|
|
2517
3485
|
type: "metric";
|
|
@@ -3173,15 +4141,6 @@ interface BarSeriesCellValue {
|
|
|
3173
4141
|
}
|
|
3174
4142
|
declare const BarSeriesCell: (args: BarSeriesCellValue, meta: ValueDisplayRendererContext) => import("react").JSX.Element;
|
|
3175
4143
|
//#endregion
|
|
3176
|
-
//#region src/elements/lib/charts/data-chart-colors.d.ts
|
|
3177
|
-
/**
|
|
3178
|
-
* The 15 chromatic color names from the F0 design token palette.
|
|
3179
|
-
* These are the only colors allowed for custom series / data-point colors.
|
|
3180
|
-
*/
|
|
3181
|
-
declare const chartColorTokens: readonly ["lilac", "barbie", "smoke", "army", "flubber", "indigo", "camel", "radical", "viridian", "orange", "red", "grass", "malibu", "yellow", "purple"];
|
|
3182
|
-
/** A valid chart color token — one of the 15 chromatic F0 base-color names. */
|
|
3183
|
-
type ChartColorToken = (typeof chartColorTokens)[number];
|
|
3184
|
-
//#endregion
|
|
3185
4144
|
//#region src/elements/value-display/types/categoryBarChart/categoryBarChart.d.ts
|
|
3186
4145
|
/**
|
|
3187
4146
|
* Legacy `kits/Charts` color tokens, resolved as `hsl(var(--chart-*))`.
|
|
@@ -6271,4 +7230,4 @@ declare function useI18n(): TranslationsType & {
|
|
|
6271
7230
|
};
|
|
6272
7231
|
declare const buildTranslations: (translations: TranslationsType) => TranslationsType;
|
|
6273
7232
|
//#endregion
|
|
6274
|
-
export { F0AiChat as $, IconAvatarVariant as $a, F0ComposerState as $i, StatusVariant as $n, RadarComputation as $r, CardAlertVariant as $t, F0FileItemSize as A, ButtonSize as Aa, F0ComposerAttachments as Ai, TooltipGroupProps as An, F0Icon as Ao, ChatDashboardHeatmapChartConfig as Ar, WelcomeSuggestionClickEvent as At, F0TagDot as B, ActionLinkProps as Ba, F0ComposerLeading as Bi, F0TagAlert as Bn, DashboardCanvasActions as Br, EntityUrlBuilders as Bt, useSetFormCardValueFormatter as C, DropdownItemSubmenu as Ca, pdfScales as Ci, F0ProgressSeriesOptions as Cn, BadgeProps as Co, ChatDashboardCollectionItem as Cr, PendingContext as Ct, F0FileAction as D, F0Button as Da, ComposerAutocompletePlugin as Di, f0ProgressSeriesSizes as Dn, Props$2 as Do, ChatDashboardFilterDefinition as Dr, VisualizationMode as Dt, DetailsItemType as E, LinkContextValue as Ea, ComposerAutocomplete as Ei, f0ProgressSeriesColors as En, NewColor as Eo, ChatDashboardDateNavigationGranularity as Er, UploadedFile as Et, f0FileItemSizes as F, EmojiImageProps as Fa, F0ComposerDisclaimer as Fi, ChartColorToken as Fn, WithDataTestIdPropsOf as Fo, ChatDashboardNavigationFilterDefinition as Fr, SidePanelViewDefinition as Ft, F0AiMessagesContainer as G, AvatarAction as Ga, F0ComposerMenuActionSubmenu as Gi, F0AvatarAlert as Gn, DataDownloadDataset as Gr, CardImageSize as Gt, AiChatTranslationsProvider as H, NavTarget as Ha, F0ComposerMenuAction as Hi, Props$1 as Hn, DashboardFetchSpec as Hr, F0CardProps as Ht, F0TagList as I, EmojiRenderMode as Ia, F0ComposerDraft as Ii, chartColorTokens as In, WithDataTestIdReturnType as Io, ChatDashboardPieChartConfig as Ir, CustomEntityRefCard as It, FeedbackConfig as J, ColorAvatarVariant as Ja, F0ComposerProps as Ji, ExpenseProfile as Jn, FormatPreset as Jr, cardImageFits as Jt, F0AiMessagesContainerProps as K, AvatarVariant$1 as Ka, F0ComposerMenuActionToggle as Ki, alertAvatarTypes as Kn, FileCanvasContent as Kr, CardLayout as Kt, TagCounter as L, getEmojiLabel as La, F0ComposerFormat as Li, BarSeriesStyle as Ln, withDataTestId as Lo, ChatDashboardRadarChartConfig as Lr, CustomEntityRefConfig as Lt, FileItem as M, buttonSizes as Ma, F0ComposerBaseProps as Mi, Shortcut as Mn, IconType as Mo, ChatDashboardLineChartConfig as Mr, SidePanelContent as Mt, FileItemProps as N, buttonVariants as Na, F0ComposerCompactProps as Ni, HourDistributionCellValue as Nn, DataTestIdWrapper as No, ChatDashboardMetricFormat as Nr, SidePanelContextValue as Nt, F0FileItem as O, F0ButtonProps as Oa, F0ComposerAction as Oi, Tooltip as On, tagDotColors as Oo, ChatDashboardFunnelChartConfig as Or, WelcomeScreenSuggestion as Ot, FileItemSize as P, EmojiImage as Pa, F0ComposerDefaultProps as Pi, HourDistributionDataPoint as Pn, WithDataTestIdProps as Po, ChatDashboardMetricItem as Pr, SidePanelLayout as Pt, markdownRenderers as Q, FlagAvatarVariant as Qa, F0ComposerSendKind as Qi, F0TagStatusProps as Qn, PieComputation as Qr, CardAlertProps as Qt, TagCounterItem as R, useEmojiConfetti as Ra, F0ComposerHandle as Ri, AvatarListSize as Rn, ChatDashboardScatterChartConfig as Rr, EntityRefs as Rt, useFormCardValueFormatter as S, DropdownItemSeparator as Sa, F0PdfScale as Si, F0ProgressSeriesColor as Sn, Badge as So, ChatDashboardChartItem as Sr, F0ToolCall as St, DetailsItemContent as T, NavigationItem as Ta, F0AvatarModuleProps as Ti, F0ProgressSeriesSize as Tn, modules as To, ChatDashboardConfig as Tr, TranscribeFn as Tt, useAiChatTranslations as U, DataAttributes as Ua, F0ComposerMenuActionItem as Ui, CardAvatarVariant as Un, DashboardMetadata as Ur, CardImageAspectRatio as Ut, Weekdays as V, ActionLinkVariant as Va, F0ComposerMarkdown as Vi, Level as Vn, DashboardCanvasContent as Vr, F0Card as Vt, useAiChat as W, F0Avatar as Wa, F0ComposerMenuActionSeparator as Wi, AlertAvatarProps as Wn, DataDownloadCanvasContent as Wr, CardImageFit as Wt, useToolCallId as X, CompanyAvatarVariant as Xa, F0ComposerRest as Xi, RequisitionProfile as Xn, HeatmapComputation as Xr, cardLayouts as Xt, UserReaction as Y, ColorListAvatarVariant as Ya, F0ComposerReference as Yi, VacancyProfile as Yn, GaugeComputation as Yr, cardImageSizes as Yt, MarkdownTagRenderers as Z, FileAvatarVariant as Za, F0ComposerSendDetails as Zi, F0TagStatus as Zn, MetricComputation as Zr, CardAlertAction as Zt, buttonDropdownModes as _, DropdownInternalProps as _a, F0DocumentHtmlSandbox as _i, Numeric as _n, F0AvatarColorListProps as _o, CanvasContentBase as _r, AppendMessage as _t, F0CardHorizontal as a, composerFormats as aa, AiChatShowFilesItem as ai, Tag as an, F0AvatarPersonProps as ao, F0PersonCardAction as ar, AiChatComposerActionSubmenu as at, FormCardValueFormatterEntry as b, DropdownItemObject as ba, F0DocumentViewerProps as bi, F0ProgressSeries as bn, AvatarBadge as bo, ChatDashboardBarChartConfig as br, F0AiChatWelcomeCard as bt, MobileDropdown as c, ComposerTranscribeFn as ca, F0VideoPlayerProps as ci, F0TagTeamProps as cn, CountryCode as co, RenderableTurn as cr, AiChatDisclaimer as ct, ButtonDropdownGroup as d, ComposerMentionItem as da, F0DocumentViewer as di, F0TagPersonProps as dn, FileDef as do, AggregationType as dr, AiChatProviderProps as dt, F0ComposerSuggestion as ea, ScatterComputation as ei, CardMetadata as en, PersonAvatarVariant as eo, Variant as er, F0AiChatProps as et, ButtonDropdownItem as f, ComposerMentionPinned as fa, F0PdfViewer as fi, F0TagCompany as fn, F0AvatarEmoji as fo, AutofillTimesheetCanvasContent as fr, AiChatTrackingOptions as ft, F0ButtonDropdownProps as g, DropdownContentVariant as ga, F0DocumentHtmlExecution as gi, F0TagBalanceProps as gn, F0AvatarColorList as go, CanvasContent as gr, AiChatUsageLimitsSection as gt, ButtonDropdownVariant as h, ComposerMentionSource as ha, F0PdfViewerToolbarPlacement as hi, BalanceStatus as hn, F0AvatarCompanyProps as ho, CanvasActions as hr, AiChatUsageLimits as ht, useI18n as i, F0ComposerVoice as ia, AiChatFileUrlResolver as ii, TagType as in, F0AvatarTeamProps as io, F0PersonCard as ir, AiChatComposerActionSeparator as it, FileAction as j, ButtonVariant as ja, F0ComposerBaseHandle as ji, TooltipProps as jn, F0IconProps as jo, ChatDashboardItem as jr, aiTranslations as jt, F0FileItemProps as k, ButtonNavProps as ka, F0ComposerAddMenu as ki, TooltipGroup as kn, DistributiveOmit as ko, ChatDashboardGaugeChartConfig as kr, WelcomeScreenSuggestionItem as kt, F0ButtonDropdown as l, ComposerEditor as la, VideoPlayerContent as li, F0TagRawProps as ln, F0AvatarFile as lo, TurnFeedbackAction as lr, AiChatFileAttachmentConfig as lt, ButtonDropdownSize as m, ComposerMentionSearchContext as ma, F0PdfViewerProps as mi, F0TagBalance as mn, BaseAvatar as mo, BulkResolveInconsistenciesCanvasContent as mr, AiChatTranslationsProviderProps as mt, I18nProviderProps as n, F0ComposerUploadedFile as na, AiChatFileKind as ni, ValueDisplayRendererDefinition as nn, avatarVariants as no, CandidateProfile as nr, AiChatComposerAction as nt, F0CardHorizontalProps as o, composerVariants as oa, AttachmentDocumentKind as oi, TagVariant as on, F0AvatarIcon as oo, F0PersonCardProps as or, AiChatComposerActionToggle as ot, ButtonDropdownMode as p, ComposerMentionRef as pa, F0PdfViewerAction as pi, F0TagCompanyProps as pn, F0AvatarEmojiProps as po, AutofillTimesheetShift as pr, AiChatTranslations as pt, WelcomePrompts as q, AvatarVariants as qa, F0ComposerNotice as qi, CardSecondaryAction as qn, FormCanvasContent as qr, cardImageAspectRatios as qt, buildTranslations as r, F0ComposerVariant as ra, AiChatFilePreviewConfig as ri, F0TagListProps as rn, F0AvatarTeam as ro, PersonProfile as rr, AiChatComposerActionItem as rt, Dropdown as s, RecorderStatus as sa, F0VideoPlayer as si, F0TagTeam as sn, F0AvatarIconProps as so, AnsweredQuestion as sr, AiChatCreditWarning as st, I18nProvider as t, F0ComposerSuggestionGroup as ta, AiChatFile as ti, cardAlertVariants as tn, TeamAvatarVariant as to, JobPostingProfile as tr, F0AiChatProvider as tt, F0DropdownButtonProps as u, ComposerMention as ua, Localized as ui, F0TagPerson as un, F0AvatarFileProps as uo, UserMessagePresentation as ur, AiChatMode as ut, buttonDropdownSizes as v, DropdownItem as va, F0DocumentKind as vi, NumericWithFormatter as vn, F0AvatarColor as vo, CanvasEntityDefinition as vr, AppendToolCall as vt, DetailsItem as w, DropdownItemSwitch as wa, F0AvatarModule as wi, F0ProgressSeriesProps as wn, ModuleId as wo, ChatDashboardColumn as wr, PendingQuote as wt, FormCardValueFormatterProvider as x, DropdownItemPanel as xa, F0DocumentViewerToolbarPlacement as xi, F0ProgressSeriesBar as xn, BaseAvatarProps as xo, ChatDashboardChartConfig as xr, F0Message as xt, buttonDropdownVariants as y, DropdownItemLabel as ya, F0DocumentViewerAction as yi, RelaxedNumericWithFormatter as yn, F0AvatarColorProps as yo, ChartComputation as yr, F0AIMessage as yt, F0TagRaw as z, ActionButtonVariant as za, F0ComposerLabels as zi, F0AvatarListProps as zn, CollectionComputation as zr, EntityResolvers as zt };
|
|
7233
|
+
export { F0AiChat as $, DropdownContentVariant as $a, F0DataChartRadarIndicator as $i, JobPostingProfile as $n, F0AvatarColorList as $o, RadarComputation as $r, CardAlertVariant as $t, F0FileItemSize as A, F0ComposerNotice as Aa, F0MatrixChartProps as Ai, TooltipGroupProps as An, AvatarVariants as Ao, ChatDashboardLineChartConfig as Ar, WelcomeSuggestionClickEvent as At, F0TagDot as B, F0ComposerVariant as Ba, F0DataChartHeatmapProps as Bi, Props$1 as Bn, F0AvatarTeam as Bo, DashboardCanvasContent as Br, EntityUrlBuilders as Bt, useSetFormCardValueFormatter as C, F0ComposerLeading as Ca, pdfScales as Ci, F0ProgressSeriesOptions as Cn, ActionLinkProps as Co, ChatDashboardConfig as Cr, PendingContext as Ct, F0FileAction as D, F0ComposerMenuActionSeparator as Da, F0MatrixChartCell as Di, f0ProgressSeriesSizes as Dn, F0Avatar as Do, ChatDashboardGaugeChartConfig as Dr, VisualizationMode as Dt, DetailsItemType as E, F0ComposerMenuActionItem as Ea, F0MatrixChartBand as Ei, f0ProgressSeriesColors as En, DataAttributes as Eo, ChatDashboardFunnelChartConfig as Er, UploadedFile as Et, f0FileItemSizes as F, F0ComposerSendKind as Fa, F0DataChartEmptyStateProps as Fi, BarSeriesStyle as Fn, FlagAvatarVariant as Fo, ChatDashboardPieChartConfig as Fr, SidePanelViewDefinition as Ft, F0AiMessagesContainer as G, ComposerTranscribeFn as Ga, F0DataChartMarkPointClick as Gi, CardSecondaryAction as Gn, CountryCode as Go, FileCanvasContent as Gr, CardImageSize as Gt, AiChatTranslationsProvider as H, composerFormats as Ha, F0DataChartLineProps as Hi, AlertAvatarProps as Hn, F0AvatarPersonProps as Ho, DashboardMetadata as Hr, F0CardProps as Ht, F0TagList as I, F0ComposerState as Ia, F0DataChartFunnelDataPoint as Ii, AvatarListSize as In, IconAvatarVariant as Io, ChatDashboardRadarChartConfig as Ir, CustomEntityRefCard as It, FeedbackConfig as J, ComposerMentionItem as Ja, F0DataChartPieSeries as Ji, RequisitionProfile as Jn, FileDef as Jo, GaugeComputation as Jr, cardImageFits as Jt, F0AiMessagesContainerProps as K, ComposerEditor as Ka, F0DataChartPieDataPoint as Ki, ExpenseProfile as Kn, F0AvatarFile as Ko, FormCanvasContent as Kr, CardLayout as Kt, TagCounter as L, F0ComposerSuggestion as La, F0DataChartFunnelProps as Li, F0AvatarListProps as Ln, PersonAvatarVariant as Lo, ChatDashboardScatterChartConfig as Lr, CustomEntityRefConfig as Lt, FileItem as M, F0ComposerReference as Ma, F0DataChartBarProps as Mi, Shortcut as Mn, ColorListAvatarVariant as Mo, ChatDashboardMetricFormat as Mr, SidePanelContent as Mt, FileItemProps as N, F0ComposerRest as Na, F0DataChartBarSeries as Ni, HourDistributionCellValue as Nn, CompanyAvatarVariant as No, ChatDashboardMetricItem as Nr, SidePanelContextValue as Nt, F0FileItem as O, F0ComposerMenuActionSubmenu as Oa, F0MatrixChartItem as Oi, Tooltip as On, AvatarAction as Oo, ChatDashboardHeatmapChartConfig as Or, WelcomeScreenSuggestion as Ot, FileItemSize as P, F0ComposerSendDetails as Pa, F0DataChartCategoryClick as Pi, HourDistributionDataPoint as Pn, FileAvatarVariant as Po, ChatDashboardNavigationFilterDefinition as Pr, SidePanelLayout as Pt, markdownRenderers as Q, ComposerMentionSource as Qa, F0DataChartProps as Qi, Variant as Qn, F0AvatarCompanyProps as Qo, PieComputation as Qr, CardAlertProps as Qt, TagCounterItem as R, F0ComposerSuggestionGroup as Ra, F0DataChartFunnelSeries as Ri, F0TagAlert as Rn, TeamAvatarVariant as Ro, CollectionComputation as Rr, EntityRefs as Rt, useFormCardValueFormatter as S, F0ComposerLabels as Sa, F0PdfScale as Si, F0ProgressSeriesColor as Sn, ActionButtonVariant as So, ChatDashboardColumn as Sr, F0ToolCall as St, DetailsItemContent as T, F0ComposerMenuAction as Ta, F0AvatarModuleProps as Ti, F0ProgressSeriesSize as Tn, NavTarget as To, ChatDashboardFilterDefinition as Tr, TranscribeFn as Tt, useAiChatTranslations as U, composerVariants as Ua, F0DataChartLineSeries as Ui, F0AvatarAlert as Un, F0AvatarIcon as Uo, DataDownloadCanvasContent as Ur, CardImageAspectRatio as Ut, Weekdays as V, F0ComposerVoice as Va, F0DataChartLineDataPoint as Vi, CardAvatarVariant as Vn, F0AvatarTeamProps as Vo, DashboardFetchSpec as Vr, F0Card as Vt, useAiChat as W, RecorderStatus as Wa, F0DataChartLineType as Wi, alertAvatarTypes as Wn, F0AvatarIconProps as Wo, DataDownloadDataset as Wr, CardImageFit as Wt, useToolCallId as X, ComposerMentionRef as Xa, F0DataChartPointClickSeries as Xi, F0TagStatusProps as Xn, F0AvatarEmojiProps as Xo, MatrixComputation as Xr, cardLayouts as Xt, UserReaction as Y, ComposerMentionPinned as Ya, F0DataChartPointClick as Yi, F0TagStatus as Yn, F0AvatarEmoji as Yo, HeatmapComputation as Yr, cardImageSizes as Yt, MarkdownTagRenderers as Z, ComposerMentionSearchContext as Za, F0DataChartPointPlacement as Zi, StatusVariant as Zn, BaseAvatar as Zo, MetricComputation as Zr, CardAlertAction as Zt, buttonDropdownModes as _, F0ComposerDefaultProps as _a, F0DocumentHtmlSandbox as _i, Numeric as _n, EmojiImage as _o, ChartComputation as _r, WithDataTestIdProps as _s, AppendMessage as _t, F0CardHorizontal as a, F0DataChartScatterProps as aa, AiChatShowFilesItem as ai, Tag as an, DropdownItemSeparator as ao, AnsweredQuestion as ar, Badge as as, AiChatComposerActionSubmenu as at, FormCardValueFormatterEntry as b, F0ComposerFormat as ba, F0DocumentViewerProps as bi, F0ProgressSeries as bn, getEmojiLabel as bo, ChatDashboardChartItem as br, withDataTestId as bs, F0AiChatWelcomeCard as bt, MobileDropdown as c, chartColorTokens as ca, F0VideoPlayerProps as ci, F0TagTeamProps as cn, NavigationItem as co, UserMessagePresentation as cr, modules as cs, AiChatDisclaimer as ct, ButtonDropdownGroup as d, F0ComposerAction as da, F0DocumentViewer as di, F0TagPersonProps as dn, F0ButtonProps as do, AutofillTimesheetShift as dr, tagDotColors as ds, AiChatProviderProps as dt, F0DataChartRadarPointClick as ea, ScatterComputation as ei, CardMetadata as en, DropdownInternalProps as eo, CandidateProfile as er, F0AvatarColorListProps as es, F0AiChatProps as et, ButtonDropdownItem as f, F0ComposerAddMenu as fa, F0PdfViewer as fi, F0TagCompany as fn, ButtonNavProps as fo, BulkResolveInconsistenciesCanvasContent as fr, DistributiveOmit as fs, AiChatTrackingOptions as ft, F0ButtonDropdownProps as g, F0ComposerCompactProps as ga, F0DocumentHtmlExecution as gi, F0TagBalanceProps as gn, buttonVariants as go, CanvasEntityDefinition as gr, DataTestIdWrapper as gs, AiChatUsageLimitsSection as gt, ButtonDropdownVariant as h, F0ComposerBaseProps as ha, F0PdfViewerToolbarPlacement as hi, BalanceStatus as hn, buttonSizes as ho, CanvasContentBase as hr, IconType as hs, AiChatUsageLimits as ht, useI18n as i, F0DataChartScatterDataPoint as ia, AiChatFileUrlResolver as ii, TagType as in, DropdownItemPanel as io, F0PersonCardProps as ir, BaseAvatarProps as is, AiChatComposerActionSeparator as it, FileAction as j, F0ComposerProps as ja, F0DataChartBarDataPoint as ji, TooltipProps as jn, ColorAvatarVariant as jo, ChatDashboardMatrixChartConfig as jr, aiTranslations as jt, F0FileItemProps as k, F0ComposerMenuActionToggle as ka, F0MatrixChartItemType as ki, TooltipGroup as kn, AvatarVariant$1 as ko, ChatDashboardItem as kr, WelcomeScreenSuggestionItem as kt, F0ButtonDropdown as l, ComposerAutocomplete as la, VideoPlayerContent as li, F0TagRawProps as ln, LinkContextValue as lo, AggregationType as lr, NewColor as ls, AiChatFileAttachmentConfig as lt, ButtonDropdownSize as m, F0ComposerBaseHandle as ma, F0PdfViewerProps as mi, F0TagBalance as mn, ButtonVariant as mo, CanvasContent as mr, F0IconProps as ms, AiChatTranslationsProviderProps as mt, I18nProviderProps as n, F0DataChartRadarSeries as na, AiChatFileKind as ni, ValueDisplayRendererDefinition as nn, DropdownItemLabel as no, F0PersonCard as nr, F0AvatarColorProps as ns, AiChatComposerAction as nt, F0CardHorizontalProps as o, F0DataChartScatterSeries as oa, AttachmentDocumentKind as oi, TagVariant as on, DropdownItemSubmenu as oo, RenderableTurn as or, BadgeProps as os, AiChatComposerActionToggle as ot, ButtonDropdownMode as p, F0ComposerAttachments as pa, F0PdfViewerAction as pi, F0TagCompanyProps as pn, ButtonSize as po, CanvasActions as pr, F0Icon as ps, AiChatTranslations as pt, WelcomePrompts as q, ComposerMention as qa, F0DataChartPieProps as qi, VacancyProfile as qn, F0AvatarFileProps as qo, FormatPreset as qr, cardImageAspectRatios as qt, buildTranslations as r, F0DataChartReferenceLine as ra, AiChatFilePreviewConfig as ri, F0TagListProps as rn, DropdownItemObject as ro, F0PersonCardAction as rr, AvatarBadge as rs, AiChatComposerActionItem as rt, Dropdown as s, ChartColorToken as sa, F0VideoPlayer as si, F0TagTeam as sn, DropdownItemSwitch as so, TurnFeedbackAction as sr, ModuleId as ss, AiChatCreditWarning as st, I18nProvider as t, F0DataChartRadarProps as ta, AiChatFile as ti, cardAlertVariants as tn, DropdownItem as to, PersonProfile as tr, F0AvatarColor as ts, F0AiChatProvider as tt, F0DropdownButtonProps as u, ComposerAutocompletePlugin as ua, Localized as ui, F0TagPerson as un, F0Button as uo, AutofillTimesheetCanvasContent as ur, Props$2 as us, AiChatMode as ut, buttonDropdownSizes as v, F0ComposerDisclaimer as va, F0DocumentKind as vi, NumericWithFormatter as vn, EmojiImageProps as vo, ChatDashboardBarChartConfig as vr, WithDataTestIdPropsOf as vs, AppendToolCall as vt, DetailsItem as w, F0ComposerMarkdown as wa, F0AvatarModule as wi, F0ProgressSeriesProps as wn, ActionLinkVariant as wo, ChatDashboardDateNavigationGranularity as wr, PendingQuote as wt, FormCardValueFormatterProvider as x, F0ComposerHandle as xa, F0DocumentViewerToolbarPlacement as xi, F0ProgressSeriesBar as xn, useEmojiConfetti as xo, ChatDashboardCollectionItem as xr, F0Message as xt, buttonDropdownVariants as y, F0ComposerDraft as ya, F0DocumentViewerAction as yi, RelaxedNumericWithFormatter as yn, EmojiRenderMode as yo, ChatDashboardChartConfig as yr, WithDataTestIdReturnType as ys, F0AIMessage as yt, F0TagRaw as z, F0ComposerUploadedFile as za, F0DataChartGaugeProps as zi, Level as zn, avatarVariants as zo, DashboardCanvasActions as zr, EntityResolvers as zt };
|