@bytebrand/fe-ui-core 4.2.103 → 4.2.105
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/components/VehicleDetailedSidebar/VehicleDetailedSidebar.styl +1 -1
- package/source/components/VehicleDetailedSidebar/partials/Price.styl +4 -1
- package/source/components/VehicleDetailedSidebar/partials/Price.tsx +2 -1
- package/source/framework/types/types.ts +1 -0
- package/source/framework/utils/CommonUtils.ts +5 -4
package/package.json
CHANGED
|
@@ -250,6 +250,7 @@ export interface IVehicleDetailedSidebarProps {
|
|
|
250
250
|
infoSections: { title: string, value: string, icon?: string }[];
|
|
251
251
|
isAlternative?: boolean;
|
|
252
252
|
onCurrentSalesPriceChange: (price: number) => void;
|
|
253
|
+
className?: string;
|
|
253
254
|
}
|
|
254
255
|
|
|
255
256
|
interface IOfferRequestButtonWrapper {
|
|
@@ -220,10 +220,11 @@ export const buildQueryForSearch = (filters: any) => {
|
|
|
220
220
|
|
|
221
221
|
if (filterValue && filterValue.value) {
|
|
222
222
|
if (MMS_GROUP_FIELDS.indexOf(filter) !== -1) {
|
|
223
|
-
MMS_GROUP[filter] = filterValue.value;
|
|
224
223
|
|
|
225
224
|
if (filterValue.isSeries) {
|
|
226
225
|
MMS_GROUP.SERIES = filterValue.value;
|
|
226
|
+
} else {
|
|
227
|
+
MMS_GROUP[filter] = filterValue.value;
|
|
227
228
|
}
|
|
228
229
|
}
|
|
229
230
|
}
|
|
@@ -578,7 +579,7 @@ export const updateCookieList = (handleSentryInit: () => void) => {
|
|
|
578
579
|
// grant google cookies
|
|
579
580
|
if (typeof window.grantCookieConsent === 'function') {
|
|
580
581
|
window.grantCookieConsent(cookieConsentList);
|
|
581
|
-
}
|
|
582
|
+
}
|
|
582
583
|
|
|
583
584
|
// grant Microsoft cookies
|
|
584
585
|
if (isMicrosoftGranted && typeof window.grantCookieConsentMicrosoft === 'function') {
|
|
@@ -593,7 +594,7 @@ export const updateCookieList = (handleSentryInit: () => void) => {
|
|
|
593
594
|
// grant Facebook cookies
|
|
594
595
|
if (!isFacebookGranted && typeof window.grantCookieConsentFacebook === 'function') {
|
|
595
596
|
window.grantCookieConsentFacebook();
|
|
596
|
-
}
|
|
597
|
+
}
|
|
597
598
|
|
|
598
599
|
if (isHomeGoogleGranted && typeof window.allowGoogle === 'function') {
|
|
599
600
|
window.allowGoogle();
|
|
@@ -621,4 +622,4 @@ export const getCents = (value: number, prefix?: string, postfix?: string): stri
|
|
|
621
622
|
|
|
622
623
|
export const priceParse = (value: any) => {
|
|
623
624
|
return !!value ? Number.parseFloat(value) : null;
|
|
624
|
-
};
|
|
625
|
+
};
|