@optifye/dashboard-core 6.12.4 → 6.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +23 -4
- package/dist/index.d.mts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +274 -87
- package/dist/index.mjs +275 -88
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1439,6 +1439,10 @@ body {
|
|
|
1439
1439
|
.w-auto {
|
|
1440
1440
|
width: auto;
|
|
1441
1441
|
}
|
|
1442
|
+
.w-fit {
|
|
1443
|
+
width: -moz-fit-content;
|
|
1444
|
+
width: fit-content;
|
|
1445
|
+
}
|
|
1442
1446
|
.w-full {
|
|
1443
1447
|
width: 100%;
|
|
1444
1448
|
}
|
|
@@ -2463,6 +2467,10 @@ body {
|
|
|
2463
2467
|
--tw-border-opacity: 1;
|
|
2464
2468
|
border-color: rgb(199 210 254 / var(--tw-border-opacity, 1));
|
|
2465
2469
|
}
|
|
2470
|
+
.border-orange-100 {
|
|
2471
|
+
--tw-border-opacity: 1;
|
|
2472
|
+
border-color: rgb(255 237 213 / var(--tw-border-opacity, 1));
|
|
2473
|
+
}
|
|
2466
2474
|
.border-orange-200 {
|
|
2467
2475
|
--tw-border-opacity: 1;
|
|
2468
2476
|
border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
|
|
@@ -2772,8 +2780,8 @@ body {
|
|
|
2772
2780
|
.bg-blue-50\/50 {
|
|
2773
2781
|
background-color: rgb(239 246 255 / 0.5);
|
|
2774
2782
|
}
|
|
2775
|
-
.bg-blue-50\/
|
|
2776
|
-
background-color: rgb(239 246 255 / 0.
|
|
2783
|
+
.bg-blue-50\/70 {
|
|
2784
|
+
background-color: rgb(239 246 255 / 0.7);
|
|
2777
2785
|
}
|
|
2778
2786
|
.bg-blue-50\/80 {
|
|
2779
2787
|
background-color: rgb(239 246 255 / 0.8);
|
|
@@ -2958,6 +2966,9 @@ body {
|
|
|
2958
2966
|
--tw-bg-opacity: 1;
|
|
2959
2967
|
background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
|
|
2960
2968
|
}
|
|
2969
|
+
.bg-orange-50\/70 {
|
|
2970
|
+
background-color: rgb(255 247 237 / 0.7);
|
|
2971
|
+
}
|
|
2961
2972
|
.bg-orange-500 {
|
|
2962
2973
|
--tw-bg-opacity: 1;
|
|
2963
2974
|
background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
|
|
@@ -2978,8 +2989,8 @@ body {
|
|
|
2978
2989
|
--tw-bg-opacity: 1;
|
|
2979
2990
|
background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
|
|
2980
2991
|
}
|
|
2981
|
-
.bg-purple-50\/
|
|
2982
|
-
background-color: rgb(250 245 255 / 0.
|
|
2992
|
+
.bg-purple-50\/70 {
|
|
2993
|
+
background-color: rgb(250 245 255 / 0.7);
|
|
2983
2994
|
}
|
|
2984
2995
|
.bg-red-100 {
|
|
2985
2996
|
--tw-bg-opacity: 1;
|
|
@@ -5689,6 +5700,14 @@ input[type=range]:active::-moz-range-thumb {
|
|
|
5689
5700
|
--tw-bg-opacity: 1;
|
|
5690
5701
|
background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1));
|
|
5691
5702
|
}
|
|
5703
|
+
.hover\:bg-orange-100:hover {
|
|
5704
|
+
--tw-bg-opacity: 1;
|
|
5705
|
+
background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
|
|
5706
|
+
}
|
|
5707
|
+
.hover\:bg-orange-200:hover {
|
|
5708
|
+
--tw-bg-opacity: 1;
|
|
5709
|
+
background-color: rgb(254 215 170 / var(--tw-bg-opacity, 1));
|
|
5710
|
+
}
|
|
5692
5711
|
.hover\:bg-purple-100:hover {
|
|
5693
5712
|
--tw-bg-opacity: 1;
|
|
5694
5713
|
background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
|
package/dist/index.d.mts
CHANGED
|
@@ -73,6 +73,8 @@ interface LineSkuBreakdownItem {
|
|
|
73
73
|
* on Nahar rows (quality_metrics path doesn't populate it).
|
|
74
74
|
*/
|
|
75
75
|
line_threshold_recalculated?: number | null;
|
|
76
|
+
/** Summed real-SKU `performance_metrics.total_day_output_recalculated`. */
|
|
77
|
+
output_target_recalculated?: number | null;
|
|
76
78
|
total_workspaces?: number;
|
|
77
79
|
underperforming_workspaces?: number;
|
|
78
80
|
underperforming_workspace_names?: string[];
|
|
@@ -130,6 +132,8 @@ interface LineDetailedMetrics {
|
|
|
130
132
|
output_hourly?: Record<string, number[]>;
|
|
131
133
|
hourly_target_output?: Array<number | null> | null;
|
|
132
134
|
line_threshold: number;
|
|
135
|
+
/** Summed real-SKU `performance_metrics.total_day_output_recalculated`. */
|
|
136
|
+
output_target_recalculated?: number | null;
|
|
133
137
|
threshold_pph?: number;
|
|
134
138
|
shift_start?: string;
|
|
135
139
|
shift_end?: string;
|
|
@@ -5752,6 +5756,8 @@ type LineSkuBreakdownBuiltItem = {
|
|
|
5752
5756
|
* Nahar rows (update_line_metrics_from_quality doesn't populate it).
|
|
5753
5757
|
*/
|
|
5754
5758
|
line_threshold_recalculated: number | null;
|
|
5759
|
+
/** Summed real-SKU `performance_metrics.total_day_output_recalculated`. */
|
|
5760
|
+
output_target_recalculated: number | null;
|
|
5755
5761
|
total_workspaces: number;
|
|
5756
5762
|
underperforming_workspaces: number;
|
|
5757
5763
|
underperforming_workspace_names: string[];
|
|
@@ -8237,6 +8243,10 @@ interface LineShiftData {
|
|
|
8237
8243
|
avg_efficiency: number;
|
|
8238
8244
|
underperforming_workspaces: number;
|
|
8239
8245
|
total_workspaces: number;
|
|
8246
|
+
output?: number;
|
|
8247
|
+
idle_time_seconds?: number;
|
|
8248
|
+
active_time_seconds?: number;
|
|
8249
|
+
available_time_seconds?: number;
|
|
8240
8250
|
hasData?: boolean;
|
|
8241
8251
|
}
|
|
8242
8252
|
interface LineDayData$2 {
|
|
@@ -9203,6 +9213,7 @@ interface ClipMetadata {
|
|
|
9203
9213
|
index: number;
|
|
9204
9214
|
idle_start_time?: string;
|
|
9205
9215
|
idle_end_time?: string;
|
|
9216
|
+
idle_duration_seconds?: number | null;
|
|
9206
9217
|
classification_label?: string | null;
|
|
9207
9218
|
classification_display_name?: string | null;
|
|
9208
9219
|
classification_palette_token?: string | null;
|
|
@@ -9216,6 +9227,7 @@ interface ClipSelectionContext {
|
|
|
9216
9227
|
clips: ClipMetadata[];
|
|
9217
9228
|
total?: number;
|
|
9218
9229
|
}
|
|
9230
|
+
type IdleClipSort = 'latest' | 'idle_duration_desc';
|
|
9219
9231
|
interface SOPCategory {
|
|
9220
9232
|
id: string;
|
|
9221
9233
|
label: string;
|
|
@@ -9253,6 +9265,8 @@ interface FileManagerFiltersProps {
|
|
|
9253
9265
|
showPercentileCycleFilters?: boolean;
|
|
9254
9266
|
prefetchedClipMetadata?: Record<string, ClipMetadata[]>;
|
|
9255
9267
|
activeCategoryLoading?: boolean;
|
|
9268
|
+
idleClipSort?: IdleClipSort;
|
|
9269
|
+
onIdleClipSortChange?: (sort: IdleClipSort) => void;
|
|
9256
9270
|
}
|
|
9257
9271
|
declare const FileManagerFilters: React__default.FC<FileManagerFiltersProps>;
|
|
9258
9272
|
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,8 @@ interface LineSkuBreakdownItem {
|
|
|
73
73
|
* on Nahar rows (quality_metrics path doesn't populate it).
|
|
74
74
|
*/
|
|
75
75
|
line_threshold_recalculated?: number | null;
|
|
76
|
+
/** Summed real-SKU `performance_metrics.total_day_output_recalculated`. */
|
|
77
|
+
output_target_recalculated?: number | null;
|
|
76
78
|
total_workspaces?: number;
|
|
77
79
|
underperforming_workspaces?: number;
|
|
78
80
|
underperforming_workspace_names?: string[];
|
|
@@ -130,6 +132,8 @@ interface LineDetailedMetrics {
|
|
|
130
132
|
output_hourly?: Record<string, number[]>;
|
|
131
133
|
hourly_target_output?: Array<number | null> | null;
|
|
132
134
|
line_threshold: number;
|
|
135
|
+
/** Summed real-SKU `performance_metrics.total_day_output_recalculated`. */
|
|
136
|
+
output_target_recalculated?: number | null;
|
|
133
137
|
threshold_pph?: number;
|
|
134
138
|
shift_start?: string;
|
|
135
139
|
shift_end?: string;
|
|
@@ -5752,6 +5756,8 @@ type LineSkuBreakdownBuiltItem = {
|
|
|
5752
5756
|
* Nahar rows (update_line_metrics_from_quality doesn't populate it).
|
|
5753
5757
|
*/
|
|
5754
5758
|
line_threshold_recalculated: number | null;
|
|
5759
|
+
/** Summed real-SKU `performance_metrics.total_day_output_recalculated`. */
|
|
5760
|
+
output_target_recalculated: number | null;
|
|
5755
5761
|
total_workspaces: number;
|
|
5756
5762
|
underperforming_workspaces: number;
|
|
5757
5763
|
underperforming_workspace_names: string[];
|
|
@@ -8237,6 +8243,10 @@ interface LineShiftData {
|
|
|
8237
8243
|
avg_efficiency: number;
|
|
8238
8244
|
underperforming_workspaces: number;
|
|
8239
8245
|
total_workspaces: number;
|
|
8246
|
+
output?: number;
|
|
8247
|
+
idle_time_seconds?: number;
|
|
8248
|
+
active_time_seconds?: number;
|
|
8249
|
+
available_time_seconds?: number;
|
|
8240
8250
|
hasData?: boolean;
|
|
8241
8251
|
}
|
|
8242
8252
|
interface LineDayData$2 {
|
|
@@ -9203,6 +9213,7 @@ interface ClipMetadata {
|
|
|
9203
9213
|
index: number;
|
|
9204
9214
|
idle_start_time?: string;
|
|
9205
9215
|
idle_end_time?: string;
|
|
9216
|
+
idle_duration_seconds?: number | null;
|
|
9206
9217
|
classification_label?: string | null;
|
|
9207
9218
|
classification_display_name?: string | null;
|
|
9208
9219
|
classification_palette_token?: string | null;
|
|
@@ -9216,6 +9227,7 @@ interface ClipSelectionContext {
|
|
|
9216
9227
|
clips: ClipMetadata[];
|
|
9217
9228
|
total?: number;
|
|
9218
9229
|
}
|
|
9230
|
+
type IdleClipSort = 'latest' | 'idle_duration_desc';
|
|
9219
9231
|
interface SOPCategory {
|
|
9220
9232
|
id: string;
|
|
9221
9233
|
label: string;
|
|
@@ -9253,6 +9265,8 @@ interface FileManagerFiltersProps {
|
|
|
9253
9265
|
showPercentileCycleFilters?: boolean;
|
|
9254
9266
|
prefetchedClipMetadata?: Record<string, ClipMetadata[]>;
|
|
9255
9267
|
activeCategoryLoading?: boolean;
|
|
9268
|
+
idleClipSort?: IdleClipSort;
|
|
9269
|
+
onIdleClipSortChange?: (sort: IdleClipSort) => void;
|
|
9256
9270
|
}
|
|
9257
9271
|
declare const FileManagerFilters: React__default.FC<FileManagerFiltersProps>;
|
|
9258
9272
|
|