/**
* 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 (color = active #5559ce / inactive #616161) ─────────────────── */
export function TabServices({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabInfo({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabCalendar({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabCard({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabWallet({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabSMS({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabCall({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabAttach({ color = '#616161', style }: IconProps) {
return (
);
}
export function TabBody({ color = '#616161', style }: IconProps) {
return (
);
}
/** Payment check icon (tauri FilesServicePaymentsCheckIcon) — rounded-square tick. */
export function FilesServicePaymentsCheck({ color = '#2F2F2F', size = 20, style }: IconProps & { size?: number }) {
return (
);
}
/* ── Turn card info-row icons (tauri CalendarD / ClockP / UserD / status) ───── */
export function CalendarD({ color = '#616161', size = 20, style }: IconProps & { size?: number }) {
return (
);
}
export function ClockP({ color = '#525252', size = 20, style }: IconProps & { size?: number }) {
return (
);
}
export function UserD({ color = '#616161', size = 20, style }: IconProps & { size?: number }) {
return (
);
}
export function StatusGlobe({ color = '#616161', 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 ? '#5559CE' : '#E1E1E1';
const bgColor = active ? '#5559CE' : '#E1E1E1';
const iconColor = active ? '#FAFAFA' : '#9B9B9B';
return (
);
}
/** Step «پرداخت» icon — tauri FilesAddServicePaymentStep, verbatim. */
export function FilesAddServicePaymentStep({ size = 52, active = false }: StepIconProps) {
const circleStrokeColor = active ? '#5559CE' : '#E1E1E1';
const bgColor = active ? '#5559CE' : '#E1E1E1';
const iconColor = active ? '#FAFAFA' : '#9B9B9B';
return (
);
}
/** Step «جزییات» icon — tauri FilesServiceDetailsStep, verbatim. */
export function FilesServiceDetailsStep({ size = 52, active = false }: StepIconProps) {
const circleStrokeColor = active ? '#5559CE' : '#E1E1E1';
const bgColor = active ? '#5559CE' : '#E1E1E1';
const iconColor = active ? '#FAFAFA' : '#9B9B9B';
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 = '#FF5450' }: { size?: number; color?: string }) {
return (
);
}
/** Modal close (X) — tauri CloseModalD, verbatim. */
export function CloseModalD() {
return (
);
}
/** «پذیرش کننده» — tauri UserTick, verbatim. */
export function UserTick({ color = '#0D9F43', size = 24 }: { color?: string; size?: number }) {
return (
);
}
/** آیکون «قیمت» کنار سرویس/کالا — tauri FilesServiceAddCard, verbatim. */
export function FilesServiceAddCard({ color = '#616161' }: { color?: string }) {
return (
);
}