@shapediver/viewer.shared.node-tree 3.15.12 → 3.16.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.
Files changed (116) hide show
  1. package/dist/implementation/AbstractTreeNodeData.d.ts +4 -1
  2. package/dist/implementation/AbstractTreeNodeData.d.ts.map +1 -1
  3. package/dist/implementation/AbstractTreeNodeData.js +9 -10
  4. package/dist/implementation/AbstractTreeNodeData.js.map +1 -1
  5. package/dist/implementation/Tree.d.ts +1 -2
  6. package/dist/implementation/Tree.d.ts.map +1 -1
  7. package/dist/implementation/Tree.js.map +1 -1
  8. package/dist/implementation/TreeNode.d.ts +8 -14
  9. package/dist/implementation/TreeNode.d.ts.map +1 -1
  10. package/dist/implementation/TreeNode.js +102 -77
  11. package/dist/implementation/TreeNode.js.map +1 -1
  12. package/dist/implementation/data/AnimationData.d.ts +33 -0
  13. package/dist/implementation/data/AnimationData.d.ts.map +1 -0
  14. package/dist/implementation/data/AnimationData.js +291 -0
  15. package/dist/implementation/data/AnimationData.js.map +1 -0
  16. package/dist/implementation/data/ChunkData.d.ts +15 -0
  17. package/dist/implementation/data/ChunkData.d.ts.map +1 -0
  18. package/dist/implementation/data/ChunkData.js +47 -0
  19. package/dist/implementation/data/ChunkData.js.map +1 -0
  20. package/dist/implementation/data/CustomData.d.ts +25 -0
  21. package/dist/implementation/data/CustomData.d.ts.map +1 -0
  22. package/dist/implementation/data/CustomData.js +51 -0
  23. package/dist/implementation/data/CustomData.js.map +1 -0
  24. package/dist/implementation/data/GeometryData.d.ts +101 -0
  25. package/dist/implementation/data/GeometryData.d.ts.map +1 -0
  26. package/dist/implementation/data/GeometryData.js +327 -0
  27. package/dist/implementation/data/GeometryData.js.map +1 -0
  28. package/dist/implementation/data/HTMLElementAnchorData.d.ts +103 -0
  29. package/dist/implementation/data/HTMLElementAnchorData.d.ts.map +1 -0
  30. package/dist/implementation/data/HTMLElementAnchorData.js +274 -0
  31. package/dist/implementation/data/HTMLElementAnchorData.js.map +1 -0
  32. package/dist/implementation/data/InstanceData.d.ts +22 -0
  33. package/dist/implementation/data/InstanceData.d.ts.map +1 -0
  34. package/dist/implementation/data/InstanceData.js +59 -0
  35. package/dist/implementation/data/InstanceData.js.map +1 -0
  36. package/dist/implementation/material/AbstractMaterialData.d.ts +69 -0
  37. package/dist/implementation/material/AbstractMaterialData.d.ts.map +1 -0
  38. package/dist/implementation/material/AbstractMaterialData.js +225 -0
  39. package/dist/implementation/material/AbstractMaterialData.js.map +1 -0
  40. package/dist/implementation/material/MapData.d.ts +54 -0
  41. package/dist/implementation/material/MapData.d.ts.map +1 -0
  42. package/dist/implementation/material/MapData.js +191 -0
  43. package/dist/implementation/material/MapData.js.map +1 -0
  44. package/dist/implementation/material/MaterialBasicLineData.d.ts +15 -0
  45. package/dist/implementation/material/MaterialBasicLineData.d.ts.map +1 -0
  46. package/dist/implementation/material/MaterialBasicLineData.js +91 -0
  47. package/dist/implementation/material/MaterialBasicLineData.js.map +1 -0
  48. package/dist/implementation/material/MaterialGemData.d.ts +47 -0
  49. package/dist/implementation/material/MaterialGemData.d.ts.map +1 -0
  50. package/dist/implementation/material/MaterialGemData.js +289 -0
  51. package/dist/implementation/material/MaterialGemData.js.map +1 -0
  52. package/dist/implementation/material/MaterialLambertData.d.ts +22 -0
  53. package/dist/implementation/material/MaterialLambertData.d.ts.map +1 -0
  54. package/dist/implementation/material/MaterialLambertData.js +147 -0
  55. package/dist/implementation/material/MaterialLambertData.js.map +1 -0
  56. package/dist/implementation/material/MaterialMultiPointData.d.ts +100 -0
  57. package/dist/implementation/material/MaterialMultiPointData.d.ts.map +1 -0
  58. package/dist/implementation/material/MaterialMultiPointData.js +651 -0
  59. package/dist/implementation/material/MaterialMultiPointData.js.map +1 -0
  60. package/dist/implementation/material/MaterialPhongData.d.ts +26 -0
  61. package/dist/implementation/material/MaterialPhongData.d.ts.map +1 -0
  62. package/dist/implementation/material/MaterialPhongData.js +171 -0
  63. package/dist/implementation/material/MaterialPhongData.js.map +1 -0
  64. package/dist/implementation/material/MaterialPointData.d.ts +20 -0
  65. package/dist/implementation/material/MaterialPointData.d.ts.map +1 -0
  66. package/dist/implementation/material/MaterialPointData.js +132 -0
  67. package/dist/implementation/material/MaterialPointData.js.map +1 -0
  68. package/dist/implementation/material/MaterialShadowData.d.ts +15 -0
  69. package/dist/implementation/material/MaterialShadowData.d.ts.map +1 -0
  70. package/dist/implementation/material/MaterialShadowData.js +36 -0
  71. package/dist/implementation/material/MaterialShadowData.js.map +1 -0
  72. package/dist/implementation/material/MaterialSpecularGlossinessData.d.ts +28 -0
  73. package/dist/implementation/material/MaterialSpecularGlossinessData.d.ts.map +1 -0
  74. package/dist/implementation/material/MaterialSpecularGlossinessData.js +180 -0
  75. package/dist/implementation/material/MaterialSpecularGlossinessData.js.map +1 -0
  76. package/dist/implementation/material/MaterialStandardData.d.ts +76 -0
  77. package/dist/implementation/material/MaterialStandardData.d.ts.map +1 -0
  78. package/dist/implementation/material/MaterialStandardData.js +468 -0
  79. package/dist/implementation/material/MaterialStandardData.js.map +1 -0
  80. package/dist/implementation/material/MaterialUnlitData.d.ts +18 -0
  81. package/dist/implementation/material/MaterialUnlitData.d.ts.map +1 -0
  82. package/dist/implementation/material/MaterialUnlitData.js +120 -0
  83. package/dist/implementation/material/MaterialUnlitData.js.map +1 -0
  84. package/dist/implementation/material/MaterialVariantsData.d.ts +16 -0
  85. package/dist/implementation/material/MaterialVariantsData.d.ts.map +1 -0
  86. package/dist/implementation/material/MaterialVariantsData.js +62 -0
  87. package/dist/implementation/material/MaterialVariantsData.js.map +1 -0
  88. package/dist/implementation/sdtf/SDTFAttributesData.d.ts +23 -0
  89. package/dist/implementation/sdtf/SDTFAttributesData.d.ts.map +1 -0
  90. package/dist/implementation/sdtf/SDTFAttributesData.js +100 -0
  91. package/dist/implementation/sdtf/SDTFAttributesData.js.map +1 -0
  92. package/dist/implementation/sdtf/SDTFItemData.d.ts +19 -0
  93. package/dist/implementation/sdtf/SDTFItemData.d.ts.map +1 -0
  94. package/dist/implementation/sdtf/SDTFItemData.js +60 -0
  95. package/dist/implementation/sdtf/SDTFItemData.js.map +1 -0
  96. package/dist/implementation/sdtf/SDTFOverviewData.d.ts +13 -0
  97. package/dist/implementation/sdtf/SDTFOverviewData.d.ts.map +1 -0
  98. package/dist/implementation/sdtf/SDTFOverviewData.js +107 -0
  99. package/dist/implementation/sdtf/SDTFOverviewData.js.map +1 -0
  100. package/dist/index.d.ts +31 -5
  101. package/dist/index.d.ts.map +1 -1
  102. package/dist/index.js +51 -1
  103. package/dist/index.js.map +1 -1
  104. package/package.json +5 -4
  105. package/dist/interfaces/ITree.d.ts +0 -46
  106. package/dist/interfaces/ITree.d.ts.map +0 -1
  107. package/dist/interfaces/ITree.js +0 -3
  108. package/dist/interfaces/ITree.js.map +0 -1
  109. package/dist/interfaces/ITreeNode.d.ts +0 -237
  110. package/dist/interfaces/ITreeNode.d.ts.map +0 -1
  111. package/dist/interfaces/ITreeNode.js +0 -4
  112. package/dist/interfaces/ITreeNode.js.map +0 -1
  113. package/dist/interfaces/ITreeNodeData.d.ts +0 -36
  114. package/dist/interfaces/ITreeNodeData.d.ts.map +0 -1
  115. package/dist/interfaces/ITreeNodeData.js +0 -3
  116. package/dist/interfaces/ITreeNodeData.js.map +0 -1
