nestiq-component-library 1.1.160 → 1.1.162

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.
Files changed (45) hide show
  1. package/dist/assets/images/{card-arrow-left.28090aba4b4f2006.svg → card-arrow-left.55343410142dad3f.svg} +4 -4
  2. package/dist/assets/images/{card-arrow-right.c60af4cbbd49f3aa.svg → card-arrow-right.60b3bf0e34c1800d.svg} +4 -4
  3. package/dist/assets/images/{imooly.890e3dd01ea33574.svg → imooly.b46514ac970e6052.svg} +7 -7
  4. package/dist/assets/images/{more.1e158adc48fbb406.svg → more.ce14789c8d37e327.svg} +12 -12
  5. package/dist/components/ImageListPopup/ImageListPopup.d.ts +1 -0
  6. package/dist/components/NewPropertyCard/NewPropertyCard.d.ts +8 -4
  7. package/dist/components/SharePopup/SharePopup.d.ts +0 -3
  8. package/dist/index.es.js +62 -49
  9. package/dist/index.es.js.map +1 -1
  10. package/dist/index.js +62 -49
  11. package/dist/index.js.map +1 -1
  12. package/package.json +1 -1
  13. package/rollup.config.mjs +2 -2
  14. package/src/assets/images/card-arrow-left.svg +4 -4
  15. package/src/assets/images/card-arrow-right.svg +4 -4
  16. package/src/assets/images/imooly.svg +7 -7
  17. package/src/assets/images/more.svg +12 -12
  18. package/src/components/ImageListPopup/ImageListPopup.css +10 -0
  19. package/src/components/ImageListPopup/ImageListPopup.tsx +52 -42
  20. package/src/components/NewPropertyCard/NewPropertyCard.tsx +52 -24
  21. package/src/components/PropertyImageList/PropertyImageList.tsx +8 -3
  22. package/src/components/SharePopup/SharePopup.tsx +2 -7
  23. package/dist/assets/images/Icon_rightArrow.svg +0 -3
  24. package/dist/assets/images/LayersIcon.svg +0 -5
  25. package/dist/assets/images/blackarrow-Right.svg +0 -3
  26. package/dist/assets/images/blckarrow-Left.svg +0 -3
  27. package/dist/assets/images/chevron-left.svg +0 -3
  28. package/dist/assets/images/default-property.jpg +0 -0
  29. package/dist/assets/images/heartIcon.svg +0 -3
  30. package/dist/assets/images/icon-close-white.webp +0 -0
  31. package/dist/assets/images/icon_close 2.e41bb9a4db48e048.png +0 -0
  32. package/dist/assets/images/icon_close_2.png +0 -0
  33. package/dist/assets/images/icon_gallery.svg +0 -4
  34. package/dist/assets/images/icon_map.svg +0 -10
  35. package/dist/assets/images/icon_share_1.svg +0 -3
  36. package/dist/assets/images/layer_icon.svg +0 -5
  37. package/dist/assets/images/locationIcon.0af399c78e0cdc20.svg +0 -4
  38. package/dist/assets/images/locationIcon.svg +0 -4
  39. package/dist/assets/images/locationIconBlack.svg +0 -4
  40. package/dist/assets/images/no-image-icon.png +0 -0
  41. package/dist/components/Button/Button.js +0 -6
  42. package/dist/components/ImageListPopup/ImageListPopup.js +0 -26
  43. package/dist/components/MessagePopup/ErrorPopup.d.ts +0 -7
  44. package/dist/components/Popup/Popup.js +0 -12
  45. package/dist/components/SharePopup/PopUp.d.ts +0 -7
package/dist/index.js CHANGED
@@ -74,8 +74,7 @@ var css_248z$7 = ".shareSection {\r\n height: 340px;\r\n padding: 40px;\r\n b
74
74
  styleInject(css_248z$7);
75
75
 
76
76
  function SharePopup(props) {
77
- var _a;
78
- var _b = React.useState(true), showPopUp = _b[0]; _b[1];
77
+ var _a = React.useState(true), showPopUp = _a[0]; _a[1];
79
78
  var handleClose = function () {
80
79
  props.onClick();
81
80
  };
@@ -113,7 +112,7 @@ function SharePopup(props) {
113
112
  React.createElement("span", { className: "socialMediaIconText" }, "E-Mail")))),
