feat: enhance ExportDropdown and PublicationsTable components for improved export functionality

- Update ExportDropdown to support selected item count and use new icons for formats
- Refactor PublicationsTable to include tri-state checkbox for selection management and year filtering
- Modify DashboardPage to handle selected publication IDs for export
- Adjust API service to support selective export based on publication IDs
This commit is contained in:
Alexis
2026-04-28 12:02:11 +02:00
parent 2bb1309133
commit 63b95fb834
6 changed files with 535 additions and 96 deletions
+18
View File
@@ -94,6 +94,14 @@ export function SearchIcon({ size = 14, className = "" }) {
);
}
export function FilterIcon({ size = 14, className = "" }) {
return (
<svg {...base} width={size} height={size} strokeWidth={2} className={className}>
<path d="M3 5h18M6 12h12M10 19h4" />
</svg>
);
}
export function AlertIcon({ size = 16, className = "" }) {
return (
<svg {...base} width={size} height={size} className={className}>
@@ -102,3 +110,13 @@ export function AlertIcon({ size = 16, className = "" }) {
</svg>
);
}
export function PackageIcon({ size = 18, className = "" }) {
return (
<svg {...base} width={size} height={size} className={className}>
<path d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z" />
<path d="M3.27 6.96L12 12.01l8.73-5.05M12 22.08V12" />
<path d="M7.5 4.21l9 5.16" />
</svg>
);
}