/** * Patient case-file (tauri /files-services) icons, ported verbatim from * clinic-pro-tauri/src/assets/icon so the detail page matches pixel-for-pixel. */ import type { CSSProperties } from 'react'; type IconProps = { color?: string; style?: CSSProperties }; /* ── Service card ─────────────────────────────────────────────────────────── */ export function FilesServiceSuccess({ style }: { style?: CSSProperties }){ return ( ); } export function FilesServiceMore({ style }: { style?: CSSProperties }){ return ( ); } /* ── Banner ───────────────────────────────────────────────────────────────── */ export function FilesServicePhone() { return ( ); } export function FilesServiceCalendar() { return ( ); } export function FilesServiceNotification() { return ( ); } export function FilesServiceMessage() { return ( ); } export function ArrowLeftPH({ style }: { style?: CSSProperties }){ return ( ); } export function ArrowLeftD() { return ( ); } /* ── Tab icons (رنگ از توکن والد؛ فعال var(--primary) / غیرفعال var(--text-2)) ── */ export function TabServices({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabInfo({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabCalendar({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabCard({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabWallet({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabSMS({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabCall({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabAttach({ color = 'currentColor', style }: IconProps) { return ( ); } export function TabBody({ color = 'currentColor', style }: IconProps) { return ( ); } /** Payment check icon (tauri FilesServicePaymentsCheckIcon) — rounded-square tick. */ export function FilesServicePaymentsCheck({ color = 'currentColor', size = 20, style }: IconProps & { size?: number }) { return ( ); } /* ── Turn card info-row icons (tauri CalendarD / ClockP / UserD / status) ───── */ export function CalendarD({ color = 'currentColor', size = 20, style }: IconProps & { size?: number }) { return ( ); } export function ClockP({ color = 'currentColor', size = 20, style }: IconProps & { size?: number }) { return ( ); } export function UserD({ color = 'currentColor', size = 20, style }: IconProps & { size?: number }) { return ( ); } export function StatusGlobe({ color = 'currentColor', size = 20, style }: IconProps & { size?: number }) { return ( ); } /* ── Create-service stepper (tauri files/create-service) ─────────────────── */ type StepIconProps = { size?: number; active?: boolean }; /** Step «ایجاد سرویس/ویرایش» icon — tauri FilesServiceAddServiceStep, verbatim. */ export function FilesServiceAddServiceStep({ size = 52, active = false }: StepIconProps){ const circleStrokeColor = active ? 'var(--primary)' : 'var(--border-2)'; const bgColor = active ? 'var(--primary)' : 'var(--border-2)'; const iconColor = active ? 'var(--on-primary)' : 'var(--text-3)'; return ( ); } /** Step «پرداخت» icon — tauri FilesAddServicePaymentStep, verbatim. */ export function FilesAddServicePaymentStep({ size = 52, active = false }: StepIconProps){ const circleStrokeColor = active ? 'var(--primary)' : 'var(--border-2)'; const bgColor = active ? 'var(--primary)' : 'var(--border-2)'; const iconColor = active ? 'var(--on-primary)' : 'var(--text-3)'; return ( ); } /** Step «جزییات» icon — tauri FilesServiceDetailsStep, verbatim. */ export function FilesServiceDetailsStep({ size = 52, active = false }: StepIconProps){ const circleStrokeColor = active ? 'var(--primary)' : 'var(--border-2)'; const bgColor = active ? 'var(--primary)' : 'var(--border-2)'; const iconColor = active ? 'var(--on-primary)' : 'var(--text-3)'; return ( ); } /* ── Payment step widgets (tauri Step2Payment) ───────────────────────────── */ /** Orange «هزینه سرویس» badge — tauri Step2PaymentCard, verbatim. */ export function Step2PaymentCard({ size = 40 }: { size?: number }){ return ( ); } /** «موجودی کیف پول» icon — tauri FilesServiceBalanceWallet, verbatim. */ export function FilesServiceBalanceWallet({ size = 20 }: { size?: number }){ return ( ); } /** Red trash icon (حذف تخفیف) — tauri TrashRed, verbatim. */ export function TrashRed({ size = 20, color = 'currentColor' }: { size?: number; color?: string }) { return ( ); } /** Modal close (X) — tauri CloseModalD, verbatim. */ export function CloseModalD() { return ( ); } /** «پذیرش کننده» — tauri UserTick, verbatim. */ export function UserTick({ color = 'currentColor', size = 24 }: { color?: string; size?: number }) { return ( ); } /** آیکون «قیمت» کنار سرویس/کالا — tauri FilesServiceAddCard, verbatim. */ export function FilesServiceAddCard({ color = 'currentColor' }: { color?: string }) { return ( ); }