114
113
  React.createElement("div", { className: "col-10 mx-auto" },
115
114
  React.createElement("div", { className: " row align-items-center position-relative" },
116
- React.createElement("input", { ref: urlInputRef, type: "text", className: "popup_search-input rounded-4 border border-0 ", placeholder: "Enter link here", value: ((_a = props === null || props === void 0 ? void 0 : props.options) === null || _a === void 0 ? void 0 : _a.override_location) || window.location.href, readOnly: true }),
115
+ React.createElement("input", { ref: urlInputRef, type: "text", className: "popup_search-input rounded-4 border border-0 ", placeholder: "Enter link here", value: window.location.href, readOnly: true }),
117
116
  React.createElement("button", { onClick: copyToClipboard, className: "popupcustom-button border border-0 position-absolute me-2 col-lg-3 col-md-3 col-sm-3 rounded-4 fs-6", type: "button", id: "button" },
118
117
  React.createElement("strong", null, "Kopieren")))))))));
119
118
  }
@@ -184,15 +183,14 @@ var iconLayers$1 = "/static/media/layer_icon.9b56c187199c44b5.svg";
184
183
  var css_248z$6 = ".mainImage {\r\n height: 80%;\r\n}\r\n\r\n.secondList {\r\n height: 20%;\r\n max-height: 121.6px;\r\n}\r\n\r\n.listImageButton {\r\n background-image: linear-gradient(to top, #000, #666);\r\n align-items: center !important;\r\n justify-content: center !important;\r\n min-height: 121px;\r\n}\r\n\r\n.listImgText {\r\n height: 30px;\r\n font-size: 14px;\r\n line-height: 2.14;\r\n color: #fff;\r\n}\r\n\r\n.arroIconColour {\r\n height: 30px;\r\n fill: #fff !important;\r\n}\r\n\r\n.onImageArrow {\r\n width: 50px;\r\n height: 50px;\r\n padding: 23px 8px;\r\n background-color: rgba(255, 255, 255, 0.8);\r\n}\r\n\r\n.blackArrow {\r\n width: 20px;\r\n height: 20px;\r\n}\r\n\r\n\r\n.imagesArray {\r\n background-size: cover !important;\r\n}\r\n@media (max-width: 450px) {\r\n .Pimagelist {\r\n }\r\n .mainImage {\r\n height: 500px;\r\n width: 88vw;\r\n }\r\n}\r\n\r\n/* @media (min-width: 390px) and (max-width: 850px) {\r\n .Pimagelist {\r\n }\r\n .mainImage {\r\n height: 500px;\r\n width: 58vw;\r\n }\r\n} */\r\n@media (min-width: 768px) and (max-width: 819px) {\r\n .Pimagelist {\r\n }\r\n .mainImage {\r\n height: 80%;\r\n width: 58vw;\r\n }\r\n}\r\n@media (min-width: 820px) and (max-width: 850px) {\r\n .Pimagelist {\r\n }\r\n .mainImage {\r\n height: 80%;\r\n width: 58vw;\r\n }\r\n}\r\n\r\n.image-thumbnail {\r\n position: relative;\r\n transition: opacity 0.3s ease-in-out;\r\n height: 100%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.image-thumbnail img {\r\n height: 100%;\r\n object-fit: cover;\r\n border-radius: 8px;\r\n}\r\n\r\n.image-thumbnail.greyed-out img {\r\n filter: grayscale(100%) brightness(50%);\r\n}\r\n\r\n.image-thumbnail.selected img {\r\n filter: none;\r\n border: 2px solid #007bff; /* Highlight border for selected image */\r\n}";
185
184
  styleInject(css_248z$6);
186
185
 
