mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 12:09:35 +01:00
feat(shared): Länderauswahl mit ISO 3166-1 Mapping und CountryPicker
Backend: Country-Record (Shared Kernel), InMemoryCountryRepository mit ~249 Ländern und DACH-Priorisierung, ListCountries-UseCase, GET /api/countries?q= Endpoint. Frontend: CountryPicker-Komponente mit Fuzzy-Suche, DACH-Favoriten bei leerem Query. SupplierCreate-, CustomerCreate- und AddDeliveryAddress- Screens verwenden jetzt den CountryPicker statt Freitext. Detail-Screens zeigen den Ländercode in der Adressanzeige. Closes #71
This commit is contained in:
parent
2811836039
commit
a77f0ec5df
20 changed files with 1136 additions and 63 deletions
4
frontend/packages/types/src/country.ts
Normal file
4
frontend/packages/types/src/country.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export interface CountryDTO {
|
||||
code: string;
|
||||
name: string;
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@ export * from './article';
|
|||
export * from './customer';
|
||||
export * from './inventory';
|
||||
export * from './production';
|
||||
export * from './country';
|
||||
|
||||
// Re-export generated types for advanced usage
|
||||
export type { components, paths } from './generated/api';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue