@schukai/monster 4.45.2 → 4.45.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,23 @@
2
2
 
3
3
 
4
4
 
5
+ ## [4.45.4] - 2025-11-04
6
+
7
+ ### Bug Fixes
8
+
9
+ - doit
10
+ - setTimeoput
11
+
12
+
13
+
14
+ ## [4.45.3] - 2025-11-03
15
+
16
+ ### Bug Fixes
17
+
18
+ - **Select:** check if url is set [#339](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/339)
19
+
20
+
21
+
5
22
  ## [4.45.2] - 2025-11-03
6
23
 
7
24
  ### Bug Fixes
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.45.2"}
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.45.4"}
@@ -760,7 +760,7 @@ function getTranslations() {
760
760
  username: "Nom d'utilisateur ou e-mail",
761
761
  password: "Mot de passe",
762
762
  login: "Connexion",
763
- forgotPasswordLink: "Mot de passe oublié ?",
763
+ forgotPasswordLink: "Mot de passe oublié ?",
764
764
  mailAddress: "Adresse e-mail",
765
765
  requestLink: "Demander un lien",
766
766
  digits: "Code",
@@ -2403,7 +2403,7 @@ function filterFromRemote() {
2403
2403
 
2404
2404
  switch (this.getOption("filter.position")) {
2405
2405
  case FILTER_POSITION_INLINE:
2406
- setTimeoput(() => show.call(this), 0);
2406
+ setTimeout(() => show.call(this), 0);
2407
2407
  if (this[inlineFilterElementSymbol] instanceof HTMLElement) {
2408
2408
  filterValue = this[inlineFilterElementSymbol].value.toLowerCase();
2409
2409
  }
@@ -3253,6 +3253,10 @@ function show() {
3253
3253
  return;
3254
3254
  }
3255
3255
 
3256
+ const hasDefaultOptionsUrl = isString(
3257
+ this.getOption("filter.defaultOptionsUrl"),
3258
+ );
3259
+
3256
3260
  initDefaultOptionsFromUrl.call(this);
3257
3261
 
3258
3262
  const hasPopperFilterFlag =
@@ -3273,13 +3277,15 @@ function show() {
3273
3277
  new Processing(() => {
3274
3278
  if (!self?.[remoteFilterFirstOpendSymbol]) {
3275
3279
  self[remoteFilterFirstOpendSymbol] = true;
3276
- setTimeout(
3277
- () =>
3280
+
3281
+ if (!hasDefaultOptionsUrl) {
3282
+ setTimeout(() => {
3283
+ self[cleanupOptionsListSymbol] = true;
3278
3284
  filterFromRemote.call(self).catch((e) => {
3279
3285
  addErrorAttribute(self, e);
3280
- }),
3281
- 0,
3282
- );
3286
+ });
3287
+ }, 0);
3288
+ }
3283
3289
  }
3284
3290
  calcAndSetOptionsDimension.call(this);
3285
3291
  focusFilter.call(this);
@@ -9,7 +9,7 @@
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
10
  * For more information about purchasing a commercial license, please contact schukai GmbH.
11
11
  */
12
-
12
+
13
13
  // THIS FILE IS AUTOGENERATED. DO NOT EDIT THIS FILE DIRECTLY.
14
14
 
15
15
  /**