@realsee/dnalogel 3.44.5 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/Sculpt/Meshes/Area.d.ts +1 -1
- package/dist/Sculpt/Meshes/Box.d.ts +1 -1
- package/dist/Sculpt/Meshes/Circle.d.ts +1 -1
- package/dist/Sculpt/Meshes/CircleWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +8 -2
- package/dist/Sculpt/Meshes/LineWithDots.d.ts +1 -1
- package/dist/Sculpt/Meshes/Point.d.ts +1 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Prism.d.ts +1 -1
- package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +3 -4
- package/dist/Sculpt/Objects/Line/Editor.d.ts +22 -0
- package/dist/Sculpt/Objects/Line/index.d.ts +33 -0
- package/dist/Sculpt/Objects/Point/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Polygon/Editor.d.ts +2 -2
- package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -2
- package/dist/Sculpt/Objects/Polyline/Editor.d.ts +3 -17
- package/dist/Sculpt/Objects/Polyline/index.d.ts +7 -6
- package/dist/Sculpt/index.d.ts +5 -0
- package/dist/Sculpt/typings/index.d.ts +11 -6
- package/dist/Sculpt/{utils/color.d.ts → typings/style.d.ts} +7 -0
- package/dist/Sculpt/typings/utils.type.d.ts +2 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +1 -1
- package/dist/Sculpt/utils/three/rayOnLine.d.ts +3 -5
- package/dist/index.cjs.js +56 -56
- package/dist/index.js +29820 -29686
- package/dist/index.umd.js +49 -49
- package/dist/shared-utils/Utils/WorkUtil.d.ts +6 -6
- package/dist/shared-utils/tag.d.ts +6 -3
- package/libs/AreaMakerPlugin/Controller.js +150 -78
- package/libs/AreaMakerPlugin/index.js +76 -4
- package/libs/AreaMakerPlugin/utils/Item.js +190 -111
- package/libs/CSS3DRenderPlugin/Controller.js +89 -29
- package/libs/CSS3DRenderPlugin/index.js +75 -15
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +132 -58
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +181 -116
- package/libs/CruisePlugin/BaseController.js +121 -49
- package/libs/CruisePlugin/Move.js +73 -21
- package/libs/CruisePlugin/Work.js +98 -46
- package/libs/CruisePlugin/index.js +79 -27
- package/libs/CurrentPanoImagePlugin/Controller.js +176 -104
- package/libs/CurrentPanoImagePlugin/index.js +76 -4
- package/libs/GuideLinePlugin/Controller.js +82 -30
- package/libs/GuideLinePlugin/GuideLineItem.js +82 -30
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +81 -29
- package/libs/GuideLinePlugin/index.js +79 -27
- package/libs/ModelMakerPlugin/Controller.js +140 -83
- package/libs/ModelMakerPlugin/index.js +75 -18
- package/libs/ModelTVVideoPlugin/Plugin.js +117 -57
- package/libs/ModelTVVideoPlugin/index.js +68 -8
- package/libs/Object3DHelperPlugin/Controller.js +54 -31
- package/libs/Object3DHelperPlugin/index.js +35 -13
- package/libs/PanoCompassPlugin/Controller.js +97 -42
- package/libs/PanoCompassPlugin/index.js +71 -16
- package/libs/PanoDoorLabelPlugin/BaseController.js +98 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +187 -115
- package/libs/PanoDoorLabelPlugin/index.js +76 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +141 -89
- package/libs/PanoMeasurePlugin/Components/Controller1.js +179 -127
- package/libs/PanoMeasurePlugin/Controller/EditController.js +125 -73
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +167 -92
- package/libs/PanoMeasurePlugin/Controller/index.js +110 -65
- package/libs/PanoMeasurePlugin/Model/area.js +114 -38
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +78 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +98 -46
- package/libs/PanoMeasurePlugin/index.js +77 -32
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +98 -20
- package/libs/PanoSpatialTagPlugin/Plugin.js +210 -150
- package/libs/PanoSpatialTagPlugin/index.js +66 -6
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +133 -53
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +295 -216
- package/libs/PanoTagPlugin/Components/Tag/index.js +257 -187
- package/libs/PanoTagPlugin/Components/TagContainer.js +157 -87
- package/libs/PanoTagPlugin/Components/TagItem.js +144 -74
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +73 -3
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +109 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +105 -35
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +113 -43
- package/libs/PanoTagPlugin/controller/TagRender.js +132 -80
- package/libs/PanoTagPlugin/controller/TagUtil.js +136 -84
- package/libs/PanoTagPlugin/controller/index.js +113 -61
- package/libs/PanoTagPlugin/index.js +89 -37
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +121 -41
- package/libs/PanoVideoPlugin/Controller.js +137 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +149 -69
- package/libs/PanoVideoPlugin/index.js +82 -10
- package/libs/PipelinePlugin/Controller.js +199 -128
- package/libs/PipelinePlugin/index.js +76 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +102 -22
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +95 -15
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +136 -56
- package/libs/Sculpt/Meshes/Area.d.ts +1 -1
- package/libs/Sculpt/Meshes/Box.d.ts +1 -1
- package/libs/Sculpt/Meshes/Box.js +16 -15
- package/libs/Sculpt/Meshes/Circle.d.ts +1 -1
- package/libs/Sculpt/Meshes/Circle.js +1 -1
- package/libs/Sculpt/Meshes/CircleWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Cylinder.js +8 -7
- package/libs/Sculpt/Meshes/Line.d.ts +8 -2
- package/libs/Sculpt/Meshes/Line.js +93 -65
- package/libs/Sculpt/Meshes/LineWithDots.d.ts +1 -1
- package/libs/Sculpt/Meshes/LineWithDots.js +26 -26
- package/libs/Sculpt/Meshes/Point.d.ts +1 -1
- package/libs/Sculpt/Meshes/Point.js +7 -6
- package/libs/Sculpt/Meshes/Polygon.js +1 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Polyline.js +5 -4
- package/libs/Sculpt/Meshes/Prism.d.ts +1 -1
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +3 -4
- package/libs/Sculpt/Objects/Box/index.js +41 -43
- package/libs/Sculpt/Objects/Cylinder/index.js +35 -37
- package/libs/Sculpt/Objects/Line/Editor.d.ts +22 -0
- package/libs/Sculpt/Objects/Line/Editor.js +62 -0
- package/libs/Sculpt/Objects/Line/index.d.ts +33 -0
- package/libs/Sculpt/Objects/Line/index.js +107 -0
- package/libs/Sculpt/Objects/Point/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Polygon/Editor.d.ts +2 -2
- package/libs/Sculpt/Objects/Polygon/Editor.js +5 -5
- package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -2
- package/libs/Sculpt/Objects/Polygon/index.js +80 -80
- package/libs/Sculpt/Objects/Polyline/Editor.d.ts +3 -17
- package/libs/Sculpt/Objects/Polyline/Editor.js +10 -48
- package/libs/Sculpt/Objects/Polyline/index.d.ts +7 -6
- package/libs/Sculpt/Objects/Polyline/index.js +63 -58
- package/libs/Sculpt/Objects/Prism/index.js +56 -58
- package/libs/Sculpt/index.d.ts +5 -0
- package/libs/Sculpt/index.js +58 -48
- package/libs/Sculpt/typings/index.d.ts +11 -6
- package/libs/Sculpt/{utils/color.d.ts → typings/style.d.ts} +7 -0
- package/libs/Sculpt/typings/utils.type.d.ts +2 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +15 -14
- package/libs/Sculpt/utils/three/rayOnLine.d.ts +3 -5
- package/libs/Sculpt/utils/three/rayOnLine.js +15 -14
- package/libs/base/BasePlugin.js +14 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +131 -61
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +75 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +129 -59
- package/libs/floorplan/ModelFloorplanPlugin/index.js +75 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +158 -86
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +76 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +151 -81
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +75 -5
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +194 -192
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +23 -23
- package/libs/shared-utils/Utils/WorkUtil.d.ts +6 -6
- package/libs/shared-utils/Utils/WorkUtil.js +8 -7
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +6 -3
- package/libs/shared-utils/tag.js +38 -24
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +15 -15
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
- package/dist/Sculpt/typings/SimplifyDeep.d.ts +0 -3
- package/libs/Sculpt/typings/SimplifyDeep.d.ts +0 -3
- /package/libs/Sculpt/{utils/color.js → typings/style.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as pp } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as mp } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as ep, DimensionType as lp, PointType as ap } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -73,8 +73,86 @@ import "./Components/Tag/MarketingTag.js";
|
|
|
73
73
|
import "hammerjs";
|
|
74
74
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
75
75
|
import "@realsee/five/line";
|
|
76
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
77
|
+
import "../Sculpt/utils/Modules/Cursor.js";
|
|
78
|
+
import "../Object3DHelperPlugin/Controller.js";
|
|
79
|
+
import "../base/BasePlugin.js";
|
|
80
|
+
import "../shared-utils/Subscribe.js";
|
|
76
81
|
import "../shared-utils/three/THREESphere.js";
|
|
82
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
83
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
84
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
85
|
+
import "../shared-utils/five/transformPosition.js";
|
|
86
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
87
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
77
88
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
89
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
90
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
91
|
+
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
92
|
+
import "../shared-utils/three/IObject3D.js";
|
|
93
|
+
import "../shared-utils/three/boundingBox.js";
|
|
94
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
95
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
96
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
97
|
+
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
98
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
99
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
100
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
101
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
102
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
103
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
104
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
105
|
+
import "../shared-utils/three/centerPoint.js";
|
|
106
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
107
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
108
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
109
|
+
import "../shared-utils/util.js";
|
|
110
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
111
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
112
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
113
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
114
|
+
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
115
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
116
|
+
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
117
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
118
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
119
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
120
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
121
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
122
|
+
import "../Sculpt/utils/three/rayOnLine.js";
|
|
123
|
+
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
124
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
125
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
126
|
+
import "../shared-utils/math/rad2Deg.js";
|
|
127
|
+
import "../shared-utils/math/deg2Rad.js";
|
|
128
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
129
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
130
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
131
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
132
|
+
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
133
|
+
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
134
|
+
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
135
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
136
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
137
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
138
|
+
import "../shared-utils/three/THREERaycaster.js";
|
|
139
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
140
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
141
|
+
import "../shared-utils/three/Magnifier.js";
|
|
142
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
143
|
+
import "../shared-utils/three/Assets/index.js";
|
|
144
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
145
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
146
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
147
|
+
import "../Sculpt/Meshes/Line.js";
|
|
148
|
+
import "../Sculpt/typings/style.js";
|
|
149
|
+
import "../shared-utils/five/FiveLine.js";
|
|
150
|
+
import "../shared-utils/tag.js";
|
|
151
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
152
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
153
|
+
import "../shared-utils/isTouchDevice.js";
|
|
154
|
+
import "../shared-utils/five/getPosition.js";
|
|
155
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
78
156
|
import "./utils/noTypecheck.js";
|
|
79
157
|
import "./Components/Tag/AudioTag/index.js";
|
|
80
158
|
import "./Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -94,7 +172,6 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
94
172
|
import "@realsee/five/gltf-loader";
|
|
95
173
|
import "./utils/planeNormal.js";
|
|
96
174
|
import "./utils/model/mediaPlane.js";
|
|
97
|
-
import "../shared-utils/three/centerPoint.js";
|
|
98
175
|
import "../shared-utils/three/loadTexture.js";
|
|
99
176
|
import "../shared-utils/three/Quadrangle.js";
|
|
100
177
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -104,22 +181,15 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
104
181
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
105
182
|
import "../shared-utils/three/getNormal.js";
|
|
106
183
|
import "./controller/Tag/BaseTag.js";
|
|
107
|
-
import "../shared-utils/Subscribe.js";
|
|
108
184
|
import "./utils/tag/calculateTagConfig.js";
|
|
109
185
|
import "../shared-utils/typescript/entries.js";
|
|
110
186
|
import "./utils/tag/adaptConfig.js";
|
|
111
187
|
import "@realsee/five";
|
|
112
188
|
import "../shared-utils/five/mode.js";
|
|
113
189
|
import "../shared-utils/three/blink.js";
|
|
114
|
-
import "../shared-utils/util.js";
|
|
115
190
|
import "../shared-utils/vectorToCoordinate.js";
|
|
116
191
|
import "../shared-utils/formatRad.js";
|
|
117
|
-
import "../shared-utils/five/transformPosition.js";
|
|
118
192
|
import "../shared-utils/five/lookPoint.js";
|
|
119
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
120
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
121
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
122
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
123
193
|
import "./utils/tagPosition.js";
|
|
124
194
|
import "./utils/checkRange.js";
|
|
125
195
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -133,24 +203,6 @@ import "./utils/normalPositionToPositions.js";
|
|
|
133
203
|
import "../vendor/svelte/store/index.js";
|
|
134
204
|
import "../CSS3DRenderPlugin/index.js";
|
|
135
205
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
136
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
137
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
138
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
139
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
140
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
141
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
142
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
143
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
144
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
145
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
146
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
147
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
148
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
149
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
150
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
151
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
152
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
153
|
-
import "../base/BasePlugin.js";
|
|
154
206
|
import "../shared-utils/animationFrame/index.js";
|
|
155
207
|
import "./utils/DebugUtil.js";
|
|
156
208
|
import "./utils/addDebugPoints.js";
|
|
@@ -161,14 +213,14 @@ import "./Components/TagContainer.js";
|
|
|
161
213
|
import "./Components/TagItem.js";
|
|
162
214
|
import "./Components/Common/TagPoint.js";
|
|
163
215
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
164
|
-
const
|
|
216
|
+
const op = (o, t) => new r(o, t);
|
|
165
217
|
export {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
218
|
+
ep as ContentType,
|
|
219
|
+
lp as DimensionType,
|
|
220
|
+
op as PanoTagPlugin,
|
|
169
221
|
r as PanoTagPluginController,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
222
|
+
ap as PointType,
|
|
223
|
+
op as default,
|
|
224
|
+
mp as defaultGlobalConfig,
|
|
225
|
+
pp as pluginFlag
|
|
174
226
|
};
|
|
@@ -2,15 +2,15 @@ var z = Object.defineProperty, B = Object.defineProperties;
|
|
|
2
2
|
var H = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var E = Object.getOwnPropertySymbols;
|
|
4
4
|
var J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var x = (
|
|
6
|
-
for (var
|
|
7
|
-
J.call(
|
|
5
|
+
var x = (o, i, t) => i in o ? z(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t, F = (o, i) => {
|
|
6
|
+
for (var t in i || (i = {}))
|
|
7
|
+
J.call(i, t) && x(o, t, i[t]);
|
|
8
8
|
if (E)
|
|
9
|
-
for (var
|
|
10
|
-
K.call(
|
|
11
|
-
return
|
|
12
|
-
}, _ = (
|
|
13
|
-
import { objectAssignDeepExports as
|
|
9
|
+
for (var t of E(i))
|
|
10
|
+
K.call(i, t) && x(o, t, i[t]);
|
|
11
|
+
return o;
|
|
12
|
+
}, _ = (o, i) => B(o, H(i));
|
|
13
|
+
import { objectAssignDeepExports as l } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
14
14
|
import { entries as I } from "../../../shared-utils/typescript/entries.js";
|
|
15
15
|
import P from "./adaptConfig.js";
|
|
16
16
|
import { defaultGlobalConfig as N } from "../../typings/tag/TagConfig.js";
|
|
@@ -20,54 +20,134 @@ import "three";
|
|
|
20
20
|
import "hammerjs";
|
|
21
21
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
22
|
import "@realsee/five/line";
|
|
23
|
+
import "../../../Sculpt/utils/Modules/Global.js";
|
|
23
24
|
import "../../../shared-utils/three/THREESphere.js";
|
|
24
25
|
import "animejs";
|
|
25
26
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
|
-
|
|
27
|
+
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
28
|
+
import "../../../Object3DHelperPlugin/Controller.js";
|
|
29
|
+
import "../../../base/BasePlugin.js";
|
|
30
|
+
import "../../../shared-utils/Subscribe.js";
|
|
31
|
+
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
32
|
+
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
33
|
+
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
34
|
+
import "../../../shared-utils/five/transformPosition.js";
|
|
35
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
36
|
+
import "../../../shared-utils/url/absoluteUrl.js";
|
|
37
|
+
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
38
|
+
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
39
|
+
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
40
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
41
|
+
import "../../../shared-utils/three/boundingBox.js";
|
|
42
|
+
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
43
|
+
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
44
|
+
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
45
|
+
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
46
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
|
+
import "../../../shared-utils/positionToVector3.js";
|
|
48
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
49
|
+
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
50
|
+
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
51
|
+
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
52
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
53
|
+
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
54
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
55
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
56
|
+
import "../../../shared-utils/isNil.js";
|
|
57
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
58
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
59
|
+
import "../../../shared-utils/util.js";
|
|
60
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
61
|
+
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
62
|
+
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
63
|
+
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
64
|
+
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
65
|
+
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
66
|
+
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
67
|
+
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
68
|
+
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
69
|
+
import "../../../shared-utils/threex/domevents/index.js";
|
|
70
|
+
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
71
|
+
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
72
|
+
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
73
|
+
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
74
|
+
import "../../../shared-utils/Object3DHelper/index.js";
|
|
75
|
+
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
76
|
+
import "../../../shared-utils/math/rad2Deg.js";
|
|
77
|
+
import "../../../shared-utils/math/deg2Rad.js";
|
|
78
|
+
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
79
|
+
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
80
|
+
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
81
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
82
|
+
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
83
|
+
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
84
|
+
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
85
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
86
|
+
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
87
|
+
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
88
|
+
import "../../../shared-utils/three/THREERaycaster.js";
|
|
89
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
90
|
+
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
91
|
+
import "../../../shared-utils/three/Magnifier.js";
|
|
92
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
93
|
+
import "../../../shared-utils/three/Assets/index.js";
|
|
94
|
+
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
95
|
+
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
96
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
97
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
98
|
+
import "../../../Sculpt/typings/style.js";
|
|
99
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
100
|
+
import "../../../shared-utils/tag.js";
|
|
101
|
+
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
102
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
103
|
+
import "../../../shared-utils/isTouchDevice.js";
|
|
104
|
+
import "../../../shared-utils/five/getPosition.js";
|
|
105
|
+
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
106
|
+
function Di(o, i, t) {
|
|
27
107
|
var v, b, j, C, A;
|
|
28
|
-
const D = (v =
|
|
29
|
-
if (!
|
|
30
|
-
return (b =
|
|
108
|
+
const D = (v = t == null ? void 0 : t.useCache) != null ? v : !0;
|
|
109
|
+
if (!o)
|
|
110
|
+
return (b = i.globalConfig) != null ? b : {};
|
|
31
111
|
if (D) {
|
|
32
|
-
if ((j =
|
|
33
|
-
return
|
|
34
|
-
if ((C =
|
|
35
|
-
return
|
|
112
|
+
if ((j = o == null ? void 0 : o.computedConfig) != null && j._isMerged)
|
|
113
|
+
return o.computedConfig;
|
|
114
|
+
if ((C = o == null ? void 0 : o.config) != null && C._isMerged)
|
|
115
|
+
return o.config;
|
|
36
116
|
}
|
|
37
|
-
const k = {},
|
|
38
|
-
|
|
117
|
+
const k = {}, d = {}, y = {};
|
|
118
|
+
i.contentTypeConfig && Object.entries(i.contentTypeConfig).forEach(([p, e]) => {
|
|
39
119
|
var O, W;
|
|
40
|
-
const
|
|
41
|
-
if (!
|
|
42
|
-
if (
|
|
43
|
-
const [
|
|
44
|
-
(
|
|
120
|
+
const r = p, a = r.split("-"), g = p.startsWith("["), c = g ? a[0].slice(1, -1) : void 0, n = g ? a.slice(1) : a, s = c ? ["PanoramaLike", "ModelLike"].includes(c) ? (O = d[c]) != null ? O : d[c] = {} : (W = y[c]) != null ? W : y[c] = {} : k;
|
|
121
|
+
if (!s[r]) {
|
|
122
|
+
if (n.length === 0 && (s[r] = e), n.length === 1) {
|
|
123
|
+
const [m] = n;
|
|
124
|
+
(o.contentType === m || m === "Any") && (s[r] = e);
|
|
45
125
|
}
|
|
46
|
-
if (
|
|
47
|
-
const [
|
|
48
|
-
|
|
126
|
+
if (n.length === 2) {
|
|
127
|
+
const [m = "Any", u = "Any"] = n;
|
|
128
|
+
m === "Mixin" && o.contentType === u && (s[r] = e), (o.stickType === m || m === "Any") && (o.contentType === u || u === "Any") && (s[r] = e);
|
|
49
129
|
}
|
|
50
|
-
if (
|
|
51
|
-
const [
|
|
52
|
-
if (
|
|
53
|
-
const L =
|
|
54
|
-
(L.stickType ===
|
|
130
|
+
if (n.length === 3) {
|
|
131
|
+
const [m = "Any", u, w] = n;
|
|
132
|
+
if (u === "Audio" && o.contentType === "Audio") {
|
|
133
|
+
const L = o;
|
|
134
|
+
(L.stickType === m || m === "Any") && L.data.appearance === w && (s[r] = e);
|
|
55
135
|
}
|
|
56
136
|
}
|
|
57
137
|
}
|
|
58
138
|
});
|
|
59
|
-
const
|
|
60
|
-
I(
|
|
61
|
-
q.forEach((
|
|
62
|
-
(
|
|
139
|
+
const h = (A = o.initialConfig) != null ? A : {}, M = l({}, N, i.globalConfig, ...Object.values(k)), G = l({}, M, h), f = {}, q = Object.values(Q.Mode);
|
|
140
|
+
I(d).forEach(([p, e]) => {
|
|
141
|
+
q.forEach((r) => {
|
|
142
|
+
(p === "PanoramaLike" && R(r) || p === "ModelLike" && S(r)) && (f[r] = l({}, M, ...Object.values(e), h, { _isMerged: !0 }));
|
|
63
143
|
});
|
|
64
|
-
}), I(
|
|
65
|
-
const
|
|
66
|
-
|
|
144
|
+
}), I(y).forEach(([p, e]) => {
|
|
145
|
+
const r = f[p];
|
|
146
|
+
f[p] = l({}, M, r, ...Object.values(e), h, { _isMerged: !0 });
|
|
67
147
|
});
|
|
68
|
-
const T = _(F({}, G), { configWithFiveMode:
|
|
69
|
-
return P(T), Object.values(
|
|
148
|
+
const T = _(F({}, G), { configWithFiveMode: f });
|
|
149
|
+
return P(T), Object.values(f).forEach((p) => P(p)), T._isMerged = !0, T;
|
|
70
150
|
}
|
|
71
151
|
export {
|
|
72
|
-
|
|
152
|
+
Di as calculateTagConfig
|
|
73
153
|
};
|