@optifye/dashboard-core 6.11.33 → 6.11.35

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
@@ -6352,9 +6352,6 @@ input[type=range]:active::-moz-range-thumb {
6352
6352
  .sm\:mb-6 {
6353
6353
  margin-bottom: 1.5rem;
6354
6354
  }
6355
- .sm\:ml-1 {
6356
- margin-left: 0.25rem;
6357
- }
6358
6355
  .sm\:ml-2 {
6359
6356
  margin-left: 0.5rem;
6360
6357
  }
package/dist/index.d.mts CHANGED
@@ -999,9 +999,17 @@ interface LineMonthlyMetric {
999
999
  interface UnderperformingWorkspace {
1000
1000
  workspace_name: string;
1001
1001
  workspace_uuid: string;
1002
+ avg_efficiency?: number;
1003
+ avg_cycle_time?: number;
1004
+ ideal_cycle_time?: number;
1005
+ cycle_ratio?: number | null;
1006
+ metric_mode?: 'efficiency' | 'cycle_time';
1002
1007
  last_5_days: {
1003
1008
  date: string;
1004
1009
  performance_score: number;
1010
+ efficiency?: number;
1011
+ avg_cycle_time?: number;
1012
+ ideal_cycle_time?: number;
1005
1013
  }[];
1006
1014
  }
1007
1015
  interface UnderperformingWorkspaces {
@@ -5450,6 +5458,11 @@ declare const dashboardService: {
5450
5458
  endDate?: string;
5451
5459
  shiftIds?: number[];
5452
5460
  }): Promise<LineMonthlyMetric[]>;
5461
+ getAssemblyMonthlyPoorestPerformers(lineIdInput: string, month: number, year: number, options?: {
5462
+ startDate?: string;
5463
+ endDate?: string;
5464
+ shiftIds?: number[];
5465
+ }): Promise<UnderperformingWorkspaces>;
5453
5466
  getUnderperformingWorkspaces(lineIdInput: string, monthInput: number | undefined, yearInput: number | undefined, shiftIds?: number[], startDate?: string, endDate?: string): Promise<UnderperformingWorkspaces>;
5454
5467
  getLineAverageIdleTime(lineId: string, date: string, shiftId: number, companyId: string): Promise<{
5455
5468
  line_id: string;
@@ -7812,10 +7825,16 @@ interface WorkspacePerformance$1 {
7812
7825
  workspace_name: string;
7813
7826
  workspace_uuid: string;
7814
7827
  avg_efficiency?: number;
7828
+ avg_cycle_time?: number | null;
7829
+ ideal_cycle_time?: number | null;
7830
+ cycle_ratio?: number | null;
7831
+ metric_mode?: 'efficiency' | 'cycle_time';
7815
7832
  last_5_days: {
7816
7833
  date: string;
7817
7834
  performance_score: 0 | 1 | 2;
7818
7835
  efficiency?: number;
7836
+ avg_cycle_time?: number | null;
7837
+ ideal_cycle_time?: number | null;
7819
7838
  }[];
7820
7839
  }
7821
7840
  /** Line monthly data with multi-shift support */
@@ -7834,6 +7853,7 @@ interface LineMonthlyHistoryProps {
7834
7853
  timezone: string;
7835
7854
  legend?: EfficiencyLegendUpdate;
7836
7855
  monitoringMode?: 'output' | 'uptime';
7856
+ lineAssembly?: boolean;
7837
7857
  shiftConfig?: ShiftConfig | null;
7838
7858
  /** Underperforming workspaces keyed by shift_id (0, 1, 2, ...) */
7839
7859
  underperformingWorkspaces: Record<number, WorkspacePerformance$1[]>;
package/dist/index.d.ts CHANGED
@@ -999,9 +999,17 @@ interface LineMonthlyMetric {
999
999
  interface UnderperformingWorkspace {
1000
1000
  workspace_name: string;
1001
1001
  workspace_uuid: string;
1002
+ avg_efficiency?: number;
1003
+ avg_cycle_time?: number;
1004
+ ideal_cycle_time?: number;
1005
+ cycle_ratio?: number | null;
1006
+ metric_mode?: 'efficiency' | 'cycle_time';
1002
1007
  last_5_days: {
1003
1008
  date: string;
1004
1009
  performance_score: number;
1010
+ efficiency?: number;
1011
+ avg_cycle_time?: number;
1012
+ ideal_cycle_time?: number;
1005
1013
  }[];
1006
1014
  }
1007
1015
  interface UnderperformingWorkspaces {
@@ -5450,6 +5458,11 @@ declare const dashboardService: {
5450
5458
  endDate?: string;
5451
5459
  shiftIds?: number[];
5452
5460
  }): Promise<LineMonthlyMetric[]>;
5461
+ getAssemblyMonthlyPoorestPerformers(lineIdInput: string, month: number, year: number, options?: {
5462
+ startDate?: string;
5463
+ endDate?: string;
5464
+ shiftIds?: number[];
5465
+ }): Promise<UnderperformingWorkspaces>;
5453
5466
  getUnderperformingWorkspaces(lineIdInput: string, monthInput: number | undefined, yearInput: number | undefined, shiftIds?: number[], startDate?: string, endDate?: string): Promise<UnderperformingWorkspaces>;
5454
5467
  getLineAverageIdleTime(lineId: string, date: string, shiftId: number, companyId: string): Promise<{
5455
5468
  line_id: string;
@@ -7812,10 +7825,16 @@ interface WorkspacePerformance$1 {
7812
7825
  workspace_name: string;
7813
7826
  workspace_uuid: string;
7814
7827
  avg_efficiency?: number;
7828
+ avg_cycle_time?: number | null;
7829
+ ideal_cycle_time?: number | null;
7830
+ cycle_ratio?: number | null;
7831
+ metric_mode?: 'efficiency' | 'cycle_time';
7815
7832
  last_5_days: {
7816
7833
  date: string;
7817
7834
  performance_score: 0 | 1 | 2;
7818
7835
  efficiency?: number;
7836
+ avg_cycle_time?: number | null;
7837
+ ideal_cycle_time?: number | null;
7819
7838
  }[];
7820
7839
  }
7821
7840
  /** Line monthly data with multi-shift support */
@@ -7834,6 +7853,7 @@ interface LineMonthlyHistoryProps {
7834
7853
  timezone: string;
7835
7854
  legend?: EfficiencyLegendUpdate;
7836
7855
  monitoringMode?: 'output' | 'uptime';
7856
+ lineAssembly?: boolean;
7837
7857
  shiftConfig?: ShiftConfig | null;
7838
7858
  /** Underperforming workspaces keyed by shift_id (0, 1, 2, ...) */
7839
7859
  underperformingWorkspaces: Record<number, WorkspacePerformance$1[]>;