@realsee/dnalogel 3.73.1 → 3.73.3-alpha.1
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/CHANGELOG.md +8 -0
- package/dist/MeasurePlugin/Controller.d.ts +3 -4
- package/dist/MeasurePlugin/index.d.ts +2 -1
- package/dist/Sculpt/utils/export.d.ts +1 -0
- package/dist/index.cjs.js +70 -70
- package/dist/index.js +4451 -4432
- package/dist/index.umd.js +63 -63
- package/dist/shared-utils/three/index.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +80 -79
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -0
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/MeasurePlugin/Controller.d.ts +3 -4
- package/libs/MeasurePlugin/Controller.js +29 -29
- package/libs/MeasurePlugin/index.d.ts +2 -1
- package/libs/MeasurePlugin/index.js +6 -5
- package/libs/MeasurePlugin/utils/MeasureMesh.js +1 -1
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +4 -3
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +18 -17
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -21
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +95 -94
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +22 -21
- package/libs/Sculpt/Meshes/Circle.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -4
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Rectangle.js +4 -3
- package/libs/Sculpt/Objects/Base/index.js +1 -0
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.js +19 -18
- package/libs/Sculpt/utils/export.d.ts +1 -0
- package/libs/Sculpt/utils/export.js +23 -20
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/base/BasePlugin.js +4 -3
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +146 -145
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +41 -33
- package/libs/shared-utils/exports.js +62 -55
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +3 -2
- package/libs/shared-utils/three/PointDomHelper.js +3 -2
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/geometryUtil.js +12 -8
- package/libs/shared-utils/three/index.d.ts +2 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -56,6 +56,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
56
56
|
import { blink as se, reblink as oe } from "../../../shared-utils/three/blink.js";
|
|
57
57
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
58
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
59
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
59
60
|
import { vectorToCoordinates as re } from "../../../shared-utils/vectorToCoordinate.js";
|
|
60
61
|
import { transformPosition as $ } from "../../../shared-utils/five/transformPosition.js";
|
|
61
62
|
import { lookPoint as ae } from "../../../shared-utils/five/lookPoint.js";
|
|
@@ -121,7 +122,7 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
121
122
|
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
122
123
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
123
124
|
import "../../../shared-utils/formatRad.js";
|
|
124
|
-
class
|
|
125
|
+
class Ji {
|
|
125
126
|
constructor(e, i) {
|
|
126
127
|
l(this, "plugin");
|
|
127
128
|
l(this, "id");
|
|
@@ -785,5 +786,5 @@ class Wi {
|
|
|
785
786
|
}
|
|
786
787
|
}
|
|
787
788
|
export {
|
|
788
|
-
|
|
789
|
+
Ji as BaseTag
|
|
789
790
|
};
|
|
@@ -2,16 +2,16 @@ var k = Object.defineProperty, O = Object.defineProperties;
|
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var w = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var f = (
|
|
5
|
+
var f = (m, o, t) => o in m ? k(m, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[o] = t, b = (m, o) => {
|
|
6
6
|
for (var t in o || (o = {}))
|
|
7
|
-
w.call(o, t) && f(
|
|
7
|
+
w.call(o, t) && f(m, t, o[t]);
|
|
8
8
|
if (C)
|
|
9
9
|
for (var t of C(o))
|
|
10
|
-
x.call(o, t) && f(
|
|
11
|
-
return
|
|
12
|
-
}, P = (
|
|
13
|
-
var v = (
|
|
14
|
-
var y = (
|
|
10
|
+
x.call(o, t) && f(m, t, o[t]);
|
|
11
|
+
return m;
|
|
12
|
+
}, P = (m, o) => O(m, F(o));
|
|
13
|
+
var v = (m, o, t) => (f(m, typeof o != "symbol" ? o + "" : o, t), t);
|
|
14
|
+
var y = (m, o, t) => new Promise((e, p) => {
|
|
15
15
|
var n = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
a(t.next(r));
|
|
@@ -24,8 +24,8 @@ var y = (e, o, t) => new Promise((m, p) => {
|
|
|
24
24
|
} catch (i) {
|
|
25
25
|
p(i);
|
|
26
26
|
}
|
|
27
|
-
}, a = (r) => r.done ?
|
|
28
|
-
a((t = t.apply(
|
|
27
|
+
}, a = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(n, d);
|
|
28
|
+
a((t = t.apply(m, o)).next());
|
|
29
29
|
});
|
|
30
30
|
import { initialCSS3DRender as L } from "../../../shared-utils/CSS3DRender/index.js";
|
|
31
31
|
import { CSS3DObjectPlus as N } from "../../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
@@ -50,6 +50,7 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
50
50
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
51
51
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
52
52
|
import { waitFiveModelLoaded as H } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
53
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
53
54
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
54
55
|
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
55
56
|
import "../../../shared-utils/createResizeObserver.js";
|
|
@@ -202,9 +203,9 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
202
203
|
import "../../../shared-utils/safeObj.js";
|
|
203
204
|
import "../../utils/Cache.js";
|
|
204
205
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
205
|
-
class
|
|
206
|
-
constructor(t,
|
|
207
|
-
super(t,
|
|
206
|
+
class or extends R {
|
|
207
|
+
constructor(t, e) {
|
|
208
|
+
super(t, e);
|
|
208
209
|
v(this, "loading", !1);
|
|
209
210
|
/** 加载外部模型 */
|
|
210
211
|
v(this, "loadModel", () => y(this, null, function* () {
|
|
@@ -212,7 +213,7 @@ class ir extends R {
|
|
|
212
213
|
const t = this.data.modelUrl;
|
|
213
214
|
if (!t || (this.loading = !0, yield H(this.five), !this.plugin.tags.includes(this)))
|
|
214
215
|
return;
|
|
215
|
-
const
|
|
216
|
+
const e = A(t).then((r) => y(this, null, function* () {
|
|
216
217
|
var l;
|
|
217
218
|
const i = Object.assign(r.scene, {
|
|
218
219
|
customID: this.id,
|
|
@@ -224,9 +225,9 @@ class ir extends R {
|
|
|
224
225
|
});
|
|
225
226
|
return new T.Matrix4().fromArray(this.matrix).decompose(i.position, i.quaternion, i.scale), i.updateWorldMatrix(!0, !0), i.visible = this.visible, (l = this.getConfig().modelConfig) != null && l.autoLookAtEnabled && i.lookAt(this.five.camera.position.clone().setY(i.position.y)), i;
|
|
226
227
|
}));
|
|
227
|
-
this.model = { promise:
|
|
228
|
-
const p = yield
|
|
229
|
-
if (this.loading = !1, ((d = this.model) == null ? void 0 : d.promise) !==
|
|
228
|
+
this.model = { promise: e };
|
|
229
|
+
const p = yield e;
|
|
230
|
+
if (this.loading = !1, ((d = this.model) == null ? void 0 : d.promise) !== e || !this.plugin.tags.includes(this))
|
|
230
231
|
return;
|
|
231
232
|
this.model.object = p;
|
|
232
233
|
const n = this.plugin.gltfObjectGroup.children.find((r) => r.customID === this.id);
|
|
@@ -279,8 +280,8 @@ class ir extends R {
|
|
|
279
280
|
this.state.unfolded = !0, L(this.five), this.loadModel().then(() => this.updateVisible());
|
|
280
281
|
}
|
|
281
282
|
applyVisible() {
|
|
282
|
-
var t,
|
|
283
|
-
(t = this.tag3DContentSvelte) == null || t.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (
|
|
283
|
+
var t, e;
|
|
284
|
+
(t = this.tag3DContentSvelte) == null || t.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (e = this.model) != null && e.object && (this.model.object.visible = this.visible);
|
|
284
285
|
}
|
|
285
286
|
set(...t) {
|
|
286
287
|
super.set(...t), this.loadModel();
|
|
@@ -288,13 +289,13 @@ class ir extends R {
|
|
|
288
289
|
setData(...t) {
|
|
289
290
|
var p;
|
|
290
291
|
super.setData(...t);
|
|
291
|
-
const
|
|
292
|
-
this.computeRenderType() === "Mesh" ? this.mediaPlane && this.mediaPlane.src !== this.data.mediaData[0].url && (this.mediaPlane.removeFromParent(), this.mediaPlane = new D(this.data.mediaData[0].url,
|
|
292
|
+
const e = this.data.mediaPosition.map(S);
|
|
293
|
+
this.computeRenderType() === "Mesh" ? this.mediaPlane && this.mediaPlane.src !== this.data.mediaData[0].url && (this.mediaPlane.removeFromParent(), this.mediaPlane = new D(this.data.mediaData[0].url, e, { objectFit: this.data.objectFit })) : (p = this.tag3DContentSvelte) == null || p.svelteApp.$set({ tag: this });
|
|
293
294
|
}
|
|
294
295
|
computeNormal() {
|
|
295
296
|
return E(this.data.mediaPosition);
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
299
|
export {
|
|
299
|
-
|
|
300
|
+
or as ModelTag
|
|
300
301
|
};
|
|
@@ -47,6 +47,7 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
47
47
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
48
48
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
49
49
|
import { waitFiveModelLoaded as I } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
50
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
50
51
|
import { uuid as B } from "../../../shared-utils/uuid.js";
|
|
51
52
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
52
53
|
import { Sculpt as x } from "../../../Sculpt/index.js";
|
|
@@ -268,7 +269,6 @@ import "../../../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
268
269
|
import "../../../Sculpt/Meshes/Polygon.js";
|
|
269
270
|
import "../../../shared-utils/three/generatePolygonGeometry.js";
|
|
270
271
|
import "../../../shared-utils/three/earcut3D.js";
|
|
271
|
-
import "../../../vendor/earcut/src/earcut.js";
|
|
272
272
|
import "../../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
273
273
|
import "../../../Sculpt/utils/three/ColoredMesh.js";
|
|
274
274
|
import "../../../shared-utils/three/geometryUtil.js";
|
|
@@ -65,6 +65,7 @@ import "../../../shared-utils/three/core/Line2.js";
|
|
|
65
65
|
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
66
66
|
import "../../../Sculpt/utils/unit.js";
|
|
67
67
|
import "../../../Sculpt/utils/renderDom.js";
|
|
68
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
68
69
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
69
70
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
70
71
|
import "../../../shared-utils/isTouchDevice.js";
|
|
@@ -88,7 +89,7 @@ import "../../../shared-utils/safeObj.js";
|
|
|
88
89
|
import "../../utils/Cache.js";
|
|
89
90
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
90
91
|
const v = new l.Vector2();
|
|
91
|
-
class
|
|
92
|
+
class Lt extends g {
|
|
92
93
|
constructor(t, i) {
|
|
93
94
|
super(t, i);
|
|
94
95
|
p(this, "__Object__");
|
|
@@ -185,5 +186,5 @@ class Kt extends g {
|
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
188
|
export {
|
|
188
|
-
|
|
189
|
+
Lt as PointTag
|
|
189
190
|
};
|
|
@@ -77,6 +77,7 @@ import "../../shared-utils/three/core/Line2.js";
|
|
|
77
77
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
78
78
|
import "../../Sculpt/utils/unit.js";
|
|
79
79
|
import "../../Sculpt/utils/renderDom.js";
|
|
80
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
80
81
|
import "../../shared-utils/five/FivePuppet.js";
|
|
81
82
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
82
83
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -93,7 +94,7 @@ import "../../shared-utils/url/defaultUrls.js";
|
|
|
93
94
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
94
95
|
import "../../shared-utils/typescript/entries.js";
|
|
95
96
|
import "../utils/tag/adaptConfig.js";
|
|
96
|
-
class
|
|
97
|
+
class Zt extends l {
|
|
97
98
|
constructor(t) {
|
|
98
99
|
super(t);
|
|
99
100
|
o(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -144,5 +145,5 @@ class Yt extends l {
|
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
Zt as TagRender
|
|
148
149
|
};
|
|
@@ -33,6 +33,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
33
33
|
import "../../shared-utils/three/blink.js";
|
|
34
34
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
35
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
36
37
|
import { FiveDomEvents as x } from "../../shared-utils/five/FiveDomEvents.js";
|
|
37
38
|
import "../../shared-utils/five/FivePuppet.js";
|
|
38
39
|
import { Cache as se } from "../utils/Cache.js";
|
|
@@ -102,7 +103,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
102
103
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
103
104
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
104
105
|
import "../../shared-utils/url/defaultUrls.js";
|
|
105
|
-
class
|
|
106
|
+
class Xt extends ce {
|
|
106
107
|
constructor(e) {
|
|
107
108
|
super(e);
|
|
108
109
|
s(this, "tags", []);
|
|
@@ -308,5 +309,5 @@ class Gt extends ce {
|
|
|
308
309
|
}
|
|
309
310
|
}
|
|
310
311
|
export {
|
|
311
|
-
|
|
312
|
+
Xt as TagUtil
|
|
312
313
|
};
|
|
@@ -51,6 +51,7 @@ import "../../shared-utils/three/blink.js";
|
|
|
51
51
|
import { getFiveModel as V } from "../../shared-utils/five/getFiveModel.js";
|
|
52
52
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
53
53
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
54
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
54
55
|
import { nextFrame as z } from "../../shared-utils/animationFrame/index.js";
|
|
55
56
|
import "../../shared-utils/five/FivePuppet.js";
|
|
56
57
|
import { DebugUtil as j } from "../utils/DebugUtil.js";
|
|
@@ -282,7 +283,6 @@ import "../../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
282
283
|
import "../../Sculpt/Meshes/Polygon.js";
|
|
283
284
|
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
284
285
|
import "../../shared-utils/three/earcut3D.js";
|
|
285
|
-
import "../../vendor/earcut/src/earcut.js";
|
|
286
286
|
import "../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
287
287
|
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
288
288
|
import "../../shared-utils/three/geometryUtil.js";
|
|
@@ -64,6 +64,7 @@ import "../shared-utils/three/core/Line2.js";
|
|
|
64
64
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
65
65
|
import "../Sculpt/utils/unit.js";
|
|
66
66
|
import "../Sculpt/utils/renderDom.js";
|
|
67
|
+
import "../vendor/earcut/src/earcut.js";
|
|
67
68
|
import "../shared-utils/five/FivePuppet.js";
|
|
68
69
|
import "@realsee/five";
|
|
69
70
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -254,7 +255,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
254
255
|
import "../Sculpt/Meshes/Polygon.js";
|
|
255
256
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
256
257
|
import "../shared-utils/three/earcut3D.js";
|
|
257
|
-
import "../vendor/earcut/src/earcut.js";
|
|
258
258
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
259
259
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
260
260
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -28,6 +28,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
28
28
|
import "../../../shared-utils/three/blink.js";
|
|
29
29
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
30
30
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
31
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
31
32
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
32
33
|
import "../../../shared-utils/positionToVector3.js";
|
|
33
34
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -80,7 +81,7 @@ import "../../../vendor/animejs/lib/anime.es.js";
|
|
|
80
81
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
81
82
|
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
82
83
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
83
|
-
function
|
|
84
|
+
function di(o, i, t) {
|
|
84
85
|
var v, b, j, C, A;
|
|
85
86
|
const D = (v = t == null ? void 0 : t.useCache) != null ? v : !0;
|
|
86
87
|
if (!o)
|
|
@@ -126,5 +127,5 @@ function li(o, i, t) {
|
|
|
126
127
|
return P(T), Object.values(f).forEach((e) => P(e)), T._isMerged = !0, T;
|
|
127
128
|
}
|
|
128
129
|
export {
|
|
129
|
-
|
|
130
|
+
di as calculateTagConfig
|
|
130
131
|
};
|
|
@@ -10,6 +10,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
10
10
|
import "../../../shared-utils/three/blink.js";
|
|
11
11
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
12
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
13
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
13
14
|
import { PANO_TAG_DEFAULT_LINK_ICON as e } from "../../../shared-utils/url/defaultUrls.js";
|
|
14
15
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
15
16
|
import "../../../shared-utils/positionToVector3.js";
|
|
@@ -67,7 +68,7 @@ import "@realsee/five";
|
|
|
67
68
|
function n(i) {
|
|
68
69
|
return i.stickType ? i.stickType : i.pointType === "PointTag" && i.dimensionType === "3D" ? "3DPoint" : i.pointType === "PlaneTag" ? "Plane" : "2DPoint";
|
|
69
70
|
}
|
|
70
|
-
function
|
|
71
|
+
function Li(i) {
|
|
71
72
|
var r, o, p, m;
|
|
72
73
|
if (i.stickType || (i.stickType = n(i)), i.contentType === "VRLink" || i.contentType === "PanoLink" || i.contentType === "Link") {
|
|
73
74
|
const t = i;
|
|
@@ -81,6 +82,6 @@ function xi(i) {
|
|
|
81
82
|
}), i;
|
|
82
83
|
}
|
|
83
84
|
export {
|
|
84
|
-
|
|
85
|
+
Li as default,
|
|
85
86
|
n as getTagStickType
|
|
86
87
|
};
|
|
@@ -71,6 +71,7 @@ import "../shared-utils/three/core/Line2.js";
|
|
|
71
71
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
72
72
|
import "../Sculpt/utils/unit.js";
|
|
73
73
|
import "../Sculpt/utils/renderDom.js";
|
|
74
|
+
import "../vendor/earcut/src/earcut.js";
|
|
74
75
|
import "../shared-utils/five/FivePuppet.js";
|
|
75
76
|
import "@realsee/five";
|
|
76
77
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -82,7 +83,7 @@ import "../Sculpt/utils/three/rayOnLine.js";
|
|
|
82
83
|
import "../shared-utils/animationFrame/index.js";
|
|
83
84
|
import "./utils/index.js";
|
|
84
85
|
import "../shared-utils/url/defaultUrls.js";
|
|
85
|
-
class
|
|
86
|
+
class qr extends _ {
|
|
86
87
|
constructor(r) {
|
|
87
88
|
super(r);
|
|
88
89
|
s(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
@@ -227,5 +228,5 @@ class jr extends _ {
|
|
|
227
228
|
}
|
|
228
229
|
}
|
|
229
230
|
export {
|
|
230
|
-
|
|
231
|
+
qr as PanoVideoPluginController
|
|
231
232
|
};
|
|
@@ -14,6 +14,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
14
14
|
import "../shared-utils/three/blink.js";
|
|
15
15
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
17
|
+
import "../vendor/earcut/src/earcut.js";
|
|
17
18
|
import { requestAnimationFrameInterval as b } from "../shared-utils/animationFrame/index.js";
|
|
18
19
|
import "../shared-utils/five/FivePuppet.js";
|
|
19
20
|
import A from "./utils/index.js";
|
|
@@ -69,7 +70,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
69
70
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
70
71
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
71
72
|
import "@realsee/five";
|
|
72
|
-
class
|
|
73
|
+
class Qi {
|
|
73
74
|
/** 初始化视频、模型以及相关事件监听。 */
|
|
74
75
|
constructor(i, e) {
|
|
75
76
|
t(this, "video");
|
|
@@ -344,5 +345,5 @@ class Ni {
|
|
|
344
345
|
}
|
|
345
346
|
}
|
|
346
347
|
export {
|
|
347
|
-
|
|
348
|
+
Qi as VideoMeshController
|
|
348
349
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as jo } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
@@ -59,6 +59,7 @@ import "../shared-utils/three/core/Line2.js";
|
|
|
59
59
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
60
60
|
import "../Sculpt/utils/unit.js";
|
|
61
61
|
import "../Sculpt/utils/renderDom.js";
|
|
62
|
+
import "../vendor/earcut/src/earcut.js";
|
|
62
63
|
import "../shared-utils/five/FivePuppet.js";
|
|
63
64
|
import "@realsee/five";
|
|
64
65
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -71,9 +72,9 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
71
72
|
import "./utils/index.js";
|
|
72
73
|
import "../base/BasePlugin.js";
|
|
73
74
|
import "../shared-utils/url/defaultUrls.js";
|
|
74
|
-
const
|
|
75
|
+
const To = (o) => new r(o);
|
|
75
76
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
To as PanoVideoPlugin,
|
|
78
|
+
jo as PanoVideoPluginType,
|
|
79
|
+
To as default
|
|
79
80
|
};
|