@realsee/dnalogel 3.49.8 → 3.49.9
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/index.cjs.js +36 -36
- package/dist/index.js +730 -722
- package/dist/index.umd.js +46 -46
- package/dist/shared-utils/tag.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +20 -19
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -15
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.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/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +8 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +8 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -11
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- 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/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 +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- 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/utils/tag/calculateTagConfig.js +10 -9
- 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 +3 -2
- 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 +1 -0
- package/libs/base/BasePlugin.js +1 -1
- 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 +9 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +19 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +2 -0
- package/libs/shared-utils/tag.js +20 -11
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as S } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -29,6 +29,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
29
29
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
30
30
|
import "../shared-utils/five/transformPosition.js";
|
|
31
31
|
import "../shared-utils/three/temp.js";
|
|
32
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
32
33
|
import "../shared-utils/three/core/Sphere.js";
|
|
33
34
|
import "animejs";
|
|
34
35
|
import "../shared-utils/isNil.js";
|
|
@@ -42,7 +43,7 @@ import "../shared-utils/url/absoluteUrl.js";
|
|
|
42
43
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
43
44
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
44
45
|
export {
|
|
45
|
-
|
|
46
|
+
S as DIRECTION,
|
|
46
47
|
r as ModelTVVideoPlugin,
|
|
47
48
|
r as default
|
|
48
49
|
};
|
|
@@ -60,6 +60,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
60
60
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
61
61
|
import "../shared-utils/five/transformPosition.js";
|
|
62
62
|
import "../shared-utils/three/temp.js";
|
|
63
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
63
64
|
import "animejs";
|
|
64
65
|
import "../shared-utils/url/absoluteUrl.js";
|
|
65
66
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -103,7 +104,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
103
104
|
}, Z = () => {
|
|
104
105
|
console.error(`${D} is disabled`);
|
|
105
106
|
};
|
|
106
|
-
class
|
|
107
|
+
class Hr extends L {
|
|
107
108
|
constructor(e) {
|
|
108
109
|
super(e);
|
|
109
110
|
f(this, "name", w);
|
|
@@ -275,6 +276,6 @@ class vr extends L {
|
|
|
275
276
|
}
|
|
276
277
|
}
|
|
277
278
|
export {
|
|
278
|
-
|
|
279
|
+
Hr as Object3DHelperController,
|
|
279
280
|
D as PLUGIN
|
|
280
281
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
2
|
+
import { PLUGIN as wr } from "./Controller.js";
|
|
3
3
|
import "../base/BasePlugin.js";
|
|
4
4
|
import "../shared-utils/Subscribe.js";
|
|
5
5
|
import "three";
|
|
@@ -18,6 +18,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
18
18
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
19
19
|
import "../shared-utils/five/transformPosition.js";
|
|
20
20
|
import "../shared-utils/three/temp.js";
|
|
21
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
21
22
|
import "../shared-utils/three/core/Sphere.js";
|
|
22
23
|
import "animejs";
|
|
23
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -70,10 +71,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
|
70
71
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
71
72
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
72
73
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
73
|
-
const
|
|
74
|
+
const Pr = (r) => new o(r);
|
|
74
75
|
export {
|
|
75
76
|
o as Object3DHelperController,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
Pr as Object3DHelperPlugin,
|
|
78
|
+
wr as PLUGIN,
|
|
79
|
+
Pr as default
|
|
79
80
|
};
|
|
@@ -50,6 +50,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
50
50
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
51
51
|
import "../shared-utils/five/transformPosition.js";
|
|
52
52
|
import "../shared-utils/three/temp.js";
|
|
53
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
53
54
|
import "../shared-utils/three/core/Sphere.js";
|
|
54
55
|
import "animejs";
|
|
55
56
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -74,7 +75,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
74
75
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
75
76
|
import "../shared-utils/animationFrame/index.js";
|
|
76
77
|
const g = { userAction: !0 };
|
|
77
|
-
class
|
|
78
|
+
class Ce extends A {
|
|
78
79
|
constructor(e, t) {
|
|
79
80
|
super(e, t);
|
|
80
81
|
/**
|
|
@@ -329,5 +330,5 @@ class Pe extends A {
|
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
export {
|
|
332
|
-
|
|
333
|
+
Ce as PanoCompassController
|
|
333
334
|
};
|
|
@@ -19,6 +19,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
19
19
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
20
20
|
import "../shared-utils/five/transformPosition.js";
|
|
21
21
|
import "../shared-utils/three/temp.js";
|
|
22
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
22
23
|
import "../shared-utils/three/core/Sphere.js";
|
|
23
24
|
import "animejs";
|
|
24
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -46,8 +47,8 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
46
47
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
47
48
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
48
49
|
import "../shared-utils/animationFrame/index.js";
|
|
49
|
-
const
|
|
50
|
+
const _ = (o, r) => new t(o, r);
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
_ as PanoCompassPlugin,
|
|
53
|
+
_ as default
|
|
53
54
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var l = Object.defineProperty, m = Object.defineProperties;
|
|
2
2
|
var d = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var p = Object.getOwnPropertySymbols;
|
|
4
4
|
var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var a = (i, e, t) => e in i ? l(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
|
-
if (
|
|
9
|
-
for (var t of
|
|
8
|
+
if (p)
|
|
9
|
+
for (var t of p(e))
|
|
10
10
|
b.call(e, t) && a(i, t, e[t]);
|
|
11
11
|
return i;
|
|
12
12
|
}, r = (i, e) => m(i, d(e));
|
|
@@ -30,11 +30,12 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
30
30
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
31
31
|
import "../shared-utils/five/transformPosition.js";
|
|
32
32
|
import "../shared-utils/three/temp.js";
|
|
33
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
33
34
|
import "../shared-utils/three/core/Sphere.js";
|
|
34
35
|
import "animejs";
|
|
35
36
|
import "../shared-utils/url/absoluteUrl.js";
|
|
36
37
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
|
-
class
|
|
38
|
+
class L extends c {
|
|
38
39
|
constructor(t) {
|
|
39
40
|
super(t);
|
|
40
41
|
o(this, "state");
|
|
@@ -89,8 +90,8 @@ class K extends c {
|
|
|
89
90
|
setState(t, n) {
|
|
90
91
|
if (!this.enabled)
|
|
91
92
|
return;
|
|
92
|
-
const
|
|
93
|
-
this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(
|
|
93
|
+
const h = s({}, this.state);
|
|
94
|
+
this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(h, n);
|
|
94
95
|
}
|
|
95
96
|
get visible() {
|
|
96
97
|
return this.five.state.mode === v.Mode.Panorama;
|
|
@@ -103,5 +104,5 @@ class K extends c {
|
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
export {
|
|
106
|
-
|
|
107
|
+
L as BasePanoPluginController
|
|
107
108
|
};
|
|
@@ -33,6 +33,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
33
33
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
34
34
|
import "../shared-utils/five/transformPosition.js";
|
|
35
35
|
import "../shared-utils/three/temp.js";
|
|
36
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
36
37
|
import "../shared-utils/three/core/Sphere.js";
|
|
37
38
|
import "animejs";
|
|
38
39
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -40,7 +41,7 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
40
41
|
import "../vendor/svelte/internal/index.js";
|
|
41
42
|
import "../vendor/classnames/index.js";
|
|
42
43
|
const ii = { userAction: !0 };
|
|
43
|
-
class
|
|
44
|
+
class Ei extends q {
|
|
44
45
|
constructor(i) {
|
|
45
46
|
super(i);
|
|
46
47
|
r(this, "MinVisibledistance", 1.8);
|
|
@@ -244,5 +245,5 @@ class Ti extends q {
|
|
|
244
245
|
}
|
|
245
246
|
}
|
|
246
247
|
export {
|
|
247
|
-
|
|
248
|
+
Ei as PanoDoorLabelPluginController
|
|
248
249
|
};
|
|
@@ -19,6 +19,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
19
19
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
20
20
|
import "../shared-utils/five/transformPosition.js";
|
|
21
21
|
import "../shared-utils/three/temp.js";
|
|
22
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
22
23
|
import "../shared-utils/three/core/Sphere.js";
|
|
23
24
|
import "animejs";
|
|
24
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -27,8 +28,8 @@ import "./DoorLabelItem.js";
|
|
|
27
28
|
import "../vendor/svelte/internal/index.js";
|
|
28
29
|
import "../vendor/classnames/index.js";
|
|
29
30
|
import "./utils.js";
|
|
30
|
-
const
|
|
31
|
+
const E = (o) => new r(o);
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
E as PanoDoorLabelPlugin,
|
|
34
|
+
E as default
|
|
34
35
|
};
|
|
@@ -45,6 +45,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
45
45
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
46
46
|
import "../../shared-utils/five/transformPosition.js";
|
|
47
47
|
import "../../shared-utils/three/temp.js";
|
|
48
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
48
49
|
import "../../shared-utils/three/core/Sphere.js";
|
|
49
50
|
import "animejs";
|
|
50
51
|
import "../../shared-utils/isNil.js";
|
|
@@ -289,7 +290,7 @@ function re(n, o, i) {
|
|
|
289
290
|
u
|
|
290
291
|
];
|
|
291
292
|
}
|
|
292
|
-
class
|
|
293
|
+
class Pt extends j {
|
|
293
294
|
constructor(o) {
|
|
294
295
|
super(), x(
|
|
295
296
|
this,
|
|
@@ -307,5 +308,5 @@ class Ot extends j {
|
|
|
307
308
|
}
|
|
308
309
|
}
|
|
309
310
|
export {
|
|
310
|
-
|
|
311
|
+
Pt as default
|
|
311
312
|
};
|
|
@@ -49,6 +49,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
49
49
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
50
50
|
import "../../shared-utils/five/transformPosition.js";
|
|
51
51
|
import "../../shared-utils/three/temp.js";
|
|
52
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
52
53
|
import "../../shared-utils/three/core/Sphere.js";
|
|
53
54
|
import "animejs";
|
|
54
55
|
import "../../shared-utils/isNil.js";
|
|
@@ -439,7 +440,7 @@ function de(o, t, i) {
|
|
|
439
440
|
x
|
|
440
441
|
];
|
|
441
442
|
}
|
|
442
|
-
class
|
|
443
|
+
class Vt extends ee {
|
|
443
444
|
constructor(t) {
|
|
444
445
|
super(), te(
|
|
445
446
|
this,
|
|
@@ -457,5 +458,5 @@ class Qt extends ee {
|
|
|
457
458
|
}
|
|
458
459
|
}
|
|
459
460
|
export {
|
|
460
|
-
|
|
461
|
+
Vt as default
|
|
461
462
|
};
|
|
@@ -57,6 +57,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
57
57
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
58
58
|
import "../../shared-utils/five/transformPosition.js";
|
|
59
59
|
import "../../shared-utils/three/temp.js";
|
|
60
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
60
61
|
import "../../shared-utils/three/core/Sphere.js";
|
|
61
62
|
import "animejs";
|
|
62
63
|
import "../../shared-utils/isNil.js";
|
|
@@ -90,7 +91,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
|
90
91
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
91
92
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
92
93
|
const b = () => !1;
|
|
93
|
-
class
|
|
94
|
+
class Lt extends z {
|
|
94
95
|
constructor(e) {
|
|
95
96
|
super(e);
|
|
96
97
|
s(this, "type", "edit");
|
|
@@ -370,5 +371,5 @@ class Pt extends z {
|
|
|
370
371
|
}
|
|
371
372
|
}
|
|
372
373
|
export {
|
|
373
|
-
|
|
374
|
+
Lt as default
|
|
374
375
|
};
|
|
@@ -44,6 +44,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
44
44
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
45
45
|
import "../../shared-utils/five/transformPosition.js";
|
|
46
46
|
import "../../shared-utils/three/temp.js";
|
|
47
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
47
48
|
import "../../shared-utils/three/core/Sphere.js";
|
|
48
49
|
import "animejs";
|
|
49
50
|
import "../../shared-utils/isNil.js";
|
|
@@ -55,7 +56,7 @@ import "earcut";
|
|
|
55
56
|
import "../../shared-utils/three/getNormal.js";
|
|
56
57
|
import "../utils/isIntersecting.js";
|
|
57
58
|
const E = () => !1;
|
|
58
|
-
class
|
|
59
|
+
class Vt extends U {
|
|
59
60
|
constructor(t) {
|
|
60
61
|
super(t);
|
|
61
62
|
s(this, "type", "watch");
|
|
@@ -228,5 +229,5 @@ class Ot extends U {
|
|
|
228
229
|
}
|
|
229
230
|
}
|
|
230
231
|
export {
|
|
231
|
-
|
|
232
|
+
Vt as default
|
|
232
233
|
};
|
|
@@ -78,6 +78,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
78
78
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
79
79
|
import "../../shared-utils/five/transformPosition.js";
|
|
80
80
|
import "../../shared-utils/three/temp.js";
|
|
81
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
81
82
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
82
83
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
83
84
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -126,7 +127,7 @@ import "../../vendor/svelte/easing/index.js";
|
|
|
126
127
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
127
128
|
import "../Components/Tip.js";
|
|
128
129
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
129
|
-
class
|
|
130
|
+
class Ye extends H {
|
|
130
131
|
constructor(t, e) {
|
|
131
132
|
var l, u, d, f, g, y, C, M, w, P, b, v;
|
|
132
133
|
super(t);
|
|
@@ -335,5 +336,5 @@ class Xe extends H {
|
|
|
335
336
|
}
|
|
336
337
|
}
|
|
337
338
|
export {
|
|
338
|
-
|
|
339
|
+
Ye as default
|
|
339
340
|
};
|
|
@@ -39,11 +39,12 @@ import "../../shared-utils/Subscribe.js";
|
|
|
39
39
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
40
40
|
import "../../shared-utils/five/transformPosition.js";
|
|
41
41
|
import "../../shared-utils/three/temp.js";
|
|
42
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
42
43
|
import "../../shared-utils/three/core/Sphere.js";
|
|
43
44
|
import "animejs";
|
|
44
45
|
import "../../shared-utils/isNil.js";
|
|
45
46
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
|
-
class
|
|
47
|
+
class at {
|
|
47
48
|
constructor(t, e) {
|
|
48
49
|
i(this, "id", f());
|
|
49
50
|
i(this, "selected", !1);
|
|
@@ -142,5 +143,5 @@ class rt {
|
|
|
142
143
|
}
|
|
143
144
|
}
|
|
144
145
|
export {
|
|
145
|
-
|
|
146
|
+
at as default
|
|
146
147
|
};
|
|
@@ -19,6 +19,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
19
19
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
20
20
|
import "../../shared-utils/five/transformPosition.js";
|
|
21
21
|
import "../../shared-utils/three/temp.js";
|
|
22
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
22
23
|
export {
|
|
23
24
|
o as default
|
|
24
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
|
-
var h = (
|
|
3
|
-
var i = (
|
|
2
|
+
var h = (e, o, t) => o in e ? a(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t;
|
|
3
|
+
var i = (e, o, t) => (h(e, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
4
|
import d from "./HTML.js";
|
|
5
5
|
import u from "./mobileHTML.js";
|
|
6
6
|
import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
|
|
@@ -55,6 +55,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
55
55
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
56
56
|
import "../../../shared-utils/five/transformPosition.js";
|
|
57
57
|
import "../../../shared-utils/three/temp.js";
|
|
58
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
58
59
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
59
60
|
import "animejs";
|
|
60
61
|
import "../../../shared-utils/isNil.js";
|
|
@@ -95,7 +96,7 @@ import "../../Components/Common/Switcher1.js";
|
|
|
95
96
|
import "../../Components/Common/CircleButton.js";
|
|
96
97
|
import "../../../vendor/svelte/transition/index.js";
|
|
97
98
|
import "../../../vendor/svelte/easing/index.js";
|
|
98
|
-
class
|
|
99
|
+
class yo {
|
|
99
100
|
constructor(o, t) {
|
|
100
101
|
i(this, "revoke");
|
|
101
102
|
i(this, "container");
|
|
@@ -110,27 +111,27 @@ class uo {
|
|
|
110
111
|
if (!t || !o)
|
|
111
112
|
throw new Error("cannot find dom");
|
|
112
113
|
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
|
|
113
|
-
const
|
|
114
|
+
const r = () => {
|
|
114
115
|
t.style.opacity = "1";
|
|
115
116
|
}, s = () => {
|
|
116
117
|
t.style.opacity = "0.85";
|
|
117
118
|
}, n = () => {
|
|
118
119
|
this.measureController.disable();
|
|
119
120
|
};
|
|
120
|
-
return t.addEventListener("click", n), t.addEventListener("mouseenter",
|
|
121
|
-
t.removeEventListener("click", n), t.removeEventListener("mouseenter",
|
|
121
|
+
return t.addEventListener("click", n), t.addEventListener("mouseenter", r), t.addEventListener("mouseleave", s), () => {
|
|
122
|
+
t.removeEventListener("click", n), t.removeEventListener("mouseenter", r), t.removeEventListener("mouseleave", s);
|
|
122
123
|
};
|
|
123
124
|
});
|
|
124
125
|
var s, n;
|
|
125
126
|
this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
|
|
126
|
-
const
|
|
127
|
-
if (
|
|
127
|
+
const r = (n = t.useNewUI) != null ? n : !1;
|
|
128
|
+
if (r && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
128
129
|
target: t.container,
|
|
129
130
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
130
131
|
}) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
|
|
131
132
|
target: t.container,
|
|
132
133
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
133
|
-
}))), !
|
|
134
|
+
}))), !r) {
|
|
134
135
|
t.container.appendChild(this.container);
|
|
135
136
|
const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
|
|
136
137
|
Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
|
|
@@ -145,9 +146,9 @@ class uo {
|
|
|
145
146
|
}
|
|
146
147
|
hide() {
|
|
147
148
|
var o, t;
|
|
148
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((
|
|
149
|
+
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((r) => r()), this.disposers = [], this;
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
export {
|
|
152
|
-
|
|
153
|
+
yo as UIController
|
|
153
154
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
2
|
import "three";
|
|
3
|
-
import { Magnifier as
|
|
3
|
+
import { Magnifier as fr } from "../shared-utils/three/Magnifier.js";
|
|
4
4
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
5
|
import "@realsee/five/line";
|
|
6
6
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -8,10 +8,10 @@ import "../shared-utils/tag.js";
|
|
|
8
8
|
import "../shared-utils/three/core/Sphere.js";
|
|
9
9
|
import "animejs";
|
|
10
10
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
11
|
-
import { Model as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { Polyline as
|
|
11
|
+
import { Model as gr } from "./Model/index.js";
|
|
12
|
+
import { default as dr } from "./Model/point.js";
|
|
13
|
+
import { default as yr } from "./Model/line.js";
|
|
14
|
+
import { Polyline as Cr } from "./Model/polyline.js";
|
|
15
15
|
import "./Controller/EditController.js";
|
|
16
16
|
import "../shared-utils/throttle.js";
|
|
17
17
|
import "./Controller/BaseController.js";
|
|
@@ -48,6 +48,7 @@ import "../shared-utils/Subscribe.js";
|
|
|
48
48
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
49
49
|
import "../shared-utils/five/transformPosition.js";
|
|
50
50
|
import "../shared-utils/three/temp.js";
|
|
51
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
51
52
|
import "../shared-utils/three/PointSelector/index.js";
|
|
52
53
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
53
54
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
@@ -115,15 +116,15 @@ import "./Controller/ShortcutKeyController.js";
|
|
|
115
116
|
import "../shared-utils/safeObj.js";
|
|
116
117
|
import "../base/BasePlugin.js";
|
|
117
118
|
import "../shared-utils/url/absoluteUrl.js";
|
|
118
|
-
const
|
|
119
|
+
const lr = function(o, r) {
|
|
119
120
|
return new t(o, r);
|
|
120
121
|
};
|
|
121
122
|
export {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
fr as Magnifier,
|
|
124
|
+
lr as PanoMeasurePlugin,
|
|
125
|
+
yr as PanoMeasurePluginLine,
|
|
126
|
+
gr as PanoMeasurePluginModel,
|
|
127
|
+
dr as PanoMeasurePluginPoint,
|
|
128
|
+
Cr as PanoMeasurePluginPolyline,
|
|
129
|
+
lr as default
|
|
129
130
|
};
|
|
@@ -36,7 +36,8 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
36
36
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
37
37
|
import "../../../shared-utils/five/transformPosition.js";
|
|
38
38
|
import "../../../shared-utils/three/temp.js";
|
|
39
|
-
|
|
39
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
40
|
+
class Y extends y {
|
|
40
41
|
constructor(t) {
|
|
41
42
|
t.containerStyle = s(p({}, t.containerStyle), {
|
|
42
43
|
zIndex: "1"
|
|
@@ -67,5 +68,5 @@ class X extends y {
|
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
+
Y as AreaItem
|
|
71
72
|
};
|
|
@@ -31,6 +31,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
31
31
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
32
32
|
import "../shared-utils/five/transformPosition.js";
|
|
33
33
|
import "../shared-utils/three/temp.js";
|
|
34
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
34
35
|
import "../shared-utils/three/core/Sphere.js";
|
|
35
36
|
import "animejs";
|
|
36
37
|
import "../shared-utils/isNil.js";
|
|
@@ -45,7 +46,7 @@ import "../shared-utils/five/fiveModelLoad.js";
|
|
|
45
46
|
import "../vendor/svelte/internal/index.js";
|
|
46
47
|
import "./store.js";
|
|
47
48
|
import "../vendor/svelte/store/index.js";
|
|
48
|
-
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
49
|
+
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Te = (n, r) => {
|
|
49
50
|
var k, z, q, B, G, J, K, Q;
|
|
50
51
|
let j = r == null ? void 0 : r.container, y = 1.4;
|
|
51
52
|
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, eo = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, to = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C = Mo(n), S = document.createElement("div");
|
|
@@ -270,6 +271,6 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
270
271
|
};
|
|
271
272
|
};
|
|
272
273
|
export {
|
|
273
|
-
|
|
274
|
-
|
|
274
|
+
Te as PanoSpatialTagPlugin,
|
|
275
|
+
Te as default
|
|
275
276
|
};
|
|
@@ -28,6 +28,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
28
28
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
29
29
|
import "../shared-utils/five/transformPosition.js";
|
|
30
30
|
import "../shared-utils/three/temp.js";
|
|
31
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
31
32
|
import "../shared-utils/three/core/Sphere.js";
|
|
32
33
|
import "animejs";
|
|
33
34
|
import "../shared-utils/isNil.js";
|
|
@@ -28,6 +28,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
28
28
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
29
29
|
import "../../../shared-utils/five/transformPosition.js";
|
|
30
30
|
import "../../../shared-utils/three/temp.js";
|
|
31
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
31
32
|
function Q(t) {
|
|
32
33
|
U(t, "svelte-7aiuwz", '@charset "UTF-8";.tag-point-click-helper.svelte-7aiuwz.svelte-7aiuwz{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-7aiuwz.svelte-7aiuwz{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-folded-point.svelte-7aiuwz.svelte-7aiuwz,.tag-unfolded-point.svelte-7aiuwz.svelte-7aiuwz{transition:all 0.5s}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:1;scale:1}');
|
|
33
34
|
}
|
|
@@ -196,11 +197,11 @@ function Y(t, o, a) {
|
|
|
196
197
|
s
|
|
197
198
|
];
|
|
198
199
|
}
|
|
199
|
-
class
|
|
200
|
+
class Ct extends j {
|
|
200
201
|
constructor(o) {
|
|
201
202
|
super(), q(this, o, Y, V, O, { tag: 6 }, Q);
|
|
202
203
|
}
|
|
203
204
|
}
|
|
204
205
|
export {
|
|
205
|
-
|
|
206
|
+
Ct as default
|
|
206
207
|
};
|
|
@@ -23,6 +23,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
23
23
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
24
24
|
import "../../../shared-utils/five/transformPosition.js";
|
|
25
25
|
import "../../../shared-utils/three/temp.js";
|
|
26
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
26
27
|
import "../../../vendor/svelte/transition/index.js";
|
|
27
28
|
import "../../../vendor/svelte/easing/index.js";
|
|
28
29
|
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
@@ -423,11 +424,11 @@ function ze(l, e, t) {
|
|
|
423
424
|
U
|
|
424
425
|
];
|
|
425
426
|
}
|
|
426
|
-
class
|
|
427
|
+
class Ke extends te {
|
|
427
428
|
constructor(e) {
|
|
428
429
|
super(), le(this, e, ze, ue, ie, { tag: 0 }, he);
|
|
429
430
|
}
|
|
430
431
|
}
|
|
431
432
|
export {
|
|
432
|
-
|
|
433
|
+
Ke as default
|
|
433
434
|
};
|
|
@@ -83,6 +83,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
83
83
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
84
84
|
import "../../../shared-utils/five/transformPosition.js";
|
|
85
85
|
import "../../../shared-utils/three/temp.js";
|
|
86
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
86
87
|
import "./AudioTag/AudioTag.js";
|
|
87
88
|
import "../Common/Audio.js";
|
|
88
89
|
import "../../utils/audio/SharedAudio.js";
|
|
@@ -756,7 +757,7 @@ function TA(i, A, t) {
|
|
|
756
757
|
y
|
|
757
758
|
];
|
|
758
759
|
}
|
|
759
|
-
class
|
|
760
|
+
class qt extends tA {
|
|
760
761
|
constructor(A) {
|
|
761
762
|
super(), iA(
|
|
762
763
|
this,
|
|
@@ -778,5 +779,5 @@ class Rt extends tA {
|
|
|
778
779
|
}
|
|
779
780
|
}
|
|
780
781
|
export {
|
|
781
|
-
|
|
782
|
+
qt as default
|
|
782
783
|
};
|
|
@@ -74,6 +74,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
74
74
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
75
75
|
import "../../shared-utils/five/transformPosition.js";
|
|
76
76
|
import "../../shared-utils/three/temp.js";
|
|
77
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
77
78
|
import "../../shared-utils/three/core/Sphere.js";
|
|
78
79
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
79
80
|
import "../utils/noTypecheck.js";
|
|
@@ -315,7 +316,7 @@ function O(a, t, i) {
|
|
|
315
316
|
m
|
|
316
317
|
];
|
|
317
318
|
}
|
|
318
|
-
class
|
|
319
|
+
class si extends v {
|
|
319
320
|
constructor(t) {
|
|
320
321
|
super(), w(
|
|
321
322
|
this,
|
|
@@ -338,5 +339,5 @@ class fi extends v {
|
|
|
338
339
|
}
|
|
339
340
|
}
|
|
340
341
|
export {
|
|
341
|
-
|
|
342
|
+
si as default
|
|
342
343
|
};
|