refactor(emex): rewrite EMEX integration, add category fallback

Replace browser-based Puppeteer scraper with standalone scraper wrapper.
Add EMEX as fallback source for categories when PL24 is unavailable.
Update vehicle decoding to use new synchronous EMEX API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sase Dev
2026-02-12 19:48:03 +00:00
parent 8b106cbb1f
commit a8eb8f4bdc
20 changed files with 1494 additions and 1209 deletions

View File

@@ -111,16 +111,18 @@ export function SchemaViewer({
<img
src={schemaPic.url}
alt={schemaPic.label || "Sema goruntusu"}
width={schemaPic.width}
height={schemaPic.height}
{...(schemaPic.width > 0 && { width: schemaPic.width })}
{...(schemaPic.height > 0 && { height: schemaPic.height })}
className="max-h-full max-w-full select-none object-contain"
draggable={false}
/>
<HotspotOverlay
hotspots={hotspots}
imageWidth={schemaPic.width}
imageHeight={schemaPic.height}
/>
{schemaPic.width > 0 && schemaPic.height > 0 && (
<HotspotOverlay
hotspots={hotspots}
imageWidth={schemaPic.width}
imageHeight={schemaPic.height}
/>
)}
</div>
</div>
) : (