@xtctwins/tctwins-core 1.1.2 → 1.1.3
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.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Web Programming Toolkit for 3D/2D BIM and CAD",
|
|
6
6
|
"module": "./dist/tctwins-core.es5.js",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"build": "rollup --config rollup.config.js && rollup --config rollup.minified.config.js",
|
|
11
11
|
"dev": "webpack --config webpack.min.config.js",
|
|
12
12
|
"publish": "npm publish --access public",
|
|
13
|
-
"release": "npm version patch && npm publish --access public"
|
|
13
|
+
"release": "npm version patch && npm publish --access public",
|
|
14
|
+
"vite-dev": "vite --open --mode dev"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [
|
|
16
17
|
"webgl",
|
|
@@ -50,7 +51,9 @@
|
|
|
50
51
|
"@loaders.gl/gltf": "^3.2.6",
|
|
51
52
|
"@loaders.gl/las": "^3.2.6",
|
|
52
53
|
"@rollup/plugin-babel": "^5.3.1",
|
|
53
|
-
"@rollup/plugin-
|
|
54
|
+
"@rollup/plugin-commonjs": "^28.0.5",
|
|
55
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
56
|
+
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
54
57
|
"babel-loader": "^9.1.3",
|
|
55
58
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
56
59
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
|
@@ -65,10 +68,11 @@
|
|
|
65
68
|
"rollup-plugin-livereload": "^2.0.5",
|
|
66
69
|
"rollup-plugin-terser": "^7.0.2",
|
|
67
70
|
"typedoc": "^0.22.15",
|
|
71
|
+
"vite": "^6.3.5",
|
|
68
72
|
"webpack-cli": "^5.1.4"
|
|
69
73
|
},
|
|
70
74
|
"files": [
|
|
71
75
|
"/dist",
|
|
72
76
|
"/types"
|
|
73
77
|
]
|
|
74
|
-
}
|
|
78
|
+
}
|
|
@@ -131,6 +131,7 @@ export declare class CameraControl extends Component {
|
|
|
131
131
|
|
|
132
132
|
on(event: "personModeSpeedUp", callback: (speedNum: number) => void, scope?: any): string;
|
|
133
133
|
on(event: "personModeSpeedDown", callback: (speedNum: number) => void, scope?: any): string;
|
|
134
|
+
on(event: "touchmoveCanvas", callback: () => void): string;
|
|
134
135
|
|
|
135
136
|
/**
|
|
136
137
|
* 停止漫游
|
|
@@ -249,6 +249,8 @@ export declare class Scene extends Component {
|
|
|
249
249
|
*/
|
|
250
250
|
get highlightedObjects(): { [key: string]: Entity };
|
|
251
251
|
|
|
252
|
+
get edgesObjects(): { [key: string]: Entity }
|
|
253
|
+
|
|
252
254
|
/**
|
|
253
255
|
* Map of currently selected {@link Entity}s that represent objects.
|
|
254
256
|
*
|
|
@@ -403,6 +405,10 @@ export declare class Scene extends Component {
|
|
|
403
405
|
*/
|
|
404
406
|
get selectedObjectIds(): string[];
|
|
405
407
|
|
|
408
|
+
get numEdgesObjects(): number;
|
|
409
|
+
|
|
410
|
+
get edgesObjectIds(): string[];
|
|
411
|
+
|
|
406
412
|
/**
|
|
407
413
|
* Gets the number of {@link Entity}s in {@link Scene.colorizedObjects}.
|
|
408
414
|
*
|