nestiq-component-library 1.1.103 → 1.1.104

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];
@@ -541,29 +541,29 @@ function PropertyCard(props) {
541
541
  React.createElement("div", { className: "d-flex " },
542
542
  React.createElement("img", { src: locationIcon, alt: "Location Icon", className: "Vector" }),
543
543
  React.createElement("span", { className: "locationTexts " }, props.property.city || "N/A"))),
544
- React.createElement("div", { className: "d-flex flex-row gap-3 col-6 col-lg-8 justify-content-between ", style: { paddingLeft: "32px", paddingRight: "32px" } },
544
+ React.createElement("div", { className: "d-flex flex-row gap-2 col-6 col-lg-8 justify-content-between ", style: { paddingLeft: "32px", paddingRight: "32px" } },
545
545
  React.createElement("span", { className: "priceValue col-lg-4 col-md-4 col-sm-6 " },
546
546
  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),
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",
553
+ React.createElement("br", null),
554
+ React.createElement("span", { className: "details" },
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),
552
558
  React.createElement("br", null),
553
559
  React.createElement("span", { className: "details" },
554
560
  " ",
555
561
  React.createElement("span", null, "Zimmer"))),
556
562
  React.createElement("span", { className: "text-dark value col-lg-3 col-md-3 col-sm-4 text-truncate " },
557
- +props.property.bathrooms,
558
- React.createElement("br", null),
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,
563
- " m\u00B2",
563
+ +props.property.propertyArea,
564
564
  React.createElement("br", null),
565
565
  React.createElement("span", { className: "details" },
566
- React.createElement("span", null, "Wohnfl\u00E4che")))),
566
+ React.createElement("span", null, "Grundst\u00FCck")))),
567
567
  React.createElement("div", { className: "labelTopClass d-flex top-0 start-0 col-sm-5 col-lg-8 ", style: { paddingLeft: "32px", paddingRight: "32px" } },
568
568
  React.createElement("div", { className: " align-items-center d-flex flex-row gap-3" },
569
569
  props.property.historicalProtection && (React.createElement("label", { className: "thirdLabels justify-content-center align-items-center" },