import type { HolidayRow } from "@/types/holiday";
import avatarImage from "@/assets/images/avatar.jpeg";

const SEED: Omit<HolidayRow, "id" | "image">[] = [
  {
    employeeName: "Janet Adebayo",
    leaveType: "Medical Leave",
    from: "29 Feb 2024",
    to: "02 Mar 2024",
    daysLabel: "3 Days",
    reason: "Going To Hospital",
    status: "approved",
  },
  {
    employeeName: "Samuel Johnson",
    leaveType: "Casual Leave",
    from: "29 Feb 2024",
    to: "29 Feb 2024",
    daysLabel: "1 Day",
    reason: "Going To Hospital",
    status: "declined",
  },
  {
    employeeName: "Marvin McKinney",
    leaveType: "Maternity Leave",
    from: "29 Feb 2024",
    to: "02 Mar 2024",
    daysLabel: "3 Days",
    reason: "Going To Hospital",
    status: "approved",
  },
  {
    employeeName: "Terrance Moreno",
    leaveType: "Paternity Leave",
    from: "29 Feb 2024",
    to: "02 Mar 2024",
    daysLabel: "3 Days",
    reason: "Going To Hospital",
    status: "approved",
  },
  {
    employeeName: "Leslie Alexander",
    leaveType: "Medical Leave",
    from: "15 Jan 2024",
    to: "17 Jan 2024",
    daysLabel: "3 Days",
    reason: "Going To Hospital",
    status: "pending",
  },
  {
    employeeName: "Jenny Wilson",
    leaveType: "Casual Leave",
    from: "03 Mar 2024",
    to: "03 Mar 2024",
    daysLabel: "1 Day",
    reason: "Going To Hospital",
    status: "pending",
  },
  {
    employeeName: "Jacob Jones",
    leaveType: "Medical Leave",
    from: "10 Apr 2024",
    to: "12 Apr 2024",
    daysLabel: "3 Days",
    reason: "Going To Hospital",
    status: "approved",
  },
  {
    employeeName: "Leaise Watson",
    leaveType: "Casual Leave",
    from: "01 May 2024",
    to: "05 May 2024",
    daysLabel: "5 Days",
    reason: "Going To Hospital",
    status: "declined",
  },
];

/** 100 rows → 10 pages at 10/page (matches Figma “page 1 of 10”). */
export const HOLIDAY_STATIC_DATA: HolidayRow[] = Array.from({ length: 100 }, (_, i) => ({
  id: String(i + 1),
  image: avatarImage,
  ...SEED[i % SEED.length],
}));
