Adds three chart.js-backed KPI cards (Kassenstand-Verlauf, Einnahmen & Ausgaben, Top-10 offene Beitraege) to the existing Uebersicht page, consuming the new GET teams/:id/overview/stats endpoint via a new TeamStatsApi service. Introduces a small reusable ChartCanvas shared component that wraps the Chart.js instance lifecycle via @Input()/ ngOnChanges, following this codebase's existing input-decorator convention rather than effect(). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "myteamwallet-frontend-modern",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"build:container": "ng build --configuration=container",
|
|
"watch": "ng build --watch --configuration development",
|
|
"test": "ng test"
|
|
},
|
|
"private": true,
|
|
"packageManager": "npm@11.12.1",
|
|
"dependencies": {
|
|
"@angular/cdk": "^21.2.14",
|
|
"@angular/common": "^21.2.0",
|
|
"@angular/compiler": "^21.2.0",
|
|
"@angular/core": "^21.2.0",
|
|
"@angular/forms": "^21.2.0",
|
|
"@angular/material": "^21.2.14",
|
|
"@angular/platform-browser": "^21.2.0",
|
|
"@angular/router": "^21.2.0",
|
|
"@angular/service-worker": "^21.2.0",
|
|
"chart.js": "^4.5.1",
|
|
"qrcode": "^1.5.4",
|
|
"rxjs": "~7.8.0",
|
|
"tslib": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/build": "^21.2.6",
|
|
"@angular/cli": "^21.2.6",
|
|
"@angular/compiler-cli": "^21.2.0",
|
|
"@types/qrcode": "^1.5.6",
|
|
"jsdom": "^28.0.0",
|
|
"prettier": "^3.8.1",
|
|
"typescript": "~5.9.2",
|
|
"vitest": "^4.0.8"
|
|
}
|
|
}
|