@schukai/monster 3.57.0 → 3.58.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +15 -1
- package/package.json +1 -1
- package/source/components/datatable/change-button.mjs +8 -4
- package/source/components/datatable/dataset.mjs +1 -1
- package/source/components/datatable/filter.mjs +0 -1
- package/source/components/form/select.mjs +1781 -1769
- package/source/components/form/style/button-bar.pcss +2 -0
- package/source/components/form/style/button.pcss +2 -0
- package/source/components/form/stylesheet/button-bar.mjs +1 -1
- package/source/components/form/stylesheet/button.mjs +1 -1
- package/source/components/form/stylesheet/select.mjs +1 -1
- package/source/components/form/tabs.mjs +0 -1
- package/source/components/form/toggle-switch.mjs +280 -277
- package/source/data/transformer.mjs +4 -6
- package/source/dom/customelement.mjs +897 -904
- package/source/dom/events.mjs +3 -3
- package/source/dom/updater.mjs +754 -749
- package/source/dom/util/set-option-from-attribute.mjs +1 -2
- package/source/i18n/translations.mjs +1 -1
- package/source/monster.mjs +2 -0
- package/source/types/version.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
- package/test/web/import.js +1 -0
- package/test/web/test.html +2 -2
- package/test/web/tests.js +990 -460
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,19 @@
|
|
1
1
|
|
2
|
+
## [3.58.0] - 2024-03-17
|
3
|
+
|
4
|
+
### Add Features
|
5
|
+
|
6
|
+
- new select feature emptyValueIfNoOptions [#142](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/142)
|
7
|
+
### Changes
|
8
|
+
|
9
|
+
- update deploy script
|
10
|
+
- lint code
|
11
|
+
- build-webtest
|
12
|
+
- lint code
|
13
|
+
- code format
|
14
|
+
- release and publish to npm new version 3.57.0
|
15
|
+
- tests and more
|
16
|
+
|
2
17
|
## [3.57.0] - 2024-03-06
|
3
18
|
|
4
19
|
### Add Features
|
@@ -14,7 +29,6 @@
|
|
14
29
|
- add arrowdown handler [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160) [#161](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/161)
|
15
30
|
### Changes
|
16
31
|
|
17
|
-
- tests and more
|
18
32
|
- tests and more
|
19
33
|
- fix tests
|
20
34
|
- updates [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160)
|
package/package.json
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
|
6
6
|
import { instanceSymbol } from "../../constants.mjs";
|
7
7
|
import { diff } from "../../data/diff.mjs";
|
8
|
-
import {addAttributeToken} from "../../dom/attributes.mjs";
|
9
|
-
import {ATTRIBUTE_ERRORMESSAGE} from "../../dom/constants.mjs";
|
8
|
+
import { addAttributeToken } from "../../dom/attributes.mjs";
|
9
|
+
import { ATTRIBUTE_ERRORMESSAGE } from "../../dom/constants.mjs";
|
10
10
|
import {
|
11
11
|
assembleMethodSymbol,
|
12
12
|
CustomElement,
|
@@ -116,7 +116,7 @@ class ChangeButton extends CustomElement {
|
|
116
116
|
* This method is responsible for assembling the component.
|
117
117
|
*/
|
118
118
|
[assembleMethodSymbol]() {
|
119
|
-
super[assembleMethodSymbol]()
|
119
|
+
super[assembleMethodSymbol]();
|
120
120
|
|
121
121
|
initControlReferences.call(this);
|
122
122
|
initEventHandler.call(this);
|
@@ -213,7 +213,11 @@ function getIndex() {
|
|
213
213
|
|
214
214
|
const ref = row.getAttribute("data-monster-insert-reference");
|
215
215
|
if (!ref) {
|
216
|
-
addAttributeToken(
|
216
|
+
addAttributeToken(
|
217
|
+
this,
|
218
|
+
ATTRIBUTE_ERRORMESSAGE,
|
219
|
+
"reference is missing or empty",
|
220
|
+
);
|
217
221
|
return;
|
218
222
|
}
|
219
223
|
|