@bytebrand/fe-ui-core 4.2.96 → 4.2.98

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.2.96",
3
+ "version": "4.2.98",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -10,7 +10,7 @@ interface IFuelProps {
10
10
  values: any[];
11
11
  aggregation?: any;
12
12
  t?: any;
13
- isNotDetailed:boolean;
13
+ isNotDetailed?: boolean;
14
14
  onChange: (fieldName: string, fieldValue: string[]) => void;
15
15
  }
16
16
 
@@ -41,7 +41,7 @@ export interface IVehiclePriceSectionProps {
41
41
  common: ICommonFinancing;
42
42
  vatRate?: number;
43
43
  onDetailsClick(id: string): void;
44
- toggleCarToCompare?(carId: string): void;
44
+ toggleCarToCompare?(carId?: React.ChangeEvent<HTMLInputElement>): void;
45
45
  onRemoveClick?(carId: string): void;
46
46
  toCompare?: boolean;
47
47
  onAddOfferToMainSlideClick?: (id: string, mainImageId: string, price: number, financingConfig: any) => void;
@@ -49,23 +49,23 @@ export interface IVehiclePriceSectionProps {
49
49
  typeAlternative?: string;
50
50
  }
51
51
 
52
- interface IPriceData {
53
- tooltipDescription?: string;
54
- perMonthOld?: any;
55
- isAlternativeText?: string;
56
- perMonthCurrent?: any;
57
- showAboIcon?: boolean;
58
- isPriceDisable?: boolean;
59
- isTotal?: boolean;
60
- isNewPriceCategory?: boolean;
61
- positionY?: any;
62
- priceSub?: string | null;
63
- prefixOldPrice?: string | null;
64
- postfix?: any;
65
- title?: string;
66
- margin?: number;
67
- totalCurrent: number;
68
- }
52
+ // interface IPriceData {
53
+ // tooltipDescription?: string;
54
+ // perMonthOld?: any;
55
+ // isAlternativeText?: string;
56
+ // perMonthCurrent?: any;
57
+ // showAboIcon?: boolean;
58
+ // isPriceDisable?: boolean;
59
+ // isTotal?: boolean;
60
+ // isNewPriceCategory?: boolean;
61
+ // positionY?: any;
62
+ // priceSub?: string | null;
63
+ // prefixOldPrice?: string | null;
64
+ // postfix?: any;
65
+ // title?: string;
66
+ // margin?: number;
67
+ // totalCurrent: number;
68
+ // }
69
69
 
70
70
  const VehiclePrice: React.FC<IVehiclePriceSectionProps> = (props: IVehiclePriceSectionProps) => {
71
71
 
@@ -98,6 +98,7 @@ export interface IVehicleInfo {
98
98
  location?: IVehicleLocation;
99
99
  common: {
100
100
  currentSalesPrice?: number;
101
+ isStrikeShown?: boolean;
101
102
  };
102
103
  mileage?: string;
103
104
  environmentEmissions?: any;