@wayke-se/components-react 3.8.1 → 3.9.0-beta.1
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/README.md +20 -11
- package/dist-node/index.js +1577 -603
- package/package.json +4 -4
- package/dist-node/index.js.map +0 -1
- package/dist-src/@types/action.js +0 -1
- package/dist-src/@types/codegen/types.js +0 -14
- package/dist-src/@types/filter.js +0 -1
- package/dist-src/@types/queryFilter.js +0 -1
- package/dist-src/@types/search.js +0 -1
- package/dist-src/@types/vehicle-properties.js +0 -1
- package/dist-src/State/CentralStorage/CentralStorageContext.js +0 -4
- package/dist-src/State/CentralStorage/CentralStorageProvider.js +0 -9
- package/dist-src/State/CentralStorage/useCentralStorage.js +0 -29
- package/dist-src/State/Path/PathContext.js +0 -2
- package/dist-src/State/Path/PathProvider.js +0 -47
- package/dist-src/State/Path/reducer.js +0 -15
- package/dist-src/State/Path/usePath.js +0 -10
- package/dist-src/State/RelatedSearch/RelatedSearchContext.js +0 -8
- package/dist-src/State/RelatedSearch/RelatedSearchProvider.js +0 -27
- package/dist-src/State/RelatedSearch/useRelatedSearch.js +0 -18
- package/dist-src/State/Search/SearchContext.js +0 -12
- package/dist-src/State/Search/SearchProvider.js +0 -178
- package/dist-src/State/Search/useSearch.js +0 -4
- package/dist-src/State/Settings/SettingsContext.js +0 -2
- package/dist-src/State/Settings/SettingsProvider.js +0 -4
- package/dist-src/State/Settings/useSettings.js +0 -4
- package/dist-src/components/AccessoryCard/index.js +0 -14
- package/dist-src/components/AccessoryCard/wrapper.js +0 -90
- package/dist-src/components/Accordion/index.js +0 -18
- package/dist-src/components/Accordion/wrapper.js +0 -92
- package/dist-src/components/ActionList/index.js +0 -18
- package/dist-src/components/ActionList/toggle-item.js +0 -24
- package/dist-src/components/Avatar/index.js +0 -4
- package/dist-src/components/Avatar/wrapper.js +0 -15
- package/dist-src/components/Badge/index.js +0 -4
- package/dist-src/components/Badge/wrapper.js +0 -24
- package/dist-src/components/Blockquote/index.js +0 -12
- package/dist-src/components/Blockquote/wrapper.js +0 -44
- package/dist-src/components/Button/index.js +0 -195
- package/dist-src/components/CheckMarkList/index.js +0 -9
- package/dist-src/components/CheckMarkList/wrapper.js +0 -26
- package/dist-src/components/Checklist/index.js +0 -14
- package/dist-src/components/Checklist/wrapper.js +0 -59
- package/dist-src/components/ColorSelect/index.js +0 -18
- package/dist-src/components/ColorSelect/wrapper.js +0 -69
- package/dist-src/components/ColumnRow/index.js +0 -17
- package/dist-src/components/Columns/index.js +0 -76
- package/dist-src/components/Container/index.js +0 -4
- package/dist-src/components/Container/wrapper.js +0 -12
- package/dist-src/components/Content/index.js +0 -4
- package/dist-src/components/Content/wrapper.js +0 -51
- package/dist-src/components/ContentLogo/index.js +0 -23
- package/dist-src/components/DataList/index.js +0 -6
- package/dist-src/components/DataList/wrapper.js +0 -24
- package/dist-src/components/DetailBox/index.js +0 -17
- package/dist-src/components/DetailBox/wrapper.js +0 -27
- package/dist-src/components/DocumentList/index.js +0 -23
- package/dist-src/components/DocumentList/wrapper.js +0 -55
- package/dist-src/components/ExtendContent/index.js +0 -24
- package/dist-src/components/ExtendContent/wrapper.js +0 -32
- package/dist-src/components/ExtendInfo/index.js +0 -15
- package/dist-src/components/ExtendInfo/wrapper.js +0 -56
- package/dist-src/components/Filter/index.js +0 -64
- package/dist-src/components/Filter/wrapper.js +0 -72
- package/dist-src/components/FilterPanel/checkListFacet.js +0 -29
- package/dist-src/components/FilterPanel/colorFacet.js +0 -29
- package/dist-src/components/FilterPanel/faceSelector.js +0 -32
- package/dist-src/components/FilterPanel/index.js +0 -24
- package/dist-src/components/FilterPanel/rangeFacet.js +0 -82
- package/dist-src/components/FinancialOptions/LoanModal.js +0 -127
- package/dist-src/components/FinancialOptions/index.js +0 -12
- package/dist-src/components/FinancialOptions/leasing.js +0 -56
- package/dist-src/components/FinancialOptions/loan.js +0 -54
- package/dist-src/components/Gallery/MediaButton.js +0 -7
- package/dist-src/components/Gallery/index.js +0 -122
- package/dist-src/components/Gallery/wrapper.js +0 -256
- package/dist-src/components/Grid/index.js +0 -61
- package/dist-src/components/Grid/wrapper.js +0 -26
- package/dist-src/components/Heading/index.js +0 -52
- package/dist-src/components/Icon/index.js +0 -38
- package/dist-src/components/Image/index.js +0 -5
- package/dist-src/components/InputCheckbox/index.js +0 -10
- package/dist-src/components/InputCheckbox/wrapper.js +0 -79
- package/dist-src/components/InputGroup/index.js +0 -21
- package/dist-src/components/InputLabel/index.js +0 -4
- package/dist-src/components/InputLabel/wrapper.js +0 -8
- package/dist-src/components/InputSearch/index.js +0 -12
- package/dist-src/components/InputSearch/wrapper.js +0 -90
- package/dist-src/components/InputSelect/index.js +0 -10
- package/dist-src/components/InputSelect/wrapper.js +0 -53
- package/dist-src/components/InputText/index.js +0 -5
- package/dist-src/components/InputText/wrapper.js +0 -54
- package/dist-src/components/InsuranceOptions/Insurance.js +0 -26
- package/dist-src/components/InsuranceOptions/InsuranceFree.js +0 -30
- package/dist-src/components/InsuranceOptions/InsuranceFreeModal.js +0 -19
- package/dist-src/components/InsuranceOptions/InsuranceModal.js +0 -105
- package/dist-src/components/InsuranceOptions/index.js +0 -15
- package/dist-src/components/Lightbox/index.js +0 -30
- package/dist-src/components/Lightbox/wrapper.js +0 -91
- package/dist-src/components/Link/index.js +0 -28
- package/dist-src/components/Loader/index.js +0 -7
- package/dist-src/components/Loader/wrapper.js +0 -37
- package/dist-src/components/LogoBox/index.js +0 -10
- package/dist-src/components/LogoBox/wrapper.js +0 -12
- package/dist-src/components/Map/index.js +0 -27
- package/dist-src/components/Map/wrapper.js +0 -25
- package/dist-src/components/Modal/index.js +0 -20
- package/dist-src/components/Modal/wrapper.js +0 -113
- package/dist-src/components/NavButton/index.js +0 -42
- package/dist-src/components/OpeningHours/index.js +0 -97
- package/dist-src/components/OptionBox/index.js +0 -7
- package/dist-src/components/OptionBox/wrapper.js +0 -49
- package/dist-src/components/OverflowBox/index.js +0 -4
- package/dist-src/components/OverflowBox/wrapper.js +0 -6
- package/dist-src/components/OverflowGrid/index.js +0 -56
- package/dist-src/components/OverflowGrid/wrapper.js +0 -144
- package/dist-src/components/Page/index.js +0 -30
- package/dist-src/components/Panel/index.js +0 -20
- package/dist-src/components/Panel/wrapper.js +0 -143
- package/dist-src/components/PhoneNumber/index.js +0 -13
- package/dist-src/components/Portal/index.js +0 -4
- package/dist-src/components/Portal/portal-element.js +0 -3
- package/dist-src/components/Portal/portal-namespace.js +0 -1
- package/dist-src/components/Portal/portal.js +0 -25
- package/dist-src/components/Price/index.js +0 -10
- package/dist-src/components/PriceBox/index.js +0 -6
- package/dist-src/components/PriceBox/wrapper.js +0 -34
- package/dist-src/components/PriceTable/index.js +0 -20
- package/dist-src/components/PriceTable/wrapper.js +0 -22
- package/dist-src/components/ProductCard/index.js +0 -45
- package/dist-src/components/ProductCard/wrapper.js +0 -134
- package/dist-src/components/ProductPage/index.js +0 -85
- package/dist-src/components/ProgressBar/index.js +0 -16
- package/dist-src/components/ProgressBar/wrapper.js +0 -24
- package/dist-src/components/RangeSlider/RangeSliderSimple.js +0 -26
- package/dist-src/components/RangeSlider/SliderWithLabel.js +0 -21
- package/dist-src/components/RangeSlider/handle.js +0 -5
- package/dist-src/components/RangeSlider/index.js +0 -50
- package/dist-src/components/RangeSlider/track.js +0 -6
- package/dist-src/components/RangeSlider/wrapper.js +0 -86
- package/dist-src/components/RangeSliderLabel/index.js +0 -6
- package/dist-src/components/RangeSliderLabel/wrapper.js +0 -24
- package/dist-src/components/Repeat/index.js +0 -17
- package/dist-src/components/Result/index.js +0 -40
- package/dist-src/components/Result/wrapper.js +0 -29
- package/dist-src/components/Root/index.js +0 -22
- package/dist-src/components/SearchBar/index.js +0 -18
- package/dist-src/components/SearchFilter/index.js +0 -23
- package/dist-src/components/SearchTerm/index.js +0 -8
- package/dist-src/components/SearchTerm/wrapper.js +0 -67
- package/dist-src/components/SectionHeader/index.js +0 -9
- package/dist-src/components/SectionHeader/wrapper.js +0 -13
- package/dist-src/components/Snackbar/index.js +0 -21
- package/dist-src/components/Snackbar/wrapper.js +0 -56
- package/dist-src/components/SortSelect/index.js +0 -10
- package/dist-src/components/SortSelect/wrapper.js +0 -48
- package/dist-src/components/Sphere/Sphere.js +0 -21
- package/dist-src/components/Sphere/SphereLightbox.js +0 -4
- package/dist-src/components/Sphere/SphereViewer.js +0 -54
- package/dist-src/components/Sphere/wrapper.js +0 -250
- package/dist-src/components/SrOnly/index.js +0 -13
- package/dist-src/components/StateIndicator/index.js +0 -23
- package/dist-src/components/SwitchBar/index.js +0 -23
- package/dist-src/components/SwitchBar/wrapper.js +0 -71
- package/dist-src/components/TableColumn/index.js +0 -14
- package/dist-src/components/TableList/index.js +0 -32
- package/dist-src/components/Tabs/index.js +0 -6
- package/dist-src/components/Tabs/wrapper.js +0 -68
- package/dist-src/components/ThreeSixty/Rotation.js +0 -95
- package/dist-src/components/ThreeSixty/ThreeSixtLightbox.js +0 -15
- package/dist-src/components/ThreeSixty/ThreeSixty.js +0 -25
- package/dist-src/components/UspList/index.js +0 -18
- package/dist-src/components/UspList/wrapper.js +0 -85
- package/dist-src/components/Utility/index.js +0 -13
- package/dist-src/components/Video/CustomPlayer.js +0 -8
- package/dist-src/components/Video/EmbeddedVideoLightbox.js +0 -18
- package/dist-src/components/Video/EmbededVideo.js +0 -38
- package/dist-src/components/Video/QuickNavEmbeded.js +0 -17
- package/dist-src/components/Video/QuickNavVideo.js +0 -6
- package/dist-src/components/Video/Video.js +0 -8
- package/dist-src/components/Video/VimeoPlayer.js +0 -6
- package/dist-src/components/Video/YoutubePlayer.js +0 -6
- package/dist-src/components/Video/useThumbnail.js +0 -25
- package/dist-src/components/Video/utils.js +0 -35
- package/dist-src/components/Video/wrapper.js +0 -19
- package/dist-src/hooks/useFetch.js +0 -69
- package/dist-src/hooks/useHasBeenVisible.js +0 -13
- package/dist-src/hooks/useHashGuid.js +0 -28
- package/dist-src/hooks/useInsurance.js +0 -12
- package/dist-src/hooks/useLoan.js +0 -12
- package/dist-src/hooks/useOnScreen.js +0 -15
- package/dist-src/hooks/useOutsideClick.js +0 -15
- package/dist-src/hooks/usePrevious.js +0 -9
- package/dist-src/hooks/useSearchItem.js +0 -7
- package/dist-src/hooks/useSearchItemBranch.js +0 -7
- package/dist-src/hooks/useSessionStorage.js +0 -23
- package/dist-src/hooks/useVimeoThumbnail.js +0 -18
- package/dist-src/index.js +0 -10
- package/dist-src/layout/helpers.js +0 -5
- package/dist-src/layout/keyframes.js +0 -20
- package/dist-src/layout/theme.js +0 -67
- package/dist-src/layouts/WaykeComposite.js +0 -23
- package/dist-src/layouts/WaykeCompositeWithProvider.js +0 -6
- package/dist-src/layouts/search/index.js +0 -55
- package/dist-src/layouts/searchItem/Accessories/AccessoryModal.js +0 -51
- package/dist-src/layouts/searchItem/Accessories/index.js +0 -32
- package/dist-src/layouts/searchItem/Branch.js +0 -55
- package/dist-src/layouts/searchItem/BranchModal.js +0 -36
- package/dist-src/layouts/searchItem/CheckList.js +0 -79
- package/dist-src/layouts/searchItem/DemoCarModal.js +0 -7
- package/dist-src/layouts/searchItem/Documents.js +0 -44
- package/dist-src/layouts/searchItem/ManufacturerPackagesOption.js +0 -25
- package/dist-src/layouts/searchItem/MetadataItem.js +0 -34
- package/dist-src/layouts/searchItem/PackageOptionModal.js +0 -15
- package/dist-src/layouts/searchItem/PackageOptions.js +0 -25
- package/dist-src/layouts/searchItem/Page404.js +0 -9
- package/dist-src/layouts/searchItem/PageLoading.js +0 -9
- package/dist-src/layouts/searchItem/Property.js +0 -51
- package/dist-src/layouts/searchItem/Related.js +0 -66
- package/dist-src/layouts/searchItem/index.js +0 -180
- package/dist-src/providers/WaykeItemProvidet.js +0 -16
- package/dist-src/providers/WaykeProvider.js +0 -18
- package/dist-src/providers/graphqlProvider.js +0 -7
- package/dist-src/providers/themeProvider.js +0 -5
- package/dist-src/queries/INSURANCE_CALCULATION.js +0 -41
- package/dist-src/queries/LOAN_CALCULATION.js +0 -36
- package/dist-src/queries/SEARCH_ITEM_BRANCH_QUERY.js +0 -136
- package/dist-src/queries/SEARCH_ITEM_QUERY.js +0 -256
- package/dist-src/utils/constants.js +0 -31
- package/dist-src/utils/converters.js +0 -31
- package/dist-src/utils/deep-copy.js +0 -5
- package/dist-src/utils/formats.js +0 -62
- package/dist-src/utils/metadata.min.js +0 -86
- package/dist-src/utils/phonenumbers.js +0 -12
- package/dist-src/utils/pubsub/Actions.js +0 -1
- package/dist-src/utils/pubsub/Events.js +0 -1
- package/dist-src/utils/pubsub/pubsub.js +0 -93
- package/dist-src/utils/regex.js +0 -10
- package/dist-src/utils/sortOptions.js +0 -32
- package/dist-src/utils/specification.js +0 -495
- package/dist-src/utils/ssn.js +0 -1
- package/dist-src/utils/url.js +0 -1
- package/dist-src/utils/vehicle-properties/compare-basic-properties.js +0 -36
- package/dist-src/utils/vehicle-properties/compare-categories.js +0 -27
- package/dist-src/utils/vehicle-properties/compare-properties.js +0 -3
- package/dist-src/utils/vehicle-properties/custom-property-adder.js +0 -143
- package/dist-src/utils/vehicle-properties/property-hint-enricher.js +0 -192
- package/dist-src/utils/vehicle-properties/property-remover.js +0 -27
- package/dist-src/utils/vehicle-properties/property-tree-creator.js +0 -127
- package/dist-src/utils/vehicle-properties/property-tree-sorter.js +0 -18
- package/dist-types/@types/action.d.ts +0 -3
- package/dist-types/@types/codegen/types.d.ts +0 -369
- package/dist-types/@types/filter.d.ts +0 -5
- package/dist-types/@types/queryFilter.d.ts +0 -5
- package/dist-types/@types/search.d.ts +0 -106
- package/dist-types/@types/vehicle-properties.d.ts +0 -29
- package/dist-types/State/CentralStorage/CentralStorageContext.d.ts +0 -6
- package/dist-types/State/CentralStorage/CentralStorageProvider.d.ts +0 -6
- package/dist-types/State/CentralStorage/useCentralStorage.d.ts +0 -6
- package/dist-types/State/Path/PathContext.d.ts +0 -9
- package/dist-types/State/Path/PathProvider.d.ts +0 -6
- package/dist-types/State/Path/reducer.d.ts +0 -14
- package/dist-types/State/Path/usePath.d.ts +0 -3
- package/dist-types/State/RelatedSearch/RelatedSearchContext.d.ts +0 -10
- package/dist-types/State/RelatedSearch/RelatedSearchProvider.d.ts +0 -9
- package/dist-types/State/RelatedSearch/useRelatedSearch.d.ts +0 -2
- package/dist-types/State/Search/SearchContext.d.ts +0 -15
- package/dist-types/State/Search/SearchProvider.d.ts +0 -10
- package/dist-types/State/Search/useSearch.d.ts +0 -2
- package/dist-types/State/Settings/SettingsContext.d.ts +0 -13
- package/dist-types/State/Settings/SettingsProvider.d.ts +0 -10
- package/dist-types/State/Settings/useSettings.d.ts +0 -2
- package/dist-types/components/AccessoryCard/index.d.ts +0 -16
- package/dist-types/components/AccessoryCard/wrapper.d.ts +0 -18
- package/dist-types/components/Accordion/index.d.ts +0 -13
- package/dist-types/components/Accordion/wrapper.d.ts +0 -16
- package/dist-types/components/ActionList/index.d.ts +0 -8
- package/dist-types/components/ActionList/toggle-item.d.ts +0 -10
- package/dist-types/components/Avatar/index.d.ts +0 -7
- package/dist-types/components/Avatar/wrapper.d.ts +0 -7
- package/dist-types/components/Badge/index.d.ts +0 -7
- package/dist-types/components/Badge/wrapper.d.ts +0 -7
- package/dist-types/components/Blockquote/index.d.ts +0 -9
- package/dist-types/components/Blockquote/wrapper.d.ts +0 -9
- package/dist-types/components/Button/index.d.ts +0 -52
- package/dist-types/components/CheckMarkList/index.d.ts +0 -7
- package/dist-types/components/CheckMarkList/wrapper.d.ts +0 -6
- package/dist-types/components/Checklist/index.d.ts +0 -13
- package/dist-types/components/Checklist/wrapper.d.ts +0 -11
- package/dist-types/components/ColorSelect/index.d.ts +0 -14
- package/dist-types/components/ColorSelect/wrapper.d.ts +0 -11
- package/dist-types/components/ColumnRow/index.d.ts +0 -2
- package/dist-types/components/Columns/index.d.ts +0 -16
- package/dist-types/components/Container/index.d.ts +0 -6
- package/dist-types/components/Container/wrapper.d.ts +0 -1
- package/dist-types/components/Content/index.d.ts +0 -6
- package/dist-types/components/Content/wrapper.d.ts +0 -4
- package/dist-types/components/ContentLogo/index.d.ts +0 -3
- package/dist-types/components/DataList/index.d.ts +0 -10
- package/dist-types/components/DataList/wrapper.d.ts +0 -6
- package/dist-types/components/DetailBox/index.d.ts +0 -8
- package/dist-types/components/DetailBox/wrapper.d.ts +0 -13
- package/dist-types/components/DocumentList/index.d.ts +0 -11
- package/dist-types/components/DocumentList/wrapper.d.ts +0 -11
- package/dist-types/components/ExtendContent/index.d.ts +0 -8
- package/dist-types/components/ExtendContent/wrapper.d.ts +0 -6
- package/dist-types/components/ExtendInfo/index.d.ts +0 -7
- package/dist-types/components/ExtendInfo/wrapper.d.ts +0 -10
- package/dist-types/components/Filter/index.d.ts +0 -7
- package/dist-types/components/Filter/wrapper.d.ts +0 -8
- package/dist-types/components/FilterPanel/checkListFacet.d.ts +0 -7
- package/dist-types/components/FilterPanel/colorFacet.d.ts +0 -7
- package/dist-types/components/FilterPanel/faceSelector.d.ts +0 -7
- package/dist-types/components/FilterPanel/index.d.ts +0 -18
- package/dist-types/components/FilterPanel/rangeFacet.d.ts +0 -9
- package/dist-types/components/FinancialOptions/LoanModal.d.ts +0 -9
- package/dist-types/components/FinancialOptions/index.d.ts +0 -8
- package/dist-types/components/FinancialOptions/leasing.d.ts +0 -7
- package/dist-types/components/FinancialOptions/loan.d.ts +0 -8
- package/dist-types/components/Gallery/MediaButton.d.ts +0 -7
- package/dist-types/components/Gallery/index.d.ts +0 -8
- package/dist-types/components/Gallery/wrapper.d.ts +0 -22
- package/dist-types/components/Grid/index.d.ts +0 -12
- package/dist-types/components/Grid/wrapper.d.ts +0 -3
- package/dist-types/components/Heading/index.d.ts +0 -29
- package/dist-types/components/Icon/index.d.ts +0 -17
- package/dist-types/components/Image/index.d.ts +0 -1
- package/dist-types/components/InputCheckbox/index.d.ts +0 -7
- package/dist-types/components/InputCheckbox/wrapper.d.ts +0 -13
- package/dist-types/components/InputGroup/index.d.ts +0 -2
- package/dist-types/components/InputLabel/index.d.ts +0 -7
- package/dist-types/components/InputLabel/wrapper.d.ts +0 -3
- package/dist-types/components/InputSearch/index.d.ts +0 -11
- package/dist-types/components/InputSearch/wrapper.d.ts +0 -15
- package/dist-types/components/InputSelect/index.d.ts +0 -14
- package/dist-types/components/InputSelect/wrapper.d.ts +0 -6
- package/dist-types/components/InputText/index.d.ts +0 -8
- package/dist-types/components/InputText/wrapper.d.ts +0 -5
- package/dist-types/components/InsuranceOptions/Insurance.d.ts +0 -9
- package/dist-types/components/InsuranceOptions/InsuranceFree.d.ts +0 -7
- package/dist-types/components/InsuranceOptions/InsuranceFreeModal.d.ts +0 -8
- package/dist-types/components/InsuranceOptions/InsuranceModal.d.ts +0 -10
- package/dist-types/components/InsuranceOptions/index.d.ts +0 -9
- package/dist-types/components/Lightbox/index.d.ts +0 -9
- package/dist-types/components/Lightbox/wrapper.d.ts +0 -9
- package/dist-types/components/Link/index.d.ts +0 -7
- package/dist-types/components/Loader/index.d.ts +0 -7
- package/dist-types/components/Loader/wrapper.d.ts +0 -9
- package/dist-types/components/LogoBox/index.d.ts +0 -9
- package/dist-types/components/LogoBox/wrapper.d.ts +0 -4
- package/dist-types/components/Map/index.d.ts +0 -7
- package/dist-types/components/Map/wrapper.d.ts +0 -4
- package/dist-types/components/Modal/index.d.ts +0 -9
- package/dist-types/components/Modal/wrapper.d.ts +0 -21
- package/dist-types/components/NavButton/index.d.ts +0 -3
- package/dist-types/components/OpeningHours/index.d.ts +0 -7
- package/dist-types/components/OptionBox/index.d.ts +0 -9
- package/dist-types/components/OptionBox/wrapper.d.ts +0 -8
- package/dist-types/components/OverflowBox/index.d.ts +0 -6
- package/dist-types/components/OverflowBox/wrapper.d.ts +0 -1
- package/dist-types/components/OverflowGrid/index.d.ts +0 -12
- package/dist-types/components/OverflowGrid/wrapper.d.ts +0 -18
- package/dist-types/components/Page/index.d.ts +0 -7
- package/dist-types/components/Panel/index.d.ts +0 -10
- package/dist-types/components/Panel/wrapper.d.ts +0 -22
- package/dist-types/components/PhoneNumber/index.d.ts +0 -6
- package/dist-types/components/Portal/index.d.ts +0 -4
- package/dist-types/components/Portal/portal-element.d.ts +0 -6
- package/dist-types/components/Portal/portal-namespace.d.ts +0 -1
- package/dist-types/components/Portal/portal.d.ts +0 -7
- package/dist-types/components/Price/index.d.ts +0 -4
- package/dist-types/components/PriceBox/index.d.ts +0 -11
- package/dist-types/components/PriceBox/wrapper.d.ts +0 -10
- package/dist-types/components/PriceTable/index.d.ts +0 -7
- package/dist-types/components/PriceTable/wrapper.d.ts +0 -4
- package/dist-types/components/ProductCard/index.d.ts +0 -20
- package/dist-types/components/ProductCard/wrapper.d.ts +0 -22
- package/dist-types/components/ProductPage/index.d.ts +0 -9
- package/dist-types/components/ProgressBar/index.d.ts +0 -8
- package/dist-types/components/ProgressBar/wrapper.d.ts +0 -6
- package/dist-types/components/RangeSlider/RangeSliderSimple.d.ts +0 -13
- package/dist-types/components/RangeSlider/SliderWithLabel.d.ts +0 -13
- package/dist-types/components/RangeSlider/handle.d.ts +0 -9
- package/dist-types/components/RangeSlider/index.d.ts +0 -13
- package/dist-types/components/RangeSlider/track.d.ts +0 -9
- package/dist-types/components/RangeSlider/wrapper.d.ts +0 -11
- package/dist-types/components/RangeSliderLabel/index.d.ts +0 -8
- package/dist-types/components/RangeSliderLabel/wrapper.d.ts +0 -10
- package/dist-types/components/Repeat/index.d.ts +0 -3
- package/dist-types/components/Result/index.d.ts +0 -6
- package/dist-types/components/Result/wrapper.d.ts +0 -9
- package/dist-types/components/Root/index.d.ts +0 -4
- package/dist-types/components/SearchBar/index.d.ts +0 -8
- package/dist-types/components/SearchFilter/index.d.ts +0 -3
- package/dist-types/components/SearchTerm/index.d.ts +0 -8
- package/dist-types/components/SearchTerm/wrapper.d.ts +0 -7
- package/dist-types/components/SectionHeader/index.d.ts +0 -8
- package/dist-types/components/SectionHeader/wrapper.d.ts +0 -3
- package/dist-types/components/Snackbar/index.d.ts +0 -9
- package/dist-types/components/Snackbar/wrapper.d.ts +0 -11
- package/dist-types/components/SortSelect/index.d.ts +0 -14
- package/dist-types/components/SortSelect/wrapper.d.ts +0 -6
- package/dist-types/components/Sphere/Sphere.d.ts +0 -10
- package/dist-types/components/Sphere/SphereLightbox.d.ts +0 -6
- package/dist-types/components/Sphere/SphereViewer.d.ts +0 -10
- package/dist-types/components/Sphere/wrapper.d.ts +0 -1
- package/dist-types/components/SrOnly/index.d.ts +0 -1
- package/dist-types/components/StateIndicator/index.d.ts +0 -5
- package/dist-types/components/SwitchBar/index.d.ts +0 -10
- package/dist-types/components/SwitchBar/wrapper.d.ts +0 -14
- package/dist-types/components/TableColumn/index.d.ts +0 -3
- package/dist-types/components/TableList/index.d.ts +0 -6
- package/dist-types/components/Tabs/index.d.ts +0 -12
- package/dist-types/components/Tabs/wrapper.d.ts +0 -12
- package/dist-types/components/ThreeSixty/Rotation.d.ts +0 -6
- package/dist-types/components/ThreeSixty/ThreeSixtLightbox.d.ts +0 -6
- package/dist-types/components/ThreeSixty/ThreeSixty.d.ts +0 -9
- package/dist-types/components/UspList/index.d.ts +0 -11
- package/dist-types/components/UspList/wrapper.d.ts +0 -11
- package/dist-types/components/Utility/index.d.ts +0 -8
- package/dist-types/components/Video/CustomPlayer.d.ts +0 -10
- package/dist-types/components/Video/EmbeddedVideoLightbox.d.ts +0 -8
- package/dist-types/components/Video/EmbededVideo.d.ts +0 -8
- package/dist-types/components/Video/QuickNavEmbeded.d.ts +0 -7
- package/dist-types/components/Video/QuickNavVideo.d.ts +0 -7
- package/dist-types/components/Video/Video.d.ts +0 -5
- package/dist-types/components/Video/VimeoPlayer.d.ts +0 -7
- package/dist-types/components/Video/YoutubePlayer.d.ts +0 -7
- package/dist-types/components/Video/useThumbnail.d.ts +0 -2
- package/dist-types/components/Video/utils.d.ts +0 -9
- package/dist-types/components/Video/wrapper.d.ts +0 -11
- package/dist-types/hooks/useFetch.d.ts +0 -7
- package/dist-types/hooks/useHasBeenVisible.d.ts +0 -2
- package/dist-types/hooks/useHashGuid.d.ts +0 -2
- package/dist-types/hooks/useInsurance.d.ts +0 -4
- package/dist-types/hooks/useLoan.d.ts +0 -4
- package/dist-types/hooks/useOnScreen.d.ts +0 -2
- package/dist-types/hooks/useOutsideClick.d.ts +0 -2
- package/dist-types/hooks/usePrevious.d.ts +0 -2
- package/dist-types/hooks/useSearchItem.d.ts +0 -4
- package/dist-types/hooks/useSearchItemBranch.d.ts +0 -4
- package/dist-types/hooks/useSessionStorage.d.ts +0 -7
- package/dist-types/hooks/useVimeoThumbnail.d.ts +0 -2
- package/dist-types/index.d.ts +0 -18
- package/dist-types/layout/helpers.d.ts +0 -1
- package/dist-types/layout/keyframes.d.ts +0 -3
- package/dist-types/layout/theme.d.ts +0 -49
- package/dist-types/layouts/WaykeComposite.d.ts +0 -6
- package/dist-types/layouts/WaykeCompositeWithProvider.d.ts +0 -9
- package/dist-types/layouts/search/index.d.ts +0 -16
- package/dist-types/layouts/searchItem/Accessories/AccessoryModal.d.ts +0 -8
- package/dist-types/layouts/searchItem/Accessories/index.d.ts +0 -7
- package/dist-types/layouts/searchItem/Branch.d.ts +0 -9
- package/dist-types/layouts/searchItem/BranchModal.d.ts +0 -9
- package/dist-types/layouts/searchItem/CheckList.d.ts +0 -14
- package/dist-types/layouts/searchItem/DemoCarModal.d.ts +0 -6
- package/dist-types/layouts/searchItem/Documents.d.ts +0 -7
- package/dist-types/layouts/searchItem/ManufacturerPackagesOption.d.ts +0 -7
- package/dist-types/layouts/searchItem/MetadataItem.d.ts +0 -10
- package/dist-types/layouts/searchItem/PackageOptionModal.d.ts +0 -17
- package/dist-types/layouts/searchItem/PackageOptions.d.ts +0 -7
- package/dist-types/layouts/searchItem/Page404.d.ts +0 -3
- package/dist-types/layouts/searchItem/PageLoading.d.ts +0 -3
- package/dist-types/layouts/searchItem/Property.d.ts +0 -8
- package/dist-types/layouts/searchItem/Related.d.ts +0 -11
- package/dist-types/layouts/searchItem/index.d.ts +0 -13
- package/dist-types/providers/WaykeItemProvidet.d.ts +0 -22
- package/dist-types/providers/WaykeProvider.d.ts +0 -24
- package/dist-types/providers/graphqlProvider.d.ts +0 -6
- package/dist-types/providers/themeProvider.d.ts +0 -6
- package/dist-types/queries/INSURANCE_CALCULATION.d.ts +0 -2
- package/dist-types/queries/LOAN_CALCULATION.d.ts +0 -2
- package/dist-types/queries/SEARCH_ITEM_BRANCH_QUERY.d.ts +0 -2
- package/dist-types/queries/SEARCH_ITEM_QUERY.d.ts +0 -2
- package/dist-types/utils/constants.d.ts +0 -63
- package/dist-types/utils/converters.d.ts +0 -1
- package/dist-types/utils/deep-copy.d.ts +0 -5
- package/dist-types/utils/formats.d.ts +0 -8
- package/dist-types/utils/metadata.min.d.ts +0 -11
- package/dist-types/utils/phonenumbers.d.ts +0 -1
- package/dist-types/utils/pubsub/Actions.d.ts +0 -16
- package/dist-types/utils/pubsub/Events.d.ts +0 -51
- package/dist-types/utils/pubsub/pubsub.d.ts +0 -32
- package/dist-types/utils/regex.d.ts +0 -3
- package/dist-types/utils/sortOptions.d.ts +0 -13
- package/dist-types/utils/specification.d.ts +0 -28
- package/dist-types/utils/ssn.d.ts +0 -1
- package/dist-types/utils/url.d.ts +0 -1
- package/dist-types/utils/vehicle-properties/compare-basic-properties.d.ts +0 -3
- package/dist-types/utils/vehicle-properties/compare-categories.d.ts +0 -3
- package/dist-types/utils/vehicle-properties/compare-properties.d.ts +0 -3
- package/dist-types/utils/vehicle-properties/custom-property-adder.d.ts +0 -12
- package/dist-types/utils/vehicle-properties/property-hint-enricher.d.ts +0 -10
- package/dist-types/utils/vehicle-properties/property-remover.d.ts +0 -7
- package/dist-types/utils/vehicle-properties/property-tree-creator.d.ts +0 -31
- package/dist-types/utils/vehicle-properties/property-tree-sorter.d.ts +0 -3
- package/dist-web/index.js +0 -8197
- package/dist-web/index.js.map +0 -1
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components';
|
|
2
|
-
import { size } from '../../layout/helpers';
|
|
3
|
-
import { ButtonReset } from '../Button/index';
|
|
4
|
-
import { Wrapper as Container } from '../Container/wrapper';
|
|
5
|
-
const quickNavWidth = 83; // 75px + 8px
|
|
6
|
-
export const Wrapper = styled.div `
|
|
7
|
-
${(props) => props.theme.breakpoint.LtMd} {
|
|
8
|
-
${Container} & {
|
|
9
|
-
margin-left: ${size(-3)};
|
|
10
|
-
margin-right: ${size(-3)};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
${(props) => props.theme.breakpoint.LtSm} {
|
|
15
|
-
${Container} & {
|
|
16
|
-
margin-left: ${size(-2)};
|
|
17
|
-
margin-right: ${size(-2)};
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
${(props) => props.theme.breakpoint.Md} {
|
|
22
|
-
position: relative;
|
|
23
|
-
padding-right: ${quickNavWidth}px;
|
|
24
|
-
}
|
|
25
|
-
`;
|
|
26
|
-
export const Main = styled.div `
|
|
27
|
-
position: relative;
|
|
28
|
-
height: 0;
|
|
29
|
-
padding-bottom: 66.66666667%;
|
|
30
|
-
|
|
31
|
-
${(props) => props.theme.breakpoint.Md} {
|
|
32
|
-
//background-color: ${(props) => props.theme.color.accent};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.slick-slider,
|
|
36
|
-
.slick-list,
|
|
37
|
-
.slick-track,
|
|
38
|
-
.slick-slide,
|
|
39
|
-
.slick-slide > * {
|
|
40
|
-
height: 100%;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.slick-slide > * {
|
|
44
|
-
font-size: 0;
|
|
45
|
-
|
|
46
|
-
> * {
|
|
47
|
-
font-size: 1rem;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
`;
|
|
51
|
-
export const Alt = styled.div `
|
|
52
|
-
position: absolute;
|
|
53
|
-
top: 0;
|
|
54
|
-
bottom: 0;
|
|
55
|
-
right: 0;
|
|
56
|
-
width: ${quickNavWidth}px;
|
|
57
|
-
padding-left: ${size(1)};
|
|
58
|
-
|
|
59
|
-
${(props) => props.theme.breakpoint.LtMd} {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:after {
|
|
64
|
-
content: '';
|
|
65
|
-
position: absolute;
|
|
66
|
-
bottom: 0;
|
|
67
|
-
left: 0;
|
|
68
|
-
right: 0;
|
|
69
|
-
height: ${size(2.5)};
|
|
70
|
-
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
|
|
71
|
-
pointer-events: none;
|
|
72
|
-
}
|
|
73
|
-
`;
|
|
74
|
-
export const Item = styled.div `
|
|
75
|
-
position: relative;
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
overflow: hidden;
|
|
79
|
-
|
|
80
|
-
:focus {
|
|
81
|
-
outline: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
${(props) => props.theme.breakpoint.LtMd} {
|
|
85
|
-
//background-color: ${(props) => props.theme.color.textDark};
|
|
86
|
-
transition: border-radius 150ms ease;
|
|
87
|
-
}
|
|
88
|
-
`;
|
|
89
|
-
export const SliderWrapper = styled.div `
|
|
90
|
-
position: absolute;
|
|
91
|
-
top: 0;
|
|
92
|
-
bottom: 0;
|
|
93
|
-
left: 0;
|
|
94
|
-
right: 0;
|
|
95
|
-
|
|
96
|
-
.slick-slider {
|
|
97
|
-
position: absolute;
|
|
98
|
-
top: 0;
|
|
99
|
-
bottom: 0;
|
|
100
|
-
left: 0;
|
|
101
|
-
right: 0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
${(props) => props.theme.breakpoint.LtMd} {
|
|
105
|
-
overflow: hidden;
|
|
106
|
-
|
|
107
|
-
.slick-list {
|
|
108
|
-
overflow: visible;
|
|
109
|
-
width: 95%;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.slick-slide {
|
|
113
|
-
border-right: ${size(1)} solid ${(props) => props.theme.color.bg};
|
|
114
|
-
//transform: scale(0.95);
|
|
115
|
-
transform-origin: 0 50%;
|
|
116
|
-
transition: transform 150ms ease;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.slick-slide.slick-active {
|
|
120
|
-
transform: none;
|
|
121
|
-
|
|
122
|
-
${Item} {
|
|
123
|
-
border-top-left-radius: 0;
|
|
124
|
-
border-bottom-left-radius: 0;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
`;
|
|
129
|
-
export const Image = styled.img `
|
|
130
|
-
display: block;
|
|
131
|
-
position: absolute;
|
|
132
|
-
left: 0;
|
|
133
|
-
top: 0;
|
|
134
|
-
right: 0;
|
|
135
|
-
bottom: 0;
|
|
136
|
-
margin: auto;
|
|
137
|
-
max-width: 100%;
|
|
138
|
-
max-height: 100%;
|
|
139
|
-
object-fit: cover;
|
|
140
|
-
cursor: pointer;
|
|
141
|
-
`;
|
|
142
|
-
export const ImageFull = styled.img `
|
|
143
|
-
display: block;
|
|
144
|
-
position: absolute;
|
|
145
|
-
top: 0;
|
|
146
|
-
left: 0;
|
|
147
|
-
width: 100%;
|
|
148
|
-
height: 100%;
|
|
149
|
-
object-fit: cover;
|
|
150
|
-
`;
|
|
151
|
-
// Arrow Nav
|
|
152
|
-
const Arrow = styled.div `
|
|
153
|
-
position: absolute;
|
|
154
|
-
top: 50%;
|
|
155
|
-
transform: translateY(-50%);
|
|
156
|
-
|
|
157
|
-
${(props) => props.theme.breakpoint.LtSm} {
|
|
158
|
-
display: none;
|
|
159
|
-
}
|
|
160
|
-
`;
|
|
161
|
-
export const ArrowLeft = styled(Arrow) `
|
|
162
|
-
left: ${size(2)};
|
|
163
|
-
`;
|
|
164
|
-
export const ArrowRight = styled(Arrow) `
|
|
165
|
-
right: ${size(2)};
|
|
166
|
-
`;
|
|
167
|
-
// Quick Nav
|
|
168
|
-
export const QuickNav = styled.ul `
|
|
169
|
-
position: relative;
|
|
170
|
-
max-height: 100%;
|
|
171
|
-
list-style: none;
|
|
172
|
-
padding: 0;
|
|
173
|
-
margin: 0;
|
|
174
|
-
overflow: auto;
|
|
175
|
-
-webkit-overflow-scrolling: touch;
|
|
176
|
-
`;
|
|
177
|
-
export const QuickNavItem = styled.li.attrs(() => ({
|
|
178
|
-
className: 'wayke__theme wayke__color--primary-text',
|
|
179
|
-
})) `
|
|
180
|
-
position: relative;
|
|
181
|
-
|
|
182
|
-
& + & {
|
|
183
|
-
margin-top: ${size(1)};
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
${({ active }) => active &&
|
|
187
|
-
css `
|
|
188
|
-
:before {
|
|
189
|
-
content: '';
|
|
190
|
-
position: absolute;
|
|
191
|
-
top: 0;
|
|
192
|
-
left: 0;
|
|
193
|
-
width: 100%;
|
|
194
|
-
height: 100%;
|
|
195
|
-
border: 3px solid currentColor;
|
|
196
|
-
z-index: 2;
|
|
197
|
-
}
|
|
198
|
-
`}
|
|
199
|
-
`;
|
|
200
|
-
export const QuickNavBtn = styled(ButtonReset) `
|
|
201
|
-
position: relative;
|
|
202
|
-
display: block;
|
|
203
|
-
width: 100%;
|
|
204
|
-
height: 0;
|
|
205
|
-
padding-bottom: 66.66666667%; // 3:2
|
|
206
|
-
transform-origin: 50% 50%;
|
|
207
|
-
transition: transform 300ms cubic-bezier(0.47, 1.64, 0.41, 0.8);
|
|
208
|
-
|
|
209
|
-
:before {
|
|
210
|
-
content: '';
|
|
211
|
-
position: absolute;
|
|
212
|
-
top: 0;
|
|
213
|
-
left: 0;
|
|
214
|
-
width: 100%;
|
|
215
|
-
height: 100%;
|
|
216
|
-
background-color: rgba(0, 0, 0, 0.15);
|
|
217
|
-
opacity: 0;
|
|
218
|
-
z-index: 1;
|
|
219
|
-
transition: opacity 150ms ease;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
:hover {
|
|
223
|
-
:before {
|
|
224
|
-
opacity: 1;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
:active {
|
|
229
|
-
transform: scale(0.95);
|
|
230
|
-
}
|
|
231
|
-
`;
|
|
232
|
-
export const QuickNavImg = styled.img `
|
|
233
|
-
display: block;
|
|
234
|
-
position: absolute;
|
|
235
|
-
top: 0;
|
|
236
|
-
left: 0;
|
|
237
|
-
width: 100%;
|
|
238
|
-
height: 100%;
|
|
239
|
-
object-fit: cover;
|
|
240
|
-
`;
|
|
241
|
-
// Media Button
|
|
242
|
-
export const MediaButtonWrapper = styled.div `
|
|
243
|
-
position: absolute;
|
|
244
|
-
bottom: ${size(2)};
|
|
245
|
-
left: 50%;
|
|
246
|
-
transform: translateX(-50%);
|
|
247
|
-
z-index: 1;
|
|
248
|
-
`;
|
|
249
|
-
// Sphere Close Button
|
|
250
|
-
export const EnableNavigationButton = styled.div `
|
|
251
|
-
position: absolute;
|
|
252
|
-
bottom: ${size(2)};
|
|
253
|
-
left: 50%;
|
|
254
|
-
transform: translateX(-50%);
|
|
255
|
-
z-index: 1;
|
|
256
|
-
`;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Wrapper, List, Item } from './wrapper';
|
|
3
|
-
import ProductCard from '../ProductCard/index';
|
|
4
|
-
import { numberSeparator } from '../../utils/formats';
|
|
5
|
-
const resolveImage = (document) => {
|
|
6
|
-
const img = document.featuredImage?.files?.[0]?.url;
|
|
7
|
-
if (img) {
|
|
8
|
-
return `${img}?w=567&q=72`;
|
|
9
|
-
}
|
|
10
|
-
return undefined;
|
|
11
|
-
};
|
|
12
|
-
const Grid = ({ documents, placeholderImage, hashRoute, pathRoute, displayBranchName, onClickItem, }) => {
|
|
13
|
-
if (!documents) {
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
return (React.createElement(Wrapper, null,
|
|
17
|
-
React.createElement(List, null, documents.map((document) => {
|
|
18
|
-
/*
|
|
19
|
-
const _path = pathRoute?.replace(/^\/|\/$/g, '');
|
|
20
|
-
|
|
21
|
-
const prefix = _path ? `/${_path}/` : '/';
|
|
22
|
-
|
|
23
|
-
const pathRouteUrl =
|
|
24
|
-
window.location.pathname === '/'
|
|
25
|
-
? `${prefix}${document._id}`
|
|
26
|
-
: `${window.location.pathname}${prefix}${document._id}`;
|
|
27
|
-
*/
|
|
28
|
-
/*
|
|
29
|
-
const _pathRoute = pathRoute
|
|
30
|
-
? pathRoute.startsWith('/')
|
|
31
|
-
? `${location.pathname}${pathRoute}/${document._id}`
|
|
32
|
-
: `${pathRoute}/${document._id}`
|
|
33
|
-
: undefined;
|
|
34
|
-
|
|
35
|
-
console.log(_pathRoute);
|
|
36
|
-
*/
|
|
37
|
-
const _pathRoute = pathRoute ? `${pathRoute}/${document._id}` : undefined;
|
|
38
|
-
return (React.createElement(Item, { key: document._id },
|
|
39
|
-
React.createElement(ProductCard, { id: document._id, onClick: onClickItem, title: document.title, pathRoute: pathRoute, href: _pathRoute ? _pathRoute : hashRoute ? `#${document._id}` : undefined, image: resolveImage(document), placeholderImage: placeholderImage, description: document.shortDescription, branchName: displayBranchName ? document.branches?.[0]?.name : undefined, uspList: [
|
|
40
|
-
{
|
|
41
|
-
title: document.modelYear,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
title: `${numberSeparator(document.mileage)} mil`,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
title: document.gearboxType,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
title: document.fuelType,
|
|
51
|
-
},
|
|
52
|
-
], price: `${numberSeparator(document.price)} kr`, oldPrice: document.oldPrice !== undefined && document.price < document.oldPrice
|
|
53
|
-
? `${numberSeparator(document.oldPrice)} kr`
|
|
54
|
-
: undefined, leasingPrice: document.leasingPrice !== undefined
|
|
55
|
-
? `${numberSeparator(document.leasingPrice)} kr/mån`
|
|
56
|
-
: undefined, businessLeasingPrice: document.businessLeasingPrice !== undefined
|
|
57
|
-
? `${numberSeparator(document.businessLeasingPrice)} kr/mån`
|
|
58
|
-
: undefined })));
|
|
59
|
-
}))));
|
|
60
|
-
};
|
|
61
|
-
export default Grid;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import { size } from '../../layout/helpers';
|
|
3
|
-
export const Wrapper = styled.div ``;
|
|
4
|
-
export const List = styled.ul `
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-wrap: wrap;
|
|
7
|
-
list-style: none;
|
|
8
|
-
padding: 0;
|
|
9
|
-
margin: ${size(-2)} ${size(-1)};
|
|
10
|
-
`;
|
|
11
|
-
export const Item = styled.li `
|
|
12
|
-
flex: 1 1 auto;
|
|
13
|
-
width: 100%;
|
|
14
|
-
max-width: 100%;
|
|
15
|
-
padding: ${size(2)} ${size(1)};
|
|
16
|
-
|
|
17
|
-
${(props) => props.theme.breakpoint.Sm} {
|
|
18
|
-
width: 50%;
|
|
19
|
-
max-width: 50%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
${(props) => props.theme.breakpoint.Md} {
|
|
23
|
-
width: 33.333%;
|
|
24
|
-
max-width: 33.333%;
|
|
25
|
-
}
|
|
26
|
-
`;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components';
|
|
2
|
-
import { size } from '../../layout/helpers';
|
|
3
|
-
const HeadingBase = styled.div.attrs(() => ({
|
|
4
|
-
className: 'wayke__theme wayke__font--bold',
|
|
5
|
-
})) `
|
|
6
|
-
margin-top: 0;
|
|
7
|
-
margin-bottom: ${size(2)};
|
|
8
|
-
font-weight: normal;
|
|
9
|
-
line-height: 1.2;
|
|
10
|
-
|
|
11
|
-
${({ noMargin }) => noMargin &&
|
|
12
|
-
css `
|
|
13
|
-
margin-bottom: 0;
|
|
14
|
-
`}
|
|
15
|
-
`;
|
|
16
|
-
export const H1 = styled(HeadingBase).attrs((props) => ({
|
|
17
|
-
as: props.as || 'h1',
|
|
18
|
-
})) `
|
|
19
|
-
font-size: 1.875rem;
|
|
20
|
-
`;
|
|
21
|
-
export const H2 = styled(HeadingBase).attrs((props) => ({
|
|
22
|
-
as: props.as || 'h2',
|
|
23
|
-
})) `
|
|
24
|
-
font-size: 1.5rem;
|
|
25
|
-
`;
|
|
26
|
-
export const H3 = styled(HeadingBase).attrs((props) => ({
|
|
27
|
-
as: props.as || 'h3',
|
|
28
|
-
})) `
|
|
29
|
-
font-size: 1.125rem;
|
|
30
|
-
`;
|
|
31
|
-
export const H4 = styled(HeadingBase).attrs((props) => ({
|
|
32
|
-
as: props.as || 'h4',
|
|
33
|
-
})) `
|
|
34
|
-
font-size: 1rem;
|
|
35
|
-
`;
|
|
36
|
-
export const H5 = styled(HeadingBase).attrs((props) => ({
|
|
37
|
-
as: props.as || 'h5',
|
|
38
|
-
})) `
|
|
39
|
-
font-size: 0.875rem;
|
|
40
|
-
`;
|
|
41
|
-
/*
|
|
42
|
-
export const H6 = styled(HeadingBase).attrs<{ as: string }>((props) => ({
|
|
43
|
-
as: props.as || 'h6',
|
|
44
|
-
}))`
|
|
45
|
-
font-size: 0.67rem;
|
|
46
|
-
`;
|
|
47
|
-
*/
|
|
48
|
-
export const VisualHeading = styled.div.attrs(() => ({
|
|
49
|
-
className: 'wayke__theme wayke__font--bold',
|
|
50
|
-
})) `
|
|
51
|
-
font-size: 1em;
|
|
52
|
-
`;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import styled, { css } from 'styled-components';
|
|
3
|
-
const Icon = styled.svg.attrs(() => ({
|
|
4
|
-
xmlns: 'http://www.w3.org/2000/svg',
|
|
5
|
-
})) `
|
|
6
|
-
display: inline-block;
|
|
7
|
-
vertical-align: middle;
|
|
8
|
-
width: 1em;
|
|
9
|
-
height: 1em;
|
|
10
|
-
fill: currentColor;
|
|
11
|
-
|
|
12
|
-
${({ block }) => block &&
|
|
13
|
-
css `
|
|
14
|
-
display: block;
|
|
15
|
-
`}
|
|
16
|
-
`;
|
|
17
|
-
export const IconInfo = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 24 24", block: block },
|
|
18
|
-
React.createElement("path", { d: "M12 0C5.371 0 0 5.371 0 12s5.371 12 12 12 12-5.371 12-12S18.629 0 12 0zm0 2c5.5234 0 10 4.4766 10 10s-4.4766 10-10 10S2 17.5234 2 12 6.4766 2 12 2zm0 3.8125c-.1836 0-.336-.004-.5.0313-.164.0351-.3164.125-.4375.2187-.121.0938-.211.2227-.2813.375s-.0937.332-.0937.5625c0 .2266.0234.4063.0938.5625.0703.1563.1601.2813.2812.375.121.0938.2734.1484.4375.1875.164.039.3164.0625.5.0625.1797 0 .371-.0234.5313-.0625.1601-.039.2851-.0938.4062-.1875.121-.0938.211-.2188.2813-.375.0703-.1523.125-.336.125-.5625 0-.2305-.0547-.4102-.125-.5625-.0704-.1523-.1602-.2813-.2813-.375-.121-.0938-.246-.1836-.4063-.2188-.1601-.0351-.3515-.0312-.5312-.0312zm-1.2188 3.3438v8.9687h2.4375V9.1562z" })));
|
|
19
|
-
export const IconCancel = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 16 16", block: block },
|
|
20
|
-
React.createElement("path", { d: "M15.7 14.3c.4.4.4 1 0 1.4-.2.2-.5.3-.7.3s-.5-.1-.7-.3L8 9.4l-6.3 6.3c-.2.2-.4.3-.7.3s-.5-.1-.7-.3c-.4-.4-.4-1 0-1.4L6.6 8 .3 1.7C-.1 1.3-.1.7.3.3c.4-.4 1-.4 1.4 0L8 6.6 14.3.3c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4L9.4 8l6.3 6.3z" })));
|
|
21
|
-
export const IconChevronDown = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 18 18", block: block },
|
|
22
|
-
React.createElement("path", { d: "M17.7 5L9 13.7.3 5l.7-.7 8 8 8-8 .7.7z" })));
|
|
23
|
-
export const IconChevronLeft = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 18 18", block: block },
|
|
24
|
-
React.createElement("path", { d: "M13 17.7L4.3 9 13 .3l.7.7-8 8 8 8-.7.7z" })));
|
|
25
|
-
export const IconChevronRight = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 18 18", block: block },
|
|
26
|
-
React.createElement("path", { d: "M5 .3L13.7 9 5 17.7l-.7-.7 8-8-8-8L5 .3z" })));
|
|
27
|
-
export const IconCheck = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 16 16", block: block },
|
|
28
|
-
React.createElement("path", { d: "M15.6 4.3l-9.3 9.4c-.5.5-1.4.5-1.9 0l-4-4c-.5-.5-.5-1.4 0-1.9s1.3-.5 1.9 0l3.1 3.1 8.4-8.5c.5-.5 1.4-.5 1.9 0s.4 1.3-.1 1.9z" })));
|
|
29
|
-
export const IconRadio = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 16 16", block: block },
|
|
30
|
-
React.createElement("path", { d: "M13 8c0 2.8-2.2 5-5 5s-5-2.2-5-5 2.2-5 5-5 5 2.2 5 5zm3 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm-1 0c0-3.9-3.1-7-7-7S1 4.1 1 8s3.1 7 7 7 7-3.1 7-7z" })));
|
|
31
|
-
export const IconSearch = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 16 16", block: block },
|
|
32
|
-
React.createElement("path", { d: "M15.5 15.3L11 10.8c1.2-1.1 2-2.7 2-4.5C13 2.9 10.2.1 6.8.1S.5 2.8.5 6.2s2.8 6.2 6.2 6.2c1.3 0 2.5-.4 3.5-1.1l4.6 4.6.7-.6zM1.4 6.2C1.4 3.3 3.8 1 6.7 1S12 3.3 12 6.2c0 1.5-.7 2.9-1.7 3.9l-.7.5c-.8.5-1.8.8-2.8.8-3 .1-5.4-2.3-5.4-5.2z" })));
|
|
33
|
-
export const IconExclamationCircle = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 32 32", block: block },
|
|
34
|
-
React.createElement("path", { d: "M14.482 21.893c0-0.857 0.694-1.551 1.551-1.551s1.551 0.694 1.551 1.551c0 0.857-0.694 1.551-1.551 1.551s-1.551-0.694-1.551-1.551zM16.033 2.838c-7.271 0-13.187 5.916-13.187 13.187s5.916 13.187 13.187 13.187 13.187-5.916 13.187-13.187c0-7.271-5.916-13.187-13.187-13.187zM16.033 27.203c-6.163 0-11.178-5.015-11.178-11.178s5.015-11.178 11.178-11.178c6.164 0 11.178 5.015 11.178 11.178s-5.014 11.178-11.178 11.178zM16.033 8.308c-0.555 0-1.004 0.45-1.004 1.004v8.227c0 0.555 0.45 1.004 1.004 1.004s1.004-0.45 1.004-1.004v-8.227c0-0.555-0.45-1.004-1.004-1.004z" })));
|
|
35
|
-
export const IconExclamationTriangle = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 32 32", block: block },
|
|
36
|
-
React.createElement("path", { d: "M15.951 19.663c-0.457 0-0.828-0.37-0.828-0.828v-4.357c0-0.457 0.37-0.828 0.828-0.828s0.828 0.37 0.828 0.828v4.357c0 0.457-0.371 0.828-0.828 0.828zM15.952 22.906c-0.305 0-0.606-0.126-0.821-0.341s-0.338-0.514-0.338-0.818 0.122-0.606 0.338-0.821c0.431-0.43 1.209-0.43 1.639 0 0.215 0.215 0.341 0.516 0.341 0.821s-0.126 0.603-0.341 0.818c-0.215 0.215-0.513 0.341-0.818 0.341zM27.049 27.070h-22.196c-0.352 0-0.677-0.186-0.855-0.489s-0.184-0.677-0.014-0.985l11.098-20.105c0.175-0.317 0.508-0.513 0.87-0.513s0.695 0.197 0.87 0.513l11.098 20.105c0.17 0.308 0.165 0.683-0.014 0.985s-0.504 0.489-0.856 0.489zM6.536 25.083h18.83l-9.415-17.056-9.415 17.056z" })));
|
|
37
|
-
export const IconImage = ({ block }) => (React.createElement(Icon, { viewBox: "0 0 16 16", block: block },
|
|
38
|
-
React.createElement("path", { d: "M14.4 1.6H1.6C.7 1.6 0 2.3 0 3.2v9.6c0 .9.7 1.6 1.6 1.6h12.8c.9 0 1.6-.7 1.6-1.6V3.2c0-.9-.7-1.6-1.6-1.6zm0 11.2H1.6V3.2h12.8v9.6zM3.2 6c0-.7.5-1.2 1.2-1.2s1.2.5 1.2 1.2-.5 1.2-1.2 1.2S3.2 6.7 3.2 6zm.2 4.5l6.2-4.4c.4-.3.9-.2 1.1.2v.1l2.4 4.2c.1.2 0 .4-.1.5-.1 0-.1.1-.2.1H3.7c-.2 0-.4-.2-.4-.4 0-.1 0-.3.1-.3z", fillRule: "evenodd", clipRule: "evenodd" })));
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Input, Label, LabelText, Wrapper } from './wrapper';
|
|
3
|
-
const InputCheckbox = ({ children, ...props }) => {
|
|
4
|
-
const { id } = props;
|
|
5
|
-
return (React.createElement(Wrapper, { "aria-labelledby": id ? `${id}-label` : undefined },
|
|
6
|
-
React.createElement(Input, { ...props }),
|
|
7
|
-
React.createElement(Label, { id: `${id}-label`, htmlFor: id },
|
|
8
|
-
React.createElement(LabelText, null, children))));
|
|
9
|
-
};
|
|
10
|
-
export default InputCheckbox;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import styled, { css } from 'styled-components';
|
|
3
|
-
import { size } from '../../layout/helpers';
|
|
4
|
-
export const Label = styled.label.attrs(() => ({
|
|
5
|
-
className: 'wayke__theme wayke__color--primary-text',
|
|
6
|
-
})) `
|
|
7
|
-
position: relative;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: flex-start;
|
|
10
|
-
font-size: 1rem;
|
|
11
|
-
line-height: 1.2;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
|
|
14
|
-
:before {
|
|
15
|
-
content: '';
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
flex-shrink: 0;
|
|
20
|
-
width: ${size(2.5)};
|
|
21
|
-
height: ${size(2.5)};
|
|
22
|
-
margin-right: ${size(1)};
|
|
23
|
-
background-color: ${(props) => props.theme.color.accent};
|
|
24
|
-
color: currentColor;
|
|
25
|
-
border: none;
|
|
26
|
-
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.07);
|
|
27
|
-
text-align: center;
|
|
28
|
-
font-size: 15px;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
border-radius: 3px;
|
|
31
|
-
margin-top: -2px;
|
|
32
|
-
}
|
|
33
|
-
`;
|
|
34
|
-
export const Wrapper = styled((props) => React.createElement("div", { ...props })).attrs(({ type, checked }) => ({
|
|
35
|
-
role: type || 'checkbox',
|
|
36
|
-
'aria-checked': checked,
|
|
37
|
-
})) `
|
|
38
|
-
${({ error }) => error &&
|
|
39
|
-
css `
|
|
40
|
-
${Label} {
|
|
41
|
-
color: ${(props) => props.theme.color.ui.negative};
|
|
42
|
-
|
|
43
|
-
:before {
|
|
44
|
-
background-color: ${(props) => props.theme.color.ui.negativeLight};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
`}
|
|
48
|
-
`;
|
|
49
|
-
export const Input = styled((props) => (React.createElement("input", { ...props, className: `${props.checked ? 'checked' : undefined} ${props.className}` }))).attrs(({ type, checked }) => ({
|
|
50
|
-
checked,
|
|
51
|
-
type: type || 'checkbox',
|
|
52
|
-
})) `
|
|
53
|
-
position: fixed;
|
|
54
|
-
left: -9999px;
|
|
55
|
-
opacity: 0;
|
|
56
|
-
|
|
57
|
-
&[disabled] {
|
|
58
|
-
& + ${Label} {
|
|
59
|
-
color: ${(props) => props.theme.color.disabledText};
|
|
60
|
-
|
|
61
|
-
&:before {
|
|
62
|
-
background-color: ${(props) => props.theme.color.disabledBg};
|
|
63
|
-
cursor: not-allowed;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:checked,
|
|
69
|
-
&.checked {
|
|
70
|
-
& + ${Label} {
|
|
71
|
-
:before {
|
|
72
|
-
content: '✓';
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
`;
|
|
77
|
-
export const LabelText = styled.div `
|
|
78
|
-
color: ${(props) => props.theme.color.textDark};
|
|
79
|
-
`;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import { size } from '../../layout/helpers';
|
|
3
|
-
export const InputGroup = styled.div `
|
|
4
|
-
${(props) => props.theme.breakpoint.Sm} {
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: flex-start;
|
|
7
|
-
margin: ${size(-0.5)};
|
|
8
|
-
}
|
|
9
|
-
`;
|
|
10
|
-
export const InputGroupColumn = styled.div `
|
|
11
|
-
${(props) => props.theme.breakpoint.LtSm} {
|
|
12
|
-
& + & {
|
|
13
|
-
margin-top: ${size(1)};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
${(props) => props.theme.breakpoint.Sm} {
|
|
18
|
-
flex: 1 1 50%;
|
|
19
|
-
padding: ${size(0.5)};
|
|
20
|
-
}
|
|
21
|
-
`;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Wrapper, Search, Action, ActionBtn, Input, Label } from './wrapper';
|
|
3
|
-
import { IconSearch } from '../Icon/index';
|
|
4
|
-
const InputSearch = React.forwardRef(({ placeholder, label, value, id, onSearch, onChange, onKeyDown }, ref) => (React.createElement(Wrapper, { ref: ref },
|
|
5
|
-
React.createElement(Label, { htmlFor: id }, label),
|
|
6
|
-
React.createElement(Search, null,
|
|
7
|
-
React.createElement(Input, { placeholder: placeholder, name: "search", value: value, id: id, onChange: onChange, onKeyDown: onKeyDown })),
|
|
8
|
-
React.createElement(Action, null,
|
|
9
|
-
React.createElement(ActionBtn, { onClick: onSearch, title: `Genomför ${label}`, "aria-label": `Genomför ${label}` },
|
|
10
|
-
React.createElement(IconSearch, { block: true }))))));
|
|
11
|
-
InputSearch.displayName = 'InputSearch';
|
|
12
|
-
export default InputSearch;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import { size } from '../../layout/helpers';
|
|
3
|
-
import { ButtonReset } from '../Button/index';
|
|
4
|
-
export const Wrapper = styled.div.attrs(() => ({
|
|
5
|
-
role: 'search',
|
|
6
|
-
})) `
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: stretch;
|
|
9
|
-
border-radius: 3px;
|
|
10
|
-
`;
|
|
11
|
-
export const Label = styled.label `
|
|
12
|
-
position: absolute;
|
|
13
|
-
width: 1px;
|
|
14
|
-
height: 1px;
|
|
15
|
-
padding: 0;
|
|
16
|
-
margin: -1px;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
clip: rect(0, 0, 0, 0);
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
border: 0;
|
|
21
|
-
`;
|
|
22
|
-
export const Search = styled.div `
|
|
23
|
-
flex: 1 1 auto;
|
|
24
|
-
position: relative;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: stretch;
|
|
27
|
-
background-color: ${(props) => props.theme.color.accentDark};
|
|
28
|
-
border-top-left-radius: 3px;
|
|
29
|
-
border-bottom-left-radius: 3px;
|
|
30
|
-
`;
|
|
31
|
-
export const Action = styled.div `
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
`;
|
|
34
|
-
export const ActionBtn = styled(ButtonReset).attrs(() => ({
|
|
35
|
-
className: 'wayke__theme wayke__color--primary-bg',
|
|
36
|
-
})) `
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
width: ${(props) => props.theme.distances.inputHeight};
|
|
41
|
-
height: ${(props) => props.theme.distances.inputHeight};
|
|
42
|
-
border-top-right-radius: 3px;
|
|
43
|
-
border-bottom-right-radius: 3px;
|
|
44
|
-
font-size: 1rem;
|
|
45
|
-
`;
|
|
46
|
-
export const Input = styled.input.attrs(() => ({
|
|
47
|
-
type: 'search',
|
|
48
|
-
className: 'wayke__theme wayke__font--regular',
|
|
49
|
-
})) `
|
|
50
|
-
flex: 1 1 auto;
|
|
51
|
-
display: block;
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: ${(props) => props.theme.distances.inputHeight};
|
|
54
|
-
padding: 0 ${size(2)};
|
|
55
|
-
background-color: transparent;
|
|
56
|
-
font-size: 16px;
|
|
57
|
-
border: none;
|
|
58
|
-
border-radius: 0;
|
|
59
|
-
box-shadow: none;
|
|
60
|
-
-moz-appearance: none;
|
|
61
|
-
-webkit-appearance: none;
|
|
62
|
-
|
|
63
|
-
:focus {
|
|
64
|
-
outline: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&::-webkit-input-placeholder {
|
|
68
|
-
font-family: inherit;
|
|
69
|
-
color: ${(props) => props.theme.color.textDarkLighten};
|
|
70
|
-
font-size: 1em;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&:-moz-placeholder {
|
|
74
|
-
font-family: inherit;
|
|
75
|
-
color: ${(props) => props.theme.color.textDarkLighten};
|
|
76
|
-
font-size: 1em;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&::-moz-placeholder {
|
|
80
|
-
font-family: inherit;
|
|
81
|
-
color: ${(props) => props.theme.color.textDarkLighten};
|
|
82
|
-
font-size: 1em;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:-ms-input-placeholder {
|
|
86
|
-
font-family: inherit;
|
|
87
|
-
color: ${(props) => props.theme.color.textDarkLighten};
|
|
88
|
-
font-size: 1em;
|
|
89
|
-
}
|
|
90
|
-
`;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Wrapper, Select, Option, Icon } from './wrapper';
|
|
3
|
-
import { IconChevronDown } from '../Icon/index';
|
|
4
|
-
const InputSelect = ({ value, options, onChange, unit, title }) => (React.createElement(Wrapper, null,
|
|
5
|
-
React.createElement(Select, { value: value, onChange: onChange, title: title, "aria-label": title }, options?.map((option) => (React.createElement(Option, { key: option.value, value: option.value },
|
|
6
|
-
option.displayName || option.value,
|
|
7
|
-
unit ? ` ${unit}` : '')))),
|
|
8
|
-
React.createElement(Icon, null,
|
|
9
|
-
React.createElement(IconChevronDown, { block: true }))));
|
|
10
|
-
export default InputSelect;
|