x-runtime-lib 0.8.103 → 0.8.104
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/index.js +2 -2
- package/dist/utils/node.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8390,7 +8390,7 @@ function su(t, n, e, o, s) {
|
|
|
8390
8390
|
}
|
|
8391
8391
|
function lu(t, n) {
|
|
8392
8392
|
function e(o) {
|
|
8393
|
-
if (o.
|
|
8393
|
+
if (o.id === n)
|
|
8394
8394
|
return o;
|
|
8395
8395
|
if (o.children)
|
|
8396
8396
|
for (let s = 0; s < o.children.length; s++) {
|
|
@@ -9375,9 +9375,9 @@ export {
|
|
|
9375
9375
|
We as getBreakpointProp,
|
|
9376
9376
|
xe as getField,
|
|
9377
9377
|
un as getIndexOfBreakpoint,
|
|
9378
|
-
lu as getNode,
|
|
9379
9378
|
lo as getPropertyDefault,
|
|
9380
9379
|
B as getPropertyTag,
|
|
9380
|
+
lu as getTreeNode,
|
|
9381
9381
|
Zc as getTypeColor,
|
|
9382
9382
|
Hl as globalityV1,
|
|
9383
9383
|
Al as groupV1,
|
package/dist/utils/node.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Node, SpawnedNode } from '../types';
|
|
1
|
+
import { Node, NodeLite, SpawnedNode } from '../types';
|
|
2
2
|
export declare function spawnNode(type: string, subtype: string, version: string, ref: boolean, keyOrRefId: string): SpawnedNode | undefined;
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function getTreeNode(nodes: NodeLite[], id: string): NodeLite | undefined;
|
|
4
4
|
export declare function duplicateNode(src: Node): Node;
|
|
5
5
|
export declare function duplicateNodes(src: Node[]): Node[];
|