@schukai/monster 4.49.0 → 4.49.1
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/source/components/form/login.mjs +3 -4
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.4","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.49.
|
|
1
|
+
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.4","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.49.1"}
|
|
@@ -294,7 +294,7 @@ class Login extends CustomElement {
|
|
|
294
294
|
fields: {
|
|
295
295
|
identifier: "username",
|
|
296
296
|
password: "password",
|
|
297
|
-
}
|
|
297
|
+
},
|
|
298
298
|
|
|
299
299
|
callbacks: {
|
|
300
300
|
username: null,
|
|
@@ -1134,7 +1134,7 @@ function initEventHandler() {
|
|
|
1134
1134
|
|
|
1135
1135
|
const type = "click";
|
|
1136
1136
|
|
|
1137
|
-
element.addEventListener(type, function(event) {
|
|
1137
|
+
element.addEventListener(type, function (event) {
|
|
1138
1138
|
const callback = self.getOption("actions.click");
|
|
1139
1139
|
|
|
1140
1140
|
fireCustomEvent(self, "monster-login-clicked", {
|
|
@@ -1304,8 +1304,7 @@ function initEventHandler() {
|
|
|
1304
1304
|
const identifierField =
|
|
1305
1305
|
this.getOption("fields.login.identifier") || "username";
|
|
1306
1306
|
|
|
1307
|
-
const passwordField =
|
|
1308
|
-
this.getOption("fields.login.password") || "password";
|
|
1307
|
+
const passwordField = this.getOption("fields.login.password") || "password";
|
|
1309
1308
|
|
|
1310
1309
|
const payload = {
|
|
1311
1310
|
[identifierField]: username,
|