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