import type { LotSnapshot, Metric } from "@/types/dashboard";

export const dashboardMetrics: Metric[] = [
  { label: "Stok aktif", value: "312.8 kg", delta: "+12.4 kg minggu ini" },
  { label: "Nilai inventory", value: "Rp 5.84 M", delta: "42 lot aktif" },
  { label: "Sales bulan ini", value: "Rp 2.16 M", delta: "Margin 18.7%" },
  { label: "Shrinkage", value: "4.3 kg", delta: "1.3% dari lot disortir" }
];

export const activeLots: LotSnapshot[] = [
  {
    id: "mock-1",
    lotCode: "LOT-260428-SPA-001",
    supplier: "Supplier A",
    item: "Jenis A / Grade A",
    availableQty: "30 kg",
    lotStatus: "ACTIVE",
    attentionStatus: "LOW_STOCK",
    reason: "Stok tersedia tinggal 30 kg."
  },
  {
    id: "mock-2",
    lotCode: "LOT-260428-SPB-001-S1",
    supplier: "Supplier B",
    item: "Jenis A / Grade A",
    availableQty: "18 kg",
    lotStatus: "AGING",
    attentionStatus: "AGING",
    reason: "Umur lot tinggi dan perlu evaluasi rotasi stok."
  },
  {
    id: "mock-3",
    lotCode: "LOT-260428-SPC-004",
    supplier: "Supplier C",
    item: "Jenis B / Grade B",
    availableQty: "12 kg",
    lotStatus: "HOLD",
    attentionStatus: "HOLD",
    reason: "Lot sedang ditahan dan perlu tindak lanjut."
  }
];

export const movementHighlights = {
  id: [
    "Receipt RCV-20260428-001 membentuk 3 lot baru di Gudang Pusat.",
    "Sorting SORT-20260428-002 memecah 40 kg lot provisional menjadi 3 child lots.",
    "Sales SLS-20260428-001 mengalokasikan 20 kg dari Supplier A dan 10 kg dari Supplier B."
  ],
  en: [
    "Receipt RCV-20260428-001 created 3 new lots in Main Warehouse.",
    "Sorting SORT-20260428-002 split 40 kg of provisional lot into 3 child lots.",
    "Sales SLS-20260428-001 allocated 20 kg from Supplier A and 10 kg from Supplier B."
  ]
};
