@bytebrand/fe-ui-core-autobahn 1.0.211 → 1.0.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cards/CarCard.tsx +51 -13
- package/cards/CarRow.tsx +5 -1
- package/cards/cardParts.tsx +1368 -1358
- package/cards/types.ts +182 -182
- package/constants/app.ts +11 -1
- package/constants/core.ts +12 -1
- package/data/toAutobahnCar.ts +600 -600
- package/locales/de/autobahn.json +891 -891
- package/locales/en/autobahn.json +891 -891
- package/package.json +2 -2
- package/theme/md3.css +15678 -15857
- package/ui/CreditKeyFigures.tsx +244 -244
- package/ui/index.ts +96 -96
- package/vdp/FinanceCalculator.tsx +1148 -1148
- package/vdp/VdpModules.tsx +3869 -4480
- package/vdp/index.ts +0 -3
- package/vdp/types.ts +2 -12
package/vdp/index.ts
CHANGED
|
@@ -35,7 +35,6 @@ export {
|
|
|
35
35
|
Co2Label,
|
|
36
36
|
VehicleDescription,
|
|
37
37
|
TrustStrip,
|
|
38
|
-
PriceHistory,
|
|
39
38
|
ProtectionProducts,
|
|
40
39
|
VdpAnchors,
|
|
41
40
|
VdpStickyBar,
|
|
@@ -58,7 +57,6 @@ export type {
|
|
|
58
57
|
VehicleDescriptionProps,
|
|
59
58
|
TrustStripProps,
|
|
60
59
|
TrustItem,
|
|
61
|
-
PriceHistoryProps,
|
|
62
60
|
ProtectionProductsProps,
|
|
63
61
|
ProtectionProduct,
|
|
64
62
|
VdpAnchorsProps,
|
|
@@ -84,7 +82,6 @@ export type {
|
|
|
84
82
|
EnergyTaxSummary,
|
|
85
83
|
Co2CostsSummary,
|
|
86
84
|
EquipmentGroups,
|
|
87
|
-
PriceHistoryPoint,
|
|
88
85
|
PriceRatingBand,
|
|
89
86
|
PriceRatingBands,
|
|
90
87
|
VdpReview,
|
package/vdp/types.ts
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
// (`?`) fields are ones we have NO real source for yet; they are optional ON
|
|
11
11
|
// PURPOSE so the components can detect their absence and render the
|
|
12
12
|
// NEEDS_DATA_LABEL ('Daten folgt') marker instead of a fabricated value. Never
|
|
13
|
-
// default these to placeholder numbers.
|
|
14
|
-
//
|
|
13
|
+
// default these to placeholder numbers. The market band (marketLow / marketAvg /
|
|
14
|
+
// marketHigh) is needs-data by default.
|
|
15
15
|
|
|
16
16
|
import type { AutobahnPhev } from '../cards/types';
|
|
17
17
|
|
|
@@ -138,14 +138,6 @@ export interface VdpReview {
|
|
|
138
138
|
rating: number;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
/** One point on the price-history sparkline. */
|
|
142
|
-
export interface PriceHistoryPoint {
|
|
143
|
-
/** x-axis label, e.g. 'vor 6 Wo.' / 'heute'. */
|
|
144
|
-
label: string;
|
|
145
|
-
/** price in EUR at that point. */
|
|
146
|
-
price: number;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
141
|
/** One [min,max] EUR band of the 5-tier Preisbewertung (mirrors legacy IRatingConfig). */
|
|
150
142
|
export interface PriceRatingBand {
|
|
151
143
|
min: number;
|
|
@@ -267,8 +259,6 @@ export interface VehicleDetail {
|
|
|
267
259
|
// --- NEEDS DATA: no real source yet (NEVER fabricate) ---
|
|
268
260
|
/** original list price (for the struck-through reference + history endpoint). */
|
|
269
261
|
listPrice?: number;
|
|
270
|
-
/** price-history points (sparkline). Needs-data by default. */
|
|
271
|
-
priceHistory?: PriceHistoryPoint[];
|
|
272
262
|
/** lowest comparable market price in EUR (market band lower bound). */
|
|
273
263
|
marketLow?: number;
|
|
274
264
|
/** average comparable market price in EUR (market band reference). */
|