@optifye/dashboard-core 6.0.6 → 6.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -485,6 +485,9 @@ body {
485
485
  .bottom-\[15\%\] {
486
486
  bottom: 15%;
487
487
  }
488
+ .bottom-full {
489
+ bottom: 100%;
490
+ }
488
491
  .left-0 {
489
492
  left: 0px;
490
493
  }
@@ -551,6 +554,9 @@ body {
551
554
  .top-4 {
552
555
  top: 1rem;
553
556
  }
557
+ .top-full {
558
+ top: 100%;
559
+ }
554
560
  .z-0 {
555
561
  z-index: 0;
556
562
  }
@@ -764,6 +770,9 @@ body {
764
770
  .aspect-square {
765
771
  aspect-ratio: 1 / 1;
766
772
  }
773
+ .h-0 {
774
+ height: 0px;
775
+ }
767
776
  .h-0\.5 {
768
777
  height: 0.125rem;
769
778
  }
@@ -998,6 +1007,9 @@ body {
998
1007
  .min-h-screen {
999
1008
  min-height: 100vh;
1000
1009
  }
1010
+ .w-0 {
1011
+ width: 0px;
1012
+ }
1001
1013
  .w-0\.5 {
1002
1014
  width: 0.125rem;
1003
1015
  }
@@ -1258,6 +1270,11 @@ body {
1258
1270
  --tw-rotate: 180deg;
1259
1271
  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
1272
  }
1273
+ .scale-110 {
1274
+ --tw-scale-x: 1.1;
1275
+ --tw-scale-y: 1.1;
1276
+ 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));
1277
+ }
1261
1278
  .transform {
1262
1279
  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));
1263
1280
  }
