@schukai/monster 3.100.19 → 3.101.0
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 +16 -0
- package/package.json +1 -1
- package/source/components/form/tree-select.mjs +5 -0
- package/source/data/transformer.mjs +818 -805
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## [3.101.0] - 2025-01-23
|
6
|
+
|
7
|
+
### Add Features
|
8
|
+
|
9
|
+
- **transformer:** new command ellipsize
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## [3.100.20] - 2025-01-22
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
- **treeSelect:** check if internalNodesSymbol available
|
18
|
+
|
19
|
+
|
20
|
+
|
5
21
|
## [3.100.19] - 2025-01-21
|
6
22
|
|
7
23
|
### 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.
|
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.101.0"}
|
@@ -288,6 +288,11 @@ function formatKeyLabel(node) {
|
|
288
288
|
* @return {Array}
|
289
289
|
*/
|
290
290
|
function buildTreeLabels(value) {
|
291
|
+
|
292
|
+
if (!this[internalNodesSymbol]) {
|
293
|
+
return [value];
|
294
|
+
}
|
295
|
+
|
291
296
|
let node = this[internalNodesSymbol].get(value);
|
292
297
|
if (node === undefined) {
|
293
298
|
node = this[internalNodesSymbol].get(parseInt(value));
|