@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
|
@@ -12,19 +12,19 @@ var I = (h, l, t) => l in h ? b(h, l, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, x = (h, l) => F(h, E(l));
|
|
13
13
|
var k = (h, l, t) => (I(h, typeof l != "symbol" ? l + "" : l, t), t);
|
|
14
14
|
var y = (h, l, t) => new Promise((e, r) => {
|
|
15
|
-
var i = (
|
|
15
|
+
var i = (n) => {
|
|
16
16
|
try {
|
|
17
|
-
p(t.next(
|
|
17
|
+
p(t.next(n));
|
|
18
18
|
} catch (a) {
|
|
19
19
|
r(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, m = (n) => {
|
|
22
22
|
try {
|
|
23
|
-
p(t.throw(
|
|
23
|
+
p(t.throw(n));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
r(a);
|
|
26
26
|
}
|
|
27
|
-
}, p = (
|
|
27
|
+
}, p = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(i, m);
|
|
28
28
|
p((t = t.apply(h, l)).next());
|
|
29
29
|
});
|
|
30
30
|
import { GuideLinePlugin as K } from "../GuideLinePlugin/index.js";
|
|
@@ -41,15 +41,10 @@ import "hammerjs";
|
|
|
41
41
|
import "../shared-utils/three/PointSelector/index.js";
|
|
42
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
43
|
import "@realsee/five/line";
|
|
44
|
-
import "../
|
|
44
|
+
import { notNil as Q } from "../shared-utils/isNil.js";
|
|
45
45
|
import "../shared-utils/three/core/Sphere.js";
|
|
46
46
|
import "animejs";
|
|
47
|
-
import { notNil as Q } from "../shared-utils/isNil.js";
|
|
48
47
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
49
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
50
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
51
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
52
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
53
48
|
import "../GuideLinePlugin/Controller.js";
|
|
54
49
|
import "../base/BasePluginWithData.js";
|
|
55
50
|
import "../base/BasePlugin.js";
|
|
@@ -219,55 +214,16 @@ import "../shared-utils/three/IObject3D.js";
|
|
|
219
214
|
import "../Sculpt/utils/removeAllTag.js";
|
|
220
215
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
221
216
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
217
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
222
218
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
223
219
|
import "../shared-utils/isTouchDevice.js";
|
|
224
220
|
import "../shared-utils/five/getPosition.js";
|
|
225
221
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
226
222
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
227
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
228
|
-
import "../vendor/three/build/three.module.js";
|
|
229
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
230
|
-
import "../shared-utils/three/earcut3D.js";
|
|
231
|
-
import "earcut";
|
|
232
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
233
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
234
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
235
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
236
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
237
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
238
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
239
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
240
|
-
import "../shared-utils/three/boundingBox.js";
|
|
241
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
242
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
243
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
244
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
245
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
246
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
247
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
248
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
249
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
250
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
251
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
252
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
253
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
254
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
255
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
256
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
257
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
258
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
259
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
260
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
261
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
262
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
263
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
264
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
265
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
266
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
267
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
268
223
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
269
224
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
270
225
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
226
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
271
227
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
272
228
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
273
229
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
@@ -287,7 +243,7 @@ import "./utils/getFiveStateOnCurve.js";
|
|
|
287
243
|
import "../shared-utils/formatRad.js";
|
|
288
244
|
import "./Work.js";
|
|
289
245
|
import "./utils/coordinatesToVector.js";
|
|
290
|
-
class
|
|
246
|
+
class _r extends G {
|
|
291
247
|
constructor(t, e) {
|
|
292
248
|
super(t, e);
|
|
293
249
|
k(this, "state", {
|
|
@@ -321,9 +277,9 @@ class Ko extends G {
|
|
|
321
277
|
return y(this, null, function* () {
|
|
322
278
|
var o, s;
|
|
323
279
|
this.clear();
|
|
324
|
-
const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0,
|
|
325
|
-
this.data = g({ id:
|
|
326
|
-
let p = [],
|
|
280
|
+
const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, m = yield this.formatData(t);
|
|
281
|
+
this.data = g({ id: m.keyframesId }, m), this.hooks.emit("dataChange", m, i);
|
|
282
|
+
let p = [], n;
|
|
327
283
|
const a = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
|
|
328
284
|
a.filter((f, d) => {
|
|
329
285
|
var u;
|
|
@@ -332,15 +288,15 @@ class Ko extends G {
|
|
|
332
288
|
var u, v;
|
|
333
289
|
const d = (u = this.workUtil.getObserver(f)) == null ? void 0 : u.floorIndex;
|
|
334
290
|
if (d !== void 0)
|
|
335
|
-
if (
|
|
291
|
+
if (n === d) {
|
|
336
292
|
const c = p.length - 1;
|
|
337
293
|
p[c] = [...(v = p[c]) != null ? v : [], f];
|
|
338
294
|
} else {
|
|
339
|
-
|
|
295
|
+
n = d;
|
|
340
296
|
const c = p.length;
|
|
341
297
|
p[c] = [f];
|
|
342
298
|
}
|
|
343
|
-
}), !this.GuideLine && ((o = this.config) == null ? void 0 : o.useGuideLine) !== !1 &&
|
|
299
|
+
}), !this.GuideLine && ((o = this.config) == null ? void 0 : o.useGuideLine) !== !1 && m.useGuildLine !== !1 && (this.GuideLine = K(this.five, this.config)), (s = this.GuideLine) == null || s.load({ routes: p.map((f) => ({ panoIndexList: f })), config: m.guildPluginOptions }), e ? this.setState(e, { userAction: r }) : (this.setState({ playing: !1 }, { userAction: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing, { userAction: !1 }), this.changeSpeed(this.state.speed)), this.clearPauseData(), console.debug("WORKPLUGIN loaded", m), this.hooks.emit("dataLoaded", m);
|
|
344
300
|
});
|
|
345
301
|
}
|
|
346
302
|
/**
|
|
@@ -372,22 +328,22 @@ class Ko extends G {
|
|
|
372
328
|
return {
|
|
373
329
|
keyframesId: S(),
|
|
374
330
|
keyframes: e.keyframes.map((r, i) => {
|
|
375
|
-
var
|
|
376
|
-
const
|
|
377
|
-
return x(g({ id: (
|
|
331
|
+
var n;
|
|
332
|
+
const m = e.keyframes[i + 1], p = (() => !m || m.start === void 0 || r.end === void 0 ? 0 : m.start - r.end)();
|
|
333
|
+
return x(g({ id: (n = r.uuid) != null ? n : S(), moveIndex: i, stay: p, index: i }, r), { guildPluginOptions: e.guildPluginOptions });
|
|
378
334
|
})
|
|
379
335
|
};
|
|
380
336
|
if (e.panoIndexList) {
|
|
381
337
|
let r = [];
|
|
382
|
-
const { moveEffect: i, moveToFirstPanoEffect:
|
|
383
|
-
return this.privateState.moveToFirstPanoEffect =
|
|
338
|
+
const { moveEffect: i, moveToFirstPanoEffect: m, moveToFirstPanoDuration: p } = e;
|
|
339
|
+
return this.privateState.moveToFirstPanoEffect = m, this.privateState.moveToFirstPanoDuration = p, e.panoIndexList.forEach((n, a) => {
|
|
384
340
|
const o = (() => {
|
|
385
341
|
var v, c;
|
|
386
|
-
const s = e.panoIndexList.slice(a).find((P) => P !==
|
|
342
|
+
const s = e.panoIndexList.slice(a).find((P) => P !== n);
|
|
387
343
|
if (s === void 0)
|
|
388
344
|
return;
|
|
389
|
-
const f = this.workUtil.getObserverPosition(
|
|
390
|
-
if (!d || !f || ((v = this.workUtil.getObserver(
|
|
345
|
+
const f = this.workUtil.getObserverPosition(n), d = this.workUtil.getObserverPosition(s);
|
|
346
|
+
if (!d || !f || ((v = this.workUtil.getObserver(n)) == null ? void 0 : v.floorIndex) !== ((c = this.workUtil.getObserver(s)) == null ? void 0 : c.floorIndex))
|
|
391
347
|
return;
|
|
392
348
|
const u = new U.Vector3().subVectors(d, f);
|
|
393
349
|
return A(u.normalize());
|
|
@@ -395,11 +351,11 @@ class Ko extends G {
|
|
|
395
351
|
e.moveType === void 0 || e.moveType === "justMove" ? r.push({
|
|
396
352
|
moveIndex: a,
|
|
397
353
|
stay: e.stay,
|
|
398
|
-
data: g({ effect: "Move", panoIndex:
|
|
399
|
-
}) : e.moveType === "moveAndRotate" && (r.push({ moveIndex: a, stay: e.stay, data: { effect: "Move", panoIndex:
|
|
354
|
+
data: g({ effect: "Move", panoIndex: n, moveEffect: i }, o != null ? o : {})
|
|
355
|
+
}) : e.moveType === "moveAndRotate" && (r.push({ moveIndex: a, stay: e.stay, data: { effect: "Move", panoIndex: n, moveEffect: i } }), o && r.push({ moveIndex: a, stay: e.stay, data: g({ effect: "Rotate", panoIndex: n }, o) }));
|
|
400
356
|
}), {
|
|
401
357
|
keyframesId: S(),
|
|
402
|
-
keyframes: r.map((
|
|
358
|
+
keyframes: r.map((n, a) => g({ id: S(), index: a }, n)),
|
|
403
359
|
guildPluginOptions: e.guildPluginOptions,
|
|
404
360
|
useGuildLine: e.useGuildLine
|
|
405
361
|
};
|
|
@@ -416,13 +372,13 @@ class Ko extends G {
|
|
|
416
372
|
handlePlay(t) {
|
|
417
373
|
return y(this, null, function* () {
|
|
418
374
|
var d;
|
|
419
|
-
const { data: e, state: r, privateState: i, hooks:
|
|
375
|
+
const { data: e, state: r, privateState: i, hooks: m } = this;
|
|
420
376
|
if (i.playing || !(e != null && e.keyframes) || (e == null ? void 0 : e.keyframes.length) === 0)
|
|
421
377
|
return;
|
|
422
378
|
const p = S();
|
|
423
379
|
i.playId = p, i.playing = !0, i.broke = !1;
|
|
424
|
-
const
|
|
425
|
-
(t == null ? void 0 : t.notEmitEvent) !== !0 &&
|
|
380
|
+
const n = e.keyframes, a = this.getPauseData();
|
|
381
|
+
(t == null ? void 0 : t.notEmitEvent) !== !0 && m.emit("play", { userAction: (d = t == null ? void 0 : t.userAction) != null ? d : !0 });
|
|
426
382
|
let o = !1;
|
|
427
383
|
const f = yield (() => y(this, null, function* () {
|
|
428
384
|
var u, v;
|
|
@@ -446,12 +402,12 @@ class Ko extends G {
|
|
|
446
402
|
}
|
|
447
403
|
}))();
|
|
448
404
|
this.clearPauseData();
|
|
449
|
-
for (const u of
|
|
405
|
+
for (const u of n) {
|
|
450
406
|
if (i.broke || !r.playing || !i.playing || p !== i.playId)
|
|
451
407
|
return;
|
|
452
408
|
if (!(f !== void 0 && u.index < f))
|
|
453
409
|
try {
|
|
454
|
-
|
|
410
|
+
m.emit("playIndexChange", u.index, u), yield this.playKeyframe(u, {
|
|
455
411
|
moveEffect: o === !1 ? i.moveToFirstPanoEffect : void 0,
|
|
456
412
|
duration: o === !1 && typeof i.moveToFirstPanoDuration == "number" ? i.moveToFirstPanoDuration : void 0
|
|
457
413
|
}), u.stay && (yield O(u.stay)), o === !1 && (o = !0);
|
|
@@ -459,27 +415,27 @@ class Ko extends G {
|
|
|
459
415
|
return console.error(v), Promise.resolve("broke");
|
|
460
416
|
}
|
|
461
417
|
}
|
|
462
|
-
r.playing && p === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }),
|
|
418
|
+
r.playing && p === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }), m.emit("end"), this.clearPauseData());
|
|
463
419
|
});
|
|
464
420
|
}
|
|
465
421
|
/**
|
|
466
422
|
* @description: Pause and record pause state
|
|
467
423
|
*/
|
|
468
424
|
handlePause(t) {
|
|
469
|
-
var
|
|
425
|
+
var m;
|
|
470
426
|
const { state: e, privateState: r, hooks: i } = this;
|
|
471
|
-
e.playing = !1, r.playing !== !1 && (r.playing = !1, (t == null ? void 0 : t.userAction) !== !1 && this.setPauseData(), r.broke || this.forceInteruptUpdateCamera(), (t == null ? void 0 : t.notEmitEvent) !== !0 && i.emit("pause", { userAction: (
|
|
427
|
+
e.playing = !1, r.playing !== !1 && (r.playing = !1, (t == null ? void 0 : t.userAction) !== !1 && this.setPauseData(), r.broke || this.forceInteruptUpdateCamera(), (t == null ? void 0 : t.notEmitEvent) !== !0 && i.emit("pause", { userAction: (m = t == null ? void 0 : t.userAction) != null ? m : !0 }));
|
|
472
428
|
}
|
|
473
429
|
/**
|
|
474
430
|
* @description: Change play speed
|
|
475
431
|
*/
|
|
476
432
|
changeSpeed(t, e = !0) {
|
|
477
|
-
var
|
|
478
|
-
const { state: r, privateState: i, hooks:
|
|
479
|
-
if (
|
|
433
|
+
var n;
|
|
434
|
+
const { state: r, privateState: i, hooks: m } = this, { currentPlayKeyframe: p } = i;
|
|
435
|
+
if (m.emit("speedChange", t, { userAction: e }), r.playing && p)
|
|
480
436
|
try {
|
|
481
437
|
const a = p.originDuration !== void 0 ? p.originDuration * (1 - this.getProgress()) : void 0, o = p.keyframe, { privateState: s } = this;
|
|
482
|
-
((
|
|
438
|
+
((n = this.privateState.currentPlayKeyframe) == null ? void 0 : n.keyframe.id) !== o.id && (this.privateState.currentPlayKeyframe = { keyframe: o }), s.currentPlayQueue.push(this.getPlayPromise(o, { duration: a }));
|
|
483
439
|
} catch (a) {
|
|
484
440
|
console.error(a);
|
|
485
441
|
}
|
|
@@ -524,14 +480,14 @@ class Ko extends G {
|
|
|
524
480
|
*/
|
|
525
481
|
getPlayPromise(r) {
|
|
526
482
|
return y(this, arguments, function* (t, e = {}) {
|
|
527
|
-
var
|
|
483
|
+
var m;
|
|
528
484
|
const i = t.data;
|
|
529
|
-
if (e.duration = (
|
|
530
|
-
return new Promise((p,
|
|
485
|
+
if (e.duration = (m = e.duration) != null ? m : t.start !== void 0 && t.end !== void 0 ? t.end - t.start : void 0, !!i)
|
|
486
|
+
return new Promise((p, n) => {
|
|
531
487
|
let a = !1;
|
|
532
488
|
this.addInterruptListener(() => {
|
|
533
489
|
if (!a)
|
|
534
|
-
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }), a = !0,
|
|
490
|
+
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }), a = !0, n(new Error("play is interupted"));
|
|
535
491
|
});
|
|
536
492
|
try {
|
|
537
493
|
if (a)
|
|
@@ -604,7 +560,7 @@ class Ko extends G {
|
|
|
604
560
|
*/
|
|
605
561
|
updateCamera(r) {
|
|
606
562
|
return y(this, arguments, function* (t, e = {}) {
|
|
607
|
-
const { five: i, privateState:
|
|
563
|
+
const { five: i, privateState: m, state: p } = this, n = (() => {
|
|
608
564
|
var d, u;
|
|
609
565
|
const s = (d = p.config) == null ? void 0 : d.speedConfig, f = (u = t.rotateSpeed) != null ? u : s == null ? void 0 : s.rotateSpeed;
|
|
610
566
|
if ((s == null ? void 0 : s.rotateSpeedUnit) === void 0)
|
|
@@ -614,13 +570,13 @@ class Ko extends G {
|
|
|
614
570
|
})(), a = (() => {
|
|
615
571
|
if (e.duration)
|
|
616
572
|
return e.duration;
|
|
617
|
-
if (
|
|
573
|
+
if (n) {
|
|
618
574
|
const s = this.five.getCurrentState();
|
|
619
|
-
return L(s, t) /
|
|
575
|
+
return L(s, t) / n;
|
|
620
576
|
}
|
|
621
577
|
return 800;
|
|
622
578
|
})();
|
|
623
|
-
|
|
579
|
+
m.currentPlayKeyframe && (m.currentPlayKeyframe.originDuration = a);
|
|
624
580
|
const o = this.getSpeededDuration(a);
|
|
625
581
|
return new Promise((s) => {
|
|
626
582
|
T(() => i.updateCamera(t, o)), setTimeout(() => s(), o);
|
|
@@ -632,14 +588,14 @@ class Ko extends G {
|
|
|
632
588
|
*/
|
|
633
589
|
changePano(t, e) {
|
|
634
590
|
return y(this, null, function* () {
|
|
635
|
-
const { five: r, privateState: i, state:
|
|
591
|
+
const { five: r, privateState: i, state: m } = this;
|
|
636
592
|
if (typeof t.panoIndex != "number" || t.panoIndex === r.panoIndex)
|
|
637
593
|
return;
|
|
638
594
|
const p = r.getCurrentState().mode !== "Panorama";
|
|
639
595
|
p && (this.privateState.modeChanging = !0);
|
|
640
|
-
const
|
|
596
|
+
const n = (() => {
|
|
641
597
|
var f, d;
|
|
642
|
-
const o = (f =
|
|
598
|
+
const o = (f = m.config) == null ? void 0 : f.speedConfig, s = (d = t.moveSpeed) != null ? d : o == null ? void 0 : o.moveSpeed;
|
|
643
599
|
if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
|
|
644
600
|
return s;
|
|
645
601
|
if (s !== void 0)
|
|
@@ -647,9 +603,9 @@ class Ko extends G {
|
|
|
647
603
|
})(), a = (() => {
|
|
648
604
|
if (e != null && e.duration)
|
|
649
605
|
return e.duration;
|
|
650
|
-
if (
|
|
606
|
+
if (n && typeof r.panoIndex == "number" && typeof t.panoIndex == "number") {
|
|
651
607
|
const o = this.workUtil.getObserverPosition(r.panoIndex), s = this.workUtil.getObserverPosition(t.panoIndex);
|
|
652
|
-
return o && s ? o.distanceTo(s) /
|
|
608
|
+
return o && s ? o.distanceTo(s) / n : 800;
|
|
653
609
|
}
|
|
654
610
|
return 800;
|
|
655
611
|
})();
|
|
@@ -678,5 +634,5 @@ class Ko extends G {
|
|
|
678
634
|
}
|
|
679
635
|
}
|
|
680
636
|
export {
|
|
681
|
-
|
|
637
|
+
_r as default
|
|
682
638
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as si } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -33,84 +33,32 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
33
33
|
import "../shared-utils/three/centerPoint.js";
|
|
34
34
|
import "../shared-utils/three/getObjectVisible.js";
|
|
35
35
|
import "@realsee/five/line";
|
|
36
|
-
import "../
|
|
37
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
38
|
-
import "../vendor/three/build/three.module.js";
|
|
36
|
+
import "../shared-utils/isNil.js";
|
|
39
37
|
import "../shared-utils/three/core/Sphere.js";
|
|
40
38
|
import "animejs";
|
|
41
|
-
import "../shared-utils/isNil.js";
|
|
42
39
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
43
|
-
import "../
|
|
44
|
-
import "../shared-utils/
|
|
45
|
-
import "../shared-utils/three/earcut3D.js";
|
|
46
|
-
import "earcut";
|
|
47
|
-
import "../shared-utils/three/getNormal.js";
|
|
48
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
49
|
-
import "../Sculpt/typings/style.js";
|
|
50
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
51
|
-
import "../shared-utils/three/IObject3D.js";
|
|
52
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
53
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
54
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
55
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
56
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
57
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
58
|
-
import "../shared-utils/three/boundingBox.js";
|
|
59
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
60
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
61
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
62
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
63
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
40
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
41
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
64
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
65
43
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
66
44
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
67
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
68
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
69
|
-
import "../shared-utils/util.js";
|
|
70
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
71
|
-
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
72
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
73
45
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
74
46
|
import "../Sculpt/Meshes/Line.js";
|
|
47
|
+
import "../Sculpt/typings/style.js";
|
|
75
48
|
import "../shared-utils/five/FiveLine.js";
|
|
49
|
+
import "../shared-utils/three/IObject3D.js";
|
|
76
50
|
import "../Sculpt/utils/removeAllTag.js";
|
|
77
51
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
78
52
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
79
|
-
import "../
|
|
80
|
-
import "../
|
|
53
|
+
import "../shared-utils/util.js";
|
|
54
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
81
55
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
82
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
84
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
85
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
86
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
88
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
89
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
91
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
92
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
93
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
94
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
95
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
96
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
97
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
98
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
99
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
100
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
101
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
102
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
103
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
104
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
105
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
106
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
107
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
108
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
109
56
|
import "../shared-utils/isTouchDevice.js";
|
|
110
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
111
57
|
import "../shared-utils/five/getPosition.js";
|
|
112
58
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
113
59
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
60
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
61
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
114
62
|
import "../shared-utils/uuid.js";
|
|
115
63
|
import "../shared-utils/equal.js";
|
|
116
64
|
import "../shared-utils/isTruelyObject.js";
|
|
@@ -219,6 +167,7 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
219
167
|
import "../shared-utils/device.js";
|
|
220
168
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
221
169
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
170
|
+
import "../shared-utils/three/getNormal.js";
|
|
222
171
|
import "../PanoTagPlugin/controller/Tag/BaseTag.js";
|
|
223
172
|
import "../PanoTagPlugin/utils/tag/calculateTagConfig.js";
|
|
224
173
|
import "../shared-utils/typescript/entries.js";
|
|
@@ -240,6 +189,13 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
|
240
189
|
import "../vendor/svelte/store/index.js";
|
|
241
190
|
import "../CSS3DRenderPlugin/index.js";
|
|
242
191
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
192
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
193
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
194
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
195
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
196
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
197
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
198
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
243
199
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
244
200
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
245
201
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
@@ -259,13 +215,13 @@ import "./utils/sleep.js";
|
|
|
259
215
|
import "../shared-utils/five/fiveLoaded.js";
|
|
260
216
|
import "./BaseController.js";
|
|
261
217
|
import "./utils/getFiveStateOnCurve.js";
|
|
262
|
-
const
|
|
218
|
+
const mi = (o, r) => new t(o, r), ei = (o, r) => new i(o, r);
|
|
263
219
|
export {
|
|
264
|
-
|
|
220
|
+
mi as CruisePlugin,
|
|
265
221
|
t as CruisePluginController,
|
|
266
|
-
|
|
222
|
+
si as CruisePluginTypes,
|
|
267
223
|
i as MoveController,
|
|
268
|
-
|
|
224
|
+
ei as MovePlugin,
|
|
269
225
|
t as WalkController,
|
|
270
|
-
|
|
226
|
+
mi as default
|
|
271
227
|
};
|