nestiq-component-library 1.1.145 → 1.1.150
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/dist/components/NewPropertyCard/NewPropertyCard.d.ts +1 -0
- package/dist/index.es.js +6 -13
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +6 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ImageListPopup/ImageListPopup.tsx +3 -3
- package/src/components/NewPropertyCard/NewPropertyCard.tsx +7 -8
|
@@ -46,6 +46,7 @@ interface PopupProps {
|
|
|
46
46
|
messageOnClick: () => void;
|
|
47
47
|
onclickSuccess: () => void;
|
|
48
48
|
onClick: () => void;
|
|
49
|
+
onFloorPlanClick: () => void;
|
|
49
50
|
}
|
|
50
51
|
export default function PropertyCard(props: PopupProps) {
|
|
51
52
|
const [liked, setLiked] = useState(false);
|
|
@@ -59,7 +60,7 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
59
60
|
const pictureUrls =
|
|
60
61
|
props.property?.pictures?.length > 0
|
|
61
62
|
? props.property.pictures.map(
|
|
62
|
-
(picture) => `${props.baseUrl}${picture.contentUrl}
|
|
63
|
+
(picture) => `${props.baseUrl}${picture.contentUrl}`
|
|
63
64
|
)
|
|
64
65
|
: [noImageIcon];
|
|
65
66
|
|
|
@@ -68,9 +69,7 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
68
69
|
setLiked(!liked);
|
|
69
70
|
};
|
|
70
71
|
const floorPlanOnClick = () => {
|
|
71
|
-
|
|
72
|
-
setFloorPlan(true);
|
|
73
|
-
}
|
|
72
|
+
props.onFloorPlanClick();
|
|
74
73
|
};
|
|
75
74
|
const handleMessagPopUp = () => {
|
|
76
75
|
// setMessagPopUp(true);
|
|
@@ -293,7 +292,7 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
293
292
|
<div className="ms-2 d-flex flex-column col-8 justify-content-center align-self-center text-center">
|
|
294
293
|
<span className="fw-bold">Herr Florian Gauss</span>
|
|
295
294
|
<span>Immogart UGh</span>
|
|
296
|
-
<button
|
|
295
|
+
{/* <button
|
|
297
296
|
className="kontactbutton text-light align-self-center"
|
|
298
297
|
onClick={handleMessagPopUp}
|
|
299
298
|
role="button"
|
|
@@ -301,7 +300,7 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
301
300
|
<span className="kontact-button-text">
|
|
302
301
|
Kontakt aufnehmen{" "}
|
|
303
302
|
</span>
|
|
304
|
-
</button>
|
|
303
|
+
</button> */}
|
|
305
304
|
</div>
|
|
306
305
|
</div>
|
|
307
306
|
</div>
|
|
@@ -337,12 +336,12 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
337
336
|
</div>
|
|
338
337
|
)}
|
|
339
338
|
</div>
|
|
340
|
-
{floorPlan && (
|
|
339
|
+
{/* {floorPlan && (
|
|
341
340
|
<FloorPlanPopup
|
|
342
341
|
contentUrl={props.floorPlanUrl}
|
|
343
342
|
onCloseClick={() => setFloorPlan(false)}
|
|
344
343
|
/>
|
|
345
|
-
)}
|
|
344
|
+
)} */}
|
|
346
345
|
{/* {messagePopUp && (
|
|
347
346
|
<MessagePopUp
|
|
348
347
|
onCloseClick={() => setMessagPopUp(false)}
|