@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
|
@@ -2,30 +2,30 @@ var C = Object.defineProperty, S = Object.defineProperties;
|
|
|
2
2
|
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var w = Object.getOwnPropertySymbols;
|
|
4
4
|
var P = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var v = (d,
|
|
6
|
-
for (var t in
|
|
7
|
-
P.call(
|
|
5
|
+
var v = (d, s, t) => s in d ? C(d, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[s] = t, l = (d, s) => {
|
|
6
|
+
for (var t in s || (s = {}))
|
|
7
|
+
P.call(s, t) && v(d, t, s[t]);
|
|
8
8
|
if (w)
|
|
9
|
-
for (var t of w(
|
|
10
|
-
x.call(
|
|
9
|
+
for (var t of w(s))
|
|
10
|
+
x.call(s, t) && v(d, t, s[t]);
|
|
11
11
|
return d;
|
|
12
|
-
}, g = (d,
|
|
13
|
-
var o = (d,
|
|
14
|
-
var
|
|
15
|
-
var
|
|
12
|
+
}, g = (d, s) => S(d, E(s));
|
|
13
|
+
var o = (d, s, t) => (v(d, typeof s != "symbol" ? s + "" : s, t), t);
|
|
14
|
+
var m = (d, s, t) => new Promise((e, i) => {
|
|
15
|
+
var r = (a) => {
|
|
16
16
|
try {
|
|
17
17
|
n(t.next(a));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (f) {
|
|
19
|
+
i(f);
|
|
20
20
|
}
|
|
21
21
|
}, h = (a) => {
|
|
22
22
|
try {
|
|
23
23
|
n(t.throw(a));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (f) {
|
|
25
|
+
i(f);
|
|
26
26
|
}
|
|
27
|
-
}, n = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(
|
|
28
|
-
n((t = t.apply(d,
|
|
27
|
+
}, n = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(r, h);
|
|
28
|
+
n((t = t.apply(d, s)).next());
|
|
29
29
|
});
|
|
30
30
|
import { to as I } from "../../shared-utils/to.js";
|
|
31
31
|
import { equal as M } from "../../shared-utils/equal.js";
|
|
@@ -45,15 +45,10 @@ import "hammerjs";
|
|
|
45
45
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
46
46
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
47
47
|
import "@realsee/five/line";
|
|
48
|
-
import "../../
|
|
48
|
+
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
49
49
|
import "../../shared-utils/three/core/Sphere.js";
|
|
50
50
|
import "animejs";
|
|
51
|
-
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
52
51
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
53
|
-
import "../../Sculpt/Meshes/Polygon.js";
|
|
54
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
55
|
-
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
56
|
-
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
57
52
|
import "../../shared-utils/isTruelyObject.js";
|
|
58
53
|
import "../../vendor/svelte/internal/index.js";
|
|
59
54
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -123,70 +118,23 @@ import "../../Sculpt/utils/removeAllTag.js";
|
|
|
123
118
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
124
119
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
125
120
|
import "../../shared-utils/util.js";
|
|
121
|
+
import "../../shared-utils/three/core/LineGeometry.js";
|
|
126
122
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
127
123
|
import "../../shared-utils/isTouchDevice.js";
|
|
128
124
|
import "../../shared-utils/five/getPosition.js";
|
|
129
125
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
130
126
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
131
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
132
|
-
import "../../vendor/three/build/three.module.js";
|
|
133
|
-
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
134
|
-
import "../../shared-utils/three/earcut3D.js";
|
|
135
|
-
import "earcut";
|
|
136
|
-
import "../../shared-utils/three/getNormal.js";
|
|
137
|
-
import "../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
138
|
-
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
139
|
-
import "../../shared-utils/three/geometryUtil.js";
|
|
140
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
141
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
142
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
143
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
144
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
145
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
146
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
147
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
148
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
149
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
150
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
151
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
152
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
153
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
154
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
155
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
156
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
157
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
158
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
159
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
160
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
161
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
162
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
163
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
164
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
165
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
166
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
167
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
168
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
169
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
170
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
171
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
172
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
173
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
174
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
175
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
176
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
177
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
178
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
179
127
|
function W(d) {
|
|
180
|
-
const { latitude:
|
|
128
|
+
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
181
129
|
return e || i;
|
|
182
130
|
}
|
|
183
131
|
function z(d) {
|
|
184
|
-
const { latitude:
|
|
132
|
+
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
185
133
|
return e && i;
|
|
186
134
|
}
|
|
187
|
-
class
|
|
135
|
+
class Le extends T {
|
|
188
136
|
constructor(t, e) {
|
|
189
|
-
var a,
|
|
137
|
+
var a, f, c;
|
|
190
138
|
super(t);
|
|
191
139
|
// =============== public properties =================
|
|
192
140
|
o(this, "name", "modelFloorplanPlugin");
|
|
@@ -235,22 +183,22 @@ class yi extends T {
|
|
|
235
183
|
* @param opts.isAutoShow 是否是自动展示
|
|
236
184
|
* @param opts.userAction 是否是用户行为
|
|
237
185
|
*/
|
|
238
|
-
o(this, "show", (...e) =>
|
|
186
|
+
o(this, "show", (...e) => m(this, [...e], function* (t = {}) {
|
|
239
187
|
if (!this.state.enabled || !this.showPromise && this.state.visible)
|
|
240
188
|
return;
|
|
241
189
|
const i = t.userAction !== void 0 ? t.userAction : !0;
|
|
242
190
|
this.updateState({ visible: !0 }, i), this._show(t);
|
|
243
191
|
}));
|
|
244
192
|
/** 隐藏户型图 */
|
|
245
|
-
o(this, "hide", (...e) =>
|
|
193
|
+
o(this, "hide", (...e) => m(this, [...e], function* (t = {}) {
|
|
246
194
|
this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
|
|
247
195
|
}));
|
|
248
196
|
/** 更新户型图大小 */
|
|
249
197
|
o(this, "updateSize", () => {
|
|
250
198
|
if (!this.data || !this.container || !this.wrapper)
|
|
251
199
|
return !1;
|
|
252
|
-
const { min: t, max: e } = this.data.bounding, i = e.x - t.x,
|
|
253
|
-
return this.size.width === a && this.size.height ===
|
|
200
|
+
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, r = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, n = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * n), f = Math.ceil(r * n);
|
|
201
|
+
return this.size.width === a && this.size.height === f || (this.container.style.width = a + "px", this.container.style.height = f + "px", this.size = { width: a, height: f }), !0;
|
|
254
202
|
});
|
|
255
203
|
o(this, "highlight", (t) => {
|
|
256
204
|
this.state.config.highlightEnable && (this.highlightData = t, this.render());
|
|
@@ -259,15 +207,15 @@ class yi extends T {
|
|
|
259
207
|
this.highlightData = {}, this.render();
|
|
260
208
|
});
|
|
261
209
|
o(this, "_disable", (t) => {
|
|
262
|
-
var i,
|
|
210
|
+
var i, r, h;
|
|
263
211
|
const { userAction: e } = t;
|
|
264
|
-
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, u.BreakOffByDisable), this.showPromise = void 0, (
|
|
212
|
+
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, u.BreakOffByDisable), this.showPromise = void 0, (r = this.app) == null || r.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
|
|
265
213
|
});
|
|
266
214
|
o(this, "_enable", (t) => {
|
|
267
215
|
const { userAction: e } = t;
|
|
268
216
|
this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
|
|
269
217
|
});
|
|
270
|
-
o(this, "_show", (t) =>
|
|
218
|
+
o(this, "_show", (t) => m(this, null, function* () {
|
|
271
219
|
var h;
|
|
272
220
|
if (!this.state.enabled)
|
|
273
221
|
return;
|
|
@@ -283,22 +231,22 @@ class yi extends T {
|
|
|
283
231
|
immediately: !1,
|
|
284
232
|
isAutoShow: !1,
|
|
285
233
|
userAction: !0
|
|
286
|
-
}, i = l(l({}, e), t),
|
|
234
|
+
}, i = l(l({}, e), t), r = () => m(this, null, function* () {
|
|
287
235
|
this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
|
|
288
236
|
let n = !1, a;
|
|
289
|
-
this.showRejection = (
|
|
290
|
-
n = !0, a =
|
|
237
|
+
this.showRejection = (p) => {
|
|
238
|
+
n = !0, a = p;
|
|
291
239
|
};
|
|
292
|
-
const [
|
|
293
|
-
if (
|
|
294
|
-
throw
|
|
240
|
+
const [f] = yield I(k(this.five, this.showState, i.userAction));
|
|
241
|
+
if (f)
|
|
242
|
+
throw f;
|
|
295
243
|
if (n)
|
|
296
244
|
throw a ? new Error(a) : new Error(u.UnknownError);
|
|
297
245
|
if (!this.updateSize())
|
|
298
246
|
throw new Error(u.UpdateSizeError);
|
|
299
247
|
this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
|
|
300
248
|
});
|
|
301
|
-
return this.isHiddenByHideFunc = !1, this.showPromise =
|
|
249
|
+
return this.isHiddenByHideFunc = !1, this.showPromise = r().then(() => {
|
|
302
250
|
this.showPromise = void 0, this.showRejection = void 0;
|
|
303
251
|
const n = i.modelOpacity, a = i.immediately ? 0 : H;
|
|
304
252
|
F(this.five, n, a), this.render(a), this.hooks.emit("showAnimationEnded", {
|
|
@@ -311,8 +259,8 @@ class yi extends T {
|
|
|
311
259
|
}), this.showPromise;
|
|
312
260
|
}));
|
|
313
261
|
o(this, "_hide", (t) => {
|
|
314
|
-
var
|
|
315
|
-
(
|
|
262
|
+
var r;
|
|
263
|
+
(r = this.showRejection) == null || r.call(this, u.BreakOffByHide), this.showPromise = void 0;
|
|
316
264
|
const i = l(l({}, {
|
|
317
265
|
userAction: !0,
|
|
318
266
|
isAutoHide: !1
|
|
@@ -393,7 +341,7 @@ class yi extends T {
|
|
|
393
341
|
imageURL: this.staticPrefix + "/release/web/saas/missing-floorplan.e274c596.png",
|
|
394
342
|
imageWidth: 200,
|
|
395
343
|
imageHeight: 120,
|
|
396
|
-
text: (c = (
|
|
344
|
+
text: (c = (f = e.i18n) == null ? void 0 : f.call(e, "暂无平面图")) != null ? c : "暂无平面图",
|
|
397
345
|
textFontSize: 14
|
|
398
346
|
};
|
|
399
347
|
const i = {
|
|
@@ -414,22 +362,22 @@ class yi extends T {
|
|
|
414
362
|
attachedTo: O.BOUNDING_CENTER,
|
|
415
363
|
getLabelElement: void 0,
|
|
416
364
|
missingFloorConfig: l(l({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
|
|
417
|
-
i18n: (
|
|
418
|
-
getRoomAreaText: (
|
|
419
|
-
getRoomDimensionText: (
|
|
420
|
-
getRuleDistanceText: (
|
|
421
|
-
},
|
|
365
|
+
i18n: (p) => p,
|
|
366
|
+
getRoomAreaText: (p) => (p / 1e6).toFixed(1) + "㎡",
|
|
367
|
+
getRoomDimensionText: (p, A) => (p / 1e3).toFixed(1) + "m × " + (A / 1e3).toFixed(1) + "m",
|
|
368
|
+
getRuleDistanceText: (p) => p.toString()
|
|
369
|
+
}, r = e ? L(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), r.missingFloorConfig), n = g(l(l({}, i), r), { missingFloorConfig: h });
|
|
422
370
|
this.state = { enabled: !0, visible: !1, config: n }, this.initContainer(), t.once("dispose", this.dispose), this.addEventListener();
|
|
423
371
|
}
|
|
424
372
|
load(t, e, i = !0) {
|
|
425
|
-
return
|
|
426
|
-
function
|
|
373
|
+
return m(this, null, function* () {
|
|
374
|
+
function r(c) {
|
|
427
375
|
return Object.prototype.hasOwnProperty.apply(c, ["version"]);
|
|
428
376
|
}
|
|
429
377
|
const h = t;
|
|
430
378
|
h && G(h.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
431
|
-
const n = JSON.parse(JSON.stringify(t)), a =
|
|
432
|
-
this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data,
|
|
379
|
+
const n = JSON.parse(JSON.stringify(t)), a = r(n) ? n.data : n, f = this.data;
|
|
380
|
+
this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
|
|
433
381
|
});
|
|
434
382
|
}
|
|
435
383
|
/** 把插件的渲染DOM插入到对应的容器中去 */
|
|
@@ -453,9 +401,9 @@ class yi extends T {
|
|
|
453
401
|
}
|
|
454
402
|
/** 更改插件 State */
|
|
455
403
|
setState(t, e = {}) {
|
|
456
|
-
const i = this.state,
|
|
457
|
-
if (this.updateState(t,
|
|
458
|
-
const h = { userAction:
|
|
404
|
+
const i = this.state, r = e.userAction !== void 0 ? e.userAction : !0;
|
|
405
|
+
if (this.updateState(t, r), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: r }) : this._disable({ userAction: r })), t.visible !== void 0 && i.visible !== t.visible) {
|
|
406
|
+
const h = { userAction: r };
|
|
459
407
|
t.visible ? this._show(h) : this._hide(h);
|
|
460
408
|
}
|
|
461
409
|
this.render();
|
|
@@ -464,13 +412,13 @@ class yi extends T {
|
|
|
464
412
|
this.updateState({ config: t }, e), this.render();
|
|
465
413
|
}
|
|
466
414
|
formatData(t) {
|
|
467
|
-
return
|
|
415
|
+
return m(this, null, function* () {
|
|
468
416
|
return yield b(t.data);
|
|
469
417
|
});
|
|
470
418
|
}
|
|
471
419
|
updateState(t, e) {
|
|
472
420
|
var n;
|
|
473
|
-
const i = this.state,
|
|
421
|
+
const i = this.state, r = (n = t.config) != null && n.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, h = t.config ? g(l(l({}, i.config), t.config), { missingFloorConfig: r }) : i.config;
|
|
474
422
|
this.state = g(l(l({}, this.state), t), { config: h }), !M(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
|
|
475
423
|
}
|
|
476
424
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
@@ -515,5 +463,5 @@ class yi extends T {
|
|
|
515
463
|
}
|
|
516
464
|
}
|
|
517
465
|
export {
|
|
518
|
-
|
|
466
|
+
Le as Controller
|
|
519
467
|
};
|
|
@@ -66,90 +66,38 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
66
66
|
import "../../shared-utils/three/centerPoint.js";
|
|
67
67
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
68
68
|
import "@realsee/five/line";
|
|
69
|
-
import "../../
|
|
70
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
71
|
-
import "../../vendor/three/build/three.module.js";
|
|
69
|
+
import "../../shared-utils/isNil.js";
|
|
72
70
|
import "../../shared-utils/three/core/Sphere.js";
|
|
73
71
|
import "animejs";
|
|
74
|
-
import "../../shared-utils/isNil.js";
|
|
75
72
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
76
|
-
import "../../
|
|
77
|
-
import "../../shared-utils/
|
|
78
|
-
import "../../shared-utils/three/earcut3D.js";
|
|
79
|
-
import "earcut";
|
|
80
|
-
import "../../shared-utils/three/getNormal.js";
|
|
81
|
-
import "../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
82
|
-
import "../../Sculpt/typings/style.js";
|
|
83
|
-
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
84
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
85
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
86
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
87
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
88
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
89
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
90
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
91
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
92
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
93
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
94
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
95
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
73
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
74
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
97
75
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
98
76
|
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
99
77
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
100
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
101
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
102
|
-
import "../../shared-utils/util.js";
|
|
103
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
104
|
-
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
105
|
-
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
106
78
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
107
79
|
import "../../Sculpt/Meshes/Line.js";
|
|
80
|
+
import "../../Sculpt/typings/style.js";
|
|
108
81
|
import "../../shared-utils/five/FiveLine.js";
|
|
82
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
109
83
|
import "../../Sculpt/utils/removeAllTag.js";
|
|
110
84
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
111
85
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
112
|
-
import "../../
|
|
113
|
-
import "../../
|
|
86
|
+
import "../../shared-utils/util.js";
|
|
87
|
+
import "../../shared-utils/three/core/LineGeometry.js";
|
|
114
88
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
115
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
116
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
117
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
118
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
119
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
120
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
121
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
122
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
123
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
124
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
125
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
126
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
127
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
128
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
129
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
130
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
131
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
132
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
133
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
134
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
135
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
136
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
137
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
138
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
139
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
140
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
141
89
|
import "../../shared-utils/isTouchDevice.js";
|
|
142
|
-
import "../../shared-utils/three/geometryUtil.js";
|
|
143
90
|
import "../../shared-utils/five/getPosition.js";
|
|
144
91
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
145
92
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
93
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
146
94
|
import "../utils/correctFiveState.js";
|
|
147
95
|
import "../utils/constant.js";
|
|
148
96
|
import "../../shared-utils/nearlyEqual.js";
|
|
149
97
|
import "../../shared-utils/five/changeMode.js";
|
|
150
98
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
151
|
-
const
|
|
99
|
+
const Wo = (o, r) => new t(o, r);
|
|
152
100
|
export {
|
|
153
|
-
|
|
154
|
-
|
|
101
|
+
Wo as ModelFloorplanPlugin,
|
|
102
|
+
Wo as default
|
|
155
103
|
};
|