import type { PoWorkbenchListRow } from "@/components/PoWorkbench/types";

/** Local dev / Storybook PO list samples (production shell uses `/po/list`). */
export const PO_WORKBENCH_LIST_MOCK_ROWS: readonly PoWorkbenchListRow[] = [
  {
    id: "1",
    poNumber: "PO20250401000001",
    supplierName: "Acme Components Ltd.",
    orderDate: "2025-04-01",
    estimatedArrivalDate: "2025-04-18",
    escalated: true,
    status: "receiving",
  },
  {
    id: "2",
    poNumber: "PO20250401000002",
    supplierName: "Northwind Trading Co.",
    orderDate: "2025-04-01",
    estimatedArrivalDate: "2025-04-22",
    escalated: false,
    status: "pending",
  },
  {
    id: "3",
    poNumber: "PO20250401000003",
    supplierName: "Contoso Materials HK Branch",
    orderDate: "2025-04-02",
    estimatedArrivalDate: "2025-04-25",
    escalated: true,
    status: "completed",
  },
  {
    id: "4",
    poNumber: "PO20241201000004",
    supplierName: "Fabrikam Industries International",
    orderDate: "2024-12-01",
    estimatedArrivalDate: "2025-01-15",
    escalated: true,
    status: "completed",
  },
  {
    id: "5",
    poNumber: "PO20250402000005",
    supplierName: "Wide World Importers (Asia) Ltd.",
    orderDate: "2025-04-02",
    estimatedArrivalDate: "2025-04-20",
    escalated: false,
    status: "pending",
  },
  {
    id: "6",
    poNumber: "PO20250402000006",
    supplierName: "Adventure Works Manufacturing",
    orderDate: "2025-04-02",
    estimatedArrivalDate: "2025-04-28",
    escalated: true,
    status: "receiving",
  },
  {
    id: "7",
    poNumber: "PO20250403000007",
    supplierName: "Tailspin Toys Logistics Limited",
    orderDate: "2025-04-03",
    estimatedArrivalDate: "2025-05-02",
    escalated: false,
    status: "completed",
  },
  {
    id: "8",
    poNumber: "PO20250403000008",
    supplierName:
      "Very Very Long Supplier Name (Hong Kong) Co., Ltd. — International Procurement & Strategic Sourcing Division",
    orderDate: "2025-04-03",
    estimatedArrivalDate: "2025-05-06",
    escalated: true,
    status: "pending",
  },
  {
    id: "9",
    poNumber: "PO20250404000009",
    supplierName:
      "Mega Industrial Parts & Components Trading (Asia Pacific) — Shenzhen / Dongguan / Guangzhou Regional Office",
    orderDate: "2025-04-04",
    estimatedArrivalDate: "2025-04-30",
    escalated: false,
    status: "receiving",
  },
  {
    id: "10",
    poNumber: "PO20250405000010",
    supplierName:
      "Example Supplier With An Extremely Long Legal Entity Name That Should Force Wrapping Across Multiple Lines (Invoice Dept.)",
    orderDate: "2025-04-05",
    estimatedArrivalDate: "2025-05-12",
    escalated: true,
    status: "completed",
  },
  {
    id: "11",
    poNumber: "PO20250406000011",
    supplierName:
      "Global Manufacturing & Logistics Services Limited (c/o Warehouse 3, Block B, 1234 Some Very Long Industrial Estate Road, Kwai Chung, NT)",
    orderDate: "2025-04-06",
    estimatedArrivalDate: "2025-05-15",
    escalated: false,
    status: "receiving",
  },
] as const;

/** @deprecated Use {@link PO_WORKBENCH_LIST_MOCK_ROWS}. */
export const MOCK_WORKBENCH_SEARCH_RESULTS = PO_WORKBENCH_LIST_MOCK_ROWS;
