@realsee/dnalogel 3.45.0 → 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 +3 -0
- package/dist/Sculpt/Meshes/Line.d.ts +6 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +29609 -29576
- package/dist/index.umd.js +49 -49
- 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 +139 -82
- 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 +140 -88
- package/libs/PanoMeasurePlugin/Components/Controller1.js +178 -126
- package/libs/PanoMeasurePlugin/Controller/EditController.js +124 -72
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +167 -92
- package/libs/PanoMeasurePlugin/Controller/index.js +109 -64
- package/libs/PanoMeasurePlugin/Model/area.js +114 -38
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +78 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +97 -45
- package/libs/PanoMeasurePlugin/index.js +76 -31
- 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/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 +76 -56
- 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/Line/Editor.js +11 -10
- package/libs/Sculpt/utils/three/ColoredMesh.js +14 -13
- package/libs/base/BasePlugin.js +14 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +128 -59
- 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 +67 -67
- 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
|
@@ -7,6 +7,7 @@ import { isModelLike as et } from "../../shared-utils/five/mode.js";
|
|
|
7
7
|
import "hammerjs";
|
|
8
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
9
|
import "@realsee/five/line";
|
|
10
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
10
11
|
import "../../shared-utils/three/THREESphere.js";
|
|
11
12
|
import "animejs";
|
|
12
13
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -65,6 +66,84 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
|
65
66
|
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
66
67
|
import "./Common/MediaItem.js";
|
|
67
68
|
import "./Tag/MarketingTag.js";
|
|
69
|
+
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
70
|
+
import "../../Object3DHelperPlugin/Controller.js";
|
|
71
|
+
import "../../base/BasePlugin.js";
|
|
72
|
+
import "../../shared-utils/Subscribe.js";
|
|
73
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
74
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
75
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
76
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
77
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
78
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
79
|
+
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
80
|
+
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
81
|
+
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
82
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
83
|
+
import "../../shared-utils/three/boundingBox.js";
|
|
84
|
+
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
85
|
+
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
86
|
+
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
87
|
+
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
88
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
89
|
+
import "../../shared-utils/positionToVector3.js";
|
|
90
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
91
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
92
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
93
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
94
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
95
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
96
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
97
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
98
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
99
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
100
|
+
import "../../shared-utils/util.js";
|
|
101
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
102
|
+
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
103
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
104
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
105
|
+
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
106
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
107
|
+
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
108
|
+
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
109
|
+
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
110
|
+
import "../../shared-utils/threex/domevents/index.js";
|
|
111
|
+
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
112
|
+
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
113
|
+
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
114
|
+
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
115
|
+
import "../../shared-utils/Object3DHelper/index.js";
|
|
116
|
+
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
117
|
+
import "../../shared-utils/math/rad2Deg.js";
|
|
118
|
+
import "../../shared-utils/math/deg2Rad.js";
|
|
119
|
+
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
120
|
+
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
121
|
+
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
122
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
123
|
+
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
124
|
+
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
125
|
+
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
126
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
127
|
+
import "../../shared-utils/five/FiveDomEvents.js";
|
|
128
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
129
|
+
import "../../shared-utils/three/THREERaycaster.js";
|
|
130
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
131
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
132
|
+
import "../../shared-utils/three/Magnifier.js";
|
|
133
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
134
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
135
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
136
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
137
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
138
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
139
|
+
import "../../Sculpt/typings/style.js";
|
|
140
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
141
|
+
import "../../shared-utils/tag.js";
|
|
142
|
+
import "../../shared-utils/five/vector3ToScreen.js";
|
|
143
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
144
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
145
|
+
import "../../shared-utils/five/getPosition.js";
|
|
146
|
+
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
68
147
|
import "./Tag/AudioTag/index.js";
|
|
69
148
|
import "./Tag/AudioTag/AudioTag.js";
|
|
70
149
|
import "./Common/Audio.js";
|
|
@@ -80,13 +159,11 @@ import "./Tag/PanoramaTag.js";
|
|
|
80
159
|
import "./Tag/CustomTag.js";
|
|
81
160
|
import "../../vendor/classnames/index.js";
|
|
82
161
|
import "../controller/Tag/ModelTag.js";
|
|
83
|
-
import "../../shared-utils/positionToVector3.js";
|
|
84
162
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
85
163
|
import "@realsee/five/gltf-loader";
|
|
86
164
|
import "../utils/planeNormal.js";
|
|
87
165
|
import "../utils/tag/tagCheck.js";
|
|
88
166
|
import "../utils/model/mediaPlane.js";
|
|
89
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
90
167
|
import "../../shared-utils/three/loadTexture.js";
|
|
91
168
|
import "../../shared-utils/three/Quadrangle.js";
|
|
92
169
|
import "../../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -96,7 +173,6 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
96
173
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
97
174
|
import "../../shared-utils/three/getNormal.js";
|
|
98
175
|
import "../controller/Tag/BaseTag.js";
|
|
99
|
-
import "../../shared-utils/Subscribe.js";
|
|
100
176
|
import "../utils/tag/calculateTagConfig.js";
|
|
101
177
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
102
178
|
import "../../shared-utils/typescript/entries.js";
|
|
@@ -105,15 +181,9 @@ import "../typings/tag/TagConfig.js";
|
|
|
105
181
|
import "@realsee/five";
|
|
106
182
|
import "../utils/tag/format.js";
|
|
107
183
|
import "../../shared-utils/three/blink.js";
|
|
108
|
-
import "../../shared-utils/util.js";
|
|
109
184
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
110
185
|
import "../../shared-utils/formatRad.js";
|
|
111
|
-
import "../../shared-utils/five/transformPosition.js";
|
|
112
186
|
import "../../shared-utils/five/lookPoint.js";
|
|
113
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
114
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
115
|
-
import "../../shared-utils/Utils/WorkUtil.js";
|
|
116
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
117
187
|
import "../utils/tagPosition.js";
|
|
118
188
|
import "../utils/checkRange.js";
|
|
119
189
|
import "../../shared-utils/url/getUrl.js";
|
|
@@ -125,23 +195,23 @@ function it(o) {
|
|
|
125
195
|
Q(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
|
|
126
196
|
}
|
|
127
197
|
function j(o) {
|
|
128
|
-
let t, i, e, r,
|
|
198
|
+
let t, i, e, r, p, a, b, k, s;
|
|
129
199
|
const M = [rt, ot], u = [];
|
|
130
|
-
function S(
|
|
200
|
+
function S(m, l) {
|
|
131
201
|
return (
|
|
132
202
|
/*havePoint*/
|
|
133
|
-
|
|
203
|
+
m[8] ? 0 : 1
|
|
134
204
|
);
|
|
135
205
|
}
|
|
136
206
|
i = S(o), e = u[i] = M[i](o);
|
|
137
|
-
const
|
|
138
|
-
function y(
|
|
207
|
+
const n = [mt, pt], c = [];
|
|
208
|
+
function y(m, l) {
|
|
139
209
|
return (
|
|
140
210
|
/*haveContent*/
|
|
141
|
-
|
|
211
|
+
m[15] ? 0 : 1
|
|
142
212
|
);
|
|
143
213
|
}
|
|
144
|
-
return
|
|
214
|
+
return p = y(o), a = c[p] = n[p](o), {
|
|
145
215
|
c() {
|
|
146
216
|
t = Z("div"), e.c(), r = X(), a.c(), d(t, "class", "tag svelte-2g2g8a"), d(
|
|
147
217
|
t,
|
|
@@ -180,71 +250,71 @@ function j(o) {
|
|
|
180
250
|
o[10]}, 0) scale(${/*screenPosition*/
|
|
181
251
|
o[7].scale})`);
|
|
182
252
|
},
|
|
183
|
-
m(
|
|
184
|
-
I(
|
|
253
|
+
m(m, l) {
|
|
254
|
+
I(m, t, l), u[i].m(t, null), Y(t, r), c[p].m(t, null), o[17](t), s = !0;
|
|
185
255
|
},
|
|
186
|
-
p(
|
|
256
|
+
p(m, l) {
|
|
187
257
|
let h = i;
|
|
188
|
-
i = S(
|
|
258
|
+
i = S(m), i === h ? u[i].p(m, l) : (L(), g(u[h], 1, 1, () => {
|
|
189
259
|
u[h] = null;
|
|
190
|
-
}), z(), e = u[i], e ? e.p(
|
|
191
|
-
let w =
|
|
192
|
-
|
|
260
|
+
}), z(), e = u[i], e ? e.p(m, l) : (e = u[i] = M[i](m), e.c()), _(e, 1), e.m(t, r));
|
|
261
|
+
let w = p;
|
|
262
|
+
p = y(m), p === w ? c[p].p(m, l) : (L(), g(c[w], 1, 1, () => {
|
|
193
263
|
c[w] = null;
|
|
194
|
-
}), z(), a = c[
|
|
264
|
+
}), z(), a = c[p], a ? a.p(m, l) : (a = c[p] = n[p](m), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
|
|
195
265
|
16384) && d(
|
|
196
266
|
t,
|
|
197
267
|
"data-tag-id",
|
|
198
268
|
/*id*/
|
|
199
|
-
|
|
269
|
+
m[14]
|
|
200
270
|
), (!s || l & /*unfolded*/
|
|
201
271
|
64) && d(
|
|
202
272
|
t,
|
|
203
273
|
"data-tag-unfolded",
|
|
204
274
|
/*unfolded*/
|
|
205
|
-
|
|
275
|
+
m[6]
|
|
206
276
|
), (!s || l & /*tag*/
|
|
207
277
|
1 && b !== (b = /*tag*/
|
|
208
|
-
|
|
278
|
+
m[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
|
|
209
279
|
16384 && k !== (k = `tag-${/*id*/
|
|
210
|
-
|
|
280
|
+
m[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
|
|
211
281
|
1) && T(
|
|
212
282
|
t,
|
|
213
283
|
"unClickable",
|
|
214
284
|
/*tag*/
|
|
215
|
-
|
|
285
|
+
m[0].config.clickable === !1
|
|
216
286
|
), (!s || l & /*hide*/
|
|
217
287
|
4096) && T(
|
|
218
288
|
t,
|
|
219
289
|
"hide",
|
|
220
290
|
/*hide*/
|
|
221
|
-
|
|
291
|
+
m[12]
|
|
222
292
|
), (!s || l & /*zIndex*/
|
|
223
293
|
512) && T(
|
|
224
294
|
t,
|
|
225
295
|
"enableZIndex",
|
|
226
296
|
/*zIndex*/
|
|
227
|
-
|
|
297
|
+
m[9]
|
|
228
298
|
), l & /*zIndex*/
|
|
229
299
|
512 && C(
|
|
230
300
|
t,
|
|
231
301
|
"z-index",
|
|
232
302
|
/*zIndex*/
|
|
233
|
-
|
|
303
|
+
m[9]
|
|
234
304
|
), l & /*left, top, screenPosition*/
|
|
235
305
|
3200 && C(t, "transform", `translate3d(${/*left*/
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
306
|
+
m[11]}, ${/*top*/
|
|
307
|
+
m[10]}, 0) scale(${/*screenPosition*/
|
|
308
|
+
m[7].scale})`);
|
|
239
309
|
},
|
|
240
|
-
i(
|
|
310
|
+
i(m) {
|
|
241
311
|
s || (_(e), _(a), s = !0);
|
|
242
312
|
},
|
|
243
|
-
o(
|
|
313
|
+
o(m) {
|
|
244
314
|
g(e), g(a), s = !1;
|
|
245
315
|
},
|
|
246
|
-
d(
|
|
247
|
-
|
|
316
|
+
d(m) {
|
|
317
|
+
m && P(t), u[i].d(), c[p].d(), o[17](null);
|
|
248
318
|
}
|
|
249
319
|
};
|
|
250
320
|
}
|
|
@@ -278,10 +348,10 @@ function rt(o) {
|
|
|
278
348
|
E(t, e, r), i = !0;
|
|
279
349
|
},
|
|
280
350
|
p(e, r) {
|
|
281
|
-
const
|
|
351
|
+
const p = {};
|
|
282
352
|
r & /*tag*/
|
|
283
|
-
1 && (
|
|
284
|
-
e[0]), t.$set(
|
|
353
|
+
1 && (p.tag = /*tag*/
|
|
354
|
+
e[0]), t.$set(p);
|
|
285
355
|
},
|
|
286
356
|
i(e) {
|
|
287
357
|
i || (_(t.$$.fragment, e), i = !0);
|
|
@@ -294,7 +364,7 @@ function rt(o) {
|
|
|
294
364
|
}
|
|
295
365
|
};
|
|
296
366
|
}
|
|
297
|
-
function
|
|
367
|
+
function pt(o) {
|
|
298
368
|
let t;
|
|
299
369
|
return {
|
|
300
370
|
c() {
|
|
@@ -311,7 +381,7 @@ function nt(o) {
|
|
|
311
381
|
}
|
|
312
382
|
};
|
|
313
383
|
}
|
|
314
|
-
function
|
|
384
|
+
function mt(o) {
|
|
315
385
|
let t, i;
|
|
316
386
|
return t = new $({
|
|
317
387
|
props: {
|
|
@@ -352,22 +422,22 @@ function pt(o) {
|
|
|
352
422
|
E(t, e, r), i = !0;
|
|
353
423
|
},
|
|
354
424
|
p(e, r) {
|
|
355
|
-
const
|
|
425
|
+
const p = {};
|
|
356
426
|
r & /*mediaStore*/
|
|
357
|
-
2 && (
|
|
427
|
+
2 && (p.mediaStore = /*mediaStore*/
|
|
358
428
|
e[1]), r & /*tag*/
|
|
359
|
-
1 && (
|
|
429
|
+
1 && (p.tag = V(
|
|
360
430
|
/*tag*/
|
|
361
431
|
e[0]
|
|
362
432
|
)), r & /*state*/
|
|
363
|
-
16 && (
|
|
433
|
+
16 && (p.state = /*state*/
|
|
364
434
|
e[4]), r & /*temporaryState*/
|
|
365
|
-
32 && (
|
|
435
|
+
32 && (p.temporaryState = /*temporaryState*/
|
|
366
436
|
e[5]), r & /*rendererMap*/
|
|
367
|
-
4 && (
|
|
437
|
+
4 && (p.rendererMap = /*rendererMap*/
|
|
368
438
|
e[2]), r & /*contentTypeMap*/
|
|
369
|
-
8 && (
|
|
370
|
-
e[3]), t.$set(
|
|
439
|
+
8 && (p.contentTypeMap = /*contentTypeMap*/
|
|
440
|
+
e[3]), t.$set(p);
|
|
371
441
|
},
|
|
372
442
|
i(e) {
|
|
373
443
|
i || (_(t.$$.fragment, e), i = !0);
|
|
@@ -380,7 +450,7 @@ function pt(o) {
|
|
|
380
450
|
}
|
|
381
451
|
};
|
|
382
452
|
}
|
|
383
|
-
function
|
|
453
|
+
function nt(o) {
|
|
384
454
|
let t, i, e = (
|
|
385
455
|
/*screenPosition*/
|
|
386
456
|
o[7] && !/*disable*/
|
|
@@ -390,13 +460,13 @@ function mt(o) {
|
|
|
390
460
|
c() {
|
|
391
461
|
e && e.c(), t = U();
|
|
392
462
|
},
|
|
393
|
-
m(r,
|
|
394
|
-
e && e.m(r,
|
|
463
|
+
m(r, p) {
|
|
464
|
+
e && e.m(r, p), I(r, t, p), i = !0;
|
|
395
465
|
},
|
|
396
|
-
p(r, [
|
|
466
|
+
p(r, [p]) {
|
|
397
467
|
/*screenPosition*/
|
|
398
468
|
r[7] && !/*disable*/
|
|
399
|
-
r[13] ? e ? (e.p(r,
|
|
469
|
+
r[13] ? e ? (e.p(r, p), p & /*screenPosition, disable*/
|
|
400
470
|
8320 && _(e, 1)) : (e = j(r), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (L(), g(e, 1, 1, () => {
|
|
401
471
|
e = null;
|
|
402
472
|
}), z());
|
|
@@ -413,36 +483,36 @@ function mt(o) {
|
|
|
413
483
|
};
|
|
414
484
|
}
|
|
415
485
|
function at(o, t, i) {
|
|
416
|
-
let e, r,
|
|
486
|
+
let e, r, p, a, b, k, s, M, u, S, { tag: n } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: m = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
|
|
417
487
|
const w = W("hooks");
|
|
418
488
|
function H(f) {
|
|
419
489
|
x[f ? "unshift" : "push"](() => {
|
|
420
|
-
|
|
490
|
+
n.dom = f, i(0, n);
|
|
421
491
|
});
|
|
422
492
|
}
|
|
423
493
|
return o.$$set = (f) => {
|
|
424
|
-
"tag" in f && i(0,
|
|
494
|
+
"tag" in f && i(0, n = f.tag), "mediaStore" in f && i(1, c = f.mediaStore), "rendererMap" in f && i(2, y = f.rendererMap), "contentTypeMap" in f && i(3, m = f.contentTypeMap), "state" in f && i(4, l = f.state), "temporaryState" in f && i(5, h = f.temporaryState);
|
|
425
495
|
}, o.$$.update = () => {
|
|
426
496
|
var f, q, A, D;
|
|
427
497
|
o.$$.dirty & /*tag, rendererMap*/
|
|
428
498
|
5 && i(8, e = (() => {
|
|
429
499
|
var F, N, R;
|
|
430
|
-
return !(((N = (F =
|
|
500
|
+
return !(((N = (F = n.style) == null ? void 0 : F.point) == null ? void 0 : N.enabled) === !1 || ((R = y.get(n.contentType)) == null ? void 0 : R.usePoint) === !1 || n.contentType === "Sticker" || n.contentType === "Link" || n.contentType === "VRLink" || n.contentType === "PanoLink" || n.contentType === "Panorama" || n.contentType === "Audio" && n.data.appearance === "plane");
|
|
431
501
|
})()), o.$$.dirty & /*tag, havePoint*/
|
|
432
|
-
257 && i(15, r = (() => !(
|
|
433
|
-
1 && i(14,
|
|
434
|
-
1 && i(7, a =
|
|
435
|
-
1 && i(13, b =
|
|
436
|
-
129 && i(12, k = !((f =
|
|
437
|
-
1 && i(6, s = (A =
|
|
502
|
+
257 && i(15, r = (() => !(n.stickType !== "2DPoint" || n.entryFromModel && et(n.five.state.mode) && e))()), o.$$.dirty & /*tag*/
|
|
503
|
+
1 && i(14, p = n.id), o.$$.dirty & /*tag*/
|
|
504
|
+
1 && i(7, a = n.screenPosition), o.$$.dirty & /*tag*/
|
|
505
|
+
1 && i(13, b = n.enabled === !1 || !n.state), o.$$.dirty & /*tag, screenPosition*/
|
|
506
|
+
129 && i(12, k = !((f = n.state) != null && f.visible) || ((q = n.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
|
|
507
|
+
1 && i(6, s = (A = n.state) == null ? void 0 : A.unfolded), o.$$.dirty & /*screenPosition*/
|
|
438
508
|
128 && i(11, M = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
|
|
439
509
|
128 && i(10, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
|
|
440
|
-
65 && i(9, S = s ? ((D =
|
|
510
|
+
65 && i(9, S = s ? ((D = n.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
|
|
441
511
|
}, [
|
|
442
|
-
|
|
512
|
+
n,
|
|
443
513
|
c,
|
|
444
514
|
y,
|
|
445
|
-
|
|
515
|
+
m,
|
|
446
516
|
l,
|
|
447
517
|
h,
|
|
448
518
|
s,
|
|
@@ -453,19 +523,19 @@ function at(o, t, i) {
|
|
|
453
523
|
M,
|
|
454
524
|
k,
|
|
455
525
|
b,
|
|
456
|
-
|
|
526
|
+
p,
|
|
457
527
|
r,
|
|
458
528
|
w,
|
|
459
529
|
H
|
|
460
530
|
];
|
|
461
531
|
}
|
|
462
|
-
class
|
|
532
|
+
class Eo extends J {
|
|
463
533
|
constructor(t) {
|
|
464
534
|
super(), K(
|
|
465
535
|
this,
|
|
466
536
|
t,
|
|
467
537
|
at,
|
|
468
|
-
|
|
538
|
+
nt,
|
|
469
539
|
O,
|
|
470
540
|
{
|
|
471
541
|
tag: 0,
|
|
@@ -480,5 +550,5 @@ class Si extends J {
|
|
|
480
550
|
}
|
|
481
551
|
}
|
|
482
552
|
export {
|
|
483
|
-
|
|
553
|
+
Eo as default
|
|
484
554
|
};
|
|
@@ -46,6 +46,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
|
46
46
|
import { centerPoint as ee } from "../../../shared-utils/three/centerPoint.js";
|
|
47
47
|
import "@realsee/five/line";
|
|
48
48
|
import { anyPositionToVector3 as A } from "../../../shared-utils/positionToVector3.js";
|
|
49
|
+
import "../../../Sculpt/utils/Modules/Global.js";
|
|
49
50
|
import "../../../shared-utils/three/THREESphere.js";
|
|
50
51
|
import { blink as ie, reblink as te } from "../../../shared-utils/three/blink.js";
|
|
51
52
|
import { vectorToCoordinates as ne } from "../../../shared-utils/vectorToCoordinate.js";
|
|
@@ -69,14 +70,83 @@ import "../../utils/tag/adaptConfig.js";
|
|
|
69
70
|
import "../../typings/tag/TagConfig.js";
|
|
70
71
|
import "@realsee/five";
|
|
71
72
|
import "animejs";
|
|
72
|
-
import "../../../
|
|
73
|
+
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
74
|
+
import "../../../Object3DHelperPlugin/Controller.js";
|
|
75
|
+
import "../../../base/BasePlugin.js";
|
|
73
76
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
74
77
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
75
78
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
76
79
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
80
|
+
import "../../../shared-utils/url/absoluteUrl.js";
|
|
81
|
+
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
82
|
+
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
83
|
+
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
84
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
85
|
+
import "../../../shared-utils/three/boundingBox.js";
|
|
86
|
+
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
87
|
+
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
88
|
+
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
89
|
+
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
90
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
91
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
92
|
+
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
93
|
+
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
94
|
+
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
95
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
96
|
+
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
97
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
98
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
99
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
100
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
101
|
+
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
102
|
+
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
103
|
+
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
104
|
+
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
105
|
+
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
106
|
+
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
107
|
+
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
108
|
+
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
109
|
+
import "../../../shared-utils/threex/domevents/index.js";
|
|
110
|
+
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
111
|
+
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
112
|
+
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
113
|
+
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
114
|
+
import "../../../shared-utils/Object3DHelper/index.js";
|
|
115
|
+
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
116
|
+
import "../../../shared-utils/math/rad2Deg.js";
|
|
117
|
+
import "../../../shared-utils/math/deg2Rad.js";
|
|
118
|
+
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
119
|
+
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
120
|
+
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
121
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
122
|
+
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
123
|
+
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
124
|
+
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
125
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
126
|
+
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
127
|
+
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
128
|
+
import "../../../shared-utils/three/THREERaycaster.js";
|
|
129
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
130
|
+
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
131
|
+
import "../../../shared-utils/three/Magnifier.js";
|
|
132
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
133
|
+
import "../../../shared-utils/three/Assets/index.js";
|
|
134
|
+
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
135
|
+
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
136
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
137
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
138
|
+
import "../../../Sculpt/typings/style.js";
|
|
139
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
140
|
+
import "../../../shared-utils/tag.js";
|
|
141
|
+
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
142
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
143
|
+
import "../../../shared-utils/isTouchDevice.js";
|
|
144
|
+
import "../../../shared-utils/five/getPosition.js";
|
|
145
|
+
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
146
|
+
import "../../../shared-utils/formatRad.js";
|
|
77
147
|
const k = new S.Raycaster();
|
|
78
148
|
k.params.Points.threshold = 0.1;
|
|
79
|
-
class
|
|
149
|
+
class ct {
|
|
80
150
|
constructor(i, e) {
|
|
81
151
|
f(this, "plugin");
|
|
82
152
|
f(this, "id");
|
|
@@ -614,5 +684,5 @@ class _e {
|
|
|
614
684
|
}
|
|
615
685
|
}
|
|
616
686
|
export {
|
|
617
|
-
|
|
687
|
+
ct as BaseTag
|
|
618
688
|
};
|