@realsee/dnalogel 3.52.3 → 3.53.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 +6 -0
- package/dist/index.cjs.js +40 -40
- package/dist/index.d.ts +1 -79
- package/dist/index.js +1605 -1567
- package/dist/index.umd.js +34 -34
- package/dist/shared-utils/exports.d.ts +2 -0
- package/dist/shared-utils/five/FivePuppet.d.ts +64 -0
- package/dist/shared-utils/index.d.ts +1 -0
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/AreaMakerPlugin/Controller.js +14 -12
- package/libs/AreaMakerPlugin/index.js +4 -2
- package/libs/AreaMakerPlugin/utils/Item.js +4 -2
- package/libs/CSS3DRenderPlugin/Controller.js +4 -2
- package/libs/CSS3DRenderPlugin/index.js +7 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +4 -2
- package/libs/CruisePlugin/BaseController.js +6 -4
- package/libs/CruisePlugin/Move.js +4 -3
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +8 -7
- package/libs/CurrentPanoImagePlugin/Controller.js +4 -2
- package/libs/CurrentPanoImagePlugin/index.js +5 -3
- package/libs/GuideLinePlugin/Controller.js +6 -5
- package/libs/GuideLinePlugin/GuideLineItem.js +4 -3
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -3
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/ModelMakerPlugin/Controller.js +4 -2
- package/libs/ModelMakerPlugin/index.js +4 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +5 -3
- package/libs/ModelTVVideoPlugin/index.js +4 -2
- package/libs/Object3DHelperPlugin/Controller.js +4 -2
- package/libs/Object3DHelperPlugin/index.js +7 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +3 -2
- 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 +2 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +4 -2
- package/libs/PanoRulerProPlugin/Controller.js +11 -10
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +4 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +43 -42
- package/libs/PanoTagPlugin/Components/TagItem.js +4 -3
- 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 +4 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +4 -2
- package/libs/PanoTagPlugin/controller/index.js +7 -6
- package/libs/PanoTagPlugin/index.js +13 -12
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +4 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +52 -50
- package/libs/PanoVideoPlugin/index.js +7 -5
- package/libs/PipelinePlugin/Controller.js +4 -2
- package/libs/PipelinePlugin/index.js +5 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +20 -18
- package/libs/Sculpt/Meshes/Cylinder.js +6 -5
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -2
- package/libs/Sculpt/Meshes/Point.js +6 -5
- package/libs/Sculpt/Meshes/Polygon.js +11 -10
- package/libs/Sculpt/Meshes/Rectangle.js +4 -3
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.js +18 -17
- package/libs/Sculpt/utils/export.js +5 -5
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/base/BasePlugin.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +19 -17
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.d.ts +1 -79
- package/libs/index.js +156 -170
- package/libs/shared-utils/exports.d.ts +2 -0
- package/libs/shared-utils/exports.js +82 -0
- package/libs/shared-utils/five/FivePuppet.d.ts +64 -0
- package/libs/shared-utils/five/FivePuppet.js +47 -0
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.d.ts +1 -0
- package/libs/shared-utils/index.js +10 -78
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +2 -2
|
@@ -10,20 +10,20 @@ var h = (e, t, i) => t in e ? f(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
12
|
var o = (e, t, i) => (h(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
13
|
-
var
|
|
13
|
+
var n = (e, t, i) => new Promise((p, s) => {
|
|
14
14
|
var a = (r) => {
|
|
15
15
|
try {
|
|
16
16
|
l(i.next(r));
|
|
17
17
|
} catch (d) {
|
|
18
18
|
s(d);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, m = (r) => {
|
|
21
21
|
try {
|
|
22
22
|
l(i.throw(r));
|
|
23
23
|
} catch (d) {
|
|
24
24
|
s(d);
|
|
25
25
|
}
|
|
26
|
-
}, l = (r) => r.done ? p(r.value) : Promise.resolve(r.value).then(a,
|
|
26
|
+
}, l = (r) => r.done ? p(r.value) : Promise.resolve(r.value).then(a, m);
|
|
27
27
|
l((i = i.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import I from "./RulerItems.js";
|
|
@@ -62,6 +62,7 @@ import "@realsee/five/line";
|
|
|
62
62
|
import "../shared-utils/isNil.js";
|
|
63
63
|
import "../shared-utils/three/core/Sphere.js";
|
|
64
64
|
import "animejs";
|
|
65
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
65
66
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
66
67
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
67
68
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -86,7 +87,7 @@ import "../shared-utils/equal.js";
|
|
|
86
87
|
import "../shared-utils/isTruelyObject.js";
|
|
87
88
|
import "../shared-utils/math/planimetry.js";
|
|
88
89
|
import "./RulerItem.js";
|
|
89
|
-
class
|
|
90
|
+
class Et {
|
|
90
91
|
constructor(t, i) {
|
|
91
92
|
o(this, "five");
|
|
92
93
|
o(this, "container", document.createElement("div"));
|
|
@@ -104,13 +105,13 @@ class xt {
|
|
|
104
105
|
this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
|
|
105
106
|
"style",
|
|
106
107
|
"position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
|
|
107
|
-
), i && (i.data && this.load(i.data), this.state.options = u(u({}, this.state.options), i.options || {}), (p = i.options) != null && p.className && this.container.classList.add((s = i.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () =>
|
|
108
|
-
var a,
|
|
109
|
-
(
|
|
108
|
+
), i && (i.data && this.load(i.data), this.state.options = u(u({}, this.state.options), i.options || {}), (p = i.options) != null && p.className && this.container.classList.add((s = i.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => n(this, null, function* () {
|
|
109
|
+
var a, m;
|
|
110
|
+
(m = (a = this.five.getElement()) == null ? void 0 : a.parentNode) == null || m.append(this.container);
|
|
110
111
|
})), this.five.once("dispose", () => this.dispose());
|
|
111
112
|
}
|
|
112
113
|
load(t) {
|
|
113
|
-
return
|
|
114
|
+
return n(this, null, function* () {
|
|
114
115
|
if (!this.five.work)
|
|
115
116
|
return;
|
|
116
117
|
const i = t.data;
|
|
@@ -126,7 +127,7 @@ class xt {
|
|
|
126
127
|
return this.state.enabled && (this.state.enabled = !1, this.render()), !0;
|
|
127
128
|
}
|
|
128
129
|
render() {
|
|
129
|
-
return
|
|
130
|
+
return n(this, null, function* () {
|
|
130
131
|
var t;
|
|
131
132
|
if (this.state.enabled) {
|
|
132
133
|
if (!this.panoRulerProData || !this.container)
|
|
@@ -149,5 +150,5 @@ class xt {
|
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
export {
|
|
152
|
-
|
|
153
|
+
Et as default
|
|
153
154
|
};
|
|
@@ -10,6 +10,7 @@ import "@realsee/five/line";
|
|
|
10
10
|
import "../shared-utils/three/core/Sphere.js";
|
|
11
11
|
import "animejs";
|
|
12
12
|
import { equal as z } from "../shared-utils/equal.js";
|
|
13
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
13
14
|
import { intersectionOfLine as ft } from "../shared-utils/math/planimetry.js";
|
|
14
15
|
import { throttle as ut } from "../shared-utils/throttle.js";
|
|
15
16
|
import ht from "./RulerItem.js";
|
|
@@ -230,11 +231,11 @@ function gt(d, r, c) {
|
|
|
230
231
|
"five" in a && c(1, t = a.five), "rulerDatas" in a && c(2, e = a.rulerDatas), "options" in a && c(3, w = a.options);
|
|
231
232
|
}, [n, t, e, w];
|
|
232
233
|
}
|
|
233
|
-
class
|
|
234
|
+
class Te extends Q {
|
|
234
235
|
constructor(r) {
|
|
235
236
|
super(), X(this, r, gt, dt, Z, { five: 1, rulerDatas: 2, options: 3 });
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
239
|
export {
|
|
239
|
-
|
|
240
|
+
Te as default
|
|
240
241
|
};
|
|
@@ -35,6 +35,7 @@ import "@realsee/five/line";
|
|
|
35
35
|
import "../shared-utils/isNil.js";
|
|
36
36
|
import "../shared-utils/three/core/Sphere.js";
|
|
37
37
|
import "animejs";
|
|
38
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
38
39
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
39
40
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
40
41
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -59,8 +60,8 @@ import "../shared-utils/equal.js";
|
|
|
59
60
|
import "../shared-utils/isTruelyObject.js";
|
|
60
61
|
import "../shared-utils/math/planimetry.js";
|
|
61
62
|
import "./RulerItem.js";
|
|
62
|
-
const
|
|
63
|
+
const Pr = (r, o) => new t(r, o);
|
|
63
64
|
export {
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
Pr as PanoRulerProPlugin,
|
|
66
|
+
Pr as default
|
|
66
67
|
};
|
|
@@ -53,6 +53,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
53
53
|
import "../shared-utils/three/core/Sphere.js";
|
|
54
54
|
import "animejs";
|
|
55
55
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
56
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
56
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
57
58
|
import "../shared-utils/isTouchDevice.js";
|
|
58
59
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -67,7 +68,7 @@ import "../shared-utils/url/absoluteUrl.js";
|
|
|
67
68
|
import "../vendor/svelte/internal/index.js";
|
|
68
69
|
import "./store.js";
|
|
69
70
|
import "../vendor/svelte/store/index.js";
|
|
70
|
-
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
71
|
+
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Ne = (n, r) => {
|
|
71
72
|
var k, z, q, B, G, J, K, Q;
|
|
72
73
|
let j = r == null ? void 0 : r.container, y = 1.4;
|
|
73
74
|
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");
|
|
@@ -292,6 +293,6 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
292
293
|
};
|
|
293
294
|
};
|
|
294
295
|
export {
|
|
295
|
-
|
|
296
|
-
|
|
296
|
+
Ne as PanoSpatialTagPlugin,
|
|
297
|
+
Ne as default
|
|
297
298
|
};
|
|
@@ -50,6 +50,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
50
50
|
import "../shared-utils/three/core/Sphere.js";
|
|
51
51
|
import "animejs";
|
|
52
52
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
53
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
53
54
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
54
55
|
import "../shared-utils/isTouchDevice.js";
|
|
55
56
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -12,6 +12,7 @@ import "@realsee/five/line";
|
|
|
12
12
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
13
13
|
import "animejs";
|
|
14
14
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
15
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
15
16
|
import "../../../vendor/svelte/transition/index.js";
|
|
16
17
|
import "../../../vendor/svelte/easing/index.js";
|
|
17
18
|
import "../../utils/noTypecheck.js";
|
|
@@ -60,6 +61,7 @@ import "../../../shared-utils/isTouchDevice.js";
|
|
|
60
61
|
import "../../../shared-utils/five/getPosition.js";
|
|
61
62
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
62
63
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
64
|
+
import "@realsee/five";
|
|
63
65
|
function Q(t) {
|
|
64
66
|
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}');
|
|
65
67
|
}
|
|
@@ -228,11 +230,11 @@ function Y(t, o, a) {
|
|
|
228
230
|
l
|
|
229
231
|
];
|
|
230
232
|
}
|
|
231
|
-
class
|
|
233
|
+
class le extends j {
|
|
232
234
|
constructor(o) {
|
|
233
235
|
super(), q(this, o, Y, V, O, { tag: 6 }, Q);
|
|
234
236
|
}
|
|
235
237
|
}
|
|
236
238
|
export {
|
|
237
|
-
|
|
239
|
+
le as default
|
|
238
240
|
};
|
|
@@ -9,6 +9,7 @@ import { notNil as ge } from "../../../shared-utils/isNil.js";
|
|
|
9
9
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
10
10
|
import "animejs";
|
|
11
11
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
12
13
|
import qe from "../../utils/px2rem.js";
|
|
13
14
|
import de from "../Common/Shadow.js";
|
|
14
15
|
import { svelteResizeObserver as ve } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
@@ -54,6 +55,7 @@ import "../../../shared-utils/isTouchDevice.js";
|
|
|
54
55
|
import "../../../shared-utils/five/getPosition.js";
|
|
55
56
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
56
57
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
58
|
+
import "@realsee/five";
|
|
57
59
|
import "../../../vendor/svelte/transition/index.js";
|
|
58
60
|
import "../../../vendor/svelte/easing/index.js";
|
|
59
61
|
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
@@ -454,11 +456,11 @@ function ze(i, e, t) {
|
|
|
454
456
|
U
|
|
455
457
|
];
|
|
456
458
|
}
|
|
457
|
-
class
|
|
459
|
+
class Lt extends te {
|
|
458
460
|
constructor(e) {
|
|
459
461
|
super(), ie(this, e, ze, ue, le, { tag: 0 }, he);
|
|
460
462
|
}
|
|
461
463
|
}
|
|
462
464
|
export {
|
|
463
|
-
|
|
465
|
+
Lt as default
|
|
464
466
|
};
|
|
@@ -20,6 +20,7 @@ import "@realsee/five/line";
|
|
|
20
20
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
21
21
|
import "animejs";
|
|
22
22
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
23
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
23
24
|
import "./TextTag/TextTag.js";
|
|
24
25
|
import "../Common/Line/Straight.js";
|
|
25
26
|
import "../../../vendor/svelte/transition/index.js";
|
|
@@ -114,6 +115,7 @@ import "../../../shared-utils/isTouchDevice.js";
|
|
|
114
115
|
import "../../../shared-utils/five/getPosition.js";
|
|
115
116
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
116
117
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
118
|
+
import "@realsee/five";
|
|
117
119
|
import "./AudioTag/AudioTag.js";
|
|
118
120
|
import "../Common/Audio.js";
|
|
119
121
|
import "../../utils/audio/SharedAudio.js";
|
|
@@ -141,7 +143,6 @@ import "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
141
143
|
import "../../../shared-utils/typescript/entries.js";
|
|
142
144
|
import "../../utils/tag/adaptConfig.js";
|
|
143
145
|
import "../../typings/tag/TagConfig.js";
|
|
144
|
-
import "@realsee/five";
|
|
145
146
|
import "../../utils/tag/format.js";
|
|
146
147
|
import "../../../shared-utils/three/blink.js";
|
|
147
148
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
@@ -785,7 +786,7 @@ function TA(i, A, t) {
|
|
|
785
786
|
y
|
|
786
787
|
];
|
|
787
788
|
}
|
|
788
|
-
class
|
|
789
|
+
class hi extends tA {
|
|
789
790
|
constructor(A) {
|
|
790
791
|
super(), iA(
|
|
791
792
|
this,
|
|
@@ -807,5 +808,5 @@ class bi extends tA {
|
|
|
807
808
|
}
|
|
808
809
|
}
|
|
809
810
|
export {
|
|
810
|
-
|
|
811
|
+
hi as default
|
|
811
812
|
};
|
|
@@ -87,6 +87,8 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
87
87
|
import "@realsee/five/line";
|
|
88
88
|
import "../../shared-utils/three/core/Sphere.js";
|
|
89
89
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
90
|
+
import "../../shared-utils/five/FivePuppet.js";
|
|
91
|
+
import "@realsee/five";
|
|
90
92
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
91
93
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
92
94
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -142,7 +144,6 @@ import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
142
144
|
import "../../shared-utils/typescript/entries.js";
|
|
143
145
|
import "../utils/tag/adaptConfig.js";
|
|
144
146
|
import "../typings/tag/TagConfig.js";
|
|
145
|
-
import "@realsee/five";
|
|
146
147
|
import "../../shared-utils/five/mode.js";
|
|
147
148
|
import "../utils/tag/format.js";
|
|
148
149
|
import "../../shared-utils/three/blink.js";
|
|
@@ -164,7 +165,7 @@ function b(a, t, o) {
|
|
|
164
165
|
return i[8] = t[o], i;
|
|
165
166
|
}
|
|
166
167
|
function y(a) {
|
|
167
|
-
let t, o = [], i = /* @__PURE__ */ new Map(), m,
|
|
168
|
+
let t, o = [], i = /* @__PURE__ */ new Map(), m, e, n = (
|
|
168
169
|
/*tags*/
|
|
169
170
|
a[0]
|
|
170
171
|
);
|
|
@@ -173,15 +174,15 @@ function y(a) {
|
|
|
173
174
|
p[8].id
|
|
174
175
|
);
|
|
175
176
|
for (let p = 0; p < n.length; p += 1) {
|
|
176
|
-
let
|
|
177
|
-
i.set(s, o[p] = z(s,
|
|
177
|
+
let r = b(a, n, p), s = f(r);
|
|
178
|
+
i.set(s, o[p] = z(s, r));
|
|
178
179
|
}
|
|
179
180
|
return {
|
|
180
181
|
c() {
|
|
181
182
|
var p;
|
|
182
183
|
t = N("div");
|
|
183
|
-
for (let
|
|
184
|
-
o[
|
|
184
|
+
for (let r = 0; r < o.length; r += 1)
|
|
185
|
+
o[r].c();
|
|
185
186
|
h(t, "class", "tag--container svelte-1owzhnq"), h(t, "data-infive", "1"), g(t, "hide", !/*state*/
|
|
186
187
|
a[4].visible || !/*temporaryState*/
|
|
187
188
|
a[5].visible), k(
|
|
@@ -191,20 +192,20 @@ function y(a) {
|
|
|
191
192
|
(p = a[6]) != null ? p : ""
|
|
192
193
|
);
|
|
193
194
|
},
|
|
194
|
-
m(p,
|
|
195
|
-
_(p, t,
|
|
195
|
+
m(p, r) {
|
|
196
|
+
_(p, t, r);
|
|
196
197
|
for (let s = 0; s < o.length; s += 1)
|
|
197
198
|
o[s] && o[s].m(t, null);
|
|
198
|
-
|
|
199
|
+
e = !0;
|
|
199
200
|
},
|
|
200
|
-
p(p,
|
|
201
|
+
p(p, r) {
|
|
201
202
|
var s;
|
|
202
|
-
|
|
203
|
+
r & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap*/
|
|
203
204
|
63 && (n = /*tags*/
|
|
204
|
-
p[0], v(), o = j(o,
|
|
205
|
+
p[0], v(), o = j(o, r, f, 1, p, n, i, t, A, z, null, b), S()), (!e || r & /*state, temporaryState*/
|
|
205
206
|
48) && g(t, "hide", !/*state*/
|
|
206
207
|
p[4].visible || !/*temporaryState*/
|
|
207
|
-
p[5].visible),
|
|
208
|
+
p[5].visible), r & /*zIndex*/
|
|
208
209
|
64 && k(
|
|
209
210
|
t,
|
|
210
211
|
"z-index",
|
|
@@ -213,23 +214,23 @@ function y(a) {
|
|
|
213
214
|
);
|
|
214
215
|
},
|
|
215
216
|
i(p) {
|
|
216
|
-
if (!
|
|
217
|
-
for (let
|
|
218
|
-
c(o[
|
|
217
|
+
if (!e) {
|
|
218
|
+
for (let r = 0; r < n.length; r += 1)
|
|
219
|
+
c(o[r]);
|
|
219
220
|
m || B(() => {
|
|
220
221
|
m = D(t, J, {}), m.start();
|
|
221
|
-
}),
|
|
222
|
+
}), e = !0;
|
|
222
223
|
}
|
|
223
224
|
},
|
|
224
225
|
o(p) {
|
|
225
|
-
for (let
|
|
226
|
-
u(o[
|
|
227
|
-
|
|
226
|
+
for (let r = 0; r < o.length; r += 1)
|
|
227
|
+
u(o[r]);
|
|
228
|
+
e = !1;
|
|
228
229
|
},
|
|
229
230
|
d(p) {
|
|
230
231
|
p && d(t);
|
|
231
|
-
for (let
|
|
232
|
-
o[
|
|
232
|
+
for (let r = 0; r < o.length; r += 1)
|
|
233
|
+
o[r].d();
|
|
233
234
|
}
|
|
234
235
|
};
|
|
235
236
|
}
|
|
@@ -268,11 +269,11 @@ function z(a, t) {
|
|
|
268
269
|
c() {
|
|
269
270
|
o = M(), E(i.$$.fragment), this.first = o;
|
|
270
271
|
},
|
|
271
|
-
m(
|
|
272
|
-
_(
|
|
272
|
+
m(e, n) {
|
|
273
|
+
_(e, o, n), F(i, e, n), m = !0;
|
|
273
274
|
},
|
|
274
|
-
p(
|
|
275
|
-
t =
|
|
275
|
+
p(e, n) {
|
|
276
|
+
t = e;
|
|
276
277
|
const f = {};
|
|
277
278
|
n & /*state*/
|
|
278
279
|
16 && (f.state = /*state*/
|
|
@@ -288,14 +289,14 @@ function z(a, t) {
|
|
|
288
289
|
8 && (f.contentTypeMap = /*contentTypeMap*/
|
|
289
290
|
t[3]), i.$set(f);
|
|
290
291
|
},
|
|
291
|
-
i(
|
|
292
|
-
m || (c(i.$$.fragment,
|
|
292
|
+
i(e) {
|
|
293
|
+
m || (c(i.$$.fragment, e), m = !0);
|
|
293
294
|
},
|
|
294
|
-
o(
|
|
295
|
-
u(i.$$.fragment,
|
|
295
|
+
o(e) {
|
|
296
|
+
u(i.$$.fragment, e), m = !1;
|
|
296
297
|
},
|
|
297
|
-
d(
|
|
298
|
-
|
|
298
|
+
d(e) {
|
|
299
|
+
e && d(o), G(i, e);
|
|
299
300
|
}
|
|
300
301
|
};
|
|
301
302
|
}
|
|
@@ -308,12 +309,12 @@ function L(a) {
|
|
|
308
309
|
c() {
|
|
309
310
|
i && i.c(), t = M();
|
|
310
311
|
},
|
|
311
|
-
m(m,
|
|
312
|
-
i && i.m(m,
|
|
312
|
+
m(m, e) {
|
|
313
|
+
i && i.m(m, e), _(m, t, e), o = !0;
|
|
313
314
|
},
|
|
314
|
-
p(m, [
|
|
315
|
+
p(m, [e]) {
|
|
315
316
|
/*state*/
|
|
316
|
-
m[4].enabled ? i ? (i.p(m,
|
|
317
|
+
m[4].enabled ? i ? (i.p(m, e), e & /*state*/
|
|
317
318
|
16 && c(i, 1)) : (i = y(m), i.c(), c(i, 1), i.m(t.parentNode, t)) : i && (v(), u(i, 1, 1, () => {
|
|
318
319
|
i = null;
|
|
319
320
|
}), S());
|
|
@@ -330,21 +331,21 @@ function L(a) {
|
|
|
330
331
|
};
|
|
331
332
|
}
|
|
332
333
|
function O(a, t, o) {
|
|
333
|
-
let { tags: i = [] } = t, { hooks: m } = t, { mediaStore:
|
|
334
|
+
let { tags: i = [] } = t, { hooks: m } = t, { mediaStore: e } = t, { rendererMap: n } = t, { contentTypeMap: f } = t, { state: p } = t, { temporaryState: r } = t, { zIndex: s = void 0 } = t;
|
|
334
335
|
return C("hooks", m), a.$$set = (l) => {
|
|
335
|
-
"tags" in l && o(0, i = l.tags), "hooks" in l && o(7, m = l.hooks), "mediaStore" in l && o(1,
|
|
336
|
+
"tags" in l && o(0, i = l.tags), "hooks" in l && o(7, m = l.hooks), "mediaStore" in l && o(1, e = l.mediaStore), "rendererMap" in l && o(2, n = l.rendererMap), "contentTypeMap" in l && o(3, f = l.contentTypeMap), "state" in l && o(4, p = l.state), "temporaryState" in l && o(5, r = l.temporaryState), "zIndex" in l && o(6, s = l.zIndex);
|
|
336
337
|
}, [
|
|
337
338
|
i,
|
|
338
|
-
|
|
339
|
+
e,
|
|
339
340
|
n,
|
|
340
341
|
f,
|
|
341
342
|
p,
|
|
342
|
-
|
|
343
|
+
r,
|
|
343
344
|
s,
|
|
344
345
|
m
|
|
345
346
|
];
|
|
346
347
|
}
|
|
347
|
-
class
|
|
348
|
+
class Lo extends w {
|
|
348
349
|
constructor(t) {
|
|
349
350
|
super(), T(
|
|
350
351
|
this,
|
|
@@ -367,5 +368,5 @@ class Ko extends w {
|
|
|
367
368
|
}
|
|
368
369
|
}
|
|
369
370
|
export {
|
|
370
|
-
|
|
371
|
+
Lo as default
|
|
371
372
|
};
|
|
@@ -12,6 +12,7 @@ import "@realsee/five/line";
|
|
|
12
12
|
import "../../shared-utils/three/core/Sphere.js";
|
|
13
13
|
import "animejs";
|
|
14
14
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
15
|
+
import "../../shared-utils/five/FivePuppet.js";
|
|
15
16
|
import "./Tag/TextTag/index.js";
|
|
16
17
|
import "./Tag/TextTag/TextTag.js";
|
|
17
18
|
import "./Common/Line/Straight.js";
|
|
@@ -109,6 +110,7 @@ import "../../shared-utils/isTouchDevice.js";
|
|
|
109
110
|
import "../../shared-utils/five/getPosition.js";
|
|
110
111
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
111
112
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
113
|
+
import "@realsee/five";
|
|
112
114
|
import "./Tag/AudioTag/index.js";
|
|
113
115
|
import "./Tag/AudioTag/AudioTag.js";
|
|
114
116
|
import "./Common/Audio.js";
|
|
@@ -143,7 +145,6 @@ import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
143
145
|
import "../../shared-utils/typescript/entries.js";
|
|
144
146
|
import "../utils/tag/adaptConfig.js";
|
|
145
147
|
import "../typings/tag/TagConfig.js";
|
|
146
|
-
import "@realsee/five";
|
|
147
148
|
import "../utils/tag/format.js";
|
|
148
149
|
import "../../shared-utils/three/blink.js";
|
|
149
150
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
@@ -493,7 +494,7 @@ function at(o, t, i) {
|
|
|
493
494
|
H
|
|
494
495
|
];
|
|
495
496
|
}
|
|
496
|
-
class
|
|
497
|
+
class po extends J {
|
|
497
498
|
constructor(t) {
|
|
498
499
|
super(), K(
|
|
499
500
|
this,
|
|
@@ -514,5 +515,5 @@ class ro extends J {
|
|
|
514
515
|
}
|
|
515
516
|
}
|
|
516
517
|
export {
|
|
517
|
-
|
|
518
|
+
po as default
|
|
518
519
|
};
|
|
@@ -57,6 +57,7 @@ import { transformPosition as E } from "../../../shared-utils/five/transformPosi
|
|
|
57
57
|
import { lookPoint as oe } from "../../../shared-utils/five/lookPoint.js";
|
|
58
58
|
import { uuid as re } from "../../../shared-utils/uuid.js";
|
|
59
59
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
60
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
60
61
|
import { objectAssignDeepExports as b } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
61
62
|
import { getTagPosition as L, getTagCenterPosition as $ } from "../../utils/tagPosition.js";
|
|
62
63
|
import { checkRange as k } from "../../utils/checkRange.js";
|
|
@@ -108,7 +109,7 @@ import "../../../shared-utils/five/getPosition.js";
|
|
|
108
109
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
109
110
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
110
111
|
import "../../../shared-utils/formatRad.js";
|
|
111
|
-
class
|
|
112
|
+
class Fi {
|
|
112
113
|
constructor(i, e) {
|
|
113
114
|
f(this, "plugin");
|
|
114
115
|
f(this, "id");
|
|
@@ -667,5 +668,5 @@ class Vi {
|
|
|
667
668
|
}
|
|
668
669
|
}
|
|
669
670
|
export {
|
|
670
|
-
|
|
671
|
+
Fi as BaseTag
|
|
671
672
|
};
|
|
@@ -71,6 +71,7 @@ import "../../../shared-utils/isNil.js";
|
|
|
71
71
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
72
72
|
import "animejs";
|
|
73
73
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
74
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
74
75
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
75
76
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
76
77
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -103,7 +104,7 @@ import "../../../shared-utils/url/getUrl.js";
|
|
|
103
104
|
import "../../../shared-utils/five/getFloorIndex.js";
|
|
104
105
|
import "../../../shared-utils/safeObj.js";
|
|
105
106
|
import "../../utils/Cache.js";
|
|
106
|
-
class
|
|
107
|
+
class oi extends D {
|
|
107
108
|
constructor(i, m) {
|
|
108
109
|
super(i, m);
|
|
109
110
|
l(this, "loading", !1);
|
|
@@ -156,5 +157,5 @@ class ii extends D {
|
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
159
|
export {
|
|
159
|
-
|
|
160
|
+
oi as ModelTag
|
|
160
161
|
};
|
|
@@ -49,6 +49,7 @@ import "../../../shared-utils/isNil.js";
|
|
|
49
49
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
50
50
|
import "animejs";
|
|
51
51
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
52
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
52
53
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
53
54
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
54
55
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -83,7 +84,7 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
83
84
|
import "../../../shared-utils/safeObj.js";
|
|
84
85
|
import "../../utils/Cache.js";
|
|
85
86
|
const P = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
86
|
-
class
|
|
87
|
+
class Xt extends f {
|
|
87
88
|
constructor(e, t) {
|
|
88
89
|
super(e, t), this.state.unfolded = !0;
|
|
89
90
|
}
|
|
@@ -140,5 +141,5 @@ class Qt extends f {
|
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
export {
|
|
143
|
-
|
|
144
|
+
Xt as PlaneTag
|
|
144
145
|
};
|
|
@@ -41,6 +41,7 @@ import "../../../shared-utils/isNil.js";
|
|
|
41
41
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
42
42
|
import "animejs";
|
|
43
43
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
44
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
44
45
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
45
46
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
46
47
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -75,7 +76,7 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
75
76
|
import "../../../shared-utils/safeObj.js";
|
|
76
77
|
import "../../utils/Cache.js";
|
|
77
78
|
const b = new m.Vector2();
|
|
78
|
-
class
|
|
79
|
+
class wt extends g {
|
|
79
80
|
constructor(t, e) {
|
|
80
81
|
super(t, e);
|
|
81
82
|
l(this, "__Object__");
|
|
@@ -177,5 +178,5 @@ class Qt extends g {
|
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
export {
|
|
180
|
-
|
|
181
|
+
wt as PointTag
|
|
181
182
|
};
|
|
@@ -101,6 +101,8 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
101
101
|
import "@realsee/five/line";
|
|
102
102
|
import "../../shared-utils/three/core/Sphere.js";
|
|
103
103
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
104
|
+
import "../../shared-utils/five/FivePuppet.js";
|
|
105
|
+
import "@realsee/five";
|
|
104
106
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
105
107
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
106
108
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -154,7 +156,6 @@ import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
154
156
|
import "../../shared-utils/typescript/entries.js";
|
|
155
157
|
import "../utils/tag/adaptConfig.js";
|
|
156
158
|
import "../typings/tag/TagConfig.js";
|
|
157
|
-
import "@realsee/five";
|
|
158
159
|
import "../../shared-utils/five/mode.js";
|
|
159
160
|
import "../utils/tag/format.js";
|
|
160
161
|
import "../../shared-utils/three/blink.js";
|
|
@@ -182,7 +183,7 @@ import "../../shared-utils/url/absoluteUrl.js";
|
|
|
182
183
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
183
184
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
184
185
|
import "../../base/BasePlugin.js";
|
|
185
|
-
class
|
|
186
|
+
class Xr extends N {
|
|
186
187
|
constructor(t) {
|
|
187
188
|
super(t);
|
|
188
189
|
c(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -319,5 +320,5 @@ class Kr extends N {
|
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
export {
|
|
322
|
-
|
|
323
|
+
Xr as TagRender
|
|
323
324
|
};
|
|
@@ -61,6 +61,8 @@ import "../../shared-utils/three/core/LineGeometry.js";
|
|
|
61
61
|
import "../../shared-utils/three/core/Sphere.js";
|
|
62
62
|
import "animejs";
|
|
63
63
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
64
|
+
import "../../shared-utils/five/FivePuppet.js";
|
|
65
|
+
import "@realsee/five";
|
|
64
66
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
65
67
|
import "../../shared-utils/isTouchDevice.js";
|
|
66
68
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -81,7 +83,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
81
83
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
82
84
|
import "../../shared-utils/three/getNormal.js";
|
|
83
85
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
84
|
-
class
|
|
86
|
+
class je extends E {
|
|
85
87
|
constructor(e) {
|
|
86
88
|
super(e);
|
|
87
89
|
r(this, "tags", []);
|
|
@@ -211,5 +213,5 @@ class Ne extends E {
|
|
|
211
213
|
}
|
|
212
214
|
}
|
|
213
215
|
export {
|
|
214
|
-
|
|
216
|
+
je as TagUtil
|
|
215
217
|
};
|