@@ -1623,24 +1640,33 @@ body {
1623
1640
  .border-b {
1624
1641
  border-bottom-width: 1px;
1625
1642
  }
1626
- .border-b-2 {
1627
- border-bottom-width: 2px;
1628
- }
1629
1643
  .border-b-4 {
1630
1644
  border-bottom-width: 4px;
1631
1645
  }
1646
+ .border-b-\[6px\] {
1647
+ border-bottom-width: 6px;
1648
+ }
1632
1649
  .border-l {
1633
1650
  border-left-width: 1px;
1634
1651
  }
1635
1652
  .border-l-4 {
1636
1653
  border-left-width: 4px;
1637
1654
  }
1655
+ .border-l-\[5px\] {
1656
+ border-left-width: 5px;
1657
+ }
1638
1658
  .border-r {
1639
1659
  border-right-width: 1px;
1640
1660
  }
1661
+ .border-r-2 {
1662
+ border-right-width: 2px;
1663
+ }
1641
1664
  .border-r-4 {
1642
1665
  border-right-width: 4px;
1643
1666
  }
1667
+ .border-r-\[5px\] {
1668
+ border-right-width: 5px;
1669
+ }
1644
1670
  .border-t {
1645
1671
  border-top-width: 1px;
1646
1672
  }
@@ -1695,6 +1721,9 @@ body {
1695
1721
  --tw-border-opacity: 1;
1696
1722
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
1697
1723
  }
1724
+ .border-gray-200\/30 {
1725
+ border-color: rgb(229 231 235 / 0.3);
1726
+ }
1698
1727
  .border-gray-200\/50 {
1699
1728
  border-color: rgb(229 231 235 / 0.5);
1700
1729
  }
@@ -1744,6 +1773,10 @@ body {
1744
1773
  .border-transparent {
1745
1774
  border-color: transparent;
1746
1775
  }
1776
+ .border-violet-200 {
1777
+ --tw-border-opacity: 1;
1778
+ border-color: rgb(221 214 254 / var(--tw-border-opacity, 1));
1779
+ }
1747
1780
  .border-white\/10 {
1748
1781
  border-color: rgb(255 255 255 / 0.1);
1749
1782
  }
@@ -1754,21 +1787,19 @@ body {
1754
1787
  --tw-border-opacity: 1;
1755
1788
  border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
1756
1789
  }
1757
- .border-b-gray-200 {
1790
+ .border-b-blue-600 {
1758
1791
  --tw-border-opacity: 1;
1759
- border-bottom-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
1792
+ border-bottom-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
1760
1793
  }
1761
- .border-l-gray-200 {
1762
- --tw-border-opacity: 1;
1763
- border-left-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
1794
+ .border-l-transparent {
1795
+ border-left-color: transparent;
1764
1796
  }
1765
- .border-r-blue-500 {
1766
- --tw-border-opacity: 1;
1767
- border-right-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
1797
+ .border-r-transparent {
1798
+ border-right-color: transparent;
1768
1799
  }
1769
- .border-t-blue-500 {
1800
+ .border-t-gray-900 {
1770
1801
  --tw-border-opacity: 1;
1771
- border-top-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
1802
+ border-top-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
1772
1803
  }
1773
1804
  .\!bg-indigo-600 {
1774
1805
  --tw-bg-opacity: 1 !important;
@@ -1862,6 +1893,9 @@ body {
1862
1893
  --tw-bg-opacity: 1;
1863
1894
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
1864
1895
  }
1896
+ .bg-blue-500\/20 {
1897
+ background-color: rgb(59 130 246 / 0.2);
1898
+ }
1865
1899
  .bg-blue-600 {
1866
1900
  --tw-bg-opacity: 1;
1867
1901
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
@@ -1870,6 +1904,10 @@ body {
1870
1904
  --tw-bg-opacity: 1;
1871
1905
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
1872
1906
  }
1907
+ .bg-emerald-50 {
1908
+ --tw-bg-opacity: 1;
1909
+ background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
1910
+ }
1873
1911
  .bg-emerald-500 {
1874
1912
  --tw-bg-opacity: 1;
1875
1913
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
@@ -1902,6 +1940,9 @@ body {
1902
1940
  --tw-bg-opacity: 1;
1903
1941
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
1904
1942
  }
1943
+ .bg-gray-400\/60 {
1944
+ background-color: rgb(156 163 175 / 0.6);
1945
+ }
1905
1946
  .bg-gray-50 {
1906
1947
  --tw-bg-opacity: 1;
1907
1948
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
@@ -2027,6 +2068,10 @@ body {
2027
2068
  .bg-transparent {
2028
2069
  background-color: transparent;
2029
2070
  }
2071
+ .bg-violet-50 {
2072
+ --tw-bg-opacity: 1;
2073
+ background-color: rgb(245 243 255 / var(--tw-bg-opacity, 1));
2074
+ }
2030
2075
  .bg-white {
2031
2076
  --tw-bg-opacity: 1;
2032
2077
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
@@ -2102,6 +2147,11 @@ body {
2102
2147
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
2103
2148
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2104
2149
  }
2150
+ .from-black\/30 {
2151
+ --tw-gradient-from: rgb(0 0 0 / 0.3) var(--tw-gradient-from-position);
2152
+ --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
2153
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2154
+ }
2105
2155
  .from-black\/60 {
2106
2156
  --tw-gradient-from: rgb(0 0 0 / 0.6) var(--tw-gradient-from-position);
2107
2157
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
@@ -2112,11 +2162,21 @@ body {
2112
2162
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
2113
2163
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2114
2164
  }
2165
+ .from-black\/80 {
2166
+ --tw-gradient-from: rgb(0 0 0 / 0.8) var(--tw-gradient-from-position);
2167
+ --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
2168
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2169
+ }
2115
2170
  .from-blue-50 {
2116
2171
  --tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
2117
2172
  --tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
2118
2173
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2119
2174
  }
2175
+ .from-gray-200 {
2176
+ --tw-gradient-from: #e5e7eb var(--tw-gradient-from-position);
2177
+ --tw-gradient-to: rgb(229 231 235 / 0) var(--tw-gradient-to-position);
2178
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2179
+ }
2120
2180
  .from-gray-300 {
2121
2181
  --tw-gradient-from: #d1d5db var(--tw-gradient-from-position);
2122
2182
  --tw-gradient-to: rgb(209 213 219 / 0) var(--tw-gradient-to-position);
@@ -2167,6 +2227,9 @@ body {
2167
2227
  .to-blue-50\/50 {
2168
2228
  --tw-gradient-to: rgb(239 246 255 / 0.5) var(--tw-gradient-to-position);
2169
2229
  }
2230
+ .to-gray-300 {
2231
+ --tw-gradient-to: #d1d5db var(--tw-gradient-to-position);
2232
+ }
2170
2233
  .to-gray-500 {
2171
2234
  --tw-gradient-to: #6b7280 var(--tw-gradient-to-position);
2172
2235
  }
@@ -2680,6 +2743,10 @@ body {
2680
2743
  .text-transparent {
2681
2744
  color: transparent;
2682
2745
  }
2746
+ .text-violet-600 {
2747
+ --tw-text-opacity: 1;
2748
+ color: rgb(124 58 237 / var(--tw-text-opacity, 1));
2749
+ }
2683
2750
  .text-white {
2684
2751
  --tw-text-opacity: 1;
2685
2752
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
@@ -2729,6 +2796,9 @@ body {
2729
2796
  .opacity-0 {
2730
2797
  opacity: 0;
2731
2798
  }
2799
+ .opacity-100 {
2800
+ opacity: 1;
2801
+ }
2732
2802
  .opacity-25 {
2733
2803
  opacity: 0.25;
2734
2804
  }
@@ -3011,6 +3081,9 @@ body {
3011
3081
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3012
3082
  transition-duration: 150ms;
3013
3083
  }
3084
+ .duration-100 {
3085
+ transition-duration: 100ms;
3086
+ }
3014
3087
  .duration-1000 {
3015
3088
  transition-duration: 1000ms;
3016
3089
  }
@@ -3279,6 +3352,9 @@ input[type=range]:active::-moz-range-thumb {
3279
3352
  --tw-text-opacity: 1;
3280
3353
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
3281
3354
  }
3355
+ .hover\:text-white\/80:hover {
3356
+ color: rgb(255 255 255 / 0.8);
3357
+ }
3282
3358
  .hover\:underline:hover {
3283
3359
  text-decoration-line: underline;
3284
3360
  }
package/dist/index.d.mts CHANGED
@@ -2083,19 +2083,19 @@ interface UseWorkspaceDisplayNamesReturn {
2083
2083
  * loading states, error handling, and caching. It automatically fetches workspace display names
2084
2084
  * on mount and provides utility methods for accessing individual workspace names.
2085
2085
  *
2086
- * @param {string} [companyId] - Optional company ID to filter workspaces
2087
2086
  * @param {string} [lineId] - Optional line ID to filter workspaces
2087
+ * @param {string} [companyId] - Optional company ID to filter workspaces
2088
2088
  * @returns {UseWorkspaceDisplayNamesReturn} An object containing display names, loading state, error, and utility functions
2089
2089
  *
2090
2090
  * @example
2091
- * const { displayNames, loading, error, getDisplayName } = useWorkspaceDisplayNames();
2091
+ * const { displayNames, loading, error } = useWorkspaceDisplayNames(lineId);
2092
2092
  *
2093
2093
  * if (loading) return <div>Loading...</div>;
2094
2094
  * if (error) return <div>Error: {error.message}</div>;
2095
2095
  *
2096
- * const workspaceName = getDisplayName('WS01'); // Returns display name or fallback
2096
+ * const workspaceName = displayNames['WS01'] || 'WS01'; // Returns display name or fallback
2097
2097
  */
2098
- declare const useWorkspaceDisplayNames: (companyId?: string, lineId?: string) => UseWorkspaceDisplayNamesReturn;
2098
+ declare const useWorkspaceDisplayNames: (lineId?: string, companyId?: string) => UseWorkspaceDisplayNamesReturn;
2099
2099
  /**
2100
2100
  * @hook useWorkspaceDisplayName
2101
2101
  * @summary Hook for fetching a single workspace display name
@@ -2103,17 +2103,17 @@ declare const useWorkspaceDisplayNames: (companyId?: string, lineId?: string) =>
2103
2103
  * loading state and error handling. It's useful when you only need one workspace name.
2104
2104
  *
2105
2105
  * @param {string} workspaceId - The workspace ID to fetch the display name for
2106
- * @param {string} [companyId] - Optional company ID to filter workspaces
2107
2106
  * @param {string} [lineId] - Optional line ID to filter workspaces
2107
+ * @param {string} [companyId] - Optional company ID to filter workspaces
2108
2108
  * @returns {object} An object containing displayName, loading state, error, and refetch function
2109
2109
  *
2110
2110
  * @example
2111
- * const { displayName, loading, error } = useWorkspaceDisplayName('WS01');
2111
+ * const { displayName, loading, error } = useWorkspaceDisplayName('WS01', lineId);
2112
2112
  *
2113
2113
  * if (loading) return <span>Loading...</span>;
2114
2114
  * return <span>{displayName}</span>;
2115
2115
  */
2116
- declare const useWorkspaceDisplayName: (workspaceId: string, companyId?: string, lineId?: string) => {
2116
+ declare const useWorkspaceDisplayName: (workspaceId: string, lineId?: string, companyId?: string) => {
2117
2117
  displayName: string;
2118
2118
  loading: boolean;
2119
2119
  error: Error | null;
@@ -2126,20 +2126,20 @@ declare const useWorkspaceDisplayName: (workspaceId: string, companyId?: string,
2126
2126
  * as a Record<string, string> for easy lookup. Useful when you need names for a specific set of workspaces.
2127
2127
  *
2128
2128
  * @param {string[]} workspaceIds - Array of workspace IDs to fetch display names for
2129
- * @param {string} [companyId] - Optional company ID to filter workspaces
2130
2129
  * @param {string} [lineId] - Optional line ID to filter workspaces
2130
+ * @param {string} [companyId] - Optional company ID to filter workspaces
2131
2131
  * @returns {object} An object containing displayNamesMap, loading state, error, and refetch function
2132
2132
  *
2133
2133
  * @example
2134
- * const { displayNamesMap, loading } = useWorkspaceDisplayNamesMap(['WS01', 'WS02', 'WS03']);
2134
+ * const { displayNames, loading } = useWorkspaceDisplayNamesMap(['WS01', 'WS02', 'WS03'], lineId);
2135
2135
  *
2136
2136
  * if (!loading) {
2137
2137
  * workspaceIds.forEach(id => {
2138
- * console.log(`${id}: ${displayNamesMap[id]}`);
2138
+ * console.log(`${id}: ${displayNames[id]}`);
2139
2139
  * });
2140
2140
  * }
2141
2141
  */
2142
- declare const useWorkspaceDisplayNamesMap: (workspaceIds: string[], companyId?: string, lineId?: string) => {
2142
+ declare const useWorkspaceDisplayNamesMap: (workspaceIds: string[], lineId?: string, companyId?: string) => {
2143
2143
  displayNames: Record<string, string>;
2144
2144
  loading: boolean;
2145
2145
  error: Error | null;
@@ -2957,10 +2957,14 @@ declare const forceRefreshWorkspaceDisplayNames: (lineId?: string) => Promise<vo
2957
2957
  /**
2958
2958
  * Gets workspace display name synchronously
2959
2959
  * If not initialized, triggers lazy initialization and returns workspace ID
2960
+ * @param workspaceId - The workspace ID to get display name for
2961
+ * @param lineId - Optional line ID to filter workspaces by line
2960
2962
  */
2961
2963
  declare const getWorkspaceDisplayName: (workspaceId: string, lineId?: string) => string;
2962
2964
  /**
2963
2965
  * Short version of workspace display name (synchronous version for backward compatibility)
2966
+ * @param workspaceId - The workspace ID to get display name for
2967
+ * @param lineId - Optional line ID to filter workspaces by line
2964
2968
  */
2965
2969
  declare const getShortWorkspaceDisplayName: (workspaceId: string, lineId?: string) => string;
2966
2970
  /**
@@ -3524,6 +3528,7 @@ interface ShiftData$1 {
3524
3528
  avg_efficiency: number;
3525
3529
  underperforming_workspaces: number;
3526
3530
  total_workspaces: number;
3531
+ hasData?: boolean;
3527
3532
  }
3528
3533
  interface DayData$3 {
3529
3534
  date: Date | string;
@@ -3773,6 +3778,7 @@ interface ShiftData {
3773
3778
  idealOutput: number;
3774
3779
  rank: number;
3775
3780
  idleTime: number;
3781
+ hasData?: boolean;
3776
3782
  }
3777
3783
  interface DayData$1 {
3778
3784
  date: Date;
@@ -4226,13 +4232,6 @@ declare const Header: React__default.FC<HeaderProps>;
4226
4232
  */
4227
4233
  declare const SideNavBar: React__default.FC<SideNavBarProps>;
4228
4234
 
4229
- interface LoadingSpinnerProps {
4230
- size?: 'sm' | 'md' | 'lg';
4231
- message?: string;
4232
- className?: string;
4233
- }
4234
- declare const LoadingSpinner: React__default.FC<LoadingSpinnerProps>;
4235
-
4236
4235
  declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
4237
4236
 
4238
4237
  declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
@@ -4296,6 +4295,30 @@ interface TimePickerDropdownProps {
4296
4295
  }
4297
4296
  declare const TimePickerDropdown: React__default.FC<TimePickerDropdownProps>;
4298
4297
 
4298
+ interface OptifyeLogoLoaderProps {
4299
+ /**
4300
+ * Size of the logo to display.
4301
+ * - sm: ~40px
4302
+ * - md: ~64px (default)
4303
+ * - lg: ~96px
4304
+ */
4305
+ size?: 'sm' | 'md' | 'lg';
4306
+ /** Optional message shown under the logo */
4307
+ message?: string;
4308
+ /** Extra Tailwind / CSS classes for the outer wrapper */
4309
+ className?: string;
4310
+ }
4311
+ /**
4312
+ * An enterprise-grade, minimal loader that shows a pulsing Optifye logo.
4313
+ *
4314
+ * This component relies solely on TailwindCSS utility classes (animate-pulse) and
4315
+ * does not introduce any additional dependencies. The logo asset is expected to
4316
+ * be available at the public path `/optifye-logo.png` of the consuming Next.js
4317
+ * application. If you need to host the asset elsewhere, simply override the
4318
+ * `logoSrc` via the `className` or by forking this component.
4319
+ */
4320
+ declare const OptifyeLogoLoader: React__default.FC<OptifyeLogoLoaderProps>;
4321
+
4299
4322
  interface LoadingStateProps {
4300
4323
  message?: string;
4301
4324
  subMessage?: string;
@@ -4986,4 +5009,4 @@ interface ThreadSidebarProps {
4986
5009
  }
4987
5010
  declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
4988
5011
 
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 };
5012
+ 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, 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, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, PieChart, type PieChartProps, type PoorPerformingWorkspace, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, type RoutePath, type S3ClipsAPIParams, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData$2 as ShiftData, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, type SimpleLine, SingleVideoStream, type SingleVideoStreamProps, Skeleton, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, 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
@@ -2083,19 +2083,19 @@ interface UseWorkspaceDisplayNamesReturn {
2083
2083
  * loading states, error handling, and caching. It automatically fetches workspace display names
2084
2084
  * on mount and provides utility methods for accessing individual workspace names.
2085
2085
  *
2086
- * @param {string} [companyId] - Optional company ID to filter workspaces
2087
2086
  * @param {string} [lineId] - Optional line ID to filter workspaces
2087
+ * @param {string} [companyId] - Optional company ID to filter workspaces
2088
2088
  * @returns {UseWorkspaceDisplayNamesReturn} An object containing display names, loading state, error, and utility functions
2089
2089
  *
2090
2090
  * @example
2091
- * const { displayNames, loading, error, getDisplayName } = useWorkspaceDisplayNames();
2091
+ * const { displayNames, loading, error } = useWorkspaceDisplayNames(lineId);
2092
2092
  *
2093
2093
  * if (loading) return <div>Loading...</div>;
2094
2094
  * if (error) return <div>Error: {error.message}</div>;
2095
2095
  *
2096
- * const workspaceName = getDisplayName('WS01'); // Returns display name or fallback
2096
+ * const workspaceName = displayNames['WS01'] || 'WS01'; // Returns display name or fallback
2097
2097
  */
2098
- declare const useWorkspaceDisplayNames: (companyId?: string, lineId?: string) => UseWorkspaceDisplayNamesReturn;
2098
+ declare const useWorkspaceDisplayNames: (lineId?: string, companyId?: string) => UseWorkspaceDisplayNamesReturn;
2099
2099
  /**
2100
2100
  * @hook useWorkspaceDisplayName
2101
2101
  * @summary Hook for fetching a single workspace display name
@@ -2103,17 +2103,17 @@ declare const useWorkspaceDisplayNames: (companyId?: string, lineId?: string) =>
2103
2103
  * loading state and error handling. It's useful when you only need one workspace name.
2104
2104
  *
2105
2105
  * @param {string} workspaceId - The workspace ID to fetch the display name for
2106
- * @param {string} [companyId] - Optional company ID to filter workspaces
2107
2106
  * @param {string} [lineId] - Optional line ID to filter workspaces
2107
+ * @param {string} [companyId] - Optional company ID to filter workspaces
2108
2108
  * @returns {object} An object containing displayName, loading state, error, and refetch function
2109
2109
  *
2110
2110
  * @example
2111
- * const { displayName, loading, error } = useWorkspaceDisplayName('WS01');
2111
+ * const { displayName, loading, error } = useWorkspaceDisplayName('WS01', lineId);
2112
2112
  *
2113
2113
  * if (loading) return <span>Loading...</span>;
2114
2114
  * return <span>{displayName}</span>;
2115
2115
  */
2116
- declare const useWorkspaceDisplayName: (workspaceId: string, companyId?: string, lineId?: string) => {
2116
+ declare const useWorkspaceDisplayName: (workspaceId: string, lineId?: string, companyId?: string) => {
2117
2117
  displayName: string;
2118
2118
  loading: boolean;
2119
2119
  error: Error | null;
@@ -2126,20 +2126,20 @@ declare const useWorkspaceDisplayName: (workspaceId: string, companyId?: string,
2126
2126
  * as a Record<string, string> for easy lookup. Useful when you need names for a specific set of workspaces.
2127
2127
  *
2128
2128
  * @param {string[]} workspaceIds - Array of workspace IDs to fetch display names for
2129
- * @param {string} [companyId] - Optional company ID to filter workspaces
2130
2129
  * @param {string} [lineId] - Optional line ID to filter workspaces
2130
+ * @param {string} [companyId] - Optional company ID to filter workspaces
2131
2131
  * @returns {object} An object containing displayNamesMap, loading state, error, and refetch function
2132
2132
  *
2133
2133
  * @example
2134
- * const { displayNamesMap, loading } = useWorkspaceDisplayNamesMap(['WS01', 'WS02', 'WS03']);
2134
+ * const { displayNames, loading } = useWorkspaceDisplayNamesMap(['WS01', 'WS02', 'WS03'], lineId);
2135
2135
  *
2136
2136
  * if (!loading) {
2137
2137
  * workspaceIds.forEach(id => {
2138
- * console.log(`${id}: ${displayNamesMap[id]}`);
2138
+ * console.log(`${id}: ${displayNames[id]}`);
2139
2139
  * });
2140
2140
  * }
2141
2141
  */
2142
- declare const useWorkspaceDisplayNamesMap: (workspaceIds: string[], companyId?: string, lineId?: string) => {
2142
+ declare const useWorkspaceDisplayNamesMap: (workspaceIds: string[], lineId?: string, companyId?: string) => {
2143
2143
  displayNames: Record<string, string>;
2144
2144
  loading: boolean;
2145
2145
  error: Error | null;
@@ -2957,10 +2957,14 @@ declare const forceRefreshWorkspaceDisplayNames: (lineId?: string) => Promise<vo
2957
2957
  /**
2958
2958
  * Gets workspace display name synchronously
2959
2959
  * If not initialized, triggers lazy initialization and returns workspace ID
2960
+ * @param workspaceId - The workspace ID to get display name for
2961
+ * @param lineId - Optional line ID to filter workspaces by line
2960
2962
  */
2961
2963
  declare const getWorkspaceDisplayName: (workspaceId: string, lineId?: string) => string;
2962
2964
  /**
2963
2965
  * Short version of workspace display name (synchronous version for backward compatibility)
2966
+ * @param workspaceId - The workspace ID to get display name for
2967
+ * @param lineId - Optional line ID to filter workspaces by line
2964
2968
  */
2965
2969
  declare const getShortWorkspaceDisplayName: (workspaceId: string, lineId?: string) => string;
2966
2970
  /**
@@ -3524,6 +3528,7 @@ interface ShiftData$1 {
3524
3528
  avg_efficiency: number;
3525
3529
  underperforming_workspaces: number;
3526
3530
  total_workspaces: number;
3531
+ hasData?: boolean;
3527
3532
  }
3528
3533
  interface DayData$3 {
3529
3534
  date: Date | string;
@@ -3773,6 +3778,7 @@ interface ShiftData {
3773
3778
  idealOutput: number;
3774
3779
  rank: number;
3775
3780
  idleTime: number;
3781
+ hasData?: boolean;
3776
3782
  }
3777
3783
  interface DayData$1 {
3778
3784
  date: Date;
@@ -4226,13 +4232,6 @@ declare const Header: React__default.FC<HeaderProps>;
4226
4232
  */
4227
4233
  declare const SideNavBar: React__default.FC<SideNavBarProps>;
4228
4234
 
4229
- interface LoadingSpinnerProps {
4230
- size?: 'sm' | 'md' | 'lg';
4231
- message?: string;
4232
- className?: string;
4233
- }
4234
- declare const LoadingSpinner: React__default.FC<LoadingSpinnerProps>;
4235
-
4236
4235
  declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
4237
4236
 
4238
4237
  declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
@@ -4296,6 +4295,30 @@ interface TimePickerDropdownProps {
4296
4295
  }
4297
4296
  declare const TimePickerDropdown: React__default.FC<TimePickerDropdownProps>;
4298
4297
 
4298
+ interface OptifyeLogoLoaderProps {
4299
+ /**
4300
+ * Size of the logo to display.
4301
+ * - sm: ~40px
4302
+ * - md: ~64px (default)
4303
+ * - lg: ~96px
4304
+ */
4305
+ size?: 'sm' | 'md' | 'lg';
4306
+ /** Optional message shown under the logo */
4307
+ message?: string;
4308
+ /** Extra Tailwind / CSS classes for the outer wrapper */
4309
+ className?: string;
4310
+ }
4311
+ /**
4312
+ * An enterprise-grade, minimal loader that shows a pulsing Optifye logo.
4313
+ *
4314
+ * This component relies solely on TailwindCSS utility classes (animate-pulse) and
4315
+ * does not introduce any additional dependencies. The logo asset is expected to
4316
+ * be available at the public path `/optifye-logo.png` of the consuming Next.js
4317
+ * application. If you need to host the asset elsewhere, simply override the
4318
+ * `logoSrc` via the `className` or by forking this component.
4319
+ */
4320
+ declare const OptifyeLogoLoader: React__default.FC<OptifyeLogoLoaderProps>;
4321
+
4299
4322
  interface LoadingStateProps {
4300
4323
  message?: string;
4301
4324
  subMessage?: string;
@@ -4986,4 +5009,4 @@ interface ThreadSidebarProps {
4986
5009
  }
4987
5010
  declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
4988
5011
 
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 };
5012
+ 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, 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, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, PieChart, type PieChartProps, type PoorPerformingWorkspace, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, type RoutePath, type S3ClipsAPIParams, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData$2 as ShiftData, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, type SimpleLine, SingleVideoStream, type SingleVideoStreamProps, Skeleton, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, 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 };