mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-31 02:26:50 +10:00
126 lines
3.3 KiB
Text
126 lines
3.3 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SearchPageComponent matches snapshot 1`] = `
|
|
<Page
|
|
description="SearchPage.schemaDescription"
|
|
schema={
|
|
Object {
|
|
"@context": "http://schema.org",
|
|
"@type": "SearchResultsPage",
|
|
"description": "SearchPage.schemaDescription",
|
|
"mainEntity": Array [
|
|
"{\\"@type\\":\\"ItemList\\",\\"name\\":\\"SearchPage.schemaMapSearch\\",\\"itemListOrder\\":\\"http://schema.org/ItemListOrderAscending\\",\\"itemListElement\\":[]}",
|
|
],
|
|
"name": "SearchPage.schemaTitle",
|
|
}
|
|
}
|
|
scrollingDisabled={false}
|
|
title="SearchPage.schemaTitle"
|
|
>
|
|
<withRouter(Connect(TopbarContainerComponent))
|
|
currentPage="SearchPage"
|
|
currentSearchParams={Object {}}
|
|
/>
|
|
<div>
|
|
<MainPanel
|
|
className={null}
|
|
customURLParamToConfig={
|
|
Object {
|
|
"pub_amenities": "amenities",
|
|
"pub_category": "categories",
|
|
}
|
|
}
|
|
listings={Array []}
|
|
onActivateListing={[Function]}
|
|
onCloseModal={[Function]}
|
|
onManageDisableScrolling={[Function]}
|
|
onMapIconClick={[Function]}
|
|
onOpenModal={[Function]}
|
|
pagination={
|
|
Object {
|
|
"page": 1,
|
|
"perPage": 12,
|
|
"totalItems": 22,
|
|
"totalPages": 2,
|
|
}
|
|
}
|
|
primaryFilters={
|
|
Object {
|
|
"amenities": Array [
|
|
Object {
|
|
"key": "dog1",
|
|
"label": "Dog 1",
|
|
},
|
|
Object {
|
|
"key": "dog2",
|
|
"label": "Dog 2",
|
|
},
|
|
],
|
|
"categories": Array [
|
|
Object {
|
|
"key": "cat1",
|
|
"label": "Cat 1",
|
|
},
|
|
Object {
|
|
"key": "cat2",
|
|
"label": "Cat 2",
|
|
},
|
|
],
|
|
}
|
|
}
|
|
resultsCount={0}
|
|
rootClassName={null}
|
|
searchInProgress={false}
|
|
searchListingsError={null}
|
|
searchParamsAreInSync={true}
|
|
searchParamsForPagination={Object {}}
|
|
secondaryFilters={null}
|
|
showAsModalMaxWidth={768}
|
|
urlQueryParams={Object {}}
|
|
/>
|
|
<withViewport(ModalInMobileComponent)
|
|
id="SearchPage.map"
|
|
isModalOpenOnMobile={false}
|
|
onClose={[Function]}
|
|
onManageDisableScrolling={[Function]}
|
|
showAsModalMaxWidth={768}
|
|
>
|
|
<div>
|
|
<SearchMapComponent
|
|
activeListingId={null}
|
|
bounds={null}
|
|
center={
|
|
LatLng {
|
|
"lat": 0,
|
|
"lng": 0,
|
|
}
|
|
}
|
|
className={null}
|
|
coordinatesConfig={
|
|
Object {
|
|
"circleOptions": Object {
|
|
"clickable": false,
|
|
"fillColor": "#c0392b",
|
|
"fillOpacity": 0.2,
|
|
"strokeColor": "#c0392b",
|
|
"strokeWeight": 0.5,
|
|
},
|
|
"coordinateOffset": 500,
|
|
"fuzzy": false,
|
|
"fuzzyDefaultZoomLevel": 14,
|
|
}
|
|
}
|
|
isOpenOnModal={false}
|
|
listings={Array []}
|
|
mapRootClassName={null}
|
|
onCloseAsModal={[Function]}
|
|
onIdle={[Function]}
|
|
rootClassName={null}
|
|
useLocationSearchBounds={true}
|
|
zoom={11}
|
|
/>
|
|
</div>
|
|
</withViewport(ModalInMobileComponent)>
|
|
</div>
|
|
</Page>
|
|
`;
|