@optifye/dashboard-core 4.1.2 → 4.2.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.d.mts +109 -40
- package/dist/index.d.ts +109 -40
- package/dist/index.js +4544 -8998
- package/dist/index.mjs +5988 -10448
- package/package.json +1 -1
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
|
}
|
|
@@ -210,6 +211,7 @@ interface EndpointsConfig {
|
|
|
210
211
|
whatsapp?: string;
|
|
211
212
|
worstPerformingWorkspaces?: string;
|
|
212
213
|
agnoApiUrl?: string;
|
|
214
|
+
slackWebhookUrl?: string;
|
|
213
215
|
}
|
|
214
216
|
interface DateTimeConfig {
|
|
215
217
|
defaultTimezone?: string;
|
|
@@ -737,27 +739,6 @@ interface ISTDateProps {
|
|
|
737
739
|
interface ISTTimerProps {
|
|
738
740
|
}
|
|
739
741
|
|
|
740
|
-
/**
|
|
741
|
-
* Props for the LeaderboardIndexView component
|
|
742
|
-
*/
|
|
743
|
-
interface LeaderboardIndexViewProps {
|
|
744
|
-
/**
|
|
745
|
-
* Factory View identifier - used to add the factory view option to the lines list
|
|
746
|
-
*/
|
|
747
|
-
factoryViewId?: string;
|
|
748
|
-
/**
|
|
749
|
-
* Company UUID to use when displaying factory view
|
|
750
|
-
*/
|
|
751
|
-
companyUuid?: string;
|
|
752
|
-
/**
|
|
753
|
-
* Function to handle navigation to a specific line
|
|
754
|
-
*/
|
|
755
|
-
onLineSelect?: (lineId: string) => void;
|
|
756
|
-
/**
|
|
757
|
-
* Optional className for custom styling
|
|
758
|
-
*/
|
|
759
|
-
className?: string;
|
|
760
|
-
}
|
|
761
742
|
/**
|
|
762
743
|
* Props for the LeaderboardDetailView component
|
|
763
744
|
*/
|
|
@@ -795,15 +776,6 @@ interface LeaderboardDetailViewProps {
|
|
|
795
776
|
*/
|
|
796
777
|
className?: string;
|
|
797
778
|
}
|
|
798
|
-
/**
|
|
799
|
-
* Line option type for the leaderboard index
|
|
800
|
-
*/
|
|
801
|
-
interface LeaderboardLineOption extends SimpleLine {
|
|
802
|
-
/**
|
|
803
|
-
* Unique identifier for the line
|
|
804
|
-
*/
|
|
805
|
-
id: string;
|
|
806
|
-
}
|
|
807
779
|
|
|
808
780
|
/**
|
|
809
781
|
* Represents hourly performance metrics for a line
|
|
@@ -1902,6 +1874,30 @@ declare const useWorkspaceDisplayNamesMap: (workspaceIds: string[], companyId?:
|
|
|
1902
1874
|
refetch: () => Promise<void>;
|
|
1903
1875
|
};
|
|
1904
1876
|
|
|
1877
|
+
interface ActiveBreak extends Break {
|
|
1878
|
+
/** The line ID where this break is active */
|
|
1879
|
+
lineId: string;
|
|
1880
|
+
/** The shift name (Day Shift or Night Shift) */
|
|
1881
|
+
shiftName: string;
|
|
1882
|
+
/** Minutes elapsed since break started */
|
|
1883
|
+
elapsedMinutes: number;
|
|
1884
|
+
/** Minutes remaining until break ends */
|
|
1885
|
+
remainingMinutes: number;
|
|
1886
|
+
}
|
|
1887
|
+
interface UseActiveBreaksResult {
|
|
1888
|
+
/** Array of currently active breaks */
|
|
1889
|
+
activeBreaks: ActiveBreak[];
|
|
1890
|
+
/** Whether the hook is loading data */
|
|
1891
|
+
isLoading: boolean;
|
|
1892
|
+
/** Error message if any */
|
|
1893
|
+
error: string | null;
|
|
1894
|
+
}
|
|
1895
|
+
/**
|
|
1896
|
+
* Custom hook to detect and track active breaks across all lines
|
|
1897
|
+
* Updates every minute to check for newly active or ended breaks
|
|
1898
|
+
*/
|
|
1899
|
+
declare const useActiveBreaks: (lineIds: string[]) => UseActiveBreaksResult;
|
|
1900
|
+
|
|
1905
1901
|
/**
|
|
1906
1902
|
* Interface for navigation method used across packages
|
|
1907
1903
|
* Abstracts navigation implementation details from components
|
|
@@ -1961,7 +1957,7 @@ interface LineNavigationParams {
|
|
|
1961
1957
|
* @property {(params: LineNavigationParams) => void} goToLine - Navigates to a line (KPI) page, e.g., '/kpis/[lineId]'.
|
|
1962
1958
|
* @property {() => void} goToTargets - Navigates to the '/targets' page.
|
|
1963
1959
|
* @property {() => void} goToShifts - Navigates to the '/shifts' page.
|
|
1964
|
-
* @property {() => void} goToLeaderboard - Navigates to the
|
|
1960
|
+
* @property {() => void} goToLeaderboard - Navigates to the leaderboard page for the default line.
|
|
1965
1961
|
* @property {() => void} goToFactoryView - Navigates to the '/factory-view' page.
|
|
1966
1962
|
* @property {() => void} goToProfile - Navigates to the '/profile' page.
|
|
1967
1963
|
* @property {(path: string, options?: NavigationOptions) => Promise<void>} navigate - Navigates to an arbitrary path with retry logic and optional tracking.
|
|
@@ -1971,7 +1967,7 @@ interface LineNavigationParams {
|
|
|
1971
1967
|
* @summary Provides abstracted navigation utilities and current route state for the dashboard application.
|
|
1972
1968
|
* @description This hook serves as a wrapper around the Next.js `useRouter` hook, offering a simplified API for common navigation tasks
|
|
1973
1969
|
* and for accessing dashboard-specific route information. It helps maintain consistency in navigation logic and route patterns.
|
|
1974
|
-
* Assumed route patterns include: `/` (dashboard), `/workspace/[id]`, `/kpis/[lineId]`, `/targets`, `/shifts`, `/leaderboard`, `/factory-view`.
|
|
1970
|
+
* Assumed route patterns include: `/` (dashboard), `/workspace/[id]`, `/kpis/[lineId]`, `/targets`, `/shifts`, `/leaderboard/[lineId]`, `/factory-view`.
|
|
1975
1971
|
* 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).
|
|
1976
1972
|
*
|
|
1977
1973
|
* @returns {NavigationHookReturn} An object containing various navigation actions and properties related to the current route.
|
|
@@ -2851,6 +2847,8 @@ interface HourlyOutputChartProps {
|
|
|
2851
2847
|
data: number[];
|
|
2852
2848
|
pphThreshold: number;
|
|
2853
2849
|
shiftStart: string;
|
|
2850
|
+
showIdleTime?: boolean;
|
|
2851
|
+
idleTimeHourly?: Record<string, string[]>;
|
|
2854
2852
|
className?: string;
|
|
2855
2853
|
}
|
|
2856
2854
|
|
|
@@ -2925,6 +2923,24 @@ interface WhatsAppShareButtonProps {
|
|
|
2925
2923
|
}
|
|
2926
2924
|
declare const WhatsAppShareButton: React__default.FC<WhatsAppShareButtonProps>;
|
|
2927
2925
|
|
|
2926
|
+
interface BreakNotificationPopupProps {
|
|
2927
|
+
/** Array of active breaks to display */
|
|
2928
|
+
activeBreaks: ActiveBreak[];
|
|
2929
|
+
/** Optional callback when popup is dismissed */
|
|
2930
|
+
onDismiss?: () => void;
|
|
2931
|
+
/** Whether to show the popup */
|
|
2932
|
+
isVisible?: boolean;
|
|
2933
|
+
/** Optional class name for custom styling */
|
|
2934
|
+
className?: string;
|
|
2935
|
+
/** Line names mapping for display */
|
|
2936
|
+
lineNames?: Record<string, string>;
|
|
2937
|
+
}
|
|
2938
|
+
/**
|
|
2939
|
+
* Break notification popup component
|
|
2940
|
+
* Shows active break information in a minimal, clean way
|
|
2941
|
+
*/
|
|
2942
|
+
declare const BreakNotificationPopup: React__default.FC<BreakNotificationPopupProps>;
|
|
2943
|
+
|
|
2928
2944
|
interface BaseHistoryCalendarProps {
|
|
2929
2945
|
dailyData: Record<string, DaySummaryData>;
|
|
2930
2946
|
displayMonth: Date;
|
|
@@ -2957,12 +2973,13 @@ declare const BaseHistoryCalendar: React__default.FC<BaseHistoryCalendarProps>;
|
|
|
2957
2973
|
|
|
2958
2974
|
interface ShiftDisplayProps {
|
|
2959
2975
|
className?: string;
|
|
2976
|
+
variant?: 'default' | 'enhanced';
|
|
2960
2977
|
}
|
|
2961
2978
|
declare const ShiftDisplay: React__default.FC<ShiftDisplayProps>;
|
|
2962
2979
|
|
|
2963
2980
|
/**
|
|
2964
|
-
* ISTTimer composes TimeDisplay
|
|
2965
|
-
* Assumes DashboardProvider is configured with necessary dateTimeConfig
|
|
2981
|
+
* ISTTimer composes TimeDisplay from within @optifye/dashboard-core.
|
|
2982
|
+
* Assumes DashboardProvider is configured with necessary dateTimeConfig.
|
|
2966
2983
|
*/
|
|
2967
2984
|
declare const ISTTimer: React__default.FC;
|
|
2968
2985
|
|
|
@@ -3740,6 +3757,15 @@ interface MetricCardProps {
|
|
|
3740
3757
|
}
|
|
3741
3758
|
declare const MetricCard: React__default.FC<MetricCardProps>;
|
|
3742
3759
|
|
|
3760
|
+
interface TimePickerDropdownProps {
|
|
3761
|
+
value: string;
|
|
3762
|
+
onChange: (value: string) => void;
|
|
3763
|
+
placeholder?: string;
|
|
3764
|
+
className?: string;
|
|
3765
|
+
disabled?: boolean;
|
|
3766
|
+
}
|
|
3767
|
+
declare const TimePickerDropdown: React__default.FC<TimePickerDropdownProps>;
|
|
3768
|
+
|
|
3743
3769
|
declare const DEFAULT_HLS_CONFIG: {
|
|
3744
3770
|
maxBufferLength: number;
|
|
3745
3771
|
maxMaxBufferLength: number;
|
|
@@ -3843,6 +3869,30 @@ declare function DebugAuthView(): React__default.ReactNode;
|
|
|
3843
3869
|
declare const FactoryView: React__default.FC<FactoryViewProps>;
|
|
3844
3870
|
declare const AuthenticatedFactoryView: (props: FactoryViewProps) => react_jsx_runtime.JSX.Element | null;
|
|
3845
3871
|
|
|
3872
|
+
interface HelpViewProps {
|
|
3873
|
+
/**
|
|
3874
|
+
* Optional callback when a ticket is successfully submitted
|
|
3875
|
+
*/
|
|
3876
|
+
onTicketSubmit?: (ticketData: SupportTicket$1) => Promise<void>;
|
|
3877
|
+
/**
|
|
3878
|
+
* Optional custom support email
|
|
3879
|
+
*/
|
|
3880
|
+
supportEmail?: string;
|
|
3881
|
+
}
|
|
3882
|
+
interface SupportTicket$1 {
|
|
3883
|
+
subject: string;
|
|
3884
|
+
category: 'general' | 'technical' | 'feature' | 'billing';
|
|
3885
|
+
priority: 'low' | 'normal' | 'high' | 'urgent';
|
|
3886
|
+
description: string;
|
|
3887
|
+
email: string;
|
|
3888
|
+
timestamp: Date;
|
|
3889
|
+
}
|
|
3890
|
+
/**
|
|
3891
|
+
* HelpView component - Support ticket submission page
|
|
3892
|
+
*/
|
|
3893
|
+
declare const HelpView: React__default.FC<HelpViewProps>;
|
|
3894
|
+
declare const AuthenticatedHelpView: (props: HelpViewProps) => react_jsx_runtime.JSX.Element | null;
|
|
3895
|
+
|
|
3846
3896
|
interface HomeViewProps {
|
|
3847
3897
|
/**
|
|
3848
3898
|
* UUID of the default line to display
|
|
@@ -3943,16 +3993,20 @@ interface KPIDetailViewProps {
|
|
|
3943
3993
|
*/
|
|
3944
3994
|
declare const KPIDetailView: React__default.FC<KPIDetailViewProps>;
|
|
3945
3995
|
|
|
3996
|
+
interface KPIsOverviewViewProps {
|
|
3997
|
+
companyId?: string;
|
|
3998
|
+
navigate?: (path: string) => void;
|
|
3999
|
+
className?: string;
|
|
4000
|
+
onBackClick?: () => void;
|
|
4001
|
+
backLinkUrl?: string;
|
|
4002
|
+
}
|
|
4003
|
+
declare const KPIsOverviewView: React__default.FC<KPIsOverviewViewProps>;
|
|
4004
|
+
|
|
3946
4005
|
/**
|
|
3947
4006
|
* LeaderboardDetailView component for displaying a detailed leaderboard for a specific line
|
|
3948
4007
|
*/
|
|
3949
4008
|
declare const LeaderboardDetailView: React__default.FC<LeaderboardDetailViewProps>;
|
|
3950
4009
|
|
|
3951
|
-
/**
|
|
3952
|
-
* LeaderboardIndexView component for displaying a list of lines that can be selected for the leaderboard
|
|
3953
|
-
*/
|
|
3954
|
-
declare const LeaderboardIndexView: React__default.FC<LeaderboardIndexViewProps>;
|
|
3955
|
-
|
|
3956
4010
|
interface LoginViewProps {
|
|
3957
4011
|
/**
|
|
3958
4012
|
* Optional logo source URL
|
|
@@ -4280,6 +4334,21 @@ declare const streamProxyConfig: {
|
|
|
4280
4334
|
};
|
|
4281
4335
|
};
|
|
4282
4336
|
|
|
4337
|
+
interface SupportTicket {
|
|
4338
|
+
subject: string;
|
|
4339
|
+
category: 'general' | 'technical' | 'feature' | 'billing';
|
|
4340
|
+
priority: 'low' | 'normal' | 'high' | 'urgent';
|
|
4341
|
+
description: string;
|
|
4342
|
+
email: string;
|
|
4343
|
+
timestamp: Date;
|
|
4344
|
+
}
|
|
4345
|
+
declare class SlackAPI {
|
|
4346
|
+
/**
|
|
4347
|
+
* Sends a support ticket notification directly to Slack webhook
|
|
4348
|
+
*/
|
|
4349
|
+
static sendSupportTicketNotification(ticket: SupportTicket): Promise<void>;
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4283
4352
|
interface ThreadSidebarProps {
|
|
4284
4353
|
activeThreadId?: string;
|
|
4285
4354
|
onSelectThread: (threadId: string) => void;
|
|
@@ -4288,4 +4357,4 @@ interface ThreadSidebarProps {
|
|
|
4288
4357
|
}
|
|
4289
4358
|
declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
|
|
4290
4359
|
|
|
4291
|
-
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,
|
|
4360
|
+
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 };
|
package/dist/index.d.ts
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
|
}
|
|
@@ -210,6 +211,7 @@ interface EndpointsConfig {
|
|
|
210
211
|
whatsapp?: string;
|
|
211
212
|
worstPerformingWorkspaces?: string;
|
|
212
213
|
agnoApiUrl?: string;
|
|
214
|
+
slackWebhookUrl?: string;
|
|
213
215
|
}
|
|
214
216
|
interface DateTimeConfig {
|
|
215
217
|
defaultTimezone?: string;
|
|
@@ -737,27 +739,6 @@ interface ISTDateProps {
|
|
|
737
739
|
interface ISTTimerProps {
|
|
738
740
|
}
|
|
739
741
|
|
|
740
|
-
/**
|
|
741
|
-
* Props for the LeaderboardIndexView component
|
|
742
|
-
*/
|
|
743
|
-
interface LeaderboardIndexViewProps {
|
|
744
|
-
/**
|
|
745
|
-
* Factory View identifier - used to add the factory view option to the lines list
|
|
746
|
-
*/
|
|
747
|
-
factoryViewId?: string;
|
|
748
|
-
/**
|
|
749
|
-
* Company UUID to use when displaying factory view
|
|
750
|
-
*/
|
|
751
|
-
companyUuid?: string;
|
|
752
|
-
/**
|
|
753
|
-
* Function to handle navigation to a specific line
|
|
754
|
-
*/
|
|
755
|
-
onLineSelect?: (lineId: string) => void;
|
|
756
|
-
/**
|
|
757
|
-
* Optional className for custom styling
|
|
758
|
-
*/
|
|
759
|
-
className?: string;
|
|
760
|
-
}
|
|
761
742
|
/**
|
|
762
743
|
* Props for the LeaderboardDetailView component
|
|
763
744
|
*/
|
|
@@ -795,15 +776,6 @@ interface LeaderboardDetailViewProps {
|
|
|
795
776
|
*/
|
|
796
777
|
className?: string;
|
|
797
778
|
}
|
|
798
|
-
/**
|
|
799
|
-
* Line option type for the leaderboard index
|
|
800
|
-
*/
|
|
801
|
-
interface LeaderboardLineOption extends SimpleLine {
|
|
802
|
-
/**
|
|
803
|
-
* Unique identifier for the line
|
|
804
|
-
*/
|
|
805
|
-
id: string;
|
|
806
|
-
}
|
|
807
779
|
|
|
808
780
|
/**
|
|
809
781
|
* Represents hourly performance metrics for a line
|
|
@@ -1902,6 +1874,30 @@ declare const useWorkspaceDisplayNamesMap: (workspaceIds: string[], companyId?:
|
|
|
1902
1874
|
refetch: () => Promise<void>;
|
|
1903
1875
|
};
|
|
1904
1876
|
|
|
1877
|
+
interface ActiveBreak extends Break {
|
|
1878
|
+
/** The line ID where this break is active */
|
|
1879
|
+
lineId: string;
|
|
1880
|
+
/** The shift name (Day Shift or Night Shift) */
|
|
1881
|
+
shiftName: string;
|
|
1882
|
+
/** Minutes elapsed since break started */
|
|
1883
|
+
elapsedMinutes: number;
|
|
1884
|
+
/** Minutes remaining until break ends */
|
|
1885
|
+
remainingMinutes: number;
|
|
1886
|
+
}
|
|
1887
|
+
interface UseActiveBreaksResult {
|
|
1888
|
+
/** Array of currently active breaks */
|
|
1889
|
+
activeBreaks: ActiveBreak[];
|
|
1890
|
+
/** Whether the hook is loading data */
|
|
1891
|
+
isLoading: boolean;
|
|
1892
|
+
/** Error message if any */
|
|
1893
|
+
error: string | null;
|
|
1894
|
+
}
|
|
1895
|
+
/**
|
|
1896
|
+
* Custom hook to detect and track active breaks across all lines
|
|
1897
|
+
* Updates every minute to check for newly active or ended breaks
|
|
1898
|
+
*/
|
|
1899
|
+
declare const useActiveBreaks: (lineIds: string[]) => UseActiveBreaksResult;
|
|
1900
|
+
|
|
1905
1901
|
/**
|
|
1906
1902
|
* Interface for navigation method used across packages
|
|
1907
1903
|
* Abstracts navigation implementation details from components
|
|
@@ -1961,7 +1957,7 @@ interface LineNavigationParams {
|
|
|
1961
1957
|
* @property {(params: LineNavigationParams) => void} goToLine - Navigates to a line (KPI) page, e.g., '/kpis/[lineId]'.
|
|
1962
1958
|
* @property {() => void} goToTargets - Navigates to the '/targets' page.
|
|
1963
1959
|
* @property {() => void} goToShifts - Navigates to the '/shifts' page.
|
|
1964
|
-
* @property {() => void} goToLeaderboard - Navigates to the
|
|
1960
|
+
* @property {() => void} goToLeaderboard - Navigates to the leaderboard page for the default line.
|
|
1965
1961
|
* @property {() => void} goToFactoryView - Navigates to the '/factory-view' page.
|
|
1966
1962
|
* @property {() => void} goToProfile - Navigates to the '/profile' page.
|
|
1967
1963
|
* @property {(path: string, options?: NavigationOptions) => Promise<void>} navigate - Navigates to an arbitrary path with retry logic and optional tracking.
|
|
@@ -1971,7 +1967,7 @@ interface LineNavigationParams {
|
|
|
1971
1967
|
* @summary Provides abstracted navigation utilities and current route state for the dashboard application.
|
|
1972
1968
|
* @description This hook serves as a wrapper around the Next.js `useRouter` hook, offering a simplified API for common navigation tasks
|
|
1973
1969
|
* and for accessing dashboard-specific route information. It helps maintain consistency in navigation logic and route patterns.
|
|
1974
|
-
* Assumed route patterns include: `/` (dashboard), `/workspace/[id]`, `/kpis/[lineId]`, `/targets`, `/shifts`, `/leaderboard`, `/factory-view`.
|
|
1970
|
+
* Assumed route patterns include: `/` (dashboard), `/workspace/[id]`, `/kpis/[lineId]`, `/targets`, `/shifts`, `/leaderboard/[lineId]`, `/factory-view`.
|
|
1975
1971
|
* 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).
|
|
1976
1972
|
*
|
|
1977
1973
|
* @returns {NavigationHookReturn} An object containing various navigation actions and properties related to the current route.
|
|
@@ -2851,6 +2847,8 @@ interface HourlyOutputChartProps {
|
|
|
2851
2847
|
data: number[];
|
|
2852
2848
|
pphThreshold: number;
|
|
2853
2849
|
shiftStart: string;
|
|
2850
|
+
showIdleTime?: boolean;
|
|
2851
|
+
idleTimeHourly?: Record<string, string[]>;
|
|
2854
2852
|
className?: string;
|
|
2855
2853
|
}
|
|
2856
2854
|
|
|
@@ -2925,6 +2923,24 @@ interface WhatsAppShareButtonProps {
|
|
|
2925
2923
|
}
|
|
2926
2924
|
declare const WhatsAppShareButton: React__default.FC<WhatsAppShareButtonProps>;
|
|
2927
2925
|
|
|
2926
|
+
interface BreakNotificationPopupProps {
|
|
2927
|
+
/** Array of active breaks to display */
|
|
2928
|
+
activeBreaks: ActiveBreak[];
|
|
2929
|
+
/** Optional callback when popup is dismissed */
|
|
2930
|
+
onDismiss?: () => void;
|
|
2931
|
+
/** Whether to show the popup */
|
|
2932
|
+
isVisible?: boolean;
|
|
2933
|
+
/** Optional class name for custom styling */
|
|
2934
|
+
className?: string;
|
|
2935
|
+
/** Line names mapping for display */
|
|
2936
|
+
lineNames?: Record<string, string>;
|
|
2937
|
+
}
|
|
2938
|
+
/**
|
|
2939
|
+
* Break notification popup component
|
|
2940
|
+
* Shows active break information in a minimal, clean way
|
|
2941
|
+
*/
|
|
2942
|
+
declare const BreakNotificationPopup: React__default.FC<BreakNotificationPopupProps>;
|
|
2943
|
+
|
|
2928
2944
|
interface BaseHistoryCalendarProps {
|
|
2929
2945
|
dailyData: Record<string, DaySummaryData>;
|
|
2930
2946
|
displayMonth: Date;
|
|
@@ -2957,12 +2973,13 @@ declare const BaseHistoryCalendar: React__default.FC<BaseHistoryCalendarProps>;
|
|
|
2957
2973
|
|
|
2958
2974
|
interface ShiftDisplayProps {
|
|
2959
2975
|
className?: string;
|
|
2976
|
+
variant?: 'default' | 'enhanced';
|
|
2960
2977
|
}
|
|
2961
2978
|
declare const ShiftDisplay: React__default.FC<ShiftDisplayProps>;
|
|
2962
2979
|
|
|
2963
2980
|
/**
|
|
2964
|
-
* ISTTimer composes TimeDisplay
|
|
2965
|
-
* Assumes DashboardProvider is configured with necessary dateTimeConfig
|
|
2981
|
+
* ISTTimer composes TimeDisplay from within @optifye/dashboard-core.
|
|
2982
|
+
* Assumes DashboardProvider is configured with necessary dateTimeConfig.
|
|
2966
2983
|
*/
|
|
2967
2984
|
declare const ISTTimer: React__default.FC;
|
|
2968
2985
|
|
|
@@ -3740,6 +3757,15 @@ interface MetricCardProps {
|
|
|
3740
3757
|
}
|
|
3741
3758
|
declare const MetricCard: React__default.FC<MetricCardProps>;
|
|
3742
3759
|
|
|
3760
|
+
interface TimePickerDropdownProps {
|
|
3761
|
+
value: string;
|
|
3762
|
+
onChange: (value: string) => void;
|
|
3763
|
+
placeholder?: string;
|
|
3764
|
+
className?: string;
|
|
3765
|
+
disabled?: boolean;
|
|
3766
|
+
}
|
|
3767
|
+
declare const TimePickerDropdown: React__default.FC<TimePickerDropdownProps>;
|
|
3768
|
+
|
|
3743
3769
|
declare const DEFAULT_HLS_CONFIG: {
|
|
3744
3770
|
maxBufferLength: number;
|
|
3745
3771
|
maxMaxBufferLength: number;
|
|
@@ -3843,6 +3869,30 @@ declare function DebugAuthView(): React__default.ReactNode;
|
|
|
3843
3869
|
declare const FactoryView: React__default.FC<FactoryViewProps>;
|
|
3844
3870
|
declare const AuthenticatedFactoryView: (props: FactoryViewProps) => react_jsx_runtime.JSX.Element | null;
|
|
3845
3871
|
|
|
3872
|
+
interface HelpViewProps {
|
|
3873
|
+
/**
|
|
3874
|
+
* Optional callback when a ticket is successfully submitted
|
|
3875
|
+
*/
|
|
3876
|
+
onTicketSubmit?: (ticketData: SupportTicket$1) => Promise<void>;
|
|
3877
|
+
/**
|
|
3878
|
+
* Optional custom support email
|
|
3879
|
+
*/
|
|
3880
|
+
supportEmail?: string;
|
|
3881
|
+
}
|
|
3882
|
+
interface SupportTicket$1 {
|
|
3883
|
+
subject: string;
|
|
3884
|
+
category: 'general' | 'technical' | 'feature' | 'billing';
|
|
3885
|
+
priority: 'low' | 'normal' | 'high' | 'urgent';
|
|
3886
|
+
description: string;
|
|
3887
|
+
email: string;
|
|
3888
|
+
timestamp: Date;
|
|
3889
|
+
}
|
|
3890
|
+
/**
|
|
3891
|
+
* HelpView component - Support ticket submission page
|
|
3892
|
+
*/
|
|
3893
|
+
declare const HelpView: React__default.FC<HelpViewProps>;
|
|
3894
|
+
declare const AuthenticatedHelpView: (props: HelpViewProps) => react_jsx_runtime.JSX.Element | null;
|
|
3895
|
+
|
|
3846
3896
|
interface HomeViewProps {
|
|
3847
3897
|
/**
|
|
3848
3898
|
* UUID of the default line to display
|
|
@@ -3943,16 +3993,20 @@ interface KPIDetailViewProps {
|
|
|
3943
3993
|
*/
|
|
3944
3994
|
declare const KPIDetailView: React__default.FC<KPIDetailViewProps>;
|
|
3945
3995
|
|
|
3996
|
+
interface KPIsOverviewViewProps {
|
|
3997
|
+
companyId?: string;
|
|
3998
|
+
navigate?: (path: string) => void;
|
|
3999
|
+
className?: string;
|
|
4000
|
+
onBackClick?: () => void;
|
|
4001
|
+
backLinkUrl?: string;
|
|
4002
|
+
}
|
|
4003
|
+
declare const KPIsOverviewView: React__default.FC<KPIsOverviewViewProps>;
|
|
4004
|
+
|
|
3946
4005
|
/**
|
|
3947
4006
|
* LeaderboardDetailView component for displaying a detailed leaderboard for a specific line
|
|
3948
4007
|
*/
|
|
3949
4008
|
declare const LeaderboardDetailView: React__default.FC<LeaderboardDetailViewProps>;
|
|
3950
4009
|
|
|
3951
|
-
/**
|
|
3952
|
-
* LeaderboardIndexView component for displaying a list of lines that can be selected for the leaderboard
|
|
3953
|
-
*/
|
|
3954
|
-
declare const LeaderboardIndexView: React__default.FC<LeaderboardIndexViewProps>;
|
|
3955
|
-
|
|
3956
4010
|
interface LoginViewProps {
|
|
3957
4011
|
/**
|
|
3958
4012
|
* Optional logo source URL
|
|
@@ -4280,6 +4334,21 @@ declare const streamProxyConfig: {
|
|
|
4280
4334
|
};
|
|
4281
4335
|
};
|
|
4282
4336
|
|
|
4337
|
+
interface SupportTicket {
|
|
4338
|
+
subject: string;
|
|
4339
|
+
category: 'general' | 'technical' | 'feature' | 'billing';
|
|
4340
|
+
priority: 'low' | 'normal' | 'high' | 'urgent';
|
|
4341
|
+
description: string;
|
|
4342
|
+
email: string;
|
|
4343
|
+
timestamp: Date;
|
|
4344
|
+
}
|
|
4345
|
+
declare class SlackAPI {
|
|
4346
|
+
/**
|
|
4347
|
+
* Sends a support ticket notification directly to Slack webhook
|
|
4348
|
+
*/
|
|
4349
|
+
static sendSupportTicketNotification(ticket: SupportTicket): Promise<void>;
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4283
4352
|
interface ThreadSidebarProps {
|
|
4284
4353
|
activeThreadId?: string;
|
|
4285
4354
|
onSelectThread: (threadId: string) => void;
|
|
@@ -4288,4 +4357,4 @@ interface ThreadSidebarProps {
|
|
|
4288
4357
|
}
|
|
4289
4358
|
declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
|
|
4290
4359
|
|
|
4291
|
-
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,
|
|
4360
|
+
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 };
|