@optifye/dashboard-core 6.12.49 → 6.12.50
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 +22 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +375 -120
- package/dist/index.mjs +375 -120
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -450,6 +450,10 @@ body {
|
|
|
450
450
|
left: -0.125rem;
|
|
451
451
|
right: -0.125rem;
|
|
452
452
|
}
|
|
453
|
+
.inset-x-0 {
|
|
454
|
+
left: 0px;
|
|
455
|
+
right: 0px;
|
|
456
|
+
}
|
|
453
457
|
.inset-y-0 {
|
|
454
458
|
top: 0px;
|
|
455
459
|
bottom: 0px;
|
|
@@ -848,6 +852,9 @@ body {
|
|
|
848
852
|
.-mt-\[1px\] {
|
|
849
853
|
margin-top: -1px;
|
|
850
854
|
}
|
|
855
|
+
.-mt-px {
|
|
856
|
+
margin-top: -1px;
|
|
857
|
+
}
|
|
851
858
|
.mb-0\.5 {
|
|
852
859
|
margin-bottom: 0.125rem;
|
|
853
860
|
}
|
|
@@ -1025,6 +1032,9 @@ body {
|
|
|
1025
1032
|
.h-1\.5 {
|
|
1026
1033
|
height: 0.375rem;
|
|
1027
1034
|
}
|
|
1035
|
+
.h-1\/2 {
|
|
1036
|
+
height: 50%;
|
|
1037
|
+
}
|
|
1028
1038
|
.h-10 {
|
|
1029
1039
|
height: 2.5rem;
|
|
1030
1040
|
}
|
|
@@ -2875,6 +2885,10 @@ body {
|
|
|
2875
2885
|
--tw-bg-opacity: 1;
|
|
2876
2886
|
background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1));
|
|
2877
2887
|
}
|
|
2888
|
+
.bg-\[\#fff5f3\] {
|
|
2889
|
+
--tw-bg-opacity: 1;
|
|
2890
|
+
background-color: rgb(255 245 243 / var(--tw-bg-opacity, 1));
|
|
2891
|
+
}
|
|
2878
2892
|
.bg-amber-100 {
|
|
2879
2893
|
--tw-bg-opacity: 1;
|
|
2880
2894
|
background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
|
|
@@ -5268,6 +5282,14 @@ body {
|
|
|
5268
5282
|
var(--tw-ring-shadow, 0 0 #0000),
|
|
5269
5283
|
var(--tw-shadow);
|
|
5270
5284
|
}
|
|
5285
|
+
.shadow-\[0_1px_2px_rgba\(15\,23\,42\,0\.06\)\] {
|
|
5286
|
+
--tw-shadow: 0 1px 2px rgba(15,23,42,0.06);
|
|
5287
|
+
--tw-shadow-colored: 0 1px 2px var(--tw-shadow-color);
|
|
5288
|
+
box-shadow:
|
|
5289
|
+
var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
5290
|
+
var(--tw-ring-shadow, 0 0 #0000),
|
|
5291
|
+
var(--tw-shadow);
|
|
5292
|
+
}
|
|
5271
5293
|
.shadow-\[0_1px_3px_rgba\(15\,23\,42\,0\.16\)\,0_0_0_1px_rgba\(255\,255\,255\,0\.06\)\] {
|
|
5272
5294
|
--tw-shadow: 0 1px 3px rgba(15,23,42,0.16),0 0 0 1px rgba(255,255,255,0.06);
|
|
5273
5295
|
--tw-shadow-colored: 0 1px 3px var(--tw-shadow-color), 0 0 0 1px var(--tw-shadow-color);
|
package/dist/index.d.mts
CHANGED
|
@@ -81,6 +81,7 @@ interface ShiftDefinition {
|
|
|
81
81
|
startTime: string;
|
|
82
82
|
endTime: string;
|
|
83
83
|
breaks: Break[];
|
|
84
|
+
offDays?: string[];
|
|
84
85
|
timezone?: string;
|
|
85
86
|
}
|
|
86
87
|
/**
|
|
@@ -508,6 +509,13 @@ interface OverviewLineMetric {
|
|
|
508
509
|
total_actual: number;
|
|
509
510
|
efficiency: number;
|
|
510
511
|
line_signal?: LineSignal | null;
|
|
512
|
+
red_flow_incident?: {
|
|
513
|
+
active: boolean;
|
|
514
|
+
count: number;
|
|
515
|
+
latest_status: 'open' | 'escalated' | null;
|
|
516
|
+
latest_incident_id: string | null;
|
|
517
|
+
last_below_at: string | null;
|
|
518
|
+
} | null;
|
|
511
519
|
shift_metrics: {
|
|
512
520
|
shift: string;
|
|
513
521
|
target: number;
|
|
@@ -8293,6 +8301,7 @@ interface PerformanceData$1 {
|
|
|
8293
8301
|
hasData?: boolean;
|
|
8294
8302
|
output?: number;
|
|
8295
8303
|
idealOutput?: number;
|
|
8304
|
+
targetOutput?: number;
|
|
8296
8305
|
idle_time_seconds?: number;
|
|
8297
8306
|
active_time_seconds?: number;
|
|
8298
8307
|
available_time_seconds?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ interface ShiftDefinition {
|
|
|
81
81
|
startTime: string;
|
|
82
82
|
endTime: string;
|
|
83
83
|
breaks: Break[];
|
|
84
|
+
offDays?: string[];
|
|
84
85
|
timezone?: string;
|
|
85
86
|
}
|
|
86
87
|
/**
|
|
@@ -508,6 +509,13 @@ interface OverviewLineMetric {
|
|
|
508
509
|
total_actual: number;
|
|
509
510
|
efficiency: number;
|
|
510
511
|
line_signal?: LineSignal | null;
|
|
512
|
+
red_flow_incident?: {
|
|
513
|
+
active: boolean;
|
|
514
|
+
count: number;
|
|
515
|
+
latest_status: 'open' | 'escalated' | null;
|
|
516
|
+
latest_incident_id: string | null;
|
|
517
|
+
last_below_at: string | null;
|
|
518
|
+
} | null;
|
|
511
519
|
shift_metrics: {
|
|
512
520
|
shift: string;
|
|
513
521
|
target: number;
|
|
@@ -8293,6 +8301,7 @@ interface PerformanceData$1 {
|
|
|
8293
8301
|
hasData?: boolean;
|
|
8294
8302
|
output?: number;
|
|
8295
8303
|
idealOutput?: number;
|
|
8304
|
+
targetOutput?: number;
|
|
8296
8305
|
idle_time_seconds?: number;
|
|
8297
8306
|
active_time_seconds?: number;
|
|
8298
8307
|
available_time_seconds?: number;
|