@@ -1,46 +0,0 @@
1
- import { ITreeNode } from "./ITreeNode";
2
- export interface ITree {
3
- /**
4
- * The root of the tree.
5
- */
6
- readonly root: ITreeNode;
7
- /**
8
- * Add the node as a child of the corresponding parent node.
9
- *
10
- * @param node the node to be added
11
- * @param parent the targeted parent node
12
- * @param root optional root at which the process begins, root node will be used per default
13
- */
14
- addNode(node: ITreeNode, parent?: ITreeNode, root?: ITreeNode): boolean;
15
- /**
16
- * Add the node at the corresponding path. (paths are dot separated ids)
17
- *
18
- * @param node the node to be added
19
- * @param path the path at which the node should be added
20
- * @param root optional root at which the process begins, root node will be used per default
21
- */
22
- addNodeAtPath(node: ITreeNode, path?: string, root?: ITreeNode): boolean;
23
- /**
24
- * Get the node at the provided path.
25
- *
26
- * @param path
27
- * @param root
28
- * @returns
29
- */
30
- getNodeAtPath(path?: string, root?: ITreeNode): ITreeNode | null;
31
- /**
32
- * Remove a node from the tree.
33
- *
34
- * @param node the node to remove
35
- * @param root optional root at which the process begins, root node will be used per default
36
- */
37
- removeNode(node: ITreeNode, root?: ITreeNode): boolean;
38
- /**
39
- * Remove a node via the path of it.
40
- *
41
- * @param path the path of the node to be removed
42
- * @param root optional root at which the process begins, root node will be used per default
43
- */
44
- removeNodeAtPath(path: string, root?: ITreeNode): boolean;
45
- }
46
- //# sourceMappingURL=ITree.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITree.d.ts","sourceRoot":"","sources":["../../src/interfaces/ITree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,MAAM,WAAW,KAAK;IAGrB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAMzB;;;;;;OAMG;IACH,OAAO,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IACxE;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IACzE;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,IAAI,CAAC;IACjE;;;;;OAKG;IACH,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IACvD;;;;;OAKG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAG1D"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ITree.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITree.js","sourceRoot":"","sources":["../../src/interfaces/ITree.ts"],"names":[],"mappings":""}
@@ -1,237 +0,0 @@
1
- import { IBox } from "@shapediver/viewer.shared.math";
2
- import { mat4 } from "gl-matrix";
3
- import { ITreeNodeData } from "./ITreeNodeData";
4
- export interface ITransformation {
5
- id: string;
6
- matrix: mat4;
7
- }
8
- export interface ITreeNode {
9
- /**
10
- * The bounding box of this tree node.
11
- */
12
- readonly boundingBox: IBox;
13
- /**
14
- * The bounding box of this tree node for each viewport.
15
- * As there can be properties where tree nodes are excluded from the viewport, the bounding boxes may be different per viewport.
16
- * The {@link boundingBox} property can be used as the general bounding box without any viewport specific exclusions.
17
- */
18
- readonly boundingBoxViewport: {
19
- [key: string]: IBox;
20
- };
21
- /**
22
- * The children of this tree node. Can be added and remove via {@link addChild} and {@link removeChild}.
23
- */
24
- readonly children: ITreeNode[];
25
- /**
26
- * The data of this tree node.
27
- * The data can include Geometry, Materials, Lights, Cameras, but also informational or custom data.
28
- *
29
- * Can be added and remove via {@link addData} and {@link removeData}.
30
- */
31
- readonly data: ITreeNodeData[];
32
- /**
33
- * The ID of the tree node.
34
- */
35
- readonly id: string;
36
- /**
37
- * The name of the tree node.
38
- */
39
- readonly name: string;
40
- /**
41
- * The matrix of the tree node.
42
- * This is computed via all transformations in the {@link transformations} property.
43
- */
44
- readonly nodeMatrix: mat4;
45
- /**
46
- * The original ID of the tree node, if it was copied.
47
- */
48
- readonly originalId: string;
49
- /**
50
- * The original name of the tree node, if one was supplied.
51
- */
52
- readonly originalName?: string;
53
- /**
54
- * The parent of the tree node.
55
- * This property is automatically managed by {@link addChild} and {@link removeChild}.
56
- */
57
- readonly parent?: ITreeNode;
58
- /**
59
- * The version of the tree node.
60
- * If the version changes, the node will be marked for an update.
61
- * A version change can be triggered via {@link updateVersion}.
62
- */
63
- readonly version: string;
64
- /**
65
- * The world matrix of the tree node.
66
- * This includes also the transformations of all parents.
67
- */
68
- readonly worldMatrix: mat4;
69
- /**
70
- * The inverse matrices for the bones, if specified.
71
- */
72
- boneInverses: mat4[];
73
- /**
74
- * The optional bones that build a skeleton for animations.
75
- */
76
- bones: ITreeNode[];
77
- /**
78
- * The converted object of the tree node.
79
- */
80
- convertedObject: {
81
- [key: string]: unknown;
82
- };
83
- /**
84
- * An optional name that can be used for display purposes.
85
- * If not specified, the {@link name} property will be used.
86
- */
87
- displayName?: string;
88
- /**
89
- * The viewports to exclude this tree node from.
90
- */
91
- excludeViewports: string[];
92
- /**
93
- * If for this node, global intersection tests should be performed. (default: true)
94
- */
95
- intersectionTest: boolean;
96
- /**
97
- * The viewports to restrict this tree node to.
98
- */
99
- restrictViewports: string[];
100
- /**
101
- * Property to mark this node as a skin node. (default: false)
102
- */
103
- skinNode: boolean;
104
- /**
105
- * The transformation to be applied to this tree node.
106
- */
107
- transformations: ITransformation[];
108
- /**
109
- * The update callback for the tree node.
110
- * This callback is called when the node is updated, e.g. when the version changes.
111
- */
112
- updateCallback: ((newVersion: string, oldVersion: string) => void) | null;
113
- /**
114
- * The update callback for the converted object of the tree node.
115
- */
116
- updateCallbackConvertedObject: ((newObj: unknown, oldObj: unknown, viewport: string) => void) | null;
117
- /**
118
- * Option to make this tree node visible. (default: true)
119
- */
120
- visible: boolean;
121
- /**
122
- * Add a child to the children of this node.
123
- *
124
- * @param child the child to add
125
- */
126
- addChild(child: ITreeNode): boolean;
127
- /**
128
- * Add a data item to node.
129
- *
130
- * @param data the data to add
131
- */
132
- addData(data: ITreeNodeData): boolean;
133
- /**
134
- * Add a transformation to this node.
135
- *
136
- * @param transformation the transformation to add
137
- */
138
- addTransformation(transformation: ITransformation): boolean;
139
- /**
140
- * Clones this node and all its children.
141
- * The data objects like GeometryData, MaterialData, etc. are cloned as well.
142
- * Depending on the size of the node and the amount of children, this can therefore be relatively slow.
143
- */
144
- clone(): ITreeNode;
145
- /**
146
- * Clones this node and all its children.
147
- * The data objects like GeometryData, MaterialData, etc. are not copied in this case.
148
- */
149
- cloneInstance(): ITreeNode;
150
- /**
151
- * Returns the child with the specified id
152
- */
153
- getChild(id: string): ITreeNode | undefined;
154
- /**
155
- * Returns the data item with the specified id
156
- */
157
- getData(id: string): ITreeNodeData | undefined;
158
- /**
159
- * Test this node and all it's descendants for nodes with the specified name and return them in an array.
160
- * @param name
161
- */
162
- getNodesByName(name: string): ITreeNode[];
163
- /**
164
- * Test this nodes name and all it's descendants name for nodes for the specified regex and return them in an array.
165
- * @param regex
166
- */
167
- getNodesByNameWithRegex(regex: RegExp): ITreeNode[];
168
- /**
169
- * Return the path to this node.
170
- */
171
- getPath(): string;
172
- /**
173
- * Return the path to this node with the original names.
174
- * If no original name is set, the entry is left empty.
175
- */
176
- getOriginalNamePath(): string;
177
- /**
178
- * Returns the transformation with the specified id
179
- */
180
- getTransformation(id: string): ITransformation | undefined;
181
- /**
182
- * Check for existence of a child from the children of this node.
183
- *
184
- * @param child the child to check
185
- */
186
- hasChild(child: ITreeNode): boolean;
187
- /**
188
- * Check for existence of a data item of this node.
189
- *
190
- * @param data the data item to check
191
- */
192
- hasData(data: ITreeNodeData): boolean;
193
- /**
194
- * Check for existence of a transformation of this node.
195
- *
196
- * @param data the transformation to check
197
- */
198
- hasTransformation(transformation: ITransformation): boolean;
199
- /**
200
- * Remove a child from the children of this node.
201
- *
202
- * @param child the child to remove
203
- */
204
- removeChild(child: ITreeNode): boolean;
205
- /**
206
- * Remove a data item from this node.
207
- *
208
- * @param data the data to remove
209
- */
210
- removeData(data: ITreeNodeData): boolean;
211
- /**
212
- * Remove a transformation from this node.
213
- *
214
- * @param transformation the transformation to remove
215
- */
216
- removeTransformation(transformation: ITransformation): boolean;
217
- /**
218
- * Traverse this node and all it's children and executes the callback for all of them
219
- *
220
- * @param callback
221
- */
222
- traverse(callback: (node: ITreeNode) => void): void;
223
- /**
224
- * Traverse this node and all it's children and executes the callback for all data items of them
225
- *
226
- * @param callback
227
- */
228
- traverseData(callback: (data: ITreeNodeData) => void): void;
229
- /**
230
- * Update the version.
231
- *
232
- * @param parents if true, the version of all parents will be updated as well (default: true)
233
- * @param children if true, the version of all children will be updated as well (default: true)
234
- */
235
- updateVersion(parents?: boolean, children?: boolean): void;
236
- }
237
- //# sourceMappingURL=ITreeNode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITreeNode.d.ts","sourceRoot":"","sources":["../../src/interfaces/ITreeNode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,gCAAgC,CAAC;AACpD,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAI9C,MAAM,WAAW,eAAe;IAG/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,IAAI,CAAC;CAGb;AAED,MAAM,WAAW,SAAS;IAGzB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,aAAa,EAAE,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,QAAQ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}
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // #endregion Interfaces (2)
4
- //# sourceMappingURL=ITreeNode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITreeNode.js","sourceRoot":"","sources":["../../src/interfaces/ITreeNode.ts"],"names":[],"mappings":";;AA6PA,4BAA4B"}
@@ -1,36 +0,0 @@
1
- export interface ITreeNodeData {
2
- /**
3
- * The converted object of the tree node.
4
- */
5
- convertedObject: {
6
- [key: string]: unknown;
7
- };
8
- /**
9
- * The ID of the tree node data.
10
- */
11
- id: string;
12
- /**
13
- * The update callback for the tree node data.
14
- * This callback is called when the node is updated, e.g. when the version changes.
15
- */
16
- updateCallback: ((newVersion: string, oldVersion: string) => void) | null;
17
- /**
18
- * The update callback for the converted object of the tree node.
19
- */
20
- updateCallbackConvertedObject: ((newObj: unknown, oldObj: unknown, viewport: string) => void) | null;
21
- /**
22
- * The version of the tree node data.
23
- * If the version changes, the node data will be marked for an update.
24
- * A version change can be triggered via {@link updateVersion}.
25
- */
26
- version: string;
27
- /**
28
- * Clones this node tree data.
29
- */
30
- clone(): ITreeNodeData;
31
- /**
32
- * Update the version.
33
- */
34
- updateVersion(): void;
35
- }
36
- //# sourceMappingURL=ITreeNodeData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITreeNodeData.d.ts","sourceRoot":"","sources":["../../src/interfaces/ITreeNodeData.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAG7B;;OAEG;IACH,eAAe,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,CAAC;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,cAAc,EAAE,CAAC,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1E;;OAEG;IACH,6BAA6B,EAC1B,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC,GAC9D,IAAI,CAAC;IACR;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAMhB;;OAEG;IACH,KAAK,IAAI,aAAa,CAAC;IACvB;;OAEG;IACH,aAAa,IAAI,IAAI,CAAC;CAGtB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ITreeNodeData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITreeNodeData.js","sourceRoot":"","sources":["../../src/interfaces/ITreeNodeData.ts"],"names":[],"mappings":""}