187
- var css_248z$5 = ".popup-header {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 100%;\r\n padding: 1rem;\r\n position: absolute;\r\n top: 0;\r\n}\r\n\r\n.popup-title {\r\n color: white;\r\n font-size: 24px;\r\n font-weight: bold;\r\n}\r\n\r\n.btn-close {\r\n position: absolute;\r\n right: 1rem;\r\n top: 1rem;\r\n background: none;\r\n border: none;\r\n color: white;\r\n font-size: 24px;\r\n cursor: pointer;\r\n}\r\n\r\n.popup-body {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 1rem;\r\n position: relative;\r\n flex: 1;\r\n}\r\n\r\n.main-image {\r\n max-width: 100%;\r\n max-height: 80vh;\r\n border-radius: 8px;\r\n}\r\n\r\n.btn-prev,\r\n.btn-next {\r\n background: none;\r\n border: none;\r\n color: white;\r\n font-size: 48px;\r\n cursor: pointer;\r\n position: absolute;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.btn-prev {\r\n left: 10px;\r\n}\r\n\r\n.btn-next {\r\n right: 10px;\r\n}\r\n\r\n.popup-thumbnails {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 10px;\r\n padding: 1rem;\r\n}\r\n\r\n.thumbnail {\r\n width: 60px;\r\n height: 60px;\r\n object-fit: cover;\r\n border-radius: 8px;\r\n cursor: pointer;\r\n opacity: 0.6;\r\n}\r\n\r\n.thumbnail.active {\r\n border: 2px solid white;\r\n opacity: 1;\r\n}\r\n";
186
+ var css_248z$5 = ".popup-header {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 100%;\r\n padding: 1rem;\r\n position: absolute;\r\n top: 0;\r\n}\r\n\r\n.closeIconNestiq {\r\n position: absolute;\r\n right: 10px;\r\n top: 10px;\r\n width: 12px;\r\n height: 12px;\r\n cursor: pointer;\r\n z-index: 1;\r\n}\r\n\r\n.popup-title {\r\n color: white;\r\n font-size: 24px;\r\n font-weight: bold;\r\n}\r\n\r\n.btn-close {\r\n position: absolute;\r\n right: 1rem;\r\n top: 1rem;\r\n background: none;\r\n border: none;\r\n color: white;\r\n font-size: 24px;\r\n cursor: pointer;\r\n}\r\n\r\n.popup-body {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 1rem;\r\n position: relative;\r\n flex: 1;\r\n}\r\n\r\n.main-image {\r\n max-width: 100%;\r\n max-height: 80vh;\r\n border-radius: 8px;\r\n}\r\n\r\n.btn-prev,\r\n.btn-next {\r\n background: none;\r\n border: none;\r\n color: white;\r\n font-size: 48px;\r\n cursor: pointer;\r\n position: absolute;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.btn-prev {\r\n left: 10px;\r\n}\r\n\r\n.btn-next {\r\n right: 10px;\r\n}\r\n\r\n.popup-thumbnails {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 10px;\r\n padding: 1rem;\r\n}\r\n\r\n.thumbnail {\r\n width: 60px;\r\n height: 60px;\r\n object-fit: cover;\r\n border-radius: 8px;\r\n cursor: pointer;\r\n opacity: 0.6;\r\n}\r\n\r\n.thumbnail.active {\r\n border: 2px solid white;\r\n opacity: 1;\r\n}\r\n";
188
187
  styleInject(css_248z$5);
189
188
 
190
189
  var iconClose = "/static/media/close.b5ce9141e80c688b.png";
191
190
 
192
191
  function ImageListPopup(props) {
193
- var _a, _b;
194
- var _c = React.useState(true), showPopUp = _c[0], setShowPopUp = _c[1];
195
- var _d = React.useState(0), currentImageIndex = _d[0], setCurrentImageIndex = _d[1];
192
+ var _a = React.useState(true), showPopUp = _a[0]; _a[1];
193
+ var _b = React.useState(0), currentImageIndex = _b[0], setCurrentImageIndex = _b[1];
196
194
  var imageListRef = React.useRef(null);
197
195
  var handleArrowClickInMainImage = function (direction) {
198
196
  if (props.pictureUrls.length === 0)
@@ -213,20 +211,22 @@ function ImageListPopup(props) {
213
211
  });
214
212
  };
215
213
  var handleClose = function () {
216
- setShowPopUp(false);
214
+ if (props.onClose) {
215
+ props.onClose();
216
+ }
217
217
  };
