@optifye/dashboard-core 6.11.34 → 6.11.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +541 -227
- package/dist/index.mjs +541 -227
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -966,6 +966,7 @@ interface WorkspaceMonthlyMetric {
|
|
|
966
966
|
avg_efficiency: number;
|
|
967
967
|
total_output: number;
|
|
968
968
|
avg_cycle_time: number;
|
|
969
|
+
ideal_cycle_time?: number;
|
|
969
970
|
ideal_output: number;
|
|
970
971
|
total_day_output: number;
|
|
971
972
|
avg_pph: number;
|
|
@@ -2279,6 +2280,8 @@ interface CalendarShiftData {
|
|
|
2279
2280
|
output: number;
|
|
2280
2281
|
/** Average cycle time in seconds */
|
|
2281
2282
|
cycleTime: number;
|
|
2283
|
+
/** Ideal / target cycle time in seconds */
|
|
2284
|
+
idealCycleTime?: number;
|
|
2282
2285
|
/** Pieces per hour */
|
|
2283
2286
|
pph: number;
|
|
2284
2287
|
/** PPH threshold target */
|
|
@@ -7896,10 +7899,16 @@ interface WorkspacePerformance {
|
|
|
7896
7899
|
workspace_name: string;
|
|
7897
7900
|
workspace_uuid: string;
|
|
7898
7901
|
avg_efficiency?: number;
|
|
7902
|
+
avg_cycle_time?: number | null;
|
|
7903
|
+
ideal_cycle_time?: number | null;
|
|
7904
|
+
cycle_ratio?: number | null;
|
|
7905
|
+
metric_mode?: 'efficiency' | 'cycle_time';
|
|
7899
7906
|
last_5_days: {
|
|
7900
7907
|
date: string;
|
|
7901
7908
|
performance_score: 0 | 1 | 2;
|
|
7902
7909
|
efficiency?: number;
|
|
7910
|
+
avg_cycle_time?: number | null;
|
|
7911
|
+
ideal_cycle_time?: number | null;
|
|
7903
7912
|
}[];
|
|
7904
7913
|
}
|
|
7905
7914
|
/** Line day data with multi-shift support */
|
|
@@ -7928,6 +7937,7 @@ interface LineMonthlyPdfGeneratorProps {
|
|
|
7928
7937
|
id: number;
|
|
7929
7938
|
name: string;
|
|
7930
7939
|
}>;
|
|
7940
|
+
lineAssembly?: boolean;
|
|
7931
7941
|
/** Compact mode shows just "PDF" instead of "Export Monthly PDF" */
|
|
7932
7942
|
compact?: boolean;
|
|
7933
7943
|
className?: string;
|
|
@@ -7947,6 +7957,8 @@ interface LinePdfGeneratorProps {
|
|
|
7947
7957
|
/** Optional shift name to display (e.g., "Day", "Night", or custom name). If not provided, falls back to shift_id-based naming. */
|
|
7948
7958
|
shiftName?: string;
|
|
7949
7959
|
className?: string;
|
|
7960
|
+
shiftBreaks?: Break[];
|
|
7961
|
+
reportTimezone?: string;
|
|
7950
7962
|
}
|
|
7951
7963
|
declare const LinePdfGenerator: React__default.FC<LinePdfGeneratorProps>;
|
|
7952
7964
|
|
|
@@ -8170,6 +8182,8 @@ interface WorkspacePdfGeneratorProps {
|
|
|
8170
8182
|
idleTimeReasons?: IdleTimeReasonData[];
|
|
8171
8183
|
efficiencyLegend?: EfficiencyLegendUpdate;
|
|
8172
8184
|
hourlyCycleTimes?: number[];
|
|
8185
|
+
shiftBreaks?: Break[];
|
|
8186
|
+
reportTimezone?: string;
|
|
8173
8187
|
}
|
|
8174
8188
|
declare const WorkspacePdfGenerator: React__default.FC<WorkspacePdfGeneratorProps>;
|
|
8175
8189
|
|
|
@@ -8192,6 +8206,7 @@ interface WorkspaceMonthlyPdfGeneratorProps {
|
|
|
8192
8206
|
}>;
|
|
8193
8207
|
shiftConfig?: ShiftConfig | null;
|
|
8194
8208
|
efficiencyLegend?: EfficiencyLegendUpdate;
|
|
8209
|
+
trendSummary?: MonthlyTrendSummary | null;
|
|
8195
8210
|
className?: string;
|
|
8196
8211
|
/** If true, show compact button with just "PDF" text */
|
|
8197
8212
|
compact?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -966,6 +966,7 @@ interface WorkspaceMonthlyMetric {
|
|
|
966
966
|
avg_efficiency: number;
|
|
967
967
|
total_output: number;
|
|
968
968
|
avg_cycle_time: number;
|
|
969
|
+
ideal_cycle_time?: number;
|
|
969
970
|
ideal_output: number;
|
|
970
971
|
total_day_output: number;
|
|
971
972
|
avg_pph: number;
|
|
@@ -2279,6 +2280,8 @@ interface CalendarShiftData {
|
|
|
2279
2280
|
output: number;
|
|
2280
2281
|
/** Average cycle time in seconds */
|
|
2281
2282
|
cycleTime: number;
|
|
2283
|
+
/** Ideal / target cycle time in seconds */
|
|
2284
|
+
idealCycleTime?: number;
|
|
2282
2285
|
/** Pieces per hour */
|
|
2283
2286
|
pph: number;
|
|
2284
2287
|
/** PPH threshold target */
|
|
@@ -7896,10 +7899,16 @@ interface WorkspacePerformance {
|
|
|
7896
7899
|
workspace_name: string;
|
|
7897
7900
|
workspace_uuid: string;
|
|
7898
7901
|
avg_efficiency?: number;
|
|
7902
|
+
avg_cycle_time?: number | null;
|
|
7903
|
+
ideal_cycle_time?: number | null;
|
|
7904
|
+
cycle_ratio?: number | null;
|
|
7905
|
+
metric_mode?: 'efficiency' | 'cycle_time';
|
|
7899
7906
|
last_5_days: {
|
|
7900
7907
|
date: string;
|
|
7901
7908
|
performance_score: 0 | 1 | 2;
|
|
7902
7909
|
efficiency?: number;
|
|
7910
|
+
avg_cycle_time?: number | null;
|
|
7911
|
+
ideal_cycle_time?: number | null;
|
|
7903
7912
|
}[];
|
|
7904
7913
|
}
|
|
7905
7914
|
/** Line day data with multi-shift support */
|
|
@@ -7928,6 +7937,7 @@ interface LineMonthlyPdfGeneratorProps {
|
|
|
7928
7937
|
id: number;
|
|
7929
7938
|
name: string;
|
|
7930
7939
|
}>;
|
|
7940
|
+
lineAssembly?: boolean;
|
|
7931
7941
|
/** Compact mode shows just "PDF" instead of "Export Monthly PDF" */
|
|
7932
7942
|
compact?: boolean;
|
|
7933
7943
|
className?: string;
|
|
@@ -7947,6 +7957,8 @@ interface LinePdfGeneratorProps {
|
|
|
7947
7957
|
/** Optional shift name to display (e.g., "Day", "Night", or custom name). If not provided, falls back to shift_id-based naming. */
|
|
7948
7958
|
shiftName?: string;
|
|
7949
7959
|
className?: string;
|
|
7960
|
+
shiftBreaks?: Break[];
|
|
7961
|
+
reportTimezone?: string;
|
|
7950
7962
|
}
|
|
7951
7963
|
declare const LinePdfGenerator: React__default.FC<LinePdfGeneratorProps>;
|
|
7952
7964
|
|
|
@@ -8170,6 +8182,8 @@ interface WorkspacePdfGeneratorProps {
|
|
|
8170
8182
|
idleTimeReasons?: IdleTimeReasonData[];
|
|
8171
8183
|
efficiencyLegend?: EfficiencyLegendUpdate;
|
|
8172
8184
|
hourlyCycleTimes?: number[];
|
|
8185
|
+
shiftBreaks?: Break[];
|
|
8186
|
+
reportTimezone?: string;
|
|
8173
8187
|
}
|
|
8174
8188
|
declare const WorkspacePdfGenerator: React__default.FC<WorkspacePdfGeneratorProps>;
|
|
8175
8189
|
|
|
@@ -8192,6 +8206,7 @@ interface WorkspaceMonthlyPdfGeneratorProps {
|
|
|
8192
8206
|
}>;
|
|
8193
8207
|
shiftConfig?: ShiftConfig | null;
|
|
8194
8208
|
efficiencyLegend?: EfficiencyLegendUpdate;
|
|
8209
|
+
trendSummary?: MonthlyTrendSummary | null;
|
|
8195
8210
|
className?: string;
|
|
8196
8211
|
/** If true, show compact button with just "PDF" text */
|
|
8197
8212
|
compact?: boolean;
|