xv-webcomponents 1.3.32 → 1.3.34
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/cjs/xv-accordion-v2_45.cjs.entry.js +1 -10
- package/dist/cjs/xv-accordion-v2_45.cjs.entry.js.map +1 -1
- package/dist/collection/components/xv-login-modal/xv-login-modal.js +1 -10
- package/dist/collection/components/xv-login-modal/xv-login-modal.js.map +1 -1
- package/dist/esm/xv-accordion-v2_45.entry.js +1 -10
- package/dist/esm/xv-accordion-v2_45.entry.js.map +1 -1
- package/dist/types/components/xv-login-modal/xv-login-modal.d.ts +0 -1
- package/dist/xv-webcomponents/{p-869034e2.entry.js → p-4c817a58.entry.js} +2 -2
- package/dist/xv-webcomponents/p-4c817a58.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/xv-webcomponents/p-869034e2.entry.js.map +0 -1
|
@@ -78429,15 +78429,6 @@ const XvLoginModal = class {
|
|
|
78429
78429
|
this.handleClose = () => {
|
|
78430
78430
|
this.close.emit();
|
|
78431
78431
|
};
|
|
78432
|
-
this.handleSubmit = async (e) => {
|
|
78433
|
-
e.preventDefault();
|
|
78434
|
-
const form = e.target;
|
|
78435
|
-
const formData = new FormData(form);
|
|
78436
|
-
const response = await fetch(form.action, { method: 'POST', body: formData, credentials: 'include' });
|
|
78437
|
-
if (response.redirected || response.ok) {
|
|
78438
|
-
window.location.href = response.url;
|
|
78439
|
-
}
|
|
78440
|
-
};
|
|
78441
78432
|
}
|
|
78442
78433
|
componentWillLoad() {
|
|
78443
78434
|
this.setReturnUrl();
|
|
@@ -78500,7 +78491,7 @@ const XvLoginModal = class {
|
|
|
78500
78491
|
render() {
|
|
78501
78492
|
if (!this.visible)
|
|
78502
78493
|
return null;
|
|
78503
|
-
return (index.h("div", { class: "modal show", style: { display: 'block' }, id: "login-modal", tabIndex: -1, role: "dialog" }, index.h("div", { class: "modal-dialog", role: "document" }, index.h("div", { class: "modal-content" }, index.h("div", { class: "modal-header" }, index.h("div", { class: "row" }, index.h("div", { class: "col-sm-10" }, index.h("div", { class: "col-xs-12" }, index.h("h4", { class: "modal-title" }, "Logindaten"))), index.h("div", { class: "col-xs-1 pull-right" }, index.h("button", { onClick: this.handleClose, type: "button", class: "close" }, index.h("span", { "aria-hidden": "true" }, "\u00D7"))))), index.h("div", { class: "modal-body" }, index.h("div", { class: "row" }, index.h("div", { class: "col-sm-12" }, index.h("form", { autoComplete: "off", id: "logon-modal-form", action: `${this.getBaseUrl()}/de-de/mycrossvertise/account/logon?returnUrl=${encodeURIComponent(this.returnUrl)}`, method: "post", class: "spacer"
|
|
78494
|
+
return (index.h("div", { class: "modal show", style: { display: 'block' }, id: "login-modal", tabIndex: -1, role: "dialog" }, index.h("div", { class: "modal-dialog", role: "document" }, index.h("div", { class: "modal-content" }, index.h("div", { class: "modal-header" }, index.h("div", { class: "row" }, index.h("div", { class: "col-sm-10" }, index.h("div", { class: "col-xs-12" }, index.h("h4", { class: "modal-title" }, "Logindaten"))), index.h("div", { class: "col-xs-1 pull-right" }, index.h("button", { onClick: this.handleClose, type: "button", class: "close" }, index.h("span", { "aria-hidden": "true" }, "\u00D7"))))), index.h("div", { class: "modal-body" }, index.h("div", { class: "row" }, index.h("div", { class: "col-sm-12" }, index.h("form", { autoComplete: "off", id: "logon-modal-form", action: `${this.getBaseUrl()}/de-de/mycrossvertise/account/logon?returnUrl=${encodeURIComponent(this.returnUrl)}`, method: "post", class: "spacer" }, index.h("input", { type: "hidden", name: "returnUrl", value: this.returnUrl }), index.h("div", { class: "form-group spacer-bottom" }, index.h("div", { class: "control-label col-xs-12" }, index.h("label", { htmlFor: "LoginPopup.UserName" }, "E-Mail"), index.h("strong", { class: "text-danger" }, "*")), index.h("div", { class: "col-xs-12" }, index.h("input", { class: "form-control", id: "userName", name: "UserName", type: "text", tabIndex: 1 }))), index.h("div", { class: "form-group spacer" }, index.h("div", { class: "control-label col-xs-6" }, index.h("label", { class: "spacer", htmlFor: "LoginPopup.Password" }, "Passwort"), index.h("strong", { class: "text-danger spacer" }, "*")), index.h("div", { class: "col-xs-6" }, this.renderPasswordLogin()), index.h("div", { class: "col-xs-12" }, index.h("input", { class: "form-control", id: "password", name: "Password", type: "password", tabIndex: 2 }))), index.h("div", { class: "form-group spacer" }, index.h("div", { class: "col-xs-12" }, index.h("button", { class: "btn btn-primary btn-lg btn-block spacer", type: "submit", tabIndex: 3 }, "Anmelden"))), index.h("div", { class: "form-group" }, index.h("div", { class: "checkbox col-xs-12" }, index.h("label", { htmlFor: "RememberMe" }, index.h("input", { id: "RememberMe", name: "RememberMe", type: "checkbox", value: "true" }), "Angemeldet bleiben?")))))), this.renderOAuthProviders()), this.renderFooter()))));
|
|
78504
78495
|
}
|
|
78505
78496
|
};
|
|
78506
78497
|
XvLoginModal.style = xvLoginModalCss;
|