@bytebrand/fe-ui-core-autobahn 1.0.1 → 1.0.2
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 +6 -6
- package/cards/CarCard.tsx +174 -174
- package/cards/CarRow.tsx +186 -182
- package/cards/cardParts.tsx +529 -489
- package/cards/index.ts +37 -35
- package/cards/types.ts +122 -114
- package/chrome/Footer.tsx +189 -189
- package/chrome/TopBar.tsx +405 -405
- package/chrome/index.ts +20 -20
- package/chrome/svg.d.ts +11 -11
- package/compat/AccardionSection/AccardionSection.styl +45 -45
- package/compat/AccardionSection/AccardionSection.tsx +56 -56
- package/compat/AccordionWidget/AccordionWidget.styl +220 -220
- package/compat/AccordionWidget/AccordionWidget.tsx +257 -257
- package/compat/AccordionWrapper/AccordionItem/AccordionItem.styl +34 -34
- package/compat/AccordionWrapper/AccordionItem/AccordionItem.tsx +64 -64
- package/compat/AccordionWrapper/AccordionWrapper.tsx +34 -34
- package/compat/AdvantageItem/AdvantageItem.styl +47 -47
- package/compat/AdvantageItem/AdvantageItem.tsx +26 -26
- package/compat/Alternative/DealerInfo.styl +116 -116
- package/compat/Alternative/DealerInfo.tsx +171 -171
- package/compat/Badge/Badge.styl +44 -44
- package/compat/Badge/Badge.tsx +25 -25
- package/compat/BodyTypeIcons/Audi.tsx +9 -9
- package/compat/BodyTypeIcons/Bmw.tsx +860 -860
- package/compat/BodyTypeIcons/Ford.tsx +31 -31
- package/compat/BodyTypeIcons/IconsConfig.tsx +44 -44
- package/compat/BodyTypeIcons/IconsConfigCompact.tsx +30 -30
- package/compat/BodyTypeIcons/Mazda.tsx +44 -44
- package/compat/BodyTypeIcons/MercedesBenz.tsx +38 -38
- package/compat/BodyTypeIcons/Opel.tsx +19 -19
- package/compat/BodyTypeIcons/Search.tsx +19 -19
- package/compat/BodyTypeIcons/SelectorCategoryCombi.tsx +68 -68
- package/compat/BodyTypeIcons/SelectorCategoryCompact.tsx +20 -20
- package/compat/BodyTypeIcons/SelectorCategoryConvertible.tsx +68 -68
- package/compat/BodyTypeIcons/SelectorCategoryCoupe.tsx +60 -60
- package/compat/BodyTypeIcons/SelectorCategoryMinibus.tsx +64 -64
- package/compat/BodyTypeIcons/SelectorCategorySedan.tsx +69 -69
- package/compat/BodyTypeIcons/SelectorCategorySuv.tsx +77 -77
- package/compat/BodyTypeIcons/SelectorCategoryTransporter.tsx +68 -68
- package/compat/BodyTypeIcons/SelectorCategoryVan.tsx +72 -72
- package/compat/BodyTypeIcons/Volkswagen.tsx +330 -330
- package/compat/BodyTypeIcons/index.ts +17 -17
- package/compat/Button/Button.tsx +65 -65
- package/compat/ButtonOld/Button.styl +65 -65
- package/compat/ButtonOld/Button.tsx +84 -84
- package/compat/Checkbox/Checkbox.styl +119 -119
- package/compat/Checkbox/Checkbox.tsx +151 -151
- package/compat/Checkbox/FormCheckbox.styl +22 -22
- package/compat/Checkbox/FormCheckbox.tsx +86 -86
- package/compat/Co2Widget/CO2Efficiency.styl +219 -219
- package/compat/Co2Widget/CO2Efficiency.tsx +93 -93
- package/compat/ContactInfo/ContactInfo.styl +22 -22
- package/compat/ContactInfo/ContactInfo.tsx +161 -161
- package/compat/ContactInfo/TemporaryTranslation.ts +11 -11
- package/compat/CookieModal/CookieModal.tsx +49 -49
- package/compat/CookieModal/Modal.tsx +43 -43
- package/compat/CookieModal/ModalsConfig.tsx +23 -23
- package/compat/CookieModal/modals/ManageCookieModal/ManageCookieModal.styl +86 -86
- package/compat/CookieModal/modals/ManageCookieModal/ManageCookieModal.tsx +184 -184
- package/compat/CookieModal/modals/PreviewCookieModal/PreviewCookieModal.styl +66 -66
- package/compat/CookieModal/modals/PreviewCookieModal/PreviewCookieModal.tsx +51 -51
- package/compat/CookieModal/modals/TestModal.tsx +7 -7
- package/compat/CookieModal/useModal.ts +13 -13
- package/compat/CustomerQuote/CustomerQuote.styl +79 -79
- package/compat/CustomerQuote/CustomerQuote.tsx +68 -68
- package/compat/CustomerQuotesSlider/CustomerQuotesSlider.styl +46 -46
- package/compat/CustomerQuotesSlider/CustomerQuotesSlider.tsx +79 -79
- package/compat/CustomerQuotesSlider/SliderArrow.tsx +20 -20
- package/compat/CustomerQuotesSlider/slider.global.styl +2 -2
- package/compat/ExpansionPanel/ExpansionPanel.tsx +68 -68
- package/compat/FirstInfoBlock/FirstInfoBlock.styl +33 -33
- package/compat/FirstInfoBlock/FirstInfoBlock.tsx +49 -49
- package/compat/FirstInfoBlock/FirstInfoBlockItem/FirstInfoBlockItem.styl +66 -66
- package/compat/FirstInfoBlock/FirstInfoBlockItem/FirstInfoBlockItem.tsx +21 -21
- package/compat/FormattedNumber/FormattedNumber.styl +1 -1
- package/compat/FormattedNumber/FormattedNumber.tsx +90 -90
- package/compat/IconContainer/IconContainer.styl +23 -23
- package/compat/IconContainer/IconContainer.tsx +34 -34
- package/compat/Image/Image.styl +109 -109
- package/compat/Image/Image.tsx +302 -302
- package/compat/ImageSettings/EditableOptionsTable/CustomCheckbox/CustomCheckbox.styl +7 -7
- package/compat/ImageSettings/EditableOptionsTable/CustomCheckbox/CustomCheckbox.tsx +30 -30
- package/compat/ImageSettings/EditableOptionsTable/EditableOptionsTable.styl +122 -122
- package/compat/ImageSettings/EditableOptionsTable/EditableOptionsTable.tsx +199 -199
- package/compat/ImageSettings/EditableOptionsTable/ImageIcon/ImageIcon.styl +3 -3
- package/compat/ImageSettings/EditableOptionsTable/ImageIcon/ImageIcon.tsx +15 -15
- package/compat/ImageSettings/OptionsTable/OptionsTable.styl +47 -47
- package/compat/ImageSettings/OptionsTable/OptionsTable.tsx +122 -122
- package/compat/ImageSettings/PricePlan/PricePlan.styl +63 -63
- package/compat/ImageSettings/PricePlan/PricePlan.tsx +32 -32
- package/compat/ImageSettings/index.ts +42 -42
- package/compat/ImagesSet/ImagesSet.styl +27 -27
- package/compat/ImagesSet/ImagesSet.tsx +76 -76
- package/compat/InfoBlockWrapper/InfoBlockWrapper.styl +41 -41
- package/compat/InfoBlockWrapper/InfoBlockWrapper.tsx +46 -46
- package/compat/Loader/Loader.styl +39 -39
- package/compat/Loader/Loader.tsx +32 -32
- package/compat/MagnifyGlass/MagnifyGlass.styl +33 -33
- package/compat/MagnifyGlass/MagnifyGlass.tsx +213 -213
- package/compat/MdAccordionGroup/MdAccordionGroup.tsx +53 -53
- package/compat/MdCheckbox/MdCheckbox.tsx +69 -69
- package/compat/MdField/MdField.tsx +100 -100
- package/compat/MdSelect/MdSelect.tsx +103 -103
- package/compat/MdSwitch/MdSwitch.tsx +29 -29
- package/compat/MdTabs/MdTabs.tsx +47 -47
- package/compat/MdTooltip/MdTooltip.tsx +31 -31
- package/compat/OfferDetailedSection/OfferDetailedSection.styl +31 -31
- package/compat/OfferDetailedSection/OfferDetailedSection.tsx +100 -100
- package/compat/OfferDetailedSection/partials/PanelConfig.styl +131 -131
- package/compat/OfferDetailedSection/partials/PanelConfig.tsx +121 -121
- package/compat/OfferPanel/AboAccordion/AboAccordion.styl +24 -24
- package/compat/OfferPanel/AboAccordion/AboAccordion.tsx +128 -128
- package/compat/OfferPanel/AboAccordion/AboColorOptions/AboColorOptions.styl +11 -11
- package/compat/OfferPanel/AboAccordion/AboColorOptions/AboColorOptions.tsx +35 -35
- package/compat/OfferPanel/AboAccordion/AboFaq/AboFaq.styl +20 -20
- package/compat/OfferPanel/AboAccordion/AboFaq/AboFaq.tsx +25 -25
- package/compat/OfferPanel/AboAccordion/AboIncludedServices/AboIncludedServices.styl +13 -13
- package/compat/OfferPanel/AboAccordion/AboIncludedServices/AboIncludedServices.tsx +39 -39
- package/compat/OfferPanel/MuiOfferPeriod/MuiOfferPeriod.tsx +42 -42
- package/compat/OfferPanel/OfferCheckboxGroup/CheckboxContainer.tsx +140 -140
- package/compat/OfferPanel/OfferCheckboxGroup/OfferCheckboxGroup.styl +144 -144
- package/compat/OfferPanel/OfferCheckboxGroup/OfferCheckboxGroup.tsx +23 -23
- package/compat/OfferPanel/OfferPanel.styl +193 -193
- package/compat/OfferPanel/OfferPanel.tsx +81 -81
- package/compat/OfferPanel/OfferPeriod/OfferPeriod.styl +24 -24
- package/compat/OfferPanel/OfferPeriod/OfferPeriod.tsx +45 -45
- package/compat/OfferPanel/RangeGroup/RangeGroup.tsx +39 -39
- package/compat/OfferRequestButtonWrapper/OfferRequestButtonWrapper.styl +119 -119
- package/compat/OfferRequestButtonWrapper/OfferRequestButtonWrapper.styled.tsx +33 -33
- package/compat/OfferRequestButtonWrapper/OfferRequestButtonWrapper.tsx +122 -122
- package/compat/PriceRating/PriceRating.styl +47 -47
- package/compat/PriceRating/PriceRating.tsx +64 -64
- package/compat/PriceRatingDetailed/PriceRatingDetailed.styl +120 -120
- package/compat/PriceRatingDetailed/PriceRatingDetailed.tsx +191 -191
- package/compat/PricingToolBlock/PricingTool.styl +6 -6
- package/compat/PricingToolBlock/PricingTool.tsx +29 -29
- package/compat/Radio/Radio.styl +115 -115
- package/compat/Radio/Radio.tsx +141 -141
- package/compat/Radio/RadioGroup.styl +5 -5
- package/compat/Radio/RadioGroup.tsx +65 -65
- package/compat/Range/Range.tsx +79 -79
- package/compat/RateSearchValue/RateSearchValue.styl +22 -22
- package/compat/RateSearchValue/RateSearchValue.tsx +55 -55
- package/compat/RateSearchWidget/RateSearchWidget.styl +106 -106
- package/compat/RateSearchWidget/RateSearchWidget.tsx +163 -163
- package/compat/ServiceBlockItem/ServiceBlockItem.styl +47 -47
- package/compat/ServiceBlockItem/ServiceBlockItem.tsx +25 -25
- package/compat/SkeletonItem/SkeletonItem.styl +80 -80
- package/compat/SkeletonItem/SkeletonItem.tsx +80 -80
- package/compat/StarButton/StarButton.styl +39 -39
- package/compat/StarButton/StarButton.tsx +31 -31
- package/compat/TabPanel/TabPanel.tsx +28 -28
- package/compat/TimePicker/TimePicker.styl +22 -22
- package/compat/TimePicker/TimePicker.tsx +156 -156
- package/compat/Tooltip/Tooltip.styl +117 -117
- package/compat/Tooltip/Tooltip.tsx +63 -63
- package/compat/Usp/Usp.styl +78 -78
- package/compat/Usp/Usp.tsx +30 -30
- package/compat/Usp/uspTranslate.ts +12 -12
- package/compat/VehicleDetailedSidebar/VehicleDetailedSidebar.styl +36 -36
- package/compat/VehicleDetailedSidebar/VehicleDetailedSidebar.tsx +178 -178
- package/compat/VehicleDetailedSidebar/partials/Price.styl +27 -27
- package/compat/VehicleDetailedSidebar/partials/Price.tsx +41 -41
- package/compat/VehicleDetailedSidebar/partials/PriceContent.styl +123 -123
- package/compat/VehicleDetailedSidebar/partials/PriceContent.tsx +128 -128
- package/compat/VehicleDetailedSidebar/partials/Properties.styl +58 -58
- package/compat/VehicleDetailedSidebar/partials/Properties.tsx +155 -155
- package/compat/VehicleDetailedSidebar/partials/Title.styl +35 -35
- package/compat/VehicleDetailedSidebar/partials/Title.tsx +33 -33
- package/compat/VehicleDetailedSlider/VehicleDetailedSlider.styl +146 -146
- package/compat/VehicleDetailedSlider/VehicleDetailedSlider.tsx +382 -382
- package/compat/VehicleDetailedSlider/partials/MobileStast.tsx +61 -61
- package/compat/VehicleDetailedSlider/partials/MobileStats.styl +71 -71
- package/compat/VehicleDetailedSlider/partials/PriceData.styl +50 -50
- package/compat/VehicleDetailedSlider/partials/PriceData.tsx +67 -67
- package/compat/VehicleDetailedSlider/partials/Stats.styl +80 -80
- package/compat/VehicleDetailedSlider/partials/Stats.tsx +62 -62
- package/compat/VehicleDetailedSlider/partials/Title.styl +44 -44
- package/compat/VehicleDetailedSlider/partials/Title.tsx +36 -36
- package/compat/VehicleFormattedPrice/VehicleFormattedPrice.styl +148 -148
- package/compat/VehicleFormattedPrice/VehicleFormattedPrice.tsx +163 -163
- package/compat/VehicleSlider/VehicleSlider.styl +62 -62
- package/compat/VehicleSlider/VehicleSlider.tsx +125 -125
- package/compat/VehicleSlider/VehicleSliderForSRL.tsx +175 -175
- package/compat/VehicleSmallCard/SeoText/SeoText.styl +8 -8
- package/compat/VehicleSmallCard/SeoText/SeoText.tsx +16 -16
- package/compat/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.styl +204 -204
- package/compat/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx +199 -199
- package/compat/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.styl +273 -273
- package/compat/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.tsx +179 -179
- package/compat/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.styl +165 -165
- package/compat/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.tsx +299 -299
- package/compat/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.styl +32 -32
- package/compat/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.tsx +35 -35
- package/compat/VehicleSmallCard/VehicleData/VehicleTitle/VehicleTitle.styl +135 -135
- package/compat/VehicleSmallCard/VehicleData/VehicleTitle/VehicleTitle.tsx +91 -91
- package/compat/VehicleSmallCard/VehicleSmallCard.styl +309 -309
- package/compat/VehicleSmallCard/VehicleSmallCard.tsx +448 -448
- package/compat/index.ts +77 -77
- package/compat/legacy-theme/mixins.styl +93 -93
- package/compat/legacy-theme/priceReviewColors.styl +12 -12
- package/compat/legacy-theme/slider.global.styl +5 -5
- package/compat/legacy-theme/theme.styl +136 -136
- package/compat/withLabel/withLabel.styl +33 -33
- package/compat/withLabel/withLabel.tsx +44 -44
- package/compat/withStats/withStats.styl +174 -174
- package/compat/withStats/withStats.tsx +238 -238
- package/constants/RateSearchWidget.ts +15 -15
- package/constants/Search.ts +290 -290
- package/constants/SearchWidget.ts +108 -108
- package/constants/app.ts +223 -223
- package/constants/common.ts +127 -127
- package/constants/core.ts +131 -131
- package/constants/highlights.ts +165 -165
- package/constants/price.ts +9 -9
- package/constants/selectors.ts +38 -38
- package/constants.ts +91 -91
- package/data/DataTransformers.ts +88 -88
- package/data/fieldMapping.ts +364 -342
- package/data/toAutobahnCar.ts +455 -442
- package/iconsvg/IconSVG.tsx +30 -30
- package/iconsvg/IconSVGConfig.tsx +768 -768
- package/iconsvg/SVG/AboPartner.tsx +16 -16
- package/iconsvg/SVG/ArrowQuotes.tsx +22 -22
- package/iconsvg/SVG/CloseIcon.tsx +17 -17
- package/iconsvg/SVG/CloseIconSelect.tsx +18 -18
- package/iconsvg/SVG/ClosedLockIcon.tsx +18 -18
- package/iconsvg/SVG/DealerCheckIcon.tsx +18 -18
- package/iconsvg/SVG/DealerPopoverMail.tsx +21 -21
- package/iconsvg/SVG/DealerPopoverPhone.tsx +21 -21
- package/iconsvg/SVG/GrayPhoneIcon.tsx +22 -22
- package/iconsvg/SVG/InternetIcon.tsx +18 -18
- package/iconsvg/SVG/WhiteEnvelopeIcon.tsx +21 -21
- package/iconsvg/SVG/bodyType/Cabrio.tsx +23 -23
- package/iconsvg/SVG/bodyType/Coupe.tsx +22 -22
- package/iconsvg/SVG/bodyType/Minibus.tsx +22 -22
- package/iconsvg/SVG/bodyType/Other.tsx +25 -25
- package/iconsvg/SVG/bodyType/Sedan.tsx +22 -22
- package/iconsvg/SVG/bodyType/SelectorCategoryCombi.tsx +68 -68
- package/iconsvg/SVG/bodyType/SelectorCategoryCompact.tsx +20 -20
- package/iconsvg/SVG/bodyType/SelectorCategoryConvertible.tsx +68 -68
- package/iconsvg/SVG/bodyType/SelectorCategoryCoupe.tsx +60 -60
- package/iconsvg/SVG/bodyType/SelectorCategoryMinibus.tsx +64 -64
- package/iconsvg/SVG/bodyType/SelectorCategoryOther.tsx +60 -60
- package/iconsvg/SVG/bodyType/SelectorCategorySedan.tsx +69 -69
- package/iconsvg/SVG/bodyType/SelectorCategorySuv.tsx +77 -77
- package/iconsvg/SVG/bodyType/SelectorCategoryTransporter.tsx +68 -68
- package/iconsvg/SVG/bodyType/SelectorCategoryVan.tsx +72 -72
- package/iconsvg/SVG/bodyType/Small.tsx +23 -23
- package/iconsvg/SVG/bodyType/Suv.tsx +23 -23
- package/iconsvg/SVG/bodyType/Van.tsx +23 -23
- package/iconsvg/SVG/bodyType/Wagon.tsx +23 -23
- package/iconsvg/SVG/common/AddIcon.tsx +16 -16
- package/iconsvg/SVG/common/AddPlus.tsx +16 -16
- package/iconsvg/SVG/common/AddressDashboard.tsx +29 -29
- package/iconsvg/SVG/common/AddressIcon.tsx +20 -20
- package/iconsvg/SVG/common/ArrowDetailedAccordionBlue.tsx +26 -26
- package/iconsvg/SVG/common/ArrowDownBlue.tsx +21 -21
- package/iconsvg/SVG/common/ArrowSelect.tsx +23 -23
- package/iconsvg/SVG/common/ArrowStepDown.tsx +18 -18
- package/iconsvg/SVG/common/Autocheck.tsx +19 -19
- package/iconsvg/SVG/common/AutodeLogo.tsx +36 -36
- package/iconsvg/SVG/common/Avatar.tsx +17 -17
- package/iconsvg/SVG/common/BellGray.tsx +19 -19
- package/iconsvg/SVG/common/BigInfoTransparent.tsx +13 -13
- package/iconsvg/SVG/common/Browse.tsx +20 -20
- package/iconsvg/SVG/common/Calendar.tsx +24 -24
- package/iconsvg/SVG/common/CallbackDashboard.tsx +30 -30
- package/iconsvg/SVG/common/Camera.tsx +17 -17
- package/iconsvg/SVG/common/Car.tsx +16 -16
- package/iconsvg/SVG/common/CarBody.tsx +19 -19
- package/iconsvg/SVG/common/CarFront.tsx +43 -43
- package/iconsvg/SVG/common/CarInspectionCheck.tsx +21 -21
- package/iconsvg/SVG/common/CarInspectionScheme0.tsx +32 -32
- package/iconsvg/SVG/common/CarInspectionScheme1.tsx +53 -53
- package/iconsvg/SVG/common/CarInspectionScheme2.tsx +52 -52
- package/iconsvg/SVG/common/CarInspectionScheme3.tsx +32 -32
- package/iconsvg/SVG/common/CarInspectionScheme4.tsx +32 -32
- package/iconsvg/SVG/common/CarInspectionScheme5.tsx +32 -32
- package/iconsvg/SVG/common/CarInspectionScheme6.tsx +32 -32
- package/iconsvg/SVG/common/CarInspectionSchemeGeneral copy.tsx +24 -24
- package/iconsvg/SVG/common/CarInspectionSchemeGeneral.tsx +24 -24
- package/iconsvg/SVG/common/CheckBlue.tsx +18 -18
- package/iconsvg/SVG/common/CheckGreen.tsx +22 -22
- package/iconsvg/SVG/common/CheckMark.tsx +16 -16
- package/iconsvg/SVG/common/CheckWhite.tsx +19 -19
- package/iconsvg/SVG/common/Chevron.tsx +17 -17
- package/iconsvg/SVG/common/CircledCheckmark.tsx +25 -25
- package/iconsvg/SVG/common/Clock.tsx +18 -18
- package/iconsvg/SVG/common/Close.tsx +19 -19
- package/iconsvg/SVG/common/CloseGrey.tsx +22 -22
- package/iconsvg/SVG/common/ContactEmail.tsx +21 -21
- package/iconsvg/SVG/common/ContactPhone.tsx +28 -28
- package/iconsvg/SVG/common/CopyIcon copy.tsx +22 -22
- package/iconsvg/SVG/common/CopyIcon.tsx +22 -22
- package/iconsvg/SVG/common/CopyIconForDealer.tsx +21 -21
- package/iconsvg/SVG/common/DashboardIcon.tsx +20 -20
- package/iconsvg/SVG/common/DashboardQuestionMark.tsx +20 -20
- package/iconsvg/SVG/common/DealersIcon.tsx +20 -20
- package/iconsvg/SVG/common/DeleteCircle.tsx +31 -31
- package/iconsvg/SVG/common/DeleteV1Icon.tsx +18 -18
- package/iconsvg/SVG/common/DeliveryDashboard.tsx +25 -25
- package/iconsvg/SVG/common/DeliveryMail.tsx +24 -24
- package/iconsvg/SVG/common/Discount100De.tsx +18 -18
- package/iconsvg/SVG/common/Discount100En.tsx +19 -19
- package/iconsvg/SVG/common/Discount66De.tsx +28 -28
- package/iconsvg/SVG/common/Discount66En.tsx +20 -20
- package/iconsvg/SVG/common/DoneIcon.tsx +18 -18
- package/iconsvg/SVG/common/EditCircle.tsx +32 -32
- package/iconsvg/SVG/common/EditPriceIcon.tsx +20 -20
- package/iconsvg/SVG/common/EuroCurrency.tsx +18 -18
- package/iconsvg/SVG/common/Export.tsx +20 -20
- package/iconsvg/SVG/common/Eye.tsx +17 -17
- package/iconsvg/SVG/common/EyeCatch.tsx +19 -19
- package/iconsvg/SVG/common/FavoritesIcon.tsx +20 -20
- package/iconsvg/SVG/common/FilterRange.tsx +16 -16
- package/iconsvg/SVG/common/FilterToolBlack.tsx +23 -23
- package/iconsvg/SVG/common/FlagDe.tsx +21 -21
- package/iconsvg/SVG/common/FlagEn.tsx +43 -43
- package/iconsvg/SVG/common/GrayEnvelopeIcon.tsx +19 -19
- package/iconsvg/SVG/common/HamburgerMenuIcon.tsx +18 -18
- package/iconsvg/SVG/common/HandingOverDashboard.tsx +32 -32
- package/iconsvg/SVG/common/ImageSettingsIcon.tsx +20 -20
- package/iconsvg/SVG/common/Info.tsx +16 -16
- package/iconsvg/SVG/common/InfoIcon.tsx +17 -17
- package/iconsvg/SVG/common/InfoTransparent.tsx +18 -18
- package/iconsvg/SVG/common/LogoutIcon.tsx +20 -20
- package/iconsvg/SVG/common/MagnifyingGlass.tsx +31 -31
- package/iconsvg/SVG/common/MenuArrow.tsx +16 -16
- package/iconsvg/SVG/common/MenuGrey.tsx +22 -22
- package/iconsvg/SVG/common/MobileDeLogo.tsx +108 -108
- package/iconsvg/SVG/common/MyOrderIcon.tsx +20 -20
- package/iconsvg/SVG/common/MyVehiclesIcon.tsx +20 -20
- package/iconsvg/SVG/common/NewFlagDe.tsx +25 -25
- package/iconsvg/SVG/common/NewFlagEn.tsx +34 -34
- package/iconsvg/SVG/common/OrderReceivedDashboard.tsx +27 -27
- package/iconsvg/SVG/common/Package.tsx +30 -30
- package/iconsvg/SVG/common/Phone.tsx +18 -18
- package/iconsvg/SVG/common/PhoneGrey.tsx +22 -22
- package/iconsvg/SVG/common/PickupDashboard.tsx +30 -30
- package/iconsvg/SVG/common/Picture.tsx +24 -24
- package/iconsvg/SVG/common/Pictures.tsx +32 -32
- package/iconsvg/SVG/common/Plus.tsx +16 -16
- package/iconsvg/SVG/common/PlusNew.tsx +16 -16
- package/iconsvg/SVG/common/PreparationDashboard.tsx +29 -29
- package/iconsvg/SVG/common/ProfileDashboard.tsx +24 -24
- package/iconsvg/SVG/common/ProfileIcon.tsx +17 -17
- package/iconsvg/SVG/common/Question.tsx +19 -19
- package/iconsvg/SVG/common/QuestionBold.tsx +25 -25
- package/iconsvg/SVG/common/RegistrationDashboard.tsx +31 -31
- package/iconsvg/SVG/common/SavedSearchsIcon.tsx +20 -20
- package/iconsvg/SVG/common/Search.tsx +19 -19
- package/iconsvg/SVG/common/SearchGrey.tsx +22 -22
- package/iconsvg/SVG/common/SettingPenIcon.tsx +20 -20
- package/iconsvg/SVG/common/Share.tsx +16 -16
- package/iconsvg/SVG/common/ShoppingCart.tsx +18 -18
- package/iconsvg/SVG/common/SliderArrow.tsx +21 -21
- package/iconsvg/SVG/common/SliderEye.tsx +17 -17
- package/iconsvg/SVG/common/SortUpDownArrows.tsx +18 -18
- package/iconsvg/SVG/common/Speedometer.tsx +23 -23
- package/iconsvg/SVG/common/Star.tsx +20 -20
- package/iconsvg/SVG/common/StarNew.tsx +16 -16
- package/iconsvg/SVG/common/StarOutline.tsx +20 -20
- package/iconsvg/SVG/common/StarRoundedCorners.tsx +18 -18
- package/iconsvg/SVG/common/Stats.tsx +17 -17
- package/iconsvg/SVG/common/Step1.tsx +21 -21
- package/iconsvg/SVG/common/Step2.tsx +20 -20
- package/iconsvg/SVG/common/Step3.tsx +21 -21
- package/iconsvg/SVG/common/SupportCallbackIcon.tsx +20 -20
- package/iconsvg/SVG/common/Telephone.tsx +22 -22
- package/iconsvg/SVG/common/Time.tsx +17 -17
- package/iconsvg/SVG/common/Timetable.tsx +18 -18
- package/iconsvg/SVG/common/Trash.tsx +22 -22
- package/iconsvg/SVG/common/TrashRed.tsx +23 -23
- package/iconsvg/SVG/common/Upload.tsx +17 -17
- package/iconsvg/SVG/common/UserGrey.tsx +22 -22
- package/iconsvg/SVG/common/UserProfileIcon.tsx +20 -20
- package/iconsvg/SVG/common/ValidateFailure.tsx +21 -21
- package/iconsvg/SVG/common/ValidateSuccess.tsx +21 -21
- package/iconsvg/SVG/common/WarningTriangle.tsx +20 -20
- package/iconsvg/SVG/common/WhiteArrowUp.tsx +21 -21
- package/iconsvg/SVG/common/WhiteKey.tsx +21 -21
- package/iconsvg/SVG/common/WhitePeople.tsx +23 -23
- package/iconsvg/SVG/common/WhiteTick.tsx +19 -19
- package/iconsvg/SVG/flags/AT.tsx +19 -19
- package/iconsvg/SVG/flags/BE.tsx +20 -20
- package/iconsvg/SVG/flags/BG.tsx +20 -20
- package/iconsvg/SVG/flags/CH.tsx +22 -22
- package/iconsvg/SVG/flags/CZ.tsx +18 -18
- package/iconsvg/SVG/flags/DE.tsx +18 -18
- package/iconsvg/SVG/flags/DK.tsx +18 -18
- package/iconsvg/SVG/flags/ES.tsx +2585 -2585
- package/iconsvg/SVG/flags/FI.tsx +18 -18
- package/iconsvg/SVG/flags/FR.tsx +20 -20
- package/iconsvg/SVG/flags/GB.tsx +26 -26
- package/iconsvg/SVG/flags/HR.tsx +135 -135
- package/iconsvg/SVG/flags/HU.tsx +20 -20
- package/iconsvg/SVG/flags/IT.tsx +20 -20
- package/iconsvg/SVG/flags/LI.tsx +106 -106
- package/iconsvg/SVG/flags/LU.tsx +18 -18
- package/iconsvg/SVG/flags/NL.tsx +18 -18
- package/iconsvg/SVG/flags/NO.tsx +20 -20
- package/iconsvg/SVG/flags/PL.tsx +19 -19
- package/iconsvg/SVG/flags/RO.tsx +20 -20
- package/iconsvg/SVG/flags/RU.tsx +20 -20
- package/iconsvg/SVG/flags/SE.tsx +20 -20
- package/iconsvg/SVG/flags/SI.tsx +54 -54
- package/iconsvg/SVG/flags/SK.tsx +34 -34
- package/iconsvg/SVG/flags/UA.tsx +19 -19
- package/iconsvg/SVG/infoBlocks/14DaysReturnPolicy.tsx +18 -18
- package/iconsvg/SVG/infoBlocks/AlertInfo.tsx +19 -19
- package/iconsvg/SVG/infoBlocks/Autocheck.tsx +19 -19
- package/iconsvg/SVG/infoBlocks/CheckTheStory.tsx +22 -22
- package/iconsvg/SVG/infoBlocks/CustomerServiceWhite.tsx +16 -16
- package/iconsvg/SVG/infoBlocks/Guarantee.tsx +16 -16
- package/iconsvg/SVG/infoBlocks/OrderWhite.tsx +13 -13
- package/iconsvg/SVG/infoBlocks/PriceGuarantee.tsx +19 -19
- package/iconsvg/SVG/infoBlocks/PriceGuaranteeWhite.tsx +17 -17
- package/iconsvg/SVG/infoBlocks/TransportAndDelivery.tsx +21 -21
- package/iconsvg/SVG/infoBlocks/Warranty.tsx +23 -23
- package/iconsvg/SVG/popower/Mail.tsx +18 -18
- package/iconsvg/SVG/popower/Phone.tsx +19 -19
- package/iconsvg/SVG/popower/Schedule.tsx +18 -18
- package/iconsvg/SVG/searchWidgets/drive/AAllWheelDrive.tsx +26 -26
- package/iconsvg/SVG/searchWidgets/drive/AllWheelDrive.tsx +26 -26
- package/iconsvg/SVG/searchWidgets/drive/FrontWheelDrive.tsx +25 -25
- package/iconsvg/SVG/searchWidgets/drive/OtherWheelDrive.tsx +26 -26
- package/iconsvg/SVG/searchWidgets/drive/RearWheelDrive.tsx +25 -25
- package/iconsvg/SVG/searchWidgets/fuel/FuelDiesel.tsx +18 -18
- package/iconsvg/SVG/searchWidgets/fuel/FuelElectrical.tsx +19 -19
- package/iconsvg/SVG/searchWidgets/fuel/FuelElectricalDiesel.tsx +34 -34
- package/iconsvg/SVG/searchWidgets/fuel/FuelElectricalPetrol.tsx +20 -20
- package/iconsvg/SVG/searchWidgets/fuel/FuelEthanol.tsx +53 -53
- package/iconsvg/SVG/searchWidgets/fuel/FuelHydrogen.tsx +24 -24
- package/iconsvg/SVG/searchWidgets/fuel/FuelLpg.tsx +24 -24
- package/iconsvg/SVG/searchWidgets/fuel/FuelNaturalGas.tsx +23 -23
- package/iconsvg/SVG/searchWidgets/fuel/FuelOther.tsx +28 -28
- package/iconsvg/SVG/searchWidgets/fuel/FuelPetrol.tsx +18 -18
- package/iconsvg/SVG/settings/Account.tsx +17 -17
- package/iconsvg/SVG/settings/DataUsage.tsx +17 -17
- package/iconsvg/SVG/settings/MarketResearch.tsx +17 -17
- package/iconsvg/SVG/settings/Newsletter.tsx +17 -17
- package/iconsvg/SVG/settings/RemoveEye.tsx +17 -17
- package/iconsvg/SVG/settings/RemoveEyeOff.tsx +17 -17
- package/iconsvg/SVG/settings/Security.tsx +17 -17
- package/iconsvg/SVG/settings/Warning.tsx +17 -17
- package/iconsvg/SVG/slider/360.tsx +23 -23
- package/iconsvg/SVG/slider/360New.tsx +20 -20
- package/iconsvg/SVG/slider/Checked.tsx +19 -19
- package/iconsvg/SVG/slider/DiscountRibbon.tsx +51 -51
- package/iconsvg/SVG/slider/DiscountRibbonMobile.tsx +47 -47
- package/iconsvg/SVG/slider/DiscountRibbonNew.tsx +29 -29
- package/iconsvg/SVG/slider/Easy.tsx +19 -19
- package/iconsvg/SVG/slider/Fullscreen.tsx +16 -16
- package/iconsvg/SVG/slider/FullscreenWindow.tsx +23 -23
- package/iconsvg/SVG/slider/Safe.tsx +19 -19
- package/iconsvg/SVG/slider/ToBuy.tsx +19 -19
- package/iconsvg/SVG/slider/YoutubeButton.tsx +26 -26
- package/iconsvg/SVG/slider/ZoomIn.tsx +21 -21
- package/iconsvg/SVG/slider/ZoomOut.tsx +21 -21
- package/iconsvg/SVG/social/AndroidLogo.tsx +18 -18
- package/iconsvg/SVG/social/Apple.tsx +19 -19
- package/iconsvg/SVG/social/FacebookF.tsx +19 -19
- package/iconsvg/SVG/social/GooglePlusG.tsx +19 -19
- package/iconsvg/SVG/social/Instagram.tsx +17 -17
- package/iconsvg/SVG/social/Pinterest.tsx +19 -19
- package/iconsvg/SVG/social/SharingInterface.tsx +21 -21
- package/iconsvg/SVG/social/Twitter.tsx +19 -19
- package/iconsvg/SVG/social/Youtube.tsx +19 -19
- package/iconsvg/SVG/vehicle/AboIcon.tsx +11 -11
- package/iconsvg/SVG/vehicle/Abs.tsx +24 -24
- package/iconsvg/SVG/vehicle/AirCond.tsx +34 -34
- package/iconsvg/SVG/vehicle/Airbag.tsx +21 -21
- package/iconsvg/SVG/vehicle/AuxiliaryHeating.tsx +23 -23
- package/iconsvg/SVG/vehicle/Bluetooth.tsx +22 -22
- package/iconsvg/SVG/vehicle/BuyIcon.tsx +15 -15
- package/iconsvg/SVG/vehicle/CarAvailability.tsx +22 -22
- package/iconsvg/SVG/vehicle/CarInspectionCheck.tsx +21 -21
- package/iconsvg/SVG/vehicle/CarInspectionCross.tsx +21 -21
- package/iconsvg/SVG/vehicle/CheckoutChecked.tsx +15 -15
- package/iconsvg/SVG/vehicle/Co2.tsx +24 -24
- package/iconsvg/SVG/vehicle/CruiseControl.tsx +25 -25
- package/iconsvg/SVG/vehicle/Date.tsx +21 -21
- package/iconsvg/SVG/vehicle/Delivery.tsx +12 -12
- package/iconsvg/SVG/vehicle/Diesel.tsx +28 -28
- package/iconsvg/SVG/vehicle/Display.tsx +25 -25
- package/iconsvg/SVG/vehicle/Done.tsx +11 -11
- package/iconsvg/SVG/vehicle/Door.tsx +19 -19
- package/iconsvg/SVG/vehicle/DoubleDone.tsx +18 -18
- package/iconsvg/SVG/vehicle/EditIcon.tsx +11 -11
- package/iconsvg/SVG/vehicle/EmergencyBrakeAssistant.tsx +27 -27
- package/iconsvg/SVG/vehicle/Eps.tsx +24 -24
- package/iconsvg/SVG/vehicle/Esp.tsx +24 -24
- package/iconsvg/SVG/vehicle/FinancingIcon.tsx +20 -20
- package/iconsvg/SVG/vehicle/FuelConsumption.tsx +20 -20
- package/iconsvg/SVG/vehicle/Fueling.tsx +22 -22
- package/iconsvg/SVG/vehicle/FullDrive.tsx +24 -24
- package/iconsvg/SVG/vehicle/GasElectric.tsx +28 -28
- package/iconsvg/SVG/vehicle/HandsFreePhoneSystem.tsx +24 -24
- package/iconsvg/SVG/vehicle/Kw.tsx +23 -23
- package/iconsvg/SVG/vehicle/LastCrawledAt.tsx +22 -22
- package/iconsvg/SVG/vehicle/LeasingIcon.tsx +14 -14
- package/iconsvg/SVG/vehicle/Led.tsx +24 -24
- package/iconsvg/SVG/vehicle/LightSensor.tsx +22 -22
- package/iconsvg/SVG/vehicle/LinkAlternative.tsx +15 -15
- package/iconsvg/SVG/vehicle/Location.tsx +17 -17
- package/iconsvg/SVG/vehicle/MinusIcon.tsx +11 -11
- package/iconsvg/SVG/vehicle/Mirror.tsx +19 -19
- package/iconsvg/SVG/vehicle/Navigation.tsx +27 -27
- package/iconsvg/SVG/vehicle/NewCar.tsx +21 -21
- package/iconsvg/SVG/vehicle/NoImage.tsx +17 -17
- package/iconsvg/SVG/vehicle/Owner.tsx +18 -18
- package/iconsvg/SVG/vehicle/PanoramicRoof.tsx +23 -23
- package/iconsvg/SVG/vehicle/ParkingAssistants.tsx +24 -24
- package/iconsvg/SVG/vehicle/PickYourself.tsx +18 -18
- package/iconsvg/SVG/vehicle/PlusIcon.tsx +11 -11
- package/iconsvg/SVG/vehicle/Power.tsx +21 -21
- package/iconsvg/SVG/vehicle/Ps.tsx +19 -19
- package/iconsvg/SVG/vehicle/Question.tsx +24 -24
- package/iconsvg/SVG/vehicle/Seats.tsx +21 -21
- package/iconsvg/SVG/vehicle/SeatsHeating.tsx +26 -26
- package/iconsvg/SVG/vehicle/SelectorGearboxAutomatic.tsx +24 -24
- package/iconsvg/SVG/vehicle/SelectorGearboxManualShift.tsx +19 -19
- package/iconsvg/SVG/vehicle/SelectorGearboxOther.tsx +24 -24
- package/iconsvg/SVG/vehicle/SelectorGearboxSemiAutomatic.tsx +30 -30
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeAlcantara.tsx +225 -225
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeFabric.tsx +29 -29
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeFullLeather.tsx +29 -29
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeOther.tsx +26 -26
- package/iconsvg/SVG/vehicle/SelectorInteriorTypePartLeather.tsx +142 -142
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeSyntheticLeather.tsx +27 -27
- package/iconsvg/SVG/vehicle/SelectorInteriorTypeVelours.tsx +39 -39
- package/iconsvg/SVG/vehicle/Shield.tsx +39 -39
- package/iconsvg/SVG/vehicle/Speedometer.tsx +17 -17
- package/iconsvg/SVG/vehicle/StartStopSystem.tsx +30 -30
- package/iconsvg/SVG/vehicle/Stop.tsx +25 -25
- package/iconsvg/SVG/vehicle/TickMark.tsx +21 -21
- package/iconsvg/SVG/vehicle/TrafficSignRecognition.tsx +29 -29
- package/iconsvg/SVG/vehicle/TrailerCoupling.tsx +24 -24
- package/iconsvg/SVG/vehicle/Transmission.tsx +27 -27
- package/iconsvg/SVG/vehicle/Wheel.tsx +43 -43
- package/iconsvg/SVG/vehicle/Wipers.tsx +22 -22
- package/iconsvg/SVG/vehicle/Wrench.tsx +17 -17
- package/iconsvg/index.ts +7 -7
- package/index.ts +18 -18
- package/locales/de/autobahn.json +676 -671
- package/locales/en/autobahn.json +676 -671
- package/locales/legacy/SearchDetailedPage.ts +205 -205
- package/locales/legacy/cbd.ts +719 -719
- package/locales/legacy/common.ts +109 -109
- package/locales/legacy/data.ts +1118 -1118
- package/locales/legacy/priceRating.ts +10 -10
- package/locales/legacy/sortingOptions.ts +21 -21
- package/media/images/raiting-stars-min.svg +7 -7
- package/media/images/refresh-button.svg +49 -49
- package/media/images/user-icon.svg +16 -16
- package/media/svg/infoBlocks/whyAutodeIconSet-F.svg +9 -9
- package/media/svg/infoBlocks/whyAutodeIconSet-G.svg +8 -8
- package/media/svg/infoBlocks/whyAutodeIconSet-Q.svg +6 -6
- package/media/svg/infoBlocks/whyAutodeIconSet-R.svg +9 -9
- package/media/svg/usp/icon1.svg +16 -16
- package/media/svg/usp/icon2.svg +13 -13
- package/media/svg/usp/icon3.svg +10 -10
- package/media/svg/usp/icon4.svg +14 -14
- package/package.json +30 -30
- package/schemes/AggregationScheme.ts +73 -73
- package/searchFilters/filterOptions.ts +119 -119
- package/searchFilters/filterProps.ts +35 -35
- package/searchFilters/index.ts +15 -15
- package/theme/autobahn.css +25 -25
- package/theme/colors_and_type.css +113 -113
- package/theme/md3.css +2045 -2034
- package/types/types.ts +373 -373
- package/types.ts +8 -8
- package/ui/Accordion.tsx +134 -134
- package/ui/Button.tsx +62 -62
- package/ui/CardCarousel.tsx +133 -133
- package/ui/Chip.tsx +29 -29
- package/ui/DatePicker.tsx +145 -145
- package/ui/Dropdown.tsx +205 -205
- package/ui/FileUpload.tsx +154 -154
- package/ui/FormCheckbox.tsx +79 -79
- package/ui/FormDropdown.tsx +327 -327
- package/ui/FormField.tsx +88 -88
- package/ui/FormRadio.tsx +93 -93
- package/ui/FormRadioGroup.tsx +106 -106
- package/ui/Icon.tsx +391 -391
- package/ui/IconButton.tsx +44 -44
- package/ui/Modal.tsx +187 -187
- package/ui/Pagination.tsx +140 -140
- package/ui/Price.tsx +25 -25
- package/ui/PriceEvalBar.tsx +48 -48
- package/ui/SaveChip.tsx +34 -34
- package/ui/Segmented.tsx +48 -48
- package/ui/Skeleton.tsx +75 -75
- package/ui/Spec.tsx +24 -24
- package/ui/Stars.tsx +29 -29
- package/ui/StatChip.tsx +21 -21
- package/ui/Stepper.tsx +106 -106
- package/ui/Switch.tsx +65 -65
- package/ui/Table.tsx +156 -156
- package/ui/Textarea.tsx +58 -58
- package/ui/index.ts +88 -88
- package/utils/CommonUtils.ts +648 -648
- package/utils/DateUtils.ts +101 -101
- package/utils/index.ts +74 -74
- package/utils/power.ts +11 -11
- package/utils/query.ts +21 -21
- package/vdp/FinanceCalculator.tsx +465 -465
- package/vdp/VdpModules.tsx +1490 -1490
- package/vdp/VdpViewer.tsx +209 -209
- package/vdp/index.ts +75 -75
- package/vdp/types.ts +197 -197
- package/vehiclesProps/cbdSelectors.ts +117 -117
- package/vehiclesProps/decoratedLightProps.tsx +572 -572
- package/vehiclesProps/decoratedProps.tsx +1746 -1746
- package/vehiclesProps/equipment.ts +129 -129
- package/vehiclesProps/vehicleDetails.ts +428 -428
- package/widgets/SearchBox.tsx +256 -256
- package/widgets/index.ts +5 -5
package/media/svg/usp/icon4.svg
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<svg width="20" height="19" viewBox="0 0 20 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0)">
|
|
3
|
-
<path d="M7.4884 12.0326C7.14585 11.9736 6.88299 11.8793 6.74358 11.7614C6.67589 11.7025 6.52456 11.62 6.40903 11.5846C6.24177 11.5296 6.1342 11.451 5.89526 11.2152C4.99115 10.3075 4.77609 9.054 5.33366 7.93016C5.71205 7.1757 6.42099 6.6059 7.24942 6.38978C7.59593 6.2994 8.29691 6.2994 8.63546 6.38978C8.84256 6.44479 9.07358 6.45659 9.89005 6.45659C10.8419 6.45659 10.9057 6.46054 11.1526 6.55088C11.4951 6.67272 11.5429 6.69238 12.0089 6.9085C12.228 7.01064 12.5426 7.15604 12.7059 7.23071C13.0046 7.36822 13.375 7.54507 14.1198 7.8948C14.5101 8.07947 14.5261 8.08341 15.016 8.11092C15.9559 8.15805 16.6091 8.30345 17.2344 8.6021C17.6446 8.79857 17.8995 9.02255 17.9633 9.23867C18.023 9.45089 18.015 10.8537 17.9513 10.9716C17.9274 11.0227 17.8358 11.1209 17.7522 11.1877C17.6128 11.2977 17.565 11.3095 17.2742 11.3253L16.9477 11.3371L16.7366 11.5689C16.4299 11.9029 16.1749 12.0129 15.7129 12.0129C15.4142 12.0129 15.3266 11.9972 15.1753 11.9225C14.9443 11.8007 14.6894 11.5885 14.6017 11.4431L14.534 11.3292H12.216H9.89401L9.67895 11.4903C9.41209 11.6907 8.98593 11.895 8.66334 11.9775C8.36064 12.0561 7.77118 12.0836 7.4884 12.0326ZM8.75495 11.5924C9.16119 11.4549 9.44793 11.2742 9.75464 10.9716C10.0613 10.669 10.2405 10.39 10.3839 9.98528C10.4755 9.73774 10.4915 9.63161 10.4915 9.20726C10.4954 8.76715 10.4835 8.68462 10.3839 8.39383C10.1171 7.6276 9.53954 7.05781 8.75495 6.77881C8.50005 6.68843 8.40444 6.67663 7.9464 6.67663C7.4884 6.67663 7.39279 6.68843 7.13789 6.77881C6.72766 6.92421 6.44487 7.10102 6.13821 7.40358C5.83154 7.70618 5.65228 7.98518 5.50495 8.38992C5.41334 8.64141 5.40138 8.7357 5.40138 9.1876C5.40138 9.63951 5.41334 9.7338 5.50495 9.98528C5.65228 10.39 5.83154 10.669 6.13821 10.9716C6.51656 11.3449 6.94275 11.5728 7.46848 11.6828C7.76718 11.7496 8.43632 11.6985 8.75495 11.5924ZM16.159 11.5374C16.3821 11.4353 16.5533 11.2231 16.6529 10.9362C16.7445 10.669 16.7445 10.669 16.6688 10.4293C16.5493 10.0403 16.2666 9.76916 15.932 9.72594C15.6333 9.68663 15.4302 9.71023 15.2709 9.80452C14.9323 10.001 14.765 10.28 14.7611 10.6612C14.7611 10.8773 14.777 10.9519 14.8806 11.1327C15.0199 11.3763 15.2549 11.561 15.482 11.6082C15.6771 11.6475 15.9957 11.616 16.159 11.5374Z" fill="#757575"/>
|
|
4
|
-
<path d="M10.0781 18.5472C9.37735 18.4923 8.52388 18.3234 7.88183 18.1114C7.50989 17.9897 7.32591 17.7148 7.4003 17.3888C7.44336 17.2043 7.5647 17.0747 7.77614 16.9922C7.93665 16.9294 7.9523 16.9333 8.34771 17.0472C9.22466 17.3103 9.89801 17.4084 10.7671 17.4084C14.1653 17.4084 17.1837 15.2997 18.3778 12.0915C18.9298 10.6149 19.0238 8.86353 18.6362 7.31241C18.0646 5.02303 16.5104 3.07138 14.408 2.01502C13.1396 1.37887 11.969 1.1197 10.5127 1.16289C9.53004 1.19038 8.81749 1.32389 7.96795 1.64199C5.2314 2.66691 3.25436 5.05837 2.765 7.94071C2.72973 8.1449 2.71019 8.3177 2.71801 8.32554C2.72584 8.33339 2.83936 8.14885 2.96857 7.91717C3.22695 7.44986 3.32875 7.33205 3.52839 7.27707C3.88857 7.17105 4.22918 7.44201 4.22918 7.83864C4.22918 7.9839 4.14306 8.16454 3.57538 9.18553C2.60445 10.933 2.57708 10.9762 2.43222 11.0744C2.20514 11.2275 1.89588 11.1804 1.70013 10.9605C1.57875 10.827 0.0558251 8.05853 0.0245247 7.92502C-0.0576965 7.53624 0.341614 7.16711 0.737031 7.27317C0.932774 7.32811 1.0424 7.45377 1.29689 7.91322C1.41431 8.1253 1.52004 8.29805 1.53176 8.29805C1.54352 8.29805 1.56699 8.19598 1.58268 8.07422C1.77449 6.4053 2.5888 4.57146 3.72024 3.25593C4.58543 2.25065 5.49372 1.53987 6.676 0.954758C7.98753 0.302909 9.26772 0.000549316 10.7475 0.000549316C12.2626 0.000549316 13.5389 0.29506 14.8583 0.954758C16.7296 1.88546 18.139 3.29912 19.0668 5.17618C19.5366 6.12648 19.8302 7.10428 19.9712 8.19988C20.0338 8.69862 20.026 9.95523 19.9555 10.4775C19.6815 12.4763 18.8163 14.2827 17.4499 15.7081C16.6748 16.5131 15.8722 17.1021 14.8583 17.6048C13.3902 18.3391 11.695 18.669 10.0781 18.5472Z" fill="#757575"/>
|
|
5
|
-
<path d="M7.48741 12.0326C7.14487 11.9736 6.882 11.8793 6.74263 11.7614C6.6749 11.7025 6.52357 11.62 6.40804 11.5846C6.24079 11.5296 6.13326 11.451 5.89428 11.2152C4.99016 10.3075 4.7751 9.054 5.33271 7.93016C5.71106 7.1757 6.42 6.6059 7.24843 6.38978C7.59494 6.2994 8.29592 6.2994 8.63447 6.38978C8.84157 6.44479 9.07259 6.45659 9.88906 6.45659C10.8649 6.45659 10.9007 6.46054 11.1715 6.55878C11.3269 6.61376 11.4822 6.66877 11.522 6.68058C11.5579 6.69238 11.5897 6.71988 11.5897 6.7395C11.5897 6.75915 11.6057 6.76701 11.6256 6.7513C11.6455 6.7395 11.6893 6.75525 11.7212 6.78666C11.753 6.81812 11.7889 6.83777 11.7969 6.82988C11.8048 6.81812 11.9522 6.88099 12.1195 6.96743C12.2867 7.04995 12.4261 7.10888 12.4261 7.09712C12.4261 7.08532 12.458 7.10102 12.4978 7.13248C12.5655 7.19141 12.681 7.24642 12.7806 7.26608C12.8125 7.26999 12.8483 7.28964 12.8603 7.3093C12.8722 7.325 12.9041 7.34466 12.932 7.3486C12.9758 7.35646 13.2984 7.50577 14.2383 7.94982C14.541 8.09518 14.5809 8.10307 15.0349 8.11878C15.9111 8.15019 16.6041 8.30345 17.2334 8.6021C17.6436 8.79857 17.8986 9.02255 17.9623 9.23867C18.022 9.45089 18.0141 10.8537 17.9504 10.9716C17.9264 11.0227 17.8348 11.1209 17.7512 11.1877C17.6118 11.2977 17.564 11.3095 17.2733 11.3253L16.9467 11.3371L16.7356 11.5689C16.4289 11.9029 16.174 12.0129 15.712 12.0129C15.4133 12.0129 15.3256 11.9972 15.1743 11.9225C14.9433 11.8007 14.6884 11.5885 14.6008 11.4431L14.5331 11.3292H12.2151H9.89306L9.67796 11.4903C9.41114 11.6907 8.98494 11.895 8.66236 11.9775C8.35965 12.0561 7.7702 12.0836 7.48741 12.0326ZM8.75396 11.5924C9.1602 11.4549 9.44698 11.2742 9.75365 10.9716C10.0603 10.669 10.2396 10.39 10.3829 9.98528C10.4746 9.73774 10.4905 9.63161 10.4905 9.20726C10.4945 8.76715 10.4825 8.68462 10.3829 8.39383C10.1161 7.6276 9.53859 7.05781 8.75396 6.77881C8.49906 6.68843 8.40345 6.67663 7.94545 6.67663C7.48741 6.67663 7.39181 6.68843 7.1369 6.77881C6.72667 6.92421 6.44388 7.10102 6.13722 7.40358C5.83055 7.70618 5.65134 7.98518 5.50396 8.38992C5.41236 8.64141 5.40039 8.7357 5.40039 9.1876C5.40039 9.63951 5.41236 9.7338 5.50396 9.98528C5.65134 10.39 5.83055 10.669 6.13722 10.9716C6.51561 11.3449 6.94177 11.5728 7.46749 11.6828C7.7662 11.7496 8.43533 11.6985 8.75396 11.5924ZM16.158 11.5374C16.3811 11.4353 16.5524 11.2231 16.6519 10.9362C16.7435 10.669 16.7435 10.669 16.6678 10.4293C16.5484 10.0403 16.2656 9.76916 15.931 9.72594C15.6323 9.68663 15.4292 9.71023 15.2699 9.80452C14.9313 10.001 14.7641 10.28 14.7601 10.6612C14.7601 10.8773 14.776 10.9519 14.8796 11.1327C15.019 11.3763 15.254 11.561 15.481 11.6082C15.6761 11.6475 15.9947 11.616 16.158 11.5374Z" fill="#757575"/>
|
|
6
|
-
<path d="M7.80618 10.5469C7.51943 10.4605 7.19284 10.1657 7.06539 9.8789C6.99767 9.72955 6.98174 9.71779 6.83437 9.71779C6.63124 9.71384 6.51975 9.63917 6.53963 9.51343C6.54759 9.43879 6.57947 9.42304 6.72284 9.41128L6.89014 9.39948V9.22267C6.89014 9.12834 6.8941 9.03796 6.9021 9.02225C6.90606 9.00259 6.86622 8.98689 6.81049 8.97903C6.55955 8.95152 6.52771 8.93187 6.53963 8.82183C6.55159 8.7236 6.56751 8.71574 6.76269 8.70398C6.96978 8.69218 6.97378 8.68823 7.05739 8.50747C7.18884 8.23242 7.50747 7.93772 7.76237 7.85124C8.25626 7.69014 9.01696 7.94952 8.8019 8.20491C8.74614 8.27173 8.61869 8.28349 8.58284 8.22848C8.57088 8.20886 8.47131 8.1617 8.36378 8.12633C8.18853 8.06737 8.13676 8.06737 7.96151 8.11062C7.74245 8.1656 7.47959 8.36211 7.38798 8.54284C7.35614 8.6018 7.32825 8.66073 7.32825 8.67647C7.32825 8.68823 7.53135 8.69609 7.78229 8.69609C8.19253 8.69609 8.24033 8.70398 8.26421 8.77076C8.27618 8.81007 8.27618 8.87294 8.26022 8.90831C8.24033 8.96332 8.16065 8.97118 7.72253 8.97118H7.20876V9.1873V9.40343H7.62696C8.00135 9.40343 8.04516 9.41128 8.085 9.48201C8.11684 9.54093 8.10888 9.5763 8.04516 9.63917C7.97743 9.70599 7.91371 9.71779 7.64688 9.71779H7.32425L7.38402 9.82779C7.59112 10.2168 8.10488 10.3779 8.51512 10.1854L8.69037 10.0989L8.77402 10.1854C8.88951 10.2993 8.83375 10.3819 8.55896 10.4919C8.3399 10.5823 8.00531 10.6058 7.80618 10.5469Z" fill="#757575"/>
|
|
7
|
-
<path d="M15.4332 10.936C15.3416 10.8416 15.3137 10.7788 15.3137 10.653C15.3137 10.5194 15.3376 10.4762 15.4531 10.3819C15.7877 10.1029 16.2258 10.3898 16.0904 10.7984C16.0306 10.9752 15.9151 11.0539 15.712 11.0539C15.5806 11.0539 15.5248 11.0303 15.4332 10.936Z" fill="#757575"/>
|
|
8
|
-
</g>
|
|
9
|
-
<defs>
|
|
10
|
-
<clipPath id="clip0">
|
|
11
|
-
<rect width="20" height="18.5714" fill="white"/>
|
|
12
|
-
</clipPath>
|
|
13
|
-
</defs>
|
|
14
|
-
</svg>
|
|
1
|
+
<svg width="20" height="19" viewBox="0 0 20 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0)">
|
|
3
|
+
<path d="M7.4884 12.0326C7.14585 11.9736 6.88299 11.8793 6.74358 11.7614C6.67589 11.7025 6.52456 11.62 6.40903 11.5846C6.24177 11.5296 6.1342 11.451 5.89526 11.2152C4.99115 10.3075 4.77609 9.054 5.33366 7.93016C5.71205 7.1757 6.42099 6.6059 7.24942 6.38978C7.59593 6.2994 8.29691 6.2994 8.63546 6.38978C8.84256 6.44479 9.07358 6.45659 9.89005 6.45659C10.8419 6.45659 10.9057 6.46054 11.1526 6.55088C11.4951 6.67272 11.5429 6.69238 12.0089 6.9085C12.228 7.01064 12.5426 7.15604 12.7059 7.23071C13.0046 7.36822 13.375 7.54507 14.1198 7.8948C14.5101 8.07947 14.5261 8.08341 15.016 8.11092C15.9559 8.15805 16.6091 8.30345 17.2344 8.6021C17.6446 8.79857 17.8995 9.02255 17.9633 9.23867C18.023 9.45089 18.015 10.8537 17.9513 10.9716C17.9274 11.0227 17.8358 11.1209 17.7522 11.1877C17.6128 11.2977 17.565 11.3095 17.2742 11.3253L16.9477 11.3371L16.7366 11.5689C16.4299 11.9029 16.1749 12.0129 15.7129 12.0129C15.4142 12.0129 15.3266 11.9972 15.1753 11.9225C14.9443 11.8007 14.6894 11.5885 14.6017 11.4431L14.534 11.3292H12.216H9.89401L9.67895 11.4903C9.41209 11.6907 8.98593 11.895 8.66334 11.9775C8.36064 12.0561 7.77118 12.0836 7.4884 12.0326ZM8.75495 11.5924C9.16119 11.4549 9.44793 11.2742 9.75464 10.9716C10.0613 10.669 10.2405 10.39 10.3839 9.98528C10.4755 9.73774 10.4915 9.63161 10.4915 9.20726C10.4954 8.76715 10.4835 8.68462 10.3839 8.39383C10.1171 7.6276 9.53954 7.05781 8.75495 6.77881C8.50005 6.68843 8.40444 6.67663 7.9464 6.67663C7.4884 6.67663 7.39279 6.68843 7.13789 6.77881C6.72766 6.92421 6.44487 7.10102 6.13821 7.40358C5.83154 7.70618 5.65228 7.98518 5.50495 8.38992C5.41334 8.64141 5.40138 8.7357 5.40138 9.1876C5.40138 9.63951 5.41334 9.7338 5.50495 9.98528C5.65228 10.39 5.83154 10.669 6.13821 10.9716C6.51656 11.3449 6.94275 11.5728 7.46848 11.6828C7.76718 11.7496 8.43632 11.6985 8.75495 11.5924ZM16.159 11.5374C16.3821 11.4353 16.5533 11.2231 16.6529 10.9362C16.7445 10.669 16.7445 10.669 16.6688 10.4293C16.5493 10.0403 16.2666 9.76916 15.932 9.72594C15.6333 9.68663 15.4302 9.71023 15.2709 9.80452C14.9323 10.001 14.765 10.28 14.7611 10.6612C14.7611 10.8773 14.777 10.9519 14.8806 11.1327C15.0199 11.3763 15.2549 11.561 15.482 11.6082C15.6771 11.6475 15.9957 11.616 16.159 11.5374Z" fill="#757575"/>
|
|
4
|
+
<path d="M10.0781 18.5472C9.37735 18.4923 8.52388 18.3234 7.88183 18.1114C7.50989 17.9897 7.32591 17.7148 7.4003 17.3888C7.44336 17.2043 7.5647 17.0747 7.77614 16.9922C7.93665 16.9294 7.9523 16.9333 8.34771 17.0472C9.22466 17.3103 9.89801 17.4084 10.7671 17.4084C14.1653 17.4084 17.1837 15.2997 18.3778 12.0915C18.9298 10.6149 19.0238 8.86353 18.6362 7.31241C18.0646 5.02303 16.5104 3.07138 14.408 2.01502C13.1396 1.37887 11.969 1.1197 10.5127 1.16289C9.53004 1.19038 8.81749 1.32389 7.96795 1.64199C5.2314 2.66691 3.25436 5.05837 2.765 7.94071C2.72973 8.1449 2.71019 8.3177 2.71801 8.32554C2.72584 8.33339 2.83936 8.14885 2.96857 7.91717C3.22695 7.44986 3.32875 7.33205 3.52839 7.27707C3.88857 7.17105 4.22918 7.44201 4.22918 7.83864C4.22918 7.9839 4.14306 8.16454 3.57538 9.18553C2.60445 10.933 2.57708 10.9762 2.43222 11.0744C2.20514 11.2275 1.89588 11.1804 1.70013 10.9605C1.57875 10.827 0.0558251 8.05853 0.0245247 7.92502C-0.0576965 7.53624 0.341614 7.16711 0.737031 7.27317C0.932774 7.32811 1.0424 7.45377 1.29689 7.91322C1.41431 8.1253 1.52004 8.29805 1.53176 8.29805C1.54352 8.29805 1.56699 8.19598 1.58268 8.07422C1.77449 6.4053 2.5888 4.57146 3.72024 3.25593C4.58543 2.25065 5.49372 1.53987 6.676 0.954758C7.98753 0.302909 9.26772 0.000549316 10.7475 0.000549316C12.2626 0.000549316 13.5389 0.29506 14.8583 0.954758C16.7296 1.88546 18.139 3.29912 19.0668 5.17618C19.5366 6.12648 19.8302 7.10428 19.9712 8.19988C20.0338 8.69862 20.026 9.95523 19.9555 10.4775C19.6815 12.4763 18.8163 14.2827 17.4499 15.7081C16.6748 16.5131 15.8722 17.1021 14.8583 17.6048C13.3902 18.3391 11.695 18.669 10.0781 18.5472Z" fill="#757575"/>
|
|
5
|
+
<path d="M7.48741 12.0326C7.14487 11.9736 6.882 11.8793 6.74263 11.7614C6.6749 11.7025 6.52357 11.62 6.40804 11.5846C6.24079 11.5296 6.13326 11.451 5.89428 11.2152C4.99016 10.3075 4.7751 9.054 5.33271 7.93016C5.71106 7.1757 6.42 6.6059 7.24843 6.38978C7.59494 6.2994 8.29592 6.2994 8.63447 6.38978C8.84157 6.44479 9.07259 6.45659 9.88906 6.45659C10.8649 6.45659 10.9007 6.46054 11.1715 6.55878C11.3269 6.61376 11.4822 6.66877 11.522 6.68058C11.5579 6.69238 11.5897 6.71988 11.5897 6.7395C11.5897 6.75915 11.6057 6.76701 11.6256 6.7513C11.6455 6.7395 11.6893 6.75525 11.7212 6.78666C11.753 6.81812 11.7889 6.83777 11.7969 6.82988C11.8048 6.81812 11.9522 6.88099 12.1195 6.96743C12.2867 7.04995 12.4261 7.10888 12.4261 7.09712C12.4261 7.08532 12.458 7.10102 12.4978 7.13248C12.5655 7.19141 12.681 7.24642 12.7806 7.26608C12.8125 7.26999 12.8483 7.28964 12.8603 7.3093C12.8722 7.325 12.9041 7.34466 12.932 7.3486C12.9758 7.35646 13.2984 7.50577 14.2383 7.94982C14.541 8.09518 14.5809 8.10307 15.0349 8.11878C15.9111 8.15019 16.6041 8.30345 17.2334 8.6021C17.6436 8.79857 17.8986 9.02255 17.9623 9.23867C18.022 9.45089 18.0141 10.8537 17.9504 10.9716C17.9264 11.0227 17.8348 11.1209 17.7512 11.1877C17.6118 11.2977 17.564 11.3095 17.2733 11.3253L16.9467 11.3371L16.7356 11.5689C16.4289 11.9029 16.174 12.0129 15.712 12.0129C15.4133 12.0129 15.3256 11.9972 15.1743 11.9225C14.9433 11.8007 14.6884 11.5885 14.6008 11.4431L14.5331 11.3292H12.2151H9.89306L9.67796 11.4903C9.41114 11.6907 8.98494 11.895 8.66236 11.9775C8.35965 12.0561 7.7702 12.0836 7.48741 12.0326ZM8.75396 11.5924C9.1602 11.4549 9.44698 11.2742 9.75365 10.9716C10.0603 10.669 10.2396 10.39 10.3829 9.98528C10.4746 9.73774 10.4905 9.63161 10.4905 9.20726C10.4945 8.76715 10.4825 8.68462 10.3829 8.39383C10.1161 7.6276 9.53859 7.05781 8.75396 6.77881C8.49906 6.68843 8.40345 6.67663 7.94545 6.67663C7.48741 6.67663 7.39181 6.68843 7.1369 6.77881C6.72667 6.92421 6.44388 7.10102 6.13722 7.40358C5.83055 7.70618 5.65134 7.98518 5.50396 8.38992C5.41236 8.64141 5.40039 8.7357 5.40039 9.1876C5.40039 9.63951 5.41236 9.7338 5.50396 9.98528C5.65134 10.39 5.83055 10.669 6.13722 10.9716C6.51561 11.3449 6.94177 11.5728 7.46749 11.6828C7.7662 11.7496 8.43533 11.6985 8.75396 11.5924ZM16.158 11.5374C16.3811 11.4353 16.5524 11.2231 16.6519 10.9362C16.7435 10.669 16.7435 10.669 16.6678 10.4293C16.5484 10.0403 16.2656 9.76916 15.931 9.72594C15.6323 9.68663 15.4292 9.71023 15.2699 9.80452C14.9313 10.001 14.7641 10.28 14.7601 10.6612C14.7601 10.8773 14.776 10.9519 14.8796 11.1327C15.019 11.3763 15.254 11.561 15.481 11.6082C15.6761 11.6475 15.9947 11.616 16.158 11.5374Z" fill="#757575"/>
|
|
6
|
+
<path d="M7.80618 10.5469C7.51943 10.4605 7.19284 10.1657 7.06539 9.8789C6.99767 9.72955 6.98174 9.71779 6.83437 9.71779C6.63124 9.71384 6.51975 9.63917 6.53963 9.51343C6.54759 9.43879 6.57947 9.42304 6.72284 9.41128L6.89014 9.39948V9.22267C6.89014 9.12834 6.8941 9.03796 6.9021 9.02225C6.90606 9.00259 6.86622 8.98689 6.81049 8.97903C6.55955 8.95152 6.52771 8.93187 6.53963 8.82183C6.55159 8.7236 6.56751 8.71574 6.76269 8.70398C6.96978 8.69218 6.97378 8.68823 7.05739 8.50747C7.18884 8.23242 7.50747 7.93772 7.76237 7.85124C8.25626 7.69014 9.01696 7.94952 8.8019 8.20491C8.74614 8.27173 8.61869 8.28349 8.58284 8.22848C8.57088 8.20886 8.47131 8.1617 8.36378 8.12633C8.18853 8.06737 8.13676 8.06737 7.96151 8.11062C7.74245 8.1656 7.47959 8.36211 7.38798 8.54284C7.35614 8.6018 7.32825 8.66073 7.32825 8.67647C7.32825 8.68823 7.53135 8.69609 7.78229 8.69609C8.19253 8.69609 8.24033 8.70398 8.26421 8.77076C8.27618 8.81007 8.27618 8.87294 8.26022 8.90831C8.24033 8.96332 8.16065 8.97118 7.72253 8.97118H7.20876V9.1873V9.40343H7.62696C8.00135 9.40343 8.04516 9.41128 8.085 9.48201C8.11684 9.54093 8.10888 9.5763 8.04516 9.63917C7.97743 9.70599 7.91371 9.71779 7.64688 9.71779H7.32425L7.38402 9.82779C7.59112 10.2168 8.10488 10.3779 8.51512 10.1854L8.69037 10.0989L8.77402 10.1854C8.88951 10.2993 8.83375 10.3819 8.55896 10.4919C8.3399 10.5823 8.00531 10.6058 7.80618 10.5469Z" fill="#757575"/>
|
|
7
|
+
<path d="M15.4332 10.936C15.3416 10.8416 15.3137 10.7788 15.3137 10.653C15.3137 10.5194 15.3376 10.4762 15.4531 10.3819C15.7877 10.1029 16.2258 10.3898 16.0904 10.7984C16.0306 10.9752 15.9151 11.0539 15.712 11.0539C15.5806 11.0539 15.5248 11.0303 15.4332 10.936Z" fill="#757575"/>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0">
|
|
11
|
+
<rect width="20" height="18.5714" fill="white"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bytebrand/fe-ui-core-autobahn",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "auto.de md3 (Autobahn) design system — UI primitives, cards, chrome, VDP modules, theme CSS and locales. Ships raw TypeScript source (like fe-ui-core before it); each consumer's bundler compiles it.",
|
|
5
|
-
"main": "index.ts",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"peerDependencies": {
|
|
8
|
-
"react": "^18.0.0",
|
|
9
|
-
"react-dom": "^18.0.0"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@bytebrand/car-schema-selectors": "^2.0.7",
|
|
13
|
-
"@bytebrand/fe-financing": "^5.14.10",
|
|
14
|
-
"classnames": "2.2.6",
|
|
15
|
-
"clsx": "^2.1.1",
|
|
16
|
-
"d3-format": "1.4.5",
|
|
17
|
-
"js-cookie": "^2.2.0",
|
|
18
|
-
"lodash": "^4.17.21",
|
|
19
|
-
"lucide-react": "^0.288.0",
|
|
20
|
-
"mobx-react": "^7.6.0",
|
|
21
|
-
"moment": "^2.29.1",
|
|
22
|
-
"qs": "^6.6.0",
|
|
23
|
-
"react-device-detect": "^2.1.2",
|
|
24
|
-
"react-grid-system": "^5.0.2",
|
|
25
|
-
"react-lazyload": "^3.2.0",
|
|
26
|
-
"react-scroll": "^1.9.3",
|
|
27
|
-
"react-slick": "^0.29.0",
|
|
28
|
-
"slick-carousel": "1.8.1"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bytebrand/fe-ui-core-autobahn",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "auto.de md3 (Autobahn) design system — UI primitives, cards, chrome, VDP modules, theme CSS and locales. Ships raw TypeScript source (like fe-ui-core before it); each consumer's bundler compiles it.",
|
|
5
|
+
"main": "index.ts",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"react": "^18.0.0",
|
|
9
|
+
"react-dom": "^18.0.0"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@bytebrand/car-schema-selectors": "^2.0.7",
|
|
13
|
+
"@bytebrand/fe-financing": "^5.14.10",
|
|
14
|
+
"classnames": "2.2.6",
|
|
15
|
+
"clsx": "^2.1.1",
|
|
16
|
+
"d3-format": "1.4.5",
|
|
17
|
+
"js-cookie": "^2.2.0",
|
|
18
|
+
"lodash": "^4.17.21",
|
|
19
|
+
"lucide-react": "^0.288.0",
|
|
20
|
+
"mobx-react": "^7.6.0",
|
|
21
|
+
"moment": "^2.29.1",
|
|
22
|
+
"qs": "^6.6.0",
|
|
23
|
+
"react-device-detect": "^2.1.2",
|
|
24
|
+
"react-grid-system": "^5.0.2",
|
|
25
|
+
"react-lazyload": "^3.2.0",
|
|
26
|
+
"react-scroll": "^1.9.3",
|
|
27
|
+
"react-slick": "^0.29.0",
|
|
28
|
+
"slick-carousel": "1.8.1"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
interface IAggregationGroupsScheme {
|
|
2
|
-
[key: string]: string;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
export const AggregationGroupsScheme: IAggregationGroupsScheme = {
|
|
6
|
-
mainData_firstRegistrationYear: 'HISTOGRAM',
|
|
7
|
-
price_currentSalesPrice: 'HISTOGRAM',
|
|
8
|
-
mainData_mileage: 'HISTOGRAM',
|
|
9
|
-
engineData_powerPS: 'HISTOGRAM',
|
|
10
|
-
engineData_powerKW: 'HISTOGRAM',
|
|
11
|
-
|
|
12
|
-
selector_fuel_other: 'FUEL',
|
|
13
|
-
selector_fuel_petrol: 'FUEL',
|
|
14
|
-
selector_fuel_diesel: 'FUEL',
|
|
15
|
-
selector_fuel_carGas: 'FUEL',
|
|
16
|
-
selector_fuel_naturalGas: 'FUEL',
|
|
17
|
-
selector_fuel_gas: 'FUEL',
|
|
18
|
-
selector_fuel_electrical: 'FUEL',
|
|
19
|
-
selector_fuel_hybridElectricalPetrol: 'FUEL',
|
|
20
|
-
selector_fuel_hybridElectricalDiesel: 'FUEL',
|
|
21
|
-
selector_fuel_hydrogen: 'FUEL',
|
|
22
|
-
selector_fuel_ethanol: 'FUEL',
|
|
23
|
-
|
|
24
|
-
selector_driveType_other: 'DRIVE_TYPE',
|
|
25
|
-
selector_driveType_frontWheelDrive: 'DRIVE_TYPE',
|
|
26
|
-
selector_driveType_rearWheelDrive: 'DRIVE_TYPE',
|
|
27
|
-
selector_driveType_allWheelDrive: 'DRIVE_TYPE',
|
|
28
|
-
|
|
29
|
-
selector_gearbox_other: 'TRANSMISSION',
|
|
30
|
-
selector_gearbox_automatic: 'TRANSMISSION',
|
|
31
|
-
selector_gearbox_manualShift: 'TRANSMISSION',
|
|
32
|
-
selector_gearbox_semiAutomatic: 'TRANSMISSION',
|
|
33
|
-
|
|
34
|
-
exterior_metallic: 'METALLIC',
|
|
35
|
-
|
|
36
|
-
engineData_startStopSystem: 'HIGHLIGHTS',
|
|
37
|
-
driveSuspension_driveType: 'HIGHLIGHTS',
|
|
38
|
-
interior_interiorType: 'HIGHLIGHTS',
|
|
39
|
-
assistants_abs: 'HIGHLIGHTS',
|
|
40
|
-
assistants_esp: 'HIGHLIGHTS',
|
|
41
|
-
assistants_headUpDisplay: 'HIGHLIGHTS',
|
|
42
|
-
assistants_collisionAvoidance: 'HIGHLIGHTS',
|
|
43
|
-
assistants_parkingAssistants: 'HIGHLIGHTS',
|
|
44
|
-
assistants_automaticRainSensor: 'HIGHLIGHTS',
|
|
45
|
-
assistants_cruiseControl: 'HIGHLIGHTS',
|
|
46
|
-
assistants_trafficSignRecognition: 'HIGHLIGHTS',
|
|
47
|
-
heatingCooling_climatisation: 'HIGHLIGHTS',
|
|
48
|
-
heatingCooling_auxiliaryHeating: 'HIGHLIGHTS',
|
|
49
|
-
multimedia_bluetooth: 'HIGHLIGHTS',
|
|
50
|
-
multimedia_handsFreePhoneSystem: 'HIGHLIGHTS',
|
|
51
|
-
multimedia_navigationSystem: 'HIGHLIGHTS',
|
|
52
|
-
seats_electricHeated: 'HIGHLIGHTS',
|
|
53
|
-
airbags_airbag: 'HIGHLIGHTS',
|
|
54
|
-
wheel_multifunctionalWheel: 'HIGHLIGHTS',
|
|
55
|
-
lights_laserHeadlights: 'HIGHLIGHTS',
|
|
56
|
-
lights_ledHeadlights: 'HIGHLIGHTS',
|
|
57
|
-
lights_lightSensor: 'HIGHLIGHTS',
|
|
58
|
-
lights_xenonHeadlights: 'HIGHLIGHTS',
|
|
59
|
-
window_panoramicGlassRoof: 'HIGHLIGHTS',
|
|
60
|
-
trailerCoupling_trailerCouplingRemovable: 'HIGHLIGHTS',
|
|
61
|
-
trailerCoupling_trailerCouplingFix: 'HIGHLIGHTS',
|
|
62
|
-
trailerCoupling_trailerCouplingRotatable: 'HIGHLIGHTS',
|
|
63
|
-
search_parkingAssistants: 'HIGHLIGHTS',
|
|
64
|
-
search_seatHeating: 'HIGHLIGHTS',
|
|
65
|
-
search_trailerHitch: 'HIGHLIGHTS',
|
|
66
|
-
assistants_emergencyAssistant: 'HIGHLIGHTS',
|
|
67
|
-
search_noIncandescentLight: 'HIGHLIGHTS',
|
|
68
|
-
|
|
69
|
-
offer_newHuAu: 'STATE_OPTIONS',
|
|
70
|
-
careService_fullServiceHistory: 'STATE_OPTIONS',
|
|
71
|
-
offer_warranty: 'STATE_OPTIONS',
|
|
72
|
-
mainData_nonSmokerVehicle: 'STATE_OPTIONS'
|
|
73
|
-
};
|
|
1
|
+
interface IAggregationGroupsScheme {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export const AggregationGroupsScheme: IAggregationGroupsScheme = {
|
|
6
|
+
mainData_firstRegistrationYear: 'HISTOGRAM',
|
|
7
|
+
price_currentSalesPrice: 'HISTOGRAM',
|
|
8
|
+
mainData_mileage: 'HISTOGRAM',
|
|
9
|
+
engineData_powerPS: 'HISTOGRAM',
|
|
10
|
+
engineData_powerKW: 'HISTOGRAM',
|
|
11
|
+
|
|
12
|
+
selector_fuel_other: 'FUEL',
|
|
13
|
+
selector_fuel_petrol: 'FUEL',
|
|
14
|
+
selector_fuel_diesel: 'FUEL',
|
|
15
|
+
selector_fuel_carGas: 'FUEL',
|
|
16
|
+
selector_fuel_naturalGas: 'FUEL',
|
|
17
|
+
selector_fuel_gas: 'FUEL',
|
|
18
|
+
selector_fuel_electrical: 'FUEL',
|
|
19
|
+
selector_fuel_hybridElectricalPetrol: 'FUEL',
|
|
20
|
+
selector_fuel_hybridElectricalDiesel: 'FUEL',
|
|
21
|
+
selector_fuel_hydrogen: 'FUEL',
|
|
22
|
+
selector_fuel_ethanol: 'FUEL',
|
|
23
|
+
|
|
24
|
+
selector_driveType_other: 'DRIVE_TYPE',
|
|
25
|
+
selector_driveType_frontWheelDrive: 'DRIVE_TYPE',
|
|
26
|
+
selector_driveType_rearWheelDrive: 'DRIVE_TYPE',
|
|
27
|
+
selector_driveType_allWheelDrive: 'DRIVE_TYPE',
|
|
28
|
+
|
|
29
|
+
selector_gearbox_other: 'TRANSMISSION',
|
|
30
|
+
selector_gearbox_automatic: 'TRANSMISSION',
|
|
31
|
+
selector_gearbox_manualShift: 'TRANSMISSION',
|
|
32
|
+
selector_gearbox_semiAutomatic: 'TRANSMISSION',
|
|
33
|
+
|
|
34
|
+
exterior_metallic: 'METALLIC',
|
|
35
|
+
|
|
36
|
+
engineData_startStopSystem: 'HIGHLIGHTS',
|
|
37
|
+
driveSuspension_driveType: 'HIGHLIGHTS',
|
|
38
|
+
interior_interiorType: 'HIGHLIGHTS',
|
|
39
|
+
assistants_abs: 'HIGHLIGHTS',
|
|
40
|
+
assistants_esp: 'HIGHLIGHTS',
|
|
41
|
+
assistants_headUpDisplay: 'HIGHLIGHTS',
|
|
42
|
+
assistants_collisionAvoidance: 'HIGHLIGHTS',
|
|
43
|
+
assistants_parkingAssistants: 'HIGHLIGHTS',
|
|
44
|
+
assistants_automaticRainSensor: 'HIGHLIGHTS',
|
|
45
|
+
assistants_cruiseControl: 'HIGHLIGHTS',
|
|
46
|
+
assistants_trafficSignRecognition: 'HIGHLIGHTS',
|
|
47
|
+
heatingCooling_climatisation: 'HIGHLIGHTS',
|
|
48
|
+
heatingCooling_auxiliaryHeating: 'HIGHLIGHTS',
|
|
49
|
+
multimedia_bluetooth: 'HIGHLIGHTS',
|
|
50
|
+
multimedia_handsFreePhoneSystem: 'HIGHLIGHTS',
|
|
51
|
+
multimedia_navigationSystem: 'HIGHLIGHTS',
|
|
52
|
+
seats_electricHeated: 'HIGHLIGHTS',
|
|
53
|
+
airbags_airbag: 'HIGHLIGHTS',
|
|
54
|
+
wheel_multifunctionalWheel: 'HIGHLIGHTS',
|
|
55
|
+
lights_laserHeadlights: 'HIGHLIGHTS',
|
|
56
|
+
lights_ledHeadlights: 'HIGHLIGHTS',
|
|
57
|
+
lights_lightSensor: 'HIGHLIGHTS',
|
|
58
|
+
lights_xenonHeadlights: 'HIGHLIGHTS',
|
|
59
|
+
window_panoramicGlassRoof: 'HIGHLIGHTS',
|
|
60
|
+
trailerCoupling_trailerCouplingRemovable: 'HIGHLIGHTS',
|
|
61
|
+
trailerCoupling_trailerCouplingFix: 'HIGHLIGHTS',
|
|
62
|
+
trailerCoupling_trailerCouplingRotatable: 'HIGHLIGHTS',
|
|
63
|
+
search_parkingAssistants: 'HIGHLIGHTS',
|
|
64
|
+
search_seatHeating: 'HIGHLIGHTS',
|
|
65
|
+
search_trailerHitch: 'HIGHLIGHTS',
|
|
66
|
+
assistants_emergencyAssistant: 'HIGHLIGHTS',
|
|
67
|
+
search_noIncandescentLight: 'HIGHLIGHTS',
|
|
68
|
+
|
|
69
|
+
offer_newHuAu: 'STATE_OPTIONS',
|
|
70
|
+
careService_fullServiceHistory: 'STATE_OPTIONS',
|
|
71
|
+
offer_warranty: 'STATE_OPTIONS',
|
|
72
|
+
mainData_nonSmokerVehicle: 'STATE_OPTIONS'
|
|
73
|
+
};
|
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
// Pure filter-option constants, extracted verbatim from FilterBlockFactory.tsx.
|
|
2
|
-
//
|
|
3
|
-
// WHY THIS FILE EXISTS (do not merge back): FilterBlockFactory.tsx imports the
|
|
4
|
-
// Search widget components, which sit inside an import cycle with the package's
|
|
5
|
-
// `common.ts` entry (common.ts -> SearchPageMobile/FiltersContainer ->
|
|
6
|
-
// FilterBlockFactory -> BasicDataWidget -> common.ts). FilterFactory.ts reads
|
|
7
|
-
// these constants at MODULE TOP LEVEL; importing them from FilterBlockFactory
|
|
8
|
-
// therefore read them mid-cycle — fine under CommonJS (undefined at worst),
|
|
9
|
-
// but a hard `ReferenceError: Cannot access 'BODY_TYPES' before initialization`
|
|
10
|
-
// (temporal dead zone) once the workspace compiles as ESM (`module: esnext`,
|
|
11
|
-
// fe-main BL-04 code-splitting change), which white-screened the whole app.
|
|
12
|
-
// Keeping the constants in this component-free module makes every consumer
|
|
13
|
-
// acyclic; FilterBlockFactory re-exports them so the public
|
|
14
|
-
// `@bytebrand/fe-ui-core/searchFilters` API is unchanged.
|
|
15
|
-
import { selectors } from '@bytebrand/car-schema-selectors';
|
|
16
|
-
|
|
17
|
-
// TODO: REMOVE FILTERING FROM HERE.
|
|
18
|
-
// FILTERING OF THE selector_unknown SHOULD BE SOMEWHERE ELSE.
|
|
19
|
-
// MAYBE EVEN ON car-scheme LEVEL.
|
|
20
|
-
|
|
21
|
-
// Basic data
|
|
22
|
-
export const BODY_TYPES = selectors.category
|
|
23
|
-
.filter((category: string) => category !== 'selector_unknown');
|
|
24
|
-
|
|
25
|
-
// Vehicle History | State
|
|
26
|
-
export const CERTIFICATE_TYPES = selectors.certificates
|
|
27
|
-
.filter((certificate: string) => certificate !== 'selector_unknown');
|
|
28
|
-
export const USAGE_TYPE = selectors.usageType
|
|
29
|
-
.filter((usageType: string) => usageType !== 'selector_unknown');
|
|
30
|
-
|
|
31
|
-
// Engine | Transmission | Drive
|
|
32
|
-
export const FUEL_TYPES = selectors.fuel
|
|
33
|
-
.filter((fuel: string) => fuel !== 'selector_unknown');
|
|
34
|
-
export const TRANSMISSION_TYPES = selectors.gearbox
|
|
35
|
-
.filter((gearbox: string) => gearbox !== 'selector_unknown');
|
|
36
|
-
export const DRIVE_TYPES = selectors.driveType
|
|
37
|
-
.filter((driveType: string) => driveType !== 'selector_unknown');
|
|
38
|
-
export const BATTERY_TYPES = selectors.butteryType
|
|
39
|
-
.filter((butteryType: string) => butteryType !== 'selector_unknown');
|
|
40
|
-
export const HYBRID_PLUGIN = selectors.hybridPlugin
|
|
41
|
-
.filter((hybridPlugin: string) => hybridPlugin !== 'selector_unknown');
|
|
42
|
-
export const BATTERY_BATTERY_TYPE = selectors.batteryBatteryType
|
|
43
|
-
.filter((batteryBatteryType: string) => batteryBatteryType !== 'selector_unknown');
|
|
44
|
-
export const BATTERY_CHARGER_TYPE = selectors.batteryChargerType
|
|
45
|
-
.filter((batteryChargerType: string) => batteryChargerType !== 'selector_unknown');
|
|
46
|
-
export const BATTERY_CHARCHING_DURATION = selectors.batteryCharchingDuration
|
|
47
|
-
.filter((batteryCharchingDuration: string) => batteryCharchingDuration !== 'selector_unknown');
|
|
48
|
-
|
|
49
|
-
// Color | Pad
|
|
50
|
-
export const EXTERIOR_COLORS = selectors.exteriorColor
|
|
51
|
-
.filter((color: string) => color !== 'selector_unknown');
|
|
52
|
-
export const INTERIOR_COLORS = selectors.interiorColor
|
|
53
|
-
.filter((color: string) => color !== 'selector_unknown');
|
|
54
|
-
export const INTERIOR_TYPES = selectors.interiorType
|
|
55
|
-
.filter((color: string) => color !== 'selector_unknown');
|
|
56
|
-
|
|
57
|
-
// Environment
|
|
58
|
-
export const ENVKV_PETROL_TYPES = selectors.envkvPetrolType
|
|
59
|
-
.filter((petrolType: string) => petrolType !== 'selector_unknown');
|
|
60
|
-
export const ENVKV_VALUE_TYPES = selectors.envkvValueType;
|
|
61
|
-
export const ENERGY_EFFICIENCY_CLASS = selectors.energyEfficiencyClass
|
|
62
|
-
.filter((eeClass: string) => eeClass !== 'selector_unknown');
|
|
63
|
-
export const EMISSION_CLASS = selectors.emissionClass
|
|
64
|
-
.filter((emClass: string) => emClass !== 'selector_unknown');
|
|
65
|
-
export const EMISSION_STICKERS = selectors.emissionSticker
|
|
66
|
-
.filter((sticker: string) => sticker !== 'selector_unknown');
|
|
67
|
-
|
|
68
|
-
// Safety
|
|
69
|
-
export const AIRBAG = selectors.airbag
|
|
70
|
-
.filter((airbag: string) => airbag !== 'selector_unknown');
|
|
71
|
-
export const PARKING_ASSISTANTS = selectors.parkingAssistants
|
|
72
|
-
.filter((parkingAssistants: string) => parkingAssistants !== 'selector_unknown');
|
|
73
|
-
|
|
74
|
-
// group value which includes all selectors from selectors.parkingAssistants
|
|
75
|
-
// export const PARKING_ASSISTANTS = ['search_parkingAssistants'];
|
|
76
|
-
|
|
77
|
-
// Domestic equipments
|
|
78
|
-
export const CLIMATISATION = selectors.climatisation
|
|
79
|
-
.filter((climatisation: string) => climatisation !== 'selector_unknown');
|
|
80
|
-
export const DRIVER_SEATS = selectors.driverSeats
|
|
81
|
-
.filter((seats: string) => seats !== 'selector_unknown');
|
|
82
|
-
export const CO_DRIVER_SEATS = selectors.coDriverSeats
|
|
83
|
-
.filter((seats: string) => seats !== 'selector_unknown');
|
|
84
|
-
export const BACK_SEATS = selectors.backSeats
|
|
85
|
-
.filter((seats: string) => seats !== 'selector_unknown');
|
|
86
|
-
|
|
87
|
-
// Chassis | Brakes | Rims | Tire
|
|
88
|
-
export const WHEEL_FORMULA = selectors.wheelFormula
|
|
89
|
-
.filter((wheelFormula: string) => wheelFormula !== 'selector_unknown');
|
|
90
|
-
export const TIRES_RIMS = selectors.tiresRims
|
|
91
|
-
.filter((tireRims: string) => tireRims !== 'selector_unknown');
|
|
92
|
-
|
|
93
|
-
// Availability
|
|
94
|
-
export const DELIVERY_PERIODS = selectors.deliveryPeriod
|
|
95
|
-
.filter((deliveryPeriod: string) => deliveryPeriod !== 'selector_unknown');
|
|
96
|
-
|
|
97
|
-
// highlights should have different order on mobile and desktop devices, they aren't sorted alphabetically or by any comprehensible criteria
|
|
98
|
-
// in addition some of the highlights are not visible on mobile, so we have these desktop and mobile indicies
|
|
99
|
-
const transformHighlights = () => {
|
|
100
|
-
const highlightOptions = Object.values(selectors.highlights);
|
|
101
|
-
|
|
102
|
-
const mobileHighlights: string[] = highlightOptions
|
|
103
|
-
.filter((highlight: any) => highlight.mobileIndex !== -1)
|
|
104
|
-
.sort((firstHighlight: any, secondHighlight: any) => firstHighlight.mobileIndex - secondHighlight.mobileIndex)
|
|
105
|
-
.map((highlight: any) => highlight.tkey);
|
|
106
|
-
|
|
107
|
-
const desktopHighlights: string[] = highlightOptions
|
|
108
|
-
.filter((highlight: any) => highlight.desktopIndex !== -1)
|
|
109
|
-
.sort((firstHighlight: any, secondHighlight: any) => firstHighlight.desktopIndex - secondHighlight.desktopIndex)
|
|
110
|
-
.map((highlight: any) => highlight.tkey);
|
|
111
|
-
|
|
112
|
-
return ({
|
|
113
|
-
mobileHighlights,
|
|
114
|
-
desktopHighlights
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
export const HIGHLIGHTS_TYPES = transformHighlights();
|
|
119
|
-
// export const CLIMATISATION = getClimatisation();
|
|
1
|
+
// Pure filter-option constants, extracted verbatim from FilterBlockFactory.tsx.
|
|
2
|
+
//
|
|
3
|
+
// WHY THIS FILE EXISTS (do not merge back): FilterBlockFactory.tsx imports the
|
|
4
|
+
// Search widget components, which sit inside an import cycle with the package's
|
|
5
|
+
// `common.ts` entry (common.ts -> SearchPageMobile/FiltersContainer ->
|
|
6
|
+
// FilterBlockFactory -> BasicDataWidget -> common.ts). FilterFactory.ts reads
|
|
7
|
+
// these constants at MODULE TOP LEVEL; importing them from FilterBlockFactory
|
|
8
|
+
// therefore read them mid-cycle — fine under CommonJS (undefined at worst),
|
|
9
|
+
// but a hard `ReferenceError: Cannot access 'BODY_TYPES' before initialization`
|
|
10
|
+
// (temporal dead zone) once the workspace compiles as ESM (`module: esnext`,
|
|
11
|
+
// fe-main BL-04 code-splitting change), which white-screened the whole app.
|
|
12
|
+
// Keeping the constants in this component-free module makes every consumer
|
|
13
|
+
// acyclic; FilterBlockFactory re-exports them so the public
|
|
14
|
+
// `@bytebrand/fe-ui-core/searchFilters` API is unchanged.
|
|
15
|
+
import { selectors } from '@bytebrand/car-schema-selectors';
|
|
16
|
+
|
|
17
|
+
// TODO: REMOVE FILTERING FROM HERE.
|
|
18
|
+
// FILTERING OF THE selector_unknown SHOULD BE SOMEWHERE ELSE.
|
|
19
|
+
// MAYBE EVEN ON car-scheme LEVEL.
|
|
20
|
+
|
|
21
|
+
// Basic data
|
|
22
|
+
export const BODY_TYPES = selectors.category
|
|
23
|
+
.filter((category: string) => category !== 'selector_unknown');
|
|
24
|
+
|
|
25
|
+
// Vehicle History | State
|
|
26
|
+
export const CERTIFICATE_TYPES = selectors.certificates
|
|
27
|
+
.filter((certificate: string) => certificate !== 'selector_unknown');
|
|
28
|
+
export const USAGE_TYPE = selectors.usageType
|
|
29
|
+
.filter((usageType: string) => usageType !== 'selector_unknown');
|
|
30
|
+
|
|
31
|
+
// Engine | Transmission | Drive
|
|
32
|
+
export const FUEL_TYPES = selectors.fuel
|
|
33
|
+
.filter((fuel: string) => fuel !== 'selector_unknown');
|
|
34
|
+
export const TRANSMISSION_TYPES = selectors.gearbox
|
|
35
|
+
.filter((gearbox: string) => gearbox !== 'selector_unknown');
|
|
36
|
+
export const DRIVE_TYPES = selectors.driveType
|
|
37
|
+
.filter((driveType: string) => driveType !== 'selector_unknown');
|
|
38
|
+
export const BATTERY_TYPES = selectors.butteryType
|
|
39
|
+
.filter((butteryType: string) => butteryType !== 'selector_unknown');
|
|
40
|
+
export const HYBRID_PLUGIN = selectors.hybridPlugin
|
|
41
|
+
.filter((hybridPlugin: string) => hybridPlugin !== 'selector_unknown');
|
|
42
|
+
export const BATTERY_BATTERY_TYPE = selectors.batteryBatteryType
|
|
43
|
+
.filter((batteryBatteryType: string) => batteryBatteryType !== 'selector_unknown');
|
|
44
|
+
export const BATTERY_CHARGER_TYPE = selectors.batteryChargerType
|
|
45
|
+
.filter((batteryChargerType: string) => batteryChargerType !== 'selector_unknown');
|
|
46
|
+
export const BATTERY_CHARCHING_DURATION = selectors.batteryCharchingDuration
|
|
47
|
+
.filter((batteryCharchingDuration: string) => batteryCharchingDuration !== 'selector_unknown');
|
|
48
|
+
|
|
49
|
+
// Color | Pad
|
|
50
|
+
export const EXTERIOR_COLORS = selectors.exteriorColor
|
|
51
|
+
.filter((color: string) => color !== 'selector_unknown');
|
|
52
|
+
export const INTERIOR_COLORS = selectors.interiorColor
|
|
53
|
+
.filter((color: string) => color !== 'selector_unknown');
|
|
54
|
+
export const INTERIOR_TYPES = selectors.interiorType
|
|
55
|
+
.filter((color: string) => color !== 'selector_unknown');
|
|
56
|
+
|
|
57
|
+
// Environment
|
|
58
|
+
export const ENVKV_PETROL_TYPES = selectors.envkvPetrolType
|
|
59
|
+
.filter((petrolType: string) => petrolType !== 'selector_unknown');
|
|
60
|
+
export const ENVKV_VALUE_TYPES = selectors.envkvValueType;
|
|
61
|
+
export const ENERGY_EFFICIENCY_CLASS = selectors.energyEfficiencyClass
|
|
62
|
+
.filter((eeClass: string) => eeClass !== 'selector_unknown');
|
|
63
|
+
export const EMISSION_CLASS = selectors.emissionClass
|
|
64
|
+
.filter((emClass: string) => emClass !== 'selector_unknown');
|
|
65
|
+
export const EMISSION_STICKERS = selectors.emissionSticker
|
|
66
|
+
.filter((sticker: string) => sticker !== 'selector_unknown');
|
|
67
|
+
|
|
68
|
+
// Safety
|
|
69
|
+
export const AIRBAG = selectors.airbag
|
|
70
|
+
.filter((airbag: string) => airbag !== 'selector_unknown');
|
|
71
|
+
export const PARKING_ASSISTANTS = selectors.parkingAssistants
|
|
72
|
+
.filter((parkingAssistants: string) => parkingAssistants !== 'selector_unknown');
|
|
73
|
+
|
|
74
|
+
// group value which includes all selectors from selectors.parkingAssistants
|
|
75
|
+
// export const PARKING_ASSISTANTS = ['search_parkingAssistants'];
|
|
76
|
+
|
|
77
|
+
// Domestic equipments
|
|
78
|
+
export const CLIMATISATION = selectors.climatisation
|
|
79
|
+
.filter((climatisation: string) => climatisation !== 'selector_unknown');
|
|
80
|
+
export const DRIVER_SEATS = selectors.driverSeats
|
|
81
|
+
.filter((seats: string) => seats !== 'selector_unknown');
|
|
82
|
+
export const CO_DRIVER_SEATS = selectors.coDriverSeats
|
|
83
|
+
.filter((seats: string) => seats !== 'selector_unknown');
|
|
84
|
+
export const BACK_SEATS = selectors.backSeats
|
|
85
|
+
.filter((seats: string) => seats !== 'selector_unknown');
|
|
86
|
+
|
|
87
|
+
// Chassis | Brakes | Rims | Tire
|
|
88
|
+
export const WHEEL_FORMULA = selectors.wheelFormula
|
|
89
|
+
.filter((wheelFormula: string) => wheelFormula !== 'selector_unknown');
|
|
90
|
+
export const TIRES_RIMS = selectors.tiresRims
|
|
91
|
+
.filter((tireRims: string) => tireRims !== 'selector_unknown');
|
|
92
|
+
|
|
93
|
+
// Availability
|
|
94
|
+
export const DELIVERY_PERIODS = selectors.deliveryPeriod
|
|
95
|
+
.filter((deliveryPeriod: string) => deliveryPeriod !== 'selector_unknown');
|
|
96
|
+
|
|
97
|
+
// highlights should have different order on mobile and desktop devices, they aren't sorted alphabetically or by any comprehensible criteria
|
|
98
|
+
// in addition some of the highlights are not visible on mobile, so we have these desktop and mobile indicies
|
|
99
|
+
const transformHighlights = () => {
|
|
100
|
+
const highlightOptions = Object.values(selectors.highlights);
|
|
101
|
+
|
|
102
|
+
const mobileHighlights: string[] = highlightOptions
|
|
103
|
+
.filter((highlight: any) => highlight.mobileIndex !== -1)
|
|
104
|
+
.sort((firstHighlight: any, secondHighlight: any) => firstHighlight.mobileIndex - secondHighlight.mobileIndex)
|
|
105
|
+
.map((highlight: any) => highlight.tkey);
|
|
106
|
+
|
|
107
|
+
const desktopHighlights: string[] = highlightOptions
|
|
108
|
+
.filter((highlight: any) => highlight.desktopIndex !== -1)
|
|
109
|
+
.sort((firstHighlight: any, secondHighlight: any) => firstHighlight.desktopIndex - secondHighlight.desktopIndex)
|
|
110
|
+
.map((highlight: any) => highlight.tkey);
|
|
111
|
+
|
|
112
|
+
return ({
|
|
113
|
+
mobileHighlights,
|
|
114
|
+
desktopHighlights
|
|
115
|
+
});
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export const HIGHLIGHTS_TYPES = transformHighlights();
|
|
119
|
+
// export const CLIMATISATION = getClimatisation();
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
// Filter prop contracts shared by fe-main / fe-landing / fe-wp-widgets.
|
|
2
|
-
// Moved (type-only) from fe-ui-core's SearchFilters component files, which
|
|
3
|
-
// stay in fe-ui-core but now import these shapes from here — exactly one
|
|
4
|
-
// declaration exists.
|
|
5
|
-
|
|
6
|
-
export interface IColorProps {
|
|
7
|
-
name: string;
|
|
8
|
-
options: any[];
|
|
9
|
-
values: any[];
|
|
10
|
-
t: (key: string) => string;
|
|
11
|
-
onChange?: (field: string, value: string[]) => void;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface IDriveTypeProps {
|
|
15
|
-
options: string[];
|
|
16
|
-
values: string[];
|
|
17
|
-
aggregation?: any;
|
|
18
|
-
t: (key: string) => string;
|
|
19
|
-
onChange: (fieldName: string, fieldValue: string[]) => void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface ITransmissionProps {
|
|
23
|
-
options: string[];
|
|
24
|
-
values: string[];
|
|
25
|
-
aggregation?: any;
|
|
26
|
-
t: (key: string) => string;
|
|
27
|
-
onChange: (fieldName: string, fieldValue: string[]) => void;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface IEmissionStickerProps {
|
|
31
|
-
options: any[];
|
|
32
|
-
value: string;
|
|
33
|
-
onChange: (field: string, value: any) => void;
|
|
34
|
-
t: (key: string) => string;
|
|
35
|
-
}
|
|
1
|
+
// Filter prop contracts shared by fe-main / fe-landing / fe-wp-widgets.
|
|
2
|
+
// Moved (type-only) from fe-ui-core's SearchFilters component files, which
|
|
3
|
+
// stay in fe-ui-core but now import these shapes from here — exactly one
|
|
4
|
+
// declaration exists.
|
|
5
|
+
|
|
6
|
+
export interface IColorProps {
|
|
7
|
+
name: string;
|
|
8
|
+
options: any[];
|
|
9
|
+
values: any[];
|
|
10
|
+
t: (key: string) => string;
|
|
11
|
+
onChange?: (field: string, value: string[]) => void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface IDriveTypeProps {
|
|
15
|
+
options: string[];
|
|
16
|
+
values: string[];
|
|
17
|
+
aggregation?: any;
|
|
18
|
+
t: (key: string) => string;
|
|
19
|
+
onChange: (fieldName: string, fieldValue: string[]) => void;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface ITransmissionProps {
|
|
23
|
+
options: string[];
|
|
24
|
+
values: string[];
|
|
25
|
+
aggregation?: any;
|
|
26
|
+
t: (key: string) => string;
|
|
27
|
+
onChange: (fieldName: string, fieldValue: string[]) => void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface IEmissionStickerProps {
|
|
31
|
+
options: any[];
|
|
32
|
+
value: string;
|
|
33
|
+
onChange: (field: string, value: any) => void;
|
|
34
|
+
t: (key: string) => string;
|
|
35
|
+
}
|
package/searchFilters/index.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// Public search-filters entry point: `@bytebrand/fe-ui-core-autobahn/searchFilters`.
|
|
2
|
-
//
|
|
3
|
-
// Mirrors the *data* half of the legacy `@bytebrand/fe-ui-core/searchFilters`
|
|
4
|
-
// barrel: every `*_TYPES` filter-option constant plus the shared filter prop
|
|
5
|
-
// types. The filter *components* (FilterBlockFactory & friends) stay in
|
|
6
|
-
// fe-ui-core — they drag React/MUI.
|
|
7
|
-
|
|
8
|
-
export * from './filterOptions';
|
|
9
|
-
|
|
10
|
-
export type {
|
|
11
|
-
IColorProps,
|
|
12
|
-
IDriveTypeProps,
|
|
13
|
-
ITransmissionProps,
|
|
14
|
-
IEmissionStickerProps
|
|
15
|
-
} from './filterProps';
|
|
1
|
+
// Public search-filters entry point: `@bytebrand/fe-ui-core-autobahn/searchFilters`.
|
|
2
|
+
//
|
|
3
|
+
// Mirrors the *data* half of the legacy `@bytebrand/fe-ui-core/searchFilters`
|
|
4
|
+
// barrel: every `*_TYPES` filter-option constant plus the shared filter prop
|
|
5
|
+
// types. The filter *components* (FilterBlockFactory & friends) stay in
|
|
6
|
+
// fe-ui-core — they drag React/MUI.
|
|
7
|
+
|
|
8
|
+
export * from './filterOptions';
|
|
9
|
+
|
|
10
|
+
export type {
|
|
11
|
+
IColorProps,
|
|
12
|
+
IDriveTypeProps,
|
|
13
|
+
ITransmissionProps,
|
|
14
|
+
IEmissionStickerProps
|
|
15
|
+
} from './filterProps';
|