nestiq-component-library 1.1.57 → 1.1.59
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/components/MessagePopup/MessagePopUp.d.ts +5 -5
- package/dist/components/NewPropertyCard/NewPropertyCard.d.ts +4 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +116 -160
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +116 -159
- package/dist/index.js.map +1 -1
- package/dist/models/message.model.d.ts +7 -0
- package/package.json +1 -1
- package/rollup.config.mjs +1 -0
- package/src/components/MessagePopup/MessagePopUp.tsx +11 -28
- package/src/components/NewPropertyCard/NewPropertyCard.tsx +17 -47
- package/src/index.tsx +1 -1
- package/src/models/message.model.ts +7 -0
package/dist/index.js
CHANGED
|
@@ -453,174 +453,30 @@ var arrowRight = "/static/media/card-arrow-right.c60af4cbbd49f3aa.svg";
|
|
|
453
453
|
|
|
454
454
|
var iconLayers = "/static/media/layer_icon.9b56c187199c44b5.svg";
|
|
455
455
|
|
|
456
|
-
var x = "/static/media/icon_close_2.e41bb9a4db48e048.png";
|
|
457
|
-
|
|
458
|
-
var mail_icon = "/static/media/mail-icon.176f921aa16b9a3d.png";
|
|
459
|
-
|
|
460
|
-
var css_248z$1 = ".popup-overlay {\r\n position: fixed; /* Fixed position to cover the whole screen */\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */\r\n display: flex; /* Flexbox to center the popup */\r\n justify-content: center; /* Center horizontally */\r\n align-items: center; /* Center vertically */\r\n z-index: 2000; /* Ensure it's above other content */\r\n}\r\n\r\n.shareSection {\r\n height: 340px;\r\n padding: 40px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.popUpHeader {\r\n height: 48px;\r\n font-size: 32px;\r\n font-weight: 600;\r\n color: #1b1b1b;\r\n}\r\n\r\n.closeIcon {\r\n width: 16px;\r\n height: 16px;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconsSection {\r\n gap: 60px !important;\r\n}\r\n\r\n.socialMediaIcons {\r\n width: 28px !important;\r\n height: 28px !important;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconText {\r\n height: 36px;\r\n font-size: 13px;\r\n font-weight: 500;\r\n line-height: 3;\r\n color: #344041;\r\n cursor: pointer;\r\n}\r\n\r\n.popup_search-input {\r\n height: 60px;\r\n padding-inline-end: 190px;\r\n font-size: 20px;\r\n box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: rgba(0, 0, 0, 0.05);\r\n}\r\n\r\n.popup_search-input::placeholder {\r\n font-size: 20px;\r\n color: rgba(140, 140, 140, 0.5);\r\n}\r\n\r\n.popup_search-input:focus {\r\n outline: none;\r\n}\r\n\r\n.popupcustom-button {\r\n height: 35px;\r\n color: #000;\r\n cursor: pointer;\r\n border-color: var(--main-yellow);\r\n right: 0;\r\n z-index: 1;\r\n background-color: var(--main-yellow);\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.button-text {\r\n width: 115px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n}\r\n.button_success-right {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n border-color: #000;\r\n background-color: transparent;\r\n}\r\n.button_success-left {\r\n width: 200px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: var(--main-yellow);\r\n}\r\n.shareSection-Success {\r\n height: 510px;\r\n padding: 40px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.shareSection-Error {\r\n height: 400px;\r\n padding: 10px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.MessageShareSection {\r\n height: 513px;\r\n padding: 14px 14px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n\r\n.popup-tags {\r\n font-size: large;\r\n font-weight: bold;\r\n}\r\n.button_icon-left {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.main_button {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: var(--main-yellow);\r\n}\r\n.button-text {\r\n width: 85px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n}\r\n.button_icon-right {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n border-color: #000;\r\n background-color: transparent;\r\n}\r\n.circle {\r\n height: 55px;\r\n width: 55px;\r\n background-color: transparent;\r\n border-radius: 50%;\r\n border-style: solid;\r\n border-color: #000;\r\n border-width: 2px;\r\n}\r\n.Line-9,\r\n.Line-10 {\r\n height: 1px;\r\n flex-grow: 1;\r\n background-color: rgba(140, 140, 140, 0.5);\r\n max-width: 18rem;\r\n align-self: center;\r\n align-content: center;\r\n}\r\n\r\n.middle-container {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.middle-text {\r\n margin: 25px 25px;\r\n}\r\n.google-button {\r\n width: 260px;\r\n height: 45px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 4px;\r\n background-color: #000000;\r\n background: linear-gradient(to top, #000, #666);\r\n}\r\n.Account-popup {\r\n height: 713px;\r\n padding: 10px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n max-width: 1000px;\r\n}\r\n.lightertxt {\r\n color: #797979;\r\n}\r\n\r\n.filter {\r\n height: 343px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n.loginFilter {\r\n height: 280px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n.radioLabel {\r\n width: 176px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: normal;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: left;\r\n color: #1b1b1b;\r\n}\r\n.goButton-text {\r\n width: 78px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n color: #1b1b1b;\r\n}\r\n.placeholders {\r\n width: 232px;\r\n height: 45px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: flex-start;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 4px;\r\n background-image: linear-gradient(to top, #000 100%, #666 0%);\r\n}\r\n.TagW.active {\r\n height: 40px;\r\n flex-grow: 1;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 0 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-image: linear-gradient(to top, #000, #666);\r\n color: white;\r\n}\r\n.Tag {\r\n height: 40px;\r\n flex-grow: 1;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 0 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-image: linear-gradient(\r\n to top,\r\n rgba(255, 0, 0, 0),\r\n rgba(255, 0, 0, 1)\r\n );\r\n}\r\n.TagW {\r\n height: 40px;\r\n flex-grow: 1;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 0 24px;\r\n border-radius: 16px;\r\n border: solid 1px #000;\r\n background-color: #fff;\r\n color: #000;\r\n}\r\n/* */\r\n@media (min-width: 375px) and (max-width: 667px) {\r\n .Account-popup {\r\n height: 650px !important;\r\n padding: 10px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n width: 90vw;\r\n }\r\n .filter {\r\n height: 260px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n.middle-text {\r\n margin: 5px 25px;\r\n}\r\n.loginFilter {\r\n height: 180px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n}\r\n";
|
|
461
|
-
styleInject(css_248z$1);
|
|
462
|
-
|
|
463
|
-
var icon_checkmark = "/static/media/icon_checkmark.9b48c4a4bc651b08.svg";
|
|
464
|
-
|
|
465
|
-
function SuccessPopUp$1(props) {
|
|
466
|
-
var _a = React.useState(true), showSuccessPopUp = _a[0], setShowSuccessPopUp = _a[1];
|
|
467
|
-
var handleClose = function () {
|
|
468
|
-
props.onClick();
|
|
469
|
-
};
|
|
470
|
-
var handleSendMessage = function () {
|
|
471
|
-
setShowSuccessPopUp(false);
|
|
472
|
-
};
|
|
473
|
-
return (React.createElement("div", null, showSuccessPopUp && (React.createElement("div", { className: "popup-overlay" },
|
|
474
|
-
React.createElement("div", { className: "shareSection-Success d-flex flex-column col-7 " },
|
|
475
|
-
React.createElement("img", { src: x$1, alt: "close", className: "closeIcon d-flex flex-column align-self-end ms-5 ", onClick: handleClose }),
|
|
476
|
-
React.createElement("div", { className: " d-flex flex-column align-self-center ms-5 " },
|
|
477
|
-
React.createElement("img", { src: icon_checkmark, alt: "facebook", className: " mb-4" })),
|
|
478
|
-
React.createElement("div", { className: "popUpHeader d-flex flex-column col- text-center text-wrap mb-5 align-self-center" },
|
|
479
|
-
React.createElement("span", null, " Herzlichen Gl\u00FCckwunsch! "),
|
|
480
|
-
React.createElement("span", null, " Deine Nachricht wurde erfolgreich gesendet. ")),
|
|
481
|
-
React.createElement("div", { className: "d-flex flex-column mt-4 mb-4" },
|
|
482
|
-
React.createElement("span", { className: "text-center ms-5 text-wrap" }, "Neben vielen weiteren Einstellungen und Aktionen kannst du die Antwort auf deine Nachricht in deinem Control Center einsehen, sobald der Verk\u00E4ufer darauf reagiert hat.")),
|
|
483
|
-
React.createElement("div", { className: " d-flex flex-row align-self-center " },
|
|
484
|
-
React.createElement("button", { className: "d-flex button_success-left col-sm-5 border-0 rounded-4", type: "button", id: "button", onClick: handleSendMessage },
|
|
485
|
-
React.createElement("strong", null, " Zum Control Center")),
|
|
486
|
-
React.createElement("button", { className: "button_success-right col-sm-3 border-1 ms-3 rounded-4", type: "button", id: "button" },
|
|
487
|
-
React.createElement("strong", null, "Abbrechen"))))))));
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
var warning = "/static/media/warning.6f99cb4c6a048b47.svg";
|
|
491
|
-
|
|
492
|
-
function SuccessPopUp(props) {
|
|
493
|
-
var handleClose = function () {
|
|
494
|
-
props.onClick();
|
|
495
|
-
};
|
|
496
|
-
return (React.createElement("div", { className: "popup-overlay" },
|
|
497
|
-
React.createElement("div", { className: "shareSection-Error d-flex flex-column col-6 " },
|
|
498
|
-
React.createElement("img", { src: x, alt: "close", className: "closeIcon d-flex flex-column align-self-end ms-5 ", onClick: handleClose }),
|
|
499
|
-
React.createElement("div", { className: " d-flex flex-column align-self-center ms-5 " },
|
|
500
|
-
React.createElement("img", { src: warning, alt: "facebook", className: " mb-4" })),
|
|
501
|
-
React.createElement("div", { className: "popUpHeader d-flex flex-column col- text-center text-wrap mb-1 align-self-center" },
|
|
502
|
-
React.createElement("span", null, " Oops! Etwas ist schiefgelaufen.")),
|
|
503
|
-
React.createElement("div", { className: "d-flex flex-column mt-4 mb-4" },
|
|
504
|
-
React.createElement("span", { className: "text-center ms-5 text-wrap" }, "Beim Senden deiner Nachricht ist ein Fehler aufgetreten. Wenn das Problem weiterhin besteht, kontaktiere uns unter support@nestiq.de")),
|
|
505
|
-
React.createElement("div", { className: " d-flex flex-row align-self-center " },
|
|
506
|
-
React.createElement("button", { className: "d-flex button_success-left col-sm-5 border-0 rounded-4", type: "button", id: "button" },
|
|
507
|
-
React.createElement("strong", null, " Erneut versuchen")),
|
|
508
|
-
React.createElement("button", { className: "button_success-right w-50 border-1 ms-3 rounded-4", type: "button", id: "button" },
|
|
509
|
-
React.createElement("strong", null, " Support kontaktieren"))))));
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
var css_248z = ".popup-overlay {\r\n position: fixed; /* Fixed position to cover the whole screen */\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */\r\n display: flex; /* Flexbox to center the popup */\r\n justify-content: center; /* Center horizontally */\r\n align-items: center; /* Center vertically */\r\n z-index: 9998; /* Ensure it's above other content */\r\n}\r\n\r\n.MessageShareSections {\r\n height: 550px;\r\n padding: 10px 14px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.popUpHeader {\r\n height: 48px;\r\n font-size: 32px;\r\n font-weight: 600;\r\n color: #1b1b1b;\r\n}\r\n\r\n.closeIcon {\r\n width: 16px;\r\n height: 16px;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconsSection {\r\n gap: 60px !important;\r\n}\r\n\r\n.socialMediaIcons {\r\n width: 28px !important;\r\n height: 28px !important;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconText {\r\n height: 36px;\r\n font-size: 13px;\r\n font-weight: 500;\r\n line-height: 3;\r\n color: #344041;\r\n cursor: pointer;\r\n}\r\n\r\n.popup_search-input {\r\n height: 60px;\r\n padding-inline-end: 190px;\r\n font-size: 20px;\r\n box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: rgba(0, 0, 0, 0.05);\r\n}\r\n\r\n.popup_search-input::placeholder {\r\n font-size: 20px;\r\n color: rgba(140, 140, 140, 0.5);\r\n}\r\n\r\n.popup_search-input:focus {\r\n outline: none;\r\n}\r\n\r\n.popupcustom-button {\r\n height: 35px;\r\n color: #000;\r\n cursor: pointer;\r\n border-color: var(--main-yellow);\r\n right: 0;\r\n z-index: 1;\r\n background-color: var(--main-yellow);\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.popup-tags {\r\n font-size: large;\r\n font-weight: bold;\r\n}\r\n.button_icon-left {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.button-text {\r\n width: 85px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n}\r\n.button_icon-right {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n border-color: #000;\r\n background-color: transparent;\r\n}\r\n.circle {\r\n height: 55px;\r\n width: 55px;\r\n background-color: transparent;\r\n border-radius: 50%;\r\n border-style: solid;\r\n border-color: #000;\r\n border-width: 2px;\r\n align-content: center;\r\n justify-content: center;\r\n justify-items: center;\r\n justify-self: center;\r\n}\r\n@media (min-width: 375px) and (max-width: 667px) {\r\n .popup-overlay {\r\n /* Fixed position to cover the whole screen */\r\n\r\n background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */\r\n display: flex; /* Flexbox to center the popup */\r\n\r\n z-index: 9998; /* Ensure it's above other content */\r\n }\r\n\r\n .MessageShareSections {\r\n height: 650px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n }\r\n .button_icon-left {\r\n width: 90px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n }\r\n .button-text {\r\n width: 85px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n }\r\n .button_icon-right {\r\n width: 184px;\r\n }\r\n .circle {\r\n height: 55px;\r\n width: 55px;\r\n background-color: transparent;\r\n border-radius: 50%;\r\n border-style: solid;\r\n border-color: #000;\r\n border-width: 2px;\r\n }\r\n .button_icon-left {\r\n width: 184px;\r\n }\r\n}\r\n";
|
|
513
|
-
styleInject(css_248z);
|
|
514
|
-
|
|
515
|
-
function MessagePopUp(props) {
|
|
516
|
-
var _a = React.useState(); _a[0]; _a[1];
|
|
517
|
-
var _b = React.useState(false), showSuccessPopUp = _b[0], setShowSuccessPopUp = _b[1];
|
|
518
|
-
var _c = React.useState(false), showErrorPopUp = _c[0], setShowErrorPopUp = _c[1];
|
|
519
|
-
var _d = React.useState(""), themeId = _d[0], setThemeId = _d[1];
|
|
520
|
-
var _e = React.useState(""), subject = _e[0], setSubject = _e[1];
|
|
521
|
-
var _f = React.useState(""), messageText = _f[0], setMessageText = _f[1];
|
|
522
|
-
var _g = React.useState(""), firstName = _g[0], setFirstName = _g[1];
|
|
523
|
-
var _h = React.useState(""), lastName = _h[0], setLastName = _h[1];
|
|
524
|
-
var handleClose = function () {
|
|
525
|
-
props.onClick();
|
|
526
|
-
};
|
|
527
|
-
function handleSendMessage() {
|
|
528
|
-
props.sendDataToParent(themeId, subject, messageText, firstName, lastName);
|
|
529
|
-
console.log("message sent", themeId, subject, messageText, firstName, lastName);
|
|
530
|
-
}
|
|
531
|
-
React.useEffect(function () {
|
|
532
|
-
var user = JSON.parse(localStorage.getItem("user") || "{}");
|
|
533
|
-
if (user) {
|
|
534
|
-
setFirstName(user.firstname || "");
|
|
535
|
-
setLastName(user.lastname || "");
|
|
536
|
-
}
|
|
537
|
-
else if (!user) {
|
|
538
|
-
console.log("no user");
|
|
539
|
-
}
|
|
540
|
-
}, []);
|
|
541
|
-
return (React.createElement("div", null,
|
|
542
|
-
React.createElement("div", { className: "popup-overlay" },
|
|
543
|
-
React.createElement("div", { className: "MessageShareSections d-flex flex-column col-10 col-lg-7" },
|
|
544
|
-
React.createElement("img", { src: x, alt: "close", className: "closeIcon d-flex flex-column align-self-end", onClick: handleClose }),
|
|
545
|
-
React.createElement("div", { className: "" },
|
|
546
|
-
React.createElement("div", { className: "d-flex ms-md-5 mb-4" },
|
|
547
|
-
React.createElement("div", { className: "circle align-self-center ms-md-2 me-4" },
|
|
548
|
-
React.createElement("img", { src: mail_icon, alt: "email", className: "align-self-center", style: {
|
|
549
|
-
alignSelf: "center",
|
|
550
|
-
justifyContent: "center",
|
|
551
|
-
margin: "14px",
|
|
552
|
-
width: "25px",
|
|
553
|
-
height: "20px",
|
|
554
|
-
} })),
|
|
555
|
-
React.createElement("div", { className: "popUpHeader d-flex flex-column text-wrap mb-md-1 " },
|
|
556
|
-
"Nachricht senden ",
|
|
557
|
-
firstName,
|
|
558
|
-
" ",
|
|
559
|
-
lastName)),
|
|
560
|
-
React.createElement("div", { className: "d-flex flex-md-row flex-column ms-md-5 mt-md-0 " },
|
|
561
|
-
React.createElement("div", { className: "d-flex flex-column mt-md-0 mt-4 col me-4 w-100 align-self-start justify-content-start" },
|
|
562
|
-
React.createElement("span", { className: "popup-tags mb-2" }, "Betreff:*"),
|
|
563
|
-
React.createElement("div", null,
|
|
564
|
-
React.createElement("select", { name: "theme", id: "theme", className: "mb-md-4 col-md-11 col-12", style: { height: "42px" }, value: themeId, onChange: function (e) { return setThemeId(e.target.value); } },
|
|
565
|
-
React.createElement("option", { value: "" }, "Select a theme"),
|
|
566
|
-
props.themesList.map(function (theme) { return (React.createElement("option", { key: theme.id, value: theme.id }, theme.name)); })))),
|
|
567
|
-
React.createElement("div", { className: "d-flex flex-column mt-md-4 col me-4 w-100" },
|
|
568
|
-
React.createElement("div", null),
|
|
569
|
-
React.createElement("textarea", { className: "popup_textarea col-12 col-md-10 mb-md-0 mt-2 ", placeholder: "Betreff deiner Nachricht", style: { height: "42px" }, value: subject, onChange: function (e) { return setSubject(e.target.value); } }))),
|
|
570
|
-
React.createElement("div", { className: "d-flex flex-column col ms-md-5 me-md-4" },
|
|
571
|
-
React.createElement("span", { className: "popup-tags mb-2 " }, "Deine Nachricht:*"),
|
|
572
|
-
React.createElement("textarea", { className: "popup_textarea mb-md-4 col-md-11 col-12 ", placeholder: "Deine Nachricht hier...", value: messageText, onChange: function (e) { return setMessageText(e.target.value); } })),
|
|
573
|
-
React.createElement("div", { className: "d-flex flex-md-row flex-column ms-md-5 " },
|
|
574
|
-
React.createElement("div", { className: "d-flex flex-column col me-4 w-100" },
|
|
575
|
-
React.createElement("span", { className: "popup-tags mb-2" }, "Vorname:"),
|
|
576
|
-
React.createElement("input", { className: "popup_textarea mb-md-4 col-12 col-md-11", placeholder: "Dein Vorname", type: "text", value: firstName, onChange: function (e) { return setFirstName(e.target.value); }, style: { height: "42px" } })),
|
|
577
|
-
React.createElement("div", { className: "d-flex flex-column me-4 w-100 col " },
|
|
578
|
-
React.createElement("span", { className: "popup-tags mb-2" }, "Nachname:"),
|
|
579
|
-
React.createElement("input", { className: "popup_textarea col-12 mb-4 col-md-10", placeholder: "Dein Nachname", type: "text", value: lastName, onChange: function (e) { return setLastName(e.target.value); }, style: { height: "42px" } }))),
|
|
580
|
-
React.createElement("div", { className: "d-flex gap-md-3 gap-3 flex-md-row flex-column align-self-center justify-content-center mb-4 mt-md-2" },
|
|
581
|
-
React.createElement("button", { className: "main_button border-0 rounded-4 align-self-center ", type: "button", id: "button", onClick: handleSendMessage },
|
|
582
|
-
React.createElement("strong", null, "Nachricht senden")),
|
|
583
|
-
React.createElement("button", { className: "button_icon-right border-1 col-sm-3 align-self-center" },
|
|
584
|
-
React.createElement("strong", null, "Abbrechen")))))),
|
|
585
|
-
showSuccessPopUp && (React.createElement(SuccessPopUp$1, { onClick: function () { return setShowSuccessPopUp(false); } })),
|
|
586
|
-
showErrorPopUp && (React.createElement(SuccessPopUp, { onClick: function () { return setShowErrorPopUp(false); } }))));
|
|
587
|
-
}
|
|
588
|
-
|
|
589
456
|
function PropertyCard(props) {
|
|
590
|
-
var _a, _b, _c, _d, _e, _f
|
|
591
|
-
var
|
|
592
|
-
var
|
|
593
|
-
var
|
|
457
|
+
var _a, _b, _c, _d, _e, _f;
|
|
458
|
+
var _g = React.useState(false); _g[0]; _g[1];
|
|
459
|
+
var _h = React.useState(null), mainImage = _h[0], setMainImage = _h[1];
|
|
460
|
+
var _j = React.useState(0), currentImageIndex = _j[0], setCurrentImageIndex = _j[1];
|
|
594
461
|
var imageListRef = React.useRef(null);
|
|
595
|
-
var
|
|
596
|
-
var
|
|
597
|
-
var
|
|
598
|
-
var _p = React.useState(""); _p[0]; var setThemeId = _p[1];
|
|
599
|
-
var _q = React.useState(""); _q[0]; var setSubject = _q[1];
|
|
600
|
-
var _r = React.useState(""); _r[0]; var setMessageText = _r[1];
|
|
601
|
-
var _s = React.useState(""); _s[0]; var setFirstName = _s[1];
|
|
602
|
-
var _t = React.useState(""); _t[0]; var setLastName = _t[1];
|
|
462
|
+
var _k = React.useState(false), floorPlan = _k[0], setFloorPlan = _k[1];
|
|
463
|
+
var _l = React.useState(false); _l[0]; _l[1];
|
|
464
|
+
var _m = React.useState(false); _m[0]; var setSharePopUp = _m[1];
|
|
603
465
|
var pictureUrls = ((_b = (_a = props.property) === null || _a === void 0 ? void 0 : _a.pictures) === null || _b === void 0 ? void 0 : _b.length) > 0
|
|
604
466
|
? props.property.pictures.map(function (picture) { return "".concat(props.baseUrl).concat(picture.contentUrl); })
|
|
605
467
|
: [noImageIcon];
|
|
606
468
|
var floorPlanOnClick = function () {
|
|
607
|
-
|
|
469
|
+
if (props.floorPlanUrl) {
|
|
470
|
+
setFloorPlan(true);
|
|
471
|
+
}
|
|
608
472
|
};
|
|
609
473
|
var handleMessagPopUp = function () {
|
|
610
|
-
setMessagPopUp(true);
|
|
611
|
-
|
|
474
|
+
// setMessagPopUp(true);
|
|
475
|
+
props.messageOnClick();
|
|
612
476
|
};
|
|
613
477
|
var handleSharePopUp = function () {
|
|
614
478
|
setSharePopUp(true);
|
|
615
|
-
console.log("sharePopUp", sharePopUp);
|
|
616
479
|
};
|
|
617
|
-
function handleDataFromChild(firstName, lastName, themeId, subject, messageText) {
|
|
618
|
-
setFirstName(firstName);
|
|
619
|
-
setLastName(lastName);
|
|
620
|
-
setThemeId(themeId);
|
|
621
|
-
setSubject(subject);
|
|
622
|
-
setMessageText(messageText);
|
|
623
|
-
}
|
|
624
480
|
var handleArrowClickInMainImage = function (direction) {
|
|
625
481
|
if (!props.property || pictureUrls.length === 0)
|
|
626
482
|
return;
|
|
@@ -724,9 +580,109 @@ function PropertyCard(props) {
|
|
|
724
580
|
React.createElement("span", null, "McGrath"),
|
|
725
581
|
React.createElement("button", { className: "kontactbutton text-light ", onClick: handleMessagPopUp, role: "button" },
|
|
726
582
|
React.createElement("span", { className: "kontact-button-text" }, "Kontakt aufnehmen "))))),
|
|
727
|
-
floorPlan && (React.createElement(FloorPlanPopup, { contentUrl:
|
|
728
|
-
|
|
729
|
-
|
|
583
|
+
floorPlan && (React.createElement(FloorPlanPopup, { contentUrl: props.floorPlanUrl, onCloseClick: function () { return setFloorPlan(false); } }))));
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
var x = "/static/media/icon_close_2.e41bb9a4db48e048.png";
|
|
587
|
+
|
|
588
|
+
var mail_icon = "/static/media/mail-icon.176f921aa16b9a3d.png";
|
|
589
|
+
|
|
590
|
+
var css_248z$1 = ".popup-overlay {\r\n position: fixed; /* Fixed position to cover the whole screen */\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */\r\n display: flex; /* Flexbox to center the popup */\r\n justify-content: center; /* Center horizontally */\r\n align-items: center; /* Center vertically */\r\n z-index: 9998; /* Ensure it's above other content */\r\n}\r\n\r\n.MessageShareSections {\r\n height: 550px;\r\n padding: 10px 14px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.popUpHeader {\r\n height: 48px;\r\n font-size: 32px;\r\n font-weight: 600;\r\n color: #1b1b1b;\r\n}\r\n\r\n.closeIcon {\r\n width: 16px;\r\n height: 16px;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconsSection {\r\n gap: 60px !important;\r\n}\r\n\r\n.socialMediaIcons {\r\n width: 28px !important;\r\n height: 28px !important;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconText {\r\n height: 36px;\r\n font-size: 13px;\r\n font-weight: 500;\r\n line-height: 3;\r\n color: #344041;\r\n cursor: pointer;\r\n}\r\n\r\n.popup_search-input {\r\n height: 60px;\r\n padding-inline-end: 190px;\r\n font-size: 20px;\r\n box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: rgba(0, 0, 0, 0.05);\r\n}\r\n\r\n.popup_search-input::placeholder {\r\n font-size: 20px;\r\n color: rgba(140, 140, 140, 0.5);\r\n}\r\n\r\n.popup_search-input:focus {\r\n outline: none;\r\n}\r\n\r\n.popupcustom-button {\r\n height: 35px;\r\n color: #000;\r\n cursor: pointer;\r\n border-color: var(--main-yellow);\r\n right: 0;\r\n z-index: 1;\r\n background-color: var(--main-yellow);\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.popup-tags {\r\n font-size: large;\r\n font-weight: bold;\r\n}\r\n.button_icon-left {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.button-text {\r\n width: 85px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n}\r\n.button_icon-right {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n border-color: #000;\r\n background-color: transparent;\r\n}\r\n.circle {\r\n height: 55px;\r\n width: 55px;\r\n background-color: transparent;\r\n border-radius: 50%;\r\n border-style: solid;\r\n border-color: #000;\r\n border-width: 2px;\r\n align-content: center;\r\n justify-content: center;\r\n justify-items: center;\r\n justify-self: center;\r\n}\r\n@media (min-width: 375px) and (max-width: 667px) {\r\n .popup-overlay {\r\n /* Fixed position to cover the whole screen */\r\n\r\n background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */\r\n display: flex; /* Flexbox to center the popup */\r\n\r\n z-index: 9998; /* Ensure it's above other content */\r\n }\r\n\r\n .MessageShareSections {\r\n height: 650px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n }\r\n .button_icon-left {\r\n width: 90px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n }\r\n .button-text {\r\n width: 85px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n }\r\n .button_icon-right {\r\n width: 184px;\r\n }\r\n .circle {\r\n height: 55px;\r\n width: 55px;\r\n background-color: transparent;\r\n border-radius: 50%;\r\n border-style: solid;\r\n border-color: #000;\r\n border-width: 2px;\r\n }\r\n .button_icon-left {\r\n width: 184px;\r\n }\r\n}\r\n";
|
|
591
|
+
styleInject(css_248z$1);
|
|
592
|
+
|
|
593
|
+
function MessagePopUp(props) {
|
|
594
|
+
var _a = React.useState(""), themeId = _a[0], setThemeId = _a[1];
|
|
595
|
+
var _b = React.useState(""), subject = _b[0], setSubject = _b[1];
|
|
596
|
+
var _c = React.useState(""), messageText = _c[0], setMessageText = _c[1];
|
|
597
|
+
var _d = React.useState(""), firstName = _d[0], setFirstName = _d[1];
|
|
598
|
+
var _e = React.useState(""), lastName = _e[0], setLastName = _e[1];
|
|
599
|
+
var handleClose = function () {
|
|
600
|
+
props.onCloseClick();
|
|
601
|
+
};
|
|
602
|
+
function handleSendMessage() {
|
|
603
|
+
props.onSubmit({ themeId: themeId, subject: subject, messageText: messageText, firstName: firstName, lastName: lastName });
|
|
604
|
+
}
|
|
605
|
+
React.useEffect(function () {
|
|
606
|
+
var user = JSON.parse(localStorage.getItem("user") || "{}");
|
|
607
|
+
if (user) {
|
|
608
|
+
setFirstName(user.firstname || "");
|
|
609
|
+
setLastName(user.lastname || "");
|
|
610
|
+
}
|
|
611
|
+
}, []);
|
|
612
|
+
return (React.createElement("div", null,
|
|
613
|
+
React.createElement("div", { className: "popup-overlay" },
|
|
614
|
+
React.createElement("div", { className: "MessageShareSections d-flex flex-column col-10 col-lg-7" },
|
|
615
|
+
React.createElement("img", { src: x, alt: "close", className: "closeIcon d-flex flex-column align-self-end", onClick: handleClose }),
|
|
616
|
+
React.createElement("div", { className: "" },
|
|
617
|
+
React.createElement("div", { className: "d-flex ms-md-5 mb-4" },
|
|
618
|
+
React.createElement("div", { className: "circle align-self-center ms-md-2 me-4" },
|
|
619
|
+
React.createElement("img", { src: mail_icon, alt: "email", className: "align-self-center", style: {
|
|
620
|
+
alignSelf: "center",
|
|
621
|
+
justifyContent: "center",
|
|
622
|
+
margin: "14px",
|
|
623
|
+
width: "25px",
|
|
624
|
+
height: "20px",
|
|
625
|
+
} })),
|
|
626
|
+
React.createElement("div", { className: "popUpHeader d-flex flex-column text-wrap mb-md-1 " },
|
|
627
|
+
"Nachricht senden ",
|
|
628
|
+
props.sellerFirstName,
|
|
629
|
+
" ",
|
|
630
|
+
props.sellerLastName)),
|
|
631
|
+
React.createElement("div", { className: "d-flex flex-md-row flex-column ms-md-5 mt-md-0 " },
|
|
632
|
+
React.createElement("div", { className: "d-flex flex-column mt-md-0 mt-4 col me-4 w-100 align-self-start justify-content-start" },
|
|
633
|
+
React.createElement("span", { className: "popup-tags mb-2" }, "Betreff:*"),
|
|
634
|
+
React.createElement("div", null,
|
|
635
|
+
React.createElement("select", { name: "theme", id: "theme", className: "mb-md-4 col-md-11 col-12", style: { height: "42px" }, value: themeId, onChange: function (e) { return setThemeId(e.target.value); } },
|
|
636
|
+
React.createElement("option", { value: "" }, "Select a theme"),
|
|
637
|
+
props.themesList.map(function (theme) { return (React.createElement("option", { key: theme.id, value: theme.id }, theme.name)); })))),
|
|
638
|
+
React.createElement("div", { className: "d-flex flex-column mt-md-4 col me-4 w-100" },
|
|
639
|
+
React.createElement("div", null),
|
|
640
|
+
React.createElement("textarea", { className: "popup_textarea col-12 col-md-10 mb-md-0 mt-2 ", placeholder: "Betreff deiner Nachricht", style: { height: "42px" }, value: subject, onChange: function (e) { return setSubject(e.target.value); } }))),
|
|
641
|
+
React.createElement("div", { className: "d-flex flex-column col ms-md-5 me-md-4" },
|
|
642
|
+
React.createElement("span", { className: "popup-tags mb-2 " }, "Deine Nachricht:*"),
|
|
643
|
+
React.createElement("textarea", { className: "popup_textarea mb-md-4 col-md-11 col-12 ", placeholder: "Deine Nachricht hier...", value: messageText, onChange: function (e) { return setMessageText(e.target.value); } })),
|
|
644
|
+
React.createElement("div", { className: "d-flex flex-md-row flex-column ms-md-5 " },
|
|
645
|
+
React.createElement("div", { className: "d-flex flex-column col me-4 w-100" },
|
|
646
|
+
React.createElement("span", { className: "popup-tags mb-2" }, "Vorname:"),
|
|
647
|
+
React.createElement("input", { className: "popup_textarea mb-md-4 col-12 col-md-11", placeholder: "Dein Vorname", type: "text", value: firstName, onChange: function (e) { return setFirstName(e.target.value); }, style: { height: "42px" } })),
|
|
648
|
+
React.createElement("div", { className: "d-flex flex-column me-4 w-100 col " },
|
|
649
|
+
React.createElement("span", { className: "popup-tags mb-2" }, "Nachname:"),
|
|
650
|
+
React.createElement("input", { className: "popup_textarea col-12 mb-4 col-md-10", placeholder: "Dein Nachname", type: "text", value: lastName, onChange: function (e) { return setLastName(e.target.value); }, style: { height: "42px" } }))),
|
|
651
|
+
React.createElement("div", { className: "d-flex gap-md-3 gap-3 flex-md-row flex-column align-self-center justify-content-center mb-4 mt-md-2" },
|
|
652
|
+
React.createElement("button", { className: "main_button border-0 rounded-4 align-self-center ", type: "button", id: "button", onClick: handleSendMessage },
|
|
653
|
+
React.createElement("strong", null, "Nachricht senden")),
|
|
654
|
+
React.createElement("button", { className: "button_icon-right border-1 col-sm-3 align-self-center" },
|
|
655
|
+
React.createElement("strong", null, "Abbrechen"))))))));
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
var css_248z = ".popup-overlay {\r\n position: fixed; /* Fixed position to cover the whole screen */\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */\r\n display: flex; /* Flexbox to center the popup */\r\n justify-content: center; /* Center horizontally */\r\n align-items: center; /* Center vertically */\r\n z-index: 2000; /* Ensure it's above other content */\r\n}\r\n\r\n.shareSection {\r\n height: 340px;\r\n padding: 40px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.popUpHeader {\r\n height: 48px;\r\n font-size: 32px;\r\n font-weight: 600;\r\n color: #1b1b1b;\r\n}\r\n\r\n.closeIcon {\r\n width: 16px;\r\n height: 16px;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconsSection {\r\n gap: 60px !important;\r\n}\r\n\r\n.socialMediaIcons {\r\n width: 28px !important;\r\n height: 28px !important;\r\n cursor: pointer;\r\n}\r\n\r\n.socialMediaIconText {\r\n height: 36px;\r\n font-size: 13px;\r\n font-weight: 500;\r\n line-height: 3;\r\n color: #344041;\r\n cursor: pointer;\r\n}\r\n\r\n.popup_search-input {\r\n height: 60px;\r\n padding-inline-end: 190px;\r\n font-size: 20px;\r\n box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: rgba(0, 0, 0, 0.05);\r\n}\r\n\r\n.popup_search-input::placeholder {\r\n font-size: 20px;\r\n color: rgba(140, 140, 140, 0.5);\r\n}\r\n\r\n.popup_search-input:focus {\r\n outline: none;\r\n}\r\n\r\n.popupcustom-button {\r\n height: 35px;\r\n color: #000;\r\n cursor: pointer;\r\n border-color: var(--main-yellow);\r\n right: 0;\r\n z-index: 1;\r\n background-color: var(--main-yellow);\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.button-text {\r\n width: 115px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n}\r\n.button_success-right {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n border-color: #000;\r\n background-color: transparent;\r\n}\r\n.button_success-left {\r\n width: 200px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: var(--main-yellow);\r\n}\r\n.shareSection-Success {\r\n height: 510px;\r\n padding: 40px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.shareSection-Error {\r\n height: 400px;\r\n padding: 10px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n.MessageShareSection {\r\n height: 513px;\r\n padding: 14px 14px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n}\r\n\r\n.popup-tags {\r\n font-size: large;\r\n font-weight: bold;\r\n}\r\n.button_icon-left {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n.main_button {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-color: var(--main-yellow);\r\n}\r\n.button-text {\r\n width: 85px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n}\r\n.button_icon-right {\r\n width: 184px;\r\n height: 43px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 16px;\r\n border-color: #000;\r\n background-color: transparent;\r\n}\r\n.circle {\r\n height: 55px;\r\n width: 55px;\r\n background-color: transparent;\r\n border-radius: 50%;\r\n border-style: solid;\r\n border-color: #000;\r\n border-width: 2px;\r\n}\r\n.Line-9,\r\n.Line-10 {\r\n height: 1px;\r\n flex-grow: 1;\r\n background-color: rgba(140, 140, 140, 0.5);\r\n max-width: 18rem;\r\n align-self: center;\r\n align-content: center;\r\n}\r\n\r\n.middle-container {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.middle-text {\r\n margin: 25px 25px;\r\n}\r\n.google-button {\r\n width: 260px;\r\n height: 45px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 4px;\r\n background-color: #000000;\r\n background: linear-gradient(to top, #000, #666);\r\n}\r\n.Account-popup {\r\n height: 713px;\r\n padding: 10px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n max-width: 1000px;\r\n}\r\n.lightertxt {\r\n color: #797979;\r\n}\r\n\r\n.filter {\r\n height: 343px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n.loginFilter {\r\n height: 280px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n.radioLabel {\r\n width: 176px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: normal;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: left;\r\n color: #1b1b1b;\r\n}\r\n.goButton-text {\r\n width: 78px;\r\n height: 19px;\r\n flex-grow: 0;\r\n font-family: Inter;\r\n font-size: 16px;\r\n font-weight: 500;\r\n font-stretch: normal;\r\n font-style: normal;\r\n line-height: normal;\r\n letter-spacing: normal;\r\n text-align: center;\r\n color: #1b1b1b;\r\n}\r\n.placeholders {\r\n width: 232px;\r\n height: 45px;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: flex-start;\r\n align-items: center;\r\n gap: 8px;\r\n padding: 12px 24px;\r\n border-radius: 4px;\r\n background-image: linear-gradient(to top, #000 100%, #666 0%);\r\n}\r\n.TagW.active {\r\n height: 40px;\r\n flex-grow: 1;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 0 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-image: linear-gradient(to top, #000, #666);\r\n color: white;\r\n}\r\n.Tag {\r\n height: 40px;\r\n flex-grow: 1;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 0 24px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n background-image: linear-gradient(\r\n to top,\r\n rgba(255, 0, 0, 0),\r\n rgba(255, 0, 0, 1)\r\n );\r\n}\r\n.TagW {\r\n height: 40px;\r\n flex-grow: 1;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 0 24px;\r\n border-radius: 16px;\r\n border: solid 1px #000;\r\n background-color: #fff;\r\n color: #000;\r\n}\r\n/* */\r\n@media (min-width: 375px) and (max-width: 667px) {\r\n .Account-popup {\r\n height: 650px !important;\r\n padding: 10px;\r\n border-radius: 16px;\r\n box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);\r\n border: solid 1px #d7d9e3;\r\n background-color: #fff;\r\n width: 90vw;\r\n }\r\n .filter {\r\n height: 260px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n.middle-text {\r\n margin: 5px 25px;\r\n}\r\n.loginFilter {\r\n height: 180px;\r\n align-self: stretch;\r\n flex-grow: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 2px;\r\n padding: 32px;\r\n border-radius: 32px;\r\n box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);\r\n background-color: #f2f2f2;\r\n}\r\n}\r\n";
|
|
659
|
+
styleInject(css_248z);
|
|
660
|
+
|
|
661
|
+
var icon_checkmark = "/static/media/icon_checkmark.9b48c4a4bc651b08.svg";
|
|
662
|
+
|
|
663
|
+
function SuccessPopUp(props) {
|
|
664
|
+
var _a = React.useState(true), showSuccessPopUp = _a[0], setShowSuccessPopUp = _a[1];
|
|
665
|
+
var handleClose = function () {
|
|
666
|
+
props.onClick();
|
|
667
|
+
};
|
|
668
|
+
var handleSendMessage = function () {
|
|
669
|
+
setShowSuccessPopUp(false);
|
|
670
|
+
};
|
|
671
|
+
return (React.createElement("div", null, showSuccessPopUp && (React.createElement("div", { className: "popup-overlay" },
|
|
672
|
+
React.createElement("div", { className: "shareSection-Success d-flex flex-column col-7 " },
|
|
673
|
+
React.createElement("img", { src: x$1, alt: "close", className: "closeIcon d-flex flex-column align-self-end ms-5 ", onClick: handleClose }),
|
|
674
|
+
React.createElement("div", { className: " d-flex flex-column align-self-center ms-5 " },
|
|
675
|
+
React.createElement("img", { src: icon_checkmark, alt: "facebook", className: " mb-4" })),
|
|
676
|
+
React.createElement("div", { className: "popUpHeader d-flex flex-column col- text-center text-wrap mb-5 align-self-center" },
|
|
677
|
+
React.createElement("span", null, " Herzlichen Gl\u00FCckwunsch! "),
|
|
678
|
+
React.createElement("span", null, " Deine Nachricht wurde erfolgreich gesendet. ")),
|
|
679
|
+
React.createElement("div", { className: "d-flex flex-column mt-4 mb-4" },
|
|
680
|
+
React.createElement("span", { className: "text-center ms-5 text-wrap" }, "Neben vielen weiteren Einstellungen und Aktionen kannst du die Antwort auf deine Nachricht in deinem Control Center einsehen, sobald der Verk\u00E4ufer darauf reagiert hat.")),
|
|
681
|
+
React.createElement("div", { className: " d-flex flex-row align-self-center " },
|
|
682
|
+
React.createElement("button", { className: "d-flex button_success-left col-sm-5 border-0 rounded-4", type: "button", id: "button", onClick: handleSendMessage },
|
|
683
|
+
React.createElement("strong", null, " Zum Control Center")),
|
|
684
|
+
React.createElement("button", { className: "button_success-right col-sm-3 border-1 ms-3 rounded-4", type: "button", id: "button" },
|
|
685
|
+
React.createElement("strong", null, "Abbrechen"))))))));
|
|
730
686
|
}
|
|
731
687
|
|
|
732
688
|
// Utility function to show a toast
|
|
@@ -745,6 +701,7 @@ exports.PropertyCard = PropertyCard$1;
|
|
|
745
701
|
exports.PropertyDetailsHeader = PropertyDetailsHeader;
|
|
746
702
|
exports.PropertyImageList = PropertyImageList;
|
|
747
703
|
exports.SharePopup = SharePopup;
|
|
704
|
+
exports.SuccessPopup = SuccessPopUp;
|
|
748
705
|
exports.ToastWrapper = ToastWrapper;
|
|
749
706
|
exports.formatPrice = formatPrice;
|
|
750
707
|
exports.formatPropertyArea = formatPropertyArea;
|