@realsee/dnalogel 3.42.0 → 3.44.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 +8 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/dist/Sculpt/Meshes/Line.d.ts +19 -1
- package/dist/Sculpt/utils/color.d.ts +1 -1
- package/dist/index.cjs.js +102 -68
- package/dist/index.js +7597 -7330
- package/dist/index.umd.js +103 -69
- package/dist/shared-utils/five/getPosition.d.ts +12 -4
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
- package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
- package/dist/shared-utils/positionToVector3.d.ts +6 -6
- package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/dist/shared-utils/three/index.d.ts +2 -3
- package/libs/AreaMakerPlugin/Controller.js +5 -18
- package/libs/AreaMakerPlugin/index.js +4 -17
- package/libs/AreaMakerPlugin/utils/Item.js +13 -26
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +12 -9
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
- package/libs/CruisePlugin/BaseController.js +20 -33
- package/libs/CruisePlugin/Move.js +25 -23
- package/libs/CruisePlugin/Work.js +10 -8
- package/libs/CruisePlugin/index.js +23 -21
- package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
- package/libs/CurrentPanoImagePlugin/index.js +5 -18
- package/libs/GuideLinePlugin/Controller.js +15 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
- package/libs/GuideLinePlugin/index.js +23 -21
- package/libs/ModelMakerPlugin/Controller.js +19 -30
- package/libs/ModelMakerPlugin/index.js +11 -22
- package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
- package/libs/ModelTVVideoPlugin/index.js +12 -9
- package/libs/Object3DHelperPlugin/Controller.js +7 -5
- package/libs/Object3DHelperPlugin/index.js +23 -21
- package/libs/PanoCompassPlugin/Controller.js +18 -15
- package/libs/PanoCompassPlugin/index.js +21 -18
- package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
- package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
- package/libs/PanoDoorLabelPlugin/index.js +5 -18
- package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
- package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
- package/libs/PanoMeasurePlugin/Model/area.js +30 -44
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +35 -40
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
- package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
- package/libs/PanoSpatialTagPlugin/index.js +10 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +80 -93
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
- package/libs/PanoTagPlugin/Components/Tag/index.js +135 -145
- package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
- package/libs/PanoTagPlugin/Components/TagItem.js +74 -84
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +87 -88
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
- package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
- package/libs/PanoTagPlugin/controller/index.js +27 -25
- package/libs/PanoTagPlugin/index.js +28 -26
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
- package/libs/PanoVideoPlugin/Controller.js +52 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
- package/libs/PanoVideoPlugin/index.js +8 -21
- package/libs/PipelinePlugin/Controller.js +44 -57
- package/libs/PipelinePlugin/index.js +5 -18
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
- package/libs/Sculpt/Meshes/Box.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +14 -14
- package/libs/Sculpt/Meshes/Line.d.ts +19 -1
- package/libs/Sculpt/Meshes/Line.js +40 -41
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polyline.js +3 -3
- package/libs/Sculpt/Meshes/Prism.js +11 -12
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/Modules/Global.js +1 -1
- package/libs/Sculpt/utils/color.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/Components/Compass.js +29 -31
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +140 -137
- package/libs/shared-utils/five/getPosition.d.ts +12 -4
- package/libs/shared-utils/five/getPosition.js +23 -23
- package/libs/shared-utils/five/index.js +2 -2
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +38 -40
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
- package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +6 -6
- package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
- package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
- package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
- package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
- package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/libs/shared-utils/three/index.d.ts +2 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/package.json +3 -3
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -62
- package/libs/shared-utils/three/PointHelper.js +0 -73
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
- /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
|
@@ -59,24 +59,10 @@ import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
|
59
59
|
import "./Common/MediaItem.js";
|
|
60
60
|
import "./Tag/MarketingTag.js";
|
|
61
61
|
import "hammerjs";
|
|
62
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
63
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
64
|
-
import "../../shared-utils/positionToVector3.js";
|
|
65
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
66
62
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
67
|
-
import "
|
|
68
|
-
import "../../shared-utils/util.js";
|
|
69
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
70
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
71
|
-
import "../../shared-utils/Subscribe.js";
|
|
72
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
73
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
74
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
75
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
76
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
77
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
78
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
63
|
+
import "@realsee/five/line";
|
|
79
64
|
import "../../shared-utils/three/THREESphere.js";
|
|
65
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
80
66
|
import "../utils/noTypecheck.js";
|
|
81
67
|
import "./Tag/AudioTag/index.js";
|
|
82
68
|
import "./Tag/AudioTag/AudioTag.js";
|
|
@@ -93,11 +79,13 @@ import "./Tag/PanoramaTag.js";
|
|
|
93
79
|
import "./Tag/CustomTag.js";
|
|
94
80
|
import "../../vendor/classnames/index.js";
|
|
95
81
|
import "../controller/Tag/ModelTag.js";
|
|
82
|
+
import "../../shared-utils/positionToVector3.js";
|
|
96
83
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
97
84
|
import "@realsee/five/gltf-loader";
|
|
98
85
|
import "../utils/planeNormal.js";
|
|
99
86
|
import "../utils/tag/tagCheck.js";
|
|
100
87
|
import "../utils/model/mediaPlane.js";
|
|
88
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
101
89
|
import "../../shared-utils/three/loadTexture.js";
|
|
102
90
|
import "../../shared-utils/three/Quadrangle.js";
|
|
103
91
|
import "../../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -107,6 +95,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
107
95
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
108
96
|
import "../../shared-utils/three/getNormal.js";
|
|
109
97
|
import "../controller/Tag/BaseTag.js";
|
|
98
|
+
import "../../shared-utils/Subscribe.js";
|
|
110
99
|
import "../utils/tag/calculateTagConfig.js";
|
|
111
100
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
112
101
|
import "../../shared-utils/typescript/entries.js";
|
|
@@ -116,6 +105,7 @@ import "@realsee/five";
|
|
|
116
105
|
import "../../shared-utils/five/mode.js";
|
|
117
106
|
import "../utils/tag/format.js";
|
|
118
107
|
import "../../shared-utils/three/blink.js";
|
|
108
|
+
import "../../shared-utils/util.js";
|
|
119
109
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
120
110
|
import "../../shared-utils/formatRad.js";
|
|
121
111
|
import "../../shared-utils/five/transformPosition.js";
|
|
@@ -140,21 +130,21 @@ function k(a, t, i) {
|
|
|
140
130
|
return e[8] = t[i], e;
|
|
141
131
|
}
|
|
142
132
|
function b(a) {
|
|
143
|
-
let t, i = [], e = /* @__PURE__ */ new Map(), m, r,
|
|
133
|
+
let t, i = [], e = /* @__PURE__ */ new Map(), m, r, p = (
|
|
144
134
|
/*tags*/
|
|
145
135
|
a[0]
|
|
146
136
|
);
|
|
147
|
-
const f = (
|
|
137
|
+
const f = (n) => (
|
|
148
138
|
/*tag*/
|
|
149
|
-
|
|
139
|
+
n[8].id
|
|
150
140
|
);
|
|
151
|
-
for (let
|
|
152
|
-
let o = k(a,
|
|
153
|
-
e.set(s, i[
|
|
141
|
+
for (let n = 0; n < p.length; n += 1) {
|
|
142
|
+
let o = k(a, p, n), s = f(o);
|
|
143
|
+
e.set(s, i[n] = y(s, o));
|
|
154
144
|
}
|
|
155
145
|
return {
|
|
156
146
|
c() {
|
|
157
|
-
var
|
|
147
|
+
var n;
|
|
158
148
|
t = C("div");
|
|
159
149
|
for (let o = 0; o < i.length; o += 1)
|
|
160
150
|
i[o].c();
|
|
@@ -164,46 +154,46 @@ function b(a) {
|
|
|
164
154
|
t,
|
|
165
155
|
"z-index",
|
|
166
156
|
/*zIndex*/
|
|
167
|
-
(
|
|
157
|
+
(n = a[6]) != null ? n : ""
|
|
168
158
|
);
|
|
169
159
|
},
|
|
170
|
-
m(
|
|
171
|
-
_(
|
|
160
|
+
m(n, o) {
|
|
161
|
+
_(n, t, o);
|
|
172
162
|
for (let s = 0; s < i.length; s += 1)
|
|
173
163
|
i[s] && i[s].m(t, null);
|
|
174
164
|
r = !0;
|
|
175
165
|
},
|
|
176
|
-
p(
|
|
166
|
+
p(n, o) {
|
|
177
167
|
var s;
|
|
178
168
|
o & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap*/
|
|
179
|
-
63 && (
|
|
180
|
-
|
|
169
|
+
63 && (p = /*tags*/
|
|
170
|
+
n[0], S(), i = j(i, o, f, 1, n, p, e, t, A, y, null, k), M()), (!r || o & /*state, temporaryState*/
|
|
181
171
|
48) && h(t, "hide", !/*state*/
|
|
182
|
-
|
|
183
|
-
|
|
172
|
+
n[4].visible || !/*temporaryState*/
|
|
173
|
+
n[5].visible), o & /*zIndex*/
|
|
184
174
|
64 && g(
|
|
185
175
|
t,
|
|
186
176
|
"z-index",
|
|
187
177
|
/*zIndex*/
|
|
188
|
-
(s =
|
|
178
|
+
(s = n[6]) != null ? s : ""
|
|
189
179
|
);
|
|
190
180
|
},
|
|
191
|
-
i(
|
|
181
|
+
i(n) {
|
|
192
182
|
if (!r) {
|
|
193
|
-
for (let o = 0; o <
|
|
183
|
+
for (let o = 0; o < p.length; o += 1)
|
|
194
184
|
c(i[o]);
|
|
195
185
|
m || B(() => {
|
|
196
186
|
m = D(t, J, {}), m.start();
|
|
197
187
|
}), r = !0;
|
|
198
188
|
}
|
|
199
189
|
},
|
|
200
|
-
o(
|
|
190
|
+
o(n) {
|
|
201
191
|
for (let o = 0; o < i.length; o += 1)
|
|
202
192
|
u(i[o]);
|
|
203
193
|
r = !1;
|
|
204
194
|
},
|
|
205
|
-
d(
|
|
206
|
-
|
|
195
|
+
d(n) {
|
|
196
|
+
n && d(t);
|
|
207
197
|
for (let o = 0; o < i.length; o += 1)
|
|
208
198
|
i[o].d();
|
|
209
199
|
}
|
|
@@ -244,23 +234,23 @@ function y(a, t) {
|
|
|
244
234
|
c() {
|
|
245
235
|
i = z(), E(e.$$.fragment), this.first = i;
|
|
246
236
|
},
|
|
247
|
-
m(r,
|
|
248
|
-
_(r, i,
|
|
237
|
+
m(r, p) {
|
|
238
|
+
_(r, i, p), F(e, r, p), m = !0;
|
|
249
239
|
},
|
|
250
|
-
p(r,
|
|
240
|
+
p(r, p) {
|
|
251
241
|
t = r;
|
|
252
242
|
const f = {};
|
|
253
|
-
|
|
243
|
+
p & /*state*/
|
|
254
244
|
16 && (f.state = /*state*/
|
|
255
|
-
t[4]),
|
|
245
|
+
t[4]), p & /*temporaryState*/
|
|
256
246
|
32 && (f.temporaryState = /*temporaryState*/
|
|
257
|
-
t[5]),
|
|
247
|
+
t[5]), p & /*tags*/
|
|
258
248
|
1 && (f.tag = /*tag*/
|
|
259
|
-
t[8]),
|
|
249
|
+
t[8]), p & /*mediaStore*/
|
|
260
250
|
2 && (f.mediaStore = /*mediaStore*/
|
|
261
|
-
t[1]),
|
|
251
|
+
t[1]), p & /*rendererMap*/
|
|
262
252
|
4 && (f.rendererMap = /*rendererMap*/
|
|
263
|
-
t[2]),
|
|
253
|
+
t[2]), p & /*contentTypeMap*/
|
|
264
254
|
8 && (f.contentTypeMap = /*contentTypeMap*/
|
|
265
255
|
t[3]), e.$set(f);
|
|
266
256
|
},
|
|
@@ -306,21 +296,21 @@ function L(a) {
|
|
|
306
296
|
};
|
|
307
297
|
}
|
|
308
298
|
function O(a, t, i) {
|
|
309
|
-
let { tags: e = [] } = t, { hooks: m } = t, { mediaStore: r } = t, { rendererMap:
|
|
299
|
+
let { tags: e = [] } = t, { hooks: m } = t, { mediaStore: r } = t, { rendererMap: p } = t, { contentTypeMap: f } = t, { state: n } = t, { temporaryState: o } = t, { zIndex: s = void 0 } = t;
|
|
310
300
|
return I("hooks", m), a.$$set = (l) => {
|
|
311
|
-
"tags" in l && i(0, e = l.tags), "hooks" in l && i(7, m = l.hooks), "mediaStore" in l && i(1, r = l.mediaStore), "rendererMap" in l && i(2,
|
|
301
|
+
"tags" in l && i(0, e = l.tags), "hooks" in l && i(7, m = l.hooks), "mediaStore" in l && i(1, r = l.mediaStore), "rendererMap" in l && i(2, p = l.rendererMap), "contentTypeMap" in l && i(3, f = l.contentTypeMap), "state" in l && i(4, n = l.state), "temporaryState" in l && i(5, o = l.temporaryState), "zIndex" in l && i(6, s = l.zIndex);
|
|
312
302
|
}, [
|
|
313
303
|
e,
|
|
314
304
|
r,
|
|
315
|
-
n,
|
|
316
|
-
f,
|
|
317
305
|
p,
|
|
306
|
+
f,
|
|
307
|
+
n,
|
|
318
308
|
o,
|
|
319
309
|
s,
|
|
320
310
|
m
|
|
321
311
|
];
|
|
322
312
|
}
|
|
323
|
-
class
|
|
313
|
+
class mi extends v {
|
|
324
314
|
constructor(t) {
|
|
325
315
|
super(), w(
|
|
326
316
|
this,
|
|
@@ -343,5 +333,5 @@ class di extends v {
|
|
|
343
333
|
}
|
|
344
334
|
}
|
|
345
335
|
export {
|
|
346
|
-
|
|
336
|
+
mi as default
|
|
347
337
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { SvelteComponent as J, init as K, safe_not_equal as O, append_styles as Q, empty as U, insert as I, transition_in as _, transition_out as g, check_outros as z, detach as P, getContext as W, element as Z, space as X, attr as d, toggle_class as T, set_style as C, append as Y, group_outros as L, binding_callbacks as x, noop as v, create_component as
|
|
1
|
+
import { SvelteComponent as J, init as K, safe_not_equal as O, append_styles as Q, empty as U, insert as I, transition_in as _, transition_out as g, check_outros as z, detach as P, getContext as W, element as Z, space as X, attr as d, toggle_class as T, set_style as C, append as Y, group_outros as L, binding_callbacks as x, noop as v, create_component as B, mount_component as E, destroy_component as G } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import $ from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
4
|
+
import { noTypecheck as V } from "../utils/noTypecheck.js";
|
|
5
5
|
import tt from "./Common/TagPoint.js";
|
|
6
|
+
import { isModelLike as et } from "../../shared-utils/five/mode.js";
|
|
6
7
|
import "hammerjs";
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
|
+
import "@realsee/five/line";
|
|
10
10
|
import "../../shared-utils/three/THREESphere.js";
|
|
11
11
|
import "animejs";
|
|
12
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
13
|
import "./Tag/TextTag/index.js";
|
|
13
14
|
import "./Tag/TextTag/TextTag.js";
|
|
14
15
|
import "./Common/Line/Straight.js";
|
|
@@ -64,20 +65,6 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
|
64
65
|
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
65
66
|
import "./Common/MediaItem.js";
|
|
66
67
|
import "./Tag/MarketingTag.js";
|
|
67
|
-
import "../../shared-utils/positionToVector3.js";
|
|
68
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
69
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
70
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
71
|
-
import "../../shared-utils/util.js";
|
|
72
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
73
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
74
|
-
import "../../shared-utils/Subscribe.js";
|
|
75
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
76
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
77
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
78
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
79
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
80
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
81
68
|
import "./Tag/AudioTag/index.js";
|
|
82
69
|
import "./Tag/AudioTag/AudioTag.js";
|
|
83
70
|
import "./Common/Audio.js";
|
|
@@ -93,11 +80,13 @@ import "./Tag/PanoramaTag.js";
|
|
|
93
80
|
import "./Tag/CustomTag.js";
|
|
94
81
|
import "../../vendor/classnames/index.js";
|
|
95
82
|
import "../controller/Tag/ModelTag.js";
|
|
83
|
+
import "../../shared-utils/positionToVector3.js";
|
|
96
84
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
97
85
|
import "@realsee/five/gltf-loader";
|
|
98
86
|
import "../utils/planeNormal.js";
|
|
99
87
|
import "../utils/tag/tagCheck.js";
|
|
100
88
|
import "../utils/model/mediaPlane.js";
|
|
89
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
101
90
|
import "../../shared-utils/three/loadTexture.js";
|
|
102
91
|
import "../../shared-utils/three/Quadrangle.js";
|
|
103
92
|
import "../../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -107,15 +96,16 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
107
96
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
108
97
|
import "../../shared-utils/three/getNormal.js";
|
|
109
98
|
import "../controller/Tag/BaseTag.js";
|
|
99
|
+
import "../../shared-utils/Subscribe.js";
|
|
110
100
|
import "../utils/tag/calculateTagConfig.js";
|
|
111
101
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
112
102
|
import "../../shared-utils/typescript/entries.js";
|
|
113
103
|
import "../utils/tag/adaptConfig.js";
|
|
114
104
|
import "../typings/tag/TagConfig.js";
|
|
115
105
|
import "@realsee/five";
|
|
116
|
-
import "../../shared-utils/five/mode.js";
|
|
117
106
|
import "../utils/tag/format.js";
|
|
118
107
|
import "../../shared-utils/three/blink.js";
|
|
108
|
+
import "../../shared-utils/util.js";
|
|
119
109
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
120
110
|
import "../../shared-utils/formatRad.js";
|
|
121
111
|
import "../../shared-utils/five/transformPosition.js";
|
|
@@ -131,24 +121,24 @@ import "../../shared-utils/five/getFloorIndex.js";
|
|
|
131
121
|
import "../../shared-utils/safeObj.js";
|
|
132
122
|
import "../utils/Cache.js";
|
|
133
123
|
import "../../CruisePlugin/utils/sleep.js";
|
|
134
|
-
function
|
|
124
|
+
function it(o) {
|
|
135
125
|
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}");
|
|
136
126
|
}
|
|
137
|
-
function
|
|
127
|
+
function j(o) {
|
|
138
128
|
let t, i, e, r, n, a, b, k, s;
|
|
139
|
-
const
|
|
140
|
-
function
|
|
129
|
+
const M = [rt, ot], u = [];
|
|
130
|
+
function S(p, l) {
|
|
141
131
|
return (
|
|
142
132
|
/*havePoint*/
|
|
143
|
-
p[
|
|
133
|
+
p[8] ? 0 : 1
|
|
144
134
|
);
|
|
145
135
|
}
|
|
146
|
-
i =
|
|
147
|
-
const m = [
|
|
136
|
+
i = S(o), e = u[i] = M[i](o);
|
|
137
|
+
const m = [pt, nt], c = [];
|
|
148
138
|
function y(p, l) {
|
|
149
139
|
return (
|
|
150
140
|
/*haveContent*/
|
|
151
|
-
p[
|
|
141
|
+
p[15] ? 0 : 1
|
|
152
142
|
);
|
|
153
143
|
}
|
|
154
144
|
return n = y(o), a = c[n] = m[n](o), {
|
|
@@ -157,7 +147,7 @@ function B(o) {
|
|
|
157
147
|
t,
|
|
158
148
|
"data-tag-id",
|
|
159
149
|
/*id*/
|
|
160
|
-
o[
|
|
150
|
+
o[14]
|
|
161
151
|
), d(
|
|
162
152
|
t,
|
|
163
153
|
"data-tag-unfolded",
|
|
@@ -165,7 +155,7 @@ function B(o) {
|
|
|
165
155
|
o[6]
|
|
166
156
|
), d(t, "data-content-type", b = /*tag*/
|
|
167
157
|
o[0].contentType), d(t, "id", k = `tag-${/*id*/
|
|
168
|
-
o[
|
|
158
|
+
o[14]}`), T(
|
|
169
159
|
t,
|
|
170
160
|
"unClickable",
|
|
171
161
|
/*tag*/
|
|
@@ -174,20 +164,20 @@ function B(o) {
|
|
|
174
164
|
t,
|
|
175
165
|
"hide",
|
|
176
166
|
/*hide*/
|
|
177
|
-
o[
|
|
167
|
+
o[12]
|
|
178
168
|
), T(
|
|
179
169
|
t,
|
|
180
170
|
"enableZIndex",
|
|
181
171
|
/*zIndex*/
|
|
182
|
-
o[
|
|
172
|
+
o[9]
|
|
183
173
|
), C(
|
|
184
174
|
t,
|
|
185
175
|
"z-index",
|
|
186
176
|
/*zIndex*/
|
|
187
|
-
o[
|
|
177
|
+
o[9]
|
|
188
178
|
), C(t, "transform", `translate3d(${/*left*/
|
|
189
|
-
o[
|
|
190
|
-
o[
|
|
179
|
+
o[11]}, ${/*top*/
|
|
180
|
+
o[10]}, 0) scale(${/*screenPosition*/
|
|
191
181
|
o[7].scale})`);
|
|
192
182
|
},
|
|
193
183
|
m(p, l) {
|
|
@@ -195,18 +185,18 @@ function B(o) {
|
|
|
195
185
|
},
|
|
196
186
|
p(p, l) {
|
|
197
187
|
let h = i;
|
|
198
|
-
i =
|
|
188
|
+
i = S(p), i === h ? u[i].p(p, l) : (L(), g(u[h], 1, 1, () => {
|
|
199
189
|
u[h] = null;
|
|
200
|
-
}), z(), e = u[i], e ? e.p(p, l) : (e = u[i] =
|
|
190
|
+
}), z(), e = u[i], e ? e.p(p, l) : (e = u[i] = M[i](p), e.c()), _(e, 1), e.m(t, r));
|
|
201
191
|
let w = n;
|
|
202
192
|
n = y(p), n === w ? c[n].p(p, l) : (L(), g(c[w], 1, 1, () => {
|
|
203
193
|
c[w] = null;
|
|
204
194
|
}), z(), a = c[n], a ? a.p(p, l) : (a = c[n] = m[n](p), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
|
|
205
|
-
|
|
195
|
+
16384) && d(
|
|
206
196
|
t,
|
|
207
197
|
"data-tag-id",
|
|
208
198
|
/*id*/
|
|
209
|
-
p[
|
|
199
|
+
p[14]
|
|
210
200
|
), (!s || l & /*unfolded*/
|
|
211
201
|
64) && d(
|
|
212
202
|
t,
|
|
@@ -216,35 +206,35 @@ function B(o) {
|
|
|
216
206
|
), (!s || l & /*tag*/
|
|
217
207
|
1 && b !== (b = /*tag*/
|
|
218
208
|
p[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
|
|
219
|
-
|
|
220
|
-
p[
|
|
209
|
+
16384 && k !== (k = `tag-${/*id*/
|
|
210
|
+
p[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
|
|
221
211
|
1) && T(
|
|
222
212
|
t,
|
|
223
213
|
"unClickable",
|
|
224
214
|
/*tag*/
|
|
225
215
|
p[0].config.clickable === !1
|
|
226
216
|
), (!s || l & /*hide*/
|
|
227
|
-
|
|
217
|
+
4096) && T(
|
|
228
218
|
t,
|
|
229
219
|
"hide",
|
|
230
220
|
/*hide*/
|
|
231
|
-
p[
|
|
221
|
+
p[12]
|
|
232
222
|
), (!s || l & /*zIndex*/
|
|
233
|
-
|
|
223
|
+
512) && T(
|
|
234
224
|
t,
|
|
235
225
|
"enableZIndex",
|
|
236
226
|
/*zIndex*/
|
|
237
|
-
p[
|
|
227
|
+
p[9]
|
|
238
228
|
), l & /*zIndex*/
|
|
239
|
-
|
|
229
|
+
512 && C(
|
|
240
230
|
t,
|
|
241
231
|
"z-index",
|
|
242
232
|
/*zIndex*/
|
|
243
|
-
p[
|
|
233
|
+
p[9]
|
|
244
234
|
), l & /*left, top, screenPosition*/
|
|
245
|
-
|
|
246
|
-
p[
|
|
247
|
-
p[
|
|
235
|
+
3200 && C(t, "transform", `translate3d(${/*left*/
|
|
236
|
+
p[11]}, ${/*top*/
|
|
237
|
+
p[10]}, 0) scale(${/*screenPosition*/
|
|
248
238
|
p[7].scale})`);
|
|
249
239
|
},
|
|
250
240
|
i(p) {
|
|
@@ -258,7 +248,7 @@ function B(o) {
|
|
|
258
248
|
}
|
|
259
249
|
};
|
|
260
250
|
}
|
|
261
|
-
function
|
|
251
|
+
function ot(o) {
|
|
262
252
|
let t;
|
|
263
253
|
return {
|
|
264
254
|
c() {
|
|
@@ -275,17 +265,17 @@ function it(o) {
|
|
|
275
265
|
}
|
|
276
266
|
};
|
|
277
267
|
}
|
|
278
|
-
function
|
|
268
|
+
function rt(o) {
|
|
279
269
|
let t, i;
|
|
280
270
|
return t = new tt({ props: { tag: (
|
|
281
271
|
/*tag*/
|
|
282
272
|
o[0]
|
|
283
273
|
) } }), {
|
|
284
274
|
c() {
|
|
285
|
-
|
|
275
|
+
B(t.$$.fragment);
|
|
286
276
|
},
|
|
287
277
|
m(e, r) {
|
|
288
|
-
|
|
278
|
+
E(t, e, r), i = !0;
|
|
289
279
|
},
|
|
290
280
|
p(e, r) {
|
|
291
281
|
const n = {};
|
|
@@ -304,7 +294,7 @@ function ot(o) {
|
|
|
304
294
|
}
|
|
305
295
|
};
|
|
306
296
|
}
|
|
307
|
-
function
|
|
297
|
+
function nt(o) {
|
|
308
298
|
let t;
|
|
309
299
|
return {
|
|
310
300
|
c() {
|
|
@@ -321,7 +311,7 @@ function rt(o) {
|
|
|
321
311
|
}
|
|
322
312
|
};
|
|
323
313
|
}
|
|
324
|
-
function
|
|
314
|
+
function pt(o) {
|
|
325
315
|
let t, i;
|
|
326
316
|
return t = new $({
|
|
327
317
|
props: {
|
|
@@ -329,7 +319,7 @@ function nt(o) {
|
|
|
329
319
|
/*mediaStore*/
|
|
330
320
|
o[1]
|
|
331
321
|
),
|
|
332
|
-
tag:
|
|
322
|
+
tag: V(
|
|
333
323
|
/*tag*/
|
|
334
324
|
o[0]
|
|
335
325
|
),
|
|
@@ -356,17 +346,17 @@ function nt(o) {
|
|
|
356
346
|
}
|
|
357
347
|
}), {
|
|
358
348
|
c() {
|
|
359
|
-
|
|
349
|
+
B(t.$$.fragment);
|
|
360
350
|
},
|
|
361
351
|
m(e, r) {
|
|
362
|
-
|
|
352
|
+
E(t, e, r), i = !0;
|
|
363
353
|
},
|
|
364
354
|
p(e, r) {
|
|
365
355
|
const n = {};
|
|
366
356
|
r & /*mediaStore*/
|
|
367
357
|
2 && (n.mediaStore = /*mediaStore*/
|
|
368
358
|
e[1]), r & /*tag*/
|
|
369
|
-
1 && (n.tag =
|
|
359
|
+
1 && (n.tag = V(
|
|
370
360
|
/*tag*/
|
|
371
361
|
e[0]
|
|
372
362
|
)), r & /*state*/
|
|
@@ -390,11 +380,11 @@ function nt(o) {
|
|
|
390
380
|
}
|
|
391
381
|
};
|
|
392
382
|
}
|
|
393
|
-
function
|
|
383
|
+
function mt(o) {
|
|
394
384
|
let t, i, e = (
|
|
395
385
|
/*screenPosition*/
|
|
396
386
|
o[7] && !/*disable*/
|
|
397
|
-
o[
|
|
387
|
+
o[13] && j(o)
|
|
398
388
|
);
|
|
399
389
|
return {
|
|
400
390
|
c() {
|
|
@@ -406,8 +396,8 @@ function pt(o) {
|
|
|
406
396
|
p(r, [n]) {
|
|
407
397
|
/*screenPosition*/
|
|
408
398
|
r[7] && !/*disable*/
|
|
409
|
-
r[
|
|
410
|
-
|
|
399
|
+
r[13] ? e ? (e.p(r, n), n & /*screenPosition, disable*/
|
|
400
|
+
8320 && _(e, 1)) : (e = j(r), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (L(), g(e, 1, 1, () => {
|
|
411
401
|
e = null;
|
|
412
402
|
}), z());
|
|
413
403
|
},
|
|
@@ -422,8 +412,8 @@ function pt(o) {
|
|
|
422
412
|
}
|
|
423
413
|
};
|
|
424
414
|
}
|
|
425
|
-
function
|
|
426
|
-
let e, r, n, a, b, k, s,
|
|
415
|
+
function at(o, t, i) {
|
|
416
|
+
let e, r, n, a, b, k, s, M, u, S, { tag: m } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: p = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
|
|
427
417
|
const w = W("hooks");
|
|
428
418
|
function H(f) {
|
|
429
419
|
x[f ? "unshift" : "push"](() => {
|
|
@@ -435,19 +425,19 @@ function mt(o, t, i) {
|
|
|
435
425
|
}, o.$$.update = () => {
|
|
436
426
|
var f, q, A, D;
|
|
437
427
|
o.$$.dirty & /*tag, rendererMap*/
|
|
438
|
-
5 && i(
|
|
439
|
-
var N, R
|
|
440
|
-
return !(((
|
|
441
|
-
})()), o.$$.dirty & /*tag*/
|
|
442
|
-
|
|
443
|
-
1 && i(
|
|
428
|
+
5 && i(8, e = (() => {
|
|
429
|
+
var F, N, R;
|
|
430
|
+
return !(((N = (F = m.style) == null ? void 0 : F.point) == null ? void 0 : N.enabled) === !1 || ((R = y.get(m.contentType)) == null ? void 0 : R.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
|
|
431
|
+
})()), o.$$.dirty & /*tag, havePoint*/
|
|
432
|
+
257 && i(15, r = (() => !(m.stickType !== "2DPoint" || m.entryFromModel && et(m.five.state.mode) && e))()), o.$$.dirty & /*tag*/
|
|
433
|
+
1 && i(14, n = m.id), o.$$.dirty & /*tag*/
|
|
444
434
|
1 && i(7, a = m.screenPosition), o.$$.dirty & /*tag*/
|
|
445
|
-
1 && i(
|
|
446
|
-
129 && i(
|
|
435
|
+
1 && i(13, b = m.enabled === !1 || !m.state), o.$$.dirty & /*tag, screenPosition*/
|
|
436
|
+
129 && i(12, k = !((f = m.state) != null && f.visible) || ((q = m.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
|
|
447
437
|
1 && i(6, s = (A = m.state) == null ? void 0 : A.unfolded), o.$$.dirty & /*screenPosition*/
|
|
448
|
-
128 && i(
|
|
449
|
-
128 && i(
|
|
450
|
-
65 && i(
|
|
438
|
+
128 && i(11, M = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
|
|
439
|
+
128 && i(10, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
|
|
440
|
+
65 && i(9, S = s ? ((D = m.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
|
|
451
441
|
}, [
|
|
452
442
|
m,
|
|
453
443
|
c,
|
|
@@ -457,25 +447,25 @@ function mt(o, t, i) {
|
|
|
457
447
|
h,
|
|
458
448
|
s,
|
|
459
449
|
a,
|
|
460
|
-
|
|
461
|
-
u,
|
|
450
|
+
e,
|
|
462
451
|
S,
|
|
452
|
+
u,
|
|
453
|
+
M,
|
|
463
454
|
k,
|
|
464
455
|
b,
|
|
465
456
|
n,
|
|
466
457
|
r,
|
|
467
|
-
e,
|
|
468
458
|
w,
|
|
469
459
|
H
|
|
470
460
|
];
|
|
471
461
|
}
|
|
472
|
-
class
|
|
462
|
+
class Si extends J {
|
|
473
463
|
constructor(t) {
|
|
474
464
|
super(), K(
|
|
475
465
|
this,
|
|
476
466
|
t,
|
|
467
|
+
at,
|
|
477
468
|
mt,
|
|
478
|
-
pt,
|
|
479
469
|
O,
|
|
480
470
|
{
|
|
481
471
|
tag: 0,
|
|
@@ -485,10 +475,10 @@ class Ai extends J {
|
|
|
485
475
|
state: 4,
|
|
486
476
|
temporaryState: 5
|
|
487
477
|
},
|
|
488
|
-
|
|
478
|
+
it
|
|
489
479
|
);
|
|
490
480
|
}
|
|
491
481
|
}
|
|
492
482
|
export {
|
|
493
|
-
|
|
483
|
+
Si as default
|
|
494
484
|
};
|