feat(frontend): add React UI — procurement office, wizard, suppliers, inventory panel (dash port), role-based login

This commit is contained in:
ali_mohaghegh
2026-08-25 19:08:15 +03:30
parent 170aed66ea
commit 4e105c5cd5
103 changed files with 16352 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import type { LucideIcon } from "lucide-react";
export interface EmptyStateProps {
icon?: LucideIcon;
emoji?: string; // سازگاری با استفاده‌های قبلی
text: string;
}
// حالت خالی
export function EmptyState({ icon: Icon, emoji, text }: EmptyStateProps) {
return (
<div className="empty">
{Icon ? (
<Icon className="mx-auto mb-2 h-10 w-10 text-muted/60" strokeWidth={1.5} />
) : (
emoji && <div className="big">{emoji}</div>
)}
<div>{text}</div>
</div>
);
}