@realsee/dnalogel 3.51.0 → 3.52.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 +15 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/dist/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/dist/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Meshes/Box.d.ts +6 -24
- package/dist/Sculpt/Meshes/Circle.d.ts +0 -4
- package/dist/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/dist/Sculpt/Meshes/Line.d.ts +9 -22
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Prism.d.ts +29 -10
- package/dist/Sculpt/Meshes/Rectangle.d.ts +1 -5
- package/dist/Sculpt/Objects/Base/index.d.ts +3 -3
- package/dist/Sculpt/Objects/Box/index.d.ts +7 -2
- package/dist/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Line/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Point/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +13 -2
- package/dist/Sculpt/index.d.ts +10 -19
- package/dist/Sculpt/typings/style.d.ts +6 -0
- package/dist/Sculpt/utils/export.d.ts +24 -18
- package/dist/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/dist/index.cjs.js +88 -3009
- package/dist/index.d.ts +79 -1
- package/dist/index.js +35141 -54254
- package/dist/index.umd.js +81 -3002
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/dist/shared-utils/five/FiveLine.d.ts +18 -14
- package/dist/shared-utils/index.d.ts +0 -1
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/dist/shared-utils/tag.d.ts +5 -7
- package/dist/shared-utils/three/boundingBox.d.ts +14 -20
- package/dist/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/dist/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/dist/shared-utils/three/geometryUtil.d.ts +8 -0
- package/dist/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/AreaMakerPlugin/Controller.js +47 -100
- package/libs/AreaMakerPlugin/index.js +12 -65
- package/libs/AreaMakerPlugin/utils/Item.js +102 -157
- package/libs/CSS3DRenderPlugin/Controller.js +45 -93
- package/libs/CSS3DRenderPlugin/index.js +15 -63
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +51 -106
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +79 -131
- package/libs/CruisePlugin/BaseController.js +90 -143
- package/libs/CruisePlugin/Move.js +39 -83
- package/libs/CruisePlugin/Work.js +52 -96
- package/libs/CruisePlugin/index.js +23 -67
- package/libs/CurrentPanoImagePlugin/Controller.js +88 -141
- package/libs/CurrentPanoImagePlugin/index.js +11 -64
- package/libs/GuideLinePlugin/Controller.js +13 -57
- package/libs/GuideLinePlugin/GuideLineItem.js +20 -64
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -8
- package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -59
- package/libs/GuideLinePlugin/index.js +23 -67
- package/libs/ModelMakerPlugin/Controller.js +125 -165
- package/libs/ModelMakerPlugin/index.js +23 -63
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +2 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +49 -97
- package/libs/ModelTVVideoPlugin/index.js +8 -56
- package/libs/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/libs/Object3DHelperPlugin/Controller.js +105 -92
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +35 -30
- package/libs/Object3DHelperPlugin/index.js +15 -30
- package/libs/PanoCompassPlugin/Controller.js +46 -93
- package/libs/PanoCompassPlugin/index.js +17 -64
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -80
- package/libs/PanoDoorLabelPlugin/Controller.js +80 -133
- package/libs/PanoDoorLabelPlugin/index.js +11 -64
- package/libs/PanoMeasurePlugin/Components/Controller0.js +79 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +92 -141
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -122
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +72 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +89 -135
- package/libs/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/area.js +25 -74
- package/libs/PanoMeasurePlugin/Model/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/line.js +1 -0
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polygon.js +7 -7
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -56
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +17 -66
- package/libs/PanoMeasurePlugin/index.js +18 -64
- package/libs/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -59
- package/libs/PanoMeasurePlugin/utils/line.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +34 -89
- package/libs/PanoRulerProPlugin/RulerItems.js +92 -147
- package/libs/PanoRulerProPlugin/index.js +10 -65
- package/libs/PanoSpatialTagPlugin/Plugin.js +130 -178
- package/libs/PanoSpatialTagPlugin/index.js +6 -54
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +61 -116
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +138 -193
- package/libs/PanoTagPlugin/Components/Tag/index.js +140 -194
- package/libs/PanoTagPlugin/Components/TagContainer.js +58 -112
- package/libs/PanoTagPlugin/Components/TagItem.js +137 -191
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +109 -164
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -76
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +33 -87
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +39 -94
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -62
- package/libs/PanoTagPlugin/controller/TagUtil.js +80 -124
- package/libs/PanoTagPlugin/controller/index.js +37 -81
- package/libs/PanoTagPlugin/index.js +28 -72
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +14 -14
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +22 -77
- package/libs/PanoVideoPlugin/Controller.js +43 -96
- package/libs/PanoVideoPlugin/VideoMeshController.js +64 -119
- package/libs/PanoVideoPlugin/index.js +14 -67
- package/libs/PipelinePlugin/Controller.js +123 -176
- package/libs/PipelinePlugin/index.js +11 -64
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +15 -70
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -58
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +42 -97
- package/libs/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/BoxMeshEditor.js +98 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.js +9 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.js +41 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.js +43 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.js +70 -0
- package/libs/Sculpt/Meshes/Box.d.ts +6 -24
- package/libs/Sculpt/Meshes/Box.js +22 -93
- package/libs/Sculpt/Meshes/Circle.d.ts +0 -4
- package/libs/Sculpt/Meshes/Circle.js +18 -27
- package/libs/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/libs/Sculpt/Meshes/Cylinder.js +17 -24
- package/libs/Sculpt/Meshes/Line.d.ts +9 -22
- package/libs/Sculpt/Meshes/Line.js +85 -104
- package/libs/Sculpt/Meshes/LineWithDots.js +10 -14
- package/libs/Sculpt/Meshes/Point.js +29 -34
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/libs/Sculpt/Meshes/Polygon.js +40 -53
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Prism.d.ts +29 -10
- package/libs/Sculpt/Meshes/Prism.js +108 -84
- package/libs/Sculpt/Meshes/Rectangle.d.ts +1 -5
- package/libs/Sculpt/Meshes/Rectangle.js +12 -22
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +17 -20
- package/libs/Sculpt/Objects/Base/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Base/index.js +20 -25
- package/libs/Sculpt/Objects/Box/index.d.ts +7 -2
- package/libs/Sculpt/Objects/Box/index.js +72 -60
- package/libs/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Circle/index.js +41 -37
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Cylinder/index.js +66 -62
- package/libs/Sculpt/Objects/Line/Editor.js +8 -10
- package/libs/Sculpt/Objects/Line/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Line/index.js +45 -41
- package/libs/Sculpt/Objects/Point/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Point/index.js +33 -29
- package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polygon/index.js +67 -63
- package/libs/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polyline/index.js +46 -42
- package/libs/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Prism/index.js +58 -53
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +13 -2
- package/libs/Sculpt/Objects/Rectangle/index.js +143 -81
- package/libs/Sculpt/index.d.ts +10 -19
- package/libs/Sculpt/index.js +105 -107
- package/libs/Sculpt/typings/style.d.ts +6 -0
- package/libs/Sculpt/utils/export.d.ts +24 -18
- package/libs/Sculpt/utils/export.js +52 -19
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +9 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +40 -37
- package/libs/base/BasePlugin.js +10 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +96 -147
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +12 -63
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +53 -105
- package/libs/floorplan/ModelFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +65 -118
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +11 -64
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +54 -106
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/index.js +0 -5
- package/libs/index.d.ts +79 -1
- package/libs/index.js +229 -215
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +112 -122
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +60 -39
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +47 -47
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +28 -28
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +25 -18
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +18 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +40 -28
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +4 -4
- package/libs/shared-utils/five/FiveDomEvents.js +88 -88
- package/libs/shared-utils/five/FiveLine.d.ts +18 -14
- package/libs/shared-utils/five/FiveLine.js +31 -13
- package/libs/shared-utils/five/index.js +2 -7
- package/libs/shared-utils/five/lookObject.js +27 -32
- package/libs/shared-utils/index.d.ts +0 -1
- package/libs/shared-utils/index.js +31 -33
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/tag.d.ts +5 -7
- package/libs/shared-utils/tag.js +1 -1
- package/libs/shared-utils/three/boundingBox.d.ts +14 -20
- package/libs/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/libs/shared-utils/three/core/LineGeometry.js +26 -0
- package/libs/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/libs/shared-utils/three/core/PrismGeometry.js +42 -0
- package/libs/shared-utils/three/earcut3D.js +5 -5
- package/libs/shared-utils/three/geometryUtil.d.ts +8 -0
- package/libs/shared-utils/three/geometryUtil.js +3 -1
- package/libs/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/shared-utils/three/getNormal.js +6 -5
- package/libs/shared-utils/three/index.js +0 -5
- package/package.json +1 -1
- package/dist/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/dist/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Box/Editor.js +0 -44
- package/libs/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Circle/Editor.js +0 -9
- package/libs/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Cylinder/Editor.js +0 -41
- package/libs/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Prism/Editor.js +0 -44
- package/libs/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Rectangle/Editor.js +0 -9
- package/libs/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/utils/getBetterNormal.js +0 -8
- package/libs/vendor/three/build/three.module.js +0 -19336
- package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +0 -28
- package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +0 -69
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var c = Object.getOwnPropertySymbols;
|
|
3
3
|
var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var f = (
|
|
5
|
-
for (var
|
|
6
|
-
v.call(
|
|
4
|
+
var f = (r, n, e) => n in r ? g(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e, a = (r, n) => {
|
|
5
|
+
for (var e in n || (n = {}))
|
|
6
|
+
v.call(n, e) && f(r, e, n[e]);
|
|
7
7
|
if (c)
|
|
8
|
-
for (var
|
|
9
|
-
b.call(
|
|
10
|
-
return
|
|
8
|
+
for (var e of c(n))
|
|
9
|
+
b.call(n, e) && f(r, e, n[e]);
|
|
10
|
+
return r;
|
|
11
11
|
};
|
|
12
|
-
var o = (
|
|
13
|
-
var
|
|
14
|
-
var s = (
|
|
12
|
+
var o = (r, n, e) => (f(r, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
|
+
var u = (r, n, e) => new Promise((i, t) => {
|
|
14
|
+
var s = (d) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
t(
|
|
16
|
+
p(e.next(d));
|
|
17
|
+
} catch (m) {
|
|
18
|
+
t(m);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, l = (d) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
t(
|
|
22
|
+
p(e.throw(d));
|
|
23
|
+
} catch (m) {
|
|
24
|
+
t(m);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, p = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, l);
|
|
27
|
+
p((e = e.apply(r, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as h from "three";
|
|
30
30
|
import { Controller as M } from "../base/BasePlugin.js";
|
|
@@ -34,14 +34,9 @@ import "hammerjs";
|
|
|
34
34
|
import "../shared-utils/three/PointSelector/index.js";
|
|
35
35
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
36
36
|
import "@realsee/five/line";
|
|
37
|
-
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
38
37
|
import "../shared-utils/three/core/Sphere.js";
|
|
39
38
|
import "animejs";
|
|
40
39
|
import { equal as P } from "../shared-utils/equal.js";
|
|
41
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
42
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
43
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
44
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
45
40
|
import { loadTexture as w } from "../shared-utils/three/loadTexture.js";
|
|
46
41
|
import "../shared-utils/Subscribe.js";
|
|
47
42
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
@@ -83,64 +78,16 @@ import "../Sculpt/utils/removeAllTag.js";
|
|
|
83
78
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
84
79
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
85
80
|
import "../shared-utils/util.js";
|
|
81
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
86
82
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
87
83
|
import "../shared-utils/isTouchDevice.js";
|
|
88
84
|
import "../shared-utils/five/getPosition.js";
|
|
89
85
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
90
86
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
91
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
92
|
-
import "../vendor/three/build/three.module.js";
|
|
93
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
94
|
-
import "../shared-utils/three/earcut3D.js";
|
|
95
|
-
import "earcut";
|
|
96
|
-
import "../shared-utils/three/getNormal.js";
|
|
97
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
98
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
99
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
100
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
101
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
102
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
103
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
104
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
105
|
-
import "../shared-utils/three/boundingBox.js";
|
|
106
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
107
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
108
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
109
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
110
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
111
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
112
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
113
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
114
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
115
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
116
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
117
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
118
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
119
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
120
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
121
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
122
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
123
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
124
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
125
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
126
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
127
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
128
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
129
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
130
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
131
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
132
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
133
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
134
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
135
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
136
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
137
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
138
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
139
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
140
87
|
import "../shared-utils/isTruelyObject.js";
|
|
141
|
-
class
|
|
142
|
-
constructor(
|
|
143
|
-
super(
|
|
88
|
+
class Le extends M {
|
|
89
|
+
constructor(e, i) {
|
|
90
|
+
super(e);
|
|
144
91
|
// ==================== public properties ====================
|
|
145
92
|
/** 插件当前状态 */
|
|
146
93
|
o(this, "state");
|
|
@@ -175,26 +122,26 @@ class Fe extends M {
|
|
|
175
122
|
});
|
|
176
123
|
o(this, "checkMeshVisible", () => this.state.visible ? this.config.imageURL === "" ? { result: !1, msg: "图片不存在" } : this.mesh.material.map ? this.five.work ? this.five.getCurrentState().mode !== "Panorama" ? { result: !1, msg: "非全景模式" } : this.isInPanoMoveAnime ? { result: !1, msg: "处于走点动画中" } : { result: !0, msg: "" } : { result: !1, msg: "Five 数据未加载" } : { result: !1, msg: "指南针贴图未加载" } : { result: !1, msg: "插件隐藏" });
|
|
177
124
|
/** 贴图加载完成的回调 */
|
|
178
|
-
o(this, "onTextureLoaded", (
|
|
179
|
-
this.mesh.material.map =
|
|
125
|
+
o(this, "onTextureLoaded", (e) => {
|
|
126
|
+
this.mesh.material.map = e, this.mesh.material.needsUpdate = !0, this.updateMeshVisible();
|
|
180
127
|
});
|
|
181
128
|
/** Five load Work 后 */
|
|
182
129
|
o(this, "onFiveWillLoad", () => {
|
|
183
130
|
this.lastArrivedPanoIndex = -1, this.updateMeshVisible();
|
|
184
131
|
});
|
|
185
132
|
/** 走点前 */
|
|
186
|
-
o(this, "onFivePanoWillArrive", (
|
|
187
|
-
var
|
|
188
|
-
|
|
133
|
+
o(this, "onFivePanoWillArrive", (e) => {
|
|
134
|
+
var i;
|
|
135
|
+
e !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (i = this.opacityAnimeTween) == null || i.dispose(), this.updateMeshVisible());
|
|
189
136
|
});
|
|
190
137
|
/** 走点后 */
|
|
191
138
|
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
192
|
-
o(this, "onFivePanoArrived", (
|
|
193
|
-
|
|
139
|
+
o(this, "onFivePanoArrived", (e) => {
|
|
140
|
+
e !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = e, this.isInPanoMoveAnime = !1, this.updateMeshPosition(e), this.updateMeshVisible(), this.five.needsRender = !0);
|
|
194
141
|
});
|
|
195
|
-
o(this, "onMeshVisibleChange", (
|
|
196
|
-
var
|
|
197
|
-
if ((
|
|
142
|
+
o(this, "onMeshVisibleChange", (e) => {
|
|
143
|
+
var i;
|
|
144
|
+
if ((i = this.opacityAnimeTween) == null || i.dispose(), !e) {
|
|
198
145
|
this.mesh.visible = !1;
|
|
199
146
|
return;
|
|
200
147
|
}
|
|
@@ -206,18 +153,18 @@ class Fe extends M {
|
|
|
206
153
|
o(this, "onFiveModeChange", () => {
|
|
207
154
|
this.updateMeshVisible();
|
|
208
155
|
});
|
|
209
|
-
this.five =
|
|
156
|
+
this.five = e;
|
|
210
157
|
const t = {
|
|
211
158
|
enabled: !0,
|
|
212
159
|
visible: !0
|
|
213
160
|
};
|
|
214
|
-
this.state = Object.assign(t,
|
|
161
|
+
this.state = Object.assign(t, i == null ? void 0 : i.initialState);
|
|
215
162
|
const s = a({
|
|
216
163
|
width: 1.4,
|
|
217
164
|
yOffset: 0.01,
|
|
218
165
|
yRotate: 0,
|
|
219
166
|
imageURL: this.absoluteUrl("/release/web/logo.7febb17f.png")
|
|
220
|
-
},
|
|
167
|
+
}, i == null ? void 0 : i.config);
|
|
221
168
|
this._config = s, this.group.name = "current-pano-image-plugin-group", this.mesh = new h.Mesh(
|
|
222
169
|
new h.PlaneBufferGeometry(this.config.width, this.config.width),
|
|
223
170
|
new h.MeshBasicMaterial({ transparent: !0, opacity: 0, depthTest: !1 })
|
|
@@ -235,48 +182,48 @@ class Fe extends M {
|
|
|
235
182
|
* 启用插件,响应用户操作并展示UI
|
|
236
183
|
* @param options
|
|
237
184
|
*/
|
|
238
|
-
enable(
|
|
185
|
+
enable(e = {}) {
|
|
239
186
|
var t;
|
|
240
187
|
if (this.state.enabled)
|
|
241
188
|
return;
|
|
242
|
-
const
|
|
243
|
-
this.updateState({ enabled: !0 },
|
|
189
|
+
const i = (t = e.userAction) != null ? t : !0;
|
|
190
|
+
this.updateState({ enabled: !0 }, i), this.checkMsg.pluginDisabled = "", this._enable({ userAction: i });
|
|
244
191
|
}
|
|
245
192
|
/** 禁用插件
|
|
246
193
|
* @param `options` `<Option> | <undefined>`
|
|
247
194
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
248
195
|
*/
|
|
249
|
-
disable(
|
|
196
|
+
disable(e = {}) {
|
|
250
197
|
var t;
|
|
251
198
|
if (this.state.enabled === !1)
|
|
252
199
|
return;
|
|
253
|
-
const
|
|
254
|
-
this.updateState({ enabled: !1 },
|
|
200
|
+
const i = (t = e.userAction) != null ? t : !0;
|
|
201
|
+
this.updateState({ enabled: !1 }, i), this.checkMsg.pluginDisabled = "调用 disable 禁用", this._disable({ userAction: i });
|
|
255
202
|
}
|
|
256
203
|
/** 插件内容整体展示
|
|
257
204
|
* @param `options` `<Partial<BaseOptions>> | <undefined>`
|
|
258
205
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
259
206
|
*/
|
|
260
|
-
show(
|
|
261
|
-
return
|
|
207
|
+
show(e) {
|
|
208
|
+
return u(this, null, function* () {
|
|
262
209
|
if (this.state.visible)
|
|
263
210
|
return Promise.resolve();
|
|
264
211
|
if (this.disposed)
|
|
265
212
|
return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
|
|
266
|
-
const
|
|
267
|
-
this.updateState({ visible: !0 },
|
|
213
|
+
const i = a({ userAction: !0 }, e);
|
|
214
|
+
this.updateState({ visible: !0 }, i.userAction), this.checkMsg.pluginHidden = "", this._show(i);
|
|
268
215
|
});
|
|
269
216
|
}
|
|
270
217
|
/** 插件内容整体隐藏
|
|
271
218
|
* @param `options` `<Partial<BaseOptions>> | <undefined>`
|
|
272
219
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
273
220
|
*/
|
|
274
|
-
hide(
|
|
275
|
-
return
|
|
221
|
+
hide(e) {
|
|
222
|
+
return u(this, null, function* () {
|
|
276
223
|
if (this.state.visible === !1)
|
|
277
224
|
return;
|
|
278
|
-
const
|
|
279
|
-
this.updateState({ visible: !1 },
|
|
225
|
+
const i = a({ userAction: !0 }, e);
|
|
226
|
+
this.updateState({ visible: !1 }, i.userAction), this.checkMsg.pluginDisabled = "调用 hide 隐藏", this._hide(i);
|
|
280
227
|
});
|
|
281
228
|
}
|
|
282
229
|
/** 更改插件 State
|
|
@@ -284,24 +231,24 @@ class Fe extends M {
|
|
|
284
231
|
* @param `options` `<Option> | <undefined>`
|
|
285
232
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
286
233
|
*/
|
|
287
|
-
setState(
|
|
234
|
+
setState(e, i = {}) {
|
|
288
235
|
const t = this.state;
|
|
289
|
-
if (P(
|
|
236
|
+
if (P(e, t, { deep: !0 }))
|
|
290
237
|
return;
|
|
291
|
-
const s =
|
|
292
|
-
if (this.updateState(
|
|
293
|
-
const
|
|
294
|
-
|
|
238
|
+
const s = i.userAction !== void 0 ? i.userAction : !0;
|
|
239
|
+
if (this.updateState(e, s), e.enabled !== void 0 && t.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), e.visible !== void 0 && t.visible !== e.visible) {
|
|
240
|
+
const l = { userAction: s, anime: { duration: 500 } };
|
|
241
|
+
e.visible ? this.checkMsg.pluginHidden = "" : this.checkMsg.pluginHidden = "调用 setState 隐藏", e.visible ? this._show(l) : this._hide(l);
|
|
295
242
|
}
|
|
296
243
|
}
|
|
297
244
|
/** 更改插件 Config
|
|
298
245
|
* @param `config` `<Partial<Plugin.Config>>` 插件属性 `config` 的子集。
|
|
299
246
|
* @param `options` `<Option> | <undefined>`
|
|
300
247
|
*/
|
|
301
|
-
updateConfig(
|
|
302
|
-
var
|
|
303
|
-
const t = this.config, s = a(a({}, t),
|
|
304
|
-
this._config = s, t.imageURL !== s.imageURL && this.reloadTexture(s.imageURL), t.yOffset !== s.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), t.yRotate !== s.yRotate && this.updateMeshQuaternion(s.yRotate), t.width !== s.width && (this.mesh.geometry = new h.PlaneBufferGeometry(s.width, s.width)), this.hooks.emit("configChange", { prevConfig: t, config: s, userAction: (
|
|
248
|
+
updateConfig(e, i = {}) {
|
|
249
|
+
var l;
|
|
250
|
+
const t = this.config, s = a(a({}, t), e);
|
|
251
|
+
this._config = s, t.imageURL !== s.imageURL && this.reloadTexture(s.imageURL), t.yOffset !== s.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), t.yRotate !== s.yRotate && this.updateMeshQuaternion(s.yRotate), t.width !== s.width && (this.mesh.geometry = new h.PlaneBufferGeometry(s.width, s.width)), this.hooks.emit("configChange", { prevConfig: t, config: s, userAction: (l = i.userAction) != null ? l : !0 });
|
|
305
252
|
}
|
|
306
253
|
/** 问什么看不到模型 */
|
|
307
254
|
__whyCantSeeMesh() {
|
|
@@ -314,60 +261,60 @@ class Fe extends M {
|
|
|
314
261
|
if (this.checkMsg.meshHidden)
|
|
315
262
|
return this.checkMsg.meshHidden;
|
|
316
263
|
}
|
|
317
|
-
updateState(
|
|
264
|
+
updateState(e, i) {
|
|
318
265
|
const t = this.state;
|
|
319
|
-
this.state = a(a({}, this.state),
|
|
266
|
+
this.state = a(a({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: t, userAction: i });
|
|
320
267
|
}
|
|
321
268
|
/** 根据各种条件更新 Mesh 的可见性 */
|
|
322
269
|
updateMeshVisible() {
|
|
323
|
-
const { result:
|
|
324
|
-
this.checkMsg.meshHidden =
|
|
270
|
+
const { result: e, msg: i } = this.checkMeshVisible();
|
|
271
|
+
this.checkMsg.meshHidden = i, e !== this.mesh.visible && this.onMeshVisibleChange(e);
|
|
325
272
|
}
|
|
326
273
|
/** 根据点位更新 Mesh 坐标 */
|
|
327
|
-
updateMeshPosition(
|
|
328
|
-
const
|
|
329
|
-
if (!
|
|
274
|
+
updateMeshPosition(e) {
|
|
275
|
+
const i = this.workUtil.getObserverStandingPosition(e);
|
|
276
|
+
if (!i) {
|
|
330
277
|
console.warn("CurrentPanoImagePlugin: 无法获取到当前点位的 standingPosition");
|
|
331
278
|
return;
|
|
332
279
|
}
|
|
333
|
-
const t =
|
|
280
|
+
const t = i.clone().setY(i.y + this.config.yOffset);
|
|
334
281
|
t && this.mesh.position.copy(t);
|
|
335
282
|
}
|
|
336
283
|
/** 重新加载贴图,调用时会先清除已有的贴图 */
|
|
337
|
-
reloadTexture(
|
|
338
|
-
return
|
|
339
|
-
if (this.mesh.material.map = null,
|
|
340
|
-
const
|
|
341
|
-
this.textureLoadingPromise =
|
|
342
|
-
const t = yield
|
|
343
|
-
t.minFilter = h.LinearFilter, this.textureLoadingPromise ===
|
|
284
|
+
reloadTexture(e) {
|
|
285
|
+
return u(this, null, function* () {
|
|
286
|
+
if (this.mesh.material.map = null, e !== "") {
|
|
287
|
+
const i = w(e);
|
|
288
|
+
this.textureLoadingPromise = i;
|
|
289
|
+
const t = yield i;
|
|
290
|
+
t.minFilter = h.LinearFilter, this.textureLoadingPromise === i && (this.onTextureLoaded(t), this.textureLoadingPromise = null);
|
|
344
291
|
}
|
|
345
292
|
this.updateMeshVisible();
|
|
346
293
|
});
|
|
347
294
|
}
|
|
348
295
|
/** north_rad 变化时,需要更新模型的旋转角度 */
|
|
349
|
-
updateMeshQuaternion(
|
|
350
|
-
const
|
|
351
|
-
|
|
296
|
+
updateMeshQuaternion(e) {
|
|
297
|
+
const i = new h.Quaternion();
|
|
298
|
+
i.multiplyQuaternions(
|
|
352
299
|
// 沿着自身 X 轴旋转 -90 度
|
|
353
300
|
new h.Quaternion().setFromAxisAngle(new h.Vector3(1, 0, 0), -Math.PI / 2),
|
|
354
301
|
// 沿着自身 Z 轴旋转 rad 弧度
|
|
355
|
-
new h.Quaternion().setFromAxisAngle(new h.Vector3(0, 0, 1),
|
|
356
|
-
), this.mesh.quaternion.copy(
|
|
302
|
+
new h.Quaternion().setFromAxisAngle(new h.Vector3(0, 0, 1), e)
|
|
303
|
+
), this.mesh.quaternion.copy(i);
|
|
357
304
|
}
|
|
358
|
-
_enable(
|
|
359
|
-
this.hooks.emit("enable", { userAction:
|
|
305
|
+
_enable(e) {
|
|
306
|
+
this.hooks.emit("enable", { userAction: e.userAction }), this.config.imageURL && !this.mesh.material.map && !this.textureLoadingPromise && this.reloadTexture(this.config.imageURL), this.five.scene.add(this.group), this.five.needsRender = !0, this.five.work && this.onFiveWillLoad(), this.five.getCurrentState().mode === "Panorama" && (this.onFiveModeChange(), this.onFivePanoArrived(this.five.getCurrentState().panoIndex)), this.five.on("willLoad", this.onFiveWillLoad), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("panoWillArrive", this.onFivePanoWillArrive), this.five.on("modeChange", this.onFiveModeChange);
|
|
360
307
|
}
|
|
361
|
-
_disable(
|
|
362
|
-
this.hooks.emit("disable", { userAction:
|
|
308
|
+
_disable(e) {
|
|
309
|
+
this.hooks.emit("disable", { userAction: e.userAction }), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("willLoad", this.onFiveWillLoad), this.five.off("panoArrived", this.onFivePanoArrived), this.five.off("panoWillArrive", this.onFivePanoWillArrive), this.five.off("modeChange", this.onFiveModeChange);
|
|
363
310
|
}
|
|
364
|
-
_show(
|
|
365
|
-
this.hooks.emit("show",
|
|
311
|
+
_show(e) {
|
|
312
|
+
this.hooks.emit("show", e), this.updateMeshVisible(), this.five.needsRender = !0;
|
|
366
313
|
}
|
|
367
|
-
_hide(
|
|
368
|
-
this.hooks.emit("hide",
|
|
314
|
+
_hide(e) {
|
|
315
|
+
this.hooks.emit("hide", e), this.updateMeshVisible(), this.five.needsRender = !0;
|
|
369
316
|
}
|
|
370
317
|
}
|
|
371
318
|
export {
|
|
372
|
-
|
|
319
|
+
Le as CurrentPanoImagePluginController
|
|
373
320
|
};
|
|
@@ -28,91 +28,38 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
28
28
|
import "../shared-utils/three/centerPoint.js";
|
|
29
29
|
import "../shared-utils/three/getObjectVisible.js";
|
|
30
30
|
import "@realsee/five/line";
|
|
31
|
-
import "../
|
|
32
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
33
|
-
import "../vendor/three/build/three.module.js";
|
|
31
|
+
import "../shared-utils/isNil.js";
|
|
34
32
|
import "../shared-utils/three/core/Sphere.js";
|
|
35
33
|
import "animejs";
|
|
36
|
-
import "../shared-utils/isNil.js";
|
|
37
34
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
38
|
-
import "../
|
|
39
|
-
import "../shared-utils/
|
|
40
|
-
import "../shared-utils/three/earcut3D.js";
|
|
41
|
-
import "earcut";
|
|
42
|
-
import "../shared-utils/three/getNormal.js";
|
|
43
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
44
|
-
import "../Sculpt/typings/style.js";
|
|
45
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
46
|
-
import "../shared-utils/three/IObject3D.js";
|
|
47
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
48
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
49
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
50
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
51
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
52
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
53
|
-
import "../shared-utils/three/boundingBox.js";
|
|
54
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
55
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
56
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
57
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
58
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
35
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
36
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
59
37
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
60
38
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
61
39
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
62
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
63
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
64
|
-
import "../shared-utils/util.js";
|
|
65
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
66
|
-
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
67
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
68
40
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
69
41
|
import "../Sculpt/Meshes/Line.js";
|
|
42
|
+
import "../Sculpt/typings/style.js";
|
|
70
43
|
import "../shared-utils/five/FiveLine.js";
|
|
44
|
+
import "../shared-utils/three/IObject3D.js";
|
|
71
45
|
import "../Sculpt/utils/removeAllTag.js";
|
|
72
46
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
73
47
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
74
|
-
import "../
|
|
75
|
-
import "../
|
|
48
|
+
import "../shared-utils/util.js";
|
|
49
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
76
50
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
77
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
78
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
79
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
80
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
84
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
85
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
86
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
88
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
89
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
91
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
92
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
93
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
94
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
95
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
96
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
97
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
98
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
99
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
100
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
101
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
102
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
103
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
104
51
|
import "../shared-utils/isTouchDevice.js";
|
|
105
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
106
52
|
import "../shared-utils/five/getPosition.js";
|
|
107
53
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
108
54
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
55
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
109
56
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
110
57
|
import "../shared-utils/animationFrame/index.js";
|
|
111
58
|
import "../shared-utils/equal.js";
|
|
112
59
|
import "../shared-utils/isTruelyObject.js";
|
|
113
60
|
import "../shared-utils/three/loadTexture.js";
|
|
114
|
-
const
|
|
61
|
+
const lr = (r, o) => new t(r, o);
|
|
115
62
|
export {
|
|
116
|
-
|
|
117
|
-
|
|
63
|
+
lr as CurrentPanoImagePlugin,
|
|
64
|
+
lr as default
|
|
118
65
|
};
|
|
@@ -33,17 +33,12 @@ import "hammerjs";
|
|
|
33
33
|
import "../shared-utils/three/PointSelector/index.js";
|
|
34
34
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
35
35
|
import "@realsee/five/line";
|
|
36
|
-
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
37
36
|
import "../shared-utils/three/core/Sphere.js";
|
|
38
37
|
import "animejs";
|
|
39
38
|
import { waitFiveModelLoaded as $ } from "../shared-utils/five/fiveModelLoad.js";
|
|
40
39
|
import { uuid as P } from "../shared-utils/uuid.js";
|
|
41
40
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
41
|
import { equal as W } from "../shared-utils/equal.js";
|
|
43
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
44
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
45
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
46
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
47
42
|
import { GuideLineItem as H } from "./GuideLineItem/index.js";
|
|
48
43
|
import U from "../CruisePlugin/Work.js";
|
|
49
44
|
import { objectAssignDeepExports as V } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -86,59 +81,12 @@ import "../Sculpt/utils/removeAllTag.js";
|
|
|
86
81
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
87
82
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
88
83
|
import "../shared-utils/util.js";
|
|
84
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
89
85
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
90
86
|
import "../shared-utils/isTouchDevice.js";
|
|
91
87
|
import "../shared-utils/five/getPosition.js";
|
|
92
88
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
93
89
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
94
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
95
|
-
import "../vendor/three/build/three.module.js";
|
|
96
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
97
|
-
import "../shared-utils/three/earcut3D.js";
|
|
98
|
-
import "earcut";
|
|
99
|
-
import "../shared-utils/three/getNormal.js";
|
|
100
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
101
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
102
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
103
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
104
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
105
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
106
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
107
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
108
|
-
import "../shared-utils/three/boundingBox.js";
|
|
109
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
110
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
111
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
112
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
113
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
114
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
115
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
116
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
117
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
118
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
119
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
120
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
121
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
122
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
123
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
124
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
125
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
126
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
127
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
128
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
129
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
130
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
131
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
132
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
133
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
134
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
135
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
136
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
137
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
138
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
139
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
140
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
141
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
142
90
|
import "../shared-utils/isTruelyObject.js";
|
|
143
91
|
import "./GuideLineModeItem/index.js";
|
|
144
92
|
import "../shared-utils/log.js";
|
|
@@ -243,6 +191,7 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
243
191
|
import "../shared-utils/device.js";
|
|
244
192
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
245
193
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
194
|
+
import "../shared-utils/three/getNormal.js";
|
|
246
195
|
import "../PanoTagPlugin/controller/Tag/BaseTag.js";
|
|
247
196
|
import "../PanoTagPlugin/utils/tag/calculateTagConfig.js";
|
|
248
197
|
import "../shared-utils/typescript/entries.js";
|
|
@@ -264,6 +213,13 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
|
264
213
|
import "../vendor/svelte/store/index.js";
|
|
265
214
|
import "../CSS3DRenderPlugin/index.js";
|
|
266
215
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
216
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
217
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
218
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
219
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
220
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
221
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
222
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
267
223
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
268
224
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
269
225
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
@@ -286,8 +242,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
286
242
|
import "../CruisePlugin/utils/safeCall.js";
|
|
287
243
|
import "../CruisePlugin/utils/sleep.js";
|
|
288
244
|
import "../shared-utils/five/fiveLoaded.js";
|
|
289
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
290
|
-
class
|
|
245
|
+
const b = "GuideLinePlugin", g = `${b}`, Bo = (s) => `${g}--${s}`;
|
|
246
|
+
class Co extends N {
|
|
291
247
|
constructor(t, i) {
|
|
292
248
|
super(t, i);
|
|
293
249
|
h(this, "name", b);
|
|
@@ -429,6 +385,6 @@ class ke extends N {
|
|
|
429
385
|
}
|
|
430
386
|
}
|
|
431
387
|
export {
|
|
432
|
-
|
|
433
|
-
|
|
388
|
+
Co as default,
|
|
389
|
+
Bo as pluginFlag
|
|
434
390
|
};
|