@optifye/dashboard-core 6.1.8 → 6.1.10

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 CHANGED
@@ -743,6 +743,12 @@ body {
743
743
  .mt-8 {
744
744
  margin-top: 2rem;
745
745
  }
746
+ .line-clamp-2 {
747
+ overflow: hidden;
748
+ display: -webkit-box;
749
+ -webkit-box-orient: vertical;
750
+ -webkit-line-clamp: 2;
751
+ }
746
752
  .block {
747
753
  display: block;
748
754
  }
@@ -770,6 +776,9 @@ body {
770
776
  .aspect-square {
771
777
  aspect-ratio: 1 / 1;
772
778
  }
779
+ .aspect-video {
780
+ aspect-ratio: 16 / 9;
781
+ }
773
782
  .h-0 {
774
783
  height: 0px;
775
784
  }
@@ -851,6 +860,9 @@ body {
851
860
  .h-9 {
852
861
  height: 2.25rem;
853
862
  }
863
+ .h-96 {
864
+ height: 24rem;
865
+ }
854
866
  .h-\[15vh\] {
855
867
  height: 15vh;
856
868
  }
@@ -1079,6 +1091,9 @@ body {
1079
1091
  .w-6 {
1080
1092
  width: 1.5rem;
1081
1093
  }
1094
+ .w-64 {
1095
+ width: 16rem;
1096
+ }
1082
1097
  .w-7 {
1083
1098
  width: 1.75rem;
1084
1099
  }
@@ -1254,6 +1269,10 @@ body {
1254
1269
  --tw-translate-x: -50%;
1255
1270
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1256
1271
  }
1272
+ .-translate-x-full {
1273
+ --tw-translate-x: -100%;
1274
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1275
+ }
1257
1276
  .-translate-y-1\/2 {
1258
1277
  --tw-translate-y: -50%;
1259
1278
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1640,6 +1659,9 @@ body {
1640
1659
  .border-b {
1641
1660
  border-bottom-width: 1px;
1642
1661
  }
1662
+ .border-b-2 {
1663
+ border-bottom-width: 2px;
1664
+ }
1643
1665
  .border-b-4 {
1644
1666
  border-bottom-width: 4px;
1645
1667
  }
@@ -1961,6 +1983,10 @@ body {
1961
1983
  --tw-bg-opacity: 1;
1962
1984
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
1963
1985
  }
1986
+ .bg-gray-700 {
1987
+ --tw-bg-opacity: 1;
1988
+ background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
1989
+ }
1964
1990
  .bg-gray-800 {
1965
1991
  --tw-bg-opacity: 1;
1966
1992
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
@@ -2053,6 +2079,10 @@ body {
2053
2079
  .bg-red-500\/40 {
2054
2080
  background-color: rgb(239 68 68 / 0.4);
2055
2081
  }
2082
+ .bg-red-600 {
2083
+ --tw-bg-opacity: 1;
2084
+ background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
2085
+ }
2056
2086
  .bg-red-700 {
2057
2087
  --tw-bg-opacity: 1;
2058
2088
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
@@ -2106,9 +2136,15 @@ body {
2106
2136
  --tw-bg-opacity: 1;
2107
2137
  background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1));
2108
2138
  }
2139
+ .bg-opacity-20 {
2140
+ --tw-bg-opacity: 0.2;
2141
+ }
2109
2142
  .bg-opacity-30 {
2110
2143
  --tw-bg-opacity: 0.3;
2111
2144
  }
2145
+ .bg-opacity-40 {
2146
+ --tw-bg-opacity: 0.4;
2147
+ }
2112
2148
  .bg-opacity-50 {
2113
2149
  --tw-bg-opacity: 0.5;
2114
2150
  }
@@ -2118,6 +2154,12 @@ body {
2118
2154
  .bg-opacity-70 {
2119
2155
  --tw-bg-opacity: 0.7;
2120
2156
  }
2157
+ .bg-opacity-80 {
2158
+ --tw-bg-opacity: 0.8;
2159
+ }
2160
+ .bg-opacity-90 {
2161
+ --tw-bg-opacity: 0.9;
2162
+ }
2121
2163
  .bg-gradient-to-br {
2122
2164
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
2123
2165
  }
@@ -2147,6 +2189,11 @@ body {
2147
2189
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
2148
2190
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2149
2191
  }
2192
+ .from-black\/20 {
2193
+ --tw-gradient-from: rgb(0 0 0 / 0.2) var(--tw-gradient-from-position);
2194
+ --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
2195
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2196
+ }
2150
2197
  .from-black\/30 {
2151
2198
  --tw-gradient-from: rgb(0 0 0 / 0.3) var(--tw-gradient-from-position);
2152
2199
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
@@ -2187,6 +2234,11 @@ body {
2187
2234
  --tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);
2188
2235
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2189
2236
  }
2237
+ .from-gray-700 {
2238
+ --tw-gradient-from: #374151 var(--tw-gradient-from-position);
2239
+ --tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-to-position);
2240
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2241
+ }
2190
2242
  .from-red-500\/50 {
2191
2243
  --tw-gradient-from: rgb(239 68 68 / 0.5) var(--tw-gradient-from-position);
2192
2244
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
@@ -2202,6 +2254,11 @@ body {
2202
2254
  --tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position);
2203
2255
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2204
2256
  }
2257
+ .from-transparent {
2258
+ --tw-gradient-from: transparent var(--tw-gradient-from-position);
2259
+ --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
2260
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2261
+ }
2205
2262
  .from-white {
2206
2263
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
2207
2264
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
@@ -2212,6 +2269,13 @@ body {
2212
2269
  --tw-gradient-to: rgb(250 204 21 / 0) var(--tw-gradient-to-position);
2213
2270
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2214
2271
  }
2272
+ .via-gray-700 {
2273
+ --tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-to-position);
2274
+ --tw-gradient-stops:
2275
+ var(--tw-gradient-from),
2276
+ #374151 var(--tw-gradient-via-position),
2277
+ var(--tw-gradient-to);
2278
+ }
2215
2279
  .to-\[\#00AB45\]\/95 {
2216
2280
  --tw-gradient-to: rgb(0 171 69 / 0.95) var(--tw-gradient-to-position);
2217
2281
  }
@@ -2233,6 +2297,9 @@ body {
2233
2297
  .to-gray-500 {
2234
2298
  --tw-gradient-to: #6b7280 var(--tw-gradient-to-position);
2235
2299
  }
2300
+ .to-gray-900 {
2301
+ --tw-gradient-to: #111827 var(--tw-gradient-to-position);
2302
+ }
2236
2303
  .to-slate-100 {
2237
2304
  --tw-gradient-to: #f1f5f9 var(--tw-gradient-to-position);
2238
2305
  }
@@ -2345,6 +2412,10 @@ body {
2345
2412
  padding-top: 2.5rem;
2346
2413
  padding-bottom: 2.5rem;
2347
2414
  }
2415
+ .py-12 {
2416
+ padding-top: 3rem;
2417
+ padding-bottom: 3rem;
2418
+ }
2348
2419
  .py-14 {
2349
2420
  padding-top: 3.5rem;
2350
2421
  padding-bottom: 3.5rem;
@@ -3265,6 +3336,10 @@ input[type=range]:active::-moz-range-thumb {
3265
3336
  .hover\:bg-gray-50\/90:hover {
3266
3337
  background-color: rgb(249 250 251 / 0.9);
3267
3338
  }
3339
+ .hover\:bg-gray-600:hover {
3340
+ --tw-bg-opacity: 1;
3341
+ background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
3342
+ }
3268
3343
  .hover\:bg-gray-700:hover {
3269
3344
  --tw-bg-opacity: 1;
3270
3345
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
@@ -3380,10 +3455,22 @@ input[type=range]:active::-moz-range-thumb {
3380
3455
  var(--tw-ring-shadow, 0 0 #0000),
3381
3456
  var(--tw-shadow);
3382
3457
  }
3458
+ .hover\:ring-2:hover {
3459
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
3460
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
3461
+ box-shadow:
3462
+ var(--tw-ring-offset-shadow),
3463
+ var(--tw-ring-shadow),
3464
+ var(--tw-shadow, 0 0 #0000);
3465
+ }
3383
3466
  .hover\:ring-blue-200:hover {
3384
3467
  --tw-ring-opacity: 1;
3385
3468
  --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity, 1));
3386
3469
  }
3470
+ .hover\:ring-gray-600:hover {
3471
+ --tw-ring-opacity: 1;
3472
+ --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity, 1));
3473
+ }
3387
3474
  .hover\:brightness-95:hover {
3388
3475
  --tw-brightness: brightness(.95);
3389
3476
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -3486,10 +3573,18 @@ input[type=range]:active::-moz-range-thumb {
3486
3573
  .disabled\:opacity-50:disabled {
3487
3574
  opacity: 0.5;
3488
3575
  }
3576
+ .group:hover .group-hover\:scale-110 {
3577
+ --tw-scale-x: 1.1;
3578
+ --tw-scale-y: 1.1;
3579
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
3580
+ }
3489
3581
  .group:hover .group-hover\:bg-blue-50 {
3490
3582
  --tw-bg-opacity: 1;
3491
3583
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
3492
3584
  }
3585
+ .group:hover .group-hover\:bg-opacity-30 {
3586
+ --tw-bg-opacity: 0.3;
3587
+ }
3493
3588
  .group:hover .group-hover\:font-medium {
3494
3589
  font-weight: 500;
3495
3590
  }
package/dist/index.d.mts CHANGED
@@ -2741,6 +2741,102 @@ declare class CacheService {
2741
2741
  }
2742
2742
  declare const cacheService: CacheService;
2743
2743
 
2744
+ /**
2745
+ * Clips Prefetch Service
2746
+ *
2747
+ * Intelligent prefetching service for video clips to achieve sub-500ms loading times.
2748
+ * Implements smart caching, hover detection, and parallel metadata fetching.
2749
+ */
2750
+
2751
+ interface PrefetchResult {
2752
+ workspaceId: string;
2753
+ date: string;
2754
+ summary?: VideoSummary;
2755
+ error?: Error;
2756
+ fromCache: boolean;
2757
+ timestamp: number;
2758
+ }
2759
+ declare class ClipsPrefetchService {
2760
+ private static instance;
2761
+ private prefetchQueue;
2762
+ private activePrefetches;
2763
+ private prefetchCache;
2764
+ private s3ClipsService;
2765
+ private isProcessing;
2766
+ private readonly MAX_CACHE_SIZE;
2767
+ private readonly MAX_CONCURRENT_PREFETCHES;
2768
+ private readonly CACHE_DURATION_MS;
2769
+ private hoverTimeouts;
2770
+ private readonly HOVER_DELAY_MS;
2771
+ private constructor();
2772
+ static getInstance(): ClipsPrefetchService;
2773
+ /**
2774
+ * Initialize the service with dashboard config
2775
+ */
2776
+ initialize(config: DashboardConfig): void;
2777
+ /**
2778
+ * Prefetch clips summary for a workspace (called on component mount)
2779
+ */
2780
+ prefetchWorkspace(workspaceId: string, date?: string, shift?: string, priority?: 'high' | 'medium' | 'low'): Promise<PrefetchResult>;
2781
+ /**
2782
+ * Prefetch on hover with debouncing
2783
+ */
2784
+ prefetchOnHover(workspaceId: string, date?: string, shift?: string): void;
2785
+ /**
2786
+ * Cancel hover prefetch
2787
+ */
2788
+ cancelHoverPrefetch(workspaceId: string, date?: string, shift?: string): void;
2789
+ /**
2790
+ * Prefetch multiple workspaces in parallel
2791
+ */
2792
+ prefetchMultiple(workspaceIds: string[], date?: string, shift?: string, priority?: 'high' | 'medium' | 'low'): Promise<PrefetchResult[]>;
2793
+ /**
2794
+ * Get cached summary if available
2795
+ */
2796
+ getCachedSummary(workspaceId: string, date?: string, shift?: string): VideoSummary | null;
2797
+ /**
2798
+ * Clear cache for a specific workspace or all
2799
+ */
2800
+ clearCache(workspaceId?: string): void;
2801
+ /**
2802
+ * Process the prefetch queue
2803
+ */
2804
+ private processQueue;
2805
+ /**
2806
+ * Execute a single prefetch job
2807
+ */
2808
+ private executePrefetch;
2809
+ /**
2810
+ * Fetch summary from S3
2811
+ */
2812
+ private fetchSummary;
2813
+ /**
2814
+ * Preload video URL
2815
+ */
2816
+ private preloadVideo;
2817
+ /**
2818
+ * Add job to queue
2819
+ */
2820
+ private addToQueue;
2821
+ /**
2822
+ * Get numeric priority value
2823
+ */
2824
+ private getPriorityValue;
2825
+ /**
2826
+ * Generate cache key
2827
+ */
2828
+ private getCacheKey;
2829
+ /**
2830
+ * Get cached result if valid
2831
+ */
2832
+ private getCachedResult;
2833
+ /**
2834
+ * Set cached result
2835
+ */
2836
+ private setCachedResult;
2837
+ }
2838
+ declare const clipsPrefetchService: ClipsPrefetchService;
2839
+
2744
2840
  /**
2745
2841
  * Helper object for making authenticated API requests using Supabase auth token.
2746
2842
  * Assumes endpoints are relative to the apiBaseUrl configured in DashboardConfig.
@@ -3953,6 +4049,8 @@ interface WorkspaceGridProps {
3953
4049
  workspaceHlsUrls?: Record<string, string>;
3954
4050
  mp4VideoMapping?: Record<string, string>;
3955
4051
  };
4052
+ onWorkspaceHover?: (workspaceId: string) => void;
4053
+ onWorkspaceHoverEnd?: (workspaceId: string) => void;
3956
4054
  }
3957
4055
  declare const WorkspaceGrid: React__default.FC<WorkspaceGridProps>;
3958
4056
 
@@ -3975,6 +4073,8 @@ interface VideoGridViewProps {
3975
4073
  defaultHlsUrl?: string;
3976
4074
  workspaceHlsUrls?: Record<string, string>;
3977
4075
  };
4076
+ onWorkspaceHover?: (workspaceId: string) => void;
4077
+ onWorkspaceHoverEnd?: (workspaceId: string) => void;
3978
4078
  }
3979
4079
  /**
3980
4080
  * VideoGridView component - Simplified version using enterprise-grade HLS streaming
@@ -3993,6 +4093,8 @@ interface VideoCardProps {
3993
4093
  useRAF?: boolean;
3994
4094
  className?: string;
3995
4095
  compact?: boolean;
4096
+ onMouseEnter?: () => void;
4097
+ onMouseLeave?: () => void;
3996
4098
  }
3997
4099
  declare const VideoCard: React__default.FC<VideoCardProps>;
3998
4100
 
@@ -4997,4 +5099,4 @@ interface ThreadSidebarProps {
4997
5099
  }
4998
5100
  declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
4999
5101
 
5000
- export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedTargetsView, 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, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type ClipCounts, type ComponentOverride, 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, type EndpointsConfig, type EntityConfig, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, Header, type HeaderProps, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, 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, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, 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, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoMetadata, 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, cacheService, 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, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, 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, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };
5102
+ export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedTargetsView, 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, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type ClipCounts, type ComponentOverride, 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, type EndpointsConfig, type EntityConfig, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, Header, type HeaderProps, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, 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, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, 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, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoMetadata, 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, cacheService, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, clipsPrefetchService, 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, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, 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, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };
package/dist/index.d.ts CHANGED
@@ -2741,6 +2741,102 @@ declare class CacheService {
2741
2741
  }
2742
2742
  declare const cacheService: CacheService;
2743
2743
 
2744
+ /**
2745
+ * Clips Prefetch Service
2746
+ *
2747
+ * Intelligent prefetching service for video clips to achieve sub-500ms loading times.
2748
+ * Implements smart caching, hover detection, and parallel metadata fetching.
2749
+ */
2750
+
2751
+ interface PrefetchResult {
2752
+ workspaceId: string;
2753
+ date: string;
2754
+ summary?: VideoSummary;
2755
+ error?: Error;
2756
+ fromCache: boolean;
2757
+ timestamp: number;
2758
+ }
2759
+ declare class ClipsPrefetchService {
2760
+ private static instance;
2761
+ private prefetchQueue;
2762
+ private activePrefetches;
2763
+ private prefetchCache;
2764
+ private s3ClipsService;
2765
+ private isProcessing;
2766
+ private readonly MAX_CACHE_SIZE;
2767
+ private readonly MAX_CONCURRENT_PREFETCHES;
2768
+ private readonly CACHE_DURATION_MS;
2769
+ private hoverTimeouts;
2770
+ private readonly HOVER_DELAY_MS;
2771
+ private constructor();
2772
+ static getInstance(): ClipsPrefetchService;
2773
+ /**
2774
+ * Initialize the service with dashboard config
2775
+ */
2776
+ initialize(config: DashboardConfig): void;
2777
+ /**
2778
+ * Prefetch clips summary for a workspace (called on component mount)
2779
+ */
2780
+ prefetchWorkspace(workspaceId: string, date?: string, shift?: string, priority?: 'high' | 'medium' | 'low'): Promise<PrefetchResult>;
2781
+ /**
2782
+ * Prefetch on hover with debouncing
2783
+ */
2784
+ prefetchOnHover(workspaceId: string, date?: string, shift?: string): void;
2785
+ /**
2786
+ * Cancel hover prefetch
2787
+ */
2788
+ cancelHoverPrefetch(workspaceId: string, date?: string, shift?: string): void;
2789
+ /**
2790
+ * Prefetch multiple workspaces in parallel
2791
+ */
2792
+ prefetchMultiple(workspaceIds: string[], date?: string, shift?: string, priority?: 'high' | 'medium' | 'low'): Promise<PrefetchResult[]>;
2793
+ /**
2794
+ * Get cached summary if available
2795
+ */
2796
+ getCachedSummary(workspaceId: string, date?: string, shift?: string): VideoSummary | null;
2797
+ /**
2798
+ * Clear cache for a specific workspace or all
2799
+ */
2800
+ clearCache(workspaceId?: string): void;
2801
+ /**
2802
+ * Process the prefetch queue
2803
+ */
2804
+ private processQueue;
2805
+ /**
2806
+ * Execute a single prefetch job
2807
+ */
2808
+ private executePrefetch;
2809
+ /**
2810
+ * Fetch summary from S3
2811
+ */
2812
+ private fetchSummary;
2813
+ /**
2814
+ * Preload video URL
2815
+ */
2816
+ private preloadVideo;
2817
+ /**
2818
+ * Add job to queue
2819
+ */
2820
+ private addToQueue;
2821
+ /**
2822
+ * Get numeric priority value
2823
+ */
2824
+ private getPriorityValue;
2825
+ /**
2826
+ * Generate cache key
2827
+ */
2828
+ private getCacheKey;
2829
+ /**
2830
+ * Get cached result if valid
2831
+ */
2832
+ private getCachedResult;
2833
+ /**
2834
+ * Set cached result
2835
+ */
2836
+ private setCachedResult;
2837
+ }
2838
+ declare const clipsPrefetchService: ClipsPrefetchService;
2839
+
2744
2840
  /**
2745
2841
  * Helper object for making authenticated API requests using Supabase auth token.
2746
2842
  * Assumes endpoints are relative to the apiBaseUrl configured in DashboardConfig.
@@ -3953,6 +4049,8 @@ interface WorkspaceGridProps {
3953
4049
  workspaceHlsUrls?: Record<string, string>;
3954
4050
  mp4VideoMapping?: Record<string, string>;
3955
4051
  };
4052
+ onWorkspaceHover?: (workspaceId: string) => void;
4053
+ onWorkspaceHoverEnd?: (workspaceId: string) => void;
3956
4054
  }
3957
4055
  declare const WorkspaceGrid: React__default.FC<WorkspaceGridProps>;
3958
4056
 
@@ -3975,6 +4073,8 @@ interface VideoGridViewProps {
3975
4073
  defaultHlsUrl?: string;
3976
4074
  workspaceHlsUrls?: Record<string, string>;
3977
4075
  };
4076
+ onWorkspaceHover?: (workspaceId: string) => void;
4077
+ onWorkspaceHoverEnd?: (workspaceId: string) => void;
3978
4078
  }
3979
4079
  /**
3980
4080
  * VideoGridView component - Simplified version using enterprise-grade HLS streaming
@@ -3993,6 +4093,8 @@ interface VideoCardProps {
3993
4093
  useRAF?: boolean;
3994
4094
  className?: string;
3995
4095
  compact?: boolean;
4096
+ onMouseEnter?: () => void;
4097
+ onMouseLeave?: () => void;
3996
4098
  }
3997
4099
  declare const VideoCard: React__default.FC<VideoCardProps>;
3998
4100
 
@@ -4997,4 +5099,4 @@ interface ThreadSidebarProps {
4997
5099
  }
4998
5100
  declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
4999
5101
 
5000
- export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedTargetsView, 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, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type ClipCounts, type ComponentOverride, 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, type EndpointsConfig, type EntityConfig, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, Header, type HeaderProps, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, 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, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, 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, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoMetadata, 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, cacheService, 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, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, 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, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };
5102
+ export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedTargetsView, 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, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type ClipCounts, type ComponentOverride, 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, type EndpointsConfig, type EntityConfig, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, Header, type HeaderProps, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, 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, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, 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, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoMetadata, 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, cacheService, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, clipsPrefetchService, 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, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, 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, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };