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