@mlw-packages/react-components 1.9.5 → 1.9.7
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/index.css +4 -3
- package/dist/index.d.mts +154 -140
- package/dist/index.d.ts +154 -140
- package/dist/index.js +820 -296
- package/dist/index.mjs +813 -297
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2792,9 +2792,6 @@ body {
|
|
|
2792
2792
|
.fill-current {
|
|
2793
2793
|
fill: currentColor;
|
|
2794
2794
|
}
|
|
2795
|
-
.fill-muted-foreground {
|
|
2796
|
-
fill: hsl(var(--muted-foreground));
|
|
2797
|
-
}
|
|
2798
2795
|
.fill-popover {
|
|
2799
2796
|
fill: hsl(var(--popover));
|
|
2800
2797
|
}
|
|
@@ -5785,6 +5782,10 @@ body {
|
|
|
5785
5782
|
--tw-border-opacity: 1;
|
|
5786
5783
|
border-color: rgb(38 38 38 / var(--tw-border-opacity, 1));
|
|
5787
5784
|
}
|
|
5785
|
+
.dark\:border-red-500:is(.dark *) {
|
|
5786
|
+
--tw-border-opacity: 1;
|
|
5787
|
+
border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
|
|
5788
|
+
}
|
|
5788
5789
|
.dark\:border-rose-900:is(.dark *) {
|
|
5789
5790
|
--tw-border-opacity: 1;
|
|
5790
5791
|
border-color: rgb(136 19 55 / var(--tw-border-opacity, 1));
|
package/dist/index.d.mts
CHANGED
|
@@ -1574,106 +1574,6 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
|
|
|
1574
1574
|
type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
1575
1575
|
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, hideClear, empty, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
1576
1576
|
|
|
1577
|
-
type Primitive = string | number | boolean | null | undefined;
|
|
1578
|
-
interface ChartData$4 {
|
|
1579
|
-
[key: string]: Primitive;
|
|
1580
|
-
name?: string;
|
|
1581
|
-
}
|
|
1582
|
-
interface XAxisConfig$1 {
|
|
1583
|
-
dataKey: string;
|
|
1584
|
-
label?: string;
|
|
1585
|
-
valueFormatter?: (value: string | number) => string;
|
|
1586
|
-
autoLabel?: boolean;
|
|
1587
|
-
}
|
|
1588
|
-
type ValueFormatter = (value: string | number) => string | number;
|
|
1589
|
-
type FinalValueFormatter = (value: number | string | null | undefined) => string;
|
|
1590
|
-
type SeriesProp$1 = {
|
|
1591
|
-
bar?: string[];
|
|
1592
|
-
line?: string[];
|
|
1593
|
-
area?: string[];
|
|
1594
|
-
};
|
|
1595
|
-
type SeriesEntry = {
|
|
1596
|
-
type: "bar" | "line" | "area";
|
|
1597
|
-
key: string;
|
|
1598
|
-
};
|
|
1599
|
-
type SeriesCounts = {
|
|
1600
|
-
bar: number;
|
|
1601
|
-
line: number;
|
|
1602
|
-
area: number;
|
|
1603
|
-
};
|
|
1604
|
-
type YAxisSide = "left" | "right";
|
|
1605
|
-
type YAxisMap = Record<string, YAxisSide>;
|
|
1606
|
-
interface MapperConfigEntry {
|
|
1607
|
-
label?: string;
|
|
1608
|
-
valueFormatter?: ValueFormatter;
|
|
1609
|
-
color?: string;
|
|
1610
|
-
type?: "number" | "string" | "auto";
|
|
1611
|
-
visible?: boolean;
|
|
1612
|
-
}
|
|
1613
|
-
type MapperConfig = Record<string, MapperConfigEntry>;
|
|
1614
|
-
interface YAxisOptions {
|
|
1615
|
-
label?: string;
|
|
1616
|
-
stroke?: string;
|
|
1617
|
-
width?: number;
|
|
1618
|
-
percent?: boolean;
|
|
1619
|
-
percentDecimals?: number;
|
|
1620
|
-
}
|
|
1621
|
-
type YAxes = Partial<{
|
|
1622
|
-
left: YAxisOptions;
|
|
1623
|
-
right: YAxisOptions;
|
|
1624
|
-
}>;
|
|
1625
|
-
interface TooltipItem$2 {
|
|
1626
|
-
id: string;
|
|
1627
|
-
data: ChartData$4;
|
|
1628
|
-
position: {
|
|
1629
|
-
top: number;
|
|
1630
|
-
left: number;
|
|
1631
|
-
};
|
|
1632
|
-
}
|
|
1633
|
-
type TooltipAdaptedRow = Record<string, string | number> & {
|
|
1634
|
-
name: string;
|
|
1635
|
-
};
|
|
1636
|
-
interface TimeSeriesConfig {
|
|
1637
|
-
start?: number;
|
|
1638
|
-
end?: number;
|
|
1639
|
-
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1640
|
-
height?: number;
|
|
1641
|
-
brushColor?: string;
|
|
1642
|
-
brushStroke?: string;
|
|
1643
|
-
miniChartOpacity?: number;
|
|
1644
|
-
chartHeight?: number;
|
|
1645
|
-
}
|
|
1646
|
-
interface ChartHooksArgs {
|
|
1647
|
-
width?: number | string;
|
|
1648
|
-
measuredWidth?: number | null;
|
|
1649
|
-
points?: number;
|
|
1650
|
-
seriesCounts?: SeriesCounts;
|
|
1651
|
-
niceMax?: number;
|
|
1652
|
-
yAxes?: YAxes;
|
|
1653
|
-
yAxisLabel?: string;
|
|
1654
|
-
chartMargin?: Partial<{
|
|
1655
|
-
top: number;
|
|
1656
|
-
right: number;
|
|
1657
|
-
left: number;
|
|
1658
|
-
bottom: number;
|
|
1659
|
-
}>;
|
|
1660
|
-
showLabels?: boolean;
|
|
1661
|
-
timeSeries?: boolean | TimeSeriesConfig;
|
|
1662
|
-
timeSeriesLegend?: string;
|
|
1663
|
-
customLegend?: boolean;
|
|
1664
|
-
}
|
|
1665
|
-
interface LegendItem {
|
|
1666
|
-
label: string;
|
|
1667
|
-
value: string | number;
|
|
1668
|
-
color?: string;
|
|
1669
|
-
trend?: {
|
|
1670
|
-
value?: number;
|
|
1671
|
-
label?: string;
|
|
1672
|
-
positive?: boolean;
|
|
1673
|
-
neutral?: boolean;
|
|
1674
|
-
};
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
1577
|
declare const formatFieldName: (fieldName: string) => string;
|
|
1678
1578
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
1679
1579
|
declare const detectXAxis: (data: Record<string, unknown>[]) => string;
|
|
@@ -1729,15 +1629,11 @@ declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?
|
|
|
1729
1629
|
|
|
1730
1630
|
declare const renderInsideBarLabel: (color: string, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
1731
1631
|
|
|
1632
|
+
declare function formatLinePercentage(value: number | string | undefined): string;
|
|
1633
|
+
|
|
1732
1634
|
interface ChartData$3 {
|
|
1733
1635
|
[key: string]: string | number | boolean | null | undefined;
|
|
1734
1636
|
}
|
|
1735
|
-
interface XAxisConfig {
|
|
1736
|
-
dataKey: string;
|
|
1737
|
-
label?: string;
|
|
1738
|
-
valueFormatter?: (value: string | number) => string;
|
|
1739
|
-
autoLabel?: boolean;
|
|
1740
|
-
}
|
|
1741
1637
|
interface BiaxialConfig {
|
|
1742
1638
|
key: string[];
|
|
1743
1639
|
label?: string;
|
|
@@ -1796,6 +1692,7 @@ interface ChartProps {
|
|
|
1796
1692
|
area: boolean;
|
|
1797
1693
|
};
|
|
1798
1694
|
horizontal?: boolean;
|
|
1695
|
+
orderBy?: string;
|
|
1799
1696
|
}
|
|
1800
1697
|
interface SeriesConfig {
|
|
1801
1698
|
bar?: string[];
|
|
@@ -1819,29 +1716,60 @@ type Margins = Partial<{
|
|
|
1819
1716
|
left: number;
|
|
1820
1717
|
bottom: number;
|
|
1821
1718
|
}>;
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
value: number;
|
|
1828
|
-
[key: string]: string | number;
|
|
1719
|
+
interface XAxisConfig {
|
|
1720
|
+
dataKey: string;
|
|
1721
|
+
label?: string;
|
|
1722
|
+
valueFormatter?: (value: string | number) => string;
|
|
1723
|
+
autoLabel?: boolean;
|
|
1829
1724
|
}
|
|
1830
|
-
interface
|
|
1831
|
-
|
|
1832
|
-
|
|
1725
|
+
interface XAxisConfig {
|
|
1726
|
+
dataKey: string;
|
|
1727
|
+
label?: string;
|
|
1728
|
+
valueFormatter?: (value: string | number) => string;
|
|
1729
|
+
autoLabel?: boolean;
|
|
1730
|
+
}
|
|
1731
|
+
type ValueFormatter = (value: string | number) => string | number;
|
|
1732
|
+
interface MapperConfigEntry {
|
|
1733
|
+
label?: string;
|
|
1734
|
+
valueFormatter?: ValueFormatter;
|
|
1735
|
+
color?: string;
|
|
1736
|
+
type?: "number" | "string" | "auto";
|
|
1737
|
+
visible?: boolean;
|
|
1738
|
+
}
|
|
1739
|
+
type MapperConfig = Record<string, MapperConfigEntry>;
|
|
1740
|
+
interface TooltipItem$2 {
|
|
1741
|
+
id: string;
|
|
1742
|
+
data: ChartData$3;
|
|
1743
|
+
position: {
|
|
1744
|
+
top: number;
|
|
1745
|
+
left: number;
|
|
1746
|
+
};
|
|
1747
|
+
}
|
|
1748
|
+
interface TimeSeriesConfig {
|
|
1749
|
+
start?: number;
|
|
1750
|
+
end?: number;
|
|
1751
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1833
1752
|
height?: number;
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1753
|
+
brushColor?: string;
|
|
1754
|
+
brushStroke?: string;
|
|
1755
|
+
miniChartOpacity?: number;
|
|
1756
|
+
chartHeight?: number;
|
|
1757
|
+
}
|
|
1758
|
+
interface LegendItem {
|
|
1759
|
+
label: string;
|
|
1760
|
+
value: string | number;
|
|
1761
|
+
color?: string;
|
|
1762
|
+
trend?: {
|
|
1763
|
+
value?: number;
|
|
1764
|
+
label?: string;
|
|
1765
|
+
positive?: boolean;
|
|
1766
|
+
neutral?: boolean;
|
|
1767
|
+
};
|
|
1843
1768
|
}
|
|
1844
|
-
|
|
1769
|
+
|
|
1770
|
+
declare const Chart: React__default.FC<ChartProps>;
|
|
1771
|
+
|
|
1772
|
+
declare const HorizontalChart: React__default.FC<ChartProps>;
|
|
1845
1773
|
|
|
1846
1774
|
interface TimeSeriesData {
|
|
1847
1775
|
[key: string]: string | number | boolean | null | undefined;
|
|
@@ -1863,25 +1791,23 @@ interface TimeSeriesProps extends Omit<React__default.ComponentProps<typeof Char
|
|
|
1863
1791
|
}
|
|
1864
1792
|
declare const TimeSeries: React__default.FC<TimeSeriesProps>;
|
|
1865
1793
|
|
|
1866
|
-
interface Props$
|
|
1867
|
-
processedData:
|
|
1868
|
-
name: string;
|
|
1869
|
-
}>;
|
|
1794
|
+
interface Props$6 {
|
|
1795
|
+
processedData: ChartData$3[];
|
|
1870
1796
|
onOpenPeriod: (periodName: string) => void;
|
|
1871
1797
|
rightOffset?: number;
|
|
1872
1798
|
topOffset?: number;
|
|
1873
1799
|
activePeriod?: string;
|
|
1874
1800
|
activePeriods?: string[];
|
|
1875
1801
|
}
|
|
1876
|
-
declare function PeriodsDropdown({ processedData, onOpenPeriod, rightOffset, topOffset, activePeriod, activePeriods, }: Props$
|
|
1802
|
+
declare function PeriodsDropdown({ processedData, onOpenPeriod, rightOffset, topOffset, activePeriod, activePeriods, }: Props$6): react_jsx_runtime.JSX.Element;
|
|
1877
1803
|
|
|
1878
|
-
interface Props$
|
|
1804
|
+
interface Props$5 {
|
|
1879
1805
|
showOnlyHighlighted: boolean;
|
|
1880
1806
|
setShowOnlyHighlighted: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
1881
1807
|
highlightedSeriesSize: number;
|
|
1882
1808
|
clearHighlights: () => void;
|
|
1883
1809
|
}
|
|
1884
|
-
declare const ShowOnly: React__default.FC<Props$
|
|
1810
|
+
declare const ShowOnly: React__default.FC<Props$5>;
|
|
1885
1811
|
|
|
1886
1812
|
interface MapperEntry {
|
|
1887
1813
|
label?: string;
|
|
@@ -1890,7 +1816,7 @@ interface MapperEntry {
|
|
|
1890
1816
|
type?: string;
|
|
1891
1817
|
visible?: boolean;
|
|
1892
1818
|
}
|
|
1893
|
-
interface Props$
|
|
1819
|
+
interface Props$4 {
|
|
1894
1820
|
allKeys: string[];
|
|
1895
1821
|
mapperConfig: Record<string, MapperEntry>;
|
|
1896
1822
|
finalColors: Record<string, string>;
|
|
@@ -1898,7 +1824,7 @@ interface Props$2 {
|
|
|
1898
1824
|
toggleHighlight: (key: string) => void;
|
|
1899
1825
|
containerWidth?: number;
|
|
1900
1826
|
}
|
|
1901
|
-
declare const Highlights: React__default.FC<Props$
|
|
1827
|
+
declare const Highlights: React__default.FC<Props$4>;
|
|
1902
1828
|
|
|
1903
1829
|
interface CloseAllButtonProps {
|
|
1904
1830
|
count: number;
|
|
@@ -1948,7 +1874,7 @@ type TooltipPayloadItem$1 = {
|
|
|
1948
1874
|
name: string;
|
|
1949
1875
|
color?: string;
|
|
1950
1876
|
};
|
|
1951
|
-
interface Props$
|
|
1877
|
+
interface Props$3 {
|
|
1952
1878
|
active?: boolean;
|
|
1953
1879
|
payload?: TooltipPayloadItem$1[];
|
|
1954
1880
|
label?: string;
|
|
@@ -1960,7 +1886,7 @@ interface Props$1 {
|
|
|
1960
1886
|
yAxisMap?: Record<string, "left" | "right">;
|
|
1961
1887
|
isBiaxial?: boolean;
|
|
1962
1888
|
}
|
|
1963
|
-
declare const RechartTooltipWithTotal: React__default.FC<Props$
|
|
1889
|
+
declare const RechartTooltipWithTotal: React__default.FC<Props$3>;
|
|
1964
1890
|
|
|
1965
1891
|
type TooltipPayloadItem = {
|
|
1966
1892
|
dataKey: string;
|
|
@@ -1968,7 +1894,7 @@ type TooltipPayloadItem = {
|
|
|
1968
1894
|
name: string;
|
|
1969
1895
|
color?: string;
|
|
1970
1896
|
};
|
|
1971
|
-
interface Props {
|
|
1897
|
+
interface Props$2 {
|
|
1972
1898
|
active?: boolean;
|
|
1973
1899
|
payload?: TooltipPayloadItem[];
|
|
1974
1900
|
label?: string;
|
|
@@ -1979,7 +1905,7 @@ interface Props {
|
|
|
1979
1905
|
yAxisMap?: Record<string, "left" | "right">;
|
|
1980
1906
|
isBiaxial?: boolean;
|
|
1981
1907
|
}
|
|
1982
|
-
declare const TooltipSimple: React__default.FC<Props>;
|
|
1908
|
+
declare const TooltipSimple: React__default.FC<Props$2>;
|
|
1983
1909
|
|
|
1984
1910
|
interface IntegrationProperties {
|
|
1985
1911
|
tipo?: string;
|
|
@@ -2070,6 +1996,44 @@ interface HorizontalLegendProps {
|
|
|
2070
1996
|
}
|
|
2071
1997
|
declare const HorizontalLegend: React__default.FC<HorizontalLegendProps>;
|
|
2072
1998
|
|
|
1999
|
+
type Props$1 = {
|
|
2000
|
+
allKeys: string[];
|
|
2001
|
+
mapperConfig: MapperConfig;
|
|
2002
|
+
finalColors: Record<string, string>;
|
|
2003
|
+
highlightedSeries: Set<string>;
|
|
2004
|
+
toggleHighlight: (k: string) => void;
|
|
2005
|
+
showOnlyHighlighted: boolean;
|
|
2006
|
+
setShowOnlyHighlighted: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
2007
|
+
highlightedSeriesSize: number;
|
|
2008
|
+
clearHighlights: () => void;
|
|
2009
|
+
enableHighlights?: boolean;
|
|
2010
|
+
enableShowOnly?: boolean;
|
|
2011
|
+
enablePeriodsDropdown?: boolean;
|
|
2012
|
+
enableDraggableTooltips?: boolean;
|
|
2013
|
+
processedData?: ChartData$3[];
|
|
2014
|
+
onOpenPeriod?: (p: string) => void;
|
|
2015
|
+
rightOffset?: number;
|
|
2016
|
+
activePeriods?: string[];
|
|
2017
|
+
containerClass?: string;
|
|
2018
|
+
containerWidth?: number;
|
|
2019
|
+
};
|
|
2020
|
+
declare function ChartControls({ allKeys, mapperConfig, finalColors, highlightedSeries, toggleHighlight, showOnlyHighlighted, setShowOnlyHighlighted, highlightedSeriesSize, clearHighlights, enableHighlights, enableShowOnly, enablePeriodsDropdown, enableDraggableTooltips, processedData, onOpenPeriod, rightOffset, activePeriods, containerClass, containerWidth, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
2021
|
+
|
|
2022
|
+
type Props = {
|
|
2023
|
+
title?: React__default.ReactNode;
|
|
2024
|
+
titlePosition?: string;
|
|
2025
|
+
HORIZONTAL_PADDING_CLASS?: string;
|
|
2026
|
+
customLegend?: boolean;
|
|
2027
|
+
data: ChartData$3[];
|
|
2028
|
+
allKeys: string[];
|
|
2029
|
+
processedData: ChartData$3[];
|
|
2030
|
+
finalColors: Record<string, string>;
|
|
2031
|
+
mapperConfig: MapperConfig;
|
|
2032
|
+
finalValueFormatter?: ValueFormatterType;
|
|
2033
|
+
formatBR?: boolean;
|
|
2034
|
+
};
|
|
2035
|
+
declare function ChartHeader({ title, titlePosition, HORIZONTAL_PADDING_CLASS, customLegend, data, allKeys, processedData, finalColors, mapperConfig, finalValueFormatter, formatBR, }: Props): react_jsx_runtime.JSX.Element;
|
|
2036
|
+
|
|
2073
2037
|
interface UseChartHighlightsReturn {
|
|
2074
2038
|
highlightedSeries: Set<string>;
|
|
2075
2039
|
showOnlyHighlighted: boolean;
|
|
@@ -2164,6 +2128,56 @@ interface ChartMinMaxResult {
|
|
|
2164
2128
|
}
|
|
2165
2129
|
declare const useChartMinMax: ({ processedData, orderBy, xAxisDataKey, categoryFormatter, }: UseChartMinMaxProps) => ChartMinMaxResult;
|
|
2166
2130
|
|
|
2131
|
+
type Params$2 = {
|
|
2132
|
+
data: ChartData$3[];
|
|
2133
|
+
xAxisKey: string;
|
|
2134
|
+
timeSeriesConfig?: boolean | TimeSeriesConfig;
|
|
2135
|
+
startIndex: number;
|
|
2136
|
+
endIndex: number;
|
|
2137
|
+
};
|
|
2138
|
+
declare function useProcessedData({ data, xAxisKey, timeSeriesConfig, startIndex, endIndex, }: Params$2): {
|
|
2139
|
+
name: string;
|
|
2140
|
+
}[];
|
|
2141
|
+
|
|
2142
|
+
declare function useBiaxial(biaxial?: BiaxialConfig | string | string[], yAxisLabel?: string): BiaxialConfig | null;
|
|
2143
|
+
|
|
2144
|
+
type Params$1 = {
|
|
2145
|
+
chartMargin?: {
|
|
2146
|
+
left?: number;
|
|
2147
|
+
right?: number;
|
|
2148
|
+
};
|
|
2149
|
+
yAxisLabel?: string | number;
|
|
2150
|
+
AXIS_LABEL_MARGIN: number;
|
|
2151
|
+
yTickFormatter: (v: number | string) => string;
|
|
2152
|
+
minLeftDataValue: number;
|
|
2153
|
+
niceMaxLeft: number;
|
|
2154
|
+
rightKeysLength: number;
|
|
2155
|
+
measuredWidth?: number | null;
|
|
2156
|
+
width: number | string;
|
|
2157
|
+
computedWidth: number;
|
|
2158
|
+
};
|
|
2159
|
+
declare function useChartLayout({ chartMargin, yAxisLabel, AXIS_LABEL_MARGIN, yTickFormatter, minLeftDataValue, niceMaxLeft, rightKeysLength, measuredWidth, width, computedWidth, }: Params$1): {
|
|
2160
|
+
finalChartRightMargin: number;
|
|
2161
|
+
finalChartLeftMargin: number;
|
|
2162
|
+
yAxisTickWidth: number;
|
|
2163
|
+
effectiveChartWidth: number;
|
|
2164
|
+
chartInnerWidth: number;
|
|
2165
|
+
leftYAxisLabelDx: number;
|
|
2166
|
+
rightYAxisLabelDx: number;
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
declare function useSeriesOpacity(highlightedSeries: Set<string>): (key: string) => 1 | 0.25;
|
|
2170
|
+
|
|
2171
|
+
type Params = {
|
|
2172
|
+
enableDraggableTooltips: boolean;
|
|
2173
|
+
processedData: ChartData$3[];
|
|
2174
|
+
activeTooltips: TooltipItem$2[];
|
|
2175
|
+
setActiveTooltips: React.Dispatch<React.SetStateAction<TooltipItem$2[]>>;
|
|
2176
|
+
maxTooltips: number;
|
|
2177
|
+
effectiveChartWidth: number;
|
|
2178
|
+
};
|
|
2179
|
+
declare function useOpenTooltipForPeriod({ enableDraggableTooltips, processedData, activeTooltips, setActiveTooltips, maxTooltips, effectiveChartWidth, }: Params): (periodName: string) => void;
|
|
2180
|
+
|
|
2167
2181
|
interface NoDataProps {
|
|
2168
2182
|
paddingLeft?: number;
|
|
2169
2183
|
height?: number | string;
|
|
@@ -2224,4 +2238,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2224
2238
|
isDragging: boolean;
|
|
2225
2239
|
};
|
|
2226
2240
|
|
|
2227
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart,
|
|
2241
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, ChartControls, ChartHeader, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, type LeaderboardItem, type LeaderboardProps, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, NoData, NotificationButton, NumericInput, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|