@realsee/dnalogel 3.45.0 → 3.46.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 +6 -0
- package/dist/Sculpt/Meshes/Line.d.ts +6 -1
- package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +29600 -29557
- package/dist/index.umd.js +49 -49
- package/dist/shared-utils/tag.d.ts +6 -3
- package/libs/AreaMakerPlugin/Controller.js +151 -78
- package/libs/AreaMakerPlugin/index.js +77 -4
- package/libs/AreaMakerPlugin/utils/Item.js +191 -111
- package/libs/CSS3DRenderPlugin/Controller.js +90 -29
- package/libs/CSS3DRenderPlugin/index.js +76 -15
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +133 -58
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +182 -116
- package/libs/CruisePlugin/BaseController.js +122 -49
- package/libs/CruisePlugin/Move.js +74 -21
- package/libs/CruisePlugin/Work.js +99 -46
- package/libs/CruisePlugin/index.js +80 -27
- package/libs/CurrentPanoImagePlugin/Controller.js +177 -104
- package/libs/CurrentPanoImagePlugin/index.js +77 -4
- package/libs/GuideLinePlugin/Controller.js +79 -26
- package/libs/GuideLinePlugin/GuideLineItem.js +83 -30
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +82 -29
- package/libs/GuideLinePlugin/index.js +80 -27
- package/libs/ModelMakerPlugin/Controller.js +140 -82
- package/libs/ModelMakerPlugin/index.js +76 -18
- package/libs/ModelTVVideoPlugin/Plugin.js +118 -57
- package/libs/ModelTVVideoPlugin/index.js +69 -8
- package/libs/Object3DHelperPlugin/Controller.js +67 -43
- package/libs/Object3DHelperPlugin/index.js +36 -13
- package/libs/PanoCompassPlugin/Controller.js +98 -42
- package/libs/PanoCompassPlugin/index.js +72 -16
- package/libs/PanoDoorLabelPlugin/BaseController.js +99 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +188 -115
- package/libs/PanoDoorLabelPlugin/index.js +77 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +141 -88
- package/libs/PanoMeasurePlugin/Components/Controller1.js +179 -126
- package/libs/PanoMeasurePlugin/Controller/EditController.js +125 -72
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +168 -92
- package/libs/PanoMeasurePlugin/Controller/index.js +110 -64
- package/libs/PanoMeasurePlugin/Model/area.js +115 -38
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +79 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +98 -45
- package/libs/PanoMeasurePlugin/index.js +77 -31
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +99 -20
- package/libs/PanoSpatialTagPlugin/Plugin.js +211 -150
- package/libs/PanoSpatialTagPlugin/index.js +67 -6
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +149 -68
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +296 -216
- package/libs/PanoTagPlugin/Components/Tag/index.js +258 -187
- package/libs/PanoTagPlugin/Components/TagContainer.js +158 -87
- package/libs/PanoTagPlugin/Components/TagItem.js +145 -74
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +133 -62
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +110 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +106 -35
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +114 -43
- package/libs/PanoTagPlugin/controller/TagRender.js +133 -80
- package/libs/PanoTagPlugin/controller/TagUtil.js +137 -84
- package/libs/PanoTagPlugin/controller/index.js +114 -61
- package/libs/PanoTagPlugin/index.js +90 -37
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +122 -41
- package/libs/PanoVideoPlugin/Controller.js +138 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +150 -69
- package/libs/PanoVideoPlugin/index.js +83 -10
- package/libs/PipelinePlugin/Controller.js +200 -128
- package/libs/PipelinePlugin/index.js +77 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +103 -22
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +96 -15
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +137 -56
- package/libs/Sculpt/Meshes/Box.js +6 -5
- package/libs/Sculpt/Meshes/Cylinder.js +7 -6
- package/libs/Sculpt/Meshes/Line.d.ts +6 -1
- package/libs/Sculpt/Meshes/Line.js +80 -57
- package/libs/Sculpt/Meshes/Point.js +6 -5
- package/libs/Sculpt/Meshes/Polyline.js +5 -4
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.js +20 -17
- package/libs/Sculpt/Objects/Line/Editor.js +11 -10
- package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/libs/Sculpt/utils/removeAllTag.js +10 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +14 -13
- package/libs/base/BasePlugin.js +14 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +129 -59
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +76 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +130 -59
- package/libs/floorplan/ModelFloorplanPlugin/index.js +76 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +159 -86
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +77 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +152 -81
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +76 -5
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +193 -192
- 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/index.js +1 -0
- package/package.json +1 -1
|
@@ -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 ip } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as np } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as lp, DimensionType as ap, PointType as fp } 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,87 @@ 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 "../Sculpt/utils/removeAllTag.js";
|
|
153
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
154
|
+
import "../shared-utils/isTouchDevice.js";
|
|
155
|
+
import "../shared-utils/five/getPosition.js";
|
|
156
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
78
157
|
import "./utils/noTypecheck.js";
|
|
79
158
|
import "./Components/Tag/AudioTag/index.js";
|
|
80
159
|
import "./Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -94,7 +173,6 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
94
173
|
import "@realsee/five/gltf-loader";
|
|
95
174
|
import "./utils/planeNormal.js";
|
|
96
175
|
import "./utils/model/mediaPlane.js";
|
|
97
|
-
import "../shared-utils/three/centerPoint.js";
|
|
98
176
|
import "../shared-utils/three/loadTexture.js";
|
|
99
177
|
import "../shared-utils/three/Quadrangle.js";
|
|
100
178
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -104,22 +182,15 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
104
182
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
105
183
|
import "../shared-utils/three/getNormal.js";
|
|
106
184
|
import "./controller/Tag/BaseTag.js";
|
|
107
|
-
import "../shared-utils/Subscribe.js";
|
|
108
185
|
import "./utils/tag/calculateTagConfig.js";
|
|
109
186
|
import "../shared-utils/typescript/entries.js";
|
|
110
187
|
import "./utils/tag/adaptConfig.js";
|
|
111
188
|
import "@realsee/five";
|
|
112
189
|
import "../shared-utils/five/mode.js";
|
|
113
190
|
import "../shared-utils/three/blink.js";
|
|
114
|
-
import "../shared-utils/util.js";
|
|
115
191
|
import "../shared-utils/vectorToCoordinate.js";
|
|
116
192
|
import "../shared-utils/formatRad.js";
|
|
117
|
-
import "../shared-utils/five/transformPosition.js";
|
|
118
193
|
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
194
|
import "./utils/tagPosition.js";
|
|
124
195
|
import "./utils/checkRange.js";
|
|
125
196
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -133,24 +204,6 @@ import "./utils/normalPositionToPositions.js";
|
|
|
133
204
|
import "../vendor/svelte/store/index.js";
|
|
134
205
|
import "../CSS3DRenderPlugin/index.js";
|
|
135
206
|
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
207
|
import "../shared-utils/animationFrame/index.js";
|
|
155
208
|
import "./utils/DebugUtil.js";
|
|
156
209
|
import "./utils/addDebugPoints.js";
|
|
@@ -161,14 +214,14 @@ import "./Components/TagContainer.js";
|
|
|
161
214
|
import "./Components/TagItem.js";
|
|
162
215
|
import "./Components/Common/TagPoint.js";
|
|
163
216
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
164
|
-
const
|
|
217
|
+
const tp = (o, t) => new r(o, t);
|
|
165
218
|
export {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
219
|
+
lp as ContentType,
|
|
220
|
+
ap as DimensionType,
|
|
221
|
+
tp as PanoTagPlugin,
|
|
169
222
|
r as PanoTagPluginController,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
223
|
+
fp as PointType,
|
|
224
|
+
tp as default,
|
|
225
|
+
np as defaultGlobalConfig,
|
|
226
|
+
ip as pluginFlag
|
|
174
227
|
};
|
|
@@ -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,135 @@ 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 "../../../Sculpt/utils/removeAllTag.js";
|
|
103
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
104
|
+
import "../../../shared-utils/isTouchDevice.js";
|
|
105
|
+
import "../../../shared-utils/five/getPosition.js";
|
|
106
|
+
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
107
|
+
function Gi(o, i, t) {
|
|
27
108
|
var v, b, j, C, A;
|
|
28
|
-
const D = (v =
|
|
29
|
-
if (!
|
|
30
|
-
return (b =
|
|
109
|
+
const D = (v = t == null ? void 0 : t.useCache) != null ? v : !0;
|
|
110
|
+
if (!o)
|
|
111
|
+
return (b = i.globalConfig) != null ? b : {};
|
|
31
112
|
if (D) {
|
|
32
|
-
if ((j =
|
|
33
|
-
return
|
|
34
|
-
if ((C =
|
|
35
|
-
return
|
|
113
|
+
if ((j = o == null ? void 0 : o.computedConfig) != null && j._isMerged)
|
|
114
|
+
return o.computedConfig;
|
|
115
|
+
if ((C = o == null ? void 0 : o.config) != null && C._isMerged)
|
|
116
|
+
return o.config;
|
|
36
117
|
}
|
|
37
|
-
const k = {},
|
|
38
|
-
|
|
118
|
+
const k = {}, d = {}, y = {};
|
|
119
|
+
i.contentTypeConfig && Object.entries(i.contentTypeConfig).forEach(([p, e]) => {
|
|
39
120
|
var O, W;
|
|
40
|
-
const
|
|
41
|
-
if (!
|
|
42
|
-
if (
|
|
43
|
-
const [
|
|
44
|
-
(
|
|
121
|
+
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;
|
|
122
|
+
if (!s[r]) {
|
|
123
|
+
if (n.length === 0 && (s[r] = e), n.length === 1) {
|
|
124
|
+
const [m] = n;
|
|
125
|
+
(o.contentType === m || m === "Any") && (s[r] = e);
|
|
45
126
|
}
|
|
46
|
-
if (
|
|
47
|
-
const [
|
|
48
|
-
|
|
127
|
+
if (n.length === 2) {
|
|
128
|
+
const [m = "Any", u = "Any"] = n;
|
|
129
|
+
m === "Mixin" && o.contentType === u && (s[r] = e), (o.stickType === m || m === "Any") && (o.contentType === u || u === "Any") && (s[r] = e);
|
|
49
130
|
}
|
|
50
|
-
if (
|
|
51
|
-
const [
|
|
52
|
-
if (
|
|
53
|
-
const L =
|
|
54
|
-
(L.stickType ===
|
|
131
|
+
if (n.length === 3) {
|
|
132
|
+
const [m = "Any", u, w] = n;
|
|
133
|
+
if (u === "Audio" && o.contentType === "Audio") {
|
|
134
|
+
const L = o;
|
|
135
|
+
(L.stickType === m || m === "Any") && L.data.appearance === w && (s[r] = e);
|
|
55
136
|
}
|
|
56
137
|
}
|
|
57
138
|
}
|
|
58
139
|
});
|
|
59
|
-
const
|
|
60
|
-
I(
|
|
61
|
-
q.forEach((
|
|
62
|
-
(
|
|
140
|
+
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);
|
|
141
|
+
I(d).forEach(([p, e]) => {
|
|
142
|
+
q.forEach((r) => {
|
|
143
|
+
(p === "PanoramaLike" && R(r) || p === "ModelLike" && S(r)) && (f[r] = l({}, M, ...Object.values(e), h, { _isMerged: !0 }));
|
|
63
144
|
});
|
|
64
|
-
}), I(
|
|
65
|
-
const
|
|
66
|
-
|
|
145
|
+
}), I(y).forEach(([p, e]) => {
|
|
146
|
+
const r = f[p];
|
|
147
|
+
f[p] = l({}, M, r, ...Object.values(e), h, { _isMerged: !0 });
|
|
67
148
|
});
|
|
68
|
-
const T = _(F({}, G), { configWithFiveMode:
|
|
69
|
-
return P(T), Object.values(
|
|
149
|
+
const T = _(F({}, G), { configWithFiveMode: f });
|
|
150
|
+
return P(T), Object.values(f).forEach((p) => P(p)), T._isMerged = !0, T;
|
|
70
151
|
}
|
|
71
152
|
export {
|
|
72
|
-
|
|
153
|
+
Gi as calculateTagConfig
|
|
73
154
|
};
|