nestiq-component-library 1.1.103 → 1.1.105

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/index.js CHANGED
@@ -456,14 +456,14 @@ var iconLayers = "/static/media/layer_icon.9b56c187199c44b5.svg";
456
456
  var immooly = "/static/media/imooly.890e3dd01ea33574.svg";
457
457
 
458
458
  function PropertyCard(props) {
459
- var _a, _b, _c, _d, _e, _f;
460
- var _g = React.useState(false); _g[0]; _g[1];
461
- var _h = React.useState(null), mainImage = _h[0], setMainImage = _h[1];
462
- var _j = React.useState(0), currentImageIndex = _j[0], setCurrentImageIndex = _j[1];
459
+ var _a, _b, _c, _d, _e, _f, _g;
460
+ var _h = React.useState(false); _h[0]; _h[1];
461
+ var _j = React.useState(null), mainImage = _j[0], setMainImage = _j[1];
462
+ var _k = React.useState(0), currentImageIndex = _k[0], setCurrentImageIndex = _k[1];
463
463
  var imageListRef = React.useRef(null);
464
- var _k = React.useState(false), floorPlan = _k[0], setFloorPlan = _k[1];
465
- var _l = React.useState(false); _l[0]; _l[1];
466
- var _m = React.useState(false), sharePopUp = _m[0], setSharePopUp = _m[1];
464
+ var _l = React.useState(false), floorPlan = _l[0], setFloorPlan = _l[1];
465
+ var _m = React.useState(false); _m[0]; _m[1];
466
+ var _o = React.useState(false), sharePopUp = _o[0], setSharePopUp = _o[1];
467
467
  var pictureUrls = ((_b = (_a = props.property) === null || _a === void 0 ? void 0 : _a.pictures) === null || _b === void 0 ? void 0 : _b.length) > 0
468
468
  ? props.property.pictures.map(function (picture) { return "".concat(props.baseUrl).concat(picture.contentUrl); })
469
469
  : [noImageIcon];
@@ -547,23 +547,24 @@ function PropertyCard(props) {
547
547
  " \u20AC",
548
548
  React.createElement("br", null),
549
549
  React.createElement("span", { className: "details" }, "Kaufpreis")),
550
- React.createElement("span", { className: "text-dark value col-lg-4 col-md-4 col-sm-6 text-truncate " },
551
- +props.property.rooms,
550
+ React.createElement("span", { className: "text-dark value col-lg-5 col-md-5 col-sm-7 " },
551
+ props.property.constructedArea,
552
+ " m\u00B2",
552
553
  React.createElement("br", null),
553
554
  React.createElement("span", { className: "details" },
554
- " ",
555
- React.createElement("span", null, "Zimmer"))),
556
- React.createElement("span", { className: "text-dark value col-lg-3 col-md-3 col-sm-4 text-truncate " },
557
- +props.property.bathrooms,
555
+ React.createElement("span", null, "Wohnfl\u00E4che"))),
556
+ React.createElement("span", { className: "text-dark value col-lg-4 col-md-3 col-sm-6 text-truncate " },
557
+ +((_g = props.property) === null || _g === void 0 ? void 0 : _g.rooms),
558
558
  React.createElement("br", null),
559
559
  React.createElement("span", { className: "details" },
560
- React.createElement("span", null, "Bad"))),
561
- React.createElement("span", { className: "text-dark value col-lg-5 col-md-5 col-sm-7 " },
562
- props.property.usableArea,
560
+ " ",
561
+ React.createElement("span", null, "Zimmer"))),
562
+ React.createElement("span", { className: "text-dark value col-lg-4 col-md-3 col-sm-4 text-truncate " },
563
+ +props.property.propertyArea,
563
564
  " m\u00B2",
564
565
  React.createElement("br", null),
565
566
  React.createElement("span", { className: "details" },
566
- React.createElement("span", null, "Wohnfl\u00E4che")))),
567
+ React.createElement("span", null, "Grundst\u00FCck")))),
567
568
  React.createElement("div", { className: "labelTopClass d-flex top-0 start-0 col-sm-5 col-lg-8 ", style: { paddingLeft: "32px", paddingRight: "32px" } },
568
569
  React.createElement("div", { className: " align-items-center d-flex flex-row gap-3" },
569
570
  props.property.historicalProtection && (React.createElement("label", { className: "thirdLabels justify-content-center align-items-center" },