@schukai/monster 3.102.3 → 3.102.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 +11 -0
- package/package.json +1 -1
- package/source/components/datatable/dataset.mjs +2 -2
- package/source/components/datatable/datatable.mjs +1 -1
- package/source/components/datatable/filter.mjs +3 -5
- package/source/components/datatable/pagination.mjs +1 -1
- package/source/dom/customcontrol.mjs +322 -320
- package/source/types/version.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
- package/test/web/test.html +2 -2
- package/test/web/tests.js +3 -3
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,17 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## [3.102.4] - 2025-01-29
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
- remove request frame as it causes problems (performance) [#290](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/290)
|
10
|
+
### Changes
|
11
|
+
|
12
|
+
- update webtest
|
13
|
+
|
14
|
+
|
15
|
+
|
5
16
|
## [3.102.3] - 2025-01-29
|
6
17
|
|
7
18
|
### Bug Fixes
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@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":"3.102.
|
1
|
+
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@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":"3.102.4"}
|
@@ -236,7 +236,7 @@ class DataSet extends CustomElement {
|
|
236
236
|
[assembleMethodSymbol]() {
|
237
237
|
super[assembleMethodSymbol]();
|
238
238
|
|
239
|
-
|
239
|
+
setTimeout(() => {
|
240
240
|
if (!this[datasourceLinkedElementSymbol]) {
|
241
241
|
const selector = this.getOption("datasource.selector");
|
242
242
|
|
@@ -278,7 +278,7 @@ class DataSet extends CustomElement {
|
|
278
278
|
}
|
279
279
|
|
280
280
|
initEventHandler.call(this);
|
281
|
-
});
|
281
|
+
},10);
|
282
282
|
}
|
283
283
|
|
284
284
|
/**
|
@@ -414,7 +414,7 @@ class DataTable extends CustomElement {
|
|
414
414
|
|
415
415
|
this[datasourceLinkedElementSymbol] = element;
|
416
416
|
|
417
|
-
|
417
|
+
queueMicrotask(() => {
|
418
418
|
handleDataSourceChanges.call(this);
|
419
419
|
if (element && "datasource" in element) {
|
420
420
|
element.datasource.attachObserver(
|
@@ -547,11 +547,9 @@ function updateFilterSelections() {
|
|
547
547
|
this[filterSelectElementSymbol].setOption("options", options);
|
548
548
|
|
549
549
|
setTimeout(() => {
|
550
|
-
|
551
|
-
this[
|
552
|
-
|
553
|
-
});
|
554
|
-
}, 0);
|
550
|
+
this[filterSelectElementSymbol].value =
|
551
|
+
this[settingsSymbol].getSelected();
|
552
|
+
}, 10);
|
555
553
|
});
|
556
554
|
}
|
557
555
|
|