Files
alexei.dolgolyov 68d2b5e3b0 feat(export): default-view option, Cyrillic PDF, per-wall projection pages
- Add 'Default View' scope to PNG export (fit-to-room for 2D, birds-eye for 3D)
- PDF now includes 3D top view, 2D default view, and every wall projection
- Embed DejaVu Sans TTF so Cyrillic room names render correctly in PDFs
- Preserve image aspect ratios and top-align on PDF pages
- Render each wall projection on its own PDF page at native aspect
- Mount a hidden per-wall projection renderer during export so all walls
  are captured even when the visible panel is in tab mode
- Keep 3D view mounted off-screen once requested so PDF can always snap
  to birds-eye without a visible view switch
- Outlet projection coordinate labels now show 3 decimal places
2026-04-14 18:49:26 +03:00

40 lines
987 B
JSON

{
"name": "@house-plan-maker/client",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc --build && vite build",
"preview": "vite preview",
"test": "vitest run",
"lint": "eslint src/"
},
"dependencies": {
"@house-plan-maker/shared": "*",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.5.0",
"dejavu-fonts-ttf": "^2.37.3",
"i18next": "^26.0.3",
"i18next-browser-languagedetector": "^8.2.1",
"jspdf": "^4.2.1",
"konva": "^9.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^17.0.2",
"react-konva": "^19.2.3",
"react-router": "^7.14.0",
"three": "^0.183.2"
},
"devDependencies": {
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/three": "^0.183.1",
"@vitejs/plugin-react": "^4.3.0",
"jsdom": "^26.0.0",
"typescript": "^5.7.0",
"vite": "^6.1.0",
"vitest": "^3.0.0"
}
}