import type { ChannelPoint, RevenuePoint, StatMetric } from "@/types";

export const dashboardStats: StatMetric[] = [
  { id: "gmv", label: "إجمالي الإيراد", value: "1,284,920 ر.س", delta: "+18.6%", trend: "up", note: "مقارنة بـ مارس" },
  { id: "orders", label: "الطلبات المكتملة", value: "4,912", delta: "+11.2%", trend: "up", note: "آخر 30 يوم" },
  { id: "aov", label: "متوسط قيمة الطلب", value: "261 ر.س", delta: "-2.4%", trend: "down", note: "يحتاج تحسين سلة الشراء" },
  { id: "retention", label: "الاحتفاظ بالعملاء", value: "82.1%", delta: "+3.1%", trend: "up", note: "العملاء العائدون" },
];

export const revenueSeries: RevenuePoint[] = [
  { month: "يناير", revenue: 780000, orders: 2900 },
  { month: "فبراير", revenue: 842000, orders: 3180 },
  { month: "مارس", revenue: 906000, orders: 3375 },
  { month: "أبريل", revenue: 1002000, orders: 3710 },
  { month: "مايو", revenue: 1093000, orders: 3980 },
  { month: "يونيو", revenue: 1160000, orders: 4250 },
  { month: "يوليو", revenue: 1284920, orders: 4912 },
];

export const channelShare: ChannelPoint[] = [
  { name: "التطبيق", value: 46 },
  { name: "الموقع", value: 33 },
  { name: "واتساب", value: 14 },
  { name: "شركاء", value: 7 },
];

export const heatmapHours = [
  { slot: "09:00", score: 20 },
  { slot: "11:00", score: 42 },
  { slot: "13:00", score: 54 },
  { slot: "15:00", score: 79 },
  { slot: "17:00", score: 92 },
  { slot: "19:00", score: 68 },
  { slot: "21:00", score: 49 },
  { slot: "23:00", score: 30 },
];
