@schukai/monster 4.124.2 → 4.125.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 +23 -0
- package/package.json +1 -1
- package/source/components/datatable/filter.mjs +13 -3
- package/source/components/datatable/style/datatable.pcss +1 -0
- package/source/components/datatable/stylesheet/datatable.mjs +1 -1
- package/source/components/form/digits.mjs +2 -3
- package/source/components/form/toggle-switch.mjs +31 -0
- package/source/dom/constants.mjs +8 -0
- package/source/dom/updater.mjs +275 -0
- package/source/types/version.mjs +1 -1
- package/test/cases/components/form/toggle-switch.mjs +15 -0
- package/test/cases/dom/updater.mjs +113 -2
- package/test/cases/monster.mjs +1 -1
- package/test/web/test.html +2 -2
- package/test/web/tests.js +1016 -248
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [4.125.1] - 2026-03-06
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **datatable:** add bottom padding to table scroll area
|
|
10
|
+
### Changes
|
|
11
|
+
|
|
12
|
+
- update project
|
|
13
|
+
- work in progress
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [4.125.0] - 2026-03-03
|
|
18
|
+
|
|
19
|
+
### Add Features
|
|
20
|
+
|
|
21
|
+
- Add new issue 385 HTML and JS files with property attribute updates
|
|
22
|
+
### Changes
|
|
23
|
+
|
|
24
|
+
- close issue
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
5
28
|
## [4.124.2] - 2026-03-02
|
|
6
29
|
|
|
7
30
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.5","@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.
|
|
1
|
+
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.5","@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.125.1"}
|
|
@@ -1311,8 +1311,14 @@ function collectSearchQueries() {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
|
|
1313
1313
|
const controlValue = getControlValuesFromLabel(element);
|
|
1314
|
-
|
|
1315
|
-
|
|
1314
|
+
const hasEmptyArrayValue =
|
|
1315
|
+
isArray(controlValue) && controlValue.length === 0;
|
|
1316
|
+
|
|
1317
|
+
if (!controlValue || hasEmptyArrayValue) {
|
|
1318
|
+
if (
|
|
1319
|
+
(controlValue === "" || hasEmptyArrayValue) &&
|
|
1320
|
+
currentHash?.[this.id]?.[id]
|
|
1321
|
+
) {
|
|
1316
1322
|
delete currentHash[this.id][id];
|
|
1317
1323
|
}
|
|
1318
1324
|
|
|
@@ -1324,9 +1330,13 @@ function collectSearchQueries() {
|
|
|
1324
1330
|
}
|
|
1325
1331
|
currentHash[this.id][id] = controlValue;
|
|
1326
1332
|
|
|
1333
|
+
const formatterValue = isArray(controlValue)
|
|
1334
|
+
? controlValue.join(",")
|
|
1335
|
+
: controlValue;
|
|
1336
|
+
|
|
1327
1337
|
const mapping = {
|
|
1328
1338
|
id,
|
|
1329
|
-
value:
|
|
1339
|
+
value: formatterValue,
|
|
1330
1340
|
label,
|
|
1331
1341
|
};
|
|
1332
1342
|
|