@optifye/dashboard-core 6.10.13 → 6.10.14

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
@@ -492,6 +492,9 @@ body {
492
492
  .-top-7 {
493
493
  top: -1.75rem;
494
494
  }
495
+ .-top-8 {
496
+ top: -2rem;
497
+ }
495
498
  .-top-\[140px\] {
496
499
  top: -140px;
497
500
  }
@@ -663,6 +666,9 @@ body {
663
666
  .col-span-3 {
664
667
  grid-column: span 3 / span 3;
665
668
  }
669
+ .m-0 {
670
+ margin: 0px;
671
+ }
666
672
  .m-1 {
667
673
  margin: 0.25rem;
668
674
  }
@@ -738,6 +744,9 @@ body {
738
744
  .-ml-2 {
739
745
  margin-left: -0.5rem;
740
746
  }
747
+ .-ml-4 {
748
+ margin-left: -1rem;
749
+ }
741
750
  .-mr-2 {
742
751
  margin-right: -0.5rem;
743
752
  }
@@ -813,6 +822,9 @@ body {
813
822
  .mr-2 {
814
823
  margin-right: 0.5rem;
815
824
  }
825
+ .mr-2\.5 {
826
+ margin-right: 0.625rem;
827
+ }
816
828
  .mr-3 {
817
829
  margin-right: 0.75rem;
818
830
  }
@@ -984,6 +996,9 @@ body {
984
996
  .h-\[20vh\] {
985
997
  height: 20vh;
986
998
  }
999
+ .h-\[220px\] {
1000
+ height: 220px;
1001
+ }
987
1002
  .h-\[22vh\] {
988
1003
  height: 22vh;
989
1004
  }
@@ -1131,8 +1146,8 @@ body {
1131
1146
  .min-h-\[150px\] {
1132
1147
  min-height: 150px;
1133
1148
  }
1134
- .min-h-\[200px\] {
1135
- min-height: 200px;
1149
+ .min-h-\[20px\] {
1150
+ min-height: 20px;
1136
1151
  }
1137
1152
  .min-h-\[280px\] {
1138
1153
  min-height: 280px;
@@ -1290,6 +1305,9 @@ body {
1290
1305
  .w-\[280px\] {
1291
1306
  width: 280px;
1292
1307
  }
1308
+ .w-\[320px\] {
1309
+ width: 320px;
1310
+ }
1293
1311
  .w-\[400px\] {
1294
1312
  width: 400px;
1295
1313
  }
@@ -1845,6 +1863,9 @@ body {
1845
1863
  .overflow-hidden {
1846
1864
  overflow: hidden;
1847
1865
  }
1866
+ .overflow-visible {
1867
+ overflow: visible;
1868
+ }
1848
1869
  .overflow-x-auto {
1849
1870
  overflow-x: auto;
1850
1871
  }
@@ -1901,10 +1922,22 @@ body {
1901
1922
  .rounded-xl {
1902
1923
  border-radius: 0.75rem;
1903
1924
  }
1925
+ .rounded-b-lg {
1926
+ border-bottom-right-radius: 0.5rem;
1927
+ border-bottom-left-radius: 0.5rem;
1928
+ }
1904
1929
  .rounded-b-xl {
1905
1930
  border-bottom-right-radius: 0.75rem;
1906
1931
  border-bottom-left-radius: 0.75rem;
1907
1932
  }
1933
+ .rounded-l-md {
1934
+ border-top-left-radius: 0.375rem;
1935
+ border-bottom-left-radius: 0.375rem;
1936
+ }
1937
+ .rounded-r-md {
1938
+ border-top-right-radius: 0.375rem;
1939
+ border-bottom-right-radius: 0.375rem;
1940
+ }
1908
1941
  .rounded-t-2xl {
1909
1942
  border-top-left-radius: 1rem;
1910
1943
  border-top-right-radius: 1rem;
@@ -2441,6 +2474,9 @@ body {
2441
2474
  --tw-bg-opacity: 1;
2442
2475
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
2443
2476
  }
2477
+ .bg-gray-200\/50 {
2478
+ background-color: rgb(229 231 235 / 0.5);
2479
+ }
2444
2480
  .bg-gray-200\/80 {
2445
2481
  background-color: rgb(229 231 235 / 0.8);
2446
2482
  }
@@ -2455,6 +2491,9 @@ body {
2455
2491
  --tw-bg-opacity: 1;
2456
2492
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
2457
2493
  }
2494
+ .bg-gray-400\/50 {
2495
+ background-color: rgb(156 163 175 / 0.5);
2496
+ }
2458
2497
  .bg-gray-400\/60 {
2459
2498
  background-color: rgb(156 163 175 / 0.6);
2460
2499
  }
@@ -2491,6 +2530,9 @@ body {
2491
2530
  --tw-bg-opacity: 1;
2492
2531
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
2493
2532
  }
2533
+ .bg-gray-900\/40 {
2534
+ background-color: rgb(17 24 39 / 0.4);
2535
+ }
2494
2536
  .bg-gray-900\/50 {
2495
2537
  background-color: rgb(17 24 39 / 0.5);
2496
2538
  }
@@ -2659,6 +2701,9 @@ body {
2659
2701
  --tw-bg-opacity: 1;
2660
2702
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
2661
2703
  }
2704
+ .bg-white\/0 {
2705
+ background-color: rgb(255 255 255 / 0);
2706
+ }
2662
2707
  .bg-white\/10 {
2663
2708
  background-color: rgb(255 255 255 / 0.1);
2664
2709
  }
@@ -3452,6 +3497,9 @@ body {
3452
3497
  font-size: 6rem;
3453
3498
  line-height: 1;
3454
3499
  }
3500
+ .text-\[0\.8rem\] {
3501
+ font-size: 0.8rem;
3502
+ }
3455
3503
  .text-\[10px\] {
3456
3504
  font-size: 10px;
3457
3505
  }
@@ -3522,12 +3570,6 @@ body {
3522
3570
  .leading-tight {
3523
3571
  line-height: 1.25;
3524
3572
  }
3525
- .tracking-\[0\.18em\] {
3526
- letter-spacing: 0.18em;
3527
- }
3528
- .tracking-\[0\.2em\] {
3529
- letter-spacing: 0.2em;
3530
- }
3531
3573
  .tracking-\[0\.5em\] {
3532
3574
  letter-spacing: 0.5em;
3533
3575
  }
@@ -3594,6 +3636,10 @@ body {
3594
3636
  --tw-text-opacity: 1;
3595
3637
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
3596
3638
  }
3639
+ .text-emerald-300 {
3640
+ --tw-text-opacity: 1;
3641
+ color: rgb(110 231 183 / var(--tw-text-opacity, 1));
3642
+ }
3597
3643
  .text-emerald-600 {
3598
3644
  --tw-text-opacity: 1;
3599
3645
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
@@ -3602,6 +3648,14 @@ body {
3602
3648
  --tw-text-opacity: 1;
3603
3649
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
3604
3650
  }
3651
+ .text-emerald-800 {
3652
+ --tw-text-opacity: 1;
3653
+ color: rgb(6 95 70 / var(--tw-text-opacity, 1));
3654
+ }
3655
+ .text-emerald-900 {
3656
+ --tw-text-opacity: 1;
3657
+ color: rgb(6 78 59 / var(--tw-text-opacity, 1));
3658
+ }
3605
3659
  .text-gray-300 {
3606
3660
  --tw-text-opacity: 1;
3607
3661
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
@@ -4070,6 +4124,9 @@ body {
4070
4124
  --tw-ring-opacity: 1;
4071
4125
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
4072
4126
  }
4127
+ .ring-blue-500\/20 {
4128
+ --tw-ring-color: rgb(59 130 246 / 0.2);
4129
+ }
4073
4130
  .ring-blue-500\/50 {
4074
4131
  --tw-ring-color: rgb(59 130 246 / 0.5);
4075
4132
  }
@@ -4080,10 +4137,6 @@ body {
4080
4137
  .ring-gray-400\/30 {
4081
4138
  --tw-ring-color: rgb(156 163 175 / 0.3);
4082
4139
  }
4083
- .ring-green-200 {
4084
- --tw-ring-opacity: 1;
4085
- --tw-ring-color: rgb(187 247 208 / var(--tw-ring-opacity, 1));
4086
- }
4087
4140
  .ring-green-500\/30 {
4088
4141
  --tw-ring-color: rgb(34 197 94 / 0.3);
4089
4142
  }
@@ -4091,10 +4144,6 @@ body {
4091
4144
  --tw-ring-opacity: 1;
4092
4145
  --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1));
4093
4146
  }
4094
- .ring-red-200 {
4095
- --tw-ring-opacity: 1;
4096
- --tw-ring-color: rgb(254 202 202 / var(--tw-ring-opacity, 1));
4097
- }
4098
4147
  .ring-red-400\/40 {
4099
4148
  --tw-ring-color: rgb(248 113 113 / 0.4);
4100
4149
  }
@@ -4315,6 +4364,14 @@ input[type=range]:active::-webkit-slider-thumb {
4315
4364
  input[type=range]:active::-moz-range-thumb {
4316
4365
  transform: scale(1.2);
4317
4366
  }
4367
+ .no-spinner::-webkit-outer-spin-button,
4368
+ .no-spinner::-webkit-inner-spin-button {
4369
+ -webkit-appearance: none;
4370
+ margin: 0;
4371
+ }
4372
+ .no-spinner {
4373
+ -moz-appearance: textfield;
4374
+ }
4318
4375
  @keyframes fadeIn {
4319
4376
  from {
4320
4377
  opacity: 0.7;
@@ -4331,9 +4388,23 @@ input[type=range]:active::-moz-range-thumb {
4331
4388
  --tw-text-opacity: 1;
4332
4389
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
4333
4390
  }
4391
+ .first\:rounded-l-md:first-child {
4392
+ border-top-left-radius: 0.375rem;
4393
+ border-bottom-left-radius: 0.375rem;
4394
+ }
4395
+ .last\:rounded-r-md:last-child {
4396
+ border-top-right-radius: 0.375rem;
4397
+ border-bottom-right-radius: 0.375rem;
4398
+ }
4334
4399
  .last\:border-b-0:last-child {
4335
4400
  border-bottom-width: 0px;
4336
4401
  }
4402
+ .focus-within\:relative:focus-within {
4403
+ position: relative;
4404
+ }
4405
+ .focus-within\:z-20:focus-within {
4406
+ z-index: 20;
4407
+ }
4337
4408
  .focus-within\:border-blue-400:focus-within {
4338
4409
  --tw-border-opacity: 1;
4339
4410
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
@@ -4386,10 +4457,6 @@ input[type=range]:active::-moz-range-thumb {
4386
4457
  --tw-border-opacity: 1;
4387
4458
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
4388
4459
  }
4389
- .hover\:border-slate-300:hover {
4390
- --tw-border-opacity: 1;
4391
- border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
4392
- }
4393
4460
  .hover\:bg-\[\#00AB45\]\/95:hover {
4394
4461
  background-color: rgb(0 171 69 / 0.95);
4395
4462
  }
@@ -4690,6 +4757,9 @@ input[type=range]:active::-moz-range-thumb {
4690
4757
  .hover\:underline:hover {
4691
4758
  text-decoration-line: underline;
4692
4759
  }
4760
+ .hover\:opacity-100:hover {
4761
+ opacity: 1;
4762
+ }
4693
4763
  .hover\:opacity-80:hover {
4694
4764
  opacity: 0.8;
4695
4765
  }
@@ -4787,6 +4857,10 @@ input[type=range]:active::-moz-range-thumb {
4787
4857
  --tw-border-opacity: 1;
4788
4858
  border-color: rgb(234 179 8 / var(--tw-border-opacity, 1));
4789
4859
  }
4860
+ .focus\:bg-blue-600:focus {
4861
+ --tw-bg-opacity: 1;
4862
+ background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
4863
+ }
4790
4864
  .focus\:bg-gray-100:focus {
4791
4865
  --tw-bg-opacity: 1;
4792
4866
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
@@ -4799,6 +4873,10 @@ input[type=range]:active::-moz-range-thumb {
4799
4873
  --tw-bg-opacity: 1;
4800
4874
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
4801
4875
  }
4876
+ .focus\:text-white:focus {
4877
+ --tw-text-opacity: 1;
4878
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1));
4879
+ }
4802
4880
  .focus\:outline-none:focus {
4803
4881
  outline: 2px solid transparent;
4804
4882
  outline-offset: 2px;
@@ -4819,10 +4897,6 @@ input[type=range]:active::-moz-range-thumb {
4819
4897
  var(--tw-ring-shadow),
4820
4898
  var(--tw-shadow, 0 0 #0000);
4821
4899
  }
4822
- .focus\:ring-blue-200:focus {
4823
- --tw-ring-opacity: 1;
4824
- --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity, 1));
4825
- }
4826
4900
  .focus\:ring-blue-400\/20:focus {
4827
4901
  --tw-ring-color: rgb(96 165 250 / 0.2);
4828
4902
  }
@@ -4931,9 +5005,16 @@ input[type=range]:active::-moz-range-thumb {
4931
5005
  .disabled\:cursor-not-allowed:disabled {
4932
5006
  cursor: not-allowed;
4933
5007
  }
5008
+ .disabled\:bg-gray-300:disabled {
5009
+ --tw-bg-opacity: 1;
5010
+ background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
5011
+ }
4934
5012
  .disabled\:opacity-50:disabled {
4935
5013
  opacity: 0.5;
4936
5014
  }
5015
+ .group:last-child .group-last\:border-b-0 {
5016
+ border-bottom-width: 0px;
5017
+ }
4937
5018
  .group:hover .group-hover\:scale-105 {
4938
5019
  --tw-scale-x: 1.05;
4939
5020
  --tw-scale-y: 1.05;
@@ -4948,6 +5029,9 @@ input[type=range]:active::-moz-range-thumb {
4948
5029
  --tw-bg-opacity: 1;
4949
5030
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
4950
5031
  }
5032
+ .group:hover .group-hover\:bg-white\/10 {
5033
+ background-color: rgb(255 255 255 / 0.1);
5034
+ }
4951
5035
  .group:hover .group-hover\:bg-opacity-30 {
4952
5036
  --tw-bg-opacity: 0.3;
4953
5037
  }
@@ -4988,6 +5072,17 @@ input[type=range]:active::-moz-range-thumb {
4988
5072
  .group:hover .group-hover\:opacity-100 {
4989
5073
  opacity: 1;
4990
5074
  }
5075
+ .aria-selected\:bg-blue-50[aria-selected=true] {
5076
+ --tw-bg-opacity: 1;
5077
+ background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
5078
+ }
5079
+ .aria-selected\:text-blue-900[aria-selected=true] {
5080
+ --tw-text-opacity: 1;
5081
+ color: rgb(30 58 138 / var(--tw-text-opacity, 1));
5082
+ }
5083
+ .aria-selected\:opacity-100[aria-selected=true] {
5084
+ opacity: 1;
5085
+ }
4991
5086
  .data-\[disabled\]\:pointer-events-none[data-disabled] {
4992
5087
  pointer-events: none;
4993
5088
  }
@@ -5319,6 +5414,16 @@ input[type=range]:active::-moz-range-thumb {
5319
5414
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
5320
5415
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
5321
5416
  }
5417
+ .sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
5418
+ --tw-space-x-reverse: 0;
5419
+ margin-right: calc(1rem * var(--tw-space-x-reverse));
5420
+ margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
5421
+ }
5422
+ .sm\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
5423
+ --tw-space-y-reverse: 0;
5424
+ margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
5425
+ margin-bottom: calc(0px * var(--tw-space-y-reverse));
5426
+ }
5322
5427
  .sm\:space-y-1 > :not([hidden]) ~ :not([hidden]) {
5323
5428
  --tw-space-y-reverse: 0;
5324
5429
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
@@ -5650,9 +5755,6 @@ input[type=range]:active::-moz-range-thumb {
5650
5755
  .md\:w-\[220px\] {
5651
5756
  width: 220px;
5652
5757
  }
5653
- .md\:w-auto {
5654
- width: auto;
5655
- }
5656
5758
  .md\:min-w-\[120px\] {
5657
5759
  min-width: 120px;
5658
5760
  }
@@ -5662,9 +5764,6 @@ input[type=range]:active::-moz-range-thumb {
5662
5764
  .md\:max-w-\[350px\] {
5663
5765
  max-width: 350px;
5664
5766
  }
5665
- .md\:flex-none {
5666
- flex: none;
5667
- }
5668
5767
  .md\:grid-cols-2 {
5669
5768
  grid-template-columns: repeat(2, minmax(0, 1fr));
5670
5769
  }
@@ -5969,9 +6068,6 @@ input[type=range]:active::-moz-range-thumb {
5969
6068
  .xl\:mt-0 {
5970
6069
  margin-top: 0px;
5971
6070
  }
5972
- .xl\:block {
5973
- display: block;
5974
- }
5975
6071
  .xl\:grid-cols-4 {
5976
6072
  grid-template-columns: repeat(4, minmax(0, 1fr));
5977
6073
  }
@@ -6300,6 +6396,18 @@ input[type=range]:active::-moz-range-thumb {
6300
6396
  display: none;
6301
6397
  }
6302
6398
  }
6399
+ .\[\&\:has\(\[aria-selected\]\)\]\:bg-blue-50:has([aria-selected]) {
6400
+ --tw-bg-opacity: 1;
6401
+ background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
6402
+ }
6403
+ .first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child {
6404
+ border-top-left-radius: 0.375rem;
6405
+ border-bottom-left-radius: 0.375rem;
6406
+ }
6407
+ .last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child {
6408
+ border-top-right-radius: 0.375rem;
6409
+ border-bottom-right-radius: 0.375rem;
6410
+ }
6303
6411
  .\[\&\>span\]\:line-clamp-1 > span {
6304
6412
  overflow: hidden;
6305
6413
  display: -webkit-box;
package/dist/index.d.mts CHANGED
@@ -840,6 +840,9 @@ interface LineMonthlyMetric {
840
840
  underperforming_workspaces: number;
841
841
  total_workspaces: number;
842
842
  compliance_percentage?: number;
843
+ current_output?: number;
844
+ ideal_output?: number;
845
+ line_threshold?: number;
843
846
  }
844
847
  interface UnderperformingWorkspace {
845
848
  workspace_name: string;
@@ -2679,6 +2682,16 @@ declare const useLeaderboardMetrics: (date?: string, shiftId?: number, limit?: n
2679
2682
  refetch: () => Promise<void>;
2680
2683
  };
2681
2684
 
2685
+ interface EfficiencyLegendUpdate {
2686
+ green_min: number;
2687
+ green_max: number;
2688
+ yellow_min: number;
2689
+ yellow_max: number;
2690
+ red_min: number;
2691
+ red_max: number;
2692
+ critical_threshold: number;
2693
+ }
2694
+
2682
2695
  /**
2683
2696
  * Props for the {@link useDashboardMetrics} hook.
2684
2697
  */
@@ -2700,6 +2713,9 @@ interface UseDashboardMetricsProps {
2700
2713
  */
2701
2714
  userAccessibleLineIds?: string[];
2702
2715
  }
2716
+ interface DashboardMetricsMetadata {
2717
+ hasFlowBuffers?: boolean;
2718
+ }
2703
2719
  /**
2704
2720
  * Custom hook to fetch and subscribe to real-time dashboard metrics.
2705
2721
  *
@@ -2743,6 +2759,8 @@ interface UseDashboardMetricsProps {
2743
2759
  declare const useDashboardMetrics: ({ onLineMetricsUpdate, lineId, userAccessibleLineIds }: UseDashboardMetricsProps) => {
2744
2760
  workspaceMetrics: WorkspaceMetrics[];
2745
2761
  lineMetrics: OverviewLineMetric[];
2762
+ efficiencyLegend: EfficiencyLegendUpdate;
2763
+ metadata: DashboardMetricsMetadata | undefined;
2746
2764
  isLoading: boolean;
2747
2765
  error: MetricsError | null;
2748
2766
  refetch: () => Promise<void>;
@@ -4470,6 +4488,37 @@ interface UseIdleTimeReasonsResult {
4470
4488
  */
4471
4489
  declare function useIdleTimeReasons({ workspaceId, lineId, date, shiftId, startDate, endDate, enabled, keepPreviousData, }: UseIdleTimeReasonsProps): UseIdleTimeReasonsResult;
4472
4490
 
4491
+ /**
4492
+ * Clip Classification Service
4493
+ * Handles fetching clip classifications from the backend API
4494
+ */
4495
+ interface ClipClassification$1 {
4496
+ status: 'classified' | 'processing';
4497
+ label?: string;
4498
+ confidence?: number;
4499
+ }
4500
+
4501
+ interface IdleTimeClipMetadata {
4502
+ id: string;
4503
+ idle_start_time?: string;
4504
+ idle_end_time?: string;
4505
+ }
4506
+ interface UseIdleTimeClipClassificationsParams {
4507
+ workspaceId?: string;
4508
+ date?: string;
4509
+ shiftId?: number;
4510
+ enabled?: boolean;
4511
+ limit?: number;
4512
+ }
4513
+ interface UseIdleTimeClipClassificationsResult {
4514
+ idleClips: IdleTimeClipMetadata[];
4515
+ clipClassifications: Record<string, ClipClassification$1>;
4516
+ isLoading: boolean;
4517
+ error: string | null;
4518
+ refetch: () => Promise<void>;
4519
+ }
4520
+ declare function useIdleTimeClipClassifications({ workspaceId, date, shiftId, enabled, limit, }: UseIdleTimeClipClassificationsParams): UseIdleTimeClipClassificationsResult;
4521
+
4473
4522
  /**
4474
4523
  * useSessionTracking Hook
4475
4524
  * Manages dashboard session lifecycle with active/passive time tracking
@@ -6385,6 +6434,10 @@ interface HourlyOutputChartProps {
6385
6434
  shiftEnd?: string;
6386
6435
  showIdleTime?: boolean;
6387
6436
  idleTimeHourly?: Record<string, string[]>;
6437
+ idleTimeClips?: IdleTimeClipMetadata[];
6438
+ idleTimeClipClassifications?: Record<string, ClipClassification$1>;
6439
+ shiftDate?: string;
6440
+ timezone?: string;
6388
6441
  className?: string;
6389
6442
  }
6390
6443
 
@@ -6804,6 +6857,8 @@ interface PerformanceData$1 {
6804
6857
  total_workspaces: number;
6805
6858
  compliance_percentage?: number;
6806
6859
  hasData?: boolean;
6860
+ output?: number;
6861
+ idealOutput?: number;
6807
6862
  }
6808
6863
  interface WorkspacePerformance$1 {
6809
6864
  workspace_name: string;
@@ -7237,6 +7292,8 @@ interface WorkspaceGridProps {
7237
7292
  factoryView?: string;
7238
7293
  line2Uuid?: string;
7239
7294
  className?: string;
7295
+ hasFlowBuffers?: boolean;
7296
+ legend?: EfficiencyLegendUpdate;
7240
7297
  videoSources?: {
7241
7298
  defaultHlsUrl?: string;
7242
7299
  workspaceHlsUrls?: Record<string, string>;
@@ -7277,8 +7334,13 @@ interface WorkspaceGridItemProps {
7277
7334
  isLowEfficiency?: boolean;
7278
7335
  isVeryLowEfficiency?: boolean;
7279
7336
  onHoverChange?: (isHovered: boolean) => void;
7337
+ legend?: EfficiencyLegendUpdate;
7338
+ }
7339
+ interface LegendProps {
7340
+ useBottleneckLabel?: boolean;
7341
+ legend?: EfficiencyLegendUpdate;
7280
7342
  }
7281
- declare const Legend: () => react_jsx_runtime.JSX.Element;
7343
+ declare const Legend: React__default.FC<LegendProps>;
7282
7344
  declare const WorkspaceGridItem: React__default.FC<WorkspaceGridItemProps>;
7283
7345
 
7284
7346
  interface TargetWorkspaceGridProps {
@@ -7296,6 +7358,7 @@ interface VideoGridViewProps {
7296
7358
  workspaces: WorkspaceMetrics[];
7297
7359
  selectedLine?: number;
7298
7360
  className?: string;
7361
+ legend?: EfficiencyLegendUpdate;
7299
7362
  videoSources?: {
7300
7363
  defaultHlsUrl?: string;
7301
7364
  workspaceHlsUrls?: Record<string, string>;
@@ -7315,6 +7378,7 @@ interface MapGridViewProps {
7315
7378
  displayNames?: Record<string, string>;
7316
7379
  onWorkspaceHover?: (workspaceId: string) => void;
7317
7380
  onWorkspaceHoverEnd?: (workspaceId: string) => void;
7381
+ legend?: EfficiencyLegendUpdate;
7318
7382
  }
7319
7383
  /**
7320
7384
  * MapGridView component - 2D factory floor map view with workspace positions
@@ -7329,6 +7393,7 @@ interface VideoCardProps {
7329
7393
  onClick?: () => void;
7330
7394
  onFatalError?: () => void;
7331
7395
  isVeryLowEfficiency?: boolean;
7396
+ legend?: EfficiencyLegendUpdate;
7332
7397
  cropping?: VideoCroppingRect;
7333
7398
  canvasFps?: number;
7334
7399
  useRAF?: boolean;
@@ -9036,4 +9101,4 @@ interface ThreadSidebarProps {
9036
9101
  }
9037
9102
  declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
9038
9103
 
9039
- 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, 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, 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 IdleTimeReason, type IdleTimeReasonData, type IdleTimeReasonsData, type IdleTimeReasonsResponse, 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 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 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, 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 StreamProxyConfig, type SubscriberId, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Supervisor, type SupervisorAssignment, type SupervisorConfig, 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 TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, 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, 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 WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig, 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, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, aggregateKPIsFromLineMetricsRows, apiUtils, areAllLinesOnSameShift, authCoreService, authOTPService, authRateLimitService, buildDateKey, buildKPIsFromLineMetricsRow, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, cn, createDefaultKPIs, createInvitationService, createLinesService, createSessionTracker, createStreamProxyHandler, createSupabaseClient, createSupervisorService, createThrottledReload, createUserManagementService, createUserService, dashboardService, deleteThread, fetchIdleTimeReasons, filterDataByDateKeyRange, forceRefreshWorkspaceDisplayNames, formatDateInZone, formatDateKeyForDisplay, formatDateTimeInZone, formatDuration, formatISTDate, formatIdleTime, formatRangeLabel, formatReasonLabel, formatRelativeTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAllWorkspaceDisplayNamesSnapshot, getAnonClient, getAvailableShiftIds, getBrowserName, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentShiftForLine, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDateKeyFromDate, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getMonthKeyBounds, getMonthWeekRanges, getNextUpdateInterval, getOperationalDate, getReasonColor, getS3SignedUrl, getS3VideoSrc, getShiftData, getShiftNameById, 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, linesService, mergeWithDefaultConfig, migrateLegacyConfiguration, normalizeDateKeyRange, optifyeAgentClient, parseDateKeyToDate, parseS3Uri, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, 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, useCompanyUsersUsage, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useDynamicShiftConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHasLineAccess, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useHourEndTimer, useHourlyTargetAchievements, useHourlyTargetMisses, useIdleTimeReasons, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineShiftConfig, useLineSupervisor, useLineWorkspaceMetrics, useLines, useMessages, useMetrics, useMultiLineShiftConfigs, useNavigation, useOverrides, usePageOverride, usePrefetchClipCounts, useRealtimeLineMetrics, useRegistry, useSKUs, useSessionKeepAlive, useSessionTracking, useSessionTrackingContext, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useSupervisorsByLineIds, useTargets, useTeamManagementPermissions, useTheme, useThemeConfig, useThreads, useTicketHistory, useTimezoneContext, useUserLineAccess, useUserUsage, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceHealthById, useWorkspaceHealthStatus, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, useWorkspaceUptimeTimeline, userService, videoPrefetchManager, videoPreloader, whatsappService, withAccessControl, withAuth, withRegistry, withTimezone, workspaceHealthService, workspaceService };
9104
+ 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, 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, 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, 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 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 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, 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 StreamProxyConfig, type SubscriberId, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Supervisor, type SupervisorAssignment, type SupervisorConfig, 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 TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, 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, 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 WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig, 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, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, aggregateKPIsFromLineMetricsRows, apiUtils, areAllLinesOnSameShift, authCoreService, authOTPService, authRateLimitService, buildDateKey, buildKPIsFromLineMetricsRow, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, cn, createDefaultKPIs, createInvitationService, createLinesService, createSessionTracker, createStreamProxyHandler, createSupabaseClient, createSupervisorService, createThrottledReload, createUserManagementService, createUserService, dashboardService, deleteThread, fetchIdleTimeReasons, filterDataByDateKeyRange, forceRefreshWorkspaceDisplayNames, formatDateInZone, formatDateKeyForDisplay, formatDateTimeInZone, formatDuration, formatISTDate, formatIdleTime, formatRangeLabel, formatReasonLabel, formatRelativeTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAllWorkspaceDisplayNamesSnapshot, getAnonClient, getAvailableShiftIds, getBrowserName, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentShiftForLine, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDateKeyFromDate, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getMonthKeyBounds, getMonthWeekRanges, getNextUpdateInterval, getOperationalDate, getReasonColor, getS3SignedUrl, getS3VideoSrc, getShiftData, getShiftNameById, 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, linesService, mergeWithDefaultConfig, migrateLegacyConfiguration, normalizeDateKeyRange, optifyeAgentClient, parseDateKeyToDate, parseS3Uri, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, 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, useCompanyUsersUsage, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useDynamicShiftConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHasLineAccess, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useHourEndTimer, useHourlyTargetAchievements, useHourlyTargetMisses, useIdleTimeClipClassifications, useIdleTimeReasons, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineShiftConfig, useLineSupervisor, useLineWorkspaceMetrics, useLines, useMessages, useMetrics, useMultiLineShiftConfigs, useNavigation, useOverrides, usePageOverride, usePrefetchClipCounts, useRealtimeLineMetrics, useRegistry, useSKUs, useSessionKeepAlive, useSessionTracking, useSessionTrackingContext, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useSupervisorsByLineIds, useTargets, useTeamManagementPermissions, useTheme, useThemeConfig, useThreads, useTicketHistory, useTimezoneContext, useUserLineAccess, useUserUsage, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceHealthById, useWorkspaceHealthStatus, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, useWorkspaceUptimeTimeline, userService, videoPrefetchManager, videoPreloader, whatsappService, withAccessControl, withAuth, withRegistry, withTimezone, workspaceHealthService, workspaceService };