@bpfdev/oly-ui 1.0.16 → 1.0.17
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.d.mts +890 -5
- package/dist/index.d.ts +890 -5
- package/dist/index.js +4008 -1705
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4234 -1935
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { SxProps, Theme, ButtonProps } from '@mui/material';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode, ReactElement, CSSProperties } from 'react';
|
|
4
|
+
import React__default, { ReactNode, ReactElement, CSSProperties, ElementType } from 'react';
|
|
5
5
|
import { SxProps as SxProps$1, Theme as Theme$1 } from '@mui/material/styles';
|
|
6
6
|
import { TooltipContentProps } from 'recharts';
|
|
7
7
|
import { GridColDef } from '@mui/x-data-grid';
|
|
@@ -1049,6 +1049,460 @@ interface JourneyMetricCardProps {
|
|
|
1049
1049
|
*/
|
|
1050
1050
|
declare function JourneyMetricCard({ label, labelColor, labelFontSize, labelFontWeight, value, valueColor, valueFontSize, valueFontWeight, textAlign, isLoading, sx, }: JourneyMetricCardProps): react_jsx_runtime.JSX.Element;
|
|
1051
1051
|
|
|
1052
|
+
/**
|
|
1053
|
+
* `danger` — red shell + red status badge (e.g. "Over Crowding"). `normal` — green shell + green
|
|
1054
|
+
* status badge. `inactive` — gray shell (top border only) + gray status badge (e.g. "Inactive").
|
|
1055
|
+
* `custom` — a neutral gray palette with no built-in meaning, for callers who want to drive every
|
|
1056
|
+
* color entirely from `customization` instead of picking one of the three named variants.
|
|
1057
|
+
*/
|
|
1058
|
+
type CounterStatusOverviewCardsVariant = 'normal' | 'danger' | 'inactive' | 'custom';
|
|
1059
|
+
interface CounterStatusOverviewCardsStat {
|
|
1060
|
+
key: string;
|
|
1061
|
+
/** e.g. "Served Today", "Avg. Queue Time". */
|
|
1062
|
+
label: string;
|
|
1063
|
+
value: string | number;
|
|
1064
|
+
/** Shows a warning icon next to the value (e.g. an over-threshold queue). Default: **false**. */
|
|
1065
|
+
showWarningIcon?: boolean;
|
|
1066
|
+
/** Replaces the default warning triangle when `showWarningIcon` is true. */
|
|
1067
|
+
warningIcon?: ReactNode;
|
|
1068
|
+
}
|
|
1069
|
+
/** Per-area style overrides — every field falls back to the `variant`'s default color/size. */
|
|
1070
|
+
interface CounterStatusOverviewCardsCustomization {
|
|
1071
|
+
/** Outer card shell. */
|
|
1072
|
+
card?: {
|
|
1073
|
+
background?: string;
|
|
1074
|
+
/** Border color. Applied per `borderSide`. */
|
|
1075
|
+
borderColor?: string;
|
|
1076
|
+
/** Which side(s) the card border is drawn on. Default: **'all'** (`'top'` for the `inactive` variant). */
|
|
1077
|
+
borderSide?: 'all' | 'top';
|
|
1078
|
+
/** Default: **2** (px). */
|
|
1079
|
+
borderWidth?: number | string;
|
|
1080
|
+
/** Default: **14** (px). */
|
|
1081
|
+
borderRadius?: number | string;
|
|
1082
|
+
/** Default: **16** (px). */
|
|
1083
|
+
padding?: number | string;
|
|
1084
|
+
/** Default: **420** (px). */
|
|
1085
|
+
width?: number | string;
|
|
1086
|
+
/** Default: **124** (px). */
|
|
1087
|
+
height?: number | string;
|
|
1088
|
+
/** Default: **`'"Neue Haas Grotesk Display Pro", "Noto Sans", "Roboto", "Public Sans", sans-serif'`** — applied to every text element in the card. */
|
|
1089
|
+
fontFamily?: string;
|
|
1090
|
+
/** CSS `box-shadow`. Unset by default. */
|
|
1091
|
+
boxShadow?: string;
|
|
1092
|
+
/** Background while hovered — only takes effect when `onClick` is set. */
|
|
1093
|
+
hoverBackground?: string;
|
|
1094
|
+
/** Border color while hovered — only takes effect when `onClick` is set. */
|
|
1095
|
+
hoverBorderColor?: string;
|
|
1096
|
+
sx?: SxProps$1<Theme$1>;
|
|
1097
|
+
};
|
|
1098
|
+
/** The status pill (top-right), e.g. "Over Crowding" / "Normal". */
|
|
1099
|
+
badge?: {
|
|
1100
|
+
background?: string;
|
|
1101
|
+
textColor?: string;
|
|
1102
|
+
borderTopColor?: string;
|
|
1103
|
+
borderTopWidth?: number | string;
|
|
1104
|
+
/** Default: **12** (px). */
|
|
1105
|
+
fontSize?: number | string;
|
|
1106
|
+
/** Default: **600**. */
|
|
1107
|
+
fontWeight?: number | string;
|
|
1108
|
+
/** Default: **8** (px). */
|
|
1109
|
+
borderRadius?: number | string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Caps how wide the badge can grow before its text is truncated with an ellipsis — keeps a
|
|
1112
|
+
* long `statusLabel` from pushing past the card's right edge. Default: **'55%'** (of the
|
|
1113
|
+
* card's content width). Set to `'none'` to disable truncation entirely.
|
|
1114
|
+
*/
|
|
1115
|
+
maxWidth?: number | string;
|
|
1116
|
+
sx?: SxProps$1<Theme$1>;
|
|
1117
|
+
};
|
|
1118
|
+
/** The rounded square showing `counterNumber` (top-left). */
|
|
1119
|
+
counterNumberBox?: {
|
|
1120
|
+
background?: string;
|
|
1121
|
+
textColor?: string;
|
|
1122
|
+
/** Default: **36** (px) — a floor, not a fixed size: the box grows wider (never shorter) to fit multi-digit `counterNumber` values without clipping. */
|
|
1123
|
+
size?: number;
|
|
1124
|
+
/** Default: **10** (px). */
|
|
1125
|
+
borderRadius?: number | string;
|
|
1126
|
+
/** Default: **20** (px). */
|
|
1127
|
+
fontSize?: number | string;
|
|
1128
|
+
/** Default: **600**. */
|
|
1129
|
+
fontWeight?: number | string;
|
|
1130
|
+
/** Horizontal padding applied once the number is wide enough to grow the box past `size`. Default: **4** (px). */
|
|
1131
|
+
paddingX?: number | string;
|
|
1132
|
+
sx?: SxProps$1<Theme$1>;
|
|
1133
|
+
};
|
|
1134
|
+
/** `title` text (e.g. "Counter 3"). */
|
|
1135
|
+
title?: {
|
|
1136
|
+
/** Default: **#101828**. */
|
|
1137
|
+
color?: string;
|
|
1138
|
+
/** Default: **14** (px). */
|
|
1139
|
+
fontSize?: number | string;
|
|
1140
|
+
/** Default: **600**. */
|
|
1141
|
+
fontWeight?: number | string;
|
|
1142
|
+
sx?: SxProps$1<Theme$1>;
|
|
1143
|
+
};
|
|
1144
|
+
/** `cameraId` text (e.g. "CAM-061"). */
|
|
1145
|
+
cameraId?: {
|
|
1146
|
+
/** Default: **#6A7282**. */
|
|
1147
|
+
color?: string;
|
|
1148
|
+
/** Default: **12** (px). */
|
|
1149
|
+
fontSize?: number | string;
|
|
1150
|
+
/** Default: **500**. */
|
|
1151
|
+
fontWeight?: number | string;
|
|
1152
|
+
sx?: SxProps$1<Theme$1>;
|
|
1153
|
+
};
|
|
1154
|
+
/** The 4-column stat row + vertical dividers. */
|
|
1155
|
+
stats?: {
|
|
1156
|
+
/** Default: **#6A7282**. */
|
|
1157
|
+
labelColor?: string;
|
|
1158
|
+
/** Default: **12** (px). */
|
|
1159
|
+
labelFontSize?: number | string;
|
|
1160
|
+
/** Default: **#101828**. */
|
|
1161
|
+
valueColor?: string;
|
|
1162
|
+
/** Default: **14** (px). */
|
|
1163
|
+
valueFontSize?: number | string;
|
|
1164
|
+
/** Default: **#0000001A**. */
|
|
1165
|
+
dividerColor?: string;
|
|
1166
|
+
/** Divider thickness. Default: **1** (px). */
|
|
1167
|
+
dividerWidth?: number | string;
|
|
1168
|
+
/** Divider height. Default: **36** (px). */
|
|
1169
|
+
dividerHeight?: number | string;
|
|
1170
|
+
/** Color of the default warning triangle icon (ignored when a stat sets its own `warningIcon`). Default: **#ED1C24**. */
|
|
1171
|
+
warningIconColor?: string;
|
|
1172
|
+
/** Size of the default warning triangle icon. Default: **16** (px). */
|
|
1173
|
+
warningIconSize?: number;
|
|
1174
|
+
sx?: SxProps$1<Theme$1>;
|
|
1175
|
+
};
|
|
1176
|
+
/** Spacing between the card's internal areas — everything not already covered by a named area's own padding/gap. */
|
|
1177
|
+
layout?: {
|
|
1178
|
+
/** Gap between the header row (number/title/badge) and the stats row. Default: **16** (px). */
|
|
1179
|
+
contentGap?: number | string;
|
|
1180
|
+
/** Gap between the counter-number box and the title/cameraId column. Default: **12** (px). */
|
|
1181
|
+
headerGap?: number | string;
|
|
1182
|
+
/** Gap between the title and cameraId lines. Default: **2** (px). */
|
|
1183
|
+
titleGap?: number | string;
|
|
1184
|
+
/** Gap between adjacent stat columns (and their divider). Default: **12** (px). */
|
|
1185
|
+
statsGap?: number | string;
|
|
1186
|
+
};
|
|
1187
|
+
}
|
|
1188
|
+
interface CounterStatusOverviewCardsProps {
|
|
1189
|
+
/** Selects the red/"danger", green/"normal", or gray/"inactive" default palette for the card, badge, and number box. */
|
|
1190
|
+
variant: CounterStatusOverviewCardsVariant;
|
|
1191
|
+
/** Number shown inside the rounded square (top-left), e.g. `3`. */
|
|
1192
|
+
counterNumber: number | string;
|
|
1193
|
+
/** e.g. "Counter 3". */
|
|
1194
|
+
title: string;
|
|
1195
|
+
/** e.g. "CAM-061". */
|
|
1196
|
+
cameraId: string;
|
|
1197
|
+
/** Status pill text, e.g. "Over Crowding" or "Normal". */
|
|
1198
|
+
statusLabel: string;
|
|
1199
|
+
/** Exactly the 4 stat columns shown under the header (e.g. Served Today / Avg. Queue Time / Current Queue / Alerts Generated). */
|
|
1200
|
+
stats: CounterStatusOverviewCardsStat[];
|
|
1201
|
+
/** Makes the whole card clickable — adds `cursor: pointer` and enables `customization.card.hoverBackground`/`hoverBorderColor`. */
|
|
1202
|
+
onClick?: () => void;
|
|
1203
|
+
/** Extra root styles — merges last. */
|
|
1204
|
+
sx?: SxProps$1<Theme$1>;
|
|
1205
|
+
/** Per-area style overrides — see `CounterStatusOverviewCardsCustomization`. */
|
|
1206
|
+
customization?: CounterStatusOverviewCardsCustomization;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* **CounterStatusOverviewCards** — a single status card for a billing/service counter: a numbered
|
|
1211
|
+
* badge, counter name + camera id, a status pill (`Normal` / `Over Crowding` / any custom text),
|
|
1212
|
+
* and a 4-column stat row (e.g. Served Today, Avg. Queue Time, Current Queue, Alerts Generated)
|
|
1213
|
+
* separated by vertical dividers. `variant` selects the red ("danger"), green ("normal"), or
|
|
1214
|
+
* gray ("inactive") default palette for the card shell, badge, and counter-number box — every
|
|
1215
|
+
* color is still overridable per-area via `customization`.
|
|
1216
|
+
*/
|
|
1217
|
+
declare function CounterStatusOverviewCards({ variant, counterNumber, title, cameraId, statusLabel, stats, onClick, sx, customization, }: CounterStatusOverviewCardsProps): React$1.ReactElement;
|
|
1218
|
+
|
|
1219
|
+
/** `danger` tints the whole row red (matches `CounterStatusOverviewCards`'s danger card); `normal` is the default white row. */
|
|
1220
|
+
type CounterStatusOverviewTableRowVariant = 'normal' | 'danger';
|
|
1221
|
+
/** `danger` = red pill; `normal` = green pill. */
|
|
1222
|
+
type CounterStatusOverviewTableQueuePillVariant = 'normal' | 'danger';
|
|
1223
|
+
interface CounterStatusOverviewTableQueuePill {
|
|
1224
|
+
count: number | string;
|
|
1225
|
+
/** Appended after `count`, e.g. `"people"`. Default: **'people'**. */
|
|
1226
|
+
unitLabel?: string;
|
|
1227
|
+
variant: CounterStatusOverviewTableQueuePillVariant;
|
|
1228
|
+
}
|
|
1229
|
+
/** `danger` = red status pill (default); `normal` = green status pill. */
|
|
1230
|
+
type CounterStatusOverviewTableDetailStatusVariant = 'normal' | 'danger';
|
|
1231
|
+
/** Data shown in the counter-details modal opened by a row's eye icon. */
|
|
1232
|
+
interface CounterStatusOverviewTableRowDetails {
|
|
1233
|
+
/** Modal heading. Defaults to `"Counter {n}"`, derived from the row's `counterNumber`. */
|
|
1234
|
+
title?: string;
|
|
1235
|
+
/** Camera snapshot rendered at the top of the modal. Omit to render the modal without an image. */
|
|
1236
|
+
imageUrl?: string;
|
|
1237
|
+
imageAlt?: string;
|
|
1238
|
+
/** Status pill text, e.g. `"Over Crowding"`. */
|
|
1239
|
+
status: string;
|
|
1240
|
+
/** Default: **'danger'**. */
|
|
1241
|
+
statusVariant?: CounterStatusOverviewTableDetailStatusVariant;
|
|
1242
|
+
servedToday: string | number;
|
|
1243
|
+
/** e.g. `"8 mins"`. */
|
|
1244
|
+
avgWaitTime: string | number;
|
|
1245
|
+
queueLength: string | number;
|
|
1246
|
+
/** Tints `queueLength` red with a warning icon. Default: **false**. */
|
|
1247
|
+
queueLengthWarning?: boolean;
|
|
1248
|
+
}
|
|
1249
|
+
/** One extra action icon rendered alongside the default eye/view icon in the Action column. */
|
|
1250
|
+
interface CounterStatusOverviewTableRowAction {
|
|
1251
|
+
key: string;
|
|
1252
|
+
icon: ReactNode;
|
|
1253
|
+
onClick: () => void;
|
|
1254
|
+
ariaLabel: string;
|
|
1255
|
+
}
|
|
1256
|
+
interface CounterStatusOverviewTableRow {
|
|
1257
|
+
key: string;
|
|
1258
|
+
/** e.g. `"#3"`. */
|
|
1259
|
+
counterNumber: string | number;
|
|
1260
|
+
/** e.g. `"CAM-010"`. */
|
|
1261
|
+
cameraId: string;
|
|
1262
|
+
totalServed: string | number;
|
|
1263
|
+
/** e.g. `"6 min"`. */
|
|
1264
|
+
avgQueueTime: string;
|
|
1265
|
+
alertsGenerated: string | number;
|
|
1266
|
+
currentQueue: CounterStatusOverviewTableQueuePill;
|
|
1267
|
+
/** e.g. `"Active"`. */
|
|
1268
|
+
status: string;
|
|
1269
|
+
/** Row-level highlight. Default: **'normal'**. */
|
|
1270
|
+
variant?: CounterStatusOverviewTableRowVariant;
|
|
1271
|
+
/** Called when the row's action icon is clicked. Omit to render the icon without a click handler. */
|
|
1272
|
+
onActionClick?: () => void;
|
|
1273
|
+
/** When present, clicking the row's eye icon opens the counter-details modal populated with this data. */
|
|
1274
|
+
details?: CounterStatusOverviewTableRowDetails;
|
|
1275
|
+
/** Additional action icons rendered after the default eye/view icon, in order. */
|
|
1276
|
+
extraActions?: CounterStatusOverviewTableRowAction[];
|
|
1277
|
+
/**
|
|
1278
|
+
* Per-column custom cell renderer for this row — takes over that column's cell content
|
|
1279
|
+
* entirely (the default `Typography`/pill/icon for that column is skipped). Keyed the same as
|
|
1280
|
+
* `CounterStatusOverviewTableColumnWidths`.
|
|
1281
|
+
*/
|
|
1282
|
+
renderCell?: Partial<Record<CounterStatusOverviewTableColumnKey, () => ReactNode>>;
|
|
1283
|
+
}
|
|
1284
|
+
/** The eight column keys, in their default left-to-right order. */
|
|
1285
|
+
type CounterStatusOverviewTableColumnKey = 'counter' | 'camera' | 'totalServed' | 'avgQueueTime' | 'alertsGenerated' | 'currentQueue' | 'status' | 'action';
|
|
1286
|
+
/** Per-column width (px). Every column defaults to the Figma spec's exact value; the eight together sum to 1288 — `customization.root.width`'s default. */
|
|
1287
|
+
interface CounterStatusOverviewTableColumnWidths {
|
|
1288
|
+
/** Default: **86**. */
|
|
1289
|
+
counter?: number;
|
|
1290
|
+
/** Default: **192.8**. */
|
|
1291
|
+
camera?: number;
|
|
1292
|
+
/** Default: **192.8**. */
|
|
1293
|
+
totalServed?: number;
|
|
1294
|
+
/** Default: **192.8**. */
|
|
1295
|
+
avgQueueTime?: number;
|
|
1296
|
+
/** Default: **192.8**. */
|
|
1297
|
+
alertsGenerated?: number;
|
|
1298
|
+
/** Default: **192.8**. */
|
|
1299
|
+
currentQueue?: number;
|
|
1300
|
+
/** Default: **142**. */
|
|
1301
|
+
status?: number;
|
|
1302
|
+
/** Default: **96**. */
|
|
1303
|
+
action?: number;
|
|
1304
|
+
}
|
|
1305
|
+
/** `'asc'` / `'desc'` sort direction for the currently sorted column. */
|
|
1306
|
+
type CounterStatusOverviewTableSortDirection = 'asc' | 'desc';
|
|
1307
|
+
interface CounterStatusOverviewTableCustomization {
|
|
1308
|
+
/**
|
|
1309
|
+
* The single grid-line color shared by every divider in the table — header/body boundary,
|
|
1310
|
+
* every column divider, and every row-to-row divider, including the Status column. The whole
|
|
1311
|
+
* table renders as one CSS Grid sharing one set of column/row tracks (not a separate grid per
|
|
1312
|
+
* row), and each boundary is drawn by exactly one cell (the left cell's `borderRight`, the
|
|
1313
|
+
* upper cell's `borderBottom`), so every line renders at the same 1px thickness everywhere.
|
|
1314
|
+
* Default: **#D8D8D8**.
|
|
1315
|
+
*/
|
|
1316
|
+
gridLineColor?: string;
|
|
1317
|
+
/** Outer table shell. */
|
|
1318
|
+
root?: {
|
|
1319
|
+
/** Default: **1288** (px) — the sum of the column widths. */
|
|
1320
|
+
width?: number | string;
|
|
1321
|
+
/** Default: **186** (px) — header height + (row height × row count) at the default 3 rows. */
|
|
1322
|
+
height?: number | string;
|
|
1323
|
+
/** Default: **8** (px). */
|
|
1324
|
+
borderRadius?: number | string;
|
|
1325
|
+
/** Default: **#E9E9F0**. */
|
|
1326
|
+
borderColor?: string;
|
|
1327
|
+
/** Default: **`'"Neue Haas Grotesk Display Pro", "Noto Sans", "Roboto", "Public Sans", sans-serif'`** — applied to every piece of text in the table (header, cells, detail modal). */
|
|
1328
|
+
fontFamily?: string;
|
|
1329
|
+
sx?: SxProps$1<Theme$1>;
|
|
1330
|
+
};
|
|
1331
|
+
/** Header row (column titles). */
|
|
1332
|
+
header?: {
|
|
1333
|
+
/** Default: **48** (px). */
|
|
1334
|
+
height?: number | string;
|
|
1335
|
+
/** Default: **#F1F1F5**. */
|
|
1336
|
+
background?: string;
|
|
1337
|
+
/** Default: **#444444**. */
|
|
1338
|
+
textColor?: string;
|
|
1339
|
+
/** Default: **13** (px). */
|
|
1340
|
+
fontSize?: number | string;
|
|
1341
|
+
/** Default: **600**. */
|
|
1342
|
+
fontWeight?: number | string;
|
|
1343
|
+
/**
|
|
1344
|
+
* Columns whose header is clickable to sort the rows (ascending, then descending). Unset by
|
|
1345
|
+
* default — no column is sortable unless listed here.
|
|
1346
|
+
*/
|
|
1347
|
+
sortableColumns?: CounterStatusOverviewTableColumnKey[];
|
|
1348
|
+
/** Color of the sort direction arrow shown on the active sorted column. Defaults to `textColor`. */
|
|
1349
|
+
sortIconColor?: string;
|
|
1350
|
+
/** Extra styles merged onto every header cell. */
|
|
1351
|
+
sx?: SxProps$1<Theme$1>;
|
|
1352
|
+
};
|
|
1353
|
+
/** Body rows. */
|
|
1354
|
+
row?: {
|
|
1355
|
+
/** Default: **46** (px). */
|
|
1356
|
+
height?: number | string;
|
|
1357
|
+
/** `variant: 'danger'` row background. Default: **#FEF2F2**. */
|
|
1358
|
+
dangerBackground?: string;
|
|
1359
|
+
/** Default (non-`danger`) row background. Default: **#FFFFFF**. */
|
|
1360
|
+
normalBackground?: string;
|
|
1361
|
+
/** Row background while hovered. Unset by default (no hover effect). */
|
|
1362
|
+
hoverBackground?: string;
|
|
1363
|
+
/** Counter number cell (e.g. "#3"). Default: **#242424**. */
|
|
1364
|
+
counterTextColor?: string;
|
|
1365
|
+
/** Default: **13** (px). */
|
|
1366
|
+
counterFontSize?: number | string;
|
|
1367
|
+
/** Default: **600**. */
|
|
1368
|
+
counterFontWeight?: number | string;
|
|
1369
|
+
/** Camera / Total Served / Avg. Queue Time / Alerts Generated cells. Default: **#444444**. */
|
|
1370
|
+
cellTextColor?: string;
|
|
1371
|
+
/** Default: **13** (px). */
|
|
1372
|
+
cellFontSize?: number | string;
|
|
1373
|
+
/** Default: **600**. */
|
|
1374
|
+
cellFontWeight?: number | string;
|
|
1375
|
+
/** Status column cell background. Default: **#F0FDF4**. */
|
|
1376
|
+
statusBackground?: string;
|
|
1377
|
+
/** Default: **#008236**. */
|
|
1378
|
+
statusTextColor?: string;
|
|
1379
|
+
/** Default: **13** (px). */
|
|
1380
|
+
statusFontSize?: number | string;
|
|
1381
|
+
/** Default: **600**. */
|
|
1382
|
+
statusFontWeight?: number | string;
|
|
1383
|
+
/** Extra styles merged onto every cell in every body row. */
|
|
1384
|
+
sx?: SxProps$1<Theme$1>;
|
|
1385
|
+
};
|
|
1386
|
+
/** The rounded "N people" pill in the Current Queue column. */
|
|
1387
|
+
queuePill?: {
|
|
1388
|
+
/** `variant: 'danger'`. Default: **#ED1C24**. */
|
|
1389
|
+
dangerBackground?: string;
|
|
1390
|
+
/** `variant: 'normal'`. Default: **#4EAF51**. */
|
|
1391
|
+
normalBackground?: string;
|
|
1392
|
+
/** Default: **#FFFFFF**. */
|
|
1393
|
+
textColor?: string;
|
|
1394
|
+
/** Default: **11** (px). */
|
|
1395
|
+
fontSize?: number | string;
|
|
1396
|
+
/** Default: **600**. */
|
|
1397
|
+
fontWeight?: number | string;
|
|
1398
|
+
/** Default: **100** (px) — fully rounded. */
|
|
1399
|
+
borderRadius?: number | string;
|
|
1400
|
+
sx?: SxProps$1<Theme$1>;
|
|
1401
|
+
};
|
|
1402
|
+
/** The Action column's eye icon button. */
|
|
1403
|
+
actionIcon?: {
|
|
1404
|
+
/** Default: **24** (px). */
|
|
1405
|
+
size?: number;
|
|
1406
|
+
/** Default: **#0A0A0A**. */
|
|
1407
|
+
color?: string;
|
|
1408
|
+
};
|
|
1409
|
+
/** Per-column widths — see `CounterStatusOverviewTableColumnWidths`. */
|
|
1410
|
+
columns?: CounterStatusOverviewTableColumnWidths;
|
|
1411
|
+
/**
|
|
1412
|
+
* Left-to-right column order. Default: `['counter', 'camera', 'totalServed', 'avgQueueTime',
|
|
1413
|
+
* 'alertsGenerated', 'currentQueue', 'status', 'action']`. Any key omitted from this array is
|
|
1414
|
+
* still subject to `columnVisibility` but renders in its default relative position.
|
|
1415
|
+
*/
|
|
1416
|
+
columnOrder?: CounterStatusOverviewTableColumnKey[];
|
|
1417
|
+
/** Per-column visibility. Every column defaults to **visible**; set a key to `false` to hide it. */
|
|
1418
|
+
columnVisibility?: Partial<Record<CounterStatusOverviewTableColumnKey, boolean>>;
|
|
1419
|
+
/** Per-column text alignment (header + body cells). Default: **'center'** for every column. */
|
|
1420
|
+
columnAlign?: Partial<Record<CounterStatusOverviewTableColumnKey, 'left' | 'center' | 'right'>>;
|
|
1421
|
+
/** Shown instead of the grid body when `rows` is empty. */
|
|
1422
|
+
emptyState?: {
|
|
1423
|
+
/** Default: **'No data found'**. */
|
|
1424
|
+
label?: string;
|
|
1425
|
+
/** Rendered above the label. */
|
|
1426
|
+
icon?: ReactNode;
|
|
1427
|
+
sx?: SxProps$1<Theme$1>;
|
|
1428
|
+
};
|
|
1429
|
+
/** The counter-details modal opened by a row's eye icon (only when that row has `details`). */
|
|
1430
|
+
detailModal?: {
|
|
1431
|
+
/** Default: **518** (px). */
|
|
1432
|
+
width?: number | string;
|
|
1433
|
+
/** Default: **20** (px). */
|
|
1434
|
+
borderRadius?: number | string;
|
|
1435
|
+
/** Default: **rgba(0, 0, 0, 0.1)**. */
|
|
1436
|
+
borderColor?: string;
|
|
1437
|
+
/** "Counter Details" section label. Default: **'Counter Details'**. */
|
|
1438
|
+
sectionTitle?: string;
|
|
1439
|
+
/** Per-field label override. Defaults: Status / Served Today / Avg. Wait Time / Queue Length. */
|
|
1440
|
+
labels?: {
|
|
1441
|
+
status?: string;
|
|
1442
|
+
servedToday?: string;
|
|
1443
|
+
avgWaitTime?: string;
|
|
1444
|
+
queueLength?: string;
|
|
1445
|
+
};
|
|
1446
|
+
/** Status pill — `statusVariant: 'danger'`. Default: **#D4183D**. */
|
|
1447
|
+
dangerStatusBackground?: string;
|
|
1448
|
+
/** Status pill — `statusVariant: 'normal'`. Default: **#00A63E**. */
|
|
1449
|
+
normalStatusBackground?: string;
|
|
1450
|
+
/** `queueLengthWarning` text/icon color. Default: **#ED1C24**. */
|
|
1451
|
+
warningColor?: string;
|
|
1452
|
+
/** Camera-snapshot placeholder height. Default: **300** (px). */
|
|
1453
|
+
imageHeight?: number | string;
|
|
1454
|
+
/** Gap between the Status / Served Today / Avg. Wait Time / Queue Length fields. Default: **20** (px). */
|
|
1455
|
+
fieldsGap?: number | string;
|
|
1456
|
+
/** Field label font size. Default: **14** (px). */
|
|
1457
|
+
labelFontSize?: number | string;
|
|
1458
|
+
/** Field value font size. Default: **16** (px). */
|
|
1459
|
+
valueFontSize?: number | string;
|
|
1460
|
+
/** Extra `sx` merged onto the modal's backdrop. */
|
|
1461
|
+
backdropSx?: SxProps$1<Theme$1>;
|
|
1462
|
+
sx?: SxProps$1<Theme$1>;
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
interface CounterStatusOverviewTableProps {
|
|
1466
|
+
/** Header labels, in column order. Defaults match the Figma spec. */
|
|
1467
|
+
headerLabels?: {
|
|
1468
|
+
counter?: string;
|
|
1469
|
+
camera?: string;
|
|
1470
|
+
totalServed?: string;
|
|
1471
|
+
avgQueueTime?: string;
|
|
1472
|
+
alertsGenerated?: string;
|
|
1473
|
+
currentQueue?: string;
|
|
1474
|
+
status?: string;
|
|
1475
|
+
action?: string;
|
|
1476
|
+
};
|
|
1477
|
+
rows: CounterStatusOverviewTableRow[];
|
|
1478
|
+
/**
|
|
1479
|
+
* Controlled sorted column. Pass `null` for unsorted. Omit to let the component manage its own
|
|
1480
|
+
* (see `defaultSortBy`) — sorting only activates for columns listed in
|
|
1481
|
+
* `customization.header.sortableColumns`.
|
|
1482
|
+
*/
|
|
1483
|
+
sortBy?: CounterStatusOverviewTableColumnKey | null;
|
|
1484
|
+
/** Initial sorted column in uncontrolled mode. Default: **null** (unsorted). */
|
|
1485
|
+
defaultSortBy?: CounterStatusOverviewTableColumnKey | null;
|
|
1486
|
+
/** Controlled sort direction. Omit to let the component manage its own (see `defaultSortDirection`). */
|
|
1487
|
+
sortDirection?: CounterStatusOverviewTableSortDirection;
|
|
1488
|
+
/** Initial sort direction in uncontrolled mode. Default: **'asc'**. */
|
|
1489
|
+
defaultSortDirection?: CounterStatusOverviewTableSortDirection;
|
|
1490
|
+
/** Fired whenever the sorted column/direction changes (clicking a sortable header). */
|
|
1491
|
+
onSortChange?: (sortBy: CounterStatusOverviewTableColumnKey | null, direction: CounterStatusOverviewTableSortDirection) => void;
|
|
1492
|
+
/**
|
|
1493
|
+
* Overrides the comparator used to sort two rows by `sortBy`. Defaults to a numeric-aware
|
|
1494
|
+
* comparison (parses a leading number out of the column's display value where relevant, e.g.
|
|
1495
|
+
* `"6 min"` → `6`, `"#3"` → `3`) falling back to a case-insensitive string compare.
|
|
1496
|
+
*/
|
|
1497
|
+
sortComparator?: (a: CounterStatusOverviewTableRow, b: CounterStatusOverviewTableRow, sortBy: CounterStatusOverviewTableColumnKey) => number;
|
|
1498
|
+
/** Extra root styles — merges last. */
|
|
1499
|
+
sx?: SxProps$1<Theme$1>;
|
|
1500
|
+
/** Deep per-area style override — see `CounterStatusOverviewTableCustomization`. */
|
|
1501
|
+
customization?: CounterStatusOverviewTableCustomization;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
declare function CounterStatusOverviewTable({ headerLabels, rows, sortBy, defaultSortBy, sortDirection, defaultSortDirection, onSortChange, sortComparator, sx, customization, }: CounterStatusOverviewTableProps): React$1.ReactElement;
|
|
1505
|
+
|
|
1052
1506
|
interface FalconButtonProps extends ButtonProps {
|
|
1053
1507
|
loading?: boolean;
|
|
1054
1508
|
iconPlacement?: 'start' | 'end';
|
|
@@ -1982,6 +2436,28 @@ interface FalconStatBannerTrend {
|
|
|
1982
2436
|
badgeColor?: string;
|
|
1983
2437
|
badgeIconBg?: string;
|
|
1984
2438
|
badgeIconColor?: string;
|
|
2439
|
+
/** Default: `'50px'`. */
|
|
2440
|
+
badgeBorderRadius?: number | string;
|
|
2441
|
+
/** Default: `'6px 16px'` (matches the default `py: 0.75, px: 2`). */
|
|
2442
|
+
badgePadding?: string;
|
|
2443
|
+
/** Gap between the label text and the icon (or icon circle). Default: `1` (theme spacing, 8px). */
|
|
2444
|
+
badgeGap?: number | string;
|
|
2445
|
+
/** Default: `'0.8rem'`. */
|
|
2446
|
+
badgeFontSize?: number | string;
|
|
2447
|
+
/** Default: `600`. */
|
|
2448
|
+
badgeFontWeight?: number | string;
|
|
2449
|
+
/**
|
|
2450
|
+
* When `true`, renders `iconName` (or the built-in up/down arrow) directly with no circular
|
|
2451
|
+
* background behind it — for icon sets whose glyph is already self-contained (e.g.
|
|
2452
|
+
* `material-symbols:arrow-circle-up-rounded`, which already draws its own circle outline).
|
|
2453
|
+
* `badgeIconColor` colors the icon itself instead of a circle background. Default: `false`
|
|
2454
|
+
* (wraps the icon in a solid colored circle, e.g. `mdi:arrow-up` on `badgeIconBg`).
|
|
2455
|
+
*/
|
|
2456
|
+
iconOnly?: boolean;
|
|
2457
|
+
/** Overrides the built-in `mdi:arrow-up` / `mdi:arrow-down` icon name. */
|
|
2458
|
+
iconName?: string;
|
|
2459
|
+
/** Icon width/height in px. Default: `11` (wrapped) — pass a larger value (e.g. `14`) for `iconOnly` icons, which have no circle padding around them. */
|
|
2460
|
+
iconSize?: number;
|
|
1985
2461
|
}
|
|
1986
2462
|
interface FalconStatBannerProps {
|
|
1987
2463
|
label: string;
|
|
@@ -1990,15 +2466,26 @@ interface FalconStatBannerProps {
|
|
|
1990
2466
|
textColor?: string;
|
|
1991
2467
|
width?: number | string;
|
|
1992
2468
|
height?: number | string;
|
|
2469
|
+
/** Font-family for the whole banner text. Default: inherits the theme. */
|
|
2470
|
+
fontFamily?: string;
|
|
2471
|
+
/** Applies to both the label and value text unless `valueFontSize` overrides the value. Default: `1rem`. */
|
|
1993
2472
|
fontSize?: number | string;
|
|
2473
|
+
/** Weight of the **value** text specifically. Default: `600`. */
|
|
1994
2474
|
fontWeight?: number | string;
|
|
2475
|
+
/** Weight of the **label** text specifically. Default: inherits (browser/theme normal weight). */
|
|
2476
|
+
labelFontWeight?: number | string;
|
|
2477
|
+
/** Overrides `fontSize` for just the value text. Default: same as `fontSize`. */
|
|
2478
|
+
valueFontSize?: number | string;
|
|
2479
|
+
/** Default: `1.4`. */
|
|
2480
|
+
lineHeight?: number | string;
|
|
2481
|
+
letterSpacing?: number | string;
|
|
1995
2482
|
trend?: FalconStatBannerTrend;
|
|
1996
2483
|
trendPlacement?: 'inline' | 'end';
|
|
1997
2484
|
sx?: SxProps<Theme>;
|
|
1998
2485
|
className?: string;
|
|
1999
2486
|
}
|
|
2000
2487
|
|
|
2001
|
-
declare const FalconStatBanner: ({ label, value, color, textColor, width, height, fontSize, fontWeight, trend, trendPlacement, sx, className, }: FalconStatBannerProps) => react_jsx_runtime.JSX.Element;
|
|
2488
|
+
declare const FalconStatBanner: ({ label, value, color, textColor, width, height, fontFamily, fontSize, fontWeight, labelFontWeight, valueFontSize, lineHeight, letterSpacing, trend, trendPlacement, sx, className, }: FalconStatBannerProps) => react_jsx_runtime.JSX.Element;
|
|
2002
2489
|
|
|
2003
2490
|
interface FalconStatBannerGroupProps {
|
|
2004
2491
|
banners: FalconStatBannerProps[];
|
|
@@ -2637,6 +3124,14 @@ interface PasserbyConversionProps {
|
|
|
2637
3124
|
conversionAxisLabel?: string;
|
|
2638
3125
|
/** Tick formatter for the left (count) Y-axis. */
|
|
2639
3126
|
yAxisTickFormatter?: (value: number) => string;
|
|
3127
|
+
/** Override the left (count) y-axis `[min, max]` domain. Default: auto. */
|
|
3128
|
+
yAxisDomain?: [number | string, number | string];
|
|
3129
|
+
/** Override the explicit left (count) y-axis tick values (pairs with `yAxisDomain` to force a specific top tick). Default: auto. */
|
|
3130
|
+
yAxisTicks?: number[];
|
|
3131
|
+
/** Override the right (conversion) y-axis `[min, max]` domain. Default: auto. */
|
|
3132
|
+
conversionAxisDomain?: [number | string, number | string];
|
|
3133
|
+
/** Override the explicit right (conversion) y-axis tick values (pairs with `conversionAxisDomain`). Default: auto. */
|
|
3134
|
+
conversionAxisTicks?: number[];
|
|
2640
3135
|
/** Tick formatter for the right (conversion) Y-axis. */
|
|
2641
3136
|
conversionAxisTickFormatter?: (value: number) => string;
|
|
2642
3137
|
tooltipStyles?: PasserbyConversionTooltipStyles;
|
|
@@ -2695,7 +3190,7 @@ interface PasserbyConversionProps {
|
|
|
2695
3190
|
xAxisTickStyle?: Record<string, string | number>;
|
|
2696
3191
|
}
|
|
2697
3192
|
|
|
2698
|
-
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;
|
|
3193
|
+
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, yAxisDomain, yAxisTicks, conversionAxisTickFormatter, conversionAxisDomain, conversionAxisTicks, 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;
|
|
2699
3194
|
|
|
2700
3195
|
/** Pie diameter: fixed px, or per-breakpoint (`xs` / `sm` / `md` match MUI breakpoints). */
|
|
2701
3196
|
type WalkinAnalysisPieSize = number | {
|
|
@@ -2962,6 +3457,10 @@ interface WalkinTrafficProps {
|
|
|
2962
3457
|
chartColors?: WalkinTrafficChartColors;
|
|
2963
3458
|
emptyStatePlaceholderProps?: ChartEmptyStateProps;
|
|
2964
3459
|
yAxisTickFormatter?: (value: number) => string;
|
|
3460
|
+
/** Override the y-axis `[min, max]` domain (Recharts accepts numbers or `'auto'`/`'dataMin'`/`'dataMax'`). Default: auto. */
|
|
3461
|
+
yAxisDomain?: [number | string, number | string];
|
|
3462
|
+
/** Override the explicit y-axis tick values (pairs with `yAxisDomain` to force a specific top tick). Default: auto. */
|
|
3463
|
+
yAxisTicks?: number[];
|
|
2965
3464
|
emptyStateText?: string;
|
|
2966
3465
|
/**
|
|
2967
3466
|
* Recharts animation for bars and trend line. Defaults **true** / **400** ms.
|
|
@@ -2985,7 +3484,7 @@ interface WalkinTrafficProps {
|
|
|
2985
3484
|
xAxisTickStyle?: Record<string, string | number>;
|
|
2986
3485
|
}
|
|
2987
3486
|
|
|
2988
|
-
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;
|
|
3487
|
+
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, yAxisDomain, yAxisTicks, isChartAnimationActive, chartAnimationDuration, scrollChartToEndOnDataChange, xAxisTickAngle, xAxisTickDx, xAxisTickStyle, }: WalkinTrafficProps): react_jsx_runtime.JSX.Element;
|
|
2989
3488
|
|
|
2990
3489
|
/** Primary line + tooltip fill (violet). */
|
|
2991
3490
|
declare const BILLING_COUNTER_LINE_PRIMARY: "#7C3AED";
|
|
@@ -4254,6 +4753,392 @@ interface CustomerJourneyAnalysisProps {
|
|
|
4254
4753
|
|
|
4255
4754
|
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;
|
|
4256
4755
|
|
|
4756
|
+
/** One stat pill above the two charts; `width` comes from the widget's `FalconStatBannerGroup`, everything else is yours. */
|
|
4757
|
+
type OverallFootfallPasserbyTrendsBanner = Omit<FalconStatBannerProps, 'width'>;
|
|
4758
|
+
interface OverallFootfallPasserbyTrendsBottomLegendItem {
|
|
4759
|
+
key: string;
|
|
4760
|
+
label: string;
|
|
4761
|
+
color: string;
|
|
4762
|
+
/** Renders a thin line swatch instead of a square (for the conversion series). */
|
|
4763
|
+
isLine?: boolean;
|
|
4764
|
+
/** Per-item `sx` override, merged after `customization.bottomLegend.itemSx`. */
|
|
4765
|
+
sx?: SxProps$1<Theme$1>;
|
|
4766
|
+
}
|
|
4767
|
+
/**
|
|
4768
|
+
* Per-breakpoint width for one of the two chart panels — same shape as MUI Grid v2's `size` prop
|
|
4769
|
+
* (a bare column count, or an object keyed by breakpoint).
|
|
4770
|
+
* Defaults to `{ xs: 12, md: 6 }` (stacked on mobile, 50/50 from `md` up) for both panels.
|
|
4771
|
+
*/
|
|
4772
|
+
type OverallFootfallPasserbyTrendsGridSize = number | 'auto' | Partial<Record<'xs' | 'sm' | 'md' | 'lg' | 'xl', number | 'auto'>>;
|
|
4773
|
+
/**
|
|
4774
|
+
* Deep customization surface. Outer widget chrome (card, header, banners, charts row, bottom
|
|
4775
|
+
* legend) is layered separately from the two inner charts, which accept their **full** own prop
|
|
4776
|
+
* set (minus the data/title/timeSlots the widget already owns) so nothing in either chart is
|
|
4777
|
+
* off-limits.
|
|
4778
|
+
*/
|
|
4779
|
+
interface OverallFootfallPasserbyTrendsCustomization {
|
|
4780
|
+
/** Outer card (the widget shell wrapping everything). */
|
|
4781
|
+
rootCard?: {
|
|
4782
|
+
sx?: SxProps$1<Theme$1>;
|
|
4783
|
+
/** Default: **12** (px). */
|
|
4784
|
+
borderRadius?: number | string;
|
|
4785
|
+
/** Border color. Default: **#E5E5E5**. */
|
|
4786
|
+
borderColor?: string;
|
|
4787
|
+
/** Background color. Default: **#FFFFFF**. */
|
|
4788
|
+
background?: string;
|
|
4789
|
+
/** Card padding. Default: **24** (px). */
|
|
4790
|
+
padding?: number | string;
|
|
4791
|
+
/** Vertical gap between the title row, banners, charts, and bottom legend. Default: **10** (px). */
|
|
4792
|
+
gap?: number | string;
|
|
4793
|
+
/** Explicit width (in addition to the `cardMaxWidth` prop's max-width). Default: **100%**. */
|
|
4794
|
+
width?: number | string;
|
|
4795
|
+
/** CSS `box-shadow`. Unset by default. */
|
|
4796
|
+
boxShadow?: string;
|
|
4797
|
+
/** Root element/component rendered for the card shell. Default: MUI `Box`'s own default (`'div'`). */
|
|
4798
|
+
component?: ElementType;
|
|
4799
|
+
};
|
|
4800
|
+
/** Title row (title + info button + `headerActions`). */
|
|
4801
|
+
header?: {
|
|
4802
|
+
titleSx?: SxProps$1<Theme$1>;
|
|
4803
|
+
rowSx?: SxProps$1<Theme$1>;
|
|
4804
|
+
/** Default: **`"Noto Sans", sans-serif`**. */
|
|
4805
|
+
titleFontFamily?: string;
|
|
4806
|
+
/** Default: **700**. */
|
|
4807
|
+
titleFontWeight?: number | string;
|
|
4808
|
+
/** Default: **22** (px). */
|
|
4809
|
+
titleFontSize?: number | string;
|
|
4810
|
+
/** Default: **#000000**. */
|
|
4811
|
+
titleColor?: string;
|
|
4812
|
+
/** Root element/component rendered for the title. Default: **`'h2'`**. */
|
|
4813
|
+
titleComponent?: ElementType;
|
|
4814
|
+
/** Gap between the title and the info-button/`headerActions` group. Default: **2** (theme spacing, 16px). */
|
|
4815
|
+
gap?: number | string;
|
|
4816
|
+
/** Gap between the separator, info button, and `headerActions` within their group. Default: **1.5** (theme spacing, 12px). */
|
|
4817
|
+
actionsGap?: number | string;
|
|
4818
|
+
/** Hides the whole title row (title, separator, info button, `headerActions`). Default: **false**. */
|
|
4819
|
+
hidden?: boolean;
|
|
4820
|
+
/** `aria-label` on the info button. Default: **`'Chart information'`**. */
|
|
4821
|
+
infoButtonAriaLabel?: string;
|
|
4822
|
+
/** Forwarded to `ChartWidgetInfoButton` — every prop except `popover`/`ariaLabel`, which are already covered by `infoPopover`/`infoButtonAriaLabel`. */
|
|
4823
|
+
infoButtonProps?: Partial<Omit<ChartWidgetInfoButtonProps, 'popover' | 'ariaLabel'>>;
|
|
4824
|
+
};
|
|
4825
|
+
/** The `FalconStatBannerGroup` row above the charts. */
|
|
4826
|
+
banners?: {
|
|
4827
|
+
sx?: SxProps$1<Theme$1>;
|
|
4828
|
+
/** Gap between the two pills. Forwarded to `FalconStatBannerGroup`'s `spacing`. */
|
|
4829
|
+
spacing?: number;
|
|
4830
|
+
/** Hides the whole stat-pill row. Default: **false**. */
|
|
4831
|
+
hidden?: boolean;
|
|
4832
|
+
/**
|
|
4833
|
+
* When `false`, skip layering the Go Colors day-over-day badge defaults (radius, padding,
|
|
4834
|
+
* font, self-contained arrow icon) under `walkinsBanner.trend` / `passerbyBanner.trend` —
|
|
4835
|
+
* your `trend` object is used exactly as given, falling back to `FalconStatBanner`'s own
|
|
4836
|
+
* built-in defaults for anything you don't set. Default: **true**.
|
|
4837
|
+
*/
|
|
4838
|
+
applyTrendDefaults?: boolean;
|
|
4839
|
+
};
|
|
4840
|
+
/** The two-column Grid row containing the charts. */
|
|
4841
|
+
chartsRow?: {
|
|
4842
|
+
sx?: SxProps$1<Theme$1>;
|
|
4843
|
+
/** Hides the whole charts row (both panels). Default: **false**. */
|
|
4844
|
+
hidden?: boolean;
|
|
4845
|
+
/** Gap between the two chart panels. Forwarded to the Grid `spacing`. Default: `3`. */
|
|
4846
|
+
spacing?: number;
|
|
4847
|
+
/** Left (Walk-in Traffic) panel width. Default: `{ xs: 12, md: 6 }`. */
|
|
4848
|
+
walkinTrafficGridSize?: OverallFootfallPasserbyTrendsGridSize;
|
|
4849
|
+
/** Right (Passerby Conversion) panel width. Default: `{ xs: 12, md: 6 }`. */
|
|
4850
|
+
passerbyConversionGridSize?: OverallFootfallPasserbyTrendsGridSize;
|
|
4851
|
+
/** CSS `order` for the Walk-in Traffic panel — pair with a matching `passerbyConversionOrder` to swap which side each chart renders on. */
|
|
4852
|
+
walkinTrafficOrder?: number;
|
|
4853
|
+
/** CSS `order` for the Passerby Conversion panel. */
|
|
4854
|
+
passerbyConversionOrder?: number;
|
|
4855
|
+
};
|
|
4856
|
+
/** Bottom legend strip beneath the charts. */
|
|
4857
|
+
bottomLegend?: {
|
|
4858
|
+
sx?: SxProps$1<Theme$1>;
|
|
4859
|
+
/** Hides the whole bottom legend strip, regardless of `bottomLegendItems`. Default: **false**. */
|
|
4860
|
+
hidden?: boolean;
|
|
4861
|
+
itemSx?: SxProps$1<Theme$1>;
|
|
4862
|
+
labelSx?: SxProps$1<Theme$1>;
|
|
4863
|
+
/** Square swatch size (non-line items). Default: **16**. */
|
|
4864
|
+
swatchSizePx?: number;
|
|
4865
|
+
/** Line swatch width (line items, e.g. Conversion). Default: **16**. */
|
|
4866
|
+
lineSwatchWidthPx?: number;
|
|
4867
|
+
/** Line swatch thickness (line items). Default: **3**. */
|
|
4868
|
+
lineSwatchHeightPx?: number;
|
|
4869
|
+
/** Square swatch border-radius (non-line items). Default: **'2px'**. */
|
|
4870
|
+
swatchBorderRadius?: number | string;
|
|
4871
|
+
/** Line swatch border-radius (line items). Default: **0.5** (theme spacing, 4px). */
|
|
4872
|
+
lineSwatchBorderRadius?: number | string;
|
|
4873
|
+
/** Default: **`"Noto Sans", sans-serif`** (matches the title font). */
|
|
4874
|
+
labelFontFamily?: string;
|
|
4875
|
+
/** Default: **400**. */
|
|
4876
|
+
labelFontWeight?: number | string;
|
|
4877
|
+
/** Default: **14** (px). */
|
|
4878
|
+
labelFontSize?: number | string;
|
|
4879
|
+
/** Default: **#000000**. */
|
|
4880
|
+
labelColor?: string;
|
|
4881
|
+
};
|
|
4882
|
+
/** The two inner charts' own panel titles (`walkinTrafficTitle` / `passerbyConversionTitle`). */
|
|
4883
|
+
chartTitles?: {
|
|
4884
|
+
walkinTraffic?: {
|
|
4885
|
+
sx?: SxProps$1<Theme$1>;
|
|
4886
|
+
/** Default: falcon-web-ui's brand font stack (see component description). */
|
|
4887
|
+
fontFamily?: string;
|
|
4888
|
+
/** Default: **600**. */
|
|
4889
|
+
fontWeight?: number | string;
|
|
4890
|
+
/** Default: **12** (px). */
|
|
4891
|
+
fontSize?: number | string;
|
|
4892
|
+
/** Default: **#1a1a1a**. */
|
|
4893
|
+
color?: string;
|
|
4894
|
+
/** Default: **1.4**. */
|
|
4895
|
+
lineHeight?: number | string;
|
|
4896
|
+
/** Default: **'center'**. */
|
|
4897
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
4898
|
+
};
|
|
4899
|
+
passerbyConversion?: {
|
|
4900
|
+
sx?: SxProps$1<Theme$1>;
|
|
4901
|
+
/** Default: falcon-web-ui's brand font stack (see component description). */
|
|
4902
|
+
fontFamily?: string;
|
|
4903
|
+
/** Default: **600**. */
|
|
4904
|
+
fontWeight?: number | string;
|
|
4905
|
+
/** Default: **12** (px). */
|
|
4906
|
+
fontSize?: number | string;
|
|
4907
|
+
/** Default: **#1a1a1a**. */
|
|
4908
|
+
color?: string;
|
|
4909
|
+
/** Default: **1.4**. */
|
|
4910
|
+
lineHeight?: number | string;
|
|
4911
|
+
/** Default: **'center'**. */
|
|
4912
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
4913
|
+
};
|
|
4914
|
+
};
|
|
4915
|
+
/**
|
|
4916
|
+
* Forwarded to the inner **WalkinTraffic** chart — every prop except `data`/`title`, which the
|
|
4917
|
+
* widget owns via `walkinTrafficData`/`walkinTrafficTitle`.
|
|
4918
|
+
*/
|
|
4919
|
+
walkinTraffic?: Partial<Omit<WalkinTrafficProps, 'data' | 'title'>>;
|
|
4920
|
+
/**
|
|
4921
|
+
* Forwarded to the inner **PasserbyConversion** chart — every prop except
|
|
4922
|
+
* `data`/`title`/`timeSlots`, which the widget owns via `passerbyConversionData`/
|
|
4923
|
+
* `passerbyConversionTitle`/`passerbyConversionTimeSlots`.
|
|
4924
|
+
*/
|
|
4925
|
+
passerbyConversion?: Partial<Omit<PasserbyConversionProps, 'data' | 'title' | 'timeSlots'>>;
|
|
4926
|
+
}
|
|
4927
|
+
interface OverallFootfallPasserbyTrendsProps {
|
|
4928
|
+
/** Outer widget title. Default: **Overall Footfall & Passerby Trends**. */
|
|
4929
|
+
title?: string;
|
|
4930
|
+
/** Left stat pill (default color **#0086A9**, matches the Walk-in Traffic chart bar). */
|
|
4931
|
+
walkinsBanner: OverallFootfallPasserbyTrendsBanner;
|
|
4932
|
+
/** Right stat pill (default color **#FFC647**, matches the Passerby Conversion chart bar). */
|
|
4933
|
+
passerbyBanner: OverallFootfallPasserbyTrendsBanner;
|
|
4934
|
+
/** Rows for the left **WalkinTraffic** chart. */
|
|
4935
|
+
walkinTrafficData: WalkinTrafficProps['data'];
|
|
4936
|
+
/** Left chart panel title. Default: **Walk-in Traffic**. */
|
|
4937
|
+
walkinTrafficTitle?: string;
|
|
4938
|
+
/** Rows for the right **PasserbyConversion** chart. */
|
|
4939
|
+
passerbyConversionData: PasserbyConversionProps['data'];
|
|
4940
|
+
/** Right chart panel title. Default: **Passerby Conversion**. */
|
|
4941
|
+
passerbyConversionTitle?: string;
|
|
4942
|
+
/** Stable X-axis slots forwarded to **PasserbyConversion** (see its `timeSlots` prop). */
|
|
4943
|
+
passerbyConversionTimeSlots?: PasserbyConversionProps['timeSlots'];
|
|
4944
|
+
/** Shared plot height (px) applied to both charts, unless overridden per-chart via `customization`. Default: **400**. */
|
|
4945
|
+
chartHeight?: number;
|
|
4946
|
+
/**
|
|
4947
|
+
* Bottom legend items shown under both charts. Default: **Walk-ins** (**#0086A9**),
|
|
4948
|
+
* **Passerby** (**#FFC647**), **Conversion** (**#754C7F**) — all square swatches, matching the
|
|
4949
|
+
* Figma spec.
|
|
4950
|
+
*/
|
|
4951
|
+
bottomLegendItems?: OverallFootfallPasserbyTrendsBottomLegendItem[];
|
|
4952
|
+
/** Header info button content. Omit for no info button. */
|
|
4953
|
+
infoPopover?: ChartWidgetInfoPopoverContent;
|
|
4954
|
+
/** Right side of the title row, rendered after the info button (e.g. a date filter). */
|
|
4955
|
+
headerActions?: ReactNode;
|
|
4956
|
+
/** Outer card max-width. Default: **1320** (px, matches the Figma frame) — `width: 100%` keeps it responsive below that. */
|
|
4957
|
+
cardMaxWidth?: ChartCardMaxWidth;
|
|
4958
|
+
/** Deep theme override — see `OverallFootfallPasserbyTrendsCustomization`. */
|
|
4959
|
+
customization?: OverallFootfallPasserbyTrendsCustomization;
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4962
|
+
/**
|
|
4963
|
+
* **OverallFootfallPasserbyTrends** widget: outer card with a title row (+ optional info button),
|
|
4964
|
+
* two **FalconStatBanner** pills, the existing **WalkinTraffic** and **PasserbyConversion** charts
|
|
4965
|
+
* side by side (own legends hidden), and a single shared bottom legend.
|
|
4966
|
+
*
|
|
4967
|
+
* The two inner charts accept their **full** own prop set via `customization.walkinTraffic` /
|
|
4968
|
+
* `customization.passerbyConversion` (colors, tooltips, animation, bar styling, etc.) — nothing in
|
|
4969
|
+
* either chart is off-limits from this widget. Outer chrome (card, title, banners, bottom legend)
|
|
4970
|
+
* has its own named customization fields matching the Figma spec defaults, plus an `sx` escape
|
|
4971
|
+
* hatch on every area.
|
|
4972
|
+
*/
|
|
4973
|
+
declare function OverallFootfallPasserbyTrends({ title, walkinsBanner, passerbyBanner, walkinTrafficData, walkinTrafficTitle, passerbyConversionData, passerbyConversionTitle, passerbyConversionTimeSlots, chartHeight, bottomLegendItems, infoPopover, headerActions, cardMaxWidth, customization, }: OverallFootfallPasserbyTrendsProps): React$1.ReactElement;
|
|
4974
|
+
|
|
4975
|
+
/** `'card'` renders `CounterStatusOverviewCards` (one per entry in `cards`); `'list'` renders `CounterStatusOverviewTable`. */
|
|
4976
|
+
type CounterStatusOverviewViewMode = 'card' | 'list';
|
|
4977
|
+
/** Per-area style overrides — every field falls back to the Figma-spec default. */
|
|
4978
|
+
interface CounterStatusOverviewCustomization {
|
|
4979
|
+
/** Outer card shell. */
|
|
4980
|
+
root?: {
|
|
4981
|
+
/** Default: **1320** (px). */
|
|
4982
|
+
width?: number | string;
|
|
4983
|
+
/** Unset by default — the card sizes to its content (header + cards/table) instead of a fixed height, so there's no dead space below a short card/list. Set explicitly to force a fixed height. */
|
|
4984
|
+
height?: number | string;
|
|
4985
|
+
/** Default: **12** (px). */
|
|
4986
|
+
borderRadius?: number | string;
|
|
4987
|
+
/** Gap between the header row and the card/list content. Default: **16** (px). */
|
|
4988
|
+
gap?: number | string;
|
|
4989
|
+
/** Default: **16** (px). */
|
|
4990
|
+
padding?: number | string;
|
|
4991
|
+
/** Default: **#FFFFFF**. */
|
|
4992
|
+
background?: string;
|
|
4993
|
+
/** Default: **`'"Neue Haas Grotesk Display Pro", "Noto Sans", "Roboto", "Public Sans", sans-serif'`** — applied to every piece of text in the widget (title, search, view toggle, empty state) unless a more specific `fontFamily` is set elsewhere. */
|
|
4994
|
+
fontFamily?: string;
|
|
4995
|
+
sx?: SxProps$1<Theme$1>;
|
|
4996
|
+
};
|
|
4997
|
+
/** The "Counter Status Overview" title + search bar + view toggle row. */
|
|
4998
|
+
header?: {
|
|
4999
|
+
/** Default: **#000000**. */
|
|
5000
|
+
titleColor?: string;
|
|
5001
|
+
/** Default: **20** (px). */
|
|
5002
|
+
titleFontSize?: number | string;
|
|
5003
|
+
/** Default: **700**. */
|
|
5004
|
+
titleFontWeight?: number | string;
|
|
5005
|
+
/** Root element/component rendered for the title. Default: MUI `Typography`'s own default (`'p'`, via the `body1` variant). */
|
|
5006
|
+
titleComponent?: ElementType;
|
|
5007
|
+
/** Gap between the search bar and the view-toggle group. Default: **16** (px). */
|
|
5008
|
+
actionsGap?: number | string;
|
|
5009
|
+
sx?: SxProps$1<Theme$1>;
|
|
5010
|
+
};
|
|
5011
|
+
/** The search input. */
|
|
5012
|
+
search?: {
|
|
5013
|
+
/** Hides the search bar entirely. Default: **false**. */
|
|
5014
|
+
hidden?: boolean;
|
|
5015
|
+
/** Default: **521** (px). */
|
|
5016
|
+
width?: number | string;
|
|
5017
|
+
/** Default: **40** (px). */
|
|
5018
|
+
height?: number | string;
|
|
5019
|
+
/** Default: **8** (px). */
|
|
5020
|
+
borderRadius?: number | string;
|
|
5021
|
+
/** Default: **#F3F3F5**. */
|
|
5022
|
+
background?: string;
|
|
5023
|
+
/** Default: **#E0E0E0**. */
|
|
5024
|
+
borderColor?: string;
|
|
5025
|
+
/** Default: **#757575**. */
|
|
5026
|
+
placeholderColor?: string;
|
|
5027
|
+
/** Input text color. Default: **#000000**. */
|
|
5028
|
+
textColor?: string;
|
|
5029
|
+
/** Input text weight. Default: **600**. */
|
|
5030
|
+
textFontWeight?: number | string;
|
|
5031
|
+
/** Input text size. Default: **14** (px). */
|
|
5032
|
+
textFontSize?: number | string;
|
|
5033
|
+
/** Input text letter-spacing. Default: **-0.05px**. */
|
|
5034
|
+
letterSpacing?: number | string;
|
|
5035
|
+
/** Default: **#000000**. */
|
|
5036
|
+
iconColor?: string;
|
|
5037
|
+
/** Replaces the default magnifying-glass icon entirely (ignores `iconColor`). */
|
|
5038
|
+
icon?: ReactNode;
|
|
5039
|
+
sx?: SxProps$1<Theme$1>;
|
|
5040
|
+
};
|
|
5041
|
+
/** The card-view / list-view toggle button group. */
|
|
5042
|
+
viewToggle?: {
|
|
5043
|
+
/** Hides the card/list toggle entirely. Default: **false**. */
|
|
5044
|
+
hidden?: boolean;
|
|
5045
|
+
/** Default: **88** (px). */
|
|
5046
|
+
width?: number | string;
|
|
5047
|
+
/** Default: **42** (px). */
|
|
5048
|
+
height?: number | string;
|
|
5049
|
+
/** Default: **8** (px). */
|
|
5050
|
+
borderRadius?: number | string;
|
|
5051
|
+
/** Default: **#0000001F** (the design's `--divider` token). */
|
|
5052
|
+
borderColor?: string;
|
|
5053
|
+
/** Selected button's background. Default: **#F3F3F5**. */
|
|
5054
|
+
activeBackground?: string;
|
|
5055
|
+
/** Unselected button's background. Default: **'transparent'**. */
|
|
5056
|
+
inactiveBackground?: string;
|
|
5057
|
+
/** Unselected button's hover background. Default: **rgba(0, 0, 0, 0.04)**. */
|
|
5058
|
+
inactiveHoverBackground?: string;
|
|
5059
|
+
/** Divider between the card/list buttons. Unset by default (no divider rendered). */
|
|
5060
|
+
dividerColor?: string;
|
|
5061
|
+
/** Replaces the default grid icon for the card-view button. */
|
|
5062
|
+
cardIcon?: ReactNode;
|
|
5063
|
+
/** Replaces the default list icon for the list-view button. */
|
|
5064
|
+
listIcon?: ReactNode;
|
|
5065
|
+
sx?: SxProps$1<Theme$1>;
|
|
5066
|
+
};
|
|
5067
|
+
/**
|
|
5068
|
+
* The row of `CounterStatusOverviewCards` shown in `'card'` view. Cards render as CSS Grid
|
|
5069
|
+
* columns (each card's own width is overridden to `100%` of its column) that grow to fill the
|
|
5070
|
+
* row but never shrink below `minCardWidth`, wrapping onto a new row instead. The gap between
|
|
5071
|
+
* cards defaults to the same value as the whitespace on either edge (`root.padding`).
|
|
5072
|
+
*/
|
|
5073
|
+
cardsRow?: {
|
|
5074
|
+
/** Default: **16** (px) — matches `root.padding` so edge and inter-card spacing are equal. */
|
|
5075
|
+
gap?: number | string;
|
|
5076
|
+
/** Minimum width a card can shrink to before wrapping to a new row. Default: **400** (px) — deliberately a bit under `CounterStatusOverviewCards`'s own 420px default width so 3 cards still fit one row (stretching each to ~419px) at the default `root.width`/`root.padding`/`gap` instead of dropping to 2 stretched-out columns. */
|
|
5077
|
+
minCardWidth?: number | string;
|
|
5078
|
+
sx?: SxProps$1<Theme$1>;
|
|
5079
|
+
};
|
|
5080
|
+
/** Shown instead of the cards/table when the search query matches nothing. */
|
|
5081
|
+
emptyState?: {
|
|
5082
|
+
label?: string;
|
|
5083
|
+
/** Rendered above the label. */
|
|
5084
|
+
icon?: ReactNode;
|
|
5085
|
+
sx?: SxProps$1<Theme$1>;
|
|
5086
|
+
};
|
|
5087
|
+
}
|
|
5088
|
+
interface CounterStatusOverviewProps {
|
|
5089
|
+
/** Default: **'Counter Status Overview'**. */
|
|
5090
|
+
title?: string;
|
|
5091
|
+
/** Default: **'Search'**. */
|
|
5092
|
+
searchPlaceholder?: string;
|
|
5093
|
+
/** Controlled search text. Omit to let the component manage its own (see `defaultSearchValue`). */
|
|
5094
|
+
searchValue?: string;
|
|
5095
|
+
/** Initial search text in uncontrolled mode. Default: **''**. */
|
|
5096
|
+
defaultSearchValue?: string;
|
|
5097
|
+
/** Fired on every keystroke, in both controlled and uncontrolled mode. */
|
|
5098
|
+
onSearchChange?: (value: string) => void;
|
|
5099
|
+
/** Controlled view mode. Omit to let the component manage its own (see `defaultView`). */
|
|
5100
|
+
view?: CounterStatusOverviewViewMode;
|
|
5101
|
+
/** Initial view mode in uncontrolled mode. Default: **'card'**. */
|
|
5102
|
+
defaultView?: CounterStatusOverviewViewMode;
|
|
5103
|
+
onViewChange?: (view: CounterStatusOverviewViewMode) => void;
|
|
5104
|
+
/**
|
|
5105
|
+
* One `CounterStatusOverviewCards` per entry, rendered side by side when `view === 'card'`.
|
|
5106
|
+
* Filtered by the search query against `title` / `cameraId` / `counterNumber`.
|
|
5107
|
+
*/
|
|
5108
|
+
cards: CounterStatusOverviewCardsProps[];
|
|
5109
|
+
/**
|
|
5110
|
+
* Forwarded to `CounterStatusOverviewTable` when `view === 'list'` — `rows` is filtered by the
|
|
5111
|
+
* search query against `counterNumber` / `cameraId` before being passed down.
|
|
5112
|
+
*/
|
|
5113
|
+
table: CounterStatusOverviewTableProps;
|
|
5114
|
+
/**
|
|
5115
|
+
* Overrides which fields a search query matches against for `'card'` view. Defaults to matching
|
|
5116
|
+
* `title` / `cameraId` / `counterNumber` (case-insensitive, whitespace-trimmed).
|
|
5117
|
+
*/
|
|
5118
|
+
filterCard?: (card: CounterStatusOverviewCardsProps, normalizedQuery: string) => boolean;
|
|
5119
|
+
/**
|
|
5120
|
+
* Overrides which fields a search query matches against for `'list'` view. Defaults to matching
|
|
5121
|
+
* `counterNumber` / `cameraId` (case-insensitive, whitespace-trimmed).
|
|
5122
|
+
*/
|
|
5123
|
+
filterRow?: (row: CounterStatusOverviewTableRow, normalizedQuery: string) => boolean;
|
|
5124
|
+
/** Extra root styles — merges last. */
|
|
5125
|
+
sx?: SxProps$1<Theme$1>;
|
|
5126
|
+
/** Per-area style overrides — see `CounterStatusOverviewCustomization`. */
|
|
5127
|
+
customization?: CounterStatusOverviewCustomization;
|
|
5128
|
+
}
|
|
5129
|
+
|
|
5130
|
+
/**
|
|
5131
|
+
* **CounterStatusOverview** — the combined "Counter Status Overview" widget: a title row with a
|
|
5132
|
+
* search bar and a card-view/list-view toggle, showing either **CounterStatusOverviewCards** (side
|
|
5133
|
+
* by side) or **CounterStatusOverviewTable** underneath depending on the selected view. The search
|
|
5134
|
+
* query filters whichever view is active (against title/camera id/counter number).
|
|
5135
|
+
*
|
|
5136
|
+
* `view`/`onViewChange` and `searchValue`/`onSearchChange` each follow the standard
|
|
5137
|
+
* controlled/uncontrolled pair — omit the controlled prop to let the component manage its own
|
|
5138
|
+
* state (seeded from `defaultView`/`defaultSearchValue`).
|
|
5139
|
+
*/
|
|
5140
|
+
declare function CounterStatusOverview({ title, searchPlaceholder, searchValue, defaultSearchValue, onSearchChange, view, defaultView, onViewChange, cards, table, filterCard, filterRow, sx, customization, }: CounterStatusOverviewProps): React$1.ReactElement;
|
|
5141
|
+
|
|
4257
5142
|
type FalconThemeMode = 'light' | 'dark';
|
|
4258
5143
|
type FalconThemeDirection = 'ltr' | 'rtl';
|
|
4259
5144
|
interface FalconThemeSettings {
|
|
@@ -4274,4 +5159,4 @@ interface FalconThemeProviderProps {
|
|
|
4274
5159
|
|
|
4275
5160
|
declare const FalconThemeProvider: ({ children, mode: modeProp, settings, }: FalconThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
4276
5161
|
|
|
4277
|
-
export { AddCommentInput, type AddCommentInputProps, AdvancedFiltersDialog, type AdvancedFiltersDialogProps, type AuditRunItemV2, 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, DEFAULT_STORE_PERFORMANCE_BY_ASSIST_INFO_POPOVER, FalconAuditTimeline, type FalconAuditTimelineProps, FalconAuditTimelineV2, type FalconAuditTimelineV2Props, 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, FalconSelectReportDate, type FalconSelectReportDateProps, 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$1 as 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, STACKED_COMPARISON_DEFAULT_COMPARISON_COLOR, STACKED_COMPARISON_DEFAULT_FRAME_BORDER, STACKED_COMPARISON_DEFAULT_LEGEND_COMPARISON_COLOR, STACKED_COMPARISON_DEFAULT_LEGEND_STACK_COLOR, STACKED_COMPARISON_DEFAULT_STACK_COLORS, STORE_PERFORMANCE_DEFAULT_BUCKETS, STORE_PERFORMANCE_DEFAULT_DATA, StackedComparisonBarChart, type StackedComparisonBarChartCustomization, StackedComparisonBarChartCustomizationProvider, type StackedComparisonBarChartProps, type StackedComparisonBarChartRow, StackedComparisonBarChartTooltip, type StackedComparisonBarChartTooltipProps, type StackedComparisonBarChartTooltipRenderContext, type StackedComparisonBarChartTooltipTheme, type StackedComparisonBucket, type StackedComparisonChartMargin, StorePerformanceByAssist, type StorePerformanceByAssistBucket, type StorePerformanceByAssistCustomization, type StorePerformanceByAssistProps, type StorePerformanceByAssistRow, 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$1 as mergeCss, mergeRechartsTooltipStyles, mergeSx$1 as mergeSx, metricForNode, parseMinutes, parseZoneKpiStripFromRaw, peakBillingHoursDefaultTabs, peakBillingHoursMockSeriesByTabId, peakBillingHoursVisitsMock, preprocessData, skipSingleBranchLevels, mergeCss as stackedComparisonMergeCss, mergeSx as stackedComparisonMergeSx, toRechartsTreemapData, useBillingCounterAnalyticsCustomization, usePeakBillingHoursCustomization, useQueueTimeBreakdownCustomization, useStackedComparisonBarChartCustomization };
|
|
5162
|
+
export { AddCommentInput, type AddCommentInputProps, AdvancedFiltersDialog, type AdvancedFiltersDialogProps, type AuditRunItemV2, 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, CounterStatusOverview, CounterStatusOverviewCards, type CounterStatusOverviewCardsCustomization, type CounterStatusOverviewCardsProps, type CounterStatusOverviewCardsStat, type CounterStatusOverviewCardsVariant, type CounterStatusOverviewCustomization, type CounterStatusOverviewProps, CounterStatusOverviewTable, type CounterStatusOverviewTableColumnWidths, type CounterStatusOverviewTableCustomization, type CounterStatusOverviewTableDetailStatusVariant, type CounterStatusOverviewTableProps, type CounterStatusOverviewTableQueuePill, type CounterStatusOverviewTableQueuePillVariant, type CounterStatusOverviewTableRow, type CounterStatusOverviewTableRowDetails, type CounterStatusOverviewTableRowVariant, type CounterStatusOverviewViewMode, 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, DEFAULT_STORE_PERFORMANCE_BY_ASSIST_INFO_POPOVER, FalconAuditTimeline, type FalconAuditTimelineProps, FalconAuditTimelineV2, type FalconAuditTimelineV2Props, 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, FalconSelectReportDate, type FalconSelectReportDateProps, FalconSingleSwitch, type FalconSingleSwitchProps, FalconStatBanner, FalconStatBannerGroup, type FalconStatBannerGroupProps, type FalconStatBannerProps, type FalconStatBannerTrend, 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$1 as MonthData, OverallFootfallPasserbyTrends, type OverallFootfallPasserbyTrendsBanner, type OverallFootfallPasserbyTrendsBottomLegendItem, type ChartCardMaxWidth as OverallFootfallPasserbyTrendsCardMaxWidth, type OverallFootfallPasserbyTrendsCustomization, type OverallFootfallPasserbyTrendsGridSize, type OverallFootfallPasserbyTrendsProps, 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, STACKED_COMPARISON_DEFAULT_COMPARISON_COLOR, STACKED_COMPARISON_DEFAULT_FRAME_BORDER, STACKED_COMPARISON_DEFAULT_LEGEND_COMPARISON_COLOR, STACKED_COMPARISON_DEFAULT_LEGEND_STACK_COLOR, STACKED_COMPARISON_DEFAULT_STACK_COLORS, STORE_PERFORMANCE_DEFAULT_BUCKETS, STORE_PERFORMANCE_DEFAULT_DATA, StackedComparisonBarChart, type StackedComparisonBarChartCustomization, StackedComparisonBarChartCustomizationProvider, type StackedComparisonBarChartProps, type StackedComparisonBarChartRow, StackedComparisonBarChartTooltip, type StackedComparisonBarChartTooltipProps, type StackedComparisonBarChartTooltipRenderContext, type StackedComparisonBarChartTooltipTheme, type StackedComparisonBucket, type StackedComparisonChartMargin, StorePerformanceByAssist, type StorePerformanceByAssistBucket, type StorePerformanceByAssistCustomization, type StorePerformanceByAssistProps, type StorePerformanceByAssistRow, 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$1 as mergeCss, mergeRechartsTooltipStyles, mergeSx$1 as mergeSx, metricForNode, parseMinutes, parseZoneKpiStripFromRaw, peakBillingHoursDefaultTabs, peakBillingHoursMockSeriesByTabId, peakBillingHoursVisitsMock, preprocessData, skipSingleBranchLevels, mergeCss as stackedComparisonMergeCss, mergeSx as stackedComparisonMergeSx, toRechartsTreemapData, useBillingCounterAnalyticsCustomization, usePeakBillingHoursCustomization, useQueueTimeBreakdownCustomization, useStackedComparisonBarChartCustomization };
|