@optifye/dashboard-core 6.4.2 → 6.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +294 -0
- package/dist/index.d.mts +242 -77
- package/dist/index.d.ts +242 -77
- package/dist/index.js +1806 -665
- package/dist/index.mjs +1796 -669
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1126,15 +1126,18 @@ interface SKUListProps {
|
|
|
1126
1126
|
}
|
|
1127
1127
|
|
|
1128
1128
|
/**
|
|
1129
|
-
* S3 Clips
|
|
1130
|
-
*
|
|
1131
|
-
*
|
|
1132
|
-
*
|
|
1129
|
+
* S3 Clips Service - Secure Version
|
|
1130
|
+
* Uses API routes instead of direct S3 access
|
|
1131
|
+
*
|
|
1132
|
+
* This is a drop-in replacement for s3-clips.ts that uses
|
|
1133
|
+
* the secure API client instead of AWS SDK.
|
|
1134
|
+
*
|
|
1135
|
+
* To use this:
|
|
1136
|
+
* 1. Replace imports of './s3-clips' with './s3-clips-secure'
|
|
1137
|
+
* 2. Remove AWS credentials from environment variables
|
|
1138
|
+
* 3. Ensure API routes are deployed
|
|
1133
1139
|
*/
|
|
1134
1140
|
|
|
1135
|
-
/**
|
|
1136
|
-
* Video Index Entry for efficient navigation
|
|
1137
|
-
*/
|
|
1138
1141
|
interface VideoIndexEntry {
|
|
1139
1142
|
uri: string;
|
|
1140
1143
|
category: string;
|
|
@@ -1144,9 +1147,6 @@ interface VideoIndexEntry {
|
|
|
1144
1147
|
date: string;
|
|
1145
1148
|
shiftId: string;
|
|
1146
1149
|
}
|
|
1147
|
-
/**
|
|
1148
|
-
* Video Index structure for storing all video paths
|
|
1149
|
-
*/
|
|
1150
1150
|
interface VideoIndex {
|
|
1151
1151
|
byCategory: Map<string, VideoIndexEntry[]>;
|
|
1152
1152
|
allVideos: VideoIndexEntry[];
|
|
@@ -1157,129 +1157,83 @@ interface VideoIndex {
|
|
|
1157
1157
|
lastUpdated: Date;
|
|
1158
1158
|
_debugId?: string;
|
|
1159
1159
|
}
|
|
1160
|
-
/**
|
|
1161
|
-
* Result type that includes both clip counts and video index
|
|
1162
|
-
*/
|
|
1163
1160
|
interface ClipCountsWithIndex {
|
|
1164
1161
|
counts: Record<string, number>;
|
|
1165
1162
|
videoIndex: VideoIndex;
|
|
1166
1163
|
}
|
|
1167
1164
|
/**
|
|
1168
|
-
* S3 Clips Service
|
|
1165
|
+
* S3 Clips Service - Secure Implementation
|
|
1166
|
+
* All S3 operations go through secure API routes
|
|
1169
1167
|
*/
|
|
1170
1168
|
declare class S3ClipsService {
|
|
1171
|
-
private
|
|
1169
|
+
private apiClient;
|
|
1172
1170
|
private config;
|
|
1173
1171
|
private readonly defaultLimitPerCategory;
|
|
1174
1172
|
private readonly maxLimitPerCategory;
|
|
1175
1173
|
private readonly concurrencyLimit;
|
|
1176
1174
|
private readonly maxInitialFetch;
|
|
1177
|
-
private readonly requestCache;
|
|
1178
1175
|
private isIndexBuilding;
|
|
1179
1176
|
private isPrefetching;
|
|
1180
1177
|
private currentMetadataFetches;
|
|
1181
1178
|
private readonly MAX_CONCURRENT_METADATA;
|
|
1182
1179
|
constructor(config: DashboardConfig);
|
|
1183
1180
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
*/
|
|
1186
|
-
private validateAndSanitizeRegion;
|
|
1187
|
-
/**
|
|
1188
|
-
* Lists S3 clips for a workspace, date, and shift with request deduplication
|
|
1181
|
+
* Lists S3 clips using API
|
|
1189
1182
|
*/
|
|
1190
1183
|
listS3Clips(params: S3ListObjectsParams): Promise<string[]>;
|
|
1191
1184
|
/**
|
|
1192
|
-
*
|
|
1193
|
-
*/
|
|
1194
|
-
private executeListS3Clips;
|
|
1195
|
-
/**
|
|
1196
|
-
* Fetches and extracts cycle time from metadata.json with deduplication
|
|
1185
|
+
* Get metadata cycle time
|
|
1197
1186
|
*/
|
|
1198
1187
|
getMetadataCycleTime(playlistUri: string): Promise<number | null>;
|
|
1199
1188
|
/**
|
|
1200
|
-
*
|
|
1201
|
-
*/
|
|
1202
|
-
private executeGetMetadataCycleTime;
|
|
1203
|
-
/**
|
|
1204
|
-
* Control prefetch mode to prevent metadata fetching during background operations
|
|
1189
|
+
* Control prefetch mode
|
|
1205
1190
|
*/
|
|
1206
1191
|
setPrefetchMode(enabled: boolean): void;
|
|
1207
1192
|
/**
|
|
1208
|
-
*
|
|
1193
|
+
* Get full metadata
|
|
1209
1194
|
*/
|
|
1210
1195
|
getFullMetadata(playlistUri: string): Promise<VideoMetadata | null>;
|
|
1211
1196
|
/**
|
|
1212
|
-
*
|
|
1213
|
-
|
|
1214
|
-
private executeGetFullMetadata;
|
|
1215
|
-
/**
|
|
1216
|
-
* Converts S3 URI to CloudFront URL
|
|
1197
|
+
* Convert S3 URI to CloudFront URL
|
|
1198
|
+
* URLs from API are already signed
|
|
1217
1199
|
*/
|
|
1218
1200
|
s3UriToCloudfront(s3Uri: string): string;
|
|
1219
1201
|
/**
|
|
1220
|
-
*
|
|
1202
|
+
* Get SOP categories for workspace
|
|
1221
1203
|
*/
|
|
1222
1204
|
private getSOPCategories;
|
|
1223
1205
|
/**
|
|
1224
|
-
*
|
|
1225
|
-
* Each video is in its own folder, so counting folders = counting clips
|
|
1226
|
-
* Index building is deprecated for cost efficiency - use pagination instead
|
|
1206
|
+
* Get clip counts
|
|
1227
1207
|
*/
|
|
1228
1208
|
getClipCounts(workspaceId: string, date: string, shiftId: string | number): Promise<Record<string, number>>;
|
|
1229
1209
|
getClipCounts(workspaceId: string, date: string, shiftId: string | number, buildIndex: true): Promise<ClipCountsWithIndex>;
|
|
1230
1210
|
/**
|
|
1231
|
-
*
|
|
1232
|
-
*/
|
|
1233
|
-
private executeGetClipCounts;
|
|
1234
|
-
/**
|
|
1235
|
-
* Get clip counts with cache-first strategy for performance optimization
|
|
1236
|
-
* This method checks cache first and only builds index if not building from cache
|
|
1211
|
+
* Get clip counts with cache-first strategy
|
|
1237
1212
|
*/
|
|
1238
1213
|
getClipCountsCacheFirst(workspaceId: string, date: string, shiftId: string | number): Promise<Record<string, number>>;
|
|
1239
1214
|
getClipCountsCacheFirst(workspaceId: string, date: string, shiftId: string | number, buildIndex: true): Promise<ClipCountsWithIndex>;
|
|
1240
1215
|
/**
|
|
1241
|
-
* Get first clip for
|
|
1216
|
+
* Get first clip for category
|
|
1242
1217
|
*/
|
|
1243
1218
|
getFirstClipForCategory(workspaceId: string, date: string, shiftId: string | number, category: string): Promise<BottleneckVideoData | null>;
|
|
1244
1219
|
/**
|
|
1245
|
-
*
|
|
1246
|
-
*/
|
|
1247
|
-
private executeGetFirstClipForCategory;
|
|
1248
|
-
/**
|
|
1249
|
-
* Get a specific video from the pre-built video index - O(1) lookup performance
|
|
1220
|
+
* Get video from index (for compatibility)
|
|
1250
1221
|
*/
|
|
1251
1222
|
getVideoFromIndex(videoIndex: VideoIndex, category: string, index: number, includeCycleTime?: boolean, includeMetadata?: boolean): Promise<BottleneckVideoData | null>;
|
|
1252
1223
|
/**
|
|
1253
|
-
* Get
|
|
1254
|
-
* @deprecated Use getVideoFromIndex with a pre-built VideoIndex for better performance
|
|
1224
|
+
* Get clip by index
|
|
1255
1225
|
*/
|
|
1256
1226
|
getClipByIndex(workspaceId: string, date: string, shiftId: string | number, category: string, index: number, includeCycleTime?: boolean, includeMetadata?: boolean): Promise<BottleneckVideoData | null>;
|
|
1257
1227
|
/**
|
|
1258
|
-
*
|
|
1259
|
-
*/
|
|
1260
|
-
private executeGetClipByIndex;
|
|
1261
|
-
/**
|
|
1262
|
-
* Get one sample video from each category for preloading
|
|
1263
|
-
*/
|
|
1264
|
-
private getSampleVideos;
|
|
1265
|
-
/**
|
|
1266
|
-
* Processes a single video completely
|
|
1228
|
+
* Process full video (for compatibility)
|
|
1267
1229
|
*/
|
|
1268
1230
|
processFullVideo(uri: string, index: number, workspaceId: string, date: string, shiftId: string | number, includeCycleTime: boolean, includeMetadata?: boolean): Promise<BottleneckVideoData | null>;
|
|
1269
1231
|
/**
|
|
1270
|
-
*
|
|
1232
|
+
* Fetch clips (main method for compatibility)
|
|
1271
1233
|
*/
|
|
1272
1234
|
fetchClips(params: S3ClipsAPIParams): Promise<BottleneckVideoData[] | VideoSummary>;
|
|
1273
1235
|
/**
|
|
1274
|
-
* Get
|
|
1275
|
-
* This method replaces the need for full video indexing
|
|
1276
|
-
* @param workspaceId - Workspace ID
|
|
1277
|
-
* @param date - Date in YYYY-MM-DD format
|
|
1278
|
-
* @param shiftId - Shift ID (0 for day, 1 for night)
|
|
1279
|
-
* @param category - Category to fetch videos from
|
|
1280
|
-
* @param pageSize - Number of videos to fetch per page (default 5)
|
|
1281
|
-
* @param startAfter - Optional key to start after for pagination
|
|
1282
|
-
* @returns Page of videos with continuation token
|
|
1236
|
+
* Get videos page using pagination API
|
|
1283
1237
|
*/
|
|
1284
1238
|
getVideosPage(workspaceId: string, date: string, shiftId: string | number, category: string, pageSize?: number, startAfter?: string): Promise<{
|
|
1285
1239
|
videos: BottleneckVideoData[];
|
|
@@ -1287,11 +1241,15 @@ declare class S3ClipsService {
|
|
|
1287
1241
|
hasMore: boolean;
|
|
1288
1242
|
}>;
|
|
1289
1243
|
/**
|
|
1290
|
-
*
|
|
1244
|
+
* Create empty video index for compatibility
|
|
1245
|
+
*/
|
|
1246
|
+
private createEmptyVideoIndex;
|
|
1247
|
+
/**
|
|
1248
|
+
* Cleanup
|
|
1291
1249
|
*/
|
|
1292
1250
|
dispose(): void;
|
|
1293
1251
|
/**
|
|
1294
|
-
* Get
|
|
1252
|
+
* Get statistics
|
|
1295
1253
|
*/
|
|
1296
1254
|
getStats(): {
|
|
1297
1255
|
requestCache: {
|
|
@@ -1647,6 +1605,79 @@ interface IPrefetchManager {
|
|
|
1647
1605
|
destroy(): void;
|
|
1648
1606
|
}
|
|
1649
1607
|
|
|
1608
|
+
interface WorkspaceHealth {
|
|
1609
|
+
id: string;
|
|
1610
|
+
workspace_id: string;
|
|
1611
|
+
line_id: string;
|
|
1612
|
+
company_id: string;
|
|
1613
|
+
last_heartbeat: string;
|
|
1614
|
+
is_healthy: boolean;
|
|
1615
|
+
consecutive_misses?: number;
|
|
1616
|
+
instance_memory?: any;
|
|
1617
|
+
instance_info?: any;
|
|
1618
|
+
workspace_display_name?: string;
|
|
1619
|
+
line_name?: string;
|
|
1620
|
+
company_name?: string;
|
|
1621
|
+
created_at?: string;
|
|
1622
|
+
updated_at?: string;
|
|
1623
|
+
}
|
|
1624
|
+
interface WorkspaceHealthInfo {
|
|
1625
|
+
workspace_id: string;
|
|
1626
|
+
line_id: string;
|
|
1627
|
+
company_id: string;
|
|
1628
|
+
workspace_display_name?: string;
|
|
1629
|
+
line_name?: string;
|
|
1630
|
+
company_name?: string;
|
|
1631
|
+
}
|
|
1632
|
+
interface HealthAlertConfig {
|
|
1633
|
+
id: string;
|
|
1634
|
+
line_id: string;
|
|
1635
|
+
alert_type: string;
|
|
1636
|
+
threshold_minutes: number;
|
|
1637
|
+
enabled: boolean;
|
|
1638
|
+
created_at?: string;
|
|
1639
|
+
updated_at?: string;
|
|
1640
|
+
}
|
|
1641
|
+
interface HealthAlertHistory {
|
|
1642
|
+
id: string;
|
|
1643
|
+
workspace_id: string;
|
|
1644
|
+
line_id: string;
|
|
1645
|
+
company_id: string;
|
|
1646
|
+
alert_type: string;
|
|
1647
|
+
alert_time: string;
|
|
1648
|
+
resolved_time?: string;
|
|
1649
|
+
details?: any;
|
|
1650
|
+
created_at?: string;
|
|
1651
|
+
}
|
|
1652
|
+
type HealthStatus = 'healthy' | 'unhealthy' | 'warning' | 'unknown';
|
|
1653
|
+
interface HealthSummary {
|
|
1654
|
+
totalWorkspaces: number;
|
|
1655
|
+
healthyWorkspaces: number;
|
|
1656
|
+
unhealthyWorkspaces: number;
|
|
1657
|
+
warningWorkspaces: number;
|
|
1658
|
+
uptimePercentage: number;
|
|
1659
|
+
lastUpdated: string;
|
|
1660
|
+
}
|
|
1661
|
+
interface WorkspaceHealthWithStatus extends WorkspaceHealth {
|
|
1662
|
+
status: HealthStatus;
|
|
1663
|
+
timeSinceLastUpdate: string;
|
|
1664
|
+
isStale: boolean;
|
|
1665
|
+
}
|
|
1666
|
+
interface HealthFilterOptions {
|
|
1667
|
+
lineId?: string;
|
|
1668
|
+
companyId?: string;
|
|
1669
|
+
status?: HealthStatus;
|
|
1670
|
+
searchTerm?: string;
|
|
1671
|
+
sortBy?: 'name' | 'status' | 'lastUpdate';
|
|
1672
|
+
sortOrder?: 'asc' | 'desc';
|
|
1673
|
+
}
|
|
1674
|
+
interface HealthMetrics {
|
|
1675
|
+
avgResponseTime?: number;
|
|
1676
|
+
totalDowntime?: number;
|
|
1677
|
+
incidentCount?: number;
|
|
1678
|
+
mttr?: number;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1650
1681
|
interface DashboardProviderProps {
|
|
1651
1682
|
config: Partial<DashboardConfig>;
|
|
1652
1683
|
children: React$1.ReactNode;
|
|
@@ -3204,6 +3235,31 @@ declare function useWorkspaceNavigation(): {
|
|
|
3204
3235
|
}) => WorkspaceNavigationParams;
|
|
3205
3236
|
};
|
|
3206
3237
|
|
|
3238
|
+
interface UseWorkspaceHealthOptions extends HealthFilterOptions {
|
|
3239
|
+
enableRealtime?: boolean;
|
|
3240
|
+
refreshInterval?: number;
|
|
3241
|
+
}
|
|
3242
|
+
interface UseWorkspaceHealthReturn {
|
|
3243
|
+
workspaces: WorkspaceHealthWithStatus[];
|
|
3244
|
+
summary: HealthSummary | null;
|
|
3245
|
+
loading: boolean;
|
|
3246
|
+
error: Error | null;
|
|
3247
|
+
refetch: () => Promise<void>;
|
|
3248
|
+
}
|
|
3249
|
+
declare function useWorkspaceHealth(options?: UseWorkspaceHealthOptions): UseWorkspaceHealthReturn;
|
|
3250
|
+
interface UseWorkspaceHealthByIdOptions {
|
|
3251
|
+
enableRealtime?: boolean;
|
|
3252
|
+
refreshInterval?: number;
|
|
3253
|
+
}
|
|
3254
|
+
interface UseWorkspaceHealthByIdReturn {
|
|
3255
|
+
workspace: WorkspaceHealthWithStatus | null;
|
|
3256
|
+
metrics: HealthMetrics | null;
|
|
3257
|
+
loading: boolean;
|
|
3258
|
+
error: Error | null;
|
|
3259
|
+
refetch: () => Promise<void>;
|
|
3260
|
+
}
|
|
3261
|
+
declare function useWorkspaceHealthById(workspaceId: string, options?: UseWorkspaceHealthByIdOptions): UseWorkspaceHealthByIdReturn;
|
|
3262
|
+
|
|
3207
3263
|
/**
|
|
3208
3264
|
* @typedef {object} DateTimeConfigShape
|
|
3209
3265
|
* @description Shape of the dateTimeConfig object expected from useDateTimeConfig.
|
|
@@ -3335,6 +3391,13 @@ declare const workspaceService: {
|
|
|
3335
3391
|
* Clears the workspace display names cache
|
|
3336
3392
|
*/
|
|
3337
3393
|
clearWorkspaceDisplayNamesCache(): void;
|
|
3394
|
+
/**
|
|
3395
|
+
* Updates the display name for a workspace
|
|
3396
|
+
* @param workspaceId - The workspace UUID
|
|
3397
|
+
* @param displayName - The new display name
|
|
3398
|
+
* @returns Promise<void>
|
|
3399
|
+
*/
|
|
3400
|
+
updateWorkspaceDisplayName(workspaceId: string, displayName: string): Promise<void>;
|
|
3338
3401
|
updateWorkspaceAction(updates: WorkspaceActionUpdate[]): Promise<void>;
|
|
3339
3402
|
updateActionThresholds(thresholds: ActionThreshold[]): Promise<void>;
|
|
3340
3403
|
getActionThresholds(lineId: string, date: string, shiftId?: number): Promise<ActionThreshold[]>;
|
|
@@ -3343,6 +3406,27 @@ declare const workspaceService: {
|
|
|
3343
3406
|
updateShiftConfigurations(shiftConfig: ShiftConfiguration): Promise<void>;
|
|
3344
3407
|
};
|
|
3345
3408
|
|
|
3409
|
+
declare class WorkspaceHealthService {
|
|
3410
|
+
private static instance;
|
|
3411
|
+
private cache;
|
|
3412
|
+
private cacheExpiryMs;
|
|
3413
|
+
static getInstance(): WorkspaceHealthService;
|
|
3414
|
+
private getFromCache;
|
|
3415
|
+
private setCache;
|
|
3416
|
+
getWorkspaceHealthStatus(options?: HealthFilterOptions): Promise<WorkspaceHealthWithStatus[]>;
|
|
3417
|
+
getWorkspaceHealthById(workspaceId: string): Promise<WorkspaceHealthWithStatus | null>;
|
|
3418
|
+
getHealthSummary(lineId?: string, companyId?: string): Promise<HealthSummary>;
|
|
3419
|
+
getHealthMetrics(workspaceId: string, startDate?: string, endDate?: string): Promise<HealthMetrics>;
|
|
3420
|
+
private processHealthStatus;
|
|
3421
|
+
private getStatusPriority;
|
|
3422
|
+
subscribeToHealthUpdates(callback: (data: WorkspaceHealth) => void, filters?: {
|
|
3423
|
+
lineId?: string;
|
|
3424
|
+
companyId?: string;
|
|
3425
|
+
}): () => void;
|
|
3426
|
+
clearCache(): void;
|
|
3427
|
+
}
|
|
3428
|
+
declare const workspaceHealthService: WorkspaceHealthService;
|
|
3429
|
+
|
|
3346
3430
|
declare const skuService: {
|
|
3347
3431
|
/**
|
|
3348
3432
|
* Fetch all active SKUs for a company
|
|
@@ -4415,6 +4499,25 @@ interface TicketHistoryProps {
|
|
|
4415
4499
|
}
|
|
4416
4500
|
declare const TicketHistory: React__default.FC<TicketHistoryProps>;
|
|
4417
4501
|
|
|
4502
|
+
interface HealthStatusIndicatorProps {
|
|
4503
|
+
status: HealthStatus;
|
|
4504
|
+
lastUpdated?: string;
|
|
4505
|
+
showLabel?: boolean;
|
|
4506
|
+
showTime?: boolean;
|
|
4507
|
+
size?: 'sm' | 'md' | 'lg';
|
|
4508
|
+
className?: string;
|
|
4509
|
+
inline?: boolean;
|
|
4510
|
+
pulse?: boolean;
|
|
4511
|
+
}
|
|
4512
|
+
declare const HealthStatusIndicator: React__default.FC<HealthStatusIndicatorProps>;
|
|
4513
|
+
interface DetailedHealthStatusProps extends HealthStatusIndicatorProps {
|
|
4514
|
+
workspaceName?: string;
|
|
4515
|
+
lineName?: string;
|
|
4516
|
+
consecutiveMisses?: number;
|
|
4517
|
+
showDetails?: boolean;
|
|
4518
|
+
}
|
|
4519
|
+
declare const DetailedHealthStatus: React__default.FC<DetailedHealthStatusProps>;
|
|
4520
|
+
|
|
4418
4521
|
interface LinePdfExportButtonProps {
|
|
4419
4522
|
/** The DOM element or a selector string for the element to capture. */
|
|
4420
4523
|
targetElement: HTMLElement | string;
|
|
@@ -4675,6 +4778,8 @@ interface WorkspaceCardProps {
|
|
|
4675
4778
|
};
|
|
4676
4779
|
operators?: Pick<OperatorInfo, 'id' | 'name' | 'photo_url'>[];
|
|
4677
4780
|
status?: 'bottleneck' | 'lowEfficiency' | 'inactive' | 'normal';
|
|
4781
|
+
healthStatus?: HealthStatus;
|
|
4782
|
+
healthLastUpdated?: string;
|
|
4678
4783
|
onCardClick?: (workspaceId: string) => void;
|
|
4679
4784
|
headerActions?: React__default.ReactNode;
|
|
4680
4785
|
footerContent?: React__default.ReactNode;
|
|
@@ -5062,6 +5167,29 @@ interface KPISectionProps {
|
|
|
5062
5167
|
*/
|
|
5063
5168
|
declare const KPISection: React__default.FC<KPISectionProps>;
|
|
5064
5169
|
|
|
5170
|
+
interface WorkspaceHealthCardProps {
|
|
5171
|
+
workspace: WorkspaceHealthWithStatus;
|
|
5172
|
+
onClick?: (workspace: WorkspaceHealthWithStatus) => void;
|
|
5173
|
+
showDetails?: boolean;
|
|
5174
|
+
className?: string;
|
|
5175
|
+
}
|
|
5176
|
+
declare const WorkspaceHealthCard: React__default.FC<WorkspaceHealthCardProps>;
|
|
5177
|
+
interface CompactWorkspaceHealthCardProps {
|
|
5178
|
+
workspace: WorkspaceHealthWithStatus;
|
|
5179
|
+
onClick?: (workspace: WorkspaceHealthWithStatus) => void;
|
|
5180
|
+
className?: string;
|
|
5181
|
+
}
|
|
5182
|
+
declare const CompactWorkspaceHealthCard: React__default.FC<CompactWorkspaceHealthCardProps>;
|
|
5183
|
+
|
|
5184
|
+
interface HealthStatusGridProps {
|
|
5185
|
+
workspaces: WorkspaceHealthWithStatus[];
|
|
5186
|
+
onWorkspaceClick?: (workspace: WorkspaceHealthWithStatus) => void;
|
|
5187
|
+
showFilters?: boolean;
|
|
5188
|
+
groupBy?: 'none' | 'line' | 'status';
|
|
5189
|
+
className?: string;
|
|
5190
|
+
}
|
|
5191
|
+
declare const HealthStatusGrid: React__default.FC<HealthStatusGridProps>;
|
|
5192
|
+
|
|
5065
5193
|
interface DashboardHeaderProps {
|
|
5066
5194
|
lineTitle: string;
|
|
5067
5195
|
className?: string;
|
|
@@ -5376,6 +5504,18 @@ declare const BackButton: React__default.FC<BackButtonProps>;
|
|
|
5376
5504
|
*/
|
|
5377
5505
|
declare const BackButtonMinimal: React__default.FC<BackButtonProps>;
|
|
5378
5506
|
|
|
5507
|
+
interface InlineEditableTextProps {
|
|
5508
|
+
value: string;
|
|
5509
|
+
onSave: (newValue: string) => Promise<void>;
|
|
5510
|
+
placeholder?: string;
|
|
5511
|
+
className?: string;
|
|
5512
|
+
editIconClassName?: string;
|
|
5513
|
+
inputClassName?: string;
|
|
5514
|
+
debounceDelay?: number;
|
|
5515
|
+
disabled?: boolean;
|
|
5516
|
+
}
|
|
5517
|
+
declare const InlineEditableText: React__default.FC<InlineEditableTextProps>;
|
|
5518
|
+
|
|
5379
5519
|
interface LoadingStateProps {
|
|
5380
5520
|
message?: string;
|
|
5381
5521
|
subMessage?: string;
|
|
@@ -5800,6 +5940,16 @@ declare const WrappedComponent: React__default.NamedExoticComponent<WorkspaceDet
|
|
|
5800
5940
|
|
|
5801
5941
|
declare const SKUManagementView: React__default.FC;
|
|
5802
5942
|
|
|
5943
|
+
interface WorkspaceHealthViewProps {
|
|
5944
|
+
lineId?: string;
|
|
5945
|
+
companyId?: string;
|
|
5946
|
+
onNavigate?: (url: string) => void;
|
|
5947
|
+
className?: string;
|
|
5948
|
+
}
|
|
5949
|
+
declare const _default: React__default.NamedExoticComponent<WorkspaceHealthViewProps>;
|
|
5950
|
+
|
|
5951
|
+
declare const AuthenticatedWorkspaceHealthView: React__default.FC<WorkspaceHealthViewProps>;
|
|
5952
|
+
|
|
5803
5953
|
type CoreComponents = {
|
|
5804
5954
|
Card: any;
|
|
5805
5955
|
CardHeader: any;
|
|
@@ -5993,6 +6143,21 @@ declare const streamProxyConfig: {
|
|
|
5993
6143
|
};
|
|
5994
6144
|
};
|
|
5995
6145
|
|
|
6146
|
+
/**
|
|
6147
|
+
* S3 URI Parser and Video Processing utilities
|
|
6148
|
+
*/
|
|
6149
|
+
|
|
6150
|
+
/**
|
|
6151
|
+
* Parses S3 URI to extract video information
|
|
6152
|
+
* @param s3Uri - The S3 URI to parse
|
|
6153
|
+
* @param sopCategories - Optional SOP categories configuration for mapping
|
|
6154
|
+
*/
|
|
6155
|
+
declare function parseS3Uri(s3Uri: string, sopCategories?: SOPCategory[]): Omit<BottleneckVideoData, 'id' | 'src' | 'cycle_time_seconds'> | null;
|
|
6156
|
+
/**
|
|
6157
|
+
* Shuffles an array using Fisher-Yates algorithm
|
|
6158
|
+
*/
|
|
6159
|
+
declare function shuffleArray<T>(array: T[]): T[];
|
|
6160
|
+
|
|
5996
6161
|
interface ThreadSidebarProps {
|
|
5997
6162
|
activeThreadId?: string;
|
|
5998
6163
|
onSelectThread: (threadId: string) => void;
|
|
@@ -6001,4 +6166,4 @@ interface ThreadSidebarProps {
|
|
|
6001
6166
|
}
|
|
6002
6167
|
declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
|
|
6003
6168
|
|
|
6004
|
-
export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AudioService, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedShiftsView, AuthenticatedTargetsView, BackButton, BackButtonMinimal, BarChart, type BarChartDataItem, type BarChartProps, type BarProps, BaseHistoryCalendar, type BaseHistoryCalendarProps, type BaseLineMetric, type BasePerformanceMetric, type BottleneckFilterType, type BottleneckVideo, type BottleneckVideoData, BottlenecksContent, type BottlenecksContentProps, type BreadcrumbItem, type Break, BreakNotificationPopup, type BreakNotificationPopupProps, type BreakRowProps, type CacheEntryWithPrefetch, CachePrefetchStatus, type CachePrefetchStatusCallback, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type CleanupFunction, type ClipCounts, type ClipCountsWithIndex, type ComponentOverride, CongratulationsOverlay, type CongratulationsOverlayProps, type CoreComponents, type CurrentShiftResult, CycleTimeChart, type CycleTimeChartProps, CycleTimeOverTimeChart, type CycleTimeOverTimeChartProps, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_CONFIG, DEFAULT_DATABASE_CONFIG, DEFAULT_DATE_TIME_CONFIG, DEFAULT_ENDPOINTS_CONFIG, DEFAULT_ENTITY_CONFIG, DEFAULT_SHIFT_CONFIG, DEFAULT_THEME_CONFIG, DEFAULT_VIDEO_CONFIG, DEFAULT_WORKSPACE_CONFIG, DEFAULT_WORKSPACE_POSITIONS, type DashboardConfig, DashboardHeader, type DashboardKPIs, DashboardLayout, type DashboardLayoutProps, DashboardOverridesProvider, DashboardProvider, type DashboardService, type DatabaseConfig, DateDisplay, type DateTimeConfig, DateTimeDisplay, type DateTimeDisplayProps, type DayHistoryData, type DaySummaryData, DebugAuth, DebugAuthView, EmptyStateMessage, type EmptyStateMessageProps, EncouragementOverlay, type EndpointsConfig, type EntityConfig, type ErrorCallback$1 as ErrorCallback, type ExtendedCacheMetrics, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, type FullyIndexedCallback$1 as FullyIndexedCallback, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, HamburgerButton, type HamburgerButtonProps, Header, type HeaderProps, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, type HourlyAchievement, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, type IPrefetchManager, type ISTDateProps, ISTTimer, type ISTTimerProps, KPICard, type KPICardProps, KPIDetailViewWithDisplayNames as KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, LeaderboardDetailViewWithDisplayNames as LeaderboardDetailView, type LeaderboardDetailViewProps, type LeaderboardEntry, Legend, LineChart, type LineChartDataItem, type LineChartProps, type LineDetails, type LineDisplayData, LineHistoryCalendar, type LineHistoryCalendarProps, type LineInfo, type LineMetrics, LineMonthlyHistory, type LineMonthlyHistoryProps, type LineMonthlyMetric, LineMonthlyPdfGenerator, type LineMonthlyPdfGeneratorProps, type LineNavigationParams, LinePdfExportButton, type LinePdfExportButtonProps, LinePdfGenerator, type LinePdfGeneratorProps, type LineProps, type LineShiftConfig, type LineSnapshot, type LineThreshold, LineWhatsAppShareButton, type LineWhatsAppShareProps, LiveTimer, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingState, LoadingState as LoadingStateProps, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, MainLayout, type MainLayoutProps, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, type NavItem, type NavItemTrackingEvent, type NavigationMethod, NoWorkspaceData, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, PieChart, type PieChartProps, type PoorPerformingWorkspace, PrefetchConfigurationError, PrefetchError, PrefetchEvents, type PrefetchKey, type PrefetchManagerConfig, type PrefetchManagerStats, type PrefetchOptions, type PrefetchParams$1 as PrefetchParams, type PrefetchRequest, type PrefetchResult, PrefetchStatus$1 as PrefetchStatus, type PrefetchStatusResult, type PrefetchSubscriptionCallbacks, PrefetchTimeoutError, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, type RenderReadyCallback$1 as RenderReadyCallback, type RoutePath, type S3ClipsAPIParams, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData$2 as ShiftData, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, type SimpleLine, SingleVideoStream, type SingleVideoStreamProps, Skeleton, type StatusChangeCallback$1 as StatusChangeCallback, type StreamProxyConfig, type SubscriberId, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TicketHistory, TicketHistoryService, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UsePrefetchClipCountsOptions$1 as UsePrefetchClipCountsOptions, type UsePrefetchClipCountsResult$1 as UsePrefetchClipCountsResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseTicketHistoryReturn, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoMetadata, VideoPlayer, type VideoPlayerEventData, type VideoPlayerProps, type VideoPlayerRef, VideoPreloader, type VideoSeverity, type VideoSummary, type VideoType, WORKSPACE_POSITIONS, type WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig, WrappedComponent as WorkspaceDetailView, type WorkspaceDetailedMetrics, WorkspaceDisplayNameExample, WorkspaceGrid, WorkspaceGridItem, type WorkspaceGridItemProps, WorkspaceHistoryCalendar, WorkspaceMetricCards, type WorkspaceMetricCardsProps, type WorkspaceMetrics, WorkspaceMonthlyDataFetcher, type WorkspaceMonthlyDataFetcherProps, type WorkspaceMonthlyMetric, WorkspaceMonthlyPdfGenerator, type WorkspaceMonthlyPdfGeneratorProps, type WorkspaceNavigationParams, WorkspacePdfExportButton, type WorkspacePdfExportButtonProps, WorkspacePdfGenerator, type WorkspacePdfGeneratorProps, type WorkspacePosition, type WorkspaceQualityData, type WorkspaceUrlMapping, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, apiUtils, authCoreService, authOTPService, authRateLimitService, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, cn, createStreamProxyHandler, createSupabaseClient, createThrottledReload, dashboardService, deleteThread, forceRefreshWorkspaceDisplayNames, formatDateInZone, formatDateTimeInZone, formatISTDate, formatIdleTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isLegacyConfiguration, isPrefetchError, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidPrefetchParams, isValidPrefetchStatus, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, migrateLegacyConfiguration, optifyeAgentClient, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, skuService, startCoreSessionRecording, stopCoreSessionRecording, storeWorkspaceMapping, streamProxyConfig, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, updateThreadTitle, useActiveBreaks, useAllWorkspaceMetrics, useAnalyticsConfig, useAudioService, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useHourEndTimer, useHourlyTargetAchievements, useHourlyTargetMisses, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, usePrefetchClipCounts, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useTicketHistory, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPrefetchManager, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };
|
|
6169
|
+
export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AudioService, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedShiftsView, AuthenticatedTargetsView, AuthenticatedWorkspaceHealthView, BackButton, BackButtonMinimal, BarChart, type BarChartDataItem, type BarChartProps, type BarProps, BaseHistoryCalendar, type BaseHistoryCalendarProps, type BaseLineMetric, type BasePerformanceMetric, type BottleneckFilterType, type BottleneckVideo, type BottleneckVideoData, BottlenecksContent, type BottlenecksContentProps, type BreadcrumbItem, type Break, BreakNotificationPopup, type BreakNotificationPopupProps, type BreakRowProps, type CacheEntryWithPrefetch, CachePrefetchStatus, type CachePrefetchStatusCallback, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type CleanupFunction, type ClipCounts, type ClipCountsWithIndex, CompactWorkspaceHealthCard, type ComponentOverride, CongratulationsOverlay, type CongratulationsOverlayProps, type CoreComponents, type CurrentShiftResult, CycleTimeChart, type CycleTimeChartProps, CycleTimeOverTimeChart, type CycleTimeOverTimeChartProps, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_CONFIG, DEFAULT_DATABASE_CONFIG, DEFAULT_DATE_TIME_CONFIG, DEFAULT_ENDPOINTS_CONFIG, DEFAULT_ENTITY_CONFIG, DEFAULT_SHIFT_CONFIG, DEFAULT_THEME_CONFIG, DEFAULT_VIDEO_CONFIG, DEFAULT_WORKSPACE_CONFIG, DEFAULT_WORKSPACE_POSITIONS, type DashboardConfig, DashboardHeader, type DashboardKPIs, DashboardLayout, type DashboardLayoutProps, DashboardOverridesProvider, DashboardProvider, type DashboardService, type DatabaseConfig, DateDisplay, type DateTimeConfig, DateTimeDisplay, type DateTimeDisplayProps, type DayHistoryData, type DaySummaryData, DebugAuth, DebugAuthView, DetailedHealthStatus, EmptyStateMessage, type EmptyStateMessageProps, EncouragementOverlay, type EndpointsConfig, type EntityConfig, type ErrorCallback$1 as ErrorCallback, type ExtendedCacheMetrics, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, type FullyIndexedCallback$1 as FullyIndexedCallback, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, HamburgerButton, type HamburgerButtonProps, Header, type HeaderProps, type HealthAlertConfig, type HealthAlertHistory, type HealthFilterOptions, type HealthMetrics, type HealthStatus, HealthStatusGrid, HealthStatusIndicator, type HealthSummary, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, type HourlyAchievement, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, type IPrefetchManager, type ISTDateProps, ISTTimer, type ISTTimerProps, InlineEditableText, KPICard, type KPICardProps, KPIDetailViewWithDisplayNames as KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, LeaderboardDetailViewWithDisplayNames as LeaderboardDetailView, type LeaderboardDetailViewProps, type LeaderboardEntry, Legend, LineChart, type LineChartDataItem, type LineChartProps, type LineDetails, type LineDisplayData, LineHistoryCalendar, type LineHistoryCalendarProps, type LineInfo, type LineMetrics, LineMonthlyHistory, type LineMonthlyHistoryProps, type LineMonthlyMetric, LineMonthlyPdfGenerator, type LineMonthlyPdfGeneratorProps, type LineNavigationParams, LinePdfExportButton, type LinePdfExportButtonProps, LinePdfGenerator, type LinePdfGeneratorProps, type LineProps, type LineShiftConfig, type LineSnapshot, type LineThreshold, LineWhatsAppShareButton, type LineWhatsAppShareProps, LiveTimer, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingState, LoadingState as LoadingStateProps, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, MainLayout, type MainLayoutProps, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, type NavItem, type NavItemTrackingEvent, type NavigationMethod, NoWorkspaceData, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, PieChart, type PieChartProps, type PoorPerformingWorkspace, PrefetchConfigurationError, PrefetchError, PrefetchEvents, type PrefetchKey, type PrefetchManagerConfig, type PrefetchManagerStats, type PrefetchOptions, type PrefetchParams$1 as PrefetchParams, type PrefetchRequest, type PrefetchResult, PrefetchStatus$1 as PrefetchStatus, type PrefetchStatusResult, type PrefetchSubscriptionCallbacks, PrefetchTimeoutError, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, type RenderReadyCallback$1 as RenderReadyCallback, type RoutePath, type S3ClipsAPIParams, S3ClipsService, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData$2 as ShiftData, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, type SimpleLine, SingleVideoStream, type SingleVideoStreamProps, Skeleton, type StatusChangeCallback$1 as StatusChangeCallback, type StreamProxyConfig, type SubscriberId, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TicketHistory, TicketHistoryService, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UsePrefetchClipCountsOptions$1 as UsePrefetchClipCountsOptions, type UsePrefetchClipCountsResult$1 as UsePrefetchClipCountsResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseTicketHistoryReturn, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoIndex, type VideoIndexEntry, type VideoMetadata, VideoPlayer, type VideoPlayerEventData, type VideoPlayerProps, type VideoPlayerRef, VideoPreloader, type VideoSeverity, type VideoSummary, type VideoType, WORKSPACE_POSITIONS, type WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig, WrappedComponent as WorkspaceDetailView, type WorkspaceDetailedMetrics, WorkspaceDisplayNameExample, WorkspaceGrid, WorkspaceGridItem, type WorkspaceGridItemProps, type WorkspaceHealth, WorkspaceHealthCard, type WorkspaceHealthInfo, _default as WorkspaceHealthView, type WorkspaceHealthWithStatus, WorkspaceHistoryCalendar, WorkspaceMetricCards, type WorkspaceMetricCardsProps, type WorkspaceMetrics, WorkspaceMonthlyDataFetcher, type WorkspaceMonthlyDataFetcherProps, type WorkspaceMonthlyMetric, WorkspaceMonthlyPdfGenerator, type WorkspaceMonthlyPdfGeneratorProps, type WorkspaceNavigationParams, WorkspacePdfExportButton, type WorkspacePdfExportButtonProps, WorkspacePdfGenerator, type WorkspacePdfGeneratorProps, type WorkspacePosition, type WorkspaceQualityData, type WorkspaceUrlMapping, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, apiUtils, authCoreService, authOTPService, authRateLimitService, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, cn, createStreamProxyHandler, createSupabaseClient, createThrottledReload, dashboardService, deleteThread, forceRefreshWorkspaceDisplayNames, formatDateInZone, formatDateTimeInZone, formatISTDate, formatIdleTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isLegacyConfiguration, isPrefetchError, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidPrefetchParams, isValidPrefetchStatus, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, migrateLegacyConfiguration, optifyeAgentClient, parseS3Uri, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, shuffleArray, skuService, startCoreSessionRecording, stopCoreSessionRecording, storeWorkspaceMapping, streamProxyConfig, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, updateThreadTitle, useActiveBreaks, useAllWorkspaceMetrics, useAnalyticsConfig, useAudioService, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useHourEndTimer, useHourlyTargetAchievements, useHourlyTargetMisses, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, usePrefetchClipCounts, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useTicketHistory, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceHealth, useWorkspaceHealthById, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPrefetchManager, videoPreloader, whatsappService, withAuth, withRegistry, workspaceHealthService, workspaceService };
|