@xtctwins/tctwins-core 1.0.39 → 1.0.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-core",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "private": false,
5
5
  "description": "Web Programming Toolkit for 3D/2D BIM and CAD",
6
6
  "module": "./dist/tctwins-core.es5.js",
@@ -120,12 +120,14 @@ export declare class CameraControl extends Component {
120
120
  on(event: "mouseDownEntity", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
121
121
  on(event: "mouseDownNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
122
122
  on(event: "touchPicked", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
123
+ on(event: "touchPickedSurface", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
124
+ on(event: "touchPickedNothing", callback: () => void, scope?: any): string;
123
125
  on(event: "touchEntity", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
124
126
  on(event: "touchSurface", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
125
- on(event: "touchNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
127
+ on(event: "touchNothing", callback: () => void, scope?: any): string;
126
128
  on(event: "touchDoublePicked", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
127
129
  on(event: "touchDoublePickedSurface", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
128
- on(event: "touchDoublePickedNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
130
+ on(event: "touchDoublePickedNothing", callback: () => void, scope?: any): string;
129
131
 
130
132
  /**
131
133
  * 停止漫游