import { Bell, Mail, Smartphone } from "lucide-react"; import { Checkbox } from "@/components/ui/checkbox"; import { Switch } from "@/components/ui/switch"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; import { cn } from "@/lib/utils"; interface NotificationSettingItem { id: string; title: string; description: string; email: boolean; app: boolean; } interface NotificationSettingsTableProps { notificationSettings: NotificationSettingItem[]; } const NotificationSettingsTable = ({ notificationSettings, }: NotificationSettingsTableProps) => { return (
نوع اعلان
ایمیل
درون‌برنامه
{notificationSettings.map((notification) => { return (

{notification.title}

{notification.description}

); })}
); }; interface SettingsNotifications1Props { heading?: string; subHeading?: string; className?: string; notificationSettings?: NotificationSettingItem[]; } const SettingsNotifications1 = ({ heading = "اعلان‌ها", subHeading = "مشخص کنید برای فعالیت‌های CRM از کدام کانال‌ها مطلع شوید.", notificationSettings = [ { id: "mentions", title: "منشن مستقیم", description: "وقتی کسی شما را در لید، تسک یا گفتگو منشن می‌کند، فوراً مطلع شوید.", email: true, app: true, }, { id: "replies", title: "پاسخ به گفتگو", description: "وقتی روی نظرات شما در رکوردها پاسخ گذاشته می‌شود، به‌روزرسانی بگیرید.", email: true, app: true, }, { id: "access-requests", title: "درخواست دسترسی", description: "از درخواست دسترسی به داشبورد یا پایپ‌لاین و نتیجه تأیید باخبر شوید.", email: true, app: true, }, { id: "task-assignments", title: "تخصیص تسک", description: "وقتی لید، معامله یا تسک پیگیری به شما اختصاص می‌یابد، مطلع شوید.", email: true, app: true, }, { id: "shared-items", title: "اشتراک‌گذاری با شما", description: "وقتی همکار گزارشی، فایل یا لینک رکورد با شما به اشتراک می‌گذارد، مطلع شوید.", email: true, app: true, }, ], className, }: SettingsNotifications1Props) => { return (

{heading}

{subHeading}

خلاصه روزانه صبح

مرور لیدهای جدید، مهلت پیگیری و فعالیت‌های کلیدی تیم در ابتدای روز.

فعالیت تیم فروش

); }; export { SettingsNotifications1 };