@realsee/dnalogel 3.43.0 → 3.44.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 +7 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/dist/Sculpt/Meshes/Line.d.ts +19 -1
- package/dist/Sculpt/utils/color.d.ts +1 -1
- package/dist/index.cjs.js +102 -68
- package/dist/index.js +7127 -6867
- package/dist/index.umd.js +106 -72
- package/dist/shared-utils/five/getPosition.d.ts +12 -4
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
- package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
- package/dist/shared-utils/positionToVector3.d.ts +6 -6
- package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/dist/shared-utils/three/index.d.ts +2 -3
- package/libs/AreaMakerPlugin/Controller.js +5 -18
- package/libs/AreaMakerPlugin/index.js +4 -17
- package/libs/AreaMakerPlugin/utils/Item.js +13 -26
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +12 -9
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
- package/libs/CruisePlugin/BaseController.js +20 -33
- package/libs/CruisePlugin/Move.js +25 -23
- package/libs/CruisePlugin/Work.js +10 -8
- package/libs/CruisePlugin/index.js +23 -21
- package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
- package/libs/CurrentPanoImagePlugin/index.js +5 -18
- package/libs/GuideLinePlugin/Controller.js +15 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
- package/libs/GuideLinePlugin/index.js +23 -21
- package/libs/ModelMakerPlugin/Controller.js +19 -30
- package/libs/ModelMakerPlugin/index.js +11 -22
- package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
- package/libs/ModelTVVideoPlugin/index.js +12 -9
- package/libs/Object3DHelperPlugin/Controller.js +7 -5
- package/libs/Object3DHelperPlugin/index.js +23 -21
- package/libs/PanoCompassPlugin/Controller.js +18 -15
- package/libs/PanoCompassPlugin/index.js +21 -18
- package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
- package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
- package/libs/PanoDoorLabelPlugin/index.js +5 -18
- package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
- package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
- package/libs/PanoMeasurePlugin/Model/area.js +30 -44
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +35 -40
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
- package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
- package/libs/PanoSpatialTagPlugin/index.js +10 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +29 -43
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
- package/libs/PanoTagPlugin/Components/Tag/index.js +9 -19
- package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
- package/libs/PanoTagPlugin/Components/TagItem.js +9 -19
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +56 -64
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
- package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
- package/libs/PanoTagPlugin/controller/index.js +27 -25
- package/libs/PanoTagPlugin/index.js +28 -26
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
- package/libs/PanoVideoPlugin/Controller.js +52 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
- package/libs/PanoVideoPlugin/index.js +8 -21
- package/libs/PipelinePlugin/Controller.js +44 -57
- package/libs/PipelinePlugin/index.js +5 -18
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
- package/libs/Sculpt/Meshes/Box.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +14 -14
- package/libs/Sculpt/Meshes/Line.d.ts +19 -1
- package/libs/Sculpt/Meshes/Line.js +40 -41
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polyline.js +3 -3
- package/libs/Sculpt/Meshes/Prism.js +11 -12
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/Modules/Global.js +1 -1
- package/libs/Sculpt/utils/color.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/Components/Compass.js +29 -31
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +140 -137
- package/libs/shared-utils/five/getPosition.d.ts +12 -4
- package/libs/shared-utils/five/getPosition.js +23 -23
- package/libs/shared-utils/five/index.js +2 -2
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +38 -40
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
- package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +6 -6
- package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
- package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
- package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
- package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
- package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/libs/shared-utils/three/index.d.ts +2 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/package.json +3 -3
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -62
- package/libs/shared-utils/three/PointHelper.js +0 -73
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
- /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as
|
|
1
|
+
import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as _, detach as g, element as c, space as w, text as S, attr as f, set_style as u, append as p, set_data as C } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { COMPASS_IMAGE as x } from "../Assets/compass.js";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { rad2Deg as z } from "../../shared-utils/math/rad2Deg.js";
|
|
4
|
+
function A(r) {
|
|
5
|
+
D(r, "svelte-rpkaro", ".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}");
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
-
let t, e, o,
|
|
7
|
+
function M(r) {
|
|
8
|
+
let t, e, o, a, n;
|
|
8
9
|
return {
|
|
9
10
|
c() {
|
|
10
|
-
t = c("div"), e = c("div"), o = w(),
|
|
11
|
+
t = c("div"), e = c("div"), o = w(), a = c("span"), n = S(
|
|
11
12
|
/*northDesc*/
|
|
12
|
-
|
|
13
|
-
), f(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"),
|
|
13
|
+
r[0]
|
|
14
|
+
), f(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), u(e, "background-image", `url(${x})`), f(a, "class", "floorplan-plugin__compass-text svelte-rpkaro"), f(t, "class", "floorplan-plugin__compass svelte-rpkaro"), u(
|
|
14
15
|
t,
|
|
15
16
|
"transform",
|
|
16
17
|
/*compassTransformStyle*/
|
|
17
|
-
|
|
18
|
+
r[2]
|
|
18
19
|
);
|
|
19
20
|
},
|
|
20
21
|
m(s, l) {
|
|
21
|
-
d(s, t, l), p(t, e), p(t, o), p(t,
|
|
22
|
+
d(s, t, l), p(t, e), p(t, o), p(t, a), p(a, n);
|
|
22
23
|
},
|
|
23
24
|
p(s, l) {
|
|
24
25
|
l & /*northDesc*/
|
|
25
26
|
1 && C(
|
|
26
|
-
|
|
27
|
+
n,
|
|
27
28
|
/*northDesc*/
|
|
28
29
|
s[0]
|
|
29
30
|
);
|
|
@@ -33,45 +34,42 @@ function z(a) {
|
|
|
33
34
|
}
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
|
-
function
|
|
37
|
+
function R(r) {
|
|
37
38
|
let t, e = (
|
|
38
39
|
/*canCompassShow*/
|
|
39
|
-
|
|
40
|
+
r[1] && M(r)
|
|
40
41
|
);
|
|
41
42
|
return {
|
|
42
43
|
c() {
|
|
43
44
|
e && e.c(), t = y();
|
|
44
45
|
},
|
|
45
|
-
m(o,
|
|
46
|
-
e && e.m(o,
|
|
46
|
+
m(o, a) {
|
|
47
|
+
e && e.m(o, a), d(o, t, a);
|
|
47
48
|
},
|
|
48
|
-
p(o, [
|
|
49
|
+
p(o, [a]) {
|
|
49
50
|
/*canCompassShow*/
|
|
50
|
-
o[1] && e.p(o,
|
|
51
|
+
o[1] && e.p(o, a);
|
|
51
52
|
},
|
|
52
|
-
i:
|
|
53
|
-
o:
|
|
53
|
+
i: _,
|
|
54
|
+
o: _,
|
|
54
55
|
d(o) {
|
|
55
56
|
e && e.d(o), o && g(t);
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
-
return a / Math.PI * 180;
|
|
61
|
-
}
|
|
62
|
-
function P(a, t, e) {
|
|
60
|
+
function X(r, t, e) {
|
|
63
61
|
var m;
|
|
64
|
-
let { floorplanData: o } = t, { northDesc:
|
|
65
|
-
const
|
|
66
|
-
return
|
|
67
|
-
"floorplanData" in i && e(3, o = i.floorplanData), "northDesc" in i && e(0,
|
|
68
|
-
}, [
|
|
62
|
+
let { floorplanData: o } = t, { northDesc: a } = t;
|
|
63
|
+
const n = (m = o.entrance) == null ? void 0 : m.northRad, s = typeof n == "number", h = `translateX(-50%) translateZ(10px) rotate(${-(n ? z(n) : 0) + 90}deg)`;
|
|
64
|
+
return r.$$set = (i) => {
|
|
65
|
+
"floorplanData" in i && e(3, o = i.floorplanData), "northDesc" in i && e(0, a = i.northDesc);
|
|
66
|
+
}, [a, s, h, o];
|
|
69
67
|
}
|
|
70
|
-
class
|
|
68
|
+
class I extends k {
|
|
71
69
|
constructor(t) {
|
|
72
|
-
super(), b(this, t,
|
|
70
|
+
super(), b(this, t, X, R, v, { floorplanData: 3, northDesc: 0 }, A);
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
export {
|
|
76
|
-
|
|
74
|
+
I as Compass
|
|
77
75
|
};
|
|
@@ -41,13 +41,13 @@ import { correctFiveState as R } from "../utils/correctFiveState.js";
|
|
|
41
41
|
import { changeModelCanvasOpacity as A } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
42
42
|
import { FloorplanErrorType as m, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
43
43
|
import "hammerjs";
|
|
44
|
-
import "
|
|
45
|
-
import "
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
|
-
import { waitFiveModelLoaded as U } from "../../shared-utils/five/fiveModelLoad.js";
|
|
44
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
+
import "@realsee/five/line";
|
|
48
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
49
47
|
import "animejs";
|
|
50
|
-
import { isNil as
|
|
48
|
+
import { isNil as U } from "../../shared-utils/isNil.js";
|
|
49
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
+
import { waitFiveModelLoaded as z } from "../../shared-utils/five/fiveModelLoad.js";
|
|
51
51
|
import "../../shared-utils/isTruelyObject.js";
|
|
52
52
|
import "../../vendor/svelte/internal/index.js";
|
|
53
53
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -87,19 +87,6 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
87
87
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
88
88
|
import "../../shared-utils/nearlyEqual.js";
|
|
89
89
|
import "../../shared-utils/five/changeMode.js";
|
|
90
|
-
import "../../shared-utils/positionToVector3.js";
|
|
91
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
92
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
93
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
94
|
-
import "../../shared-utils/util.js";
|
|
95
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
97
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
98
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
99
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
100
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
101
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
102
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
103
90
|
function W(d) {
|
|
104
91
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
105
92
|
return e || i;
|
|
@@ -108,7 +95,7 @@ function G(d) {
|
|
|
108
95
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
109
96
|
return e && i;
|
|
110
97
|
}
|
|
111
|
-
class
|
|
98
|
+
class Jt extends O {
|
|
112
99
|
constructor(t, e) {
|
|
113
100
|
var a, f;
|
|
114
101
|
super(t);
|
|
@@ -338,7 +325,7 @@ class ae extends O {
|
|
|
338
325
|
getRoomDimensionText: (c, g) => (c / 1e3).toFixed(1) + "m × " + (g / 1e3).toFixed(1) + "m",
|
|
339
326
|
getRuleDistanceText: (c) => c.toString()
|
|
340
327
|
}, n = e ? C(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), s = p(l(l({}, i), n), { missingFloorConfig: h });
|
|
341
|
-
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(),
|
|
328
|
+
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(), z(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
342
329
|
}
|
|
343
330
|
load(t, e, i = !0) {
|
|
344
331
|
return u(this, null, function* () {
|
|
@@ -346,7 +333,7 @@ class ae extends O {
|
|
|
346
333
|
return Object.prototype.hasOwnProperty.apply(c, ["version"]);
|
|
347
334
|
}
|
|
348
335
|
const h = t;
|
|
349
|
-
h &&
|
|
336
|
+
h && U(h.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
350
337
|
const s = JSON.parse(JSON.stringify(t)), a = n(s) ? s.data : s, f = this.data;
|
|
351
338
|
this.data = yield S(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
|
|
352
339
|
});
|
|
@@ -442,5 +429,5 @@ class ae extends O {
|
|
|
442
429
|
}
|
|
443
430
|
}
|
|
444
431
|
export {
|
|
445
|
-
|
|
432
|
+
Jt as Controller
|
|
446
433
|
};
|
|
@@ -40,22 +40,8 @@ import "../../base/BasePluginWithData.js";
|
|
|
40
40
|
import "../../base/BasePlugin.js";
|
|
41
41
|
import "../../shared-utils/Subscribe.js";
|
|
42
42
|
import "hammerjs";
|
|
43
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
44
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
45
|
-
import "../../shared-utils/positionToVector3.js";
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
47
43
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
48
|
-
import "
|
|
49
|
-
import "../../shared-utils/util.js";
|
|
50
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
51
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
52
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
53
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
54
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
55
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
56
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
57
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
58
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
44
|
+
import "@realsee/five/line";
|
|
59
45
|
import "../../shared-utils/three/THREESphere.js";
|
|
60
46
|
import "animejs";
|
|
61
47
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -64,16 +50,17 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
64
50
|
import "../../shared-utils/five/transformPosition.js";
|
|
65
51
|
import "../../shared-utils/five/getFiveModel.js";
|
|
66
52
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
53
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
67
54
|
import "../../shared-utils/getPxmm.js";
|
|
68
55
|
import "../utils/correctFiveState.js";
|
|
69
56
|
import "../utils/constant.js";
|
|
70
57
|
import "../../shared-utils/nearlyEqual.js";
|
|
71
58
|
import "../../shared-utils/five/changeMode.js";
|
|
72
59
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
73
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
74
60
|
import "../../shared-utils/isNil.js";
|
|
75
|
-
|
|
61
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
62
|
+
const uo = (o, r) => new t(o, r);
|
|
76
63
|
export {
|
|
77
|
-
|
|
78
|
-
|
|
64
|
+
uo as MapviewFloorplanPlugin,
|
|
65
|
+
uo as default
|
|
79
66
|
};
|
|
@@ -41,12 +41,12 @@ import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCan
|
|
|
41
41
|
import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
42
42
|
import "three";
|
|
43
43
|
import "hammerjs";
|
|
44
|
-
import "
|
|
45
|
-
import "
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
44
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
+
import "@realsee/five/line";
|
|
47
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
48
47
|
import "animejs";
|
|
49
48
|
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
49
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
50
|
import "../../shared-utils/isTruelyObject.js";
|
|
51
51
|
import "../../vendor/svelte/internal/index.js";
|
|
52
52
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -86,19 +86,6 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
86
86
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
87
87
|
import "../../shared-utils/nearlyEqual.js";
|
|
88
88
|
import "../../shared-utils/five/changeMode.js";
|
|
89
|
-
import "../../shared-utils/positionToVector3.js";
|
|
90
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
91
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
92
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
93
|
-
import "../../shared-utils/util.js";
|
|
94
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
95
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
97
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
98
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
99
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
100
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
101
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
102
89
|
function W(d) {
|
|
103
90
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
104
91
|
return e || i;
|
|
@@ -107,7 +94,7 @@ function z(d) {
|
|
|
107
94
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
108
95
|
return e && i;
|
|
109
96
|
}
|
|
110
|
-
class
|
|
97
|
+
class qt extends T {
|
|
111
98
|
constructor(t, e) {
|
|
112
99
|
var a, f, m;
|
|
113
100
|
super(t);
|
|
@@ -438,5 +425,5 @@ class re extends T {
|
|
|
438
425
|
}
|
|
439
426
|
}
|
|
440
427
|
export {
|
|
441
|
-
|
|
428
|
+
qt as Controller
|
|
442
429
|
};
|
|
@@ -41,22 +41,8 @@ import "../../base/BasePluginWithData.js";
|
|
|
41
41
|
import "../../base/BasePlugin.js";
|
|
42
42
|
import "../../shared-utils/Subscribe.js";
|
|
43
43
|
import "hammerjs";
|
|
44
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
46
|
-
import "../../shared-utils/positionToVector3.js";
|
|
47
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
48
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
49
|
-
import "
|
|
50
|
-
import "../../shared-utils/util.js";
|
|
51
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
52
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
53
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
54
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
55
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
56
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
57
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
58
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
59
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
45
|
+
import "@realsee/five/line";
|
|
60
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
61
47
|
import "animejs";
|
|
62
48
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -65,14 +51,15 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
65
51
|
import "../../shared-utils/five/transformPosition.js";
|
|
66
52
|
import "../../shared-utils/five/getFiveModel.js";
|
|
67
53
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
54
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
68
55
|
import "../utils/correctFiveState.js";
|
|
69
56
|
import "../utils/constant.js";
|
|
70
57
|
import "../../shared-utils/nearlyEqual.js";
|
|
71
58
|
import "../../shared-utils/five/changeMode.js";
|
|
72
59
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
73
60
|
import "../../shared-utils/isNil.js";
|
|
74
|
-
const
|
|
61
|
+
const ao = (o, r) => new t(o, r);
|
|
75
62
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
63
|
+
ao as ModelFloorplanPlugin,
|
|
64
|
+
ao as default
|
|
78
65
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m = Object.defineProperty, w = Object.defineProperties;
|
|
2
2
|
var v = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var b = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var u = (r,
|
|
6
|
-
for (var t in
|
|
7
|
-
A.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
S.call(
|
|
5
|
+
var u = (r, i, t) => i in r ? m(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
|
|
6
|
+
for (var t in i || (i = {}))
|
|
7
|
+
A.call(i, t) && u(r, t, i[t]);
|
|
8
|
+
if (b)
|
|
9
|
+
for (var t of b(i))
|
|
10
|
+
S.call(i, t) && u(r, t, i[t]);
|
|
11
11
|
return r;
|
|
12
|
-
}, f = (r,
|
|
13
|
-
var o = (r,
|
|
14
|
-
var c = (r,
|
|
12
|
+
}, f = (r, i) => w(r, v(i));
|
|
13
|
+
var o = (r, i, t) => (u(r, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
|
+
var c = (r, i, t) => new Promise((e, s) => {
|
|
15
15
|
var a = (n) => {
|
|
16
16
|
try {
|
|
17
17
|
d(t.next(n));
|
|
@@ -24,14 +24,14 @@ var c = (r, e, t) => new Promise((i, s) => {
|
|
|
24
24
|
} catch (l) {
|
|
25
25
|
s(l);
|
|
26
26
|
}
|
|
27
|
-
}, d = (n) => n.done ?
|
|
28
|
-
d((t = t.apply(r,
|
|
27
|
+
}, d = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(a, h);
|
|
28
|
+
d((t = t.apply(r, i)).next());
|
|
29
29
|
});
|
|
30
30
|
import _ from "./Components/Main.js";
|
|
31
31
|
import { equal as y } from "../../shared-utils/equal.js";
|
|
32
32
|
import { CAMERA_IMAGE as D } from "../Assets/camera.js";
|
|
33
33
|
import { Controller as O } from "../../base/BasePluginWithData.js";
|
|
34
|
-
import { formatData as
|
|
34
|
+
import { formatData as g, formatExtraObjects as x } from "../utils/formatData.js";
|
|
35
35
|
import "../../vendor/svelte/internal/index.js";
|
|
36
36
|
import "./Components/Camera.js";
|
|
37
37
|
import "../../shared-utils/throttle.js";
|
|
@@ -50,22 +50,8 @@ import "../../base/BasePlugin.js";
|
|
|
50
50
|
import "../../shared-utils/Subscribe.js";
|
|
51
51
|
import "three";
|
|
52
52
|
import "hammerjs";
|
|
53
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
54
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
55
|
-
import "../../shared-utils/positionToVector3.js";
|
|
56
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
57
53
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
58
|
-
import "
|
|
59
|
-
import "../../shared-utils/util.js";
|
|
60
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
61
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
62
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
63
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
64
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
65
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
66
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
67
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
68
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
54
|
+
import "@realsee/five/line";
|
|
69
55
|
import "../../shared-utils/three/THREESphere.js";
|
|
70
56
|
import "animejs";
|
|
71
57
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -74,9 +60,10 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
74
60
|
import "../../shared-utils/five/transformPosition.js";
|
|
75
61
|
import "../../shared-utils/five/getFiveModel.js";
|
|
76
62
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
63
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
77
64
|
import "../Assets/floorplanExtraObject.js";
|
|
78
|
-
class
|
|
79
|
-
constructor(t,
|
|
65
|
+
class pt extends O {
|
|
66
|
+
constructor(t, e) {
|
|
80
67
|
super(t);
|
|
81
68
|
// =============== public properties =================
|
|
82
69
|
o(this, "name", "panoFloorplanRadarPlugin");
|
|
@@ -102,8 +89,8 @@ class _t extends O {
|
|
|
102
89
|
});
|
|
103
90
|
o(this, "_disable", (t) => {
|
|
104
91
|
var s;
|
|
105
|
-
const { userAction:
|
|
106
|
-
(s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction:
|
|
92
|
+
const { userAction: e } = t;
|
|
93
|
+
(s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: e });
|
|
107
94
|
});
|
|
108
95
|
this.five = t;
|
|
109
96
|
const s = {
|
|
@@ -111,49 +98,49 @@ class _t extends O {
|
|
|
111
98
|
highlightEnable: !0,
|
|
112
99
|
cameraImageUrl: D,
|
|
113
100
|
missingFloorImageUrl: this.staticPrefix + "/release/web/saas/missing-floor.d687a5ed.png"
|
|
114
|
-
}, a = p(p({}, s),
|
|
115
|
-
this.state = { enabled: !0, visible: !0, config: a },
|
|
101
|
+
}, a = p(p({}, s), e == null ? void 0 : e.configs);
|
|
102
|
+
this.state = { enabled: !0, visible: !0, config: a }, e != null && e.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
|
|
116
103
|
}
|
|
117
|
-
load(t,
|
|
104
|
+
load(t, e, s = !0) {
|
|
118
105
|
return c(this, null, function* () {
|
|
119
106
|
function a(l) {
|
|
120
107
|
return Object.prototype.hasOwnProperty.apply(l, ["version"]);
|
|
121
108
|
}
|
|
122
109
|
const h = JSON.parse(JSON.stringify(t)), d = a(h) ? h.data : h, n = this.data;
|
|
123
|
-
this.data = yield
|
|
110
|
+
this.data = yield g(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), e && this.updateState(e, s), this.render();
|
|
124
111
|
});
|
|
125
112
|
}
|
|
126
113
|
show() {
|
|
127
114
|
return c(this, arguments, function* (t = {}) {
|
|
128
115
|
if (this.state.visible)
|
|
129
116
|
return;
|
|
130
|
-
const
|
|
131
|
-
this.updateState({ visible: !0 },
|
|
117
|
+
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
118
|
+
this.updateState({ visible: !0 }, e), this._show({ userAction: e });
|
|
132
119
|
});
|
|
133
120
|
}
|
|
134
121
|
hide() {
|
|
135
122
|
return c(this, arguments, function* (t = {}) {
|
|
136
123
|
if (!this.state.visible)
|
|
137
124
|
return;
|
|
138
|
-
const
|
|
139
|
-
this.updateState({ visible: !1 },
|
|
125
|
+
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
126
|
+
this.updateState({ visible: !1 }, e), this._hide({ userAction: e });
|
|
140
127
|
});
|
|
141
128
|
}
|
|
142
129
|
enable(t = {}) {
|
|
143
130
|
if (this.state.enabled)
|
|
144
131
|
return;
|
|
145
|
-
const
|
|
146
|
-
this.updateState({ enabled: !0 }, t.userAction ||
|
|
132
|
+
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
133
|
+
this.updateState({ enabled: !0 }, t.userAction || e), this._enable({ userAction: e });
|
|
147
134
|
}
|
|
148
135
|
disable(t = {}) {
|
|
149
136
|
if (!this.state.enabled)
|
|
150
137
|
return;
|
|
151
|
-
const
|
|
152
|
-
this.updateState({ enabled: !1 }, t.userAction ||
|
|
138
|
+
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
139
|
+
this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
|
|
153
140
|
}
|
|
154
141
|
/** 更改插件 State */
|
|
155
|
-
setState(t,
|
|
156
|
-
const s = this.state, a =
|
|
142
|
+
setState(t, e = {}) {
|
|
143
|
+
const s = this.state, a = e.userAction !== void 0 ? e.userAction : !0;
|
|
157
144
|
if (this.updateState(t, a), t.enabled !== void 0 && s.enabled !== t.enabled) {
|
|
158
145
|
const h = { userAction: a };
|
|
159
146
|
t.enabled ? this._enable(h) : this._disable(h);
|
|
@@ -167,43 +154,43 @@ class _t extends O {
|
|
|
167
154
|
appendTo(t) {
|
|
168
155
|
this.wrapper !== t && this.app && (this.app.$destroy(), this.app = void 0), this.wrapper = t, this.render();
|
|
169
156
|
}
|
|
170
|
-
changeConfigs(t,
|
|
171
|
-
this.setState({ config: t }, { userAction:
|
|
157
|
+
changeConfigs(t, e = !0) {
|
|
158
|
+
this.setState({ config: t }, { userAction: e }), this.render();
|
|
172
159
|
}
|
|
173
160
|
setExtraObjectsWith3DPositions(t) {
|
|
174
161
|
this.data && (this.extraObjects = x(t, this.five, this.data), this.render());
|
|
175
162
|
}
|
|
176
163
|
formatData(t) {
|
|
177
164
|
return c(this, null, function* () {
|
|
178
|
-
return yield
|
|
165
|
+
return yield g(t.data);
|
|
179
166
|
});
|
|
180
167
|
}
|
|
181
168
|
_enable(t) {
|
|
182
|
-
const { userAction:
|
|
183
|
-
this.hooks.emit("enable", { userAction:
|
|
169
|
+
const { userAction: e } = t;
|
|
170
|
+
this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e });
|
|
184
171
|
}
|
|
185
172
|
_show(t) {
|
|
186
173
|
if (this.disposed || !this.state.enabled)
|
|
187
174
|
return;
|
|
188
|
-
const { userAction:
|
|
189
|
-
this.hooks.emit("show", { userAction:
|
|
175
|
+
const { userAction: e } = t;
|
|
176
|
+
this.hooks.emit("show", { userAction: e }), this.render();
|
|
190
177
|
}
|
|
191
178
|
_hide(t) {
|
|
192
179
|
if (this.disposed || !this.state.enabled)
|
|
193
180
|
return;
|
|
194
|
-
const { userAction:
|
|
195
|
-
this.hooks.emit("hide", { userAction:
|
|
181
|
+
const { userAction: e } = t;
|
|
182
|
+
this.hooks.emit("hide", { userAction: e }), this.render();
|
|
196
183
|
}
|
|
197
|
-
updateState(t,
|
|
184
|
+
updateState(t, e) {
|
|
198
185
|
const s = this.state, a = t.config ? p(p({}, s.config), t.config) : s.config;
|
|
199
|
-
this.state = f(p(p({}, this.state), t), { config: a }), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction:
|
|
186
|
+
this.state = f(p(p({}, this.state), t), { config: a }), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
|
|
200
187
|
}
|
|
201
188
|
render() {
|
|
202
189
|
if (this.disposed || !this.state.enabled)
|
|
203
190
|
return;
|
|
204
191
|
if (!this.wrapper && this.wrapperSelector) {
|
|
205
|
-
const
|
|
206
|
-
this.wrapper =
|
|
192
|
+
const e = document.querySelector(this.wrapperSelector);
|
|
193
|
+
this.wrapper = e;
|
|
207
194
|
}
|
|
208
195
|
if (!this.data || !this.wrapper)
|
|
209
196
|
return;
|
|
@@ -218,5 +205,5 @@ class _t extends O {
|
|
|
218
205
|
}
|
|
219
206
|
}
|
|
220
207
|
export {
|
|
221
|
-
|
|
208
|
+
pt as Controller
|
|
222
209
|
};
|
|
@@ -21,22 +21,8 @@ import "../../base/BasePlugin.js";
|
|
|
21
21
|
import "../../shared-utils/Subscribe.js";
|
|
22
22
|
import "three";
|
|
23
23
|
import "hammerjs";
|
|
24
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
26
|
-
import "../../shared-utils/positionToVector3.js";
|
|
27
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
28
24
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
29
|
-
import "
|
|
30
|
-
import "../../shared-utils/util.js";
|
|
31
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
32
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
33
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
34
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
35
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
36
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
37
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
38
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
39
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
|
+
import "@realsee/five/line";
|
|
40
26
|
import "../../shared-utils/three/THREESphere.js";
|
|
41
27
|
import "animejs";
|
|
42
28
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -45,10 +31,11 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
45
31
|
import "../../shared-utils/five/transformPosition.js";
|
|
46
32
|
import "../../shared-utils/five/getFiveModel.js";
|
|
47
33
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
34
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
48
35
|
import "../utils/formatData.js";
|
|
49
36
|
import "../Assets/floorplanExtraObject.js";
|
|
50
|
-
const
|
|
37
|
+
const L = (o, r) => new t(o, r);
|
|
51
38
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
39
|
+
L as PanoFloorplanRadarPlugin,
|
|
40
|
+
L as default
|
|
54
41
|
};
|