@optifye/dashboard-core 6.0.4 → 6.0.6
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 +0 -22
- package/dist/index.d.mts +125 -11
- package/dist/index.d.ts +125 -11
- package/dist/index.js +332 -147
- package/dist/index.mjs +322 -148
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1254,10 +1254,6 @@ body {
|
|
|
1254
1254
|
--tw-translate-x: 100%;
|
|
1255
1255
|
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
1256
|
}
|
|
1257
|
-
.-rotate-90 {
|
|
1258
|
-
--tw-rotate: -90deg;
|
|
1259
|
-
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));
|
|
1260
|
-
}
|
|
1261
1257
|
.rotate-180 {
|
|
1262
1258
|
--tw-rotate: 180deg;
|
|
1263
1259
|
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));
|
|
@@ -2121,11 +2117,6 @@ body {
|
|
|
2121
2117
|
--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
|
|
2122
2118
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2123
2119
|
}
|
|
2124
|
-
.from-blue-500 {
|
|
2125
|
-
--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);
|
|
2126
|
-
--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
|
|
2127
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2128
|
-
}
|
|
2129
2120
|
.from-gray-300 {
|
|
2130
2121
|
--tw-gradient-from: #d1d5db var(--tw-gradient-from-position);
|
|
2131
2122
|
--tw-gradient-to: rgb(209 213 219 / 0) var(--tw-gradient-to-position);
|
|
@@ -2161,13 +2152,6 @@ body {
|
|
|
2161
2152
|
--tw-gradient-to: rgb(250 204 21 / 0) var(--tw-gradient-to-position);
|
|
2162
2153
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2163
2154
|
}
|
|
2164
|
-
.via-blue-50 {
|
|
2165
|
-
--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
|
|
2166
|
-
--tw-gradient-stops:
|
|
2167
|
-
var(--tw-gradient-from),
|
|
2168
|
-
#eff6ff var(--tw-gradient-via-position),
|
|
2169
|
-
var(--tw-gradient-to);
|
|
2170
|
-
}
|
|
2171
2155
|
.to-\[\#00AB45\]\/95 {
|
|
2172
2156
|
--tw-gradient-to: rgb(0 171 69 / 0.95) var(--tw-gradient-to-position);
|
|
2173
2157
|
}
|
|
@@ -2183,18 +2167,12 @@ body {
|
|
|
2183
2167
|
.to-blue-50\/50 {
|
|
2184
2168
|
--tw-gradient-to: rgb(239 246 255 / 0.5) var(--tw-gradient-to-position);
|
|
2185
2169
|
}
|
|
2186
|
-
.to-blue-600 {
|
|
2187
|
-
--tw-gradient-to: #2563eb var(--tw-gradient-to-position);
|
|
2188
|
-
}
|
|
2189
2170
|
.to-gray-500 {
|
|
2190
2171
|
--tw-gradient-to: #6b7280 var(--tw-gradient-to-position);
|
|
2191
2172
|
}
|
|
2192
2173
|
.to-slate-100 {
|
|
2193
2174
|
--tw-gradient-to: #f1f5f9 var(--tw-gradient-to-position);
|
|
2194
2175
|
}
|
|
2195
|
-
.to-slate-50 {
|
|
2196
|
-
--tw-gradient-to: #f8fafc var(--tw-gradient-to-position);
|
|
2197
|
-
}
|
|
2198
2176
|
.to-transparent {
|
|
2199
2177
|
--tw-gradient-to: transparent var(--tw-gradient-to-position);
|
|
2200
2178
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -183,11 +183,22 @@ interface DatabaseConfig {
|
|
|
183
183
|
interface EntityConfig {
|
|
184
184
|
companyId?: string;
|
|
185
185
|
factoryId?: string;
|
|
186
|
+
/** @deprecated Use `lines` object instead. Will be removed in next major version. */
|
|
186
187
|
defaultLineId?: string;
|
|
188
|
+
/** @deprecated Use `lines` object instead. Will be removed in next major version. */
|
|
187
189
|
secondaryLineId?: string;
|
|
188
190
|
factoryViewId?: string;
|
|
189
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* @deprecated Use `lines` object instead for consistency.
|
|
193
|
+
* This field is maintained for backward compatibility.
|
|
194
|
+
*/
|
|
190
195
|
lineNames?: Record<string, string>;
|
|
196
|
+
/**
|
|
197
|
+
* Dynamic line configuration: UUID -> Display Name mapping.
|
|
198
|
+
* The first entry in the object will be treated as the default line.
|
|
199
|
+
* Example: { 'uuid-1': 'Line 1', 'uuid-2': 'Line 2', ... }
|
|
200
|
+
*/
|
|
201
|
+
lines?: Record<string, string>;
|
|
191
202
|
}
|
|
192
203
|
interface ShiftConfig {
|
|
193
204
|
dayShift?: {
|
|
@@ -940,10 +951,14 @@ interface LineDisplayData {
|
|
|
940
951
|
* Configuration properties for the FactoryView component
|
|
941
952
|
*/
|
|
942
953
|
interface FactoryViewProps {
|
|
943
|
-
/**
|
|
944
|
-
line1Id
|
|
945
|
-
/**
|
|
946
|
-
line2Id
|
|
954
|
+
/** @deprecated Use lineIds array instead */
|
|
955
|
+
line1Id?: string;
|
|
956
|
+
/** @deprecated Use lineIds array instead */
|
|
957
|
+
line2Id?: string;
|
|
958
|
+
/** Array of line UUIDs to display */
|
|
959
|
+
lineIds?: string[];
|
|
960
|
+
/** Display names for each line, keyed by line ID */
|
|
961
|
+
lineNames?: Record<string, string>;
|
|
947
962
|
/** Name of the factory to display in the header */
|
|
948
963
|
factoryName?: string;
|
|
949
964
|
/** Timezone to use for calculations - defaults to 'Asia/Kolkata' */
|
|
@@ -1453,8 +1468,8 @@ declare const useHistoricWorkspaceMetrics: (workspaceId: string, date?: string,
|
|
|
1453
1468
|
*
|
|
1454
1469
|
* @description This hook retrieves comprehensive data for a line, including its operational metrics and descriptive details.
|
|
1455
1470
|
* It utilizes the `DashboardService` to fetch this information. If the special `lineIdFromProp` 'factory'
|
|
1456
|
-
* (or the configured `entityConfig.factoryViewId`) is provided, it fetches and aggregates data for
|
|
1457
|
-
* configured
|
|
1471
|
+
* (or the configured `entityConfig.factoryViewId`) is provided, it fetches and aggregates data for all
|
|
1472
|
+
* configured lines to provide a factory-level overview.
|
|
1458
1473
|
* The hook also establishes real-time subscriptions to the line metrics table to update data automatically.
|
|
1459
1474
|
*
|
|
1460
1475
|
* @param {string} lineIdFromProp - The unique identifier of the production line. Use 'factory' (or the configured `factoryViewId`)
|
|
@@ -1619,8 +1634,8 @@ type LineKPIsProps = {
|
|
|
1619
1634
|
* @description This hook retrieves and calculates KPIs such as efficiency, output progress, and underperforming workers.
|
|
1620
1635
|
* It leverages the `DashboardService` to first fetch detailed line information (via `getDetailedLineInfo`)
|
|
1621
1636
|
* and then to calculate the KPIs (via `calculateKPIs`). For a 'factory' view (identified by `lineId` matching
|
|
1622
|
-
* `entityConfig.factoryViewId` or the string 'factory'), the service is expected to aggregate data from
|
|
1623
|
-
*
|
|
1637
|
+
* `entityConfig.factoryViewId` or the string 'factory'), the service is expected to aggregate data from all
|
|
1638
|
+
* configured lines.
|
|
1624
1639
|
* The hook implements localStorage caching for KPIs to provide a faster initial load and reduce redundant fetches.
|
|
1625
1640
|
* Real-time subscriptions are established to relevant tables (`line_metrics` and the company-specific performance table)
|
|
1626
1641
|
* to automatically update KPIs when underlying data changes.
|
|
@@ -2589,6 +2604,28 @@ declare const authRateLimitService: {
|
|
|
2589
2604
|
clearAllRateLimits: typeof clearAllRateLimits$1;
|
|
2590
2605
|
};
|
|
2591
2606
|
|
|
2607
|
+
/**
|
|
2608
|
+
* Additional options for Mixpanel initialization specifically for
|
|
2609
|
+
* Session Replay & Heatmap support. All options map 1-to-1 to the
|
|
2610
|
+
* Mixpanel JS SDK `init` options documented here:
|
|
2611
|
+
* https://docs.mixpanel.com/docs/replay/web/
|
|
2612
|
+
*/
|
|
2613
|
+
interface MixpanelSessionOptions {
|
|
2614
|
+
/** Percentage (1 = 1%) of sessions to record. */
|
|
2615
|
+
recordSessionsPercent?: number;
|
|
2616
|
+
/** How long (ms) of user inactivity before ending a recording. */
|
|
2617
|
+
recordIdleTimeoutMs?: number;
|
|
2618
|
+
/** Capture click heat-map data during recorded sessions. */
|
|
2619
|
+
recordHeatmapData?: boolean;
|
|
2620
|
+
/** Enable <canvas> recording (experimental). */
|
|
2621
|
+
recordCanvas?: boolean;
|
|
2622
|
+
/** CSS selector for elements to block from recording (e.g. images). */
|
|
2623
|
+
recordBlockSelector?: string;
|
|
2624
|
+
/** CSS selector for elements whose text should be masked. */
|
|
2625
|
+
recordMaskTextSelector?: string;
|
|
2626
|
+
/** Any additional raw init options the caller wants to forward */
|
|
2627
|
+
[key: string]: unknown;
|
|
2628
|
+
}
|
|
2592
2629
|
/**
|
|
2593
2630
|
* Initializes Mixpanel with the provided token.
|
|
2594
2631
|
* Should be called once from the application setup (e.g., within DashboardProvider)
|
|
@@ -2597,9 +2634,23 @@ declare const authRateLimitService: {
|
|
|
2597
2634
|
* @param debug - Optional. Enable Mixpanel debug mode.
|
|
2598
2635
|
* @param trackPageView - Optional. Enable automatic page view tracking by Mixpanel.
|
|
2599
2636
|
*/
|
|
2600
|
-
declare const initializeCoreMixpanel: (token: string,
|
|
2637
|
+
declare const initializeCoreMixpanel: (token: string, debugOrOptions?: boolean | (MixpanelSessionOptions & {
|
|
2638
|
+
debug?: boolean;
|
|
2639
|
+
trackPageView?: boolean;
|
|
2640
|
+
}), trackPageViewArg?: boolean) => void;
|
|
2601
2641
|
declare const trackCorePageView: (pageName: string, properties?: Record<string, any>) => void;
|
|
2602
2642
|
declare const trackCoreEvent: (eventName: string, properties?: Record<string, any>) => void;
|
|
2643
|
+
/** Manually start Session Replay recording regardless of sampling percent. */
|
|
2644
|
+
declare const startCoreSessionRecording: () => void;
|
|
2645
|
+
/** Manually stop an active Session Replay recording. */
|
|
2646
|
+
declare const stopCoreSessionRecording: () => void;
|
|
2647
|
+
/**
|
|
2648
|
+
* Get the current replay-ID & associated properties ($mp_replay_id) so that
|
|
2649
|
+
* callers can attach it to server-side or 3rd-party events.
|
|
2650
|
+
*/
|
|
2651
|
+
declare const getCoreSessionRecordingProperties: () => Record<string, any>;
|
|
2652
|
+
/** Obtain the absolute Mixpanel URL which allows viewing the current replay. */
|
|
2653
|
+
declare const getCoreSessionReplayUrl: () => string | null;
|
|
2603
2654
|
declare const identifyCoreUser: (userId: string, userProperties?: Record<string, any>) => void;
|
|
2604
2655
|
declare const resetCoreMixpanel: () => void;
|
|
2605
2656
|
|
|
@@ -2625,6 +2676,10 @@ declare class SSEChatClient {
|
|
|
2625
2676
|
companyId: string;
|
|
2626
2677
|
lineId: string;
|
|
2627
2678
|
shiftId: number;
|
|
2679
|
+
allLines?: Array<{
|
|
2680
|
+
id: string;
|
|
2681
|
+
name: string;
|
|
2682
|
+
}>;
|
|
2628
2683
|
}, callbacks: {
|
|
2629
2684
|
onThreadCreated?: (threadId: string) => void;
|
|
2630
2685
|
onMessage?: (text: string) => void;
|
|
@@ -3069,6 +3124,65 @@ declare const preloadS3VideosUrl: (urls: string[]) => void;
|
|
|
3069
3124
|
declare const createThrottledReload: (interval?: number) => () => void;
|
|
3070
3125
|
declare const throttledReloadDashboard: () => void;
|
|
3071
3126
|
|
|
3127
|
+
/**
|
|
3128
|
+
* Line configuration utilities for managing dynamic multi-line support
|
|
3129
|
+
*/
|
|
3130
|
+
/**
|
|
3131
|
+
* Get all configured line IDs from the entity configuration.
|
|
3132
|
+
* Supports both legacy (defaultLineId/secondaryLineId) and new (lines object) formats.
|
|
3133
|
+
*
|
|
3134
|
+
* @param entityConfig - The entity configuration
|
|
3135
|
+
* @returns Array of line IDs
|
|
3136
|
+
*/
|
|
3137
|
+
declare function getConfiguredLineIds(entityConfig: EntityConfig): string[];
|
|
3138
|
+
/**
|
|
3139
|
+
* Get the display name for a line ID.
|
|
3140
|
+
* Supports both legacy (lineNames) and new (lines object) formats.
|
|
3141
|
+
*
|
|
3142
|
+
* @param entityConfig - The entity configuration
|
|
3143
|
+
* @param lineId - The line ID to get the name for
|
|
3144
|
+
* @returns The display name or a fallback
|
|
3145
|
+
*/
|
|
3146
|
+
declare function getLineDisplayName(entityConfig: EntityConfig, lineId: string): string;
|
|
3147
|
+
/**
|
|
3148
|
+
* Get all line display names as a mapping.
|
|
3149
|
+
* Merges both legacy and new formats, with new format taking precedence.
|
|
3150
|
+
*
|
|
3151
|
+
* @param entityConfig - The entity configuration
|
|
3152
|
+
* @returns Record of line ID to display name
|
|
3153
|
+
*/
|
|
3154
|
+
declare function getAllLineDisplayNames(entityConfig: EntityConfig): Record<string, string>;
|
|
3155
|
+
/**
|
|
3156
|
+
* Get the default line ID from configuration.
|
|
3157
|
+
* In new format, it's the first key in the lines object.
|
|
3158
|
+
*
|
|
3159
|
+
* @param entityConfig - The entity configuration
|
|
3160
|
+
* @returns The default line ID or undefined
|
|
3161
|
+
*/
|
|
3162
|
+
declare function getDefaultLineId(entityConfig: EntityConfig): string | undefined;
|
|
3163
|
+
/**
|
|
3164
|
+
* Check if the configuration is using the legacy format.
|
|
3165
|
+
*
|
|
3166
|
+
* @param entityConfig - The entity configuration
|
|
3167
|
+
* @returns True if using legacy format
|
|
3168
|
+
*/
|
|
3169
|
+
declare function isLegacyConfiguration(entityConfig: EntityConfig): boolean;
|
|
3170
|
+
/**
|
|
3171
|
+
* Convert legacy configuration to new format.
|
|
3172
|
+
* This is a helper for migration purposes.
|
|
3173
|
+
*
|
|
3174
|
+
* @param entityConfig - The entity configuration
|
|
3175
|
+
* @returns Updated configuration with lines object
|
|
3176
|
+
*/
|
|
3177
|
+
declare function migrateLegacyConfiguration(entityConfig: EntityConfig): EntityConfig;
|
|
3178
|
+
/**
|
|
3179
|
+
* Validate that required lines are configured for factory view.
|
|
3180
|
+
*
|
|
3181
|
+
* @param entityConfig - The entity configuration
|
|
3182
|
+
* @returns True if configuration is valid for factory view
|
|
3183
|
+
*/
|
|
3184
|
+
declare function isValidFactoryViewConfiguration(entityConfig: EntityConfig): boolean;
|
|
3185
|
+
|
|
3072
3186
|
/**
|
|
3073
3187
|
* Format idle time from seconds to a human-readable format
|
|
3074
3188
|
* @param idleTimeInSeconds - Idle time in seconds
|
|
@@ -4872,4 +4986,4 @@ interface ThreadSidebarProps {
|
|
|
4872
4986
|
}
|
|
4873
4987
|
declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
|
|
4874
4988
|
|
|
4875
|
-
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, KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_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, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingSpinner, 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, 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, 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, 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, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultTabForWorkspace, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isTransitionPeriod, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, optifyeAgentClient, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetSubscriptionManager, s3VideoPreloader, skuService, 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 };
|
|
4989
|
+
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, KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_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, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingSpinner, 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, 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, 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, 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, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, migrateLegacyConfiguration, optifyeAgentClient, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, 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
|
@@ -183,11 +183,22 @@ interface DatabaseConfig {
|
|
|
183
183
|
interface EntityConfig {
|
|
184
184
|
companyId?: string;
|
|
185
185
|
factoryId?: string;
|
|
186
|
+
/** @deprecated Use `lines` object instead. Will be removed in next major version. */
|
|
186
187
|
defaultLineId?: string;
|
|
188
|
+
/** @deprecated Use `lines` object instead. Will be removed in next major version. */
|
|
187
189
|
secondaryLineId?: string;
|
|
188
190
|
factoryViewId?: string;
|
|
189
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* @deprecated Use `lines` object instead for consistency.
|
|
193
|
+
* This field is maintained for backward compatibility.
|
|
194
|
+
*/
|
|
190
195
|
lineNames?: Record<string, string>;
|
|
196
|
+
/**
|
|
197
|
+
* Dynamic line configuration: UUID -> Display Name mapping.
|
|
198
|
+
* The first entry in the object will be treated as the default line.
|
|
199
|
+
* Example: { 'uuid-1': 'Line 1', 'uuid-2': 'Line 2', ... }
|
|
200
|
+
*/
|
|
201
|
+
lines?: Record<string, string>;
|
|
191
202
|
}
|
|
192
203
|
interface ShiftConfig {
|
|
193
204
|
dayShift?: {
|
|
@@ -940,10 +951,14 @@ interface LineDisplayData {
|
|
|
940
951
|
* Configuration properties for the FactoryView component
|
|
941
952
|
*/
|
|
942
953
|
interface FactoryViewProps {
|
|
943
|
-
/**
|
|
944
|
-
line1Id
|
|
945
|
-
/**
|
|
946
|
-
line2Id
|
|
954
|
+
/** @deprecated Use lineIds array instead */
|
|
955
|
+
line1Id?: string;
|
|
956
|
+
/** @deprecated Use lineIds array instead */
|
|
957
|
+
line2Id?: string;
|
|
958
|
+
/** Array of line UUIDs to display */
|
|
959
|
+
lineIds?: string[];
|
|
960
|
+
/** Display names for each line, keyed by line ID */
|
|
961
|
+
lineNames?: Record<string, string>;
|
|
947
962
|
/** Name of the factory to display in the header */
|
|
948
963
|
factoryName?: string;
|
|
949
964
|
/** Timezone to use for calculations - defaults to 'Asia/Kolkata' */
|
|
@@ -1453,8 +1468,8 @@ declare const useHistoricWorkspaceMetrics: (workspaceId: string, date?: string,
|
|
|
1453
1468
|
*
|
|
1454
1469
|
* @description This hook retrieves comprehensive data for a line, including its operational metrics and descriptive details.
|
|
1455
1470
|
* It utilizes the `DashboardService` to fetch this information. If the special `lineIdFromProp` 'factory'
|
|
1456
|
-
* (or the configured `entityConfig.factoryViewId`) is provided, it fetches and aggregates data for
|
|
1457
|
-
* configured
|
|
1471
|
+
* (or the configured `entityConfig.factoryViewId`) is provided, it fetches and aggregates data for all
|
|
1472
|
+
* configured lines to provide a factory-level overview.
|
|
1458
1473
|
* The hook also establishes real-time subscriptions to the line metrics table to update data automatically.
|
|
1459
1474
|
*
|
|
1460
1475
|
* @param {string} lineIdFromProp - The unique identifier of the production line. Use 'factory' (or the configured `factoryViewId`)
|
|
@@ -1619,8 +1634,8 @@ type LineKPIsProps = {
|
|
|
1619
1634
|
* @description This hook retrieves and calculates KPIs such as efficiency, output progress, and underperforming workers.
|
|
1620
1635
|
* It leverages the `DashboardService` to first fetch detailed line information (via `getDetailedLineInfo`)
|
|
1621
1636
|
* and then to calculate the KPIs (via `calculateKPIs`). For a 'factory' view (identified by `lineId` matching
|
|
1622
|
-
* `entityConfig.factoryViewId` or the string 'factory'), the service is expected to aggregate data from
|
|
1623
|
-
*
|
|
1637
|
+
* `entityConfig.factoryViewId` or the string 'factory'), the service is expected to aggregate data from all
|
|
1638
|
+
* configured lines.
|
|
1624
1639
|
* The hook implements localStorage caching for KPIs to provide a faster initial load and reduce redundant fetches.
|
|
1625
1640
|
* Real-time subscriptions are established to relevant tables (`line_metrics` and the company-specific performance table)
|
|
1626
1641
|
* to automatically update KPIs when underlying data changes.
|
|
@@ -2589,6 +2604,28 @@ declare const authRateLimitService: {
|
|
|
2589
2604
|
clearAllRateLimits: typeof clearAllRateLimits$1;
|
|
2590
2605
|
};
|
|
2591
2606
|
|
|
2607
|
+
/**
|
|
2608
|
+
* Additional options for Mixpanel initialization specifically for
|
|
2609
|
+
* Session Replay & Heatmap support. All options map 1-to-1 to the
|
|
2610
|
+
* Mixpanel JS SDK `init` options documented here:
|
|
2611
|
+
* https://docs.mixpanel.com/docs/replay/web/
|
|
2612
|
+
*/
|
|
2613
|
+
interface MixpanelSessionOptions {
|
|
2614
|
+
/** Percentage (1 = 1%) of sessions to record. */
|
|
2615
|
+
recordSessionsPercent?: number;
|
|
2616
|
+
/** How long (ms) of user inactivity before ending a recording. */
|
|
2617
|
+
recordIdleTimeoutMs?: number;
|
|
2618
|
+
/** Capture click heat-map data during recorded sessions. */
|
|
2619
|
+
recordHeatmapData?: boolean;
|
|
2620
|
+
/** Enable <canvas> recording (experimental). */
|
|
2621
|
+
recordCanvas?: boolean;
|
|
2622
|
+
/** CSS selector for elements to block from recording (e.g. images). */
|
|
2623
|
+
recordBlockSelector?: string;
|
|
2624
|
+
/** CSS selector for elements whose text should be masked. */
|
|
2625
|
+
recordMaskTextSelector?: string;
|
|
2626
|
+
/** Any additional raw init options the caller wants to forward */
|
|
2627
|
+
[key: string]: unknown;
|
|
2628
|
+
}
|
|
2592
2629
|
/**
|
|
2593
2630
|
* Initializes Mixpanel with the provided token.
|
|
2594
2631
|
* Should be called once from the application setup (e.g., within DashboardProvider)
|
|
@@ -2597,9 +2634,23 @@ declare const authRateLimitService: {
|
|
|
2597
2634
|
* @param debug - Optional. Enable Mixpanel debug mode.
|
|
2598
2635
|
* @param trackPageView - Optional. Enable automatic page view tracking by Mixpanel.
|
|
2599
2636
|
*/
|
|
2600
|
-
declare const initializeCoreMixpanel: (token: string,
|
|
2637
|
+
declare const initializeCoreMixpanel: (token: string, debugOrOptions?: boolean | (MixpanelSessionOptions & {
|
|
2638
|
+
debug?: boolean;
|
|
2639
|
+
trackPageView?: boolean;
|
|
2640
|
+
}), trackPageViewArg?: boolean) => void;
|
|
2601
2641
|
declare const trackCorePageView: (pageName: string, properties?: Record<string, any>) => void;
|
|
2602
2642
|
declare const trackCoreEvent: (eventName: string, properties?: Record<string, any>) => void;
|
|
2643
|
+
/** Manually start Session Replay recording regardless of sampling percent. */
|
|
2644
|
+
declare const startCoreSessionRecording: () => void;
|
|
2645
|
+
/** Manually stop an active Session Replay recording. */
|
|
2646
|
+
declare const stopCoreSessionRecording: () => void;
|
|
2647
|
+
/**
|
|
2648
|
+
* Get the current replay-ID & associated properties ($mp_replay_id) so that
|
|
2649
|
+
* callers can attach it to server-side or 3rd-party events.
|
|
2650
|
+
*/
|
|
2651
|
+
declare const getCoreSessionRecordingProperties: () => Record<string, any>;
|
|
2652
|
+
/** Obtain the absolute Mixpanel URL which allows viewing the current replay. */
|
|
2653
|
+
declare const getCoreSessionReplayUrl: () => string | null;
|
|
2603
2654
|
declare const identifyCoreUser: (userId: string, userProperties?: Record<string, any>) => void;
|
|
2604
2655
|
declare const resetCoreMixpanel: () => void;
|
|
2605
2656
|
|
|
@@ -2625,6 +2676,10 @@ declare class SSEChatClient {
|
|
|
2625
2676
|
companyId: string;
|
|
2626
2677
|
lineId: string;
|
|
2627
2678
|
shiftId: number;
|
|
2679
|
+
allLines?: Array<{
|
|
2680
|
+
id: string;
|
|
2681
|
+
name: string;
|
|
2682
|
+
}>;
|
|
2628
2683
|
}, callbacks: {
|
|
2629
2684
|
onThreadCreated?: (threadId: string) => void;
|
|
2630
2685
|
onMessage?: (text: string) => void;
|
|
@@ -3069,6 +3124,65 @@ declare const preloadS3VideosUrl: (urls: string[]) => void;
|
|
|
3069
3124
|
declare const createThrottledReload: (interval?: number) => () => void;
|
|
3070
3125
|
declare const throttledReloadDashboard: () => void;
|
|
3071
3126
|
|
|
3127
|
+
/**
|
|
3128
|
+
* Line configuration utilities for managing dynamic multi-line support
|
|
3129
|
+
*/
|
|
3130
|
+
/**
|
|
3131
|
+
* Get all configured line IDs from the entity configuration.
|
|
3132
|
+
* Supports both legacy (defaultLineId/secondaryLineId) and new (lines object) formats.
|
|
3133
|
+
*
|
|
3134
|
+
* @param entityConfig - The entity configuration
|
|
3135
|
+
* @returns Array of line IDs
|
|
3136
|
+
*/
|
|
3137
|
+
declare function getConfiguredLineIds(entityConfig: EntityConfig): string[];
|
|
3138
|
+
/**
|
|
3139
|
+
* Get the display name for a line ID.
|
|
3140
|
+
* Supports both legacy (lineNames) and new (lines object) formats.
|
|
3141
|
+
*
|
|
3142
|
+
* @param entityConfig - The entity configuration
|
|
3143
|
+
* @param lineId - The line ID to get the name for
|
|
3144
|
+
* @returns The display name or a fallback
|
|
3145
|
+
*/
|
|
3146
|
+
declare function getLineDisplayName(entityConfig: EntityConfig, lineId: string): string;
|
|
3147
|
+
/**
|
|
3148
|
+
* Get all line display names as a mapping.
|
|
3149
|
+
* Merges both legacy and new formats, with new format taking precedence.
|
|
3150
|
+
*
|
|
3151
|
+
* @param entityConfig - The entity configuration
|
|
3152
|
+
* @returns Record of line ID to display name
|
|
3153
|
+
*/
|
|
3154
|
+
declare function getAllLineDisplayNames(entityConfig: EntityConfig): Record<string, string>;
|
|
3155
|
+
/**
|
|
3156
|
+
* Get the default line ID from configuration.
|
|
3157
|
+
* In new format, it's the first key in the lines object.
|
|
3158
|
+
*
|
|
3159
|
+
* @param entityConfig - The entity configuration
|
|
3160
|
+
* @returns The default line ID or undefined
|
|
3161
|
+
*/
|
|
3162
|
+
declare function getDefaultLineId(entityConfig: EntityConfig): string | undefined;
|
|
3163
|
+
/**
|
|
3164
|
+
* Check if the configuration is using the legacy format.
|
|
3165
|
+
*
|
|
3166
|
+
* @param entityConfig - The entity configuration
|
|
3167
|
+
* @returns True if using legacy format
|
|
3168
|
+
*/
|
|
3169
|
+
declare function isLegacyConfiguration(entityConfig: EntityConfig): boolean;
|
|
3170
|
+
/**
|
|
3171
|
+
* Convert legacy configuration to new format.
|
|
3172
|
+
* This is a helper for migration purposes.
|
|
3173
|
+
*
|
|
3174
|
+
* @param entityConfig - The entity configuration
|
|
3175
|
+
* @returns Updated configuration with lines object
|
|
3176
|
+
*/
|
|
3177
|
+
declare function migrateLegacyConfiguration(entityConfig: EntityConfig): EntityConfig;
|
|
3178
|
+
/**
|
|
3179
|
+
* Validate that required lines are configured for factory view.
|
|
3180
|
+
*
|
|
3181
|
+
* @param entityConfig - The entity configuration
|
|
3182
|
+
* @returns True if configuration is valid for factory view
|
|
3183
|
+
*/
|
|
3184
|
+
declare function isValidFactoryViewConfiguration(entityConfig: EntityConfig): boolean;
|
|
3185
|
+
|
|
3072
3186
|
/**
|
|
3073
3187
|
* Format idle time from seconds to a human-readable format
|
|
3074
3188
|
* @param idleTimeInSeconds - Idle time in seconds
|
|
@@ -4872,4 +4986,4 @@ interface ThreadSidebarProps {
|
|
|
4872
4986
|
}
|
|
4873
4987
|
declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
|
|
4874
4988
|
|
|
4875
|
-
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, KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_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, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingSpinner, 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, 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, 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, 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, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultTabForWorkspace, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isTransitionPeriod, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, optifyeAgentClient, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetSubscriptionManager, s3VideoPreloader, skuService, 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 };
|
|
4989
|
+
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, KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_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, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingSpinner, 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, 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, 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, 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, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, migrateLegacyConfiguration, optifyeAgentClient, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, 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 };
|