218
218
  return (React.createElement("div", null, showPopUp && (React.createElement("div", { className: "popup-overlay" },
219
219
  React.createElement("div", { className: " d-flex flex-column " },
220
220
  React.createElement("div", { className: "d-flex align-self-end me-5 " },
221
- React.createElement("img", { src: iconClose, alt: "close", className: "closeIcon", onClick: handleClose })),
222
- React.createElement("span", { className: "text-white align-self-center" }, (_a = props.pictureUrls[currentImageIndex]) === null || _a === void 0 ? void 0 : _a.title),
221
+ React.createElement("img", { src: iconClose, alt: "close", className: "closeIconNestiq", onClick: handleClose })),
222
+ React.createElement("span", { className: "text-white align-self-center" }, props.pictureUrls[currentImageIndex].title),
223
223
  React.createElement("div", { className: "d-flex justify-content-center" },
224
224
  React.createElement("div", { className: "p-2 bd-highlight align-self-center align-items-center me-5" },
225
225
  React.createElement("div", { className: "rounded-circle border onImageArrow start-0 d-flex ", role: "button", onClick: function () { return handleArrowClickInMainImage("left"); } },
226
226
  React.createElement("img", { src: blcIconArrowLeft, className: "blackArrow align-self-center", alt: "Left Arrow" }))),
227
227
  React.createElement("div", { className: "p-2 bd-highlight" },
228
- React.createElement("div", { className: " rounded-5 mainImage ", style: {
229
- backgroundImage: "url(".concat((_b = props.pictureUrls[currentImageIndex]) === null || _b === void 0 ? void 0 : _b.url, ")"),
228
+ React.createElement("div", { className: " rounded-5", style: {
229
+ backgroundImage: "url(".concat(props.pictureUrls[currentImageIndex].url, ")"),
230
230
  height: "465px",
231
231
  width: "880px",
232
232
  backgroundSize: "cover",
@@ -237,21 +237,26 @@ function ImageListPopup(props) {
237
237
  React.createElement("div", { role: "button", className: "rounded-circle border onImageArrow d-flex justify-content-center", onClick: function () { return handleArrowClickInMainImage("right"); } },
238
238
  React.createElement("img", { src: blcIconArrowRight, className: "blackArrow align-self-center", alt: "Right Arrow" })))),
239
239
  React.createElement("div", { className: "d-flex flex-row" }),
240
- React.createElement("div", { className: "d-flex flex-row gap-4 w-100 secondList " },
241
- React.createElement("div", { className: "col-lg-12 d-flex flex-row p-1 align-self-center mt-5" },
242
- React.createElement("div", { className: "col-12 position-relative d-flex justify-content-center" },
243
- React.createElement("div", { className: "col-lg-10 rounded-3 h-100 w-100 d-flex flex-row gap-2 overflow-auto ", ref: imageListRef }, props.pictureUrls.length > 0 && (React.createElement("div", { className: "col-lg-5 d-flex gap-4 flex-row rounded-3" }, props.pictureUrls.map(function (picture, index) { return (React.createElement("div", { key: index, className: "col-lg-12 d-flex", onClick: function () {
244
- setCurrentImageIndex(index);
245
- imageListRef.current.scrollTo({
246
- left: index * 150,
247
- behavior: "smooth",
248
- });
249
- }, role: "button", style: {
250
- cursor: "pointer",
251
- width: "150px",
252
- height: "150px",
253
- } },
254
- React.createElement("img", { src: picture === null || picture === void 0 ? void 0 : picture.url, alt: "Image ".concat(index + 1), className: "col-12 h-100 rounded-3 object-fit-cover" }))); }))))))))))));
240
+ React.createElement("div", { className: "d-flex flex-row justify-content-center w-100 mt-5" },
241
+ React.createElement("div", { className: "d-flex flex-row gap-4 overflow-auto px-3", ref: imageListRef, style: {
242
+ maxWidth: "100%",
243
+ scrollbarWidth: "thin",
244
+ } }, props.pictureUrls.length > 0 && (React.createElement(React.Fragment, null, props.pictureUrls.map(function (picture, index) { return (React.createElement("div", { key: index, className: "flex-shrink-0 ".concat(index === currentImageIndex
245
+ ? "border border-3 border-primary"
246
+ : ""), onClick: function () {
247
+ setCurrentImageIndex(index);
248
+ imageListRef.current.scrollTo({
249
+ left: index * 170, // 150px width + gap
250
+ behavior: "smooth",
251
+ });
252
+ }, role: "button", style: {
253
+ cursor: "pointer",
254
+ width: "150px",
255
+ height: "150px",
256
+ } },
257
+ React.createElement("img", { src: picture.url, alt: "Image ".concat(index + 1), className: "w-100 h-100 rounded-3 object-fit-cover", style: {
258
+ display: "block",
259
+ } }))); }))))))))));
255
260
  }
256
261
 
257
262
  var FloorPlanPopup = function (_a) {
@@ -388,7 +393,7 @@ function PropertyImageList(prop) {
388
393
  React.createElement("div", { className: "border col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3" },
389
394
  React.createElement("img", { src: iconMap, alt: "Map Icon" }),
390
395
  React.createElement("span", { className: "listImgText" }, "Karte")))))),
