@almadar/ui 4.51.13 → 4.51.14
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/dist/avl/index.cjs +2 -1
- package/dist/avl/index.js +2 -1
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -60242,7 +60242,8 @@ function findTraits(schema, orbitalName) {
|
|
|
60242
60242
|
}
|
|
60243
60243
|
function findPatternInTree(root, path) {
|
|
60244
60244
|
if (!path || path === "root") return root;
|
|
60245
|
-
const
|
|
60245
|
+
const cleanPath = path.startsWith("root.") ? path.slice("root.".length) : path;
|
|
60246
|
+
const parts = cleanPath.split(".");
|
|
60246
60247
|
let current = root;
|
|
60247
60248
|
for (const part of parts) {
|
|
60248
60249
|
if (current === null || current === void 0 || typeof current !== "object") return null;
|
package/dist/avl/index.js
CHANGED
|
@@ -60196,7 +60196,8 @@ function findTraits(schema, orbitalName) {
|
|
|
60196
60196
|
}
|
|
60197
60197
|
function findPatternInTree(root, path) {
|
|
60198
60198
|
if (!path || path === "root") return root;
|
|
60199
|
-
const
|
|
60199
|
+
const cleanPath = path.startsWith("root.") ? path.slice("root.".length) : path;
|
|
60200
|
+
const parts = cleanPath.split(".");
|
|
60200
60201
|
let current = root;
|
|
60201
60202
|
for (const part of parts) {
|
|
60202
60203
|
if (current === null || current === void 0 || typeof current !== "object") return null;
|