@optifye/dashboard-core 4.1.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -86,6 +86,7 @@ interface WorkspaceDetailedMetrics {
86
86
  ideal_output_until_now: number;
87
87
  output_difference: number;
88
88
  idle_time?: number;
89
+ idle_time_hourly?: Record<string, string[]>;
89
90
  compliance_efficiency?: number;
90
91
  sop_check?: Record<string, number>;
91
92
  }
@@ -475,6 +476,8 @@ interface Break {
475
476
  endTime: string;
476
477
  /** Duration of the break in minutes */
477
478
  duration: number;
479
+ /** Break remarks */
480
+ remarks?: string;
478
481
  }
479
482
  /**
480
483
  * Represents day or night shift time configuration
@@ -521,7 +524,7 @@ interface BreakRowProps {
521
524
  /** Index of this break in the list */
522
525
  index: number;
523
526
  /** Function to update break time */
524
- onUpdate: (index: number, field: 'startTime' | 'endTime', value: string) => void;
527
+ onUpdate: (index: number, field: 'startTime' | 'endTime' | 'remarks', value: string) => void;
525
528
  /** Function to remove this break */
526
529
  onRemove: (index: number) => void;
527
530
  }
@@ -544,7 +547,7 @@ interface ShiftPanelProps {
544
547
  /** Function to handle end time changes */
545
548
  onEndTimeChange: (value: string) => void;
546
549
  /** Function to update break times */
547
- onBreakUpdate: (index: number, field: 'startTime' | 'endTime', value: string) => void;
550
+ onBreakUpdate: (index: number, field: 'startTime' | 'endTime' | 'remarks', value: string) => void;
548
551
  /** Function to remove a break */
549
552
  onBreakRemove: (index: number) => void;
550
553
  /** Function to add a new break */
@@ -735,27 +738,6 @@ interface ISTDateProps {
735
738
  interface ISTTimerProps {
736
739
  }
737
740
 
738
- /**
739
- * Props for the LeaderboardIndexView component
740
- */
741
- interface LeaderboardIndexViewProps {
742
- /**
743
- * Factory View identifier - used to add the factory view option to the lines list
744
- */
745
- factoryViewId?: string;
746
- /**
747
- * Company UUID to use when displaying factory view
748
- */
749
- companyUuid?: string;
750
- /**
751
- * Function to handle navigation to a specific line
752
- */
753
- onLineSelect?: (lineId: string) => void;
754
- /**
755
- * Optional className for custom styling
756
- */
757
- className?: string;
758
- }
759
741
  /**
760
742
  * Props for the LeaderboardDetailView component
761
743
  */
@@ -793,15 +775,6 @@ interface LeaderboardDetailViewProps {
793
775
  */
794
776
  className?: string;
795
777
  }
796
- /**
797
- * Line option type for the leaderboard index
798
- */
799
- interface LeaderboardLineOption extends SimpleLine {
800
- /**
801
- * Unique identifier for the line
802
- */
803
- id: string;
804
- }
805
778
 
806
779
  /**
807
780
  * Represents hourly performance metrics for a line
@@ -895,6 +868,7 @@ interface BottleneckVideoData {
895
868
  type: 'bottleneck' | 'low_value' | 'best_cycle_time' | 'worst_cycle_time' | 'missing_quality_check';
896
869
  originalUri: string;
897
870
  cycle_time_seconds?: number;
871
+ creation_timestamp?: string;
898
872
  }
899
873
  interface VideoSummary {
900
874
  counts: Record<string, number>;
@@ -908,6 +882,9 @@ interface S3ClipsAPIParams {
908
882
  limit?: number;
909
883
  mode?: 'summary' | 'full';
910
884
  includeCycleTime?: boolean;
885
+ includeMetadata?: boolean;
886
+ timestampStart?: string;
887
+ timestampEnd?: string;
911
888
  }
912
889
  interface S3ListObjectsParams {
913
890
  workspaceId: string;
@@ -916,9 +893,32 @@ interface S3ListObjectsParams {
916
893
  maxKeys?: number;
917
894
  }
918
895
  interface VideoMetadata {
896
+ camera_id?: string;
897
+ workspace_id?: string;
898
+ sop_name?: string;
899
+ violation_start_frame?: number;
900
+ violation_end_frame?: number;
901
+ video_start_frame?: number;
902
+ video_end_frame?: number;
903
+ video_frame_count?: number;
904
+ video_duration_seconds?: number;
905
+ hls_playlist_s3_path?: string;
906
+ shift_id?: number;
907
+ upload_timestamp?: string;
908
+ transcoder_service_version?: string;
919
909
  original_task_metadata?: {
910
+ sop_name?: string;
911
+ start_frame?: number;
912
+ end_frame?: number;
920
913
  cycle_time?: number;
914
+ timestamp?: string;
915
+ spans_batch_boundary?: boolean;
916
+ original_start_frame?: number | null;
917
+ workspace_id?: string;
921
918
  };
919
+ task_type?: string;
920
+ task_id?: string;
921
+ creation_timestamp?: string;
922
922
  [key: string]: any;
923
923
  }
924
924
  type VideoType = 'bottleneck' | 'low_value' | 'best_cycle_time' | 'worst_cycle_time' | 'missing_quality_check';
@@ -1873,6 +1873,30 @@ declare const useWorkspaceDisplayNamesMap: (workspaceIds: string[], companyId?:
1873
1873
  refetch: () => Promise<void>;
1874
1874
  };
1875
1875
 
1876
+ interface ActiveBreak extends Break {
1877
+ /** The line ID where this break is active */
1878
+ lineId: string;
1879
+ /** The shift name (Day Shift or Night Shift) */
1880
+ shiftName: string;
1881
+ /** Minutes elapsed since break started */
1882
+ elapsedMinutes: number;
1883
+ /** Minutes remaining until break ends */
1884
+ remainingMinutes: number;
1885
+ }
1886
+ interface UseActiveBreaksResult {
1887
+ /** Array of currently active breaks */
1888
+ activeBreaks: ActiveBreak[];
1889
+ /** Whether the hook is loading data */
1890
+ isLoading: boolean;
1891
+ /** Error message if any */
1892
+ error: string | null;
1893
+ }
1894
+ /**
1895
+ * Custom hook to detect and track active breaks across all lines
1896
+ * Updates every minute to check for newly active or ended breaks
1897
+ */
1898
+ declare const useActiveBreaks: (lineIds: string[]) => UseActiveBreaksResult;
1899
+
1876
1900
  /**
1877
1901
  * Interface for navigation method used across packages
1878
1902
  * Abstracts navigation implementation details from components
@@ -1932,7 +1956,7 @@ interface LineNavigationParams {
1932
1956
  * @property {(params: LineNavigationParams) => void} goToLine - Navigates to a line (KPI) page, e.g., '/kpis/[lineId]'.
1933
1957
  * @property {() => void} goToTargets - Navigates to the '/targets' page.
1934
1958
  * @property {() => void} goToShifts - Navigates to the '/shifts' page.
1935
- * @property {() => void} goToLeaderboard - Navigates to the '/leaderboard' page.
1959
+ * @property {() => void} goToLeaderboard - Navigates to the leaderboard page for the default line.
1936
1960
  * @property {() => void} goToFactoryView - Navigates to the '/factory-view' page.
1937
1961
  * @property {() => void} goToProfile - Navigates to the '/profile' page.
1938
1962
  * @property {(path: string, options?: NavigationOptions) => Promise<void>} navigate - Navigates to an arbitrary path with retry logic and optional tracking.
@@ -1942,7 +1966,7 @@ interface LineNavigationParams {
1942
1966
  * @summary Provides abstracted navigation utilities and current route state for the dashboard application.
1943
1967
  * @description This hook serves as a wrapper around the Next.js `useRouter` hook, offering a simplified API for common navigation tasks
1944
1968
  * and for accessing dashboard-specific route information. It helps maintain consistency in navigation logic and route patterns.
1945
- * Assumed route patterns include: `/` (dashboard), `/workspace/[id]`, `/kpis/[lineId]`, `/targets`, `/shifts`, `/leaderboard`, `/factory-view`.
1969
+ * Assumed route patterns include: `/` (dashboard), `/workspace/[id]`, `/kpis/[lineId]`, `/targets`, `/shifts`, `/leaderboard/[lineId]`, `/factory-view`.
1946
1970
  * The `activeLineId` property has a fallback to `entityConfig.defaultLineId` when not on a specific line page, which implies a global default line context (see {@link EntityConfigShape} for expected structure).
1947
1971
  *
1948
1972
  * @returns {NavigationHookReturn} An object containing various navigation actions and properties related to the current route.
@@ -2822,6 +2846,8 @@ interface HourlyOutputChartProps {
2822
2846
  data: number[];
2823
2847
  pphThreshold: number;
2824
2848
  shiftStart: string;
2849
+ showIdleTime?: boolean;
2850
+ idleTimeHourly?: Record<string, string[]>;
2825
2851
  className?: string;
2826
2852
  }
2827
2853
 
@@ -2896,6 +2922,24 @@ interface WhatsAppShareButtonProps {
2896
2922
  }
2897
2923
  declare const WhatsAppShareButton: React__default.FC<WhatsAppShareButtonProps>;
2898
2924
 
2925
+ interface BreakNotificationPopupProps {
2926
+ /** Array of active breaks to display */
2927
+ activeBreaks: ActiveBreak[];
2928
+ /** Optional callback when popup is dismissed */
2929
+ onDismiss?: () => void;
2930
+ /** Whether to show the popup */
2931
+ isVisible?: boolean;
2932
+ /** Optional class name for custom styling */
2933
+ className?: string;
2934
+ /** Line names mapping for display */
2935
+ lineNames?: Record<string, string>;
2936
+ }
2937
+ /**
2938
+ * Break notification popup component
2939
+ * Shows active break information in a minimal, clean way
2940
+ */
2941
+ declare const BreakNotificationPopup: React__default.FC<BreakNotificationPopupProps>;
2942
+
2899
2943
  interface BaseHistoryCalendarProps {
2900
2944
  dailyData: Record<string, DaySummaryData>;
2901
2945
  displayMonth: Date;
@@ -2928,12 +2972,13 @@ declare const BaseHistoryCalendar: React__default.FC<BaseHistoryCalendarProps>;
2928
2972
 
2929
2973
  interface ShiftDisplayProps {
2930
2974
  className?: string;
2975
+ variant?: 'default' | 'enhanced';
2931
2976
  }
2932
2977
  declare const ShiftDisplay: React__default.FC<ShiftDisplayProps>;
2933
2978
 
2934
2979
  /**
2935
- * ISTTimer composes TimeDisplay and ShiftDisplay from within @optifye/dashboard-core.
2936
- * Assumes DashboardProvider is configured with necessary dateTimeConfig and shiftConfig.
2980
+ * ISTTimer composes TimeDisplay from within @optifye/dashboard-core.
2981
+ * Assumes DashboardProvider is configured with necessary dateTimeConfig.
2937
2982
  */
2938
2983
  declare const ISTTimer: React__default.FC;
2939
2984
 
@@ -3711,6 +3756,15 @@ interface MetricCardProps {
3711
3756
  }
3712
3757
  declare const MetricCard: React__default.FC<MetricCardProps>;
3713
3758
 
3759
+ interface TimePickerDropdownProps {
3760
+ value: string;
3761
+ onChange: (value: string) => void;
3762
+ placeholder?: string;
3763
+ className?: string;
3764
+ disabled?: boolean;
3765
+ }
3766
+ declare const TimePickerDropdown: React__default.FC<TimePickerDropdownProps>;
3767
+
3714
3768
  declare const DEFAULT_HLS_CONFIG: {
3715
3769
  maxBufferLength: number;
3716
3770
  maxMaxBufferLength: number;
@@ -3814,6 +3868,30 @@ declare function DebugAuthView(): React__default.ReactNode;
3814
3868
  declare const FactoryView: React__default.FC<FactoryViewProps>;
3815
3869
  declare const AuthenticatedFactoryView: (props: FactoryViewProps) => react_jsx_runtime.JSX.Element | null;
3816
3870
 
3871
+ interface HelpViewProps {
3872
+ /**
3873
+ * Optional callback when a ticket is successfully submitted
3874
+ */
3875
+ onTicketSubmit?: (ticketData: SupportTicket$1) => Promise<void>;
3876
+ /**
3877
+ * Optional custom support email
3878
+ */
3879
+ supportEmail?: string;
3880
+ }
3881
+ interface SupportTicket$1 {
3882
+ subject: string;
3883
+ category: 'general' | 'technical' | 'feature' | 'billing';
3884
+ priority: 'low' | 'normal' | 'high' | 'urgent';
3885
+ description: string;
3886
+ email: string;
3887
+ timestamp: Date;
3888
+ }
3889
+ /**
3890
+ * HelpView component - Support ticket submission page
3891
+ */
3892
+ declare const HelpView: React__default.FC<HelpViewProps>;
3893
+ declare const AuthenticatedHelpView: (props: HelpViewProps) => react_jsx_runtime.JSX.Element | null;
3894
+
3817
3895
  interface HomeViewProps {
3818
3896
  /**
3819
3897
  * UUID of the default line to display
@@ -3914,16 +3992,20 @@ interface KPIDetailViewProps {
3914
3992
  */
3915
3993
  declare const KPIDetailView: React__default.FC<KPIDetailViewProps>;
3916
3994
 
3995
+ interface KPIsOverviewViewProps {
3996
+ companyId?: string;
3997
+ navigate?: (path: string) => void;
3998
+ className?: string;
3999
+ onBackClick?: () => void;
4000
+ backLinkUrl?: string;
4001
+ }
4002
+ declare const KPIsOverviewView: React__default.FC<KPIsOverviewViewProps>;
4003
+
3917
4004
  /**
3918
4005
  * LeaderboardDetailView component for displaying a detailed leaderboard for a specific line
3919
4006
  */
3920
4007
  declare const LeaderboardDetailView: React__default.FC<LeaderboardDetailViewProps>;
3921
4008
 
3922
- /**
3923
- * LeaderboardIndexView component for displaying a list of lines that can be selected for the leaderboard
3924
- */
3925
- declare const LeaderboardIndexView: React__default.FC<LeaderboardIndexViewProps>;
3926
-
3927
4009
  interface LoginViewProps {
3928
4010
  /**
3929
4011
  * Optional logo source URL
@@ -4251,6 +4333,21 @@ declare const streamProxyConfig: {
4251
4333
  };
4252
4334
  };
4253
4335
 
4336
+ interface SupportTicket {
4337
+ subject: string;
4338
+ category: 'general' | 'technical' | 'feature' | 'billing';
4339
+ priority: 'low' | 'normal' | 'high' | 'urgent';
4340
+ description: string;
4341
+ email: string;
4342
+ timestamp: Date;
4343
+ }
4344
+ declare class SlackAPI {
4345
+ /**
4346
+ * Sends a support ticket notification to Slack via the API route
4347
+ */
4348
+ static sendSupportTicketNotification(ticket: SupportTicket): Promise<void>;
4349
+ }
4350
+
4254
4351
  interface ThreadSidebarProps {
4255
4352
  activeThreadId?: string;
4256
4353
  onSelectThread: (threadId: string) => void;
@@ -4259,4 +4356,4 @@ interface ThreadSidebarProps {
4259
4356
  }
4260
4357
  declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
4261
4358
 
4262
- export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type AnalyticsConfig, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, 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, 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_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, GridComponentsPlaceholder, Header, type HeaderProps, type HistoryCalendarProps, HomeView, type HookOverride, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, type ISTDateProps, ISTTimer, type ISTTimerProps, KPICard, type KPICardProps, KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, LINE_1_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, LeaderboardDetailView, type LeaderboardDetailViewProps, type LeaderboardEntry, LeaderboardIndexView, type LeaderboardIndexViewProps, type LeaderboardLineOption, 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, LoadingOverlay, LoadingPage, LoadingSpinner, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, MainLayout, type MainLayoutProps, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, type NavItem, type NavItemTrackingEvent, NoWorkspaceData, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, 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, 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 StreamProxyConfig, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TimeDisplay, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, 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, 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, formatDateInZone, formatDateTimeInZone, formatISTDate, formatIdleTime, formatTimeInZone, fromUrlFriendlyName, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultTabForWorkspace, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isTransitionPeriod, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, optifyeAgentClient, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, s3VideoPreloader, storeWorkspaceMapping, streamProxyConfig, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, updateThreadTitle, useAnalyticsConfig, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, useRealtimeLineMetrics, useRegistry, useShiftConfig, useShifts, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };
4359
+ 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_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, 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, KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, 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, LoadingOverlay, LoadingPage, LoadingSpinner, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, MainLayout, type MainLayoutProps, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, type NavItem, type NavItemTrackingEvent, NoWorkspaceData, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, 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, 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, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, 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, 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, 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, formatDateInZone, formatDateTimeInZone, formatISTDate, formatIdleTime, formatTimeInZone, fromUrlFriendlyName, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultTabForWorkspace, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isTransitionPeriod, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, optifyeAgentClient, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, s3VideoPreloader, storeWorkspaceMapping, streamProxyConfig, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, updateThreadTitle, useActiveBreaks, useAnalyticsConfig, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, useRealtimeLineMetrics, useRegistry, useShiftConfig, useShifts, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };