@realsee/dnalogel 3.41.2 → 3.41.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/CHANGELOG.md +3 -0
- package/dist/CruisePlugin/BaseController.d.ts +0 -2
- package/dist/CurrentPanoImagePlugin/Controller.d.ts +1 -0
- package/dist/base/BasePlugin.d.ts +2 -0
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +3921 -3904
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/Utils/FiveUtil.d.ts +1 -0
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -0
- package/dist/shared-utils/five/getFiveModel.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +6 -4
- package/libs/AreaMakerPlugin/index.js +5 -3
- package/libs/AreaMakerPlugin/utils/Item.js +2 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CruisePlugin/BaseController.d.ts +0 -2
- package/libs/CruisePlugin/BaseController.js +36 -36
- package/libs/CruisePlugin/Move.js +5 -4
- package/libs/CruisePlugin/Work.js +5 -4
- package/libs/CruisePlugin/index.js +9 -8
- package/libs/CurrentPanoImagePlugin/Controller.d.ts +1 -0
- package/libs/CurrentPanoImagePlugin/Controller.js +13 -11
- package/libs/CurrentPanoImagePlugin/index.js +6 -4
- package/libs/GuideLinePlugin/Controller.js +7 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
- package/libs/GuideLinePlugin/index.js +9 -8
- package/libs/ModelMakerPlugin/Controller.js +5 -3
- package/libs/ModelMakerPlugin/index.js +5 -3
- 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/ModelMakerPlugin/utils/getFiveDomEvent.js +7 -6
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +16 -14
- package/libs/Object3DHelperPlugin/index.js +8 -6
- package/libs/PanoCompassPlugin/Controller.js +5 -3
- package/libs/PanoCompassPlugin/index.js +6 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
- package/libs/PanoDoorLabelPlugin/index.js +6 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +35 -34
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +50 -49
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +4 -3
- package/libs/PanoMeasurePlugin/index.js +16 -14
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/controller/TagCache.js +11 -9
- package/libs/PanoTagPlugin/controller/TagComputer.js +12 -10
- package/libs/PanoTagPlugin/controller/TagRender.js +5 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +5 -3
- package/libs/PanoTagPlugin/controller/index.js +8 -6
- package/libs/PanoTagPlugin/index.js +14 -12
- package/libs/PanoVideoPlugin/Controller.js +5 -3
- package/libs/PanoVideoPlugin/index.js +8 -6
- package/libs/PipelinePlugin/Controller.js +25 -23
- package/libs/PipelinePlugin/index.js +6 -4
- package/libs/base/BasePlugin.d.ts +2 -0
- package/libs/base/BasePlugin.js +14 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +14 -11
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
- package/libs/index.js +128 -127
- package/libs/shared-utils/Utils/FiveUtil.d.ts +1 -0
- package/libs/shared-utils/Utils/FiveUtil.js +11 -7
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -0
- package/libs/shared-utils/five/FiveDomEvents.js +46 -42
- package/libs/shared-utils/five/fiveModelLoad.js +26 -17
- package/libs/shared-utils/five/getFiveModel.d.ts +2 -0
- package/libs/shared-utils/five/getFiveModel.js +7 -0
- package/libs/shared-utils/five/getPosition.js +24 -23
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +10 -9
- package/libs/shared-utils/three/getIntersect.js +19 -18
- package/package.json +1 -1
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +0 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as bt } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as jt } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -24,9 +24,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
25
|
import "animejs";
|
|
26
26
|
import "../shared-utils/url/absoluteUrl.js";
|
|
27
|
-
import "../shared-utils/Utils/
|
|
27
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
28
28
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
29
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
29
30
|
import "../shared-utils/five/transformPosition.js";
|
|
31
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
30
32
|
import "../shared-utils/equal.js";
|
|
31
33
|
import "../shared-utils/isTruelyObject.js";
|
|
32
34
|
import "../CruisePlugin/Work.js";
|
|
@@ -41,7 +43,6 @@ import "../shared-utils/vectorToCoordinate.js";
|
|
|
41
43
|
import "../shared-utils/formatRad.js";
|
|
42
44
|
import "../CruisePlugin/BaseController.js";
|
|
43
45
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
44
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
45
46
|
import "../shared-utils/isNil.js";
|
|
46
47
|
import "../shared-utils/log.js";
|
|
47
48
|
import "./utils/createLineGeometry.js";
|
|
@@ -178,10 +179,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
178
179
|
import "../shared-utils/nearlyEqual.js";
|
|
179
180
|
import "../CruisePlugin/Move.js";
|
|
180
181
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
181
|
-
const r = (i, o) => new t(i, o),
|
|
182
|
+
const r = (i, o) => new t(i, o), Pt = r;
|
|
182
183
|
export {
|
|
183
|
-
|
|
184
|
-
|
|
184
|
+
bt as GuideLineItem,
|
|
185
|
+
jt as GuideLineModeItem,
|
|
185
186
|
r as GuideLinePlugin,
|
|
186
|
-
|
|
187
|
+
Pt as default
|
|
187
188
|
};
|
|
@@ -38,9 +38,11 @@ import { getFiveDomEvent as q } from "./utils/getFiveDomEvent.js";
|
|
|
38
38
|
import "../base/BasePlugin.js";
|
|
39
39
|
import "../shared-utils/Subscribe.js";
|
|
40
40
|
import "../shared-utils/url/absoluteUrl.js";
|
|
41
|
-
import "../shared-utils/Utils/
|
|
41
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
42
42
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
43
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
43
44
|
import "../shared-utils/five/transformPosition.js";
|
|
45
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
44
46
|
import "../shared-utils/three/IObject3D.js";
|
|
45
47
|
import "../Sculpt/Meshes/Polygon.js";
|
|
46
48
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
@@ -79,7 +81,7 @@ import "../shared-utils/tag.js";
|
|
|
79
81
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
80
82
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
81
83
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
82
|
-
class
|
|
84
|
+
class tt extends T {
|
|
83
85
|
constructor(e, t) {
|
|
84
86
|
var s, p;
|
|
85
87
|
super(e);
|
|
@@ -237,5 +239,5 @@ class Xe extends T {
|
|
|
237
239
|
}
|
|
238
240
|
}
|
|
239
241
|
export {
|
|
240
|
-
|
|
242
|
+
tt as Controller
|
|
241
243
|
};
|
|
@@ -22,9 +22,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "animejs";
|
|
24
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
25
|
-
import "../shared-utils/Utils/
|
|
25
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
26
26
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
27
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
28
|
import "../shared-utils/five/transformPosition.js";
|
|
29
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
28
30
|
import "./item/boxItem.js";
|
|
29
31
|
import "./item/polygonItem.js";
|
|
30
32
|
import "./item/baseItem.js";
|
|
@@ -61,7 +63,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
61
63
|
import "../components/AreaLabel/LabelItem.js";
|
|
62
64
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
63
65
|
import "./item/prismItem.js";
|
|
64
|
-
const
|
|
66
|
+
const go = (...o) => new r(...o);
|
|
65
67
|
export {
|
|
66
|
-
|
|
68
|
+
go as ModelMakerPlugin
|
|
67
69
|
};
|
|
@@ -9,10 +9,11 @@ import { boundingBox as p } from "../../shared-utils/Object3DHelper/utils/boundi
|
|
|
9
9
|
import { getFiveDomEvent as c } from "../utils/getFiveDomEvent.js";
|
|
10
10
|
import "../../shared-utils/positionToVector3.js";
|
|
11
11
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
12
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
12
13
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
13
14
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
14
15
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
15
|
-
class
|
|
16
|
+
class C extends a {
|
|
16
17
|
constructor(e) {
|
|
17
18
|
var o, r;
|
|
18
19
|
super();
|
|
@@ -55,5 +56,5 @@ class y extends a {
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
C as ModelMakerBaseItem
|
|
59
60
|
};
|
|
@@ -6,16 +6,17 @@ import "../../shared-utils/Subscribe.js";
|
|
|
6
6
|
import "../../shared-utils/tag.js";
|
|
7
7
|
import "../../shared-utils/positionToVector3.js";
|
|
8
8
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
9
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
9
10
|
import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
10
11
|
import "../utils/getFiveDomEvent.js";
|
|
11
12
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
12
13
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
13
14
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
14
|
-
class
|
|
15
|
+
class I extends r {
|
|
15
16
|
constructor(...o) {
|
|
16
17
|
super(...o);
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
export {
|
|
20
|
-
|
|
21
|
+
I as ModelMakerBoxItem
|
|
21
22
|
};
|
|
@@ -8,12 +8,13 @@ import "../../shared-utils/Subscribe.js";
|
|
|
8
8
|
import "../../shared-utils/tag.js";
|
|
9
9
|
import "../../shared-utils/positionToVector3.js";
|
|
10
10
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
11
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
11
12
|
import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
12
13
|
import "../utils/getFiveDomEvent.js";
|
|
13
14
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
14
15
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
15
16
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
16
|
-
class
|
|
17
|
+
class q extends h {
|
|
17
18
|
constructor(...i) {
|
|
18
19
|
super(...i);
|
|
19
20
|
s(this, "hideTag", () => {
|
|
@@ -35,5 +36,5 @@ class k extends h {
|
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
q as ModelMakerPolygonItem
|
|
39
40
|
};
|
|
@@ -18,16 +18,17 @@ import "../../shared-utils/Subscribe.js";
|
|
|
18
18
|
import "../../shared-utils/tag.js";
|
|
19
19
|
import "../../shared-utils/positionToVector3.js";
|
|
20
20
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
21
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
21
22
|
import "../utils/getFiveDomEvent.js";
|
|
22
23
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
23
24
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
24
25
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
25
|
-
class
|
|
26
|
+
class j extends f {
|
|
26
27
|
constructor(...o) {
|
|
27
28
|
const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
|
|
28
29
|
super(s(i({}, r), { position: a })), this.enable();
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
+
j as ModelMakerPrismItem
|
|
33
34
|
};
|
|
@@ -2,11 +2,12 @@ import { FiveDomEvents as n } from "../../shared-utils/five/FiveDomEvents.js";
|
|
|
2
2
|
import "three";
|
|
3
3
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
4
4
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
6
|
+
let t;
|
|
7
|
+
const s = (e) => ((!t || e !== t.five) && (t = {
|
|
8
|
+
instance: new n(e, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
|
|
9
|
+
five: e
|
|
10
|
+
}), t.instance);
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
s as getFiveDomEvent
|
|
12
13
|
};
|
|
@@ -41,7 +41,8 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
41
41
|
import "animejs";
|
|
42
42
|
import "../shared-utils/url/absoluteUrl.js";
|
|
43
43
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
44
|
-
|
|
44
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
45
|
+
const ce = (s, { videoElement: g }) => {
|
|
45
46
|
const e = {
|
|
46
47
|
videoMeshes: [],
|
|
47
48
|
videoTextureEnabled: !1,
|
|
@@ -184,6 +185,6 @@ const de = (s, { videoElement: g }) => {
|
|
|
184
185
|
}), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
185
186
|
};
|
|
186
187
|
export {
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
ce as ModelTVVideoPlugin,
|
|
189
|
+
ce as default
|
|
189
190
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as k } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -25,9 +25,10 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
25
25
|
import "animejs";
|
|
26
26
|
import "../shared-utils/url/absoluteUrl.js";
|
|
27
27
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
28
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
28
29
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
k as DIRECTION,
|
|
31
32
|
r as ModelTVVideoPlugin,
|
|
32
33
|
r as default
|
|
33
34
|
};
|
|
@@ -11,19 +11,19 @@ var S = (l, o, e) => o in l ? x(l, o, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
var f = (l, o, e) => (S(l, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
13
|
var g = (l, o, e) => new Promise((t, r) => {
|
|
14
|
-
var s = (
|
|
14
|
+
var s = (h) => {
|
|
15
15
|
try {
|
|
16
|
-
b(e.next(
|
|
16
|
+
b(e.next(h));
|
|
17
17
|
} catch (p) {
|
|
18
18
|
r(p);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, m = (h) => {
|
|
21
21
|
try {
|
|
22
|
-
b(e.throw(
|
|
22
|
+
b(e.throw(h));
|
|
23
23
|
} catch (p) {
|
|
24
24
|
r(p);
|
|
25
25
|
}
|
|
26
|
-
}, b = (
|
|
26
|
+
}, b = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(s, m);
|
|
27
27
|
b((e = e.apply(l, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as L } from "../base/BasePlugin.js";
|
|
@@ -48,9 +48,11 @@ import "hammerjs";
|
|
|
48
48
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
49
49
|
import "animejs";
|
|
50
50
|
import "../shared-utils/url/absoluteUrl.js";
|
|
51
|
-
import "../shared-utils/Utils/
|
|
51
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
52
52
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
53
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
53
54
|
import "../shared-utils/five/transformPosition.js";
|
|
55
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
54
56
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
55
57
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
56
58
|
import "../shared-utils/three/IObject3D.js";
|
|
@@ -92,7 +94,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
92
94
|
}, Z = () => {
|
|
93
95
|
console.error(`${D} is disabled`);
|
|
94
96
|
};
|
|
95
|
-
class
|
|
97
|
+
class ar extends L {
|
|
96
98
|
constructor(e) {
|
|
97
99
|
super(e);
|
|
98
100
|
f(this, "name", w);
|
|
@@ -168,7 +170,7 @@ class lr extends L {
|
|
|
168
170
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
169
171
|
return;
|
|
170
172
|
}
|
|
171
|
-
const r = new N(), s = [],
|
|
173
|
+
const r = new N(), s = [], m = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, p = n(n({}, {
|
|
172
174
|
moveHelper: !0,
|
|
173
175
|
rotateHelper: !0,
|
|
174
176
|
scaleHelper: !0,
|
|
@@ -183,7 +185,7 @@ class lr extends L {
|
|
|
183
185
|
r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
|
|
184
186
|
}
|
|
185
187
|
if (C(B)) {
|
|
186
|
-
const i = n(n({}, this.getConfig(p.rotateHelper)), p), d = new $(e, n({ container:
|
|
188
|
+
const i = n(n({}, this.getConfig(p.rotateHelper)), p), d = new $(e, n({ container: m }, i)), a = new H(this.five, V, e, d, i, u, v);
|
|
187
189
|
r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
|
|
188
190
|
}
|
|
189
191
|
if (C(k)) {
|
|
@@ -199,8 +201,8 @@ class lr extends L {
|
|
|
199
201
|
r.addControllers({ boundingBoxController: d.helperController });
|
|
200
202
|
}
|
|
201
203
|
if (C(j))
|
|
202
|
-
if (e.isCSS3DObjectPlus &&
|
|
203
|
-
const i = new F(e,
|
|
204
|
+
if (e.isCSS3DObjectPlus && m) {
|
|
205
|
+
const i = new F(e, m, b, this.five.scene), d = new H(
|
|
204
206
|
this.five,
|
|
205
207
|
q,
|
|
206
208
|
e,
|
|
@@ -231,8 +233,8 @@ class lr extends L {
|
|
|
231
233
|
const { helper: t, disposers: r } = this.objectHelperMap.get(e);
|
|
232
234
|
if (t) {
|
|
233
235
|
if (e.isCSS3DObjectPlus) {
|
|
234
|
-
const s = e,
|
|
235
|
-
|
|
236
|
+
const s = e, m = this.css3DObjectParentMap.get(s);
|
|
237
|
+
m && m.add(s), this.css3DRender.render(this.five.camera);
|
|
236
238
|
}
|
|
237
239
|
this.objectHelperMap.delete(e), t.dispose(), r == null || r.forEach((s) => s == null ? void 0 : s());
|
|
238
240
|
}
|
|
@@ -264,6 +266,6 @@ class lr extends L {
|
|
|
264
266
|
}
|
|
265
267
|
}
|
|
266
268
|
export {
|
|
267
|
-
|
|
269
|
+
ar as Object3DHelperController,
|
|
268
270
|
D as PLUGIN
|
|
269
271
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
2
|
+
import { PLUGIN as jr } from "./Controller.js";
|
|
3
3
|
import "../base/BasePlugin.js";
|
|
4
4
|
import "../shared-utils/Subscribe.js";
|
|
5
5
|
import "hammerjs";
|
|
@@ -22,9 +22,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "animejs";
|
|
24
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
25
|
-
import "../shared-utils/Utils/
|
|
25
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
26
26
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
27
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
28
|
import "../shared-utils/five/transformPosition.js";
|
|
29
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
28
30
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
29
31
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
30
32
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -59,10 +61,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
|
59
61
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
60
62
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
61
63
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
62
|
-
const
|
|
64
|
+
const fr = (r) => new o(r);
|
|
63
65
|
export {
|
|
64
66
|
o as Object3DHelperController,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
fr as Object3DHelperPlugin,
|
|
68
|
+
jr as PLUGIN,
|
|
69
|
+
fr as default
|
|
68
70
|
};
|
|
@@ -54,15 +54,17 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
54
54
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
55
55
|
import "animejs";
|
|
56
56
|
import "../shared-utils/url/absoluteUrl.js";
|
|
57
|
-
import "../shared-utils/Utils/
|
|
57
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
58
58
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
59
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
59
60
|
import "../shared-utils/five/transformPosition.js";
|
|
61
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
60
62
|
import "./Assets/roomInfoIcon.js";
|
|
61
63
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
62
64
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
63
65
|
import "../shared-utils/animationFrame/index.js";
|
|
64
66
|
const g = { userAction: !0 };
|
|
65
|
-
class
|
|
67
|
+
class de extends A {
|
|
66
68
|
constructor(e, t) {
|
|
67
69
|
super(e, t);
|
|
68
70
|
/**
|
|
@@ -317,5 +319,5 @@ class ce extends A {
|
|
|
317
319
|
}
|
|
318
320
|
}
|
|
319
321
|
export {
|
|
320
|
-
|
|
322
|
+
de as PanoCompassController
|
|
321
323
|
};
|
|
@@ -23,9 +23,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
|
-
import "../shared-utils/Utils/
|
|
26
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
27
27
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
28
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
28
29
|
import "../shared-utils/five/transformPosition.js";
|
|
30
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
29
31
|
import "./getRoomInfoInstance.js";
|
|
30
32
|
import "./Assets/roomInfoIcon.js";
|
|
31
33
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -34,8 +36,8 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
34
36
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
35
37
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
36
38
|
import "../shared-utils/animationFrame/index.js";
|
|
37
|
-
const
|
|
39
|
+
const O = (o, r) => new t(o, r);
|
|
38
40
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
O as PanoCompassPlugin,
|
|
42
|
+
O as default
|
|
41
43
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var h = Object.defineProperty, l = Object.defineProperties;
|
|
2
2
|
var d = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var p = Object.getOwnPropertySymbols;
|
|
4
4
|
var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var a = (i, e, t) => e in i ?
|
|
5
|
+
var a = (i, e, t) => e in i ? h(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, s = (i, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
7
|
u.call(e, t) && a(i, t, e[t]);
|
|
8
8
|
if (p)
|
|
@@ -34,10 +34,12 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
35
|
import "animejs";
|
|
36
36
|
import "../shared-utils/url/absoluteUrl.js";
|
|
37
|
-
import "../shared-utils/Utils/
|
|
37
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
38
38
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
39
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
39
40
|
import "../shared-utils/five/transformPosition.js";
|
|
40
|
-
|
|
41
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
42
|
+
class R extends c {
|
|
41
43
|
constructor(t) {
|
|
42
44
|
super(t);
|
|
43
45
|
o(this, "state");
|
|
@@ -92,8 +94,8 @@ class O extends c {
|
|
|
92
94
|
setState(t, n) {
|
|
93
95
|
if (!this.enabled)
|
|
94
96
|
return;
|
|
95
|
-
const
|
|
96
|
-
this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(
|
|
97
|
+
const m = s({}, this.state);
|
|
98
|
+
this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(m, n);
|
|
97
99
|
}
|
|
98
100
|
get visible() {
|
|
99
101
|
return this.five.state.mode === v.Mode.Panorama;
|
|
@@ -106,5 +108,5 @@ class O extends c {
|
|
|
106
108
|
}
|
|
107
109
|
}
|
|
108
110
|
export {
|
|
109
|
-
|
|
111
|
+
R as BasePanoPluginController
|
|
110
112
|
};
|
|
@@ -37,13 +37,15 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
38
|
import "animejs";
|
|
39
39
|
import "../shared-utils/url/absoluteUrl.js";
|
|
40
|
-
import "../shared-utils/Utils/
|
|
40
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
41
41
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
42
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
42
43
|
import "../shared-utils/five/transformPosition.js";
|
|
44
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
43
45
|
import "../vendor/svelte/internal/index.js";
|
|
44
46
|
import "../vendor/classnames/index.js";
|
|
45
47
|
const ii = { userAction: !0 };
|
|
46
|
-
class
|
|
48
|
+
class Ci extends q {
|
|
47
49
|
constructor(i) {
|
|
48
50
|
super(i);
|
|
49
51
|
r(this, "MinVisibledistance", 1.8);
|
|
@@ -247,5 +249,5 @@ class Si extends q {
|
|
|
247
249
|
}
|
|
248
250
|
}
|
|
249
251
|
export {
|
|
250
|
-
|
|
252
|
+
Ci as PanoDoorLabelPluginController
|
|
251
253
|
};
|
|
@@ -23,15 +23,17 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
|
-
import "../shared-utils/Utils/
|
|
26
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
27
27
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
28
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
28
29
|
import "../shared-utils/five/transformPosition.js";
|
|
30
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
29
31
|
import "./DoorLabelItem.js";
|
|
30
32
|
import "../vendor/svelte/internal/index.js";
|
|
31
33
|
import "../vendor/classnames/index.js";
|
|
32
34
|
import "./utils.js";
|
|
33
|
-
const
|
|
35
|
+
const I = (o) => new r(o);
|
|
34
36
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
I as PanoDoorLabelPlugin,
|
|
38
|
+
I as default
|
|
37
39
|
};
|
|
@@ -60,6 +60,7 @@ import "../../CSS3DRenderPlugin/index.js";
|
|
|
60
60
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
61
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
62
62
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
63
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
63
64
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
64
65
|
import "../../shared-utils/animationFrame/index.js";
|
|
65
66
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -279,7 +280,7 @@ function re(n, o, i) {
|
|
|
279
280
|
u
|
|
280
281
|
];
|
|
281
282
|
}
|
|
282
|
-
class
|
|
283
|
+
class It extends j {
|
|
283
284
|
constructor(o) {
|
|
284
285
|
super(), x(
|
|
285
286
|
this,
|
|
@@ -297,5 +298,5 @@ class Mt extends j {
|
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
300
|
export {
|
|
300
|
-
|
|
301
|
+
It as default
|
|
301
302
|
};
|
|
@@ -64,6 +64,7 @@ import "../../CSS3DRenderPlugin/index.js";
|
|
|
64
64
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
65
65
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
66
66
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
67
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
67
68
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
68
69
|
import "../../shared-utils/animationFrame/index.js";
|
|
69
70
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -429,7 +430,7 @@ function de(o, t, i) {
|
|
|
429
430
|
x
|
|
430
431
|
];
|
|
431
432
|
}
|
|
432
|
-
class
|
|
433
|
+
class qt extends ee {
|
|
433
434
|
constructor(t) {
|
|
434
435
|
super(), te(
|
|
435
436
|
this,
|
|
@@ -447,5 +448,5 @@ class Kt extends ee {
|
|
|
447
448
|
}
|
|
448
449
|
}
|
|
449
450
|
export {
|
|
450
|
-
|
|
451
|
+
qt as default
|
|
451
452
|
};
|
|
@@ -13,6 +13,7 @@ import G from "../Modules/DeleteDom/index.js";
|
|
|
13
13
|
import { Vector2 as y } from "three";
|
|
14
14
|
import T from "../utils/isNDCPointInScreen.js";
|
|
15
15
|
import { closestPointOnLine as B } from "../utils/math.js";
|
|
16
|
+
import { getFiveModel as W } from "../../shared-utils/five/getFiveModel.js";
|
|
16
17
|
import "../../shared-utils/uuid.js";
|
|
17
18
|
import "../utils/line.js";
|
|
18
19
|
import "../../shared-utils/five/FiveLine.js";
|
|
@@ -69,7 +70,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
|
69
70
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
70
71
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
71
72
|
const M = () => !1;
|
|
72
|
-
class
|
|
73
|
+
class it extends j {
|
|
73
74
|
constructor(e) {
|
|
74
75
|
var t;
|
|
75
76
|
super(e);
|
|
@@ -228,7 +229,7 @@ class et extends j {
|
|
|
228
229
|
return this.chooseArea(h, { left: f, top: u }), !1;
|
|
229
230
|
}
|
|
230
231
|
}
|
|
231
|
-
const [s] = this.five.
|
|
232
|
+
const [s] = W(this.five).intersectRaycaster(e);
|
|
232
233
|
if (!s)
|
|
233
234
|
return;
|
|
234
235
|
const r = this.five.camera, l = s.point.clone().project(r), d = this.container.clientWidth, a = this.container.clientHeight, n = new y(l.x * d, l.y * a), g = this.model.getAllLines().map((h) => {
|
|
@@ -329,5 +330,5 @@ class et extends j {
|
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
export {
|
|
332
|
-
|
|
333
|
+
it as default
|
|
333
334
|
};
|