nestiq-component-library 1.1.66 → 1.1.68
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/ErrorPopup.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +36 -16
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +36 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MessagePopup/ErrorPopup.tsx +1 -1
- package/src/components/MessagePopup/SuccessPopup.tsx +44 -49
- package/src/index.tsx +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { default as FloorPlanPopup } from "./components/FloorPlanPopup/FloorPlan
|
|
|
9
9
|
export { default as NewPropertyCard } from "./components/NewPropertyCard/NewPropertyCard";
|
|
10
10
|
export { default as MessagePopUp } from "./components/MessagePopup/MessagePopUp";
|
|
11
11
|
export { default as SuccessPopup } from "./components/MessagePopup/SuccessPopup";
|
|
12
|
+
export { default as ErrorPopup } from "./components/MessagePopup/ErrorPopup";
|
|
12
13
|
export { default as ToastWrapper, showToast, } from "./components/ToastWrapper/ToastWrapper";
|
|
13
14
|
export { formatPrice, formatPropertyArea } from "./functions/util";
|
|
14
15
|
import "./styles/common.css";
|
package/dist/index.es.js
CHANGED
|
@@ -655,28 +655,48 @@ styleInject(css_248z);
|
|
|
655
655
|
var icon_checkmark = "/static/media/icon_checkmark.9b48c4a4bc651b08.svg";
|
|
656
656
|
|
|
657
657
|
function SuccessPopUp(props) {
|
|
658
|
-
var _a = useState(true)
|
|
658
|
+
var _a = useState(true); _a[0]; _a[1];
|
|
659
659
|
var handleClose = function () {
|
|
660
660
|
props.onClick();
|
|
661
661
|
};
|
|
662
|
-
|
|
663
|
-
|
|
662
|
+
return (React.createElement("div", null,
|
|
663
|
+
React.createElement("div", { className: "popup-overlay" },
|
|
664
|
+
React.createElement("div", { className: "shareSection-Success d-flex flex-column col-7 " },
|
|
665
|
+
React.createElement("img", { src: x$1, alt: "close", className: "closeIcon d-flex flex-column align-self-end ms-5 ", onClick: handleClose }),
|
|
666
|
+
React.createElement("div", { className: " d-flex flex-column align-self-center ms-5 " },
|
|
667
|
+
React.createElement("img", { src: icon_checkmark, alt: "facebook", className: " mb-4" })),
|
|
668
|
+
React.createElement("div", { className: "popUpHeader d-flex flex-column col- text-center text-wrap mb-5 align-self-center" },
|
|
669
|
+
React.createElement("span", null, " Herzlichen Gl\u00FCckwunsch! "),
|
|
670
|
+
React.createElement("span", null, " Deine Nachricht wurde erfolgreich gesendet. ")),
|
|
671
|
+
React.createElement("div", { className: "d-flex flex-column mt-4 mb-4" },
|
|
672
|
+
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.")),
|
|
673
|
+
React.createElement("div", { className: " d-flex flex-row align-self-center " },
|
|
674
|
+
React.createElement("button", { className: "d-flex button_success-left col-sm-5 border-0 rounded-4", type: "button", id: "button", onClick: handleClose },
|
|
675
|
+
React.createElement("strong", null, " Zum Control Center")),
|
|
676
|
+
React.createElement("button", { className: "button_success-right col-sm-3 border-1 ms-3 rounded-4", type: "button", id: "button" },
|
|
677
|
+
React.createElement("strong", null, "Abbrechen")))))));
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
var warning = "/static/media/warning.6f99cb4c6a048b47.svg";
|
|
681
|
+
|
|
682
|
+
function ErrorPopup(props) {
|
|
683
|
+
var handleClose = function () {
|
|
684
|
+
props.onClick();
|
|
664
685
|
};
|
|
665
|
-
return (React.createElement("div",
|
|
666
|
-
React.createElement("div", { className: "shareSection-
|
|
667
|
-
React.createElement("img", { src: x
|
|
686
|
+
return (React.createElement("div", { className: "popup-overlay" },
|
|
687
|
+
React.createElement("div", { className: "shareSection-Error d-flex flex-column col-6 " },
|
|
688
|
+
React.createElement("img", { src: x, alt: "close", className: "closeIcon d-flex flex-column align-self-end ms-5 ", onClick: handleClose }),
|
|
668
689
|
React.createElement("div", { className: " d-flex flex-column align-self-center ms-5 " },
|
|
669
|
-
React.createElement("img", { src:
|
|
670
|
-
React.createElement("div", { className: "popUpHeader d-flex flex-column col- text-center text-wrap mb-
|
|
671
|
-
React.createElement("span", null, "
|
|
672
|
-
React.createElement("span", null, " Deine Nachricht wurde erfolgreich gesendet. ")),
|
|
690
|
+
React.createElement("img", { src: warning, alt: "facebook", className: " mb-4" })),
|
|
691
|
+
React.createElement("div", { className: "popUpHeader d-flex flex-column col- text-center text-wrap mb-1 align-self-center" },
|
|
692
|
+
React.createElement("span", null, " Oops! Etwas ist schiefgelaufen.")),
|
|
673
693
|
React.createElement("div", { className: "d-flex flex-column mt-4 mb-4" },
|
|
674
|
-
React.createElement("span", { className: "text-center ms-5 text-wrap" }, "
|
|
694
|
+
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")),
|
|
675
695
|
React.createElement("div", { className: " d-flex flex-row align-self-center " },
|
|
676
|
-
React.createElement("button", { className: "d-flex button_success-left col-sm-5 border-0 rounded-4", type: "button", id: "button"
|
|
677
|
-
React.createElement("strong", null, "
|
|
678
|
-
React.createElement("button", { className: "button_success-right
|
|
679
|
-
React.createElement("strong", null, "
|
|
696
|
+
React.createElement("button", { className: "d-flex button_success-left col-sm-5 border-0 rounded-4", type: "button", id: "button" },
|
|
697
|
+
React.createElement("strong", null, " Erneut versuchen")),
|
|
698
|
+
React.createElement("button", { className: "button_success-right w-50 border-1 ms-3 rounded-4", type: "button", id: "button" },
|
|
699
|
+
React.createElement("strong", null, " Support kontaktieren"))))));
|
|
680
700
|
}
|
|
681
701
|
|
|
682
702
|
// Utility function to show a toast
|
|
@@ -686,5 +706,5 @@ var showToast = function (message, type) {
|
|
|
686
706
|
};
|
|
687
707
|
var ToastWrapper = function () { return (React.createElement(ToastContainer, { position: "top-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, rtl: false, pauseOnFocusLoss: true, draggable: true, pauseOnHover: true })); };
|
|
688
708
|
|
|
689
|
-
export { Button, FloorPlanPopup, MessagePopUp, PropertyCard as NewPropertyCard, Popup, PropertyCard$1 as PropertyCard, PropertyDetailsHeader, PropertyImageList, SharePopup, SuccessPopUp as SuccessPopup, ToastWrapper, formatPrice, formatPropertyArea, showToast };
|
|
709
|
+
export { Button, ErrorPopup, FloorPlanPopup, MessagePopUp, PropertyCard as NewPropertyCard, Popup, PropertyCard$1 as PropertyCard, PropertyDetailsHeader, PropertyImageList, SharePopup, SuccessPopUp as SuccessPopup, ToastWrapper, formatPrice, formatPropertyArea, showToast };
|
|
690
710
|
//# sourceMappingURL=index.es.js.map
|