@bytebrand/fe-ui-core 4.8.39 → 4.8.40
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/package.json +1 -1
- package/source/locales/data.ts +2 -2
package/package.json
CHANGED
package/source/locales/data.ts
CHANGED
|
@@ -39,7 +39,7 @@ export const vehicleProps = (car?: any, isOfferAvailable: boolean = true) => {
|
|
|
39
39
|
consumptionCombined: `${vehicleOption.consumptionCombined}l/100km (komb)*`,
|
|
40
40
|
co2: `${vehicleOption.co2} g CO2/km (komb)*`,
|
|
41
41
|
// wltpEnergyEfficiencyClass arrives as `selector_energyEfficiencyClass_X`; map to the bare letter via cbd dict.
|
|
42
|
-
co2Class: `CO2-Klasse ${cbd.cbd[vehicleOption.wltpEnergyEfficiencyClass] || vehicleOption.wltpEnergyEfficiencyClass || ''} (komb)`,
|
|
42
|
+
co2Class: `CO2-Klasse ${(cbd.cbd as any)[vehicleOption.wltpEnergyEfficiencyClass] || vehicleOption.wltpEnergyEfficiencyClass || ''} (komb)`,
|
|
43
43
|
new: 'neu',
|
|
44
44
|
wltpCo2: `${vehicleOption.wltpCo2}g CO2/km (WLTP, komb.)*`,
|
|
45
45
|
wltpConsumptionCombined: `${vehicleOption.consumptionCombined}l/100km`
|
|
@@ -59,7 +59,7 @@ export const vehicleProps = (car?: any, isOfferAvailable: boolean = true) => {
|
|
|
59
59
|
deliveryPeriodMonths: `${Math.round(monthsTo)} Monat\nab Bestellung`,
|
|
60
60
|
deliveryPeriodDays: `${count} Tag\nab Bestellung`,
|
|
61
61
|
co2Combined: `${vehicleOption.co2}g CO2/km (komb)*`,
|
|
62
|
-
co2Class: `CO2-Klasse ${cbd.cbd[vehicleOption.wltpEnergyEfficiencyClass] || vehicleOption.wltpEnergyEfficiencyClass || ''} (komb)`,
|
|
62
|
+
co2Class: `CO2-Klasse ${(cbd.cbd as any)[vehicleOption.wltpEnergyEfficiencyClass] || vehicleOption.wltpEnergyEfficiencyClass || ''} (komb)`,
|
|
63
63
|
co2: `${vehicleOption.co2} g/km `,
|
|
64
64
|
na: 'N/A',
|
|
65
65
|
priceSub: '/mtl.',
|