@bytebrand/fe-ui-core-autobahn 1.0.0
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/assets/autode-logo.svg +7 -0
- package/cards/CarCard.tsx +174 -0
- package/cards/CarRow.tsx +182 -0
- package/cards/cardParts.tsx +489 -0
- package/cards/index.ts +35 -0
- package/cards/types.ts +114 -0
- package/chrome/Footer.tsx +189 -0
- package/chrome/TopBar.tsx +405 -0
- package/chrome/index.ts +20 -0
- package/chrome/svg.d.ts +11 -0
- package/compat/AccardionSection/AccardionSection.styl +45 -0
- package/compat/AccardionSection/AccardionSection.tsx +56 -0
- package/compat/AccordionWidget/AccordionWidget.styl +221 -0
- package/compat/AccordionWidget/AccordionWidget.tsx +257 -0
- package/compat/AccordionWrapper/AccordionItem/AccordionItem.styl +34 -0
- package/compat/AccordionWrapper/AccordionItem/AccordionItem.tsx +64 -0
- package/compat/AccordionWrapper/AccordionWrapper.tsx +34 -0
- package/compat/AdvantageItem/AdvantageItem.styl +47 -0
- package/compat/AdvantageItem/AdvantageItem.tsx +26 -0
- package/compat/Alternative/DealerInfo.styl +116 -0
- package/compat/Alternative/DealerInfo.tsx +171 -0
- package/compat/Badge/Badge.styl +44 -0
- package/compat/Badge/Badge.tsx +25 -0
- package/compat/BodyTypeIcons/Audi.tsx +9 -0
- package/compat/BodyTypeIcons/Bmw.tsx +860 -0
- package/compat/BodyTypeIcons/Ford.tsx +31 -0
- package/compat/BodyTypeIcons/IconsConfig.tsx +44 -0
- package/compat/BodyTypeIcons/IconsConfigCompact.tsx +30 -0
- package/compat/BodyTypeIcons/Mazda.tsx +44 -0
- package/compat/BodyTypeIcons/MercedesBenz.tsx +38 -0
- package/compat/BodyTypeIcons/Opel.tsx +19 -0
- package/compat/BodyTypeIcons/Search.tsx +19 -0
- package/compat/BodyTypeIcons/SelectorCategoryCombi.tsx +68 -0
- package/compat/BodyTypeIcons/SelectorCategoryCompact.tsx +20 -0
- package/compat/BodyTypeIcons/SelectorCategoryConvertible.tsx +68 -0
- package/compat/BodyTypeIcons/SelectorCategoryCoupe.tsx +60 -0
- package/compat/BodyTypeIcons/SelectorCategoryMinibus.tsx +64 -0
- package/compat/BodyTypeIcons/SelectorCategorySedan.tsx +69 -0
- package/compat/BodyTypeIcons/SelectorCategorySuv.tsx +77 -0
- package/compat/BodyTypeIcons/SelectorCategoryTransporter.tsx +68 -0
- package/compat/BodyTypeIcons/SelectorCategoryVan.tsx +72 -0
- package/compat/BodyTypeIcons/Volkswagen.tsx +330 -0
- package/compat/BodyTypeIcons/index.ts +17 -0
- package/compat/Button/Button.tsx +65 -0
- package/compat/ButtonOld/Button.styl +65 -0
- package/compat/ButtonOld/Button.tsx +84 -0
- package/compat/Checkbox/Checkbox.styl +120 -0
- package/compat/Checkbox/Checkbox.tsx +151 -0
- package/compat/Checkbox/FormCheckbox.styl +22 -0
- package/compat/Checkbox/FormCheckbox.tsx +86 -0
- package/compat/Co2Widget/CO2Efficiency.styl +219 -0
- package/compat/Co2Widget/CO2Efficiency.tsx +93 -0
- package/compat/ContactInfo/ContactInfo.styl +22 -0
- package/compat/ContactInfo/ContactInfo.tsx +161 -0
- package/compat/ContactInfo/TemporaryTranslation.ts +11 -0
- package/compat/CookieModal/CookieModal.tsx +49 -0
- package/compat/CookieModal/Modal.tsx +43 -0
- package/compat/CookieModal/ModalsConfig.tsx +23 -0
- package/compat/CookieModal/modals/ManageCookieModal/ManageCookieModal.styl +87 -0
- package/compat/CookieModal/modals/ManageCookieModal/ManageCookieModal.tsx +184 -0
- package/compat/CookieModal/modals/PreviewCookieModal/PreviewCookieModal.styl +67 -0
- package/compat/CookieModal/modals/PreviewCookieModal/PreviewCookieModal.tsx +51 -0
- package/compat/CookieModal/modals/TestModal.tsx +7 -0
- package/compat/CookieModal/useModal.ts +13 -0
- package/compat/CustomerQuote/CustomerQuote.styl +80 -0
- package/compat/CustomerQuote/CustomerQuote.tsx +68 -0
- package/compat/CustomerQuotesSlider/CustomerQuotesSlider.styl +46 -0
- package/compat/CustomerQuotesSlider/CustomerQuotesSlider.tsx +79 -0
- package/compat/CustomerQuotesSlider/SliderArrow.tsx +20 -0
- package/compat/CustomerQuotesSlider/slider.global.styl +2 -0
- package/compat/ExpansionPanel/ExpansionPanel.tsx +68 -0
- package/compat/FirstInfoBlock/FirstInfoBlock.styl +33 -0
- package/compat/FirstInfoBlock/FirstInfoBlock.tsx +49 -0
- package/compat/FirstInfoBlock/FirstInfoBlockItem/FirstInfoBlockItem.styl +66 -0
- package/compat/FirstInfoBlock/FirstInfoBlockItem/FirstInfoBlockItem.tsx +21 -0
- package/compat/FormattedNumber/FormattedNumber.styl +2 -0
- package/compat/FormattedNumber/FormattedNumber.tsx +90 -0
- package/compat/IconContainer/IconContainer.styl +23 -0
- package/compat/IconContainer/IconContainer.tsx +34 -0
- package/compat/Image/Image.styl +109 -0
- package/compat/Image/Image.tsx +302 -0
- package/compat/ImageSettings/EditableOptionsTable/CustomCheckbox/CustomCheckbox.styl +7 -0
- package/compat/ImageSettings/EditableOptionsTable/CustomCheckbox/CustomCheckbox.tsx +30 -0
- package/compat/ImageSettings/EditableOptionsTable/EditableOptionsTable.styl +122 -0
- package/compat/ImageSettings/EditableOptionsTable/EditableOptionsTable.tsx +199 -0
- package/compat/ImageSettings/EditableOptionsTable/ImageIcon/ImageIcon.styl +3 -0
- package/compat/ImageSettings/EditableOptionsTable/ImageIcon/ImageIcon.tsx +15 -0
- package/compat/ImageSettings/OptionsTable/OptionsTable.styl +47 -0
- package/compat/ImageSettings/OptionsTable/OptionsTable.tsx +122 -0
- package/compat/ImageSettings/PricePlan/PricePlan.styl +63 -0
- package/compat/ImageSettings/PricePlan/PricePlan.tsx +32 -0
- package/compat/ImageSettings/index.ts +42 -0
- package/compat/ImagesSet/ImagesSet.styl +28 -0
- package/compat/ImagesSet/ImagesSet.tsx +76 -0
- package/compat/InfoBlockWrapper/InfoBlockWrapper.styl +41 -0
- package/compat/InfoBlockWrapper/InfoBlockWrapper.tsx +46 -0
- package/compat/Loader/Loader.styl +39 -0
- package/compat/Loader/Loader.tsx +32 -0
- package/compat/MagnifyGlass/MagnifyGlass.styl +33 -0
- package/compat/MagnifyGlass/MagnifyGlass.tsx +213 -0
- package/compat/MdAccordionGroup/MdAccordionGroup.tsx +53 -0
- package/compat/MdCheckbox/MdCheckbox.tsx +69 -0
- package/compat/MdField/MdField.tsx +100 -0
- package/compat/MdSelect/MdSelect.tsx +103 -0
- package/compat/MdSwitch/MdSwitch.tsx +29 -0
- package/compat/MdTabs/MdTabs.tsx +47 -0
- package/compat/MdTooltip/MdTooltip.tsx +31 -0
- package/compat/OfferDetailedSection/OfferDetailedSection.styl +31 -0
- package/compat/OfferDetailedSection/OfferDetailedSection.tsx +100 -0
- package/compat/OfferDetailedSection/partials/PanelConfig.styl +132 -0
- package/compat/OfferDetailedSection/partials/PanelConfig.tsx +121 -0
- package/compat/OfferPanel/AboAccordion/AboAccordion.styl +25 -0
- package/compat/OfferPanel/AboAccordion/AboAccordion.tsx +128 -0
- package/compat/OfferPanel/AboAccordion/AboColorOptions/AboColorOptions.styl +12 -0
- package/compat/OfferPanel/AboAccordion/AboColorOptions/AboColorOptions.tsx +35 -0
- package/compat/OfferPanel/AboAccordion/AboFaq/AboFaq.styl +21 -0
- package/compat/OfferPanel/AboAccordion/AboFaq/AboFaq.tsx +25 -0
- package/compat/OfferPanel/AboAccordion/AboIncludedServices/AboIncludedServices.styl +14 -0
- package/compat/OfferPanel/AboAccordion/AboIncludedServices/AboIncludedServices.tsx +39 -0
- package/compat/OfferPanel/MuiOfferPeriod/MuiOfferPeriod.tsx +42 -0
- package/compat/OfferPanel/OfferCheckboxGroup/CheckboxContainer.tsx +140 -0
- package/compat/OfferPanel/OfferCheckboxGroup/OfferCheckboxGroup.styl +144 -0
- package/compat/OfferPanel/OfferCheckboxGroup/OfferCheckboxGroup.tsx +23 -0
- package/compat/OfferPanel/OfferPanel.styl +194 -0
- package/compat/OfferPanel/OfferPanel.tsx +81 -0
- package/compat/OfferPanel/OfferPeriod/OfferPeriod.styl +25 -0
- package/compat/OfferPanel/OfferPeriod/OfferPeriod.tsx +45 -0
- package/compat/OfferPanel/RangeGroup/RangeGroup.tsx +39 -0
- package/compat/OfferRequestButtonWrapper/OfferRequestButtonWrapper.styl +120 -0
- package/compat/OfferRequestButtonWrapper/OfferRequestButtonWrapper.styled.tsx +33 -0
- package/compat/OfferRequestButtonWrapper/OfferRequestButtonWrapper.tsx +122 -0
- package/compat/PriceRating/PriceRating.styl +47 -0
- package/compat/PriceRating/PriceRating.tsx +64 -0
- package/compat/PriceRatingDetailed/PriceRatingDetailed.styl +120 -0
- package/compat/PriceRatingDetailed/PriceRatingDetailed.tsx +191 -0
- package/compat/PricingToolBlock/PricingTool.styl +7 -0
- package/compat/PricingToolBlock/PricingTool.tsx +29 -0
- package/compat/Radio/Radio.styl +115 -0
- package/compat/Radio/Radio.tsx +141 -0
- package/compat/Radio/RadioGroup.styl +5 -0
- package/compat/Radio/RadioGroup.tsx +65 -0
- package/compat/Range/Range.tsx +79 -0
- package/compat/RateSearchValue/RateSearchValue.styl +22 -0
- package/compat/RateSearchValue/RateSearchValue.tsx +55 -0
- package/compat/RateSearchWidget/RateSearchWidget.styl +107 -0
- package/compat/RateSearchWidget/RateSearchWidget.tsx +163 -0
- package/compat/ServiceBlockItem/ServiceBlockItem.styl +48 -0
- package/compat/ServiceBlockItem/ServiceBlockItem.tsx +25 -0
- package/compat/SkeletonItem/SkeletonItem.styl +81 -0
- package/compat/SkeletonItem/SkeletonItem.tsx +80 -0
- package/compat/StarButton/StarButton.styl +39 -0
- package/compat/StarButton/StarButton.tsx +31 -0
- package/compat/TabPanel/TabPanel.tsx +29 -0
- package/compat/TimePicker/TimePicker.styl +23 -0
- package/compat/TimePicker/TimePicker.tsx +156 -0
- package/compat/Tooltip/Tooltip.styl +117 -0
- package/compat/Tooltip/Tooltip.tsx +63 -0
- package/compat/Usp/Usp.styl +78 -0
- package/compat/Usp/Usp.tsx +30 -0
- package/compat/Usp/uspTranslate.ts +12 -0
- package/compat/VehicleDetailedSidebar/VehicleDetailedSidebar.styl +37 -0
- package/compat/VehicleDetailedSidebar/VehicleDetailedSidebar.tsx +178 -0
- package/compat/VehicleDetailedSidebar/partials/Price.styl +27 -0
- package/compat/VehicleDetailedSidebar/partials/Price.tsx +41 -0
- package/compat/VehicleDetailedSidebar/partials/PriceContent.styl +124 -0
- package/compat/VehicleDetailedSidebar/partials/PriceContent.tsx +128 -0
- package/compat/VehicleDetailedSidebar/partials/Properties.styl +58 -0
- package/compat/VehicleDetailedSidebar/partials/Properties.tsx +155 -0
- package/compat/VehicleDetailedSidebar/partials/Title.styl +35 -0
- package/compat/VehicleDetailedSidebar/partials/Title.tsx +33 -0
- package/compat/VehicleDetailedSlider/VehicleDetailedSlider.styl +147 -0
- package/compat/VehicleDetailedSlider/VehicleDetailedSlider.tsx +382 -0
- package/compat/VehicleDetailedSlider/partials/MobileStast.tsx +61 -0
- package/compat/VehicleDetailedSlider/partials/MobileStats.styl +71 -0
- package/compat/VehicleDetailedSlider/partials/PriceData.styl +51 -0
- package/compat/VehicleDetailedSlider/partials/PriceData.tsx +67 -0
- package/compat/VehicleDetailedSlider/partials/Stats.styl +80 -0
- package/compat/VehicleDetailedSlider/partials/Stats.tsx +62 -0
- package/compat/VehicleDetailedSlider/partials/Title.styl +45 -0
- package/compat/VehicleDetailedSlider/partials/Title.tsx +36 -0
- package/compat/VehicleFormattedPrice/VehicleFormattedPrice.styl +149 -0
- package/compat/VehicleFormattedPrice/VehicleFormattedPrice.tsx +163 -0
- package/compat/VehicleSlider/VehicleSlider.styl +63 -0
- package/compat/VehicleSlider/VehicleSlider.tsx +125 -0
- package/compat/VehicleSlider/VehicleSliderForSRL.tsx +175 -0
- package/compat/VehicleSmallCard/SeoText/SeoText.styl +8 -0
- package/compat/VehicleSmallCard/SeoText/SeoText.tsx +16 -0
- package/compat/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.styl +204 -0
- package/compat/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx +199 -0
- package/compat/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.styl +273 -0
- package/compat/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.tsx +179 -0
- package/compat/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.styl +165 -0
- package/compat/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.tsx +299 -0
- package/compat/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.styl +33 -0
- package/compat/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.tsx +35 -0
- package/compat/VehicleSmallCard/VehicleData/VehicleTitle/VehicleTitle.styl +136 -0
- package/compat/VehicleSmallCard/VehicleData/VehicleTitle/VehicleTitle.tsx +91 -0
- package/compat/VehicleSmallCard/VehicleSmallCard.styl +310 -0
- package/compat/VehicleSmallCard/VehicleSmallCard.tsx +448 -0
- package/compat/index.ts +77 -0
- package/compat/legacy-theme/mixins.styl +93 -0
- package/compat/legacy-theme/priceReviewColors.styl +12 -0
- package/compat/legacy-theme/slider.global.styl +5 -0
- package/compat/legacy-theme/theme.styl +136 -0
- package/compat/withLabel/withLabel.styl +33 -0
- package/compat/withLabel/withLabel.tsx +44 -0
- package/compat/withStats/withStats.styl +174 -0
- package/compat/withStats/withStats.tsx +238 -0
- package/constants/RateSearchWidget.ts +15 -0
- package/constants/Search.ts +290 -0
- package/constants/SearchWidget.ts +108 -0
- package/constants/app.ts +223 -0
- package/constants/common.ts +127 -0
- package/constants/core.ts +131 -0
- package/constants/highlights.ts +165 -0
- package/constants/price.ts +9 -0
- package/constants/selectors.ts +38 -0
- package/constants.ts +91 -0
- package/data/DataTransformers.ts +88 -0
- package/data/fieldMapping.ts +342 -0
- package/data/toAutobahnCar.ts +442 -0
- package/iconsvg/IconSVG.tsx +30 -0
- package/iconsvg/IconSVGConfig.tsx +768 -0
- package/iconsvg/SVG/AboPartner.tsx +16 -0
- package/iconsvg/SVG/ArrowQuotes.tsx +22 -0
- package/iconsvg/SVG/CloseIcon.tsx +17 -0
- package/iconsvg/SVG/CloseIconSelect.tsx +18 -0
- package/iconsvg/SVG/ClosedLockIcon.tsx +18 -0
- package/iconsvg/SVG/DealerCheckIcon.tsx +18 -0
- package/iconsvg/SVG/DealerPopoverMail.tsx +21 -0
- package/iconsvg/SVG/DealerPopoverPhone.tsx +21 -0
- package/iconsvg/SVG/GrayPhoneIcon.tsx +22 -0
- package/iconsvg/SVG/InternetIcon.tsx +18 -0
- package/iconsvg/SVG/WhiteEnvelopeIcon.tsx +21 -0
- package/iconsvg/SVG/bodyType/Cabrio.tsx +23 -0
- package/iconsvg/SVG/bodyType/Coupe.tsx +22 -0
- package/iconsvg/SVG/bodyType/Minibus.tsx +22 -0
- package/iconsvg/SVG/bodyType/Other.tsx +25 -0
- package/iconsvg/SVG/bodyType/Sedan.tsx +22 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryCombi.tsx +68 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryCompact.tsx +20 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryConvertible.tsx +68 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryCoupe.tsx +60 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryMinibus.tsx +64 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryOther.tsx +60 -0
- package/iconsvg/SVG/bodyType/SelectorCategorySedan.tsx +69 -0
- package/iconsvg/SVG/bodyType/SelectorCategorySuv.tsx +77 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryTransporter.tsx +68 -0
- package/iconsvg/SVG/bodyType/SelectorCategoryVan.tsx +72 -0
- package/iconsvg/SVG/bodyType/Small.tsx +23 -0
- package/iconsvg/SVG/bodyType/Suv.tsx +23 -0
- package/iconsvg/SVG/bodyType/Van.tsx +23 -0
- package/iconsvg/SVG/bodyType/Wagon.tsx +23 -0
- package/iconsvg/SVG/common/AddIcon.tsx +16 -0
- package/iconsvg/SVG/common/AddPlus.tsx +16 -0
- package/iconsvg/SVG/common/AddressDashboard.tsx +29 -0
- package/iconsvg/SVG/common/AddressIcon.tsx +20 -0
- package/iconsvg/SVG/common/ArrowDetailedAccordionBlue.tsx +26 -0
- package/iconsvg/SVG/common/ArrowDownBlue.tsx +21 -0
- package/iconsvg/SVG/common/ArrowSelect.tsx +23 -0
- package/iconsvg/SVG/common/ArrowStepDown.tsx +18 -0
- package/iconsvg/SVG/common/Autocheck.tsx +19 -0
- package/iconsvg/SVG/common/AutodeLogo.tsx +36 -0
- package/iconsvg/SVG/common/Avatar.tsx +17 -0
- package/iconsvg/SVG/common/BellGray.tsx +19 -0
- package/iconsvg/SVG/common/BigInfoTransparent.tsx +13 -0
- package/iconsvg/SVG/common/Browse.tsx +20 -0
- package/iconsvg/SVG/common/Calendar.tsx +24 -0
- package/iconsvg/SVG/common/CallbackDashboard.tsx +30 -0
- package/iconsvg/SVG/common/Camera.tsx +17 -0
- package/iconsvg/SVG/common/Car.tsx +16 -0
- package/iconsvg/SVG/common/CarBody.tsx +19 -0
- package/iconsvg/SVG/common/CarFront.tsx +43 -0
- package/iconsvg/SVG/common/CarInspectionCheck.tsx +21 -0
- package/iconsvg/SVG/common/CarInspectionScheme0.tsx +32 -0
- package/iconsvg/SVG/common/CarInspectionScheme1.tsx +53 -0
- package/iconsvg/SVG/common/CarInspectionScheme2.tsx +52 -0
- package/iconsvg/SVG/common/CarInspectionScheme3.tsx +32 -0
- package/iconsvg/SVG/common/CarInspectionScheme4.tsx +32 -0
- package/iconsvg/SVG/common/CarInspectionScheme5.tsx +32 -0
- package/iconsvg/SVG/common/CarInspectionScheme6.tsx +32 -0
- package/iconsvg/SVG/common/CarInspectionSchemeGeneral copy.tsx +24 -0
- package/iconsvg/SVG/common/CarInspectionSchemeGeneral.tsx +24 -0
- package/iconsvg/SVG/common/CheckBlue.tsx +18 -0
- package/iconsvg/SVG/common/CheckGreen.tsx +22 -0
- package/iconsvg/SVG/common/CheckMark.tsx +16 -0
- package/iconsvg/SVG/common/CheckWhite.tsx +19 -0
- package/iconsvg/SVG/common/Chevron.tsx +17 -0
- package/iconsvg/SVG/common/CircledCheckmark.tsx +25 -0
- package/iconsvg/SVG/common/Clock.tsx +18 -0
- package/iconsvg/SVG/common/Close.tsx +19 -0
- package/iconsvg/SVG/common/CloseGrey.tsx +22 -0
- package/iconsvg/SVG/common/ContactEmail.tsx +21 -0
- package/iconsvg/SVG/common/ContactPhone.tsx +28 -0
- package/iconsvg/SVG/common/CopyIcon copy.tsx +22 -0
- package/iconsvg/SVG/common/CopyIcon.tsx +22 -0
- package/iconsvg/SVG/common/CopyIconForDealer.tsx +21 -0
- package/iconsvg/SVG/common/DashboardIcon.tsx +20 -0
- package/iconsvg/SVG/common/DashboardQuestionMark.tsx +20 -0
- package/iconsvg/SVG/common/DealersIcon.tsx +20 -0
- package/iconsvg/SVG/common/DeleteCircle.tsx +31 -0
- package/iconsvg/SVG/common/DeleteV1Icon.tsx +18 -0
- package/iconsvg/SVG/common/DeliveryDashboard.tsx +25 -0
- package/iconsvg/SVG/common/DeliveryMail.tsx +24 -0
- package/iconsvg/SVG/common/Discount100De.tsx +18 -0
- package/iconsvg/SVG/common/Discount100En.tsx +19 -0
- package/iconsvg/SVG/common/Discount66De.tsx +28 -0
- package/iconsvg/SVG/common/Discount66En.tsx +20 -0
- package/iconsvg/SVG/common/DoneIcon.tsx +18 -0
- package/iconsvg/SVG/common/EditCircle.tsx +32 -0
- package/iconsvg/SVG/common/EditPriceIcon.tsx +20 -0
- package/iconsvg/SVG/common/EuroCurrency.tsx +18 -0
- package/iconsvg/SVG/common/Export.tsx +20 -0
- package/iconsvg/SVG/common/Eye.tsx +17 -0
- package/iconsvg/SVG/common/EyeCatch.tsx +19 -0
- package/iconsvg/SVG/common/FavoritesIcon.tsx +20 -0
- package/iconsvg/SVG/common/FilterRange.tsx +16 -0
- package/iconsvg/SVG/common/FilterToolBlack.tsx +23 -0
- package/iconsvg/SVG/common/FlagDe.tsx +21 -0
- package/iconsvg/SVG/common/FlagEn.tsx +43 -0
- package/iconsvg/SVG/common/GrayEnvelopeIcon.tsx +19 -0
- package/iconsvg/SVG/common/HamburgerMenuIcon.tsx +18 -0
- package/iconsvg/SVG/common/HandingOverDashboard.tsx +32 -0
- package/iconsvg/SVG/common/ImageSettingsIcon.tsx +20 -0
- package/iconsvg/SVG/common/Info.tsx +16 -0
- package/iconsvg/SVG/common/InfoIcon.tsx +17 -0
- package/iconsvg/SVG/common/InfoTransparent.tsx +18 -0
- package/iconsvg/SVG/common/LogoutIcon.tsx +20 -0
- package/iconsvg/SVG/common/MagnifyingGlass.tsx +31 -0
- package/iconsvg/SVG/common/MenuArrow.tsx +16 -0
- package/iconsvg/SVG/common/MenuGrey.tsx +22 -0
- package/iconsvg/SVG/common/MobileDeLogo.tsx +108 -0
- package/iconsvg/SVG/common/MyOrderIcon.tsx +20 -0
- package/iconsvg/SVG/common/MyVehiclesIcon.tsx +20 -0
- package/iconsvg/SVG/common/NewFlagDe.tsx +25 -0
- package/iconsvg/SVG/common/NewFlagEn.tsx +34 -0
- package/iconsvg/SVG/common/OrderReceivedDashboard.tsx +27 -0
- package/iconsvg/SVG/common/Package.tsx +30 -0
- package/iconsvg/SVG/common/Phone.tsx +18 -0
- package/iconsvg/SVG/common/PhoneGrey.tsx +22 -0
- package/iconsvg/SVG/common/PickupDashboard.tsx +30 -0
- package/iconsvg/SVG/common/Picture.tsx +24 -0
- package/iconsvg/SVG/common/Pictures.tsx +32 -0
- package/iconsvg/SVG/common/Plus.tsx +16 -0
- package/iconsvg/SVG/common/PlusNew.tsx +16 -0
- package/iconsvg/SVG/common/PreparationDashboard.tsx +29 -0
- package/iconsvg/SVG/common/ProfileDashboard.tsx +24 -0
- package/iconsvg/SVG/common/ProfileIcon.tsx +17 -0
- package/iconsvg/SVG/common/Question.tsx +19 -0
- package/iconsvg/SVG/common/QuestionBold.tsx +25 -0
- package/iconsvg/SVG/common/RegistrationDashboard.tsx +31 -0
- package/iconsvg/SVG/common/SavedSearchsIcon.tsx +20 -0
- package/iconsvg/SVG/common/Search.tsx +19 -0
- package/iconsvg/SVG/common/SearchGrey.tsx +22 -0
- package/iconsvg/SVG/common/SettingPenIcon.tsx +20 -0
- package/iconsvg/SVG/common/Share.tsx +16 -0
- package/iconsvg/SVG/common/ShoppingCart.tsx +18 -0
- package/iconsvg/SVG/common/SliderArrow.tsx +21 -0
- package/iconsvg/SVG/common/SliderEye.tsx +17 -0
- package/iconsvg/SVG/common/SortUpDownArrows.tsx +18 -0
- package/iconsvg/SVG/common/Speedometer.tsx +23 -0
- package/iconsvg/SVG/common/Star.tsx +20 -0
- package/iconsvg/SVG/common/StarNew.tsx +16 -0
- package/iconsvg/SVG/common/StarOutline.tsx +20 -0
- package/iconsvg/SVG/common/StarRoundedCorners.tsx +18 -0
- package/iconsvg/SVG/common/Stats.tsx +17 -0
- package/iconsvg/SVG/common/Step1.tsx +21 -0
- package/iconsvg/SVG/common/Step2.tsx +20 -0
- package/iconsvg/SVG/common/Step3.tsx +21 -0
- package/iconsvg/SVG/common/SupportCallbackIcon.tsx +20 -0
- package/iconsvg/SVG/common/Telephone.tsx +22 -0
- package/iconsvg/SVG/common/Time.tsx +17 -0
- package/iconsvg/SVG/common/Timetable.tsx +18 -0
- package/iconsvg/SVG/common/Trash.tsx +22 -0
- package/iconsvg/SVG/common/TrashRed.tsx +23 -0
- package/iconsvg/SVG/common/Upload.tsx +17 -0
- package/iconsvg/SVG/common/UserGrey.tsx +22 -0
- package/iconsvg/SVG/common/UserProfileIcon.tsx +20 -0
- package/iconsvg/SVG/common/ValidateFailure.tsx +21 -0
- package/iconsvg/SVG/common/ValidateSuccess.tsx +21 -0
- package/iconsvg/SVG/common/WarningTriangle.tsx +20 -0
- package/iconsvg/SVG/common/WhiteArrowUp.tsx +21 -0
- package/iconsvg/SVG/common/WhiteKey.tsx +21 -0
- package/iconsvg/SVG/common/WhitePeople.tsx +23 -0
- package/iconsvg/SVG/common/WhiteTick.tsx +19 -0
- package/iconsvg/SVG/flags/AT.tsx +19 -0
- package/iconsvg/SVG/flags/BE.tsx +20 -0
- package/iconsvg/SVG/flags/BG.tsx +20 -0
- package/iconsvg/SVG/flags/CH.tsx +22 -0
- package/iconsvg/SVG/flags/CZ.tsx +18 -0
- package/iconsvg/SVG/flags/DE.tsx +18 -0
- package/iconsvg/SVG/flags/DK.tsx +18 -0
- package/iconsvg/SVG/flags/ES.tsx +2585 -0
- package/iconsvg/SVG/flags/FI.tsx +18 -0
- package/iconsvg/SVG/flags/FR.tsx +20 -0
- package/iconsvg/SVG/flags/GB.tsx +26 -0
- package/iconsvg/SVG/flags/HR.tsx +135 -0
- package/iconsvg/SVG/flags/HU.tsx +20 -0
- package/iconsvg/SVG/flags/IT.tsx +20 -0
- package/iconsvg/SVG/flags/LI.tsx +106 -0
- package/iconsvg/SVG/flags/LU.tsx +18 -0
- package/iconsvg/SVG/flags/NL.tsx +18 -0
- package/iconsvg/SVG/flags/NO.tsx +20 -0
- package/iconsvg/SVG/flags/PL.tsx +19 -0
- package/iconsvg/SVG/flags/RO.tsx +20 -0
- package/iconsvg/SVG/flags/RU.tsx +20 -0
- package/iconsvg/SVG/flags/SE.tsx +20 -0
- package/iconsvg/SVG/flags/SI.tsx +54 -0
- package/iconsvg/SVG/flags/SK.tsx +34 -0
- package/iconsvg/SVG/flags/UA.tsx +19 -0
- package/iconsvg/SVG/infoBlocks/14DaysReturnPolicy.tsx +18 -0
- package/iconsvg/SVG/infoBlocks/AlertInfo.tsx +19 -0
- package/iconsvg/SVG/infoBlocks/Autocheck.tsx +19 -0
- package/iconsvg/SVG/infoBlocks/CheckTheStory.tsx +22 -0
- package/iconsvg/SVG/infoBlocks/CustomerServiceWhite.tsx +16 -0
- package/iconsvg/SVG/infoBlocks/Guarantee.tsx +16 -0
- package/iconsvg/SVG/infoBlocks/OrderWhite.tsx +13 -0
- package/iconsvg/SVG/infoBlocks/PriceGuarantee.tsx +19 -0
- package/iconsvg/SVG/infoBlocks/PriceGuaranteeWhite.tsx +17 -0
- package/iconsvg/SVG/infoBlocks/TransportAndDelivery.tsx +21 -0
- package/iconsvg/SVG/infoBlocks/Warranty.tsx +23 -0
- package/iconsvg/SVG/popower/Mail.tsx +18 -0
- package/iconsvg/SVG/popower/Phone.tsx +19 -0
- package/iconsvg/SVG/popower/Schedule.tsx +18 -0
- package/iconsvg/SVG/searchWidgets/drive/AAllWheelDrive.tsx +26 -0
- package/iconsvg/SVG/searchWidgets/drive/AllWheelDrive.tsx +26 -0
- package/iconsvg/SVG/searchWidgets/drive/FrontWheelDrive.tsx +25 -0
- package/iconsvg/SVG/searchWidgets/drive/OtherWheelDrive.tsx +26 -0
- package/iconsvg/SVG/searchWidgets/drive/RearWheelDrive.tsx +25 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelDiesel.tsx +18 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelElectrical.tsx +19 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelElectricalDiesel.tsx +34 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelElectricalPetrol.tsx +20 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelEthanol.tsx +53 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelHydrogen.tsx +24 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelLpg.tsx +24 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelNaturalGas.tsx +23 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelOther.tsx +28 -0
- package/iconsvg/SVG/searchWidgets/fuel/FuelPetrol.tsx +18 -0
- package/iconsvg/SVG/settings/Account.tsx +17 -0
- package/iconsvg/SVG/settings/DataUsage.tsx +17 -0
- package/iconsvg/SVG/settings/MarketResearch.tsx +17 -0
- package/iconsvg/SVG/settings/Newsletter.tsx +17 -0
- package/iconsvg/SVG/settings/RemoveEye.tsx +17 -0
- package/iconsvg/SVG/settings/RemoveEyeOff.tsx +17 -0
- package/iconsvg/SVG/settings/Security.tsx +17 -0
- package/iconsvg/SVG/settings/Warning.tsx +17 -0
- package/iconsvg/SVG/slider/360.tsx +23 -0
- package/iconsvg/SVG/slider/360New.tsx +20 -0
- package/iconsvg/SVG/slider/Checked.tsx +19 -0
- package/iconsvg/SVG/slider/DiscountRibbon.tsx +51 -0
- package/iconsvg/SVG/slider/DiscountRibbonMobile.tsx +47 -0
- package/iconsvg/SVG/slider/DiscountRibbonNew.tsx +29 -0
- package/iconsvg/SVG/slider/Easy.tsx +19 -0
- package/iconsvg/SVG/slider/Fullscreen.tsx +16 -0
- package/iconsvg/SVG/slider/FullscreenWindow.tsx +23 -0
- package/iconsvg/SVG/slider/Safe.tsx +19 -0
- package/iconsvg/SVG/slider/ToBuy.tsx +19 -0
- package/iconsvg/SVG/slider/YoutubeButton.tsx +26 -0
- package/iconsvg/SVG/slider/ZoomIn.tsx +21 -0
- package/iconsvg/SVG/slider/ZoomOut.tsx +21 -0
- package/iconsvg/SVG/social/AndroidLogo.tsx +18 -0
- package/iconsvg/SVG/social/Apple.tsx +19 -0
- package/iconsvg/SVG/social/FacebookF.tsx +19 -0
- package/iconsvg/SVG/social/GooglePlusG.tsx +19 -0
- package/iconsvg/SVG/social/Instagram.tsx +17 -0
- package/iconsvg/SVG/social/Pinterest.tsx +19 -0
- package/iconsvg/SVG/social/SharingInterface.tsx +21 -0
- package/iconsvg/SVG/social/Twitter.tsx +19 -0
- package/iconsvg/SVG/social/Youtube.tsx +19 -0
- package/iconsvg/SVG/vehicle/AboIcon.tsx +11 -0
- package/iconsvg/SVG/vehicle/Abs.tsx +24 -0
- package/iconsvg/SVG/vehicle/AirCond.tsx +34 -0
- package/iconsvg/SVG/vehicle/Airbag.tsx +21 -0
- package/iconsvg/SVG/vehicle/AuxiliaryHeating.tsx +23 -0
- package/iconsvg/SVG/vehicle/Bluetooth.tsx +22 -0
- package/iconsvg/SVG/vehicle/BuyIcon.tsx +15 -0
- package/iconsvg/SVG/vehicle/CarAvailability.tsx +22 -0
- package/iconsvg/SVG/vehicle/CarInspectionCheck.tsx +21 -0
- package/iconsvg/SVG/vehicle/CarInspectionCross.tsx +21 -0
- package/iconsvg/SVG/vehicle/CheckoutChecked.tsx +15 -0
- package/iconsvg/SVG/vehicle/Co2.tsx +24 -0
- package/iconsvg/SVG/vehicle/CruiseControl.tsx +25 -0
- package/iconsvg/SVG/vehicle/Date.tsx +21 -0
- package/iconsvg/SVG/vehicle/Delivery.tsx +12 -0
- package/iconsvg/SVG/vehicle/Diesel.tsx +28 -0
- package/iconsvg/SVG/vehicle/Display.tsx +25 -0
- package/iconsvg/SVG/vehicle/Done.tsx +11 -0
- package/iconsvg/SVG/vehicle/Door.tsx +19 -0
- package/iconsvg/SVG/vehicle/DoubleDone.tsx +18 -0
- package/iconsvg/SVG/vehicle/EditIcon.tsx +11 -0
- package/iconsvg/SVG/vehicle/EmergencyBrakeAssistant.tsx +27 -0
- package/iconsvg/SVG/vehicle/Eps.tsx +24 -0
- package/iconsvg/SVG/vehicle/Esp.tsx +24 -0
- package/iconsvg/SVG/vehicle/FinancingIcon.tsx +20 -0
- package/iconsvg/SVG/vehicle/FuelConsumption.tsx +20 -0
- package/iconsvg/SVG/vehicle/Fueling.tsx +22 -0
- package/iconsvg/SVG/vehicle/FullDrive.tsx +24 -0
- package/iconsvg/SVG/vehicle/GasElectric.tsx +28 -0
- package/iconsvg/SVG/vehicle/HandsFreePhoneSystem.tsx +24 -0
- package/iconsvg/SVG/vehicle/Kw.tsx +23 -0
- package/iconsvg/SVG/vehicle/LastCrawledAt.tsx +22 -0
- package/iconsvg/SVG/vehicle/LeasingIcon.tsx +14 -0
- package/iconsvg/SVG/vehicle/Led.tsx +24 -0
- package/iconsvg/SVG/vehicle/LightSensor.tsx +22 -0
- package/iconsvg/SVG/vehicle/LinkAlternative.tsx +15 -0
- package/iconsvg/SVG/vehicle/Location.tsx +17 -0
- package/iconsvg/SVG/vehicle/MinusIcon.tsx +11 -0
- package/iconsvg/SVG/vehicle/Mirror.tsx +19 -0
- package/iconsvg/SVG/vehicle/Navigation.tsx +27 -0
- package/iconsvg/SVG/vehicle/NewCar.tsx +21 -0
- package/iconsvg/SVG/vehicle/NoImage.tsx +17 -0
- package/iconsvg/SVG/vehicle/Owner.tsx +18 -0
- package/iconsvg/SVG/vehicle/PanoramicRoof.tsx +23 -0
- package/iconsvg/SVG/vehicle/ParkingAssistants.tsx +24 -0
- package/iconsvg/SVG/vehicle/PickYourself.tsx +18 -0
- package/iconsvg/SVG/vehicle/PlusIcon.tsx +11 -0
- package/iconsvg/SVG/vehicle/Power.tsx +21 -0
- package/iconsvg/SVG/vehicle/Ps.tsx +19 -0
- package/iconsvg/SVG/vehicle/Question.tsx +24 -0
- package/iconsvg/SVG/vehicle/Seats.tsx +21 -0
- package/iconsvg/SVG/vehicle/SeatsHeating.tsx +26 -0
- package/iconsvg/SVG/vehicle/SelectorGearboxAutomatic.tsx +24 -0
- package/iconsvg/SVG/vehicle/SelectorGearboxManualShift.tsx +19 -0
- package/iconsvg/SVG/vehicle/SelectorGearboxOther.tsx +24 -0
- package/iconsvg/SVG/vehicle/SelectorGearboxSemiAutomatic.tsx +30 -0
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeAlcantara.tsx +225 -0
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeFabric.tsx +29 -0
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeFullLeather.tsx +29 -0
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeOther.tsx +26 -0
- package/iconsvg/SVG/vehicle/SelectorInteriorTypePartLeather.tsx +142 -0
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeSyntheticLeather.tsx +27 -0
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeVelours.tsx +39 -0
- package/iconsvg/SVG/vehicle/Shield.tsx +39 -0
- package/iconsvg/SVG/vehicle/Speedometer.tsx +17 -0
- package/iconsvg/SVG/vehicle/StartStopSystem.tsx +30 -0
- package/iconsvg/SVG/vehicle/Stop.tsx +25 -0
- package/iconsvg/SVG/vehicle/TickMark.tsx +21 -0
- package/iconsvg/SVG/vehicle/TrafficSignRecognition.tsx +29 -0
- package/iconsvg/SVG/vehicle/TrailerCoupling.tsx +24 -0
- package/iconsvg/SVG/vehicle/Transmission.tsx +27 -0
- package/iconsvg/SVG/vehicle/Wheel.tsx +43 -0
- package/iconsvg/SVG/vehicle/Wipers.tsx +22 -0
- package/iconsvg/SVG/vehicle/Wrench.tsx +17 -0
- package/iconsvg/index.ts +7 -0
- package/index.ts +18 -0
- package/locales/de/autobahn.json +671 -0
- package/locales/en/autobahn.json +671 -0
- package/locales/legacy/SearchDetailedPage.ts +205 -0
- package/locales/legacy/cbd.ts +719 -0
- package/locales/legacy/common.ts +109 -0
- package/locales/legacy/data.ts +1118 -0
- package/locales/legacy/priceRating.ts +10 -0
- package/locales/legacy/sortingOptions.ts +21 -0
- package/media/images/question.svg +1 -0
- package/media/images/raiting-stars-min.svg +7 -0
- package/media/images/refresh-button.svg +49 -0
- package/media/images/searchWidget/selector_emissionSticker_green.png +0 -0
- package/media/images/searchWidget/selector_emissionSticker_red.png +0 -0
- package/media/images/searchWidget/selector_emissionSticker_yellow.png +0 -0
- package/media/images/slider-arrow-new.svg +1 -0
- package/media/images/user-icon.svg +16 -0
- package/media/svg/common/eye.svg +1 -0
- package/media/svg/common/star.svg +1 -0
- package/media/svg/infoBlocks/whyAutodeIconSet-F.svg +9 -0
- package/media/svg/infoBlocks/whyAutodeIconSet-G.svg +8 -0
- package/media/svg/infoBlocks/whyAutodeIconSet-Q.svg +6 -0
- package/media/svg/infoBlocks/whyAutodeIconSet-R.svg +9 -0
- package/media/svg/usp/icon1.svg +16 -0
- package/media/svg/usp/icon2.svg +13 -0
- package/media/svg/usp/icon3.svg +10 -0
- package/media/svg/usp/icon4.svg +14 -0
- package/package.json +30 -0
- package/schemes/AggregationScheme.ts +73 -0
- package/searchFilters/filterOptions.ts +119 -0
- package/searchFilters/filterProps.ts +35 -0
- package/searchFilters/index.ts +15 -0
- package/theme/autobahn.css +25 -0
- package/theme/colors_and_type.css +113 -0
- package/theme/md3.css +2034 -0
- package/types/types.ts +374 -0
- package/types.ts +8 -0
- package/ui/Accordion.tsx +134 -0
- package/ui/Button.tsx +62 -0
- package/ui/CardCarousel.tsx +133 -0
- package/ui/Chip.tsx +29 -0
- package/ui/DatePicker.tsx +145 -0
- package/ui/Dropdown.tsx +205 -0
- package/ui/FileUpload.tsx +154 -0
- package/ui/FormCheckbox.tsx +79 -0
- package/ui/FormDropdown.tsx +327 -0
- package/ui/FormField.tsx +88 -0
- package/ui/FormRadio.tsx +93 -0
- package/ui/FormRadioGroup.tsx +106 -0
- package/ui/Icon.tsx +391 -0
- package/ui/IconButton.tsx +44 -0
- package/ui/Modal.tsx +187 -0
- package/ui/Pagination.tsx +140 -0
- package/ui/Price.tsx +25 -0
- package/ui/PriceEvalBar.tsx +48 -0
- package/ui/SaveChip.tsx +34 -0
- package/ui/Segmented.tsx +48 -0
- package/ui/Skeleton.tsx +75 -0
- package/ui/Spec.tsx +24 -0
- package/ui/Stars.tsx +29 -0
- package/ui/StatChip.tsx +21 -0
- package/ui/Stepper.tsx +106 -0
- package/ui/Switch.tsx +65 -0
- package/ui/Table.tsx +156 -0
- package/ui/Textarea.tsx +58 -0
- package/ui/index.ts +88 -0
- package/utils/CommonUtils.ts +649 -0
- package/utils/DateUtils.ts +101 -0
- package/utils/index.ts +74 -0
- package/utils/power.ts +11 -0
- package/utils/query.ts +21 -0
- package/vdp/FinanceCalculator.tsx +465 -0
- package/vdp/VdpModules.tsx +1490 -0
- package/vdp/VdpViewer.tsx +139 -0
- package/vdp/index.ts +75 -0
- package/vdp/types.ts +197 -0
- package/vehiclesProps/cbdSelectors.ts +117 -0
- package/vehiclesProps/decoratedLightProps.tsx +572 -0
- package/vehiclesProps/decoratedProps.tsx +1746 -0
- package/vehiclesProps/equipment.ts +129 -0
- package/vehiclesProps/vehicleDetails.ts +428 -0
- package/widgets/SearchBox.tsx +256 -0
- package/widgets/index.ts +5 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
@import '../../../legacy-theme/mixins.styl'
|
|
2
|
+
|
|
3
|
+
.vehiclePriceSection
|
|
4
|
+
display: flex
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
text-align: left;
|
|
7
|
+
box-sizing: border-box
|
|
8
|
+
padding: 17px 10px 0 10px
|
|
9
|
+
width: 100%
|
|
10
|
+
grid-area: price;
|
|
11
|
+
|
|
12
|
+
+media-phone-up()
|
|
13
|
+
padding: 13px 12px 0 8px
|
|
14
|
+
|
|
15
|
+
&.vehiclePriceSectionSearch
|
|
16
|
+
padding: 0 10px;
|
|
17
|
+
+media-tablet-landscape-up()
|
|
18
|
+
flex-shrink: 0;
|
|
19
|
+
padding: 24px 5px 0 15px;
|
|
20
|
+
border-left: 1px solid rgba(76, 78, 100, 0.12)
|
|
21
|
+
|
|
22
|
+
&.vehiclePriceSectionFavorite
|
|
23
|
+
padding: 1px 10px 0 10px
|
|
24
|
+
+media-tablet-landscape-up()
|
|
25
|
+
margin-top: auto;
|
|
26
|
+
flex-shrink: 0;
|
|
27
|
+
padding: 0 5px 3px 15px;
|
|
28
|
+
border-left: 1px solid rgba(76, 78, 100, 0.12)
|
|
29
|
+
gap: 3px;
|
|
30
|
+
|
|
31
|
+
&.vehiclePriceSectionRecently
|
|
32
|
+
padding: 1px 10px 0 10px
|
|
33
|
+
|
|
34
|
+
&.vehiclePriceTitleMain
|
|
35
|
+
padding: 0 10px
|
|
36
|
+
|
|
37
|
+
.vehiclePriceTitle
|
|
38
|
+
color: rgba(76, 78, 100, 0.87);
|
|
39
|
+
display flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
font-size: 11px;
|
|
43
|
+
height: 20px;
|
|
44
|
+
|
|
45
|
+
+media-tablet-landscape-up()
|
|
46
|
+
font-size 10px
|
|
47
|
+
height: 12px;
|
|
48
|
+
|
|
49
|
+
&.vehiclePriceTitleSearch
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
height: 44px;
|
|
52
|
+
|
|
53
|
+
&.vehiclePriceTitleFavorite
|
|
54
|
+
font-size: 12px;
|
|
55
|
+
height: 42px;
|
|
56
|
+
|
|
57
|
+
+media-tablet-landscape-up()
|
|
58
|
+
font-size: 13px;
|
|
59
|
+
height: 46px;
|
|
60
|
+
|
|
61
|
+
&.vehiclePriceTitleRecently
|
|
62
|
+
font-size: 12px;
|
|
63
|
+
height: 42px;
|
|
64
|
+
|
|
65
|
+
&.vehiclePriceTitleLanding,
|
|
66
|
+
&.vehiclePriceTitleMain
|
|
67
|
+
font-size: 10px;
|
|
68
|
+
height: 38px;
|
|
69
|
+
|
|
70
|
+
.addOfferButton
|
|
71
|
+
white-space: normal
|
|
72
|
+
margin: 5px 0 !important;
|
|
73
|
+
border-radius: 0 !important;
|
|
74
|
+
|
|
75
|
+
.buttonDetails
|
|
76
|
+
width: 100%
|
|
77
|
+
height: 30px
|
|
78
|
+
font-size: 16px
|
|
79
|
+
margin-top: 8px !important;
|
|
80
|
+
font-weight bold !important;
|
|
81
|
+
border-radius: 4px !important;
|
|
82
|
+
|
|
83
|
+
.isAlternativeButton
|
|
84
|
+
background-color: $alternative !important
|
|
85
|
+
|
|
86
|
+
.wrapCheckbox
|
|
87
|
+
min-height: 42px !important;
|
|
88
|
+
justify-content: space-between !important;
|
|
89
|
+
margin-left: 0 !important;
|
|
90
|
+
|
|
91
|
+
& span
|
|
92
|
+
color: rgba(76, 78, 100, 0.87);
|
|
93
|
+
font-size: 12px;
|
|
94
|
+
|
|
95
|
+
+media-tablet-landscape-up()
|
|
96
|
+
font-size: 13px;
|
|
97
|
+
|
|
98
|
+
.wrapHandleCompare
|
|
99
|
+
display: flex;
|
|
100
|
+
gap: 8px;
|
|
101
|
+
border-top: 1px solid rgba(76, 78, 100, 0.12);
|
|
102
|
+
padding-top: 15px;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
|
|
105
|
+
+media-tablet-landscape-up()
|
|
106
|
+
margin-top: 12px;
|
|
107
|
+
padding-top: 0;
|
|
108
|
+
border: none;
|
|
109
|
+
|
|
110
|
+
.btnCompareRemove
|
|
111
|
+
min-width: 50px !important;
|
|
112
|
+
height: 30px;
|
|
113
|
+
background-color: #fff !important;
|
|
114
|
+
display: flex !important;
|
|
115
|
+
|
|
116
|
+
.btnCarToCompare
|
|
117
|
+
display: flex !important;
|
|
118
|
+
height: 30px;
|
|
119
|
+
font-size: 13px !important;
|
|
120
|
+
min-width: auto !important;
|
|
121
|
+
width: 100%;
|
|
122
|
+
|
|
123
|
+
+media-tablet-landscape-up()
|
|
124
|
+
width: 100%;
|
|
125
|
+
|
|
126
|
+
.btnPlusIcon
|
|
127
|
+
font-size: 13px;
|
|
128
|
+
margin-right: 5px;
|
|
129
|
+
|
|
130
|
+
+media-tablet-landscape-up()
|
|
131
|
+
margin-right: 10px;
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
.landingButton
|
|
135
|
+
position: relative;
|
|
136
|
+
padding: 0px 10px;
|
|
137
|
+
background-color: transparent;
|
|
138
|
+
border-radius: 4px;
|
|
139
|
+
color: #005ccb;
|
|
140
|
+
border: 1px solid #666CFF80;
|
|
141
|
+
font-size: 16px;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
z-index: 0;
|
|
145
|
+
|
|
146
|
+
.landingButton::before
|
|
147
|
+
content: "";
|
|
148
|
+
position: absolute;
|
|
149
|
+
top: 50%;
|
|
150
|
+
left: 50%;
|
|
151
|
+
transform: translate(-50%, -50%);
|
|
152
|
+
width: 30%;
|
|
153
|
+
height: 100%;
|
|
154
|
+
background-color: #82b1ff91;
|
|
155
|
+
border-radius: 20%;
|
|
156
|
+
opacity: 0;
|
|
157
|
+
transition: width 0.7s ease-out, height 0.7s ease-out, opacity 0.7s ease-out;
|
|
158
|
+
z-index: -1;
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
.landingButton:active::before
|
|
162
|
+
width: 200%;
|
|
163
|
+
height: 200%;
|
|
164
|
+
opacity: 1;
|
|
165
|
+
transition: width 0.7s ease-out, height 0.7s ease-out, opacity 0.7s ease-out;
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import styles from './VehiclePrice.styl';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import VehiclePriceItem from '../VechiclePriceItem/VechiclePriceItem';
|
|
5
|
+
import { IBuy, ILeasing, IFinancing, ICommonFinancing } from '../../../../types/types';
|
|
6
|
+
import { isMobileOnly } from 'react-device-detect';
|
|
7
|
+
import Button from '../../../Button/Button';
|
|
8
|
+
import CheckboxMaterial from '../../../MdCheckbox/MdCheckbox';
|
|
9
|
+
import IconSVG from '../../../../iconsvg/IconSVG';
|
|
10
|
+
|
|
11
|
+
export interface IVehiclePriceSectionProps {
|
|
12
|
+
t?: (key: string, options?: object) => string;
|
|
13
|
+
className?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
title?: String;
|
|
16
|
+
isTotal?: boolean;
|
|
17
|
+
vatDeductible?: boolean;
|
|
18
|
+
isDealerSuperAdmin?: boolean;
|
|
19
|
+
routeObj?: any;
|
|
20
|
+
linkTag?: string;
|
|
21
|
+
classButton?: string;
|
|
22
|
+
showAboIcon?: boolean;
|
|
23
|
+
isNewPriceCategory?: boolean;
|
|
24
|
+
vehicleComponentName?: 'comparable' | 'landing' | 'search' | 'main' | 'myVehicles' | 'favorite' | 'recently';
|
|
25
|
+
monthlyInstallment?: number;
|
|
26
|
+
oldMonthlyInstallment?: number;
|
|
27
|
+
positionY?: string;
|
|
28
|
+
url?: string;
|
|
29
|
+
target?: string;
|
|
30
|
+
rel?: string;
|
|
31
|
+
iconName?: string;
|
|
32
|
+
priceSubMtl?: string | null;
|
|
33
|
+
mainImageId?: string;
|
|
34
|
+
showCompareCheckboxes?: boolean;
|
|
35
|
+
toRound?: boolean;
|
|
36
|
+
showOfferBtn?: boolean;
|
|
37
|
+
margin?: number;
|
|
38
|
+
leasing?: ILeasing;
|
|
39
|
+
financing?: IFinancing;
|
|
40
|
+
buy?: IBuy;
|
|
41
|
+
common: ICommonFinancing;
|
|
42
|
+
vatRate?: number;
|
|
43
|
+
onDetailsClick(id: string): void;
|
|
44
|
+
toggleCarToCompare?(carId?: React.ChangeEvent<HTMLInputElement>): void;
|
|
45
|
+
onRemoveClick?(carId: string): void;
|
|
46
|
+
toCompare?: boolean;
|
|
47
|
+
onAddOfferToMainSlideClick?: (id: string, mainImageId: string, price: number, financingConfig: any) => void;
|
|
48
|
+
combineRefAlternative?: boolean;
|
|
49
|
+
typeAlternative?: string;
|
|
50
|
+
// ADV-88: hide the "monatlich z.B."/"monthly e.g." column header for the task's cars
|
|
51
|
+
// (new plug-in hybrids that get the externalised consumption row) so the price column
|
|
52
|
+
// moves up. Passed true from VehicleSmallCard only when the consumption row is shown.
|
|
53
|
+
suppressMonthlyFrom?: boolean;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// interface IPriceData {
|
|
57
|
+
// tooltipDescription?: string;
|
|
58
|
+
// perMonthOld?: any;
|
|
59
|
+
// isAlternativeText?: string;
|
|
60
|
+
// perMonthCurrent?: any;
|
|
61
|
+
// showAboIcon?: boolean;
|
|
62
|
+
// isPriceDisable?: boolean;
|
|
63
|
+
// isTotal?: boolean;
|
|
64
|
+
// isNewPriceCategory?: boolean;
|
|
65
|
+
// positionY?: any;
|
|
66
|
+
// priceSub?: string | null;
|
|
67
|
+
// prefixOldPrice?: string | null;
|
|
68
|
+
// postfix?: any;
|
|
69
|
+
// title?: string;
|
|
70
|
+
// margin?: number;
|
|
71
|
+
// totalCurrent: number;
|
|
72
|
+
// }
|
|
73
|
+
|
|
74
|
+
const VehiclePrice: React.FC<IVehiclePriceSectionProps> = (props: IVehiclePriceSectionProps) => {
|
|
75
|
+
|
|
76
|
+
const onAddOfferClick = (event: any) => {
|
|
77
|
+
const { id, mainImageId, buy: { currentSalesPriceExtra } } = props;
|
|
78
|
+
event.stopPropagation();
|
|
79
|
+
event.preventDefault();
|
|
80
|
+
props.onAddOfferToMainSlideClick(id, mainImageId, currentSalesPriceExtra, props);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
const onDetailsClick = (event: React.MouseEvent<HTMLButtonElement>) => {
|
|
84
|
+
const { id, onDetailsClick } = props;
|
|
85
|
+
event.preventDefault();
|
|
86
|
+
event.stopPropagation();
|
|
87
|
+
onDetailsClick(id);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
const {
|
|
91
|
+
t,
|
|
92
|
+
combineRefAlternative,
|
|
93
|
+
url,
|
|
94
|
+
target,
|
|
95
|
+
rel,
|
|
96
|
+
isDealerSuperAdmin,
|
|
97
|
+
linkTag,
|
|
98
|
+
showOfferBtn,
|
|
99
|
+
routeObj,
|
|
100
|
+
toggleCarToCompare,
|
|
101
|
+
toCompare,
|
|
102
|
+
classButton,
|
|
103
|
+
onRemoveClick,
|
|
104
|
+
showCompareCheckboxes,
|
|
105
|
+
vatRate,
|
|
106
|
+
iconName,
|
|
107
|
+
vehicleComponentName,
|
|
108
|
+
financing: { monthlyInstallment, oldMonthlyInstallment },
|
|
109
|
+
leasing: {
|
|
110
|
+
monthlyInstallment: lMonthlyInstallment,
|
|
111
|
+
oldMonthlyInstallment: lOldMonthlyInstallment,
|
|
112
|
+
isActive: isLeasingActive
|
|
113
|
+
},
|
|
114
|
+
buy: {
|
|
115
|
+
currentSalesPriceExtra = 0,
|
|
116
|
+
highestPriceExtra = 0
|
|
117
|
+
} = {},
|
|
118
|
+
common: { isStrikeShown },
|
|
119
|
+
typeAlternative,
|
|
120
|
+
suppressMonthlyFrom,
|
|
121
|
+
margin
|
|
122
|
+
} = props;
|
|
123
|
+
|
|
124
|
+
const vehiclePriceSectionClassName = classnames(
|
|
125
|
+
styles.vehiclePriceSection,
|
|
126
|
+
{ [styles.vehiclePriceSectionSearch]: vehicleComponentName === 'search' || vehicleComponentName === 'myVehicles' },
|
|
127
|
+
{ [styles.vehiclePriceSectionFavorite]: vehicleComponentName === 'favorite' },
|
|
128
|
+
{ [styles.vehiclePriceSectionRecently]: vehicleComponentName === 'recently' || vehicleComponentName === 'landing' },
|
|
129
|
+
{ [styles.vehiclePriceTitleMain]: vehicleComponentName === 'main' }
|
|
130
|
+
);
|
|
131
|
+
|
|
132
|
+
const vehiclePriceTitleClassName = classnames(
|
|
133
|
+
styles.vehiclePriceTitle,
|
|
134
|
+
{ [styles.vehiclePriceTitleFavorite]: vehicleComponentName === 'favorite' },
|
|
135
|
+
{ [styles.vehiclePriceTitleRecently]: vehicleComponentName === 'recently' },
|
|
136
|
+
{ [styles.vehiclePriceTitleLanding]: vehicleComponentName === 'landing' || vehicleComponentName === 'main' },
|
|
137
|
+
{ [styles.vehiclePriceTitleSearch]: vehicleComponentName === 'search' || vehicleComponentName === 'myVehicles' }
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
const buttonClassNames = classnames(
|
|
141
|
+
classButton,
|
|
142
|
+
styles.buttonDetails,
|
|
143
|
+
{ [styles.landingButton]: vehicleComponentName === 'landing' },
|
|
144
|
+
{ [styles.isAlternativeButton]: typeAlternative }
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
const offerBtnVariantCondition = vehicleComponentName === 'recently' ||
|
|
148
|
+
vehicleComponentName === 'landing' ||
|
|
149
|
+
vehicleComponentName === 'main' ? 'outlined' : 'contained';
|
|
150
|
+
|
|
151
|
+
// ADV-70 (design): the monthly label ("mtl."/"mth.") is shown BEFORE every monthly rate on
|
|
152
|
+
// all card surfaces (SRL desktop+mobile, comparable, home, landing) — derive it from the
|
|
153
|
+
// localized priceSub key instead of the consumer-passed priceSubMtl (which is null on mobile),
|
|
154
|
+
// so it renders consistently everywhere. VehiclePriceItem strips the leading "/".
|
|
155
|
+
const monthlyPrefix = (t && t('vehicleProps:value.priceSub')) || '';
|
|
156
|
+
|
|
157
|
+
const priceItemsGlobal = [
|
|
158
|
+
{
|
|
159
|
+
perMonthOld: oldMonthlyInstallment,
|
|
160
|
+
perMonthCurrent: monthlyInstallment,
|
|
161
|
+
title: t('vehicleProps:title.financing'),
|
|
162
|
+
// ADV-88 (design): drop the "z.B."/"e.g." prefix on the SRL card — the monthly label carries the meaning.
|
|
163
|
+
prefixOldPrice: false,
|
|
164
|
+
postfix: '3',
|
|
165
|
+
priceSub: monthlyPrefix,
|
|
166
|
+
tooltipDescription: !combineRefAlternative && t('vehicleProps:title.financingDescription')
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
perMonthOld: lOldMonthlyInstallment,
|
|
170
|
+
perMonthCurrent: lMonthlyInstallment,
|
|
171
|
+
prefixOldPrice: false,
|
|
172
|
+
postfix: '1,3',
|
|
173
|
+
isPriceDisable: !isLeasingActive,
|
|
174
|
+
title: t('vehicleProps:title.leasing'),
|
|
175
|
+
priceSub: monthlyPrefix,
|
|
176
|
+
tooltipDescription: !combineRefAlternative && t('vehicleProps:title.leasingDescription')
|
|
177
|
+
}
|
|
178
|
+
];
|
|
179
|
+
|
|
180
|
+
// const showAboCondition = vehicleComponentName !== 'favorite' &&
|
|
181
|
+
// vehicleComponentName !== 'recently' &&
|
|
182
|
+
// vehicleComponentName !== 'search';
|
|
183
|
+
const showAboCondition = false;
|
|
184
|
+
|
|
185
|
+
const Abo = showAboCondition ? [
|
|
186
|
+
{
|
|
187
|
+
perMonthOld: oldMonthlyInstallment,
|
|
188
|
+
perMonthCurrent: monthlyInstallment,
|
|
189
|
+
isNewPriceCategory: true,
|
|
190
|
+
showAboIcon: true,
|
|
191
|
+
isPriceDisable: true,
|
|
192
|
+
positionY: 'top',
|
|
193
|
+
title: t('vehicleProps:title.abo'),
|
|
194
|
+
tooltipDescription: t('vehicleProps:title.aboDescription')
|
|
195
|
+
}
|
|
196
|
+
] : '';
|
|
197
|
+
|
|
198
|
+
const priceData:any = combineRefAlternative ? [
|
|
199
|
+
...priceItemsGlobal,
|
|
200
|
+
{
|
|
201
|
+
isTotal: true,
|
|
202
|
+
totalCurrent: currentSalesPriceExtra,
|
|
203
|
+
postfix: !!vatRate ? '1' : '',
|
|
204
|
+
title: t('vehicleProps:title.buy'),
|
|
205
|
+
isAlternativeText: t('vehicleProps:title.margeInkl')
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
isTotal: true,
|
|
209
|
+
totalCurrent: margin ? margin : currentSalesPriceExtra,
|
|
210
|
+
title: t('vehicleProps:title.marge'),
|
|
211
|
+
isMarge: true
|
|
212
|
+
}
|
|
213
|
+
] : [
|
|
214
|
+
...priceItemsGlobal,
|
|
215
|
+
...Abo,
|
|
216
|
+
{
|
|
217
|
+
isTotal: true,
|
|
218
|
+
totalCurrent: currentSalesPriceExtra,
|
|
219
|
+
|
|
220
|
+
postfix: !!vatRate ? '1' : '',
|
|
221
|
+
title: t('vehicleProps:title.buy'),
|
|
222
|
+
tooltipDescription: t('vehicleProps:title.buyDescription')
|
|
223
|
+
}
|
|
224
|
+
];
|
|
225
|
+
|
|
226
|
+
return (
|
|
227
|
+
<section className={vehiclePriceSectionClassName}>
|
|
228
|
+
{vehicleComponentName === 'favorite' && showCompareCheckboxes && (
|
|
229
|
+
<CheckboxMaterial
|
|
230
|
+
checked={toCompare}
|
|
231
|
+
onChange={toggleCarToCompare}
|
|
232
|
+
labelPlacement='start'
|
|
233
|
+
label={t('FavoritesPage:toCompare')}
|
|
234
|
+
formControlClassName={styles.wrapCheckbox}
|
|
235
|
+
/>
|
|
236
|
+
)}
|
|
237
|
+
{!suppressMonthlyFrom && vehicleComponentName !== 'favorite' && vehicleComponentName !== 'search' && !isMobileOnly && (
|
|
238
|
+
<span className={vehiclePriceTitleClassName}>{t('vehicleProps:title.monthlyFrom')}</span>
|
|
239
|
+
)}
|
|
240
|
+
{!suppressMonthlyFrom && isMobileOnly && !showCompareCheckboxes && (
|
|
241
|
+
<span className={vehiclePriceTitleClassName}>{t('vehicleProps:title.monthlyFrom')}</span>
|
|
242
|
+
)}
|
|
243
|
+
{priceData.map((props: any) => (
|
|
244
|
+
<VehiclePriceItem
|
|
245
|
+
tooltipDescription={props.tooltipDescription}
|
|
246
|
+
key={props.title}
|
|
247
|
+
priceTitle={props.title}
|
|
248
|
+
isPriceDisable={props.isPriceDisable}
|
|
249
|
+
perMonthOld={props.perMonthOld}
|
|
250
|
+
perMonthCurrent={props.perMonthCurrent}
|
|
251
|
+
isNewPriceCategory={props.isNewPriceCategory}
|
|
252
|
+
isAlternativeText={props.isAlternativeText}
|
|
253
|
+
showAboIcon={props.showAboIcon}
|
|
254
|
+
totalOld={highestPriceExtra}
|
|
255
|
+
isTotal={props.isTotal}
|
|
256
|
+
priceSub={props.priceSub}
|
|
257
|
+
positionY={props.positionY}
|
|
258
|
+
url={url}
|
|
259
|
+
target={target}
|
|
260
|
+
rel={rel}
|
|
261
|
+
isStrikeShown={isStrikeShown}
|
|
262
|
+
iconName={iconName}
|
|
263
|
+
prefixOldPrice={props.prefixOldPrice}
|
|
264
|
+
totalCurrent={props.totalCurrent}
|
|
265
|
+
postfix={props.postfix}
|
|
266
|
+
linkTag={linkTag}
|
|
267
|
+
routeObj={routeObj}
|
|
268
|
+
vehicleComponentName={vehicleComponentName}
|
|
269
|
+
combineRefAlternative={combineRefAlternative}
|
|
270
|
+
isMarge={props.isMarge}
|
|
271
|
+
/>
|
|
272
|
+
))}
|
|
273
|
+
{vehicleComponentName === 'favorite' && showCompareCheckboxes && (
|
|
274
|
+
<div className={styles.wrapHandleCompare}>
|
|
275
|
+
<Button variant='outlined' onClick={onRemoveClick} className={styles.btnCompareRemove} color='error'>
|
|
276
|
+
<IconSVG className={styles.removeIcon} name='trashRed' customDimensions />
|
|
277
|
+
</Button>
|
|
278
|
+
<Button className={styles.btnCarToCompare} variant='outlined' onClick={toggleCarToCompare}>
|
|
279
|
+
<span className={styles.btnPlusIcon}>{!toCompare ? '+' : '-'}</span>
|
|
280
|
+
{t('FavoritesPage:compare')}
|
|
281
|
+
</Button>
|
|
282
|
+
</div>
|
|
283
|
+
)}
|
|
284
|
+
{isDealerSuperAdmin && !typeAlternative ? (
|
|
285
|
+
<Button className={styles.addOfferButton} onClick={onAddOfferClick}>
|
|
286
|
+
{t('vehicleProps:title.addOfferToMainSlide')}
|
|
287
|
+
</Button>
|
|
288
|
+
) : null}
|
|
289
|
+
{showOfferBtn ? (
|
|
290
|
+
vehicleComponentName === 'landing' ? (
|
|
291
|
+
<Button variant={offerBtnVariantCondition} className={buttonClassNames} onClick={onDetailsClick}>{t('vehicleProps:title.toOffer')}</Button>
|
|
292
|
+
) :
|
|
293
|
+
<Button variant={offerBtnVariantCondition} className={buttonClassNames} onClick={onDetailsClick}>{t('vehicleProps:title.toOffer')}</Button>
|
|
294
|
+
) : ''}
|
|
295
|
+
</section>
|
|
296
|
+
);
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export default VehiclePrice;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import '../../../legacy-theme/mixins.styl';
|
|
2
|
+
|
|
3
|
+
.carProp
|
|
4
|
+
display: flex
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
font-size: 12px
|
|
7
|
+
line-height: 1;
|
|
8
|
+
color: rgba(76, 78, 100, 0.87);
|
|
9
|
+
align-items: center;
|
|
10
|
+
border-bottom: 1px solid rgba(76, 78, 100, 0.12);
|
|
11
|
+
|
|
12
|
+
.smallProp
|
|
13
|
+
span
|
|
14
|
+
font-size: 9px !important
|
|
15
|
+
|
|
16
|
+
.pluginVal
|
|
17
|
+
span
|
|
18
|
+
font-size: 9px !important
|
|
19
|
+
|
|
20
|
+
.carIcon
|
|
21
|
+
width: 28px;
|
|
22
|
+
height: 30px;
|
|
23
|
+
margin-right: 5px
|
|
24
|
+
flex-shrink: 0
|
|
25
|
+
|
|
26
|
+
+media-tablet-landscape-up()
|
|
27
|
+
margin-right: 10px
|
|
28
|
+
|
|
29
|
+
.noIcon
|
|
30
|
+
padding-left: 5px
|
|
31
|
+
|
|
32
|
+
[class*='smallText']
|
|
33
|
+
font-size:10px;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import IconSVG from '../../../../iconsvg/IconSVG';
|
|
3
|
+
import styles from './VehicleProperty.styl';
|
|
4
|
+
|
|
5
|
+
export interface IVehicleProperty {
|
|
6
|
+
className?: string;
|
|
7
|
+
classNameIcon?: string;
|
|
8
|
+
smalltext?: boolean;
|
|
9
|
+
icon: string;
|
|
10
|
+
description: React.ReactNode;
|
|
11
|
+
hybridPlugin?: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class VehicleProperty extends React.Component<IVehicleProperty, {}> {
|
|
15
|
+
static readonly defaultProps: IVehicleProperty = {
|
|
16
|
+
icon: '',
|
|
17
|
+
description: 'no description'
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
render(): React.ReactNode {
|
|
21
|
+
const { className, classNameIcon, icon, description, smalltext, hybridPlugin } = this.props;
|
|
22
|
+
const noIcon: boolean = !icon;
|
|
23
|
+
const propertyClass: string = `${styles.carProp} ${className ? className : ''} ${smalltext ? styles.smallProp : ''} ${hybridPlugin ? styles.pluginVal : ''} ${noIcon ? styles.noIcon : ''}`;
|
|
24
|
+
const propertyClassIcon: string = `${styles.carIcon} ${classNameIcon ? classNameIcon : ''}`;
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<div className={propertyClass}>
|
|
28
|
+
{!noIcon && <IconSVG className={propertyClassIcon} name={icon} customDimensions />}
|
|
29
|
+
<span>{description}</span>
|
|
30
|
+
</div>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export default VehicleProperty;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
@import '../../../legacy-theme/mixins.styl'
|
|
2
|
+
|
|
3
|
+
.infoSection
|
|
4
|
+
position: relative
|
|
5
|
+
align-items: center;
|
|
6
|
+
box-sizing: border-box
|
|
7
|
+
display: block
|
|
8
|
+
padding: 10px 30px 10px 16px
|
|
9
|
+
+media-tablet-landscape-up()
|
|
10
|
+
padding: 6px;
|
|
11
|
+
display: flex
|
|
12
|
+
&.infoSectionSearch
|
|
13
|
+
+media-tablet-landscape-up()
|
|
14
|
+
padding 0;
|
|
15
|
+
&.infoSectionMyVehicles
|
|
16
|
+
+media-phone-only()
|
|
17
|
+
display: flex
|
|
18
|
+
&.infoSectionRecently
|
|
19
|
+
+media-tablet-landscape-down()
|
|
20
|
+
padding: 12px 30px 12px 16px
|
|
21
|
+
|
|
22
|
+
.wrapTitles
|
|
23
|
+
display flex;
|
|
24
|
+
truncate();
|
|
25
|
+
+media-phone-only()
|
|
26
|
+
display block
|
|
27
|
+
&.wrapTitlesSearch
|
|
28
|
+
display block
|
|
29
|
+
+media-tablet-landscape-up()
|
|
30
|
+
display flex
|
|
31
|
+
&.wrapTitlesAlternative
|
|
32
|
+
+media-tablet-landscape-up()
|
|
33
|
+
flex-wrap: wrap
|
|
34
|
+
&.wrapTitlesFavorite
|
|
35
|
+
display: flex;
|
|
36
|
+
+media-tablet-landscape-up()
|
|
37
|
+
display: flex;
|
|
38
|
+
&.wrapTitlesRecently
|
|
39
|
+
display: flex;
|
|
40
|
+
|
|
41
|
+
.manufacturerModel
|
|
42
|
+
font-size: 16px
|
|
43
|
+
font-weight: bold
|
|
44
|
+
white-space: nowrap
|
|
45
|
+
color: $grey-3
|
|
46
|
+
margin: 0;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
text-overflow: ellipsis;
|
|
50
|
+
max-width: 221px;
|
|
51
|
+
|
|
52
|
+
.subModel
|
|
53
|
+
margin: 0 0 -1px 3px
|
|
54
|
+
white-space: nowrap
|
|
55
|
+
color: $grey-3
|
|
56
|
+
overflow: hidden
|
|
57
|
+
text-overflow: ellipsis
|
|
58
|
+
margin 0
|
|
59
|
+
max-width: 88vw
|
|
60
|
+
|
|
61
|
+
+media-tablet-landscape-up()
|
|
62
|
+
margin: 0 0 -1px 3px
|
|
63
|
+
overflow: hidden
|
|
64
|
+
|
|
65
|
+
.optionTitle
|
|
66
|
+
display: flex
|
|
67
|
+
flex-direction: row
|
|
68
|
+
align-items: center
|
|
69
|
+
flex-wrap: nowrap
|
|
70
|
+
font-size: 11px
|
|
71
|
+
truncate();
|
|
72
|
+
|
|
73
|
+
&.optionTitleSearch
|
|
74
|
+
font-size: 12px;
|
|
75
|
+
margin-top: 3px;
|
|
76
|
+
+media-tablet-landscape-up()
|
|
77
|
+
margin-left: 8px;
|
|
78
|
+
width: 100%
|
|
79
|
+
margin-top: 0;
|
|
80
|
+
&.optionTitleFavorite
|
|
81
|
+
font-size: 12px;
|
|
82
|
+
margin-left: 8px;
|
|
83
|
+
+media-tablet-landscape-up()
|
|
84
|
+
margin-left: 8px;
|
|
85
|
+
&.optionTitleRecently
|
|
86
|
+
font-size: 12px;
|
|
87
|
+
margin-left: 8px;
|
|
88
|
+
&.optionTitleIsAlternative
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
.subModel
|
|
91
|
+
margin: 5px 0 0 0
|
|
92
|
+
+media-tablet-landscape-up()
|
|
93
|
+
max-width: 260px;
|
|
94
|
+
+media-tablet-landscape-up()
|
|
95
|
+
margin-left: 0
|
|
96
|
+
|
|
97
|
+
.sponsored
|
|
98
|
+
font-weight: 700
|
|
99
|
+
font-style: normal
|
|
100
|
+
font-size: 10px
|
|
101
|
+
border 1px solid $grey-c
|
|
102
|
+
padding: 2px 5px
|
|
103
|
+
box-sizing: border-box
|
|
104
|
+
border-radius 3px
|
|
105
|
+
line-height: 12px
|
|
106
|
+
margin-left: 5px;
|
|
107
|
+
text-transform: uppercase
|
|
108
|
+
|
|
109
|
+
.starButton
|
|
110
|
+
margin-left: auto
|
|
111
|
+
|
|
112
|
+
+media-phone-only()
|
|
113
|
+
position: absolute
|
|
114
|
+
top: 5px
|
|
115
|
+
right: 5px
|
|
116
|
+
z-index: 2
|
|
117
|
+
|
|
118
|
+
.userButton
|
|
119
|
+
display: inline-block
|
|
120
|
+
width: 25px
|
|
121
|
+
height: 25px
|
|
122
|
+
cursor: pointer
|
|
123
|
+
background-size: cover
|
|
124
|
+
+media-phone-up()
|
|
125
|
+
width: 18px
|
|
126
|
+
height: 18px
|
|
127
|
+
|
|
128
|
+
.userButton.favorite
|
|
129
|
+
fill: white
|
|
130
|
+
stroke: $skyBlue
|
|
131
|
+
stroke-width: 5px
|
|
132
|
+
&.active
|
|
133
|
+
fill: $skyBlue
|
|
134
|
+
|
|
135
|
+
.userButton.favorite:hover
|
|
136
|
+
fill: $skyBlue
|