@xtctwins/tctwins-core 1.0.9 → 1.0.11
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/tctwins-core.cjs.js +11 -7
- package/dist/tctwins-core.es.js +11 -7
- package/dist/tctwins-core.es5.js +5 -4
- package/dist/tctwins-core.min.cjs.js +3 -3
- package/dist/tctwins-core.min.es.js +3 -3
- package/dist/tctwins-core.min.es5.js +3 -3
- package/package.json +1 -1
- package/types/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +19 -0
- package/types/viewer/Viewer.d.ts +2 -0
package/package.json
CHANGED
|
@@ -154,4 +154,23 @@ export declare class TreeViewPlugin extends Plugin {
|
|
|
154
154
|
* @param {Function} callback Callback fired on the event
|
|
155
155
|
*/
|
|
156
156
|
on(event: "nodeTitleClicked", callback: (data: { event: MouseEvent, viewer: Viewer, treeViewPlugin: TreeViewPlugin, treeViewNode: TreeViewNode }) => void): void;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Fires when click the ExpandButton
|
|
160
|
+
* @param event
|
|
161
|
+
* @param callback
|
|
162
|
+
*/
|
|
163
|
+
on(event:"ExpandHandler", callback:(event:any)=>void):void;
|
|
164
|
+
/**
|
|
165
|
+
* Fires when click the Collapse
|
|
166
|
+
* @param event
|
|
167
|
+
* @param callback
|
|
168
|
+
*/
|
|
169
|
+
on(event:"CollapseHandler", callback:(event:any)=>void):void;
|
|
170
|
+
/**
|
|
171
|
+
* Fires when click the checkBox
|
|
172
|
+
* @param event
|
|
173
|
+
* @param callback
|
|
174
|
+
*/
|
|
175
|
+
on(event:"checkBoxChanged", callback:(event:any)=>void):void;
|
|
157
176
|
}
|
package/types/viewer/Viewer.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ export declare type ViewerConfiguration = {
|
|
|
63
63
|
localeService?: LocaleService;
|
|
64
64
|
/** Whether to enable data texture-based (DTX) scene representation within the Viewer. */
|
|
65
65
|
dtxEnabled?: boolean;
|
|
66
|
+
/** Whether to show edges */
|
|
67
|
+
edgesEnabled?:boolean;
|
|
66
68
|
/** Enhances the efficiency of SectionPlane creation by proactively allocating Viewer resources for a specified quantity of SectionPlanes.*/
|
|
67
69
|
numCachedSectionPlanes?: number;
|
|
68
70
|
};
|