@xtctwins/tctwins-bimx-viewer 0.1.26 → 0.1.27
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/README.md
CHANGED
|
@@ -76174,6 +76174,16 @@ class EventTrigger {
|
|
|
76174
76174
|
}
|
|
76175
76175
|
this.events[event].push(listener);
|
|
76176
76176
|
}
|
|
76177
|
+
/**
|
|
76178
|
+
* 注销事件
|
|
76179
|
+
* @param event
|
|
76180
|
+
* @param listener
|
|
76181
|
+
*/
|
|
76182
|
+
off(event, listener) {
|
|
76183
|
+
if (this.events[event]) {
|
|
76184
|
+
this.events[event] = this.events[event].filter((l) => l !== listener);
|
|
76185
|
+
}
|
|
76186
|
+
}
|
|
76177
76187
|
/**
|
|
76178
76188
|
* 触发事件
|
|
76179
76189
|
* @param event
|
|
@@ -78282,6 +78292,7 @@ class BCFTool extends _Controller__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
78282
78292
|
let inViewPoint = [], outViewPoint = [];
|
|
78283
78293
|
if (params.viewPoints) {
|
|
78284
78294
|
params.viewPoints.forEach((value, index) => {
|
|
78295
|
+
var _a;
|
|
78285
78296
|
if (value.bcfView) {
|
|
78286
78297
|
let markerUUID = this.bCFViewpointsPlugin.getUUID();
|
|
78287
78298
|
let newInViewPoint = {
|
|
@@ -78295,7 +78306,7 @@ class BCFTool extends _Controller__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
78295
78306
|
components: value.bcfView.components,
|
|
78296
78307
|
perspective_camera: value.bcfView.perspective_camera,
|
|
78297
78308
|
orthogonal_camera: value.bcfView.orthogonal_camera,
|
|
78298
|
-
snapshot: value.bcfView.snapshot.snapshot_data
|
|
78309
|
+
snapshot: (_a = value.bcfView.snapshot) === null || _a === void 0 ? void 0 : _a.snapshot_data
|
|
78299
78310
|
};
|
|
78300
78311
|
inViewPoint.push(newInViewPoint);
|
|
78301
78312
|
outViewPoint.push(newOutViewPoint);
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export const VERSION = "0.1.
|
|
2
|
+
export const VERSION = "0.1.27";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export const VERSION = "0.1.
|
|
2
|
+
export const VERSION = "0.1.27";
|
package/package.json
CHANGED