@xtctwins/tctwins-core 1.0.24 → 1.0.26
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.es.js +3049 -2771
- package/dist/tctwins-core.min.es.js +4 -4
- package/package.json +2 -2
- package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsPlugin.d.ts +14 -0
- package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsPlugin.d.ts +14 -0
- package/types/viewer/scene/CameraControl/CameraControl.d.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xtctwins/tctwins-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Web Programming Toolkit for 3D/2D BIM and CAD",
|
|
6
6
|
"module": "./dist/tctwins-core.es.js",
|
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
"/dist",
|
|
69
69
|
"/types"
|
|
70
70
|
]
|
|
71
|
-
}
|
|
71
|
+
}
|
|
@@ -124,4 +124,18 @@ export declare class AngleMeasurementsPlugin extends Plugin {
|
|
|
124
124
|
* @param e
|
|
125
125
|
*/
|
|
126
126
|
on(event: "mouseLeave", e: any): void;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* trigger when click or touch measure object
|
|
130
|
+
* @param event
|
|
131
|
+
* @param e
|
|
132
|
+
*/
|
|
133
|
+
on(event: "clickMeasure", e: any): void;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* trigger when touch measure object
|
|
137
|
+
* @param event
|
|
138
|
+
* @param e
|
|
139
|
+
*/
|
|
140
|
+
on(event: "touchMeasure", e: any): void;
|
|
127
141
|
}
|
|
@@ -159,4 +159,18 @@ export declare class DistanceMeasurementsPlugin extends Plugin {
|
|
|
159
159
|
* @param e
|
|
160
160
|
*/
|
|
161
161
|
on(event: "mouseLeave", e: any): void;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* trigger when click or touch measure object
|
|
165
|
+
* @param event
|
|
166
|
+
* @param e
|
|
167
|
+
*/
|
|
168
|
+
on(event: "clickMeasure", e: any): void;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* trigger when touch measure object
|
|
172
|
+
* @param event
|
|
173
|
+
* @param e
|
|
174
|
+
*/
|
|
175
|
+
on(event: "touchMeasure", e: any): void;
|
|
162
176
|
}
|
|
@@ -117,6 +117,15 @@ export declare class CameraControl extends Component {
|
|
|
117
117
|
*/
|
|
118
118
|
on(event: "doublePickedNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
119
119
|
|
|
120
|
+
on(event: "mouseDownEntity", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
121
|
+
on(event: "mouseDownNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
122
|
+
on(event: "touchEntity", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
123
|
+
on(event: "touchSurface", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
124
|
+
on(event: "touchNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
125
|
+
on(event: "touchDoublePicked", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
126
|
+
on(event: "touchDoublePickedSurface", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
127
|
+
on(event: "touchDoublePickedNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
128
|
+
|
|
120
129
|
/**
|
|
121
130
|
* 停止漫游
|
|
122
131
|
*/
|