391
- isImagePopupOpen && React.createElement(ImageListPopup, { pictureUrls: prop.pictureUrls }),
396
+ isImagePopupOpen && (React.createElement(ImageListPopup, { pictureUrls: prop.pictureUrls, onClose: function () { return setIsImagePopupOpen(false); } })),
392
397
  isFloorPlanPopupOpen && (React.createElement(FloorPlanPopup, { contentUrl: prop.floorPlanUrl, onCloseClick: floorPlanPopupCloseHandler }))));
393
398
  }
394
399
 
@@ -459,15 +464,15 @@ var noImageIcon = "/static/media/default-property.9987f19670be82b6.jpg";
459
464
 
460
465
  var shareIcon = "/static/media/icon_share_1.b9ec05630dc1087e.svg";
461
466
 
462
- var moreIcon = "/static/media/more.1e158adc48fbb406.svg";
467
+ var moreIcon = "/static/media/more.ce14789c8d37e327.svg";
463
468
 
464
- var arrowLeft = "/static/media/card-arrow-left.28090aba4b4f2006.svg";
469
+ var arrowLeft = "/static/media/card-arrow-left.55343410142dad3f.svg";
465
470
 
466
- var arrowRight = "/static/media/card-arrow-right.c60af4cbbd49f3aa.svg";
471
+ var arrowRight = "/static/media/card-arrow-right.60b3bf0e34c1800d.svg";
467
472
 
468
473
  var iconLayers = "/static/media/layer_icon.9b56c187199c44b5.svg";
469
474
 
470
- var immooly = "/static/media/imooly.890e3dd01ea33574.svg";
475
+ var immooly = "/static/media/imooly.b46514ac970e6052.svg";
471
476
 
