@bpfdev/oly-ui 1.0.10 → 1.0.12
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/README.md +493 -0
- package/dist/index.d.mts +449 -6
- package/dist/index.d.ts +449 -6
- package/dist/index.js +1799 -986
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1890 -1080
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -910,6 +910,113 @@ type KpiStatCardProps = KpiStatCardInlineProps | KpiStatCardDetailedProps;
|
|
|
910
910
|
|
|
911
911
|
declare const KpiStatCard: (props: KpiStatCardProps) => react_jsx_runtime.JSX.Element;
|
|
912
912
|
|
|
913
|
+
interface JourneyStatCardOuterCardConfig {
|
|
914
|
+
/** Background color of the outer card. Default: **`#ffffff`**. */
|
|
915
|
+
bg?: string;
|
|
916
|
+
/** Border of the outer card. Default: **`'1px solid #E8E8E8'`**. */
|
|
917
|
+
border?: string;
|
|
918
|
+
/** Border radius of the outer card (MUI units or CSS string). Default: **`2`**. */
|
|
919
|
+
borderRadius?: number | string;
|
|
920
|
+
/** Padding inside the outer card. Default: **`'20px'`**. */
|
|
921
|
+
padding?: number | string;
|
|
922
|
+
/** Box shadow of the outer card. Default: **`none`**. */
|
|
923
|
+
boxShadow?: string;
|
|
924
|
+
/** Extra MUI `sx` merged on the outer card `Box`. */
|
|
925
|
+
sx?: SxProps$1<Theme$1>;
|
|
926
|
+
}
|
|
927
|
+
interface JourneyStatCardProps {
|
|
928
|
+
/** Iconify icon id, e.g. `tabler:users`. */
|
|
929
|
+
icon: string;
|
|
930
|
+
/** Icon size in px. Default: **52**. */
|
|
931
|
+
iconSize?: number;
|
|
932
|
+
/** Icon color. Default: **`#ffffff`**. */
|
|
933
|
+
iconColor?: string;
|
|
934
|
+
/** Inline style passed to the Iconify `<Icon>`. Use e.g. `{ strokeWidth: 1 }` for thinner stroke icons. */
|
|
935
|
+
iconStyle?: CSSProperties;
|
|
936
|
+
/** Card background color. */
|
|
937
|
+
bg: string;
|
|
938
|
+
/** Stat label (shown below the icon, uppercase). */
|
|
939
|
+
label: string;
|
|
940
|
+
/** Label text color. Default: **`rgba(255,255,255,0.9)`**. */
|
|
941
|
+
labelColor?: string;
|
|
942
|
+
/** Label font size in px. Default: **13**. */
|
|
943
|
+
labelFontSize?: number;
|
|
944
|
+
/** Label font weight. Default: **400**. */
|
|
945
|
+
labelFontWeight?: number;
|
|
946
|
+
/** Numeric or string value displayed below the label. */
|
|
947
|
+
value: number | string;
|
|
948
|
+
/** Value text color. Default: **`#ffffff`**. */
|
|
949
|
+
valueColor?: string;
|
|
950
|
+
/** Value font size in px. Default: **40**. */
|
|
951
|
+
valueFontSize?: number;
|
|
952
|
+
/** Value font weight. Default: **700**. */
|
|
953
|
+
valueFontWeight?: number;
|
|
954
|
+
/**
|
|
955
|
+
* Card border radius (MUI theme units or CSS string).
|
|
956
|
+
* Default: **`0`** — designed to sit flush inside a clipped strip container.
|
|
957
|
+
* Set `2` for standalone rounded appearance.
|
|
958
|
+
*/
|
|
959
|
+
borderRadius?: number | string;
|
|
960
|
+
/** Inner padding (CSS string or MUI spacing). Default: **`'28px 20px'`**. */
|
|
961
|
+
padding?: number | string | Record<string, number | string>;
|
|
962
|
+
/** Minimum card height in px. Default: **200**. */
|
|
963
|
+
minHeight?: number;
|
|
964
|
+
/** When `true`, renders a skeleton instead of content. Default: **false**. */
|
|
965
|
+
isLoading?: boolean;
|
|
966
|
+
/**
|
|
967
|
+
* When `true`, wraps the coloured card inside a white outer card container
|
|
968
|
+
* (border, border-radius, padding). Useful for standalone placement.
|
|
969
|
+
* Default: **false**.
|
|
970
|
+
*/
|
|
971
|
+
showOuterCard?: boolean;
|
|
972
|
+
/** Fine-grained customization for the outer card container. Only used when `showOuterCard` is `true`. */
|
|
973
|
+
outerCard?: JourneyStatCardOuterCardConfig;
|
|
974
|
+
/** Extra MUI `sx` merged on the root `Box`. */
|
|
975
|
+
sx?: SxProps$1<Theme$1>;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Coloured stat card used in the Customer Journey funnel strip.
|
|
980
|
+
* Shows a large icon, an uppercase label, and a bold numeric value
|
|
981
|
+
* on a solid background.
|
|
982
|
+
*
|
|
983
|
+
* Designed to sit flush inside a clipped container (borderRadius: 0 by default).
|
|
984
|
+
* For standalone use, set borderRadius={2} and showOuterCard={true}.
|
|
985
|
+
*/
|
|
986
|
+
declare function JourneyStatCard({ icon, iconSize, iconColor, iconStyle, bg, label, labelColor, labelFontSize, labelFontWeight, value, valueColor, valueFontSize, valueFontWeight, borderRadius, padding, minHeight, isLoading, showOuterCard, outerCard, sx, }: JourneyStatCardProps): react_jsx_runtime.JSX.Element;
|
|
987
|
+
|
|
988
|
+
interface JourneyMetricCardProps {
|
|
989
|
+
/** Small descriptor text, e.g. `"Walk-in → Billing Conversion"`. */
|
|
990
|
+
label: string;
|
|
991
|
+
/** Label text color. Default: **`#6B7280`**. */
|
|
992
|
+
labelColor?: string;
|
|
993
|
+
/** Label font size in px. Default: **13**. */
|
|
994
|
+
labelFontSize?: number;
|
|
995
|
+
/** Label font weight. Default: **400**. */
|
|
996
|
+
labelFontWeight?: number;
|
|
997
|
+
/** Primary metric value, e.g. `"36.9%"` or `"3.2"`. */
|
|
998
|
+
value: string;
|
|
999
|
+
/** Value text color. Default: **`#111827`**. */
|
|
1000
|
+
valueColor?: string;
|
|
1001
|
+
/** Value font size in px. Default: **28**. */
|
|
1002
|
+
valueFontSize?: number;
|
|
1003
|
+
/** Value font weight. Default: **700**. */
|
|
1004
|
+
valueFontWeight?: number;
|
|
1005
|
+
/** Text alignment. Default: **`center`**. */
|
|
1006
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
1007
|
+
/** When `true`, renders a skeleton instead of content. Default: **false**. */
|
|
1008
|
+
isLoading?: boolean;
|
|
1009
|
+
/** Extra MUI `sx` merged on the root `Box`. */
|
|
1010
|
+
sx?: SxProps$1<Theme$1>;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* Minimal metric card: a small label line followed by a large bold value.
|
|
1015
|
+
* Used inside `CustomerJourneyAnalysis` for the 2×2 conversion / average grid,
|
|
1016
|
+
* but works as a standalone card in any layout.
|
|
1017
|
+
*/
|
|
1018
|
+
declare function JourneyMetricCard({ label, labelColor, labelFontSize, labelFontWeight, value, valueColor, valueFontSize, valueFontWeight, textAlign, isLoading, sx, }: JourneyMetricCardProps): react_jsx_runtime.JSX.Element;
|
|
1019
|
+
|
|
913
1020
|
interface FalconButtonProps extends ButtonProps {
|
|
914
1021
|
loading?: boolean;
|
|
915
1022
|
iconPlacement?: 'start' | 'end';
|
|
@@ -1670,6 +1777,16 @@ interface FootfallByAgeGroupsProps {
|
|
|
1670
1777
|
* width cap (\`minWidthPerCategory\` when positive, else **56**).
|
|
1671
1778
|
*/
|
|
1672
1779
|
maxBarSize?: number;
|
|
1780
|
+
/**
|
|
1781
|
+
* Recharts `barCategoryGap`: space between each category band. Accepts a pixel number or a
|
|
1782
|
+
* percent string (e.g. `"20%"`). Default: Recharts built-in (`"10%"`).
|
|
1783
|
+
*/
|
|
1784
|
+
barCategoryGap?: number | string;
|
|
1785
|
+
/**
|
|
1786
|
+
* Corner radius for the **top** segment of the stacked bar. Number = uniform, or
|
|
1787
|
+
* `[topLeft, topRight, bottomRight, bottomLeft]`. Default: `0`.
|
|
1788
|
+
*/
|
|
1789
|
+
barRadius?: number | [number, number, number, number];
|
|
1673
1790
|
cardMaxWidth?: ChartCardMaxWidth;
|
|
1674
1791
|
/** Outer card; merged after defaults (padding, border, width, etc.). */
|
|
1675
1792
|
cardSx?: SxProps$1<Theme$1>;
|
|
@@ -1733,9 +1850,14 @@ interface FootfallByAgeGroupsProps {
|
|
|
1733
1850
|
xAxisTickDx?: number;
|
|
1734
1851
|
/** Inline SVG style for X-axis tick text (typography/spacing). */
|
|
1735
1852
|
xAxisTickStyle?: Record<string, string | number>;
|
|
1853
|
+
/**
|
|
1854
|
+
* Rotation angle (degrees) for stack-total value labels.
|
|
1855
|
+
* `0` = horizontal (default), `-90` = vertical.
|
|
1856
|
+
*/
|
|
1857
|
+
barValueLabelAngle?: number;
|
|
1736
1858
|
}
|
|
1737
1859
|
|
|
1738
|
-
declare function FootfallByAgeGroups({ title, data, series, isLoading, chartHeight, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendRowSx, legendItemSx, legendSwatchSx, legendLabelSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipCategoryLabel, tooltipOverallLabel, tooltipStyles, renderTooltip, showLegend, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, dimmedStackOpacity, barStackId, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, }: FootfallByAgeGroupsProps): react_jsx_runtime.JSX.Element;
|
|
1860
|
+
declare function FootfallByAgeGroups({ title, data, series, isLoading, chartHeight, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, barCategoryGap: barCategoryGapProp, barRadius, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendRowSx, legendItemSx, legendSwatchSx, legendLabelSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipCategoryLabel, tooltipOverallLabel, tooltipStyles, renderTooltip, showLegend, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, dimmedStackOpacity, barStackId, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, barValueLabelAngle, }: FootfallByAgeGroupsProps): react_jsx_runtime.JSX.Element;
|
|
1739
1861
|
|
|
1740
1862
|
/** Optional inline styles merged over tooltip defaults (undefined keys keep defaults). */
|
|
1741
1863
|
interface FootfallByGenderTooltipStyles {
|
|
@@ -1815,6 +1937,17 @@ interface FootfallByGenderProps {
|
|
|
1815
1937
|
maxBarSize?: number;
|
|
1816
1938
|
/** Gap between male/female bars in the same category. Default: **0** (flush). */
|
|
1817
1939
|
barGap?: number;
|
|
1940
|
+
/**
|
|
1941
|
+
* Recharts `barCategoryGap`: space between each category band. Accepts a pixel number or a
|
|
1942
|
+
* percent string (e.g. `"20%"`). When provided, overrides the auto-calculated value derived
|
|
1943
|
+
* from `maxBarSize` and `barGap`. Default: auto-calculated to target `maxBarSize` bar width.
|
|
1944
|
+
*/
|
|
1945
|
+
barCategoryGap?: number | string;
|
|
1946
|
+
/**
|
|
1947
|
+
* Bar corner radius. Number = uniform radius, or `[topLeft, topRight, bottomRight, bottomLeft]`
|
|
1948
|
+
* for per-corner control. Default: `0` (flush rectangles).
|
|
1949
|
+
*/
|
|
1950
|
+
barRadius?: number | [number, number, number, number];
|
|
1818
1951
|
/** Color key legend at the **top-right of the visible chart area** (pinned; does not scroll with the plot). Default: `true`. */
|
|
1819
1952
|
showLegend?: boolean;
|
|
1820
1953
|
/**
|
|
@@ -1915,7 +2048,7 @@ interface FootfallByGenderProps {
|
|
|
1915
2048
|
/**
|
|
1916
2049
|
* Grouped bar chart: two series (male / female) per category, with hover dimming and a custom tooltip.
|
|
1917
2050
|
*/
|
|
1918
|
-
declare function FootfallByGender({ title, data, isLoading, seriesLabels: seriesLabelsProp, seriesColors: seriesColorsProp, chartHeight, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, barGap, showLegend, showBarValueLabels, showGrowthBadges, dimmedBarOpacity, hoveredBarOpacity, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendOverlaySx, legendItemSx, legendSwatchSx, legendLabelSx, chartViewportSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipCategoryLabel, tooltipOverallLabel, tooltipStyles, renderTooltip, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, yAxisTickFormatter, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, barValueLabelAngle, growthBadgeWidth, growthBadgeHeight, growthBadgeOffsetY, }: FootfallByGenderProps): react_jsx_runtime.JSX.Element;
|
|
2051
|
+
declare function FootfallByGender({ title, data, isLoading, seriesLabels: seriesLabelsProp, seriesColors: seriesColorsProp, chartHeight, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, barGap, barCategoryGap: barCategoryGapProp, barRadius, showLegend, showBarValueLabels, showGrowthBadges, dimmedBarOpacity, hoveredBarOpacity, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendOverlaySx, legendItemSx, legendSwatchSx, legendLabelSx, chartViewportSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipCategoryLabel, tooltipOverallLabel, tooltipStyles, renderTooltip, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, yAxisTickFormatter, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, barValueLabelAngle, growthBadgeWidth, growthBadgeHeight, growthBadgeOffsetY, }: FootfallByGenderProps): react_jsx_runtime.JSX.Element;
|
|
1919
2052
|
|
|
1920
2053
|
interface PasserbyConversionTooltipStyles {
|
|
1921
2054
|
container?: CSSProperties;
|
|
@@ -2001,6 +2134,17 @@ interface PasserbyConversionProps {
|
|
|
2001
2134
|
* Default **0** so the bars touch. Use a number (px) or a percent string (e.g. **`"10%"`**).
|
|
2002
2135
|
*/
|
|
2003
2136
|
barGap?: number | string;
|
|
2137
|
+
/**
|
|
2138
|
+
* Recharts `barCategoryGap`: space between each category band. Accepts a pixel number or a
|
|
2139
|
+
* percent string (e.g. `"20%"`). When provided, overrides the auto-calculated value derived
|
|
2140
|
+
* from `maxBarSize` and `barGap`. Default: auto-calculated to target `maxBarSize` bar width.
|
|
2141
|
+
*/
|
|
2142
|
+
barCategoryGap?: number | string;
|
|
2143
|
+
/**
|
|
2144
|
+
* Bar corner radius applied to **both** bars (passerby & walk-ins). Number = uniform, or
|
|
2145
|
+
* `[topLeft, topRight, bottomRight, bottomLeft]`. Default: `[2, 2, 0, 0]` (rounded tops).
|
|
2146
|
+
*/
|
|
2147
|
+
barRadius?: number | [number, number, number, number];
|
|
2004
2148
|
cardMaxWidth?: ChartCardMaxWidth;
|
|
2005
2149
|
cardSx?: SxProps$1<Theme$1>;
|
|
2006
2150
|
titleRowSx?: SxProps$1<Theme$1>;
|
|
@@ -2045,6 +2189,11 @@ interface PasserbyConversionProps {
|
|
|
2045
2189
|
*/
|
|
2046
2190
|
showConversionLine?: boolean;
|
|
2047
2191
|
showBarValueLabels?: boolean;
|
|
2192
|
+
/**
|
|
2193
|
+
* Rotation angle (degrees) for bar-top value labels.
|
|
2194
|
+
* `0` = horizontal (default), `-90` = vertical.
|
|
2195
|
+
*/
|
|
2196
|
+
barValueLabelAngle?: number;
|
|
2048
2197
|
chartMargin?: PasserbyConversionChartMargin;
|
|
2049
2198
|
/** Horizontal offset for left Y-axis tick text. Default: `-8`. */
|
|
2050
2199
|
yAxisTickDx?: number;
|
|
@@ -2084,7 +2233,7 @@ interface PasserbyConversionProps {
|
|
|
2084
2233
|
xAxisTickStyle?: Record<string, string | number>;
|
|
2085
2234
|
}
|
|
2086
2235
|
|
|
2087
|
-
declare function PasserbyConversion({ title, data, isLoading, timeSlots, fillMissingTimeSlots, chartHeight, passerbySeriesName, walkInsSeriesName, conversionSeriesName, lineType, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, barGap, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendRowSx, legendItemSx, legendSwatchSx, legendLabelSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipTimeLabel, tooltipOverallLabel, tooltipWalkInsLabel, tooltipPasserbyLabel, tooltipConversionLabel, formatTooltipConversion, conversionAxisLabel, yAxisTickFormatter, conversionAxisTickFormatter, tooltipStyles, renderTooltip, showLegend, showConversionLine: showConversionLineProp, showBarValueLabels, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, conversionAxisTickDx, conversionAxisTickStyle, rightYAxisTickDx, rightYAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, isChartAnimationActive, chartAnimationDuration, scrollChartToEndOnDataChange, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, }: PasserbyConversionProps): react_jsx_runtime.JSX.Element;
|
|
2236
|
+
declare function PasserbyConversion({ title, data, isLoading, timeSlots, fillMissingTimeSlots, chartHeight, passerbySeriesName, walkInsSeriesName, conversionSeriesName, lineType, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, barGap, barCategoryGap: barCategoryGapProp, barRadius, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendRowSx, legendItemSx, legendSwatchSx, legendLabelSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipTimeLabel, tooltipOverallLabel, tooltipWalkInsLabel, tooltipPasserbyLabel, tooltipConversionLabel, formatTooltipConversion, conversionAxisLabel, yAxisTickFormatter, conversionAxisTickFormatter, tooltipStyles, renderTooltip, showLegend, showConversionLine: showConversionLineProp, showBarValueLabels, barValueLabelAngle, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, conversionAxisTickDx, conversionAxisTickStyle, rightYAxisTickDx, rightYAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, isChartAnimationActive, chartAnimationDuration, scrollChartToEndOnDataChange, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, }: PasserbyConversionProps): react_jsx_runtime.JSX.Element;
|
|
2088
2237
|
|
|
2089
2238
|
/** Pie diameter: fixed px, or per-breakpoint (`xs` / `sm` / `md` match MUI breakpoints). */
|
|
2090
2239
|
type WalkinAnalysisPieSize = number | {
|
|
@@ -2283,6 +2432,16 @@ interface WalkinTrafficProps {
|
|
|
2283
2432
|
minWidthPerCategory?: number;
|
|
2284
2433
|
horizontalScroll?: WalkinTrafficHorizontalScroll;
|
|
2285
2434
|
maxBarSize?: number;
|
|
2435
|
+
/**
|
|
2436
|
+
* Recharts `barCategoryGap`: space between each category band. Accepts a pixel number or a
|
|
2437
|
+
* percent string (e.g. `"20%"`). Default: Recharts built-in (`"10%"`).
|
|
2438
|
+
*/
|
|
2439
|
+
barCategoryGap?: number | string;
|
|
2440
|
+
/**
|
|
2441
|
+
* Bar corner radius. Number = uniform, or `[topLeft, topRight, bottomRight, bottomLeft]`.
|
|
2442
|
+
* Default: `[2, 2, 0, 0]` (rounded top corners only).
|
|
2443
|
+
*/
|
|
2444
|
+
barRadius?: number | [number, number, number, number];
|
|
2286
2445
|
cardMaxWidth?: ChartCardMaxWidth;
|
|
2287
2446
|
cardSx?: SxProps$1<Theme$1>;
|
|
2288
2447
|
titleRowSx?: SxProps$1<Theme$1>;
|
|
@@ -2328,6 +2487,11 @@ interface WalkinTrafficProps {
|
|
|
2328
2487
|
/** Add a second legend item for the line. Default: **false**. */
|
|
2329
2488
|
showLineInLegend?: boolean;
|
|
2330
2489
|
showBarValueLabels?: boolean;
|
|
2490
|
+
/**
|
|
2491
|
+
* Rotation angle (degrees) for bar-top value labels.
|
|
2492
|
+
* `0` = horizontal (default), `-90` = vertical.
|
|
2493
|
+
*/
|
|
2494
|
+
barValueLabelAngle?: number;
|
|
2331
2495
|
chartMargin?: WalkinTrafficChartMargin;
|
|
2332
2496
|
/** Horizontal offset for left Y-axis tick text. Default: `-8`. */
|
|
2333
2497
|
yAxisTickDx?: number;
|
|
@@ -2359,7 +2523,7 @@ interface WalkinTrafficProps {
|
|
|
2359
2523
|
xAxisTickStyle?: Record<string, string | number>;
|
|
2360
2524
|
}
|
|
2361
2525
|
|
|
2362
|
-
declare function WalkinTraffic({ title, data, isLoading, chartHeight, barSeriesName, lineSeriesName, lineType, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendRowSx, legendItemSx, legendSwatchSx, legendLabelSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipTitle, tooltipTimeLabel, tooltipCurrentYearLabel, tooltipLastYearLabel, tooltipGrowthLabel, tooltipFooterNote: tooltipFooterNoteProp, tooltipHourLabel, tooltipStyles, renderTooltip, showLegend, showTrendLine: showTrendLineProp, showLineInLegend, showBarValueLabels, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, yAxisTickFormatter, isChartAnimationActive, chartAnimationDuration, scrollChartToEndOnDataChange, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, }: WalkinTrafficProps): react_jsx_runtime.JSX.Element;
|
|
2526
|
+
declare function WalkinTraffic({ title, data, isLoading, chartHeight, barSeriesName, lineSeriesName, lineType, minWidthPerCategory, horizontalScroll: horizontalScrollProp, maxBarSize: maxBarSizeProp, barCategoryGap: barCategoryGapProp, barRadius, cardMaxWidth, cardSx, titleRowSx, titleSx, dividerSx, legendRowSx, legendItemSx, legendSwatchSx, legendLabelSx, chartScrollAreaSx, stackSx, emptyStateSx, headerActions, tooltipTitle, tooltipTimeLabel, tooltipCurrentYearLabel, tooltipLastYearLabel, tooltipGrowthLabel, tooltipFooterNote: tooltipFooterNoteProp, tooltipHourLabel, tooltipStyles, renderTooltip, showLegend, showTrendLine: showTrendLineProp, showLineInLegend, showBarValueLabels, barValueLabelAngle, chartMargin: chartMarginProp, yAxisTickDx, yAxisTickStyle, chartColors: chartColorsProp, emptyStatePlaceholderProps, yAxisTickFormatter, isChartAnimationActive, chartAnimationDuration, scrollChartToEndOnDataChange, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, }: WalkinTrafficProps): react_jsx_runtime.JSX.Element;
|
|
2363
2527
|
|
|
2364
2528
|
/** Primary line + tooltip fill (violet). */
|
|
2365
2529
|
declare const BILLING_COUNTER_LINE_PRIMARY: "#7C3AED";
|
|
@@ -2688,6 +2852,35 @@ declare function getNestedList(payload: TreemapNode & {
|
|
|
2688
2852
|
children?: TreemapNode[];
|
|
2689
2853
|
}): TreemapNode[] | undefined;
|
|
2690
2854
|
|
|
2855
|
+
/**
|
|
2856
|
+
* Internal: KPI strip + single segmented bar for the **active zone** (same layout at every drill level).
|
|
2857
|
+
* Not part of the public footfall-heat-map API.
|
|
2858
|
+
*/
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* Context handed to `buildBarRow`. Lets callers produce a custom row (with real labels — e.g. age
|
|
2862
|
+
* groups, gender splits) instead of the default heuristic four-segment row.
|
|
2863
|
+
*/
|
|
2864
|
+
type FootFallHeatMapBarRowContext = {
|
|
2865
|
+
/** The node this row represents. */
|
|
2866
|
+
node: TreemapNode;
|
|
2867
|
+
/** The active drill zone, or `undefined` at the root. Helpful for parent context. */
|
|
2868
|
+
activeZone: TreemapNode | undefined;
|
|
2869
|
+
/**
|
|
2870
|
+
* `"child"` when the row is one of `activeZone.list` children;
|
|
2871
|
+
* `"active"` when the row is the active zone itself (no children path);
|
|
2872
|
+
* `"overview"` at the root with no active zone.
|
|
2873
|
+
*/
|
|
2874
|
+
role: 'child' | 'active' | 'overview';
|
|
2875
|
+
/** The visitor count the heuristic would have used. */
|
|
2876
|
+
total: number;
|
|
2877
|
+
};
|
|
2878
|
+
/**
|
|
2879
|
+
* Optional callback to produce a `RankedBarListItem` for any row in the segmented bar list.
|
|
2880
|
+
* Return `null` / `undefined` to fall back to the default heuristic four-segment row.
|
|
2881
|
+
*/
|
|
2882
|
+
type FootFallHeatMapBuildBarRow = (context: FootFallHeatMapBarRowContext) => RankedBarListItem | null | undefined;
|
|
2883
|
+
|
|
2691
2884
|
declare const DEFAULT_FOOTFALL_TILE_ICONS: {
|
|
2692
2885
|
readonly visitors: "fluent:people-community-16-filled";
|
|
2693
2886
|
readonly dwell: "clarity:clock-solid";
|
|
@@ -2859,6 +3052,16 @@ type FootFallHeatMapKpiStripPresentation = {
|
|
|
2859
3052
|
* it replaces the default “No. of Stores” / “Overall Visitors” pair. Return `[]` to hide all summary cards.
|
|
2860
3053
|
*/
|
|
2861
3054
|
summaryCards?: (kpi: FootFallHeatMapSummaryKpis) => readonly FootFallHeatMapKpiSummaryCardItem[];
|
|
3055
|
+
/**
|
|
3056
|
+
* Build a custom segmented-bar row for any zone (child, active, or root overview).
|
|
3057
|
+
* Receives `{ node, activeZone, role, total }`; return a `RankedBarListItem` to replace the
|
|
3058
|
+
* default heuristic four-segment row (`Walk-by` / `Browsing` / `Engaged` / `Converted`),
|
|
3059
|
+
* or return `null` / `undefined` to keep the default for that row.
|
|
3060
|
+
*
|
|
3061
|
+
* Use this to surface real domain segments — e.g. age groups (Infants / Kids / Teens / Adults / Seniors)
|
|
3062
|
+
* or gender splits — using data attached to the `TreemapNode` itself.
|
|
3063
|
+
*/
|
|
3064
|
+
buildBarRow?: FootFallHeatMapBuildBarRow;
|
|
2862
3065
|
};
|
|
2863
3066
|
type FootFallHeatMapViewProps = {
|
|
2864
3067
|
initialData: ZoneAnalyticsHierarchy | ZoneAnalyticsFlatItem[] | null;
|
|
@@ -2988,6 +3191,11 @@ type PeakBillingHoursProps = {
|
|
|
2988
3191
|
xAxisTickDx?: number;
|
|
2989
3192
|
/** Inline SVG style for X-axis tick text (typography/spacing). */
|
|
2990
3193
|
xAxisTickStyle?: Record<string, string | number>;
|
|
3194
|
+
/**
|
|
3195
|
+
* Rotation angle (degrees) for bar-top value labels.
|
|
3196
|
+
* `0` = horizontal (default), `-90` = vertical.
|
|
3197
|
+
*/
|
|
3198
|
+
barValueLabelAngle?: number;
|
|
2991
3199
|
yAxisDomain?: [number, number];
|
|
2992
3200
|
yAxisTicks?: number[];
|
|
2993
3201
|
infoPopover?: ChartWidgetInfoPopoverContent | null;
|
|
@@ -3008,7 +3216,7 @@ declare const peakBillingHoursMockSeriesByTabId: Record<string, PeakBillingHours
|
|
|
3008
3216
|
* Peak billing hours card: title + subtitle, info control, violet segmented tabs (intrinsic),
|
|
3009
3217
|
* vertical bar chart with square tops, value labels, and panel tooltip.
|
|
3010
3218
|
*/
|
|
3011
|
-
declare function PeakBillingHours({ title, subtitle, tabs, activeTabId, onTabChange, data, isLoading, seriesByTabId, chartMargin, yAxisTickDx, yAxisTickStyle, xAxisTickDx, xAxisTickStyle, yAxisDomain, yAxisTicks, infoPopover, renderTooltip, emptyStatePlaceholderProps, customization, }: PeakBillingHoursProps): React$1.ReactElement;
|
|
3219
|
+
declare function PeakBillingHours({ title, subtitle, tabs, activeTabId, onTabChange, data, isLoading, seriesByTabId, chartMargin, yAxisTickDx, yAxisTickStyle, xAxisTickDx, xAxisTickStyle, barValueLabelAngle, yAxisDomain, yAxisTicks, infoPopover, renderTooltip, emptyStatePlaceholderProps, customization, }: PeakBillingHoursProps): React$1.ReactElement;
|
|
3012
3220
|
|
|
3013
3221
|
type PeakBillingHoursCustomizationProviderProps = {
|
|
3014
3222
|
value: PeakBillingHoursCustomization;
|
|
@@ -3017,6 +3225,241 @@ type PeakBillingHoursCustomizationProviderProps = {
|
|
|
3017
3225
|
declare function PeakBillingHoursCustomizationProvider({ value, children, }: PeakBillingHoursCustomizationProviderProps): React$1.ReactElement;
|
|
3018
3226
|
declare function usePeakBillingHoursCustomization(): PeakBillingHoursCustomization;
|
|
3019
3227
|
|
|
3228
|
+
interface JourneyStatConfig {
|
|
3229
|
+
/** Iconify icon id. Defaults per-slot if omitted. */
|
|
3230
|
+
icon?: string;
|
|
3231
|
+
/** Icon size in px. Default: **32**. */
|
|
3232
|
+
iconSize?: number;
|
|
3233
|
+
/** Icon color. Default: **`#fff`**. */
|
|
3234
|
+
iconColor?: string;
|
|
3235
|
+
/** Inline style for the icon. Use e.g. `{ strokeWidth: 1 }` for thinner icons. */
|
|
3236
|
+
iconStyle?: CSSProperties;
|
|
3237
|
+
/** Solid background color of the card. */
|
|
3238
|
+
bg?: string;
|
|
3239
|
+
/** Label color. Default: **`rgba(255,255,255,0.85)`**. */
|
|
3240
|
+
labelColor?: string;
|
|
3241
|
+
/** Label font size in px. Default: **11**. */
|
|
3242
|
+
labelFontSize?: number;
|
|
3243
|
+
/** Label font weight. Default: **600**. */
|
|
3244
|
+
labelFontWeight?: number;
|
|
3245
|
+
/** Value color. Default: **`#fff`**. */
|
|
3246
|
+
valueColor?: string;
|
|
3247
|
+
/** Value font size in px. Default: **28**. */
|
|
3248
|
+
valueFontSize?: number;
|
|
3249
|
+
/** Value font weight. Default: **700**. */
|
|
3250
|
+
valueFontWeight?: number;
|
|
3251
|
+
/** Card border radius (MUI units). Default: **2**. */
|
|
3252
|
+
borderRadius?: number | string;
|
|
3253
|
+
/** Min height in px. Default: **130**. */
|
|
3254
|
+
minHeight?: number;
|
|
3255
|
+
/**
|
|
3256
|
+
* When `true`, wraps each stat card in an outer white card container.
|
|
3257
|
+
* Default: **false**.
|
|
3258
|
+
*/
|
|
3259
|
+
showOuterCard?: boolean;
|
|
3260
|
+
/** Customisation for the outer card container (only used when `showOuterCard` is `true`). */
|
|
3261
|
+
outerCard?: {
|
|
3262
|
+
bg?: string;
|
|
3263
|
+
border?: string;
|
|
3264
|
+
borderRadius?: number | string;
|
|
3265
|
+
padding?: number | string;
|
|
3266
|
+
boxShadow?: string;
|
|
3267
|
+
sx?: SxProps$1<Theme$1>;
|
|
3268
|
+
};
|
|
3269
|
+
/** Extra `sx` on the card root. */
|
|
3270
|
+
sx?: SxProps$1<Theme$1>;
|
|
3271
|
+
}
|
|
3272
|
+
interface JourneyMetricConfig {
|
|
3273
|
+
/** Label color. Default: **`#6B7280`**. */
|
|
3274
|
+
labelColor?: string;
|
|
3275
|
+
/** Label font size in px. Default: **13**. */
|
|
3276
|
+
labelFontSize?: number;
|
|
3277
|
+
/** Label font weight. Default: **400**. */
|
|
3278
|
+
labelFontWeight?: number;
|
|
3279
|
+
/** Value color. Default: **`#111827`**. */
|
|
3280
|
+
valueColor?: string;
|
|
3281
|
+
/** Value font size in px. Default: **28**. */
|
|
3282
|
+
valueFontSize?: number;
|
|
3283
|
+
/** Value font weight. Default: **700**. */
|
|
3284
|
+
valueFontWeight?: number;
|
|
3285
|
+
/** Text alignment. Default: **`center`**. */
|
|
3286
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
3287
|
+
/** Extra `sx` on the card root. */
|
|
3288
|
+
sx?: SxProps$1<Theme$1>;
|
|
3289
|
+
}
|
|
3290
|
+
interface CustomerJourneyAnalysisProps {
|
|
3291
|
+
walkIns: number;
|
|
3292
|
+
trialVisits: number;
|
|
3293
|
+
billingVisits: number;
|
|
3294
|
+
walkInToBillingConversion: number;
|
|
3295
|
+
trialToBillingConversion: number;
|
|
3296
|
+
avgTrialsPerWalkIn: number;
|
|
3297
|
+
avgBillingPerTrial: number;
|
|
3298
|
+
/** Card heading. Default: **`"Customer Journey Analysis"`**. */
|
|
3299
|
+
title?: string;
|
|
3300
|
+
/** When `true`, the title row (heading + `headerActions`) is hidden. */
|
|
3301
|
+
hideTitle?: boolean;
|
|
3302
|
+
/** Title font size (px or CSS string). Default: **`undefined`** (MUI `h6`). */
|
|
3303
|
+
titleFontSize?: number | string;
|
|
3304
|
+
/** Title font weight. Default: **700**. */
|
|
3305
|
+
titleFontWeight?: number;
|
|
3306
|
+
/** Title text color. Default: **`#0f172a`**. */
|
|
3307
|
+
titleColor?: string;
|
|
3308
|
+
walkInsLabel?: string;
|
|
3309
|
+
trialVisitsLabel?: string;
|
|
3310
|
+
billingVisitsLabel?: string;
|
|
3311
|
+
walkInToBillingLabel?: string;
|
|
3312
|
+
trialToBillingLabel?: string;
|
|
3313
|
+
avgTrialsPerWalkInLabel?: string;
|
|
3314
|
+
avgBillingPerTrialLabel?: string;
|
|
3315
|
+
/** Iconify id for Walk-ins card. Default: **`tabler:users`**. */
|
|
3316
|
+
walkInsIcon?: string;
|
|
3317
|
+
/** Iconify id for Trial Visits card. Default: **`tabler:door-enter`**. */
|
|
3318
|
+
trialVisitsIcon?: string;
|
|
3319
|
+
/** Iconify id for Billing Visits card. Default: **`mingcute:shopping-bag-3-line`**. */
|
|
3320
|
+
billingVisitsIcon?: string;
|
|
3321
|
+
/** Fine-grained customization for the Walk-ins stat card. */
|
|
3322
|
+
walkInsCardConfig?: JourneyStatConfig;
|
|
3323
|
+
/** Fine-grained customization for the Trial Visits stat card. */
|
|
3324
|
+
trialVisitsCardConfig?: JourneyStatConfig;
|
|
3325
|
+
/** Fine-grained customization for the Billing Visits stat card. */
|
|
3326
|
+
billingVisitsCardConfig?: JourneyStatConfig;
|
|
3327
|
+
/** Shared defaults applied to every stat card (individual configs override these). */
|
|
3328
|
+
statCardDefaults?: JourneyStatConfig;
|
|
3329
|
+
/** Fine-grained customization for the four metric cells. */
|
|
3330
|
+
walkInToBillingMetricConfig?: JourneyMetricConfig;
|
|
3331
|
+
trialToBillingMetricConfig?: JourneyMetricConfig;
|
|
3332
|
+
avgTrialsPerWalkInMetricConfig?: JourneyMetricConfig;
|
|
3333
|
+
avgBillingPerTrialMetricConfig?: JourneyMetricConfig;
|
|
3334
|
+
/** Shared defaults applied to every metric card (individual configs override these). */
|
|
3335
|
+
metricCardDefaults?: JourneyMetricConfig;
|
|
3336
|
+
/** Walk-ins card background. Default: **`#5B8FF9`**. */
|
|
3337
|
+
walkInsBg?: string;
|
|
3338
|
+
/** Trial Visits card background. Default: **`#F5A048`**. */
|
|
3339
|
+
trialVisitsBg?: string;
|
|
3340
|
+
/** Billing Visits card background. Default: **`#52B452`**. */
|
|
3341
|
+
billingVisitsBg?: string;
|
|
3342
|
+
/** Icon color for all stat cards. Default: **`#fff`**. */
|
|
3343
|
+
statIconColor?: string;
|
|
3344
|
+
/** Inline style for all stat card icons. Use e.g. `{ strokeWidth: 1 }` for thinner icons. */
|
|
3345
|
+
statIconStyle?: CSSProperties;
|
|
3346
|
+
/**
|
|
3347
|
+
* When `true`, wraps every stat card in an outer white card container.
|
|
3348
|
+
* Can be overridden per-card via `statCardDefaults` or `walkInsCardConfig` etc.
|
|
3349
|
+
* Default: **false**.
|
|
3350
|
+
*/
|
|
3351
|
+
statShowOuterCard?: boolean;
|
|
3352
|
+
/** Label color for all stat cards. Default: **`rgba(255,255,255,0.85)`**. */
|
|
3353
|
+
statLabelColor?: string;
|
|
3354
|
+
/** Value color for all stat cards. Default: **`#fff`**. */
|
|
3355
|
+
statValueColor?: string;
|
|
3356
|
+
/** Label color for all metric cards. Default: **`#6B7280`**. */
|
|
3357
|
+
metricLabelColor?: string;
|
|
3358
|
+
/** Value color for all metric cards. Default: **`#111827`**. */
|
|
3359
|
+
metricValueColor?: string;
|
|
3360
|
+
/**
|
|
3361
|
+
* Background color of each individual metric card.
|
|
3362
|
+
* Default: **`#F9FAFB`**.
|
|
3363
|
+
*/
|
|
3364
|
+
metricsCardBg?: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* Border radius of each metric card (CSS string or MUI units).
|
|
3367
|
+
* Default: **`'10px'`**.
|
|
3368
|
+
*/
|
|
3369
|
+
metricsCardBorderRadius?: number | string;
|
|
3370
|
+
/**
|
|
3371
|
+
* Gap between the four metric cards (CSS string or MUI spacing).
|
|
3372
|
+
* Default: **`'12px'`**.
|
|
3373
|
+
*/
|
|
3374
|
+
metricsGap?: number | string;
|
|
3375
|
+
/**
|
|
3376
|
+
* Padding inside the metrics section container.
|
|
3377
|
+
* Default: **`0`** so the metric grid aligns with the stat strip height.
|
|
3378
|
+
*/
|
|
3379
|
+
metricsPadding?: number | string;
|
|
3380
|
+
/** Font size (px) for all stat card labels. Default: **13**. */
|
|
3381
|
+
statLabelFontSize?: number;
|
|
3382
|
+
/** Font weight for all stat card labels. Default: **600**. */
|
|
3383
|
+
statLabelFontWeight?: number;
|
|
3384
|
+
/** Font size (px) for all stat card values. Default: **40**. */
|
|
3385
|
+
statValueFontSize?: number;
|
|
3386
|
+
/** Font weight for all stat card values. Default: **700**. */
|
|
3387
|
+
statValueFontWeight?: number;
|
|
3388
|
+
/** Icon size (px) for all stat cards. Default: **52**. */
|
|
3389
|
+
statIconSize?: number;
|
|
3390
|
+
/** Font size (px) for all metric labels. Default: **13**. */
|
|
3391
|
+
metricLabelFontSize?: number;
|
|
3392
|
+
/** Font weight for all metric labels. Default: **600**. */
|
|
3393
|
+
metricLabelFontWeight?: number;
|
|
3394
|
+
/** Font size (px) for all metric values. Default: **28**. */
|
|
3395
|
+
metricValueFontSize?: number;
|
|
3396
|
+
/** Font weight for all metric values. Default: **700**. */
|
|
3397
|
+
metricValueFontWeight?: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* Gap between the three stat cards. Default: **`0`** (flush, no gap).
|
|
3400
|
+
*/
|
|
3401
|
+
statCardGap?: number | string;
|
|
3402
|
+
/**
|
|
3403
|
+
* Background of the stat cards container strip.
|
|
3404
|
+
* Default: **`'transparent'`** — the colored cards fill the full area.
|
|
3405
|
+
*/
|
|
3406
|
+
statStripBg?: string;
|
|
3407
|
+
/** Padding inside the stat cards strip. Default: **`0`**. */
|
|
3408
|
+
statStripPadding?: number | string;
|
|
3409
|
+
/** Border applied to the shared stat cards strip container. */
|
|
3410
|
+
statStripBorder?: string;
|
|
3411
|
+
/**
|
|
3412
|
+
* Border radius of the stat cards strip (MUI theme units or CSS string).
|
|
3413
|
+
* Default: **`'12px'`**. Combined with `overflow: hidden` this clips the card corners.
|
|
3414
|
+
*/
|
|
3415
|
+
statStripBorderRadius?: number | string;
|
|
3416
|
+
/**
|
|
3417
|
+
* Box shadow of the stat cards strip.
|
|
3418
|
+
* Default: **`'0 2px 16px rgba(0,0,0,0.10)'`**.
|
|
3419
|
+
*/
|
|
3420
|
+
statStripBoxShadow?: string;
|
|
3421
|
+
/** Border radius for the inner coloured three-card row. */
|
|
3422
|
+
statStripInnerBorderRadius?: number | string;
|
|
3423
|
+
/** Box shadow for the inner coloured three-card row. */
|
|
3424
|
+
statStripInnerBoxShadow?: string;
|
|
3425
|
+
/**
|
|
3426
|
+
* Flex ratio of left (stat) section vs right (metrics) section.
|
|
3427
|
+
* Default: **`1`** / **`1`** so both sections match the Figma 617px split.
|
|
3428
|
+
*/
|
|
3429
|
+
sectionFlex?: [number | string, number | string];
|
|
3430
|
+
/** Flex width for the left stat-card section. Overrides `sectionFlex[0]` when provided. */
|
|
3431
|
+
statSectionFlex?: number | string;
|
|
3432
|
+
/** Flex width for the right metrics section. Overrides `sectionFlex[1]` when provided. */
|
|
3433
|
+
metricsSectionFlex?: number | string;
|
|
3434
|
+
/** Breakpoint at which body switches from column to row. Default: **`md`**. */
|
|
3435
|
+
bodyBreakpoint?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3436
|
+
/** Gap between the two body sections (MUI spacing). Default: **`3`**. */
|
|
3437
|
+
bodyGap?: number | string;
|
|
3438
|
+
/** Minimum coloured stat-card height in px. Default: **`166`** (plus default strip padding = 186px container height). */
|
|
3439
|
+
statMinHeight?: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* Flex widths for Walk-ins, Trial Visits, and Billing Visits stat cards.
|
|
3442
|
+
* Default: **`[1, 1.35, 1]`** so the centre card is slightly wider.
|
|
3443
|
+
*/
|
|
3444
|
+
statCardFlexes?: [number | string, number | string, number | string];
|
|
3445
|
+
/** Renders skeletons in place of content. Default: **`false`**. */
|
|
3446
|
+
isLoading?: boolean;
|
|
3447
|
+
/** Format conversion % values for display. Default: rounds to 1 dp, appends `%`. */
|
|
3448
|
+
formatConversion?: (value: number) => string;
|
|
3449
|
+
/** Format average values for display. Default: rounds to 1 dp. */
|
|
3450
|
+
formatAverage?: (value: number) => string;
|
|
3451
|
+
/** Slot for the right side of the title row (e.g. gender filter + info button). */
|
|
3452
|
+
headerActions?: ReactNode;
|
|
3453
|
+
/** Extra `sx` on the outer card wrapper. */
|
|
3454
|
+
cardSx?: SxProps$1<Theme$1>;
|
|
3455
|
+
/** Extra `sx` on the stat cards strip container. */
|
|
3456
|
+
statStripSx?: SxProps$1<Theme$1>;
|
|
3457
|
+
/** Extra `sx` on the metrics section container. */
|
|
3458
|
+
metricsSx?: SxProps$1<Theme$1>;
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
declare function CustomerJourneyAnalysis({ walkIns, trialVisits, billingVisits, walkInToBillingConversion, trialToBillingConversion, avgTrialsPerWalkIn, avgBillingPerTrial, title, hideTitle, titleFontSize, titleFontWeight, titleColor, walkInsLabel, trialVisitsLabel, billingVisitsLabel, walkInToBillingLabel, trialToBillingLabel, avgTrialsPerWalkInLabel, avgBillingPerTrialLabel, walkInsIcon, trialVisitsIcon, billingVisitsIcon, walkInsCardConfig, trialVisitsCardConfig, billingVisitsCardConfig, statCardDefaults, walkInToBillingMetricConfig, trialToBillingMetricConfig, avgTrialsPerWalkInMetricConfig, avgBillingPerTrialMetricConfig, metricCardDefaults, walkInsBg, trialVisitsBg, billingVisitsBg, statIconColor, statIconStyle, statShowOuterCard, statLabelColor, statValueColor, metricLabelColor, metricValueColor, metricsCardBg, metricsCardBorderRadius, metricsGap, metricsPadding, statLabelFontSize, statLabelFontWeight, statValueFontSize, statValueFontWeight, statIconSize, metricLabelFontSize, metricLabelFontWeight, metricValueFontSize, metricValueFontWeight, statCardGap, statStripBg, statStripPadding, statStripBorder, statStripBorderRadius, statStripBoxShadow, statStripInnerBorderRadius, statStripInnerBoxShadow, sectionFlex, statSectionFlex, metricsSectionFlex, bodyBreakpoint, bodyGap, statMinHeight, statCardFlexes, isLoading, formatConversion, formatAverage, headerActions, cardSx, statStripSx, metricsSx, }: CustomerJourneyAnalysisProps): react_jsx_runtime.JSX.Element;
|
|
3462
|
+
|
|
3020
3463
|
type FalconThemeMode = 'light' | 'dark';
|
|
3021
3464
|
type FalconThemeDirection = 'ltr' | 'rtl';
|
|
3022
3465
|
interface FalconThemeSettings {
|
|
@@ -3037,4 +3480,4 @@ interface FalconThemeProviderProps {
|
|
|
3037
3480
|
|
|
3038
3481
|
declare const FalconThemeProvider: ({ children, mode: modeProp, settings, }: FalconThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
3039
3482
|
|
|
3040
|
-
export { AddCommentInput, type AddCommentInputProps, AdvancedFiltersDialog, type AdvancedFiltersDialogProps, BILLING_COUNTER_LINE_PRIMARY, BILLING_COUNTER_TABS_TRACK_BG, BillingCounterAnalytics, type BillingCounterAnalyticsCustomization, BillingCounterAnalyticsCustomizationProvider, type BillingCounterAnalyticsPoint, type BillingCounterAnalyticsProps, type BillingCounterAnalyticsTooltipRenderContext, type BillingCounterAnalyticsTooltipTheme, type BillingCounterChartMargin, ButtonWithIcon, type ButtonWithIconProps, CHART_PERIOD_FILTER_INFO_POPOVER, ChartEmptyState, type ChartEmptyStateProps, ChartWidgetHeaderSeparator, ChartWidgetInfoButton, type ChartWidgetInfoButtonProps, type ChartWidgetInfoPopoverContent, RankedBarList as ChartWidgetRankedBarList, type RankedBarListItem as ChartWidgetRankedBarListItem, type RankedBarListProps as ChartWidgetRankedBarListProps, type RankedBarListSegment as ChartWidgetRankedBarSegment, type ChartWidgetSegmentedTab, type ChartWidgetSegmentedTabLayout, ChartWidgetSegmentedTabs, type ChartWidgetSegmentedTabsProps, DEFAULT_BILLING_COUNTER_ANALYTICS_INFO_POPOVER, DEFAULT_FOOTFALL_TILE_ICONS, DEFAULT_PEAK_BILLING_HOURS_INFO_POPOVER, DEFAULT_QUEUE_TIME_BREAKDOWN_INFO_POPOVER, FalconAuditTimeline, type FalconAuditTimelineProps, FalconButton, type FalconButtonProps, FalconDIstrictFilter, type FalconDIstrictFilterOption, type FalconDIstrictFilterProps, FalconExportDialog, type FalconExportDialogProps, FalconExportReportDialog, type FalconExportReportDialogProps, FalconGrayButton, type FalconGrayButtonProps, FalconMultiSelect, type FalconMultiSelectOption, type FalconMultiSelectProps, type FalconMultiSelectStyleProps, FalconPagination, type FalconPaginationProps, FalconSelect, type FalconSelectOption, type FalconSelectProps, FalconSingleSwitch, type FalconSingleSwitchProps, FalconStatBanner, FalconStatBannerGroup, type FalconStatBannerGroupProps, type FalconStatBannerProps, FalconTable, type FalconTableProps, type FalconThemeDirection, type FalconThemeMode, FalconThemeProvider, type FalconThemeProviderProps, type FalconThemeSettings, FalconTicketColumsFilter, type FalconTicketColumsFilterProps, FalconTicketFilter, type FalconTicketFilterProps, type FilterOption, type FootFallHeatMapIconColor, type FootFallHeatMapIconSize, type FootFallHeatMapIconSizeContext, type FootFallHeatMapIcons, type FootFallHeatMapKpiStripPresentation, type FootFallHeatMapKpiStripSegmentTooltipRenderContext, type FootFallHeatMapKpiSummaryCardItem, type FootFallHeatMapSummaryKpis, type FootFallHeatMapTileIconRole, type FootFallHeatMapTileMetricsCustomization, type FootFallHeatMapTreeOptions, type FootFallHeatMapTreemapColorCustomization, type FootFallHeatMapTreemapLayout, FootFallHeatMapView, type FootFallHeatMapViewProps, FootfallByAgeGroups, type ChartCardMaxWidth as FootfallByAgeGroupsCardMaxWidth, type FootfallByAgeGroupsChartColors, type FootfallByAgeGroupsChartMargin, type FootfallByAgeGroupsHorizontalScroll, type FootfallByAgeGroupsProps, type FootfallByAgeGroupsRow, type FootfallByAgeGroupsSeries, type FootfallByAgeGroupsTooltipRenderContext, type FootfallByAgeGroupsTooltipStyles, FootfallByGender, type ChartCardMaxWidth as FootfallByGenderCardMaxWidth, type FootfallByGenderChartColors, type FootfallByGenderChartMargin, type FootfallByGenderHorizontalScroll, type FootfallByGenderProps, type FootfallByGenderRow, type FootfallByGenderTooltipRenderContext, type FootfallByGenderTooltipStyles, HeatMapChartLegend, type HeatMapChartLegendProps, type HeatMapLegendItem, KpiStatCard, type KpiStatCardCustomization, type KpiStatCardDetailedProps, type KpiStatCardIconBackdropShape, type KpiStatCardInfoPlacement, type KpiStatCardInlineProps, type KpiStatCardProps, type KpiTrend, type KpiTrendLayout, type MonthData, PasserbyConversion, type ChartCardMaxWidth as PasserbyConversionCardMaxWidth, type PasserbyConversionChartColors, type PasserbyConversionChartMargin, type PasserbyConversionHorizontalScroll, type PasserbyConversionProps, type PasserbyConversionRow, type PasserbyConversionTooltipRenderContext, type PasserbyConversionTooltipStyles, PeakBillingHours, type PeakBillingHoursChartMargin, type PeakBillingHoursCustomization, PeakBillingHoursCustomizationProvider, type PeakBillingHoursPoint, type PeakBillingHoursProps, type PeakBillingHoursTooltipRenderContext, ProgressBarNumber, type ProgressBarNumberProps, QUEUE_CHART_COLORS, QUEUE_STACKED_BAR_THICKNESS_PX, QUEUE_TIME_BREAKDOWN_DEFAULT_HEADER_IMAGE_SRC, QUEUE_TIME_BREAKDOWN_INFO_POPOVER, type QueueBucketLegendItem, type QueueTimeAreaSeriesPoint, type QueueTimeAreaTooltipTheme, QueueTimeBreakdown, QueueTimeBreakdownArea, type QueueTimeBreakdownAreaProps, type QueueTimeBreakdownAreaTooltipRenderContext, type QueueTimeBreakdownBarRow, type QueueTimeBreakdownCustomization, QueueTimeBreakdownCustomizationProvider, QueueTimeBreakdownDonut, type QueueTimeBreakdownDonutProps, type QueueTimeBreakdownDonutTooltipRenderContext, type QueueTimeBreakdownProps, QueueTimeBreakdownStackedBar, type QueueTimeBreakdownStackedBarProps, type QueueTimeBreakdownStackedBarTooltipRenderContext, type QueueTimeChartFilter, TimePeriodFilter as QueueTimePeriodFilter, type QueueTimePeriodFilterInfoButtonPresentation, type TimePeriodFilterProps as QueueTimePeriodFilterProps, type QueueTimePeriodFilterTheme, type QueueTimeRechartsTooltipTheme, type QueueTimeStackedSeriesItem, RankedBarList, type RankedBarListCustomization, type RankedBarListItem, type RankedBarListProps, type RankedBarListSegment, type RankedBarListSegmentTooltipRenderContext, TIME_PERIOD_FILTER_INFO_POPOVER, TIME_PERIOD_FILTER_INFO_POPOVER_BREAKDOWN, TimePeriodFilter, type TimePeriodFilterInfoButtonPresentation, type TimePeriodFilterProps, type TimePeriodFilterTheme, type TreemapNode, WalkinAnalysis, type WalkinAnalysisCardMaxWidth, type WalkinAnalysisCustomization, type WalkinAnalysisPieSize, type WalkinAnalysisProps, type WalkinAnalysisSlice, type WalkinAnalysisTab, type WalkinAnalysisTooltipRenderContext, type WalkinAnalysisTypography, WalkinTraffic, WalkinTraffic as WalkinTrafficByHour, type ChartCardMaxWidth as WalkinTrafficByHourCardMaxWidth, type WalkinTrafficChartColors as WalkinTrafficByHourChartColors, type WalkinTrafficChartMargin as WalkinTrafficByHourChartMargin, type WalkinTrafficHorizontalScroll as WalkinTrafficByHourHorizontalScroll, type WalkinTrafficProps as WalkinTrafficByHourProps, type WalkinTrafficRow as WalkinTrafficByHourRow, type WalkinTrafficTooltipStyles as WalkinTrafficByHourTooltipStyles, type ChartCardMaxWidth as WalkinTrafficCardMaxWidth, type WalkinTrafficChartColors, type WalkinTrafficChartMargin, type WalkinTrafficHorizontalScroll, type WalkinTrafficProps, type WalkinTrafficRow, type WalkinTrafficTooltipRenderContext, type WalkinTrafficTooltipStyles, WidgetHeaderFilter, type WidgetHeaderFilterProps, type WidgetHeaderFilterStyleProps, type WidgetHeaderMultiSelectConfig, type ZoneAnalyticsFlatItem, type ZoneAnalyticsHierarchy, type ZoneAnalyticsMetrics, type ZoneKpiStripPayload, ZoneWiseKpiCards, billingCounterDefaultTabs, billingCounterMockSeriesByTabId, buildTreemapNodes, createTreemapTileColorResolver, generateMockPerformanceData, getChildContainer, getNestedList, getQueueTimeBreakdownAreaSeriesData, getQueueTimeBreakdownAreaXAxisData, hashColor, isPlainObject, mergeAreaTooltipStyles, mergeCss, mergeRechartsTooltipStyles, mergeSx, metricForNode, parseMinutes, parseZoneKpiStripFromRaw, peakBillingHoursDefaultTabs, peakBillingHoursMockSeriesByTabId, peakBillingHoursVisitsMock, preprocessData, skipSingleBranchLevels, toRechartsTreemapData, useBillingCounterAnalyticsCustomization, usePeakBillingHoursCustomization, useQueueTimeBreakdownCustomization };
|
|
3483
|
+
export { AddCommentInput, type AddCommentInputProps, AdvancedFiltersDialog, type AdvancedFiltersDialogProps, BILLING_COUNTER_LINE_PRIMARY, BILLING_COUNTER_TABS_TRACK_BG, BillingCounterAnalytics, type BillingCounterAnalyticsCustomization, BillingCounterAnalyticsCustomizationProvider, type BillingCounterAnalyticsPoint, type BillingCounterAnalyticsProps, type BillingCounterAnalyticsTooltipRenderContext, type BillingCounterAnalyticsTooltipTheme, type BillingCounterChartMargin, ButtonWithIcon, type ButtonWithIconProps, CHART_PERIOD_FILTER_INFO_POPOVER, ChartEmptyState, type ChartEmptyStateProps, ChartWidgetHeaderSeparator, ChartWidgetInfoButton, type ChartWidgetInfoButtonProps, type ChartWidgetInfoPopoverContent, RankedBarList as ChartWidgetRankedBarList, type RankedBarListItem as ChartWidgetRankedBarListItem, type RankedBarListProps as ChartWidgetRankedBarListProps, type RankedBarListSegment as ChartWidgetRankedBarSegment, type ChartWidgetSegmentedTab, type ChartWidgetSegmentedTabLayout, ChartWidgetSegmentedTabs, type ChartWidgetSegmentedTabsProps, CustomerJourneyAnalysis, type CustomerJourneyAnalysisProps, DEFAULT_BILLING_COUNTER_ANALYTICS_INFO_POPOVER, DEFAULT_FOOTFALL_TILE_ICONS, DEFAULT_PEAK_BILLING_HOURS_INFO_POPOVER, DEFAULT_QUEUE_TIME_BREAKDOWN_INFO_POPOVER, FalconAuditTimeline, type FalconAuditTimelineProps, FalconButton, type FalconButtonProps, FalconDIstrictFilter, type FalconDIstrictFilterOption, type FalconDIstrictFilterProps, FalconExportDialog, type FalconExportDialogProps, FalconExportReportDialog, type FalconExportReportDialogProps, FalconGrayButton, type FalconGrayButtonProps, FalconMultiSelect, type FalconMultiSelectOption, type FalconMultiSelectProps, type FalconMultiSelectStyleProps, FalconPagination, type FalconPaginationProps, FalconSelect, type FalconSelectOption, type FalconSelectProps, FalconSingleSwitch, type FalconSingleSwitchProps, FalconStatBanner, FalconStatBannerGroup, type FalconStatBannerGroupProps, type FalconStatBannerProps, FalconTable, type FalconTableProps, type FalconThemeDirection, type FalconThemeMode, FalconThemeProvider, type FalconThemeProviderProps, type FalconThemeSettings, FalconTicketColumsFilter, type FalconTicketColumsFilterProps, FalconTicketFilter, type FalconTicketFilterProps, type FilterOption, type FootFallHeatMapBarRowContext, type FootFallHeatMapBuildBarRow, type FootFallHeatMapIconColor, type FootFallHeatMapIconSize, type FootFallHeatMapIconSizeContext, type FootFallHeatMapIcons, type FootFallHeatMapKpiStripPresentation, type FootFallHeatMapKpiStripSegmentTooltipRenderContext, type FootFallHeatMapKpiSummaryCardItem, type FootFallHeatMapSummaryKpis, type FootFallHeatMapTileIconRole, type FootFallHeatMapTileMetricsCustomization, type FootFallHeatMapTreeOptions, type FootFallHeatMapTreemapColorCustomization, type FootFallHeatMapTreemapLayout, FootFallHeatMapView, type FootFallHeatMapViewProps, FootfallByAgeGroups, type ChartCardMaxWidth as FootfallByAgeGroupsCardMaxWidth, type FootfallByAgeGroupsChartColors, type FootfallByAgeGroupsChartMargin, type FootfallByAgeGroupsHorizontalScroll, type FootfallByAgeGroupsProps, type FootfallByAgeGroupsRow, type FootfallByAgeGroupsSeries, type FootfallByAgeGroupsTooltipRenderContext, type FootfallByAgeGroupsTooltipStyles, FootfallByGender, type ChartCardMaxWidth as FootfallByGenderCardMaxWidth, type FootfallByGenderChartColors, type FootfallByGenderChartMargin, type FootfallByGenderHorizontalScroll, type FootfallByGenderProps, type FootfallByGenderRow, type FootfallByGenderTooltipRenderContext, type FootfallByGenderTooltipStyles, HeatMapChartLegend, type HeatMapChartLegendProps, type HeatMapLegendItem, JourneyMetricCard, type JourneyMetricCardProps, type JourneyMetricConfig, JourneyStatCard, type JourneyStatCardProps, type JourneyStatConfig, KpiStatCard, type KpiStatCardCustomization, type KpiStatCardDetailedProps, type KpiStatCardIconBackdropShape, type KpiStatCardInfoPlacement, type KpiStatCardInlineProps, type KpiStatCardProps, type KpiTrend, type KpiTrendLayout, type MonthData, PasserbyConversion, type ChartCardMaxWidth as PasserbyConversionCardMaxWidth, type PasserbyConversionChartColors, type PasserbyConversionChartMargin, type PasserbyConversionHorizontalScroll, type PasserbyConversionProps, type PasserbyConversionRow, type PasserbyConversionTooltipRenderContext, type PasserbyConversionTooltipStyles, PeakBillingHours, type PeakBillingHoursChartMargin, type PeakBillingHoursCustomization, PeakBillingHoursCustomizationProvider, type PeakBillingHoursPoint, type PeakBillingHoursProps, type PeakBillingHoursTooltipRenderContext, ProgressBarNumber, type ProgressBarNumberProps, QUEUE_CHART_COLORS, QUEUE_STACKED_BAR_THICKNESS_PX, QUEUE_TIME_BREAKDOWN_DEFAULT_HEADER_IMAGE_SRC, QUEUE_TIME_BREAKDOWN_INFO_POPOVER, type QueueBucketLegendItem, type QueueTimeAreaSeriesPoint, type QueueTimeAreaTooltipTheme, QueueTimeBreakdown, QueueTimeBreakdownArea, type QueueTimeBreakdownAreaProps, type QueueTimeBreakdownAreaTooltipRenderContext, type QueueTimeBreakdownBarRow, type QueueTimeBreakdownCustomization, QueueTimeBreakdownCustomizationProvider, QueueTimeBreakdownDonut, type QueueTimeBreakdownDonutProps, type QueueTimeBreakdownDonutTooltipRenderContext, type QueueTimeBreakdownProps, QueueTimeBreakdownStackedBar, type QueueTimeBreakdownStackedBarProps, type QueueTimeBreakdownStackedBarTooltipRenderContext, type QueueTimeChartFilter, TimePeriodFilter as QueueTimePeriodFilter, type QueueTimePeriodFilterInfoButtonPresentation, type TimePeriodFilterProps as QueueTimePeriodFilterProps, type QueueTimePeriodFilterTheme, type QueueTimeRechartsTooltipTheme, type QueueTimeStackedSeriesItem, RankedBarList, type RankedBarListCustomization, type RankedBarListItem, type RankedBarListProps, type RankedBarListSegment, type RankedBarListSegmentTooltipRenderContext, TIME_PERIOD_FILTER_INFO_POPOVER, TIME_PERIOD_FILTER_INFO_POPOVER_BREAKDOWN, TimePeriodFilter, type TimePeriodFilterInfoButtonPresentation, type TimePeriodFilterProps, type TimePeriodFilterTheme, type TreemapNode, WalkinAnalysis, type WalkinAnalysisCardMaxWidth, type WalkinAnalysisCustomization, type WalkinAnalysisPieSize, type WalkinAnalysisProps, type WalkinAnalysisSlice, type WalkinAnalysisTab, type WalkinAnalysisTooltipRenderContext, type WalkinAnalysisTypography, WalkinTraffic, WalkinTraffic as WalkinTrafficByHour, type ChartCardMaxWidth as WalkinTrafficByHourCardMaxWidth, type WalkinTrafficChartColors as WalkinTrafficByHourChartColors, type WalkinTrafficChartMargin as WalkinTrafficByHourChartMargin, type WalkinTrafficHorizontalScroll as WalkinTrafficByHourHorizontalScroll, type WalkinTrafficProps as WalkinTrafficByHourProps, type WalkinTrafficRow as WalkinTrafficByHourRow, type WalkinTrafficTooltipStyles as WalkinTrafficByHourTooltipStyles, type ChartCardMaxWidth as WalkinTrafficCardMaxWidth, type WalkinTrafficChartColors, type WalkinTrafficChartMargin, type WalkinTrafficHorizontalScroll, type WalkinTrafficProps, type WalkinTrafficRow, type WalkinTrafficTooltipRenderContext, type WalkinTrafficTooltipStyles, WidgetHeaderFilter, type WidgetHeaderFilterProps, type WidgetHeaderFilterStyleProps, type WidgetHeaderMultiSelectConfig, type ZoneAnalyticsFlatItem, type ZoneAnalyticsHierarchy, type ZoneAnalyticsMetrics, type ZoneKpiStripPayload, ZoneWiseKpiCards, billingCounterDefaultTabs, billingCounterMockSeriesByTabId, buildTreemapNodes, createTreemapTileColorResolver, generateMockPerformanceData, getChildContainer, getNestedList, getQueueTimeBreakdownAreaSeriesData, getQueueTimeBreakdownAreaXAxisData, hashColor, isPlainObject, mergeAreaTooltipStyles, mergeCss, mergeRechartsTooltipStyles, mergeSx, metricForNode, parseMinutes, parseZoneKpiStripFromRaw, peakBillingHoursDefaultTabs, peakBillingHoursMockSeriesByTabId, peakBillingHoursVisitsMock, preprocessData, skipSingleBranchLevels, toRechartsTreemapData, useBillingCounterAnalyticsCustomization, usePeakBillingHoursCustomization, useQueueTimeBreakdownCustomization };
|