@schukai/monster 3.106.0 → 3.106.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 +11 -0
- package/package.json +1 -1
- package/source/components/form/select.mjs +2 -1
package/CHANGELOG.md
CHANGED
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.106.
|
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.106.1"}
|
@@ -2290,12 +2290,13 @@ function isValueIsEmptyThenGetNormalize(value) {
|
|
2290
2290
|
function setSelection(selection) {
|
2291
2291
|
const self = this;
|
2292
2292
|
|
2293
|
+
selection = isValueIsEmptyThenGetNormalize.call(this, selection);
|
2294
|
+
|
2293
2295
|
if (isString(selection) || isInteger(selection)) {
|
2294
2296
|
const result = convertValueToSelection.call(this, selection);
|
2295
2297
|
selection = result?.selection;
|
2296
2298
|
}
|
2297
2299
|
|
2298
|
-
selection = isValueIsEmptyThenGetNormalize.call(this, selection);
|
2299
2300
|
validateArray(selection);
|
2300
2301
|
|
2301
2302
|
let resultSelection = [];
|