@schukai/monster 3.115.2 → 3.115.4
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
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## [3.115.4] - 2025-04-07
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
- send an event after succesfully import
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## [3.115.3] - 2025-04-02
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
- optimization of the text in the login form
|
18
|
+
|
19
|
+
|
20
|
+
|
5
21
|
## [3.115.2] - 2025-04-01
|
6
22
|
|
7
23
|
### Bug Fixes
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8","buffer":"^6.0.3"},"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":"3.115.
|
1
|
+
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8","buffer":"^6.0.3"},"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":"3.115.4"}
|
@@ -396,7 +396,7 @@ function getTranslations() {
|
|
396
396
|
login: "Anmelden",
|
397
397
|
forgotPasswordLink: "Passwort vergessen?",
|
398
398
|
mailAddress: "E-Mail-Adresse",
|
399
|
-
requestLink: "
|
399
|
+
requestLink: "Code anfordern",
|
400
400
|
digits: "Code",
|
401
401
|
loginLink: "Anmelden",
|
402
402
|
secondFactor: "Zweiter Faktor Code",
|
@@ -420,7 +420,7 @@ function getTranslations() {
|
|
420
420
|
messageThisFormIsNotConfigured:
|
421
421
|
"Dieses Formular ist nicht konfiguriert.",
|
422
422
|
messagePasswordResetDisabled:
|
423
|
-
"
|
423
|
+
"Sie können keinen Code anfordern, da die<br>Zwei-Faktor-Authentifizierung bei Ihrem Konto aktiviert ist.<br>Bitte kontaktieren Sie den Administrator.",
|
424
424
|
};
|
425
425
|
case "es":
|
426
426
|
return {
|
@@ -25,10 +25,9 @@ import {
|
|
25
25
|
assembleMethodSymbol,
|
26
26
|
CustomElement,
|
27
27
|
getSlottedElements,
|
28
|
-
initMethodSymbol,
|
29
28
|
registerCustomElement,
|
30
29
|
} from "../../dom/customelement.mjs";
|
31
|
-
import {
|
30
|
+
import {findTargetElementFromEvent, fireEvent} from "../../dom/events.mjs";
|
32
31
|
import { findElementWithSelectorUpwards } from "../../dom/util.mjs";
|
33
32
|
import { Formatter } from "../../text/formatter.mjs";
|
34
33
|
import { isFunction, isString } from "../../types/is.mjs";
|
@@ -81,7 +80,7 @@ const firstRunDoneSymbol = Symbol("firstRunDone");
|
|
81
80
|
*
|
82
81
|
* @since 1.0.0
|
83
82
|
* @summary A TreeMenu control
|
84
|
-
* @fires
|
83
|
+
* @fires entries-imported
|
85
84
|
*/
|
86
85
|
class TreeMenu extends CustomElement {
|
87
86
|
/**
|
@@ -120,13 +119,13 @@ class TreeMenu extends CustomElement {
|
|
120
119
|
* @property {string} templates.main Main template
|
121
120
|
* @property {Datasource} datasource data source
|
122
121
|
* @property {Object} mapping
|
123
|
-
* @property {String} mapping.selector
|
124
|
-
* @property {String} mapping.labelTemplate
|
125
|
-
* @property {String} mapping.keyTemplate
|
126
|
-
* @property {String} mapping.rootReferences
|
127
|
-
* @property {String} mapping.idTemplate
|
128
|
-
* @property {String} mapping.parentKey
|
129
|
-
* @property {String} mapping.selection
|
122
|
+
* @property {String} mapping.selector Path to select the appropriate entries
|
123
|
+
* @property {String} mapping.labelTemplate template with the label placeholders in the form ${name}, where name is the key
|
124
|
+
* @property {String} mapping.keyTemplate template with the key placeholders in the form ${name}, where name is the key
|
125
|
+
* @property {String} mapping.rootReferences the root references
|
126
|
+
* @property {String} mapping.idTemplate template with the id placeholders in the form ${name}, where name is the key
|
127
|
+
* @property {String} mapping.parentKey the parent key
|
128
|
+
* @property {String} mapping.selection the selection
|
130
129
|
*/
|
131
130
|
get defaults() {
|
132
131
|
return Object.assign({}, super.defaults, {
|
@@ -513,6 +512,7 @@ function importEntries() {
|
|
513
512
|
|
514
513
|
queueMicrotask(() => {
|
515
514
|
this.setOption("entries", options);
|
515
|
+
fireEvent(this, "entries-imported");
|
516
516
|
});
|
517
517
|
|
518
518
|
return this;
|