@schukai/monster 4.38.3 → 4.38.5
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 +24 -0
- package/package.json +1 -1
- package/source/components/datatable/filter.mjs +18 -0
- package/source/components/datatable/save-button.mjs +331 -331
- package/source/components/form/select.mjs +3 -2
- package/source/components/form/toggle-switch.mjs +359 -359
- package/source/components/style/property.css +265 -261
- package/source/dom/updater.mjs +842 -838
- package/source/i18n/translations.mjs +16 -6
- package/source/types/observer.mjs +127 -132
- package/source/types/version.mjs +1 -1
- package/test/cases/dom/updater.mjs +639 -626
- package/test/cases/monster.mjs +1 -1
- package/test/web/test.html +2 -2
- package/test/web/tests.js +531 -460
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,30 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## [4.38.5] - 2025-08-03
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
- optimize updater [#332](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/332)
|
10
|
+
### Changes
|
11
|
+
|
12
|
+
- codestyles
|
13
|
+
- update color
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## [4.38.4] - 2025-08-02
|
18
|
+
|
19
|
+
### Bug Fixes
|
20
|
+
|
21
|
+
- Code formatting improvements and minor refactors, add tags-not-in-list and fix getLocale Bug.
|
22
|
+
### Changes
|
23
|
+
|
24
|
+
- tests
|
25
|
+
- update packages
|
26
|
+
|
27
|
+
|
28
|
+
|
5
29
|
## [4.38.3] - 2025-07-30
|
6
30
|
|
7
31
|
### Bug Fixes
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.
|
1
|
+
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.3","@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.38.5"}
|
@@ -1385,6 +1385,24 @@ function collectSearchQueries() {
|
|
1385
1385
|
|
1386
1386
|
return query;
|
1387
1387
|
},
|
1388
|
+
"list-not-in-tags": (value, key, op) => {
|
1389
|
+
if (isString(value)) {
|
1390
|
+
value = value.split(",");
|
1391
|
+
}
|
1392
|
+
if (!isArray(value)) {
|
1393
|
+
return "";
|
1394
|
+
}
|
1395
|
+
if (!op || !isString(op)) op = "OR";
|
1396
|
+
op = " " + op.toUpperCase().trim() + " ";
|
1397
|
+
let query = "";
|
1398
|
+
value.forEach((v) => {
|
1399
|
+
if (query.length > 0) {
|
1400
|
+
query += op;
|
1401
|
+
}
|
1402
|
+
query += `"${encodeURIComponent(v)}" NOT IN ${encodeURIComponent(key)}`;
|
1403
|
+
});
|
1404
|
+
return query;
|
1405
|
+
},
|
1388
1406
|
"list-in-tags": (value, key, op) => {
|
1389
1407
|
if (isString(value)) {
|
1390
1408
|
value = value.split(",");
|