@optifye/dashboard-core 6.10.35 → 6.10.36
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 +171 -48
- package/dist/index.d.mts +171 -59
- package/dist/index.d.ts +171 -59
- package/dist/index.js +2710 -1304
- package/dist/index.mjs +2707 -1306
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -39,6 +39,7 @@ interface LineInfo {
|
|
|
39
39
|
shift_end?: string;
|
|
40
40
|
last_updated?: string;
|
|
41
41
|
poorest_performing_workspaces?: PoorPerformingWorkspace[];
|
|
42
|
+
avg_idle_time_seconds?: number;
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
interface PoorPerformingWorkspace {
|
|
@@ -63,6 +64,7 @@ interface WorkspaceMetrics {
|
|
|
63
64
|
efficiency: number;
|
|
64
65
|
action_threshold: number;
|
|
65
66
|
displayName?: string;
|
|
67
|
+
monitoring_mode?: 'output' | 'uptime';
|
|
66
68
|
/**
|
|
67
69
|
* When present, controls whether the UI should show the exclamation indicator for this workstation.
|
|
68
70
|
* - Flow-configured lines: true only when a WIP alert is active for a buffer that outputs to this workstation.
|
|
@@ -80,6 +82,7 @@ interface WorkspaceDetailedMetrics {
|
|
|
80
82
|
date: string;
|
|
81
83
|
shift_id: number;
|
|
82
84
|
action_name: string;
|
|
85
|
+
monitoring_mode?: 'output' | 'uptime';
|
|
83
86
|
shift_start: string;
|
|
84
87
|
shift_end: string;
|
|
85
88
|
shift_type: string;
|
|
@@ -125,6 +128,30 @@ interface DashboardKPIs {
|
|
|
125
128
|
change: number;
|
|
126
129
|
};
|
|
127
130
|
}
|
|
131
|
+
interface ValueDelta {
|
|
132
|
+
current: number | null;
|
|
133
|
+
previous: number | null;
|
|
134
|
+
}
|
|
135
|
+
interface PercentageDelta extends ValueDelta {
|
|
136
|
+
delta_pp: number | null;
|
|
137
|
+
}
|
|
138
|
+
interface CountDelta extends ValueDelta {
|
|
139
|
+
delta_count: number | null;
|
|
140
|
+
}
|
|
141
|
+
interface DurationDelta extends ValueDelta {
|
|
142
|
+
delta_seconds: number | null;
|
|
143
|
+
}
|
|
144
|
+
interface KpiTrend {
|
|
145
|
+
efficiency: PercentageDelta;
|
|
146
|
+
outputProgress: PercentageDelta;
|
|
147
|
+
underperformingWorkers: CountDelta;
|
|
148
|
+
avgCycleTime: DurationDelta;
|
|
149
|
+
}
|
|
150
|
+
interface MonthlyTrendSummary {
|
|
151
|
+
avg_efficiency?: PercentageDelta;
|
|
152
|
+
avg_daily_output?: PercentageDelta;
|
|
153
|
+
avg_cycle_time?: DurationDelta;
|
|
154
|
+
}
|
|
128
155
|
|
|
129
156
|
/**
|
|
130
157
|
* Represents the current operational shift information.
|
|
@@ -821,6 +848,7 @@ interface SimpleLine {
|
|
|
821
848
|
company_id: string;
|
|
822
849
|
company_name: string;
|
|
823
850
|
enable: boolean;
|
|
851
|
+
monitoring_mode?: 'output' | 'uptime';
|
|
824
852
|
}
|
|
825
853
|
interface WorkspaceMonthlyMetric {
|
|
826
854
|
date: string;
|
|
@@ -1046,6 +1074,30 @@ interface LeaderboardDetailViewProps {
|
|
|
1046
1074
|
userAccessibleLineIds?: string[];
|
|
1047
1075
|
}
|
|
1048
1076
|
|
|
1077
|
+
interface SupervisorDetail {
|
|
1078
|
+
user_id: string;
|
|
1079
|
+
first_name?: string | null;
|
|
1080
|
+
last_name?: string | null;
|
|
1081
|
+
profile_photo_url?: string | null;
|
|
1082
|
+
}
|
|
1083
|
+
interface WeeklyTopPerformerRecord {
|
|
1084
|
+
top_performer_id: string;
|
|
1085
|
+
recipient_user_id: string;
|
|
1086
|
+
recipient_user_ids?: string[] | null;
|
|
1087
|
+
recipient_name?: string | null;
|
|
1088
|
+
first_name?: string | null;
|
|
1089
|
+
last_name?: string | null;
|
|
1090
|
+
profile_photo_url?: string | null;
|
|
1091
|
+
period_start: string;
|
|
1092
|
+
period_end: string;
|
|
1093
|
+
avg_efficiency?: number | null;
|
|
1094
|
+
line_ids?: string[] | null;
|
|
1095
|
+
unit?: string | null;
|
|
1096
|
+
winning_line_id?: string | null;
|
|
1097
|
+
winning_line_name?: string | null;
|
|
1098
|
+
supervisors?: SupervisorDetail[] | null;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1049
1101
|
type AwardType = 'top_efficiency' | 'most_improved';
|
|
1050
1102
|
type AwardNotificationType = 'recipient' | 'congrats';
|
|
1051
1103
|
interface AwardRecord {
|
|
@@ -1071,28 +1123,8 @@ interface AwardNotificationRecord {
|
|
|
1071
1123
|
interface TopPerformerRecord {
|
|
1072
1124
|
award_id: string;
|
|
1073
1125
|
recipient_user_id: string;
|
|
1074
|
-
recipient_name?: string | null;
|
|
1075
|
-
period_start: string;
|
|
1076
|
-
period_end: string;
|
|
1077
|
-
avg_efficiency?: number | null;
|
|
1078
|
-
line_ids?: string[] | null;
|
|
1079
|
-
unit?: string | null;
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
interface SupervisorDetail {
|
|
1083
|
-
user_id: string;
|
|
1084
|
-
first_name?: string | null;
|
|
1085
|
-
last_name?: string | null;
|
|
1086
|
-
profile_photo_url?: string | null;
|
|
1087
|
-
}
|
|
1088
|
-
interface WeeklyTopPerformerRecord {
|
|
1089
|
-
top_performer_id: string;
|
|
1090
|
-
recipient_user_id: string;
|
|
1091
1126
|
recipient_user_ids?: string[] | null;
|
|
1092
1127
|
recipient_name?: string | null;
|
|
1093
|
-
first_name?: string | null;
|
|
1094
|
-
last_name?: string | null;
|
|
1095
|
-
profile_photo_url?: string | null;
|
|
1096
1128
|
period_start: string;
|
|
1097
1129
|
period_end: string;
|
|
1098
1130
|
avg_efficiency?: number | null;
|
|
@@ -1101,6 +1133,9 @@ interface WeeklyTopPerformerRecord {
|
|
|
1101
1133
|
winning_line_id?: string | null;
|
|
1102
1134
|
winning_line_name?: string | null;
|
|
1103
1135
|
supervisors?: SupervisorDetail[] | null;
|
|
1136
|
+
profile_photo_url?: string | null;
|
|
1137
|
+
first_name?: string | null;
|
|
1138
|
+
last_name?: string | null;
|
|
1104
1139
|
}
|
|
1105
1140
|
|
|
1106
1141
|
/**
|
|
@@ -2022,11 +2057,11 @@ interface UptimeDetails {
|
|
|
2022
2057
|
percentage: number;
|
|
2023
2058
|
lastCalculated: string;
|
|
2024
2059
|
}
|
|
2025
|
-
type UptimeStatus = 'up' | 'down' | 'pending';
|
|
2060
|
+
type UptimeStatus$1 = 'up' | 'down' | 'pending';
|
|
2026
2061
|
interface WorkspaceUptimeTimelinePoint {
|
|
2027
2062
|
minuteIndex: number;
|
|
2028
2063
|
timestamp: string;
|
|
2029
|
-
status: UptimeStatus;
|
|
2064
|
+
status: UptimeStatus$1;
|
|
2030
2065
|
}
|
|
2031
2066
|
interface WorkspaceDowntimeSegment {
|
|
2032
2067
|
startMinuteIndex: number;
|
|
@@ -2697,6 +2732,7 @@ interface HistoricWorkspaceMetrics {
|
|
|
2697
2732
|
shift_start: string;
|
|
2698
2733
|
shift_end: string;
|
|
2699
2734
|
action_name: string;
|
|
2735
|
+
monitoring_mode?: 'output' | 'uptime';
|
|
2700
2736
|
workspace_rank: number;
|
|
2701
2737
|
total_workspaces: number;
|
|
2702
2738
|
ideal_output_until_now: number;
|
|
@@ -3052,6 +3088,7 @@ interface LineRecord {
|
|
|
3052
3088
|
company_id: string;
|
|
3053
3089
|
factory_id?: string;
|
|
3054
3090
|
enable: boolean;
|
|
3091
|
+
monitoring_mode?: 'output' | 'uptime';
|
|
3055
3092
|
}
|
|
3056
3093
|
/**
|
|
3057
3094
|
* Hook to fetch all lines from the database
|
|
@@ -4033,6 +4070,35 @@ type UseOperationalShiftKeyResult = {
|
|
|
4033
4070
|
};
|
|
4034
4071
|
declare const useOperationalShiftKey: ({ enabled, timezone, shiftConfig, pollIntervalMs, }: UseOperationalShiftKeyParams) => UseOperationalShiftKeyResult;
|
|
4035
4072
|
|
|
4073
|
+
interface UseKpiTrendsOptions {
|
|
4074
|
+
lineIds: string[];
|
|
4075
|
+
date: string;
|
|
4076
|
+
shiftId: number;
|
|
4077
|
+
companyId?: string;
|
|
4078
|
+
}
|
|
4079
|
+
interface UseKpiTrendsResult {
|
|
4080
|
+
trend: KpiTrend | null;
|
|
4081
|
+
isLoading: boolean;
|
|
4082
|
+
error: Error | null;
|
|
4083
|
+
}
|
|
4084
|
+
declare const useKpiTrends: (options: UseKpiTrendsOptions | null) => UseKpiTrendsResult;
|
|
4085
|
+
|
|
4086
|
+
type EntityType = 'line' | 'workspace';
|
|
4087
|
+
interface UseMonthlyTrendParams {
|
|
4088
|
+
entityType: EntityType;
|
|
4089
|
+
entityId: string | null | undefined;
|
|
4090
|
+
month: number;
|
|
4091
|
+
year: number;
|
|
4092
|
+
shiftId?: number;
|
|
4093
|
+
companyId?: string;
|
|
4094
|
+
}
|
|
4095
|
+
interface UseMonthlyTrendResult {
|
|
4096
|
+
trendSummary: MonthlyTrendSummary | null;
|
|
4097
|
+
isLoading: boolean;
|
|
4098
|
+
error: Error | null;
|
|
4099
|
+
}
|
|
4100
|
+
declare const useMonthlyTrend: (params: UseMonthlyTrendParams) => UseMonthlyTrendResult;
|
|
4101
|
+
|
|
4036
4102
|
/**
|
|
4037
4103
|
* Interface for navigation method used across packages
|
|
4038
4104
|
* Abstracts navigation implementation details from components
|
|
@@ -5122,6 +5188,14 @@ declare const dashboardService: {
|
|
|
5122
5188
|
getWorkspaceMonthlyData(workspaceUuid: string, month: number, year: number): Promise<WorkspaceMonthlyMetric[]>;
|
|
5123
5189
|
getLineMonthlyData(lineIdInput: string, month: number, year: number): Promise<LineMonthlyMetric[]>;
|
|
5124
5190
|
getUnderperformingWorkspaces(lineIdInput: string, monthInput: number | undefined, yearInput: number | undefined, shiftIds?: number[], startDate?: string, endDate?: string): Promise<UnderperformingWorkspaces>;
|
|
5191
|
+
getLineAverageIdleTime(lineId: string, date: string, shiftId: number, companyId: string): Promise<{
|
|
5192
|
+
line_id: string;
|
|
5193
|
+
date: string;
|
|
5194
|
+
shift_id: number;
|
|
5195
|
+
avg_idle_time_seconds: number;
|
|
5196
|
+
total_idle_time_seconds: number;
|
|
5197
|
+
workspace_count: number;
|
|
5198
|
+
}>;
|
|
5125
5199
|
getSopViolations(): never[];
|
|
5126
5200
|
};
|
|
5127
5201
|
type DashboardService = typeof dashboardService;
|
|
@@ -5685,6 +5759,7 @@ interface Line$1 {
|
|
|
5685
5759
|
isActive: boolean;
|
|
5686
5760
|
createdAt?: string;
|
|
5687
5761
|
factoryId?: string;
|
|
5762
|
+
monitoringMode?: 'output' | 'uptime';
|
|
5688
5763
|
}
|
|
5689
5764
|
/**
|
|
5690
5765
|
* Service for managing lines data
|
|
@@ -6073,7 +6148,7 @@ declare const awardsService: {
|
|
|
6073
6148
|
getMyAwards(supabase: SupabaseClient$1): Promise<AwardRecord[]>;
|
|
6074
6149
|
getNotifications(supabase: SupabaseClient$1): Promise<AwardNotificationRecord[]>;
|
|
6075
6150
|
markNotificationsRead(supabase: SupabaseClient$1, notificationIds: string[]): Promise<number>;
|
|
6076
|
-
getTopPerformer(supabase: SupabaseClient$1): Promise<TopPerformerRecord | null>;
|
|
6151
|
+
getTopPerformer(supabase: SupabaseClient$1, companyId?: string): Promise<TopPerformerRecord | null>;
|
|
6077
6152
|
};
|
|
6078
6153
|
|
|
6079
6154
|
declare const weeklyTopPerformerService: {
|
|
@@ -6096,6 +6171,7 @@ declare const lineLeaderboardService: {
|
|
|
6096
6171
|
startDate: string;
|
|
6097
6172
|
endDate: string;
|
|
6098
6173
|
lineIds?: string[];
|
|
6174
|
+
lineMode?: "output" | "uptime";
|
|
6099
6175
|
limit?: number;
|
|
6100
6176
|
}): Promise<LineLeaderboardEntry[]>;
|
|
6101
6177
|
getDailyLineLeaderboard(supabase: SupabaseClient$1, params: {
|
|
@@ -6103,6 +6179,7 @@ declare const lineLeaderboardService: {
|
|
|
6103
6179
|
date: string;
|
|
6104
6180
|
shiftId: number;
|
|
6105
6181
|
lineIds?: string[];
|
|
6182
|
+
lineMode?: "output" | "uptime";
|
|
6106
6183
|
limit?: number;
|
|
6107
6184
|
}): Promise<DailyLineLeaderboardEntry[]>;
|
|
6108
6185
|
};
|
|
@@ -6915,6 +6992,41 @@ interface PieChartProps {
|
|
|
6915
6992
|
}
|
|
6916
6993
|
declare const PieChart: React__default.FC<PieChartProps>;
|
|
6917
6994
|
|
|
6995
|
+
type UptimeStatus = 'active' | 'idle' | 'unknown';
|
|
6996
|
+
interface UptimePoint {
|
|
6997
|
+
minuteIndex: number;
|
|
6998
|
+
timeLabel: string;
|
|
6999
|
+
uptime: number | null;
|
|
7000
|
+
status: UptimeStatus;
|
|
7001
|
+
}
|
|
7002
|
+
|
|
7003
|
+
interface UptimeLineChartProps {
|
|
7004
|
+
points: UptimePoint[];
|
|
7005
|
+
className?: string;
|
|
7006
|
+
}
|
|
7007
|
+
declare const UptimeLineChart: React__default.NamedExoticComponent<UptimeLineChartProps>;
|
|
7008
|
+
|
|
7009
|
+
interface HourlyUptimeChartProps {
|
|
7010
|
+
idleTimeHourly?: Record<string, any> | null;
|
|
7011
|
+
shiftStart?: string | null;
|
|
7012
|
+
shiftEnd?: string | null;
|
|
7013
|
+
shiftDate?: string | null;
|
|
7014
|
+
timezone?: string | null;
|
|
7015
|
+
elapsedMinutes?: number | null;
|
|
7016
|
+
className?: string;
|
|
7017
|
+
}
|
|
7018
|
+
declare const HourlyUptimeChart: React__default.NamedExoticComponent<HourlyUptimeChartProps>;
|
|
7019
|
+
|
|
7020
|
+
interface UptimeDonutChartProps {
|
|
7021
|
+
data: Array<{
|
|
7022
|
+
name: string;
|
|
7023
|
+
value: number;
|
|
7024
|
+
}>;
|
|
7025
|
+
className?: string;
|
|
7026
|
+
colors?: string[];
|
|
7027
|
+
}
|
|
7028
|
+
declare const UptimeDonutChart: React__default.NamedExoticComponent<UptimeDonutChartProps>;
|
|
7029
|
+
|
|
6918
7030
|
type TrendDirection = 'up' | 'down' | 'neutral';
|
|
6919
7031
|
interface MetricCardProps$1 {
|
|
6920
7032
|
title: string;
|
|
@@ -7279,6 +7391,7 @@ interface LineHistoryCalendarProps {
|
|
|
7279
7391
|
lineId: string;
|
|
7280
7392
|
/** Numeric shift ID (0, 1, 2, ...) - supports multi-shift */
|
|
7281
7393
|
selectedShiftId: number;
|
|
7394
|
+
legend?: EfficiencyLegendUpdate;
|
|
7282
7395
|
/** Inclusive range start (YYYY-MM-DD) */
|
|
7283
7396
|
rangeStart?: string;
|
|
7284
7397
|
/** Inclusive range end (YYYY-MM-DD) */
|
|
@@ -7322,6 +7435,7 @@ interface LineMonthlyHistoryProps {
|
|
|
7322
7435
|
rangeStart: string;
|
|
7323
7436
|
rangeEnd: string;
|
|
7324
7437
|
timezone: string;
|
|
7438
|
+
legend?: EfficiencyLegendUpdate;
|
|
7325
7439
|
/** Underperforming workspaces keyed by shift_id (0, 1, 2, ...) */
|
|
7326
7440
|
underperformingWorkspaces: Record<number, WorkspacePerformance$1[]>;
|
|
7327
7441
|
lineId: string;
|
|
@@ -7342,6 +7456,7 @@ interface LineMonthlyHistoryProps {
|
|
|
7342
7456
|
onCalendarMonthChange?: (newMonthDate: Date) => void;
|
|
7343
7457
|
isLoading?: boolean;
|
|
7344
7458
|
className?: string;
|
|
7459
|
+
trendSummary?: MonthlyTrendSummary | null;
|
|
7345
7460
|
}
|
|
7346
7461
|
declare const LineMonthlyHistory: React__default.FC<LineMonthlyHistoryProps>;
|
|
7347
7462
|
|
|
@@ -7375,6 +7490,7 @@ interface LineMonthlyPdfGeneratorProps {
|
|
|
7375
7490
|
analysisData?: LineDayData[];
|
|
7376
7491
|
/** Underperforming workspaces keyed by shift_id (0, 1, 2, ...) */
|
|
7377
7492
|
underperformingWorkspaces: Record<number, WorkspacePerformance[]>;
|
|
7493
|
+
legend?: EfficiencyLegendUpdate;
|
|
7378
7494
|
selectedMonth: number;
|
|
7379
7495
|
selectedYear: number;
|
|
7380
7496
|
rangeStart?: string;
|
|
@@ -7444,10 +7560,23 @@ interface KPICardProps {
|
|
|
7444
7560
|
* Optional numerical change value (e.g., 5.2 for +5.2%)
|
|
7445
7561
|
*/
|
|
7446
7562
|
change?: number;
|
|
7563
|
+
/**
|
|
7564
|
+
* Whether to render 0% change (default: false)
|
|
7565
|
+
*/
|
|
7566
|
+
showZeroChange?: boolean;
|
|
7447
7567
|
/**
|
|
7448
7568
|
* Optional unit/suffix to display next to the value (e.g., '%', 'units')
|
|
7449
7569
|
*/
|
|
7450
7570
|
suffix?: string;
|
|
7571
|
+
/**
|
|
7572
|
+
* Optional label to display after the change percentage (e.g. "this hour")
|
|
7573
|
+
*/
|
|
7574
|
+
trendLabel?: string;
|
|
7575
|
+
/**
|
|
7576
|
+
* Style of the trend indicator
|
|
7577
|
+
* @default 'default'
|
|
7578
|
+
*/
|
|
7579
|
+
trendMode?: 'default' | 'pill';
|
|
7451
7580
|
/**
|
|
7452
7581
|
* Optional additional/secondary metric to display
|
|
7453
7582
|
*/
|
|
@@ -7571,6 +7700,7 @@ interface WorkspaceMonthlyHistoryProps {
|
|
|
7571
7700
|
year: number;
|
|
7572
7701
|
workspaceId: string;
|
|
7573
7702
|
lineId?: string;
|
|
7703
|
+
monitoringMode?: 'output' | 'uptime';
|
|
7574
7704
|
rangeStart: string;
|
|
7575
7705
|
rangeEnd: string;
|
|
7576
7706
|
timezone: string;
|
|
@@ -7592,6 +7722,7 @@ interface WorkspaceMonthlyHistoryProps {
|
|
|
7592
7722
|
}>;
|
|
7593
7723
|
monthlyDataLoading?: boolean;
|
|
7594
7724
|
className?: string;
|
|
7725
|
+
trendSummary?: MonthlyTrendSummary | null;
|
|
7595
7726
|
}
|
|
7596
7727
|
declare const WorkspaceMonthlyHistory: React__default.FC<WorkspaceMonthlyHistoryProps>;
|
|
7597
7728
|
|
|
@@ -7620,6 +7751,7 @@ interface WorkspaceMonthlyPdfGeneratorProps {
|
|
|
7620
7751
|
analysisData?: DayData[];
|
|
7621
7752
|
selectedMonth: number;
|
|
7622
7753
|
selectedYear: number;
|
|
7754
|
+
monitoringMode?: 'output' | 'uptime';
|
|
7623
7755
|
rangeStart?: string;
|
|
7624
7756
|
rangeEnd?: string;
|
|
7625
7757
|
/** Numeric shift ID (0, 1, 2, ...) - supports multi-shift */
|
|
@@ -7629,6 +7761,7 @@ interface WorkspaceMonthlyPdfGeneratorProps {
|
|
|
7629
7761
|
id: number;
|
|
7630
7762
|
name: string;
|
|
7631
7763
|
}>;
|
|
7764
|
+
shiftConfig?: ShiftConfig | null;
|
|
7632
7765
|
efficiencyLegend?: EfficiencyLegendUpdate;
|
|
7633
7766
|
className?: string;
|
|
7634
7767
|
/** If true, show compact button with just "PDF" text */
|
|
@@ -7644,6 +7777,16 @@ interface WorkspaceMetricCardsProps {
|
|
|
7644
7777
|
declare const WorkspaceMetricCardsImpl: React__default.FC<WorkspaceMetricCardsProps>;
|
|
7645
7778
|
declare const WorkspaceMetricCards: React__default.FC<WorkspaceMetricCardsProps>;
|
|
7646
7779
|
|
|
7780
|
+
interface UptimeMetricCardsProps {
|
|
7781
|
+
workspace: WorkspaceDetailedMetrics;
|
|
7782
|
+
uptimePieData?: {
|
|
7783
|
+
name: string;
|
|
7784
|
+
value: number;
|
|
7785
|
+
}[];
|
|
7786
|
+
className?: string;
|
|
7787
|
+
}
|
|
7788
|
+
declare const UptimeMetricCards: React__default.FC<UptimeMetricCardsProps>;
|
|
7789
|
+
|
|
7647
7790
|
/**
|
|
7648
7791
|
* LiveTimer component that displays the current time in database timezone
|
|
7649
7792
|
* This is used in the workspace detail view to show real-time updates
|
|
@@ -8478,6 +8621,10 @@ interface HlsVideoPlayerProps {
|
|
|
8478
8621
|
onSeeked?: (player: any) => void;
|
|
8479
8622
|
/** Optional click handler for the video container (for YouTube-style click-to-play/pause) */
|
|
8480
8623
|
onClick?: () => void;
|
|
8624
|
+
/** Share functionality */
|
|
8625
|
+
onShare?: () => void;
|
|
8626
|
+
isShareLoading?: boolean;
|
|
8627
|
+
isShareCopied?: boolean;
|
|
8481
8628
|
}
|
|
8482
8629
|
type VideoPlayerRef = HlsVideoPlayerRef;
|
|
8483
8630
|
type VideoPlayerProps = HlsVideoPlayerProps;
|
|
@@ -9001,41 +9148,6 @@ interface UserUsageDetailModalProps {
|
|
|
9001
9148
|
*/
|
|
9002
9149
|
declare const UserUsageDetailModal: React__default.FC<UserUsageDetailModalProps>;
|
|
9003
9150
|
|
|
9004
|
-
/**
|
|
9005
|
-
* TeamUsagePdfGenerator Component
|
|
9006
|
-
* Generates a PDF usage report for all plant heads and supervisors
|
|
9007
|
-
*/
|
|
9008
|
-
|
|
9009
|
-
interface TeamUsagePdfGeneratorProps {
|
|
9010
|
-
/** List of users to include in the report */
|
|
9011
|
-
users: CompanyUserWithDetails[];
|
|
9012
|
-
/** Usage data by user_id - total duration in ms for the date range */
|
|
9013
|
-
usageData: {
|
|
9014
|
-
users: Array<{
|
|
9015
|
-
user_id: string;
|
|
9016
|
-
email: string;
|
|
9017
|
-
full_name: string;
|
|
9018
|
-
role: string;
|
|
9019
|
-
total_duration_ms: number;
|
|
9020
|
-
active_duration_ms: number;
|
|
9021
|
-
passive_duration_ms: number;
|
|
9022
|
-
}>;
|
|
9023
|
-
date_range: {
|
|
9024
|
-
start_date: string;
|
|
9025
|
-
end_date: string;
|
|
9026
|
-
};
|
|
9027
|
-
} | null;
|
|
9028
|
-
/** Number of days in the date range for calculating daily average */
|
|
9029
|
-
daysInRange?: number;
|
|
9030
|
-
/** Report title */
|
|
9031
|
-
title?: string;
|
|
9032
|
-
/** CSS class for the button */
|
|
9033
|
-
className?: string;
|
|
9034
|
-
/** Show only icon without text (for mobile) */
|
|
9035
|
-
iconOnly?: boolean;
|
|
9036
|
-
}
|
|
9037
|
-
declare const TeamUsagePdfGenerator: React__default.FC<TeamUsagePdfGeneratorProps>;
|
|
9038
|
-
|
|
9039
9151
|
type AcceptInviteViewProps = AcceptInviteProps;
|
|
9040
9152
|
/**
|
|
9041
9153
|
* Accept Invite View - wrapper for the AcceptInvite component
|
|
@@ -9673,4 +9785,4 @@ interface ThreadSidebarProps {
|
|
|
9673
9785
|
}
|
|
9674
9786
|
declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
|
|
9675
9787
|
|
|
9676
|
-
export { ACTION_NAMES, AIAgentView, AcceptInvite, type AcceptInviteProps, AcceptInviteView, type AcceptInviteViewProps, type AccessControlReturn, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, AdvancedFilterDialog, AdvancedFilterPanel, type AnalyticsConfig, type AssignUserToFactoriesInput, type AssignUserToLinesInput, AudioService, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, AuthService, type AuthUser, AuthenticatedBottleneckClipsView, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedShiftsView, AuthenticatedTargetsView, AuthenticatedTicketsView, AuthenticatedWorkspaceHealthView, AvatarUpload, type AvatarUploadProps, type AwardBadgeType, type AwardNotificationRecord, type AwardNotificationType, type AwardRecord, type AwardType, AxelNotificationPopup, type AxelNotificationPopupProps, AxelOrb, type AxelOrbProps, type AxelSuggestion, BackButton, BackButtonMinimal, BarChart, type BarChartDataItem, type BarChartProps, type BarProps, BaseHistoryCalendar, type BaseHistoryCalendarProps, type BaseLineMetric, type BasePerformanceMetric, BottleneckClipsModal, type BottleneckClipsModalProps, type BottleneckClipsNavigationParams, BottleneckClipsView, type BottleneckClipsViewProps, type BottleneckFilterType, type BottleneckVideo, type BottleneckVideoData, BottlenecksContent, type BottlenecksContentProps, type BreadcrumbItem, type Break, BreakNotificationPopup, type BreakNotificationPopupProps, type BreakRowProps, type CacheEntryWithPrefetch, CachePrefetchStatus, type CachePrefetchStatusCallback, type CalendarShiftData, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChangeRoleDialog, type ChangeRoleDialogProps, type ChatMessage, type ChatThread, type CleanupFunction, type ClipCounts, type ClipCountsWithIndex, ClipFilterProvider, type ClipFilterState, type ClipsConfig, CompactWorkspaceHealthCard, type CompanyUsageReport, type CompanyUser, type CompanyUserUsageSummary, type CompanyUserWithDetails, type ComponentOverride, ConfirmRemoveUserDialog, type ConfirmRemoveUserDialogProps, CongratulationsOverlay, type CongratulationsOverlayProps, type CoreComponents, type CreateInvitationInput, type CropConfig, CroppedHlsVideoPlayer, type CroppedHlsVideoPlayerProps, CroppedVideoPlayer, type CroppedVideoPlayerProps, 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_HOME_VIEW_CONFIG, DEFAULT_MAP_VIEW_CONFIG, DEFAULT_SHIFT_CONFIG, DEFAULT_SHIFT_DATA, 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 DateKeyRange, type DateTimeConfig, DateTimeDisplay, type DateTimeDisplayProps, type DayData, type DayHistoryData, type DaySummaryData, DebugAuth, DebugAuthView, DetailedHealthStatus, type DiagnosisOption$1 as DiagnosisOption, DiagnosisVideoModal, type DynamicLineShiftConfig, EmptyStateMessage, type EmptyStateMessageProps, EncouragementOverlay, type EndpointsConfig, type EntityConfig, type ErrorCallback$1 as ErrorCallback, type ExtendedCacheMetrics, type Factory, FactoryAssignmentDropdown, type FactoryAssignmentDropdownProps, type FactoryOverviewMetrics, FactoryView, type FactoryViewProps, type FetchIdleTimeReasonsParams, FileManagerFilters, FileManagerFilters as FileManagerFiltersProps, FilterDialogTrigger, FirstTimeLoginDebug, FirstTimeLoginHandler, FittingTitle, type FormatNumberOptions, type FullyIndexedCallback$1 as FullyIndexedCallback, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, HamburgerButton, type HamburgerButtonProps, Header, type HeaderProps, type HealthAlertConfig, type HealthAlertHistory, HealthDateShiftSelector, type HealthFilterOptions, type HealthMetrics, type HealthStatus, HealthStatusGrid, HealthStatusIndicator, type HealthSummary, HelpView, type HelpViewProps, type HistoricWorkspaceMetrics, type HistoryCalendarProps, HlsVideoPlayer, type HlsVideoPlayerProps, type HlsVideoPlayerRef, HomeView, type HomeViewConfig, type HookOverride, type HourlyAchievement, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, type IPrefetchManager, type ISTDateProps, ISTTimer, type ISTTimerProps, type IdleTimeClipMetadata, type IdleTimeReason, type IdleTimeReasonData, type IdleTimeReasonsData, type IdleTimeReasonsResponse, IdleTimeVlmConfigProvider, ImprovementCenterView, InlineEditableText, InteractiveOnboardingTour, InvitationService, type InvitationWithDetails, InvitationsTable, InviteUserDialog, KPICard, type KPICardProps, KPIDetailViewWithDisplayNames as KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, LeaderboardDetailViewWithDisplayNames as LeaderboardDetailView, type LeaderboardDetailViewProps, type LeaderboardEntry, Legend, LineAssignmentDropdown, type LineAssignmentDropdownProps, 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 LineRecord, type LineShiftConfig, type LineShiftInfo, type LineSnapshot, type LineSupervisor, type LineThreshold, LineWhatsAppShareButton, type LineWhatsAppShareProps, LinesService, LiveTimer, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingState, LoadingState as LoadingStateProps, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, Logo, type LogoProps, MainLayout, type MainLayoutProps, MapGridView, type MapViewConfig, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, MinimalOnboardingPopup, type MixpanelSessionOptions, MobileMenuProvider, type MobileMenuProviderProps, type MonthWeekRange, type NavItem, type NavItemTrackingEvent, type NavigationMethod, NewClipsNotification, type NewClipsNotificationProps, NoWorkspaceData, OnboardingDemo, OnboardingTour, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, PieChart, type PieChartProps, PlayPauseIndicator, type PlayPauseIndicatorProps, type PoorPerformingWorkspace, PrefetchConfigurationError, PrefetchError, PrefetchEvents, type PrefetchKey, type PrefetchManagerConfig, type PrefetchManagerStats, type PrefetchOptions, type PrefetchParams$1 as PrefetchParams, type PrefetchRequest, type PrefetchResult, PrefetchStatus$1 as PrefetchStatus, type PrefetchStatusResult, type PrefetchSubscriptionCallbacks, PrefetchTimeoutError, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeLineMetricsProps, type RealtimeService, RegistryProvider, type RenderReadyCallback$1 as RenderReadyCallback, RoleBadge, type RoutePath, type S3ClipsAPIParams, S3ClipsSupabaseService as S3ClipsService, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory$1 as SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SessionTracker, SessionTrackingContext, SessionTrackingProvider, SettingsPopup, type SettingsPopupItem, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData, type ShiftDefinition, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftLineGroup, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, SignupWithInvitation, type SignupWithInvitationProps, SilentErrorBoundary, type SimpleLine, SimpleOnboardingPopup, SingleVideoStream, type SingleVideoStreamProps, Skeleton, type StatusChangeCallback$1 as StatusChangeCallback, type StorageService, type StreamProxyConfig, type SubscriberId, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Supervisor, type SupervisorAssignment, type SupervisorConfig, type SupervisorDetail, SupervisorDropdown, type SupervisorDropdownProps, type SupervisorLine, type SupervisorManagementData, SupervisorManagementView, type SupervisorManagementViewProps, SupervisorService, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type TeamManagementPermissions, TeamManagementView, type TeamManagementViewProps, TeamUsagePdfGenerator, type TeamUsagePdfGeneratorProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TicketHistory, TicketHistoryService, type TicketsConfig, TicketsView, type TicketsViewProps, TimeDisplay, TimePickerDropdown, Timer, TimezoneProvider, TimezoneService, type TodayUsage, type TodayUsageData, type TodayUsageReport, type TopPerformerRecord, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UpdateUserNameInput, type UpdateUserProfileInput, type UpdateUserRoleInput, type UptimeDetails, type UptimeStatus, type UsageBreakdown, type UseActiveBreaksResult, type UseAllWorkspaceMetricsOptions, type UseClipTypesResult, type UseCompanyUsersUsageOptions, type UseCompanyUsersUsageReturn, type UseDashboardMetricsProps, type UseDynamicShiftConfigResult, type UseFormatNumberResult, type UseIdleTimeReasonsProps, type UseIdleTimeReasonsResult, type UseLineShiftConfigResult, type UseLineWorkspaceMetricsOptions, type UseMessagesResult, type UseMultiLineShiftConfigsResult, type UsePrefetchClipCountsOptions$1 as UsePrefetchClipCountsOptions, type UsePrefetchClipCountsResult$1 as UsePrefetchClipCountsResult, type UseRealtimeLineMetricsProps, type UseSupervisorsByLineIdsResult, type UseTargetsOptions, type UseThreadsResult, type UseTicketHistoryReturn, type UseUserUsageOptions, type UseUserUsageReturn, type UseWorkspaceHealthByIdOptions, type UseWorkspaceHealthStatusReturn, type UseWorkspaceOperatorsOptions, type UseWorkspaceUptimeTimelineOptions, type UseWorkspaceUptimeTimelineResult, UserAvatar, type UserAvatarProps, type UserInvitation, UserManagementService, UserManagementTable, type UserProfileConfig, type UserRole, type UserRoleLevel, UserService, type UserUsageDetail, UserUsageDetailModal, type UserUsageDetailModalProps, type UserUsageInfo, UserUsageStats, type UserUsageStatsProps, type UserUsageSummary, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoIndex, type VideoIndexEntry, type VideoMetadata, VideoPlayer, type VideoPlayerProps, type VideoPlayerRef, VideoPreloader, type VideoSeverity, type VideoSummary, type VideoType, WORKSPACE_POSITIONS, type WeeklyTopPerformerRecord, type WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig$1 as WorkspaceConfig, type WorkspaceCropRect, WrappedComponent as WorkspaceDetailView, type WorkspaceDetailedMetrics, WorkspaceDisplayNameExample, type WorkspaceDowntimeSegment, WorkspaceGrid, WorkspaceGridItem, type WorkspaceGridItemProps, type WorkspaceGridPosition, type WorkspaceHealth, WorkspaceHealthCard, type WorkspaceHealthInfo, type WorkspaceHealthStatusData, _default as WorkspaceHealthView, type WorkspaceHealthWithStatus, WorkspaceHistoryCalendar, WorkspaceMetricCards, WorkspaceMetricCardsImpl, type WorkspaceMetricCardsProps, type WorkspaceMetrics, WorkspaceMonthlyDataFetcher, type WorkspaceMonthlyDataFetcherProps, WorkspaceMonthlyHistory, type WorkspaceMonthlyMetric, WorkspaceMonthlyPdfGenerator, type WorkspaceMonthlyPdfGeneratorProps, type WorkspaceNavigationParams, WorkspacePdfExportButton, type WorkspacePdfExportButtonProps, WorkspacePdfGenerator, type WorkspacePdfGeneratorProps, type WorkspacePosition, type WorkspaceQualityData, type WorkspaceUptimeTimeline, type WorkspaceUptimeTimelinePoint, type WorkspaceUrlMapping, type WorkspaceVideoStream, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, aggregateKPIsFromLineMetricsRows, apiUtils, areAllLinesOnSameShift, authCoreService, authOTPService, authRateLimitService, awardsService, buildDateKey, buildKPIsFromLineMetricsRow, buildShiftGroupsKey, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearSentryContext, clearWorkspaceDisplayNamesCache, cn, createDefaultKPIs, createInvitationService, createLinesService, createSessionTracker, createStorageService, createStreamProxyHandler, createSupabaseClient, createSupervisorService, createThrottledReload, createUserManagementService, createUserService, dashboardService, deleteThread, fetchIdleTimeReasons, filterDataByDateKeyRange, forceRefreshWorkspaceDisplayNames, formatAwardMonth, formatDateInZone, formatDateKeyForDisplay, formatDateTimeInZone, formatDuration, formatISTDate, formatIdleTime, formatRangeLabel, formatReasonLabel, formatRelativeTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAllWorkspaceDisplayNamesSnapshot, getAnonClient, getAvailableShiftIds, getAwardBadgeType, getAwardDescription, getAwardTitle, getBrowserName, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentShiftForLine, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDateKeyFromDate, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getInitials, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getMonthKeyBounds, getMonthWeekRanges, getNextUpdateInterval, getOperationalDate, getReasonColor, getS3SignedUrl, getS3VideoSrc, getShiftData, getShiftNameById, getShiftWorkDurationSeconds, getShortShiftName, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUniformShiftGroup, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, groupLinesByShift, hasAnyShiftData, identifyCoreUser, initializeCoreMixpanel, isFullMonthRange, isLegacyConfiguration, isPrefetchError, isSafari, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidPrefetchParams, isValidPrefetchStatus, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, lineLeaderboardService, linesService, mergeWithDefaultConfig, migrateLegacyConfiguration, normalizeDateKeyRange, optifyeAgentClient, parseDateKeyToDate, parseS3Uri, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, setSentryUserContext, setSentryWorkspaceContext, shuffleArray, simulateApiDelay, skuService, startCoreSessionRecording, stopCoreSessionRecording, storeWorkspaceMapping, streamProxyConfig, subscribeWorkspaceDisplayNames, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, transformToChartData, updateThreadTitle, upsertWorkspaceDisplayNameInCache, useAccessControl, useActiveBreaks, useActiveLineId, useAllWorkspaceMetrics, useAnalyticsConfig, useAppTimezone, useAudioService, useAuth, useAuthConfig, useAxelNotifications, useCanSaveTargets, useClipFilter, useClipTypes, useClipTypesWithCounts, useClipsInit, useCompanyUsersUsage, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useDynamicShiftConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHasLineAccess, useHideMobileHeader, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useHourEndTimer, useHourlyTargetAchievements, useHourlyTargetMisses, useIdleTimeClipClassifications, useIdleTimeReasons, useIdleTimeVlmConfig, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineShiftConfig, useLineSupervisor, useLineWorkspaceMetrics, useLines, useMessages, useMetrics, useMobileMenu, useMultiLineShiftConfigs, useNavigation, useOperationalShiftKey, useOptionalSupabase, useOverrides, usePageOverride, usePrefetchClipCounts, useRealtimeLineMetrics, useRegistry, useSKUs, useSessionKeepAlive, useSessionTracking, useSessionTrackingContext, useShiftConfig, useShiftGroups, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useSupervisorsByLineIds, useTargets, useTeamManagementPermissions, useTheme, useThemeConfig, useThreads, useTicketHistory, useTimezoneContext, useUserLineAccess, useUserUsage, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceHealthById, useWorkspaceHealthLastSeen, useWorkspaceHealthStatus, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, useWorkspaceUptimeTimeline, useWorkspaceVideoStreams, userService, videoPrefetchManager, videoPreloader, weeklyTopPerformerService, whatsappService, withAccessControl, withAuth, withRegistry, withTimezone, workspaceHealthService, workspaceService };
|
|
9788
|
+
export { ACTION_NAMES, AIAgentView, AcceptInvite, type AcceptInviteProps, AcceptInviteView, type AcceptInviteViewProps, type AccessControlReturn, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, AdvancedFilterDialog, AdvancedFilterPanel, type AnalyticsConfig, type AssignUserToFactoriesInput, type AssignUserToLinesInput, AudioService, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, AuthService, type AuthUser, AuthenticatedBottleneckClipsView, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedShiftsView, AuthenticatedTargetsView, AuthenticatedTicketsView, AuthenticatedWorkspaceHealthView, AvatarUpload, type AvatarUploadProps, type AwardBadgeType, type AwardNotificationRecord, type AwardNotificationType, type AwardRecord, type AwardType, AxelNotificationPopup, type AxelNotificationPopupProps, AxelOrb, type AxelOrbProps, type AxelSuggestion, BackButton, BackButtonMinimal, BarChart, type BarChartDataItem, type BarChartProps, type BarProps, BaseHistoryCalendar, type BaseHistoryCalendarProps, type BaseLineMetric, type BasePerformanceMetric, BottleneckClipsModal, type BottleneckClipsModalProps, type BottleneckClipsNavigationParams, BottleneckClipsView, type BottleneckClipsViewProps, type BottleneckFilterType, type BottleneckVideo, type BottleneckVideoData, BottlenecksContent, type BottlenecksContentProps, type BreadcrumbItem, type Break, BreakNotificationPopup, type BreakNotificationPopupProps, type BreakRowProps, type CacheEntryWithPrefetch, CachePrefetchStatus, type CachePrefetchStatusCallback, type CalendarShiftData, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChangeRoleDialog, type ChangeRoleDialogProps, type ChatMessage, type ChatThread, type CleanupFunction, type ClipCounts, type ClipCountsWithIndex, ClipFilterProvider, type ClipFilterState, type ClipsConfig, CompactWorkspaceHealthCard, type CompanyUsageReport, type CompanyUser, type CompanyUserUsageSummary, type CompanyUserWithDetails, type ComponentOverride, ConfirmRemoveUserDialog, type ConfirmRemoveUserDialogProps, CongratulationsOverlay, type CongratulationsOverlayProps, type CoreComponents, type CountDelta, type CreateInvitationInput, type CropConfig, CroppedHlsVideoPlayer, type CroppedHlsVideoPlayerProps, CroppedVideoPlayer, type CroppedVideoPlayerProps, 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_HOME_VIEW_CONFIG, DEFAULT_MAP_VIEW_CONFIG, DEFAULT_SHIFT_CONFIG, DEFAULT_SHIFT_DATA, 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 DateKeyRange, type DateTimeConfig, DateTimeDisplay, type DateTimeDisplayProps, type DayData, type DayHistoryData, type DaySummaryData, DebugAuth, DebugAuthView, DetailedHealthStatus, type DiagnosisOption$1 as DiagnosisOption, DiagnosisVideoModal, type DurationDelta, type DynamicLineShiftConfig, EmptyStateMessage, type EmptyStateMessageProps, EncouragementOverlay, type EndpointsConfig, type EntityConfig, type ErrorCallback$1 as ErrorCallback, type ExtendedCacheMetrics, type Factory, FactoryAssignmentDropdown, type FactoryAssignmentDropdownProps, type FactoryOverviewMetrics, FactoryView, type FactoryViewProps, type FetchIdleTimeReasonsParams, FileManagerFilters, FileManagerFilters as FileManagerFiltersProps, FilterDialogTrigger, FirstTimeLoginDebug, FirstTimeLoginHandler, FittingTitle, type FormatNumberOptions, type FullyIndexedCallback$1 as FullyIndexedCallback, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, HamburgerButton, type HamburgerButtonProps, Header, type HeaderProps, type HealthAlertConfig, type HealthAlertHistory, HealthDateShiftSelector, type HealthFilterOptions, type HealthMetrics, type HealthStatus, HealthStatusGrid, HealthStatusIndicator, type HealthSummary, HelpView, type HelpViewProps, type HistoricWorkspaceMetrics, type HistoryCalendarProps, HlsVideoPlayer, type HlsVideoPlayerProps, type HlsVideoPlayerRef, HomeView, type HomeViewConfig, type HookOverride, type HourlyAchievement, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, HourlyUptimeChart, type HourlyUptimeChartProps, type IPrefetchManager, type ISTDateProps, ISTTimer, type ISTTimerProps, type IdleTimeClipMetadata, type IdleTimeReason, type IdleTimeReasonData, type IdleTimeReasonsData, type IdleTimeReasonsResponse, IdleTimeVlmConfigProvider, ImprovementCenterView, InlineEditableText, InteractiveOnboardingTour, InvitationService, type InvitationWithDetails, InvitationsTable, InviteUserDialog, KPICard, type KPICardProps, KPIDetailViewWithDisplayNames as KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, type KpiTrend, LINE_1_UUID, LINE_2_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, LeaderboardDetailViewWithDisplayNames as LeaderboardDetailView, type LeaderboardDetailViewProps, type LeaderboardEntry, Legend, LineAssignmentDropdown, type LineAssignmentDropdownProps, 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 LineRecord, type LineShiftConfig, type LineShiftInfo, type LineSnapshot, type LineSupervisor, type LineThreshold, LineWhatsAppShareButton, type LineWhatsAppShareProps, LinesService, LiveTimer, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingState, LoadingState as LoadingStateProps, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, Logo, type LogoProps, MainLayout, type MainLayoutProps, MapGridView, type MapViewConfig, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, MinimalOnboardingPopup, type MixpanelSessionOptions, MobileMenuProvider, type MobileMenuProviderProps, type MonthWeekRange, type MonthlyTrendSummary, type NavItem, type NavItemTrackingEvent, type NavigationMethod, NewClipsNotification, type NewClipsNotificationProps, NoWorkspaceData, OnboardingDemo, OnboardingTour, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, type PercentageDelta, PieChart, type PieChartProps, PlayPauseIndicator, type PlayPauseIndicatorProps, type PoorPerformingWorkspace, PrefetchConfigurationError, PrefetchError, PrefetchEvents, type PrefetchKey, type PrefetchManagerConfig, type PrefetchManagerStats, type PrefetchOptions, type PrefetchParams$1 as PrefetchParams, type PrefetchRequest, type PrefetchResult, PrefetchStatus$1 as PrefetchStatus, type PrefetchStatusResult, type PrefetchSubscriptionCallbacks, PrefetchTimeoutError, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeLineMetricsProps, type RealtimeService, RegistryProvider, type RenderReadyCallback$1 as RenderReadyCallback, RoleBadge, type RoutePath, type S3ClipsAPIParams, S3ClipsSupabaseService as S3ClipsService, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory$1 as SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SessionTracker, SessionTrackingContext, SessionTrackingProvider, SettingsPopup, type SettingsPopupItem, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData, type ShiftDefinition, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftLineGroup, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, SignupWithInvitation, type SignupWithInvitationProps, SilentErrorBoundary, type SimpleLine, SimpleOnboardingPopup, SingleVideoStream, type SingleVideoStreamProps, Skeleton, type StatusChangeCallback$1 as StatusChangeCallback, type StorageService, type StreamProxyConfig, type SubscriberId, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Supervisor, type SupervisorAssignment, type SupervisorConfig, type SupervisorDetail, SupervisorDropdown, type SupervisorDropdownProps, type SupervisorLine, type SupervisorManagementData, SupervisorManagementView, type SupervisorManagementViewProps, SupervisorService, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type TeamManagementPermissions, TeamManagementView, type TeamManagementViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TicketHistory, TicketHistoryService, type TicketsConfig, TicketsView, type TicketsViewProps, TimeDisplay, TimePickerDropdown, Timer, TimezoneProvider, TimezoneService, type TodayUsage, type TodayUsageData, type TodayUsageReport, type TopPerformerRecord, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UpdateUserNameInput, type UpdateUserProfileInput, type UpdateUserRoleInput, type UptimeDetails, UptimeDonutChart, type UptimeDonutChartProps, UptimeLineChart, type UptimeLineChartProps, UptimeMetricCards, type UptimeMetricCardsProps, type UptimeStatus$1 as UptimeStatus, type UsageBreakdown, type UseActiveBreaksResult, type UseAllWorkspaceMetricsOptions, type UseClipTypesResult, type UseCompanyUsersUsageOptions, type UseCompanyUsersUsageReturn, type UseDashboardMetricsProps, type UseDynamicShiftConfigResult, type UseFormatNumberResult, type UseIdleTimeReasonsProps, type UseIdleTimeReasonsResult, type UseLineShiftConfigResult, type UseLineWorkspaceMetricsOptions, type UseMessagesResult, type UseMultiLineShiftConfigsResult, type UsePrefetchClipCountsOptions$1 as UsePrefetchClipCountsOptions, type UsePrefetchClipCountsResult$1 as UsePrefetchClipCountsResult, type UseRealtimeLineMetricsProps, type UseSupervisorsByLineIdsResult, type UseTargetsOptions, type UseThreadsResult, type UseTicketHistoryReturn, type UseUserUsageOptions, type UseUserUsageReturn, type UseWorkspaceHealthByIdOptions, type UseWorkspaceHealthStatusReturn, type UseWorkspaceOperatorsOptions, type UseWorkspaceUptimeTimelineOptions, type UseWorkspaceUptimeTimelineResult, UserAvatar, type UserAvatarProps, type UserInvitation, UserManagementService, UserManagementTable, type UserProfileConfig, type UserRole, type UserRoleLevel, UserService, type UserUsageDetail, UserUsageDetailModal, type UserUsageDetailModalProps, type UserUsageInfo, UserUsageStats, type UserUsageStatsProps, type UserUsageSummary, type ValueDelta, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoIndex, type VideoIndexEntry, type VideoMetadata, VideoPlayer, type VideoPlayerProps, type VideoPlayerRef, VideoPreloader, type VideoSeverity, type VideoSummary, type VideoType, WORKSPACE_POSITIONS, type WeeklyTopPerformerRecord, type WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig$1 as WorkspaceConfig, type WorkspaceCropRect, WrappedComponent as WorkspaceDetailView, type WorkspaceDetailedMetrics, WorkspaceDisplayNameExample, type WorkspaceDowntimeSegment, WorkspaceGrid, WorkspaceGridItem, type WorkspaceGridItemProps, type WorkspaceGridPosition, type WorkspaceHealth, WorkspaceHealthCard, type WorkspaceHealthInfo, type WorkspaceHealthStatusData, _default as WorkspaceHealthView, type WorkspaceHealthWithStatus, WorkspaceHistoryCalendar, WorkspaceMetricCards, WorkspaceMetricCardsImpl, type WorkspaceMetricCardsProps, type WorkspaceMetrics, WorkspaceMonthlyDataFetcher, type WorkspaceMonthlyDataFetcherProps, WorkspaceMonthlyHistory, type WorkspaceMonthlyMetric, WorkspaceMonthlyPdfGenerator, type WorkspaceMonthlyPdfGeneratorProps, type WorkspaceNavigationParams, WorkspacePdfExportButton, type WorkspacePdfExportButtonProps, WorkspacePdfGenerator, type WorkspacePdfGeneratorProps, type WorkspacePosition, type WorkspaceQualityData, type WorkspaceUptimeTimeline, type WorkspaceUptimeTimelinePoint, type WorkspaceUrlMapping, type WorkspaceVideoStream, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, aggregateKPIsFromLineMetricsRows, apiUtils, areAllLinesOnSameShift, authCoreService, authOTPService, authRateLimitService, awardsService, buildDateKey, buildKPIsFromLineMetricsRow, buildShiftGroupsKey, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearSentryContext, clearWorkspaceDisplayNamesCache, cn, createDefaultKPIs, createInvitationService, createLinesService, createSessionTracker, createStorageService, createStreamProxyHandler, createSupabaseClient, createSupervisorService, createThrottledReload, createUserManagementService, createUserService, dashboardService, deleteThread, fetchIdleTimeReasons, filterDataByDateKeyRange, forceRefreshWorkspaceDisplayNames, formatAwardMonth, formatDateInZone, formatDateKeyForDisplay, formatDateTimeInZone, formatDuration, formatISTDate, formatIdleTime, formatRangeLabel, formatReasonLabel, formatRelativeTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAllWorkspaceDisplayNamesSnapshot, getAnonClient, getAvailableShiftIds, getAwardBadgeType, getAwardDescription, getAwardTitle, getBrowserName, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentShiftForLine, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDateKeyFromDate, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getInitials, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getMonthKeyBounds, getMonthWeekRanges, getNextUpdateInterval, getOperationalDate, getReasonColor, getS3SignedUrl, getS3VideoSrc, getShiftData, getShiftNameById, getShiftWorkDurationSeconds, getShortShiftName, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUniformShiftGroup, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, groupLinesByShift, hasAnyShiftData, identifyCoreUser, initializeCoreMixpanel, isFullMonthRange, isLegacyConfiguration, isPrefetchError, isSafari, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidPrefetchParams, isValidPrefetchStatus, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, lineLeaderboardService, linesService, mergeWithDefaultConfig, migrateLegacyConfiguration, normalizeDateKeyRange, optifyeAgentClient, parseDateKeyToDate, parseS3Uri, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, setSentryUserContext, setSentryWorkspaceContext, shuffleArray, simulateApiDelay, skuService, startCoreSessionRecording, stopCoreSessionRecording, storeWorkspaceMapping, streamProxyConfig, subscribeWorkspaceDisplayNames, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, transformToChartData, updateThreadTitle, upsertWorkspaceDisplayNameInCache, useAccessControl, useActiveBreaks, useActiveLineId, useAllWorkspaceMetrics, useAnalyticsConfig, useAppTimezone, useAudioService, useAuth, useAuthConfig, useAxelNotifications, useCanSaveTargets, useClipFilter, useClipTypes, useClipTypesWithCounts, useClipsInit, useCompanyUsersUsage, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useDynamicShiftConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHasLineAccess, useHideMobileHeader, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useHourEndTimer, useHourlyTargetAchievements, useHourlyTargetMisses, useIdleTimeClipClassifications, useIdleTimeReasons, useIdleTimeVlmConfig, useKpiTrends, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineShiftConfig, useLineSupervisor, useLineWorkspaceMetrics, useLines, useMessages, useMetrics, useMobileMenu, useMonthlyTrend, useMultiLineShiftConfigs, useNavigation, useOperationalShiftKey, useOptionalSupabase, useOverrides, usePageOverride, usePrefetchClipCounts, useRealtimeLineMetrics, useRegistry, useSKUs, useSessionKeepAlive, useSessionTracking, useSessionTrackingContext, useShiftConfig, useShiftGroups, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useSupervisorsByLineIds, useTargets, useTeamManagementPermissions, useTheme, useThemeConfig, useThreads, useTicketHistory, useTimezoneContext, useUserLineAccess, useUserUsage, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceHealthById, useWorkspaceHealthLastSeen, useWorkspaceHealthStatus, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, useWorkspaceUptimeTimeline, useWorkspaceVideoStreams, userService, videoPrefetchManager, videoPreloader, weeklyTopPerformerService, whatsappService, withAccessControl, withAuth, withRegistry, withTimezone, workspaceHealthService, workspaceService };
|