@realsee/dnalogel 3.47.13 → 3.47.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +18650 -18640
- package/dist/index.umd.js +47 -47
- package/libs/AreaMakerPlugin/Controller.js +78 -150
- package/libs/AreaMakerPlugin/index.js +3 -75
- package/libs/AreaMakerPlugin/utils/Item.js +111 -185
- package/libs/CSS3DRenderPlugin/Controller.js +29 -86
- package/libs/CSS3DRenderPlugin/index.js +12 -69
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +58 -127
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +113 -174
- package/libs/CruisePlugin/BaseController.js +50 -122
- package/libs/CruisePlugin/Move.js +21 -74
- package/libs/CruisePlugin/Work.js +46 -99
- package/libs/CruisePlugin/index.js +26 -79
- package/libs/CurrentPanoImagePlugin/Controller.js +104 -176
- package/libs/CurrentPanoImagePlugin/index.js +4 -76
- package/libs/GuideLinePlugin/Controller.js +26 -79
- package/libs/GuideLinePlugin/GuideLineItem.js +24 -77
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +22 -75
- package/libs/GuideLinePlugin/index.js +26 -79
- package/libs/ModelMakerPlugin/Controller.js +83 -139
- package/libs/ModelMakerPlugin/index.js +16 -72
- package/libs/ModelTVVideoPlugin/Plugin.js +48 -105
- package/libs/ModelTVVideoPlugin/index.js +7 -64
- package/libs/Object3DHelperPlugin/Controller.js +32 -56
- package/libs/Object3DHelperPlugin/index.js +12 -35
- package/libs/PanoCompassPlugin/Controller.js +37 -93
- package/libs/PanoCompassPlugin/index.js +11 -67
- package/libs/PanoDoorLabelPlugin/BaseController.js +25 -97
- package/libs/PanoDoorLabelPlugin/Controller.js +115 -187
- package/libs/PanoDoorLabelPlugin/index.js +4 -76
- package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +96 -141
- package/libs/PanoMeasurePlugin/Controller/EditController.js +66 -111
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -101
- package/libs/PanoMeasurePlugin/Model/area.js +21 -91
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -73
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +27 -72
- package/libs/PanoMeasurePlugin/index.js +25 -67
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +17 -89
- package/libs/PanoSpatialTagPlugin/Plugin.js +106 -163
- package/libs/PanoSpatialTagPlugin/index.js +5 -62
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +67 -141
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +208 -281
- package/libs/PanoTagPlugin/Components/Tag/index.js +180 -251
- package/libs/PanoTagPlugin/Components/TagContainer.js +80 -151
- package/libs/PanoTagPlugin/Components/TagItem.js +67 -138
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +61 -132
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +28 -99
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +30 -101
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +36 -107
- package/libs/PanoTagPlugin/controller/TagRender.js +68 -121
- package/libs/PanoTagPlugin/controller/TagUtil.js +79 -132
- package/libs/PanoTagPlugin/controller/index.js +55 -108
- package/libs/PanoTagPlugin/index.js +31 -84
- package/libs/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/requestIdleCallback.js +5 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +30 -104
- package/libs/PanoVideoPlugin/Controller.js +64 -136
- package/libs/PanoVideoPlugin/VideoMeshController.js +74 -148
- package/libs/PanoVideoPlugin/index.js +8 -80
- package/libs/PipelinePlugin/Controller.js +128 -199
- package/libs/PipelinePlugin/index.js +5 -76
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +17 -91
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -88
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +56 -130
- package/libs/Sculpt/Meshes/Box.js +5 -6
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.d.ts +1 -0
- package/libs/Sculpt/Meshes/Line.js +50 -41
- package/libs/Sculpt/Meshes/Point.js +9 -10
- package/libs/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/libs/Sculpt/Meshes/Polygon.js +47 -37
- package/libs/Sculpt/Meshes/Polyline.js +18 -16
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/Objects/Rectangle/index.js +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +4 -4
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +59 -128
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -75
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +59 -129
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +62 -134
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -76
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +81 -151
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +62 -62
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/lookObject.js +17 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -2,15 +2,15 @@ var u = Object.defineProperty, D = Object.defineProperties;
|
|
|
2
2
|
var f = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var h = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var m = (e, o, t) => o in e ? u(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, p = (e, o) => {
|
|
6
6
|
for (var t in o || (o = {}))
|
|
7
|
-
A.call(o, t) && e
|
|
7
|
+
A.call(o, t) && m(e, t, o[t]);
|
|
8
8
|
if (h)
|
|
9
9
|
for (var t of h(o))
|
|
10
|
-
T.call(o, t) && e
|
|
11
|
-
return
|
|
12
|
-
}, s = (
|
|
13
|
-
var l = (
|
|
10
|
+
T.call(o, t) && m(e, t, o[t]);
|
|
11
|
+
return e;
|
|
12
|
+
}, s = (e, o) => D(e, f(o));
|
|
13
|
+
var l = (e, o, t) => (m(e, typeof o != "symbol" ? o + "" : o, t), t);
|
|
14
14
|
import { ItemDom as y } from "./base.js";
|
|
15
15
|
import { getGeometryInfo as I } from "../../../shared-utils/three/geometryUtil.js";
|
|
16
16
|
import "three";
|
|
@@ -18,7 +18,6 @@ import "hammerjs";
|
|
|
18
18
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
19
|
import "@realsee/five/line";
|
|
20
20
|
import "../../../shared-utils/tag.js";
|
|
21
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
22
21
|
import "../../../shared-utils/three/THREESphere.js";
|
|
23
22
|
import "animejs";
|
|
24
23
|
import { isNil as P } from "../../../shared-utils/isNil.js";
|
|
@@ -34,82 +33,11 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
34
33
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
35
34
|
import "../../../shared-utils/five/transformPosition.js";
|
|
36
35
|
import "../../../shared-utils/three/temp.js";
|
|
37
|
-
|
|
38
|
-
import "../../../Object3DHelperPlugin/Controller.js";
|
|
39
|
-
import "../../../base/BasePlugin.js";
|
|
40
|
-
import "../../../shared-utils/url/absoluteUrl.js";
|
|
41
|
-
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
42
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
43
|
-
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
44
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
45
|
-
import "../../../shared-utils/three/boundingBox.js";
|
|
46
|
-
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
47
|
-
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
48
|
-
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
49
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
50
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
51
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
52
|
-
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
53
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
54
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
55
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
56
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
57
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
58
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
59
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
60
|
-
import "../../../shared-utils/util.js";
|
|
61
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
62
|
-
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
63
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
64
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
65
|
-
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
66
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
67
|
-
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
68
|
-
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
69
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
70
|
-
import "../../../shared-utils/threex/domevents/index.js";
|
|
71
|
-
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
72
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
73
|
-
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
74
|
-
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
75
|
-
import "../../../shared-utils/Object3DHelper/index.js";
|
|
76
|
-
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
77
|
-
import "../../../shared-utils/math/rad2Deg.js";
|
|
78
|
-
import "../../../shared-utils/math/deg2Rad.js";
|
|
79
|
-
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
80
|
-
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
81
|
-
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
82
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
83
|
-
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
84
|
-
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
85
|
-
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
86
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
87
|
-
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
88
|
-
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
89
|
-
import "../../../shared-utils/three/THREERaycaster.js";
|
|
90
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
91
|
-
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
92
|
-
import "../../../shared-utils/three/Magnifier.js";
|
|
93
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
94
|
-
import "../../../shared-utils/three/Assets/index.js";
|
|
95
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
96
|
-
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
97
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
98
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
99
|
-
import "../../../Sculpt/typings/style.js";
|
|
100
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
101
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
102
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
103
|
-
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
104
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
105
|
-
import "../../../shared-utils/isTouchDevice.js";
|
|
106
|
-
import "../../../shared-utils/five/getPosition.js";
|
|
107
|
-
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
108
|
-
class co extends y {
|
|
36
|
+
class U extends y {
|
|
109
37
|
constructor(t) {
|
|
110
|
-
t.containerStyle = s(
|
|
38
|
+
t.containerStyle = s(p({}, t.containerStyle), {
|
|
111
39
|
zIndex: "1"
|
|
112
|
-
}), t.contentStyle = s(
|
|
40
|
+
}), t.contentStyle = s(p({}, t.contentStyle), {
|
|
113
41
|
background: "#6386FF",
|
|
114
42
|
borderRadius: "2px"
|
|
115
43
|
});
|
|
@@ -120,21 +48,21 @@ class co extends y {
|
|
|
120
48
|
/**
|
|
121
49
|
* @description: dom 依赖的多边形的顶点的位置更新时,更新 dom 的位置和面积
|
|
122
50
|
*/
|
|
123
|
-
updateArea(t,
|
|
51
|
+
updateArea(t, i) {
|
|
124
52
|
var c, d;
|
|
125
|
-
const
|
|
126
|
-
if (!
|
|
53
|
+
const n = i != null ? i : this.area.polygon.geometry, r = I(n);
|
|
54
|
+
if (!r) {
|
|
127
55
|
this.ndcPosition = null, this.updateDomPosition(t);
|
|
128
56
|
return;
|
|
129
57
|
}
|
|
130
|
-
const { area: a, center: x } =
|
|
58
|
+
const { area: a, center: x } = r;
|
|
131
59
|
this.ndcPosition = x, this.updateDomPosition(t), (d = (c = this.area.model) == null ? void 0 : c.config) != null && d.getAreaText ? this.contentDom.innerText = this.area.model.config.getAreaText(a) : this.updateAreaText(a, { fix: 2 });
|
|
132
60
|
}
|
|
133
|
-
updateAreaText(t,
|
|
134
|
-
const { unit:
|
|
135
|
-
this.contentDom.innerText = `${P(
|
|
61
|
+
updateAreaText(t, i) {
|
|
62
|
+
const { unit: n = "m²", fix: r } = i != null ? i : {};
|
|
63
|
+
this.contentDom.innerText = `${P(r) ? t : t.toFixed(r)}${n}`;
|
|
136
64
|
}
|
|
137
65
|
}
|
|
138
66
|
export {
|
|
139
|
-
|
|
67
|
+
U as AreaItem
|
|
140
68
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as a from "three";
|
|
2
2
|
import { Subscribe as yo, Five as To } from "@realsee/five";
|
|
3
3
|
import { CSS3DRenderPlugin as Mo } from "../CSS3DRenderPlugin/index.js";
|
|
4
4
|
import Po from "./Components/origins.js";
|
|
@@ -28,81 +28,24 @@ 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 "../Sculpt/utils/Modules/Global.js";
|
|
32
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
33
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
34
|
-
import "../base/BasePlugin.js";
|
|
35
31
|
import "../shared-utils/three/THREESphere.js";
|
|
36
32
|
import "animejs";
|
|
37
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
38
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
40
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
41
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
42
|
-
import "../shared-utils/three/IObject3D.js";
|
|
43
|
-
import "../shared-utils/three/boundingBox.js";
|
|
44
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
45
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
46
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
47
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
48
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
49
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
50
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
51
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
52
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
53
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
54
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
55
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
56
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
57
33
|
import "../shared-utils/isNil.js";
|
|
58
|
-
import "../
|
|
59
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
60
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
61
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
62
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
63
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
64
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
65
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
66
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
67
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
68
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
69
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
70
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
71
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
72
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
73
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
74
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
75
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
76
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
77
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
78
|
-
import "../shared-utils/three/PointSelector/index.js";
|
|
79
|
-
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
80
|
-
import "../shared-utils/three/Magnifier.js";
|
|
81
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
82
|
-
import "../shared-utils/three/Assets/index.js";
|
|
83
|
-
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
84
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
85
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
86
|
-
import "../Sculpt/Meshes/Line.js";
|
|
87
|
-
import "../Sculpt/typings/style.js";
|
|
88
|
-
import "../shared-utils/five/FiveLine.js";
|
|
89
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
90
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
91
|
-
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
92
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
93
|
-
import "../shared-utils/isTouchDevice.js";
|
|
94
|
-
import "../shared-utils/five/getPosition.js";
|
|
95
|
-
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
34
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
96
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
97
36
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
37
|
+
import "../shared-utils/util.js";
|
|
98
38
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
39
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
40
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
41
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
99
42
|
import "../vendor/svelte/internal/index.js";
|
|
100
43
|
import "./store.js";
|
|
101
44
|
import "../vendor/svelte/store/index.js";
|
|
102
|
-
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
45
|
+
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", he = (n, r) => {
|
|
103
46
|
var k, z, q, B, G, J, K, Q;
|
|
104
47
|
let j = r == null ? void 0 : r.container, y = 1.4;
|
|
105
|
-
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200,
|
|
48
|
+
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");
|
|
106
49
|
S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, Eo);
|
|
107
50
|
const V = new yo();
|
|
108
51
|
let Z = new Image();
|
|
@@ -120,203 +63,203 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
120
63
|
}, Y = new Po({
|
|
121
64
|
target: S,
|
|
122
65
|
props: { origins: o.origins }
|
|
123
|
-
}), _ = (
|
|
66
|
+
}), _ = (e, s) => {
|
|
124
67
|
T(), s && M();
|
|
125
68
|
}, F = () => {
|
|
126
69
|
o.forbidden && (o.forbidden = !1, M());
|
|
127
|
-
}, H = (
|
|
70
|
+
}, H = (e, s) => {
|
|
128
71
|
if (o.tags.length === 0)
|
|
129
72
|
return;
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
const g = new
|
|
133
|
-
P.multiplyMatrices(
|
|
134
|
-
const $ =
|
|
73
|
+
const p = s.longitude - n.state.longitude, t = n.camera.clone();
|
|
74
|
+
t.position.copy(s.offset), t.rotateOnWorldAxis(new a.Vector3(0, 1, 0), p), t.updateProjectionMatrix(), t.updateMatrixWorld(!0);
|
|
75
|
+
const g = new a.Frustum(), P = new a.Matrix4();
|
|
76
|
+
P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P), o.tags.forEach((i) => {
|
|
77
|
+
const $ = t.position.clone().setY(y).distanceTo(i.position);
|
|
135
78
|
if ($ < A || $ > f || !g.containsPoint(i.position))
|
|
136
79
|
return i.destroying = !0;
|
|
137
|
-
const x = i.position.clone().sub(
|
|
80
|
+
const x = i.position.clone().sub(t.position).setY(0);
|
|
138
81
|
if (x.angleTo(i.normal) > Math.PI / 2 - I && x.angleTo(i.normal) < Math.PI / 2 + I)
|
|
139
82
|
return i.destroying = !0;
|
|
140
83
|
}), o.tags.forEach((i) => {
|
|
141
84
|
i.destroying ? i.app.$set({
|
|
142
|
-
contentZoom: 0.1 +
|
|
143
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
85
|
+
contentZoom: 0.1 + t.position.distanceTo(i.position) / f,
|
|
86
|
+
lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
|
|
144
87
|
destroying: i.destroying
|
|
145
88
|
}) : i.app.$set({
|
|
146
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
147
|
-
lineHeightZoom: 0.4 + (
|
|
148
|
-
contentZoom: 0.1 +
|
|
89
|
+
lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
|
|
90
|
+
lineHeightZoom: 0.4 + (t.position.distanceTo(i.position) - A) / f * 0.6,
|
|
91
|
+
contentZoom: 0.1 + t.position.distanceTo(i.position) / f
|
|
149
92
|
});
|
|
150
93
|
}), setTimeout(() => {
|
|
151
94
|
o.tags.forEach((i) => {
|
|
152
95
|
i.destroying && (i.app.$destroy(), i = null);
|
|
153
96
|
}), o.tags = o.tags.filter((i) => !i.destroying), T();
|
|
154
97
|
}, 1900);
|
|
155
|
-
}, N = (
|
|
156
|
-
|
|
98
|
+
}, N = (e) => {
|
|
99
|
+
e !== To.Mode.Panorama && !o.forbidden && (Y.$set({ origins: [] }), o.tags.forEach((s) => {
|
|
157
100
|
s.app.$destroy(), s = null;
|
|
158
101
|
}), o.origins = [], o.tags = [], o.forbidden = !0);
|
|
159
102
|
}, T = () => {
|
|
160
103
|
if (o.forbidden || !o.enabled)
|
|
161
104
|
return;
|
|
162
|
-
const
|
|
163
|
-
o.origins = o.tags.map((
|
|
164
|
-
const
|
|
105
|
+
const e = n.camera, s = e.getWorldDirection(new a.Vector3());
|
|
106
|
+
o.origins = o.tags.map((p) => {
|
|
107
|
+
const t = p.position.clone().project(e), g = p.position.clone().sub(e.position).setY(0).angleTo(s.setY(0)) < Math.PI / 2;
|
|
165
108
|
return {
|
|
166
|
-
id:
|
|
109
|
+
id: p.id,
|
|
167
110
|
front: g,
|
|
168
|
-
left: (
|
|
169
|
-
top: (-
|
|
170
|
-
destroying:
|
|
111
|
+
left: (t.x + 1) / 2 * 100,
|
|
112
|
+
top: (-t.y + 1) / 2 * 100,
|
|
113
|
+
destroying: p.destroying
|
|
171
114
|
};
|
|
172
115
|
}), Y.$set({ origins: o.origins });
|
|
173
116
|
}, M = () => {
|
|
174
117
|
o.forbidden || !o.enabled || (o.timeoutId && clearTimeout(o.timeoutId), o.timeoutId = setTimeout(() => {
|
|
175
118
|
o.timeoutId = void 0;
|
|
176
|
-
const
|
|
177
|
-
|
|
119
|
+
const e = no();
|
|
120
|
+
e.length && (o.tags = o.tags.concat(e), T());
|
|
178
121
|
}, oo));
|
|
179
122
|
}, no = () => {
|
|
180
|
-
const { clientWidth:
|
|
181
|
-
P.multiplyMatrices(
|
|
182
|
-
const $ = o.tags.filter((d) => g.containsPoint(d.position) && !d.destroying).length, x = o.points.reduce((d,
|
|
183
|
-
if (o.tags.find((
|
|
123
|
+
const { clientWidth: e, clientHeight: s } = n.getElement(), p = [], t = n.camera, g = new a.Frustum(), P = new a.Matrix4(), i = t.getWorldDirection(new a.Vector3());
|
|
124
|
+
P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P);
|
|
125
|
+
const $ = o.tags.filter((d) => g.containsPoint(d.position) && !d.destroying).length, x = o.points.reduce((d, m) => {
|
|
126
|
+
if (o.tags.find((l) => m.id === l.id && !l.destroying))
|
|
184
127
|
return d;
|
|
185
|
-
const u =
|
|
186
|
-
if (u < A || u > f || !g.containsPoint(
|
|
128
|
+
const u = t.position.clone().setY(y).distanceTo(m.position);
|
|
129
|
+
if (u < A || u > f || !g.containsPoint(m.position))
|
|
187
130
|
return d;
|
|
188
|
-
const E =
|
|
189
|
-
if (E.angleTo(
|
|
131
|
+
const E = m.position.clone().sub(t.position).setY(0);
|
|
132
|
+
if (E.angleTo(m.normal) > Math.PI / 2 - I && E.angleTo(m.normal) < Math.PI / 2 + I)
|
|
190
133
|
return d;
|
|
191
|
-
const w =
|
|
192
|
-
if (!o.tags.every((
|
|
193
|
-
if (
|
|
134
|
+
const w = m.position.clone().project(t);
|
|
135
|
+
if (!o.tags.every((l) => {
|
|
136
|
+
if (l.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
|
|
194
137
|
return !0;
|
|
195
|
-
const b =
|
|
196
|
-
return Math.sqrt(Math.pow((w.x - b.x) / 2 *
|
|
138
|
+
const b = l.position.clone().project(t);
|
|
139
|
+
return Math.sqrt(Math.pow((w.x - b.x) / 2 * e, 2) + Math.pow((w.y - b.y) / 2 * s, 2)) > L;
|
|
197
140
|
}))
|
|
198
141
|
return d;
|
|
199
142
|
const h = {
|
|
200
|
-
id:
|
|
201
|
-
position:
|
|
202
|
-
normal:
|
|
203
|
-
replacement:
|
|
204
|
-
weight:
|
|
143
|
+
id: m.id,
|
|
144
|
+
position: m.position,
|
|
145
|
+
normal: m.normal,
|
|
146
|
+
replacement: m.replacement,
|
|
147
|
+
weight: m.weight,
|
|
205
148
|
distance: u
|
|
206
149
|
};
|
|
207
150
|
let c;
|
|
208
|
-
for (let
|
|
209
|
-
const O = d[
|
|
151
|
+
for (let l = 0, b = d.length; l < b; l++) {
|
|
152
|
+
const O = d[l];
|
|
210
153
|
if (h.weight > O.weight) {
|
|
211
|
-
c =
|
|
154
|
+
c = l;
|
|
212
155
|
break;
|
|
213
156
|
}
|
|
214
157
|
if (h.distance < O.distance) {
|
|
215
|
-
c =
|
|
158
|
+
c = l;
|
|
216
159
|
break;
|
|
217
160
|
}
|
|
218
161
|
}
|
|
219
162
|
return c !== void 0 ? d.splice(c, 0, h) : d.push(h), d;
|
|
220
163
|
}, []);
|
|
221
|
-
for (let d = 0,
|
|
164
|
+
for (let d = 0, m = x.length; d < m && !($ + p.length >= eo); d++) {
|
|
222
165
|
const u = x[d];
|
|
223
|
-
if (
|
|
166
|
+
if (p.find((c) => u.id === c.id))
|
|
224
167
|
continue;
|
|
225
|
-
const E = u.position.clone().project(
|
|
226
|
-
if (!o.tags.concat(
|
|
227
|
-
if (c.position.clone().sub(
|
|
168
|
+
const E = u.position.clone().project(t);
|
|
169
|
+
if (!o.tags.concat(p).every((c) => {
|
|
170
|
+
if (c.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
|
|
228
171
|
return !0;
|
|
229
|
-
const
|
|
230
|
-
return Math.sqrt(Math.pow((E.x -
|
|
172
|
+
const l = c.position.clone().project(t);
|
|
173
|
+
return Math.sqrt(Math.pow((E.x - l.x) / 2 * e, 2) + Math.pow((E.y - l.y) / 2 * s, 2)) > L;
|
|
231
174
|
}))
|
|
232
175
|
continue;
|
|
233
|
-
const w = new
|
|
234
|
-
|
|
235
|
-
u.position.clone().sub(
|
|
176
|
+
const w = new a.Raycaster(
|
|
177
|
+
t.position.clone().setY(y),
|
|
178
|
+
u.position.clone().sub(t.position.clone().setY(y)).normalize(),
|
|
236
179
|
0,
|
|
237
180
|
u.distance + v
|
|
238
181
|
), [h] = o.intersectObjects ? w.intersectObjects(o.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
|
|
239
182
|
if (h && u.distance - h.distance < v) {
|
|
240
|
-
const { position: c, normal:
|
|
183
|
+
const { position: c, normal: l, id: b, replacement: O } = u, fo = new a.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new a.Vector3(0, 1, 0)).setLength(D), uo = [
|
|
241
184
|
c.clone(),
|
|
242
185
|
c.clone().add(X),
|
|
243
|
-
c.clone().add(new
|
|
244
|
-
c.clone().add(new
|
|
245
|
-
].map((wo) => fo.projectPoint(wo, new
|
|
186
|
+
c.clone().add(new a.Vector3(0, D, 0)).add(X),
|
|
187
|
+
c.clone().add(new a.Vector3(0, D, 0))
|
|
188
|
+
].map((wo) => fo.projectPoint(wo, new a.Vector3())), { container: go, dispose: ho } = C.create3DDomContainer(uo) || {}, bo = new xo({
|
|
246
189
|
target: go,
|
|
247
190
|
props: {
|
|
248
191
|
id: b,
|
|
249
192
|
content: o.render(o.template, O),
|
|
250
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
251
|
-
lineHeightZoom: 0.4 + (
|
|
252
|
-
contentZoom: 0.1 +
|
|
253
|
-
upsideDown: c.y >
|
|
193
|
+
lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(c) / f),
|
|
194
|
+
lineHeightZoom: 0.4 + (t.position.distanceTo(c) - A) / f * 0.6,
|
|
195
|
+
contentZoom: 0.1 + t.position.distanceTo(c) / f,
|
|
196
|
+
upsideDown: c.y > to,
|
|
254
197
|
folded: o.folded,
|
|
255
198
|
events: o.events,
|
|
256
199
|
hooks: V,
|
|
257
200
|
dispose: ho
|
|
258
201
|
}
|
|
259
202
|
});
|
|
260
|
-
|
|
203
|
+
p.push({
|
|
261
204
|
position: c,
|
|
262
|
-
normal:
|
|
205
|
+
normal: l,
|
|
263
206
|
id: b,
|
|
264
207
|
app: bo
|
|
265
208
|
});
|
|
266
209
|
}
|
|
267
210
|
}
|
|
268
|
-
return
|
|
269
|
-
}, io = (
|
|
270
|
-
o.points =
|
|
271
|
-
var
|
|
211
|
+
return p;
|
|
212
|
+
}, io = (e) => {
|
|
213
|
+
o.points = e.points.map((s) => {
|
|
214
|
+
var p, t;
|
|
272
215
|
return {
|
|
273
216
|
id: s.id,
|
|
274
|
-
position: new
|
|
275
|
-
normal: new
|
|
276
|
-
replacement: (
|
|
277
|
-
weight: (
|
|
217
|
+
position: new a.Vector3().fromArray(s.position),
|
|
218
|
+
normal: new a.Vector3().fromArray(s.normal),
|
|
219
|
+
replacement: (p = s.replacement) != null ? p : {},
|
|
220
|
+
weight: (t = s.weight) != null ? t : -1
|
|
278
221
|
};
|
|
279
|
-
}),
|
|
280
|
-
}, ro = (
|
|
281
|
-
o.intersectObjects =
|
|
222
|
+
}), e.render && (o.render = e.render), e.template && (o.template = e.template), e.events && (o.events = e.events), e.enabled === !1 && (o.enabled = e.enabled), e.folded === !0 && (o.folded = e.folded);
|
|
223
|
+
}, ro = (e) => {
|
|
224
|
+
o.intersectObjects = e, M();
|
|
282
225
|
}, so = () => {
|
|
283
226
|
o.enabled = !0, M();
|
|
284
227
|
}, co = () => {
|
|
285
|
-
o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((
|
|
286
|
-
|
|
228
|
+
o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((e) => {
|
|
229
|
+
e.app.$destroy(), e = null;
|
|
287
230
|
}), o.origins = [], o.tags = [];
|
|
288
|
-
}, po = () => {
|
|
289
|
-
o.folded = !1, o.tags.forEach((t) => {
|
|
290
|
-
t.app.$set({ folded: o.folded });
|
|
291
|
-
});
|
|
292
231
|
}, lo = () => {
|
|
293
|
-
o.folded = !
|
|
294
|
-
|
|
232
|
+
o.folded = !1, o.tags.forEach((e) => {
|
|
233
|
+
e.app.$set({ folded: o.folded });
|
|
234
|
+
});
|
|
235
|
+
}, ao = () => {
|
|
236
|
+
o.folded = !0, o.tags.forEach((e) => {
|
|
237
|
+
e.app.$set({ folded: o.folded });
|
|
295
238
|
});
|
|
296
|
-
},
|
|
239
|
+
}, po = (e) => {
|
|
297
240
|
o.tags.forEach((s) => {
|
|
298
|
-
s.id ===
|
|
241
|
+
s.id === e && s.app.$set({ folded: !1 });
|
|
299
242
|
});
|
|
300
|
-
},
|
|
243
|
+
}, mo = (e) => {
|
|
301
244
|
o.tags.forEach((s) => {
|
|
302
|
-
s.id ===
|
|
245
|
+
s.id === e && s.app.$set({ folded: !0 });
|
|
303
246
|
});
|
|
304
247
|
}, U = () => {
|
|
305
248
|
n.once("renderFrame", T);
|
|
306
249
|
}, R = () => {
|
|
307
|
-
j || (j = n.getElement().parentElement), j && j.appendChild(S), o.forbidden = !1, y = n.model.bounding.getCenter(new
|
|
250
|
+
j || (j = n.getElement().parentElement), j && j.appendChild(S), o.forbidden = !1, y = n.model.bounding.getCenter(new a.Vector3()).y, M(), n.on("panoWillArrive", H), n.on("panoArrived", F), n.on("modeChange", N), n.on("cameraUpdate", _);
|
|
308
251
|
}, W = () => {
|
|
309
|
-
Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((
|
|
310
|
-
|
|
252
|
+
Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((e) => {
|
|
253
|
+
e.app.$destroy(), e = null;
|
|
311
254
|
}), o.origins = [], o.tags = [], n.off("modelLoaded", R), n.off("renderFrame", T), n.off("panoWillArrive", H), n.off("panoArrived", F), n.off("modeChange", N), n.off("cameraUpdate", _), n.off("dispose", W), window.removeEventListener("resize", U, !1);
|
|
312
255
|
};
|
|
313
256
|
return window.addEventListener("resize", U, !1), (Q = n == null ? void 0 : n.model) != null && Q.loaded ? R() : n.once("modelLoaded", R), n.on("dispose", W), {
|
|
314
257
|
load: io,
|
|
315
258
|
setIntersectObjects: ro,
|
|
316
|
-
unfoldAll:
|
|
317
|
-
foldAll:
|
|
318
|
-
unfold:
|
|
319
|
-
fold:
|
|
259
|
+
unfoldAll: lo,
|
|
260
|
+
foldAll: ao,
|
|
261
|
+
unfold: po,
|
|
262
|
+
fold: mo,
|
|
320
263
|
enable: so,
|
|
321
264
|
disable: co,
|
|
322
265
|
hooks: V,
|
|
@@ -324,6 +267,6 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
324
267
|
};
|
|
325
268
|
};
|
|
326
269
|
export {
|
|
327
|
-
|
|
328
|
-
|
|
270
|
+
he as PanoSpatialTagPlugin,
|
|
271
|
+
he as default
|
|
329
272
|
};
|
|
@@ -25,74 +25,17 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
25
25
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
26
26
|
import "../shared-utils/five/transformPosition.js";
|
|
27
27
|
import "../shared-utils/three/temp.js";
|
|
28
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
29
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
30
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
31
|
-
import "../base/BasePlugin.js";
|
|
32
28
|
import "../shared-utils/three/THREESphere.js";
|
|
33
29
|
import "animejs";
|
|
34
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
35
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
36
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
37
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
38
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
39
|
-
import "../shared-utils/three/IObject3D.js";
|
|
40
|
-
import "../shared-utils/three/boundingBox.js";
|
|
41
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
42
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
43
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
44
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
45
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
46
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
47
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
48
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
49
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
50
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
51
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
52
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
53
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
54
30
|
import "../shared-utils/isNil.js";
|
|
55
|
-
import "../
|
|
56
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
57
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
58
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
59
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
60
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
61
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
62
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
63
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
64
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
65
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
66
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
67
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
68
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
69
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
70
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
71
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
72
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
73
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
74
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
75
|
-
import "../shared-utils/three/PointSelector/index.js";
|
|
76
|
-
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
77
|
-
import "../shared-utils/three/Magnifier.js";
|
|
78
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
79
|
-
import "../shared-utils/three/Assets/index.js";
|
|
80
|
-
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
81
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
82
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
83
|
-
import "../Sculpt/Meshes/Line.js";
|
|
84
|
-
import "../Sculpt/typings/style.js";
|
|
85
|
-
import "../shared-utils/five/FiveLine.js";
|
|
86
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
87
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
88
|
-
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
89
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
90
|
-
import "../shared-utils/isTouchDevice.js";
|
|
91
|
-
import "../shared-utils/five/getPosition.js";
|
|
92
|
-
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
31
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
93
32
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
94
33
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
34
|
+
import "../shared-utils/util.js";
|
|
95
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
36
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
38
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
96
39
|
import "./Components/origins.js";
|
|
97
40
|
import "../vendor/svelte/internal/index.js";
|
|
98
41
|
import "./store.js";
|