472
477
  function PropertyCard(props) {
473
478
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -478,11 +483,27 @@ function PropertyCard(props) {
478
483
  var _m = React.useState(false); _m[0]; _m[1];
479
484
  var _o = React.useState(false); _o[0]; _o[1];
480
485
  var _p = React.useState(false), sharePopUp = _p[0], setSharePopUp = _p[1];
486
+ var _q = React.useState(false), isImagePopupOpen = _q[0], setIsImagePopupOpen = _q[1];
481
487
  var pictureUrls = ((_b = (_a = props.property) === null || _a === void 0 ? void 0 : _a.pictures) === null || _b === void 0 ? void 0 : _b.length) > 0
482
- ? props.property.pictures.map(function (picture) { return "".concat(props.baseUrl).concat(picture.contentUrl); })
488
+ ? props.property.pictures
489
+ .filter(function (picture) { return picture.pictureType.id === 2; })
490
+ .map(function (picture) { return "".concat(props.baseUrl).concat(picture.contentUrl); })
483
491
  : [noImageIcon];
484
- var floorPlanOnClick = function () {
485
- props.onFloorPlanClick();
492
+ var floorPlanImages = ((_c = props.property.pictures) === null || _c === void 0 ? void 0 : _c.filter(function (p) { var _a; return ((_a = p.pictureType) === null || _a === void 0 ? void 0 : _a.id) === 1; }).map(function (p, index) { return ({
493
+ url: props.baseUrl + p.contentUrl,
494
+ title: "Floor Plan ".concat(index + 1),
495
+ }); })) || [];
496
+ if (props.property.selectedFloorPlan) {
497
+ floorPlanImages.push({
498
+ url: props.property.selectedFloorPlan,
499
+ title: "Selected Floor Plan",
500
+ });
501
+ }
502
+ var handleFloorPlanButton = function () {
503
+ setIsImagePopupOpen(true);
504
+ if (props.onFloorPlanClick) {
505
+ props.onFloorPlanClick(floorPlanImages);
506
+ }
486
507
  };
487
508
  var handleMessagPopUp = function () {
488
509
  // setMessagPopUp(true);
@@ -490,13 +511,6 @@ function PropertyCard(props) {
490
511
  };
491
512
  var handleSharePopUp = function () {
492
513
  setSharePopUp(true);
493
- // const path = document.querySelector(
494
- // "#root > div:nth-child(3) > div:nth-child(3) > div.d-flex.px-lg-5.px-md-3.flex-column.col-12.filter-section-wrapper.mx-auto.mt-3 > div.mt-2.d-flex.flex-column.gap-4 > div:nth-child(1) > div:nth-child(3) > div > div > div.col-10.mx-auto > div > input"
495
- // );
496
- // console.log(path);
497
- // if (path) {
498
- // path.innerHTML = window.location.href + props.property.id;
499
- // }
500
514
  };
501
515
  var handleArrowClickInMainImage = function (direction) {
502
516
  if (!props.property || pictureUrls.length === 0)
@@ -539,7 +553,7 @@ function PropertyCard(props) {
539
553
  React.createElement("img", { src: arrowRight, style: { right: "16px" } }))),
540
554
  React.createElement("div", { className: "d-flex flex-row align-self-end justify-item-start justify-content-between align-item-start gap-1 mb-2 ms-4", style: { position: "absolute", left: "0" } },
541
555
  React.createElement("div", { className: "cardTag", style: { marginBottom: "16px" } }, "".concat(currentImageIndex + 1, "/").concat(pictureUrls.length)),
542
- React.createElement("div", { className: "Grundriss kontact-button-text ms-2 ", role: "button", onClick: floorPlanOnClick, style: { marginBottom: "16px" } },
556
+ React.createElement("div", { className: "Grundriss kontact-button-text ms-2 ", role: "button", onClick: function () { return handleFloorPlanButton(); }, style: { marginBottom: "16px" } },
543
557
  React.createElement("img", { src: iconLayers, className: "", style: { width: "18px" } }),
544
558
  " ",
545
559
  "Grundriss")))),
@@ -549,7 +563,7 @@ function PropertyCard(props) {
549
563
  React.createElement("span", { className: "propertyTitle align-items-start ", style: {
550
564
  paddingLeft: "32px",
551
565
  paddingTop: "32px",
552
- }, onClick: props.onClick, role: "button" }, (_c = props.property.expose) === null || _c === void 0 ? void 0 : _c.title),
566
+ }, onClick: props.onClick, role: "button" }, (_d = props.property.expose) === null || _d === void 0 ? void 0 : _d.title),
553
567
  React.createElement("div", { className: "d-flex gap-2", style: {
554
568
  paddingRight: "32px",
555
569
  paddingTop: "21px",
@@ -570,7 +584,7 @@ function PropertyCard(props) {
570
584
  paddingRight: "32px",
571
585
  } },
572
586
  React.createElement("span", { className: "priceValue col-lg-4 col-md-4 col-sm-6 " },
573
- formatPrice((_f = (_e = (_d = props.property) === null || _d === void 0 ? void 0 : _d.evaluation) === null || _e === void 0 ? void 0 : _e.askingPrice) !== null && _f !== void 0 ? _f : 0),
587
+ formatPrice((_g = (_f = (_e = props.property) === null || _e === void 0 ? void 0 : _e.evaluation) === null || _f === void 0 ? void 0 : _f.askingPrice) !== null && _g !== void 0 ? _g : 0),
574
588
  " \u20AC",
575
589
  React.createElement("div", { className: "price_label" }, "Kaufpreis")),
576
590
  React.createElement("span", { className: "text-dark value col-lg-5 col-md-5 col-sm-7" },
@@ -578,7 +592,7 @@ function PropertyCard(props) {
578
592
  " m\u00B2",
579
593
  React.createElement("div", { className: "details" }, "Wohnfl\u00E4che")),
580
594
  React.createElement("span", { className: "text-dark value col-lg-4 col-md-3 col-sm-6 text-truncate " },
581
- +((_g = props.property) === null || _g === void 0 ? void 0 : _g.rooms),
595
+ +((_h = props.property) === null || _h === void 0 ? void 0 : _h.rooms),
582
596
  React.createElement("div", { className: "details" }, "Zimmer")),
583
597
  React.createElement("span", { className: "text-dark value col-lg-4 col-md-3 col-sm-4 text-truncate " },
584
598
  +props.property.propertyArea,
@@ -621,9 +635,8 @@ function PropertyCard(props) {
621
635
  React.createElement("span", { className: "kontact-button-text" },
622
636
  "Kontakt aufnehmen",
623
637
  " "))))))),
624
- sharePopUp && (React.createElement(SharePopup, { options: {
625
- override_location: (_h = props === null || props === void 0 ? void 0 : props.options) === null || _h === void 0 ? void 0 : _h.override_share_link,
626
- }, onClick: function () { return setSharePopUp(false); } }))));
638
+ sharePopUp && React.createElement(SharePopup, { onClick: function () { return setSharePopUp(false); } }),
639
+ isImagePopupOpen && (React.createElement(ImageListPopup, { pictureUrls: floorPlanImages, onClose: function () { return setIsImagePopupOpen(false); } }))));
627
640
  }
628
641
 
629
642
  var x = "/static/media/icon_close_2.e41bb9a4db48e048.png";