@realsee/dnalogel 3.78.0-alpha.3 → 3.78.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 +40 -10
- package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
- package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
- package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
- package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
- package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
- package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
- package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
- package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
- package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/dist/Sculpt/Meshes/Line.d.ts +4 -0
- package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/dist/index.cjs.js +101 -88
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14196 -12441
- package/dist/index.umd.js +83 -70
- package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
- package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
- package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
- package/libs/DigitalPerformancePlugin/mock.js +272 -274
- package/libs/GuideLinePlugin/Controller.js +7 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/MeasurePlugin/Controller.js +11 -10
- package/libs/MeasurePlugin/index.js +5 -4
- package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +20 -19
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +50 -49
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +69 -65
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +30 -29
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/libs/PanoTagPlugin/utils/index.js +31 -30
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
- package/libs/PanoVideoPlugin/Controller.js +9 -8
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +3 -2
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/Sculpt/Meshes/Line.d.ts +4 -0
- package/libs/Sculpt/Meshes/Line.js +85 -76
- package/libs/Sculpt/Meshes/Point.js +28 -28
- package/libs/Sculpt/Meshes/Polygon.js +43 -43
- package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/libs/Sculpt/Objects/Base/Editor.js +72 -63
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
- package/libs/base/BasePlugin.js +5 -5
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.d.ts +1 -0
- package/libs/index.js +162 -150
- package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
- package/libs/shared-utils/url/replace-static-prefix.js +12 -7
- package/package.json +3 -3
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Image_Default_Point as
|
|
1
|
+
import { SvelteComponent as pe, init as ue, flush as y, safe_not_equal as me, append_styles as fe, element as M, space as z, create_component as D, attr as T, set_style as x, toggle_class as w, insert as F, append as C, mount_component as S, transition_out as L, check_outros as ce, transition_in as E, detach as O, destroy_component as U, getContext as ge, createEventDispatcher as he, group_outros as _e, binding_callbacks as Y, bubble as ve, noop as $, listen as A, run_all as be } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import ke from "./Shadow.js";
|
|
3
|
+
import ye from "./Icon/Icon.js";
|
|
4
|
+
import { Image_Default_Point as we } from "../../Assets/Icon.js";
|
|
5
5
|
import "../../../shared-utils/tag.js";
|
|
6
|
-
import { isModelLike as
|
|
6
|
+
import { isModelLike as Pe } from "../../../shared-utils/five/mode.js";
|
|
7
7
|
import "three";
|
|
8
8
|
import "../../../vendor/hammerjs/hammer.js";
|
|
9
9
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
@@ -17,8 +17,8 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
17
17
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
18
18
|
import "../../../vendor/earcut/src/earcut.js";
|
|
19
19
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
20
|
-
import
|
|
21
|
-
import { noTypecheck as
|
|
20
|
+
import Ce from "../Tag/AudioTag/AudioPoint.js";
|
|
21
|
+
import { noTypecheck as Z } from "../../utils/noTypecheck.js";
|
|
22
22
|
import "../../../vendor/svelte/transition/index.js";
|
|
23
23
|
import "../../../vendor/svelte/easing/index.js";
|
|
24
24
|
import "../../utils/getImageInfo.js";
|
|
@@ -59,6 +59,7 @@ import "../../../shared-utils/three/IObject3D.js";
|
|
|
59
59
|
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
60
60
|
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
61
61
|
import "../../../shared-utils/util.js";
|
|
62
|
+
import "../../../shared-utils/five/getFiveFromParentChain.js";
|
|
62
63
|
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
63
64
|
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
64
65
|
import "../../../shared-utils/three/core/Line2.js";
|
|
@@ -81,63 +82,61 @@ import "../../utils/audio/SharedAudio.js";
|
|
|
81
82
|
import "../../../shared-utils/audio.js";
|
|
82
83
|
import "../../utils/audio/AudioDiagnostics.js";
|
|
83
84
|
import "./Icon/audioIcon.js";
|
|
84
|
-
function
|
|
85
|
-
|
|
85
|
+
function Me(t) {
|
|
86
|
+
fe(t, "svelte-dorxu0", '@charset "UTF-8";.tag-point-click-helper.svelte-dorxu0.svelte-dorxu0{position:absolute;pointer-events:auto;cursor:pointer;width:141%;height:141%;left:50%;top:50%;transform:translate(-50%, -50%);z-index:1000000}.audio-tag-point-click-helper.svelte-dorxu0.svelte-dorxu0{position:absolute;width:100%;height:100%;pointer-events:none;z-index:1}.tag-point-wrapper.svelte-dorxu0.svelte-dorxu0{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);cursor:pointer;z-index:1040}.tag-folded-point.svelte-dorxu0.svelte-dorxu0,.tag-unfolded-point.svelte-dorxu0.svelte-dorxu0{transition:all 0.5s}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:1;scale:1}.tag-point-wrapper.disable-unfold.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:1 !important;scale:1 !important}.tag-point-wrapper.disable-unfold.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:0 !important;scale:1 !important}');
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function Te(t) {
|
|
88
89
|
let e;
|
|
89
90
|
return {
|
|
90
91
|
c() {
|
|
91
92
|
e = M("div"), T(e, "class", "audio-tag-point-click-helper svelte-dorxu0");
|
|
92
93
|
},
|
|
93
94
|
m(n, i) {
|
|
94
|
-
|
|
95
|
+
F(n, e, i), t[20](e);
|
|
95
96
|
},
|
|
96
|
-
p:
|
|
97
|
+
p: $,
|
|
97
98
|
d(n) {
|
|
98
|
-
n &&
|
|
99
|
+
n && O(e), t[20](null);
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
+
function Le(t) {
|
|
103
104
|
let e, n, i;
|
|
104
105
|
return {
|
|
105
106
|
c() {
|
|
106
107
|
e = M("div"), T(e, "class", "tag-point-click-helper svelte-dorxu0");
|
|
107
108
|
},
|
|
108
|
-
m(
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
m(a, s) {
|
|
110
|
+
F(a, e, s), t[19](e), n || (i = [
|
|
111
|
+
A(
|
|
111
112
|
e,
|
|
112
113
|
"click",
|
|
113
114
|
/*click_handler*/
|
|
114
|
-
t[
|
|
115
|
+
t[16]
|
|
115
116
|
),
|
|
116
|
-
|
|
117
|
+
A(
|
|
117
118
|
e,
|
|
118
119
|
"pointerenter",
|
|
119
120
|
/*pointerenter_handler*/
|
|
120
|
-
t[
|
|
121
|
+
t[17]
|
|
121
122
|
),
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
123
|
+
A(
|
|
124
|
+
e,
|
|
125
|
+
"pointerleave",
|
|
126
|
+
/*pointerleave_handler*/
|
|
127
|
+
t[18]
|
|
128
|
+
)
|
|
128
129
|
], n = !0);
|
|
129
130
|
},
|
|
130
|
-
p
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
d(l) {
|
|
134
|
-
l && S(e), t[17](null), n = !1, _e(i);
|
|
131
|
+
p: $,
|
|
132
|
+
d(a) {
|
|
133
|
+
a && O(e), t[19](null), n = !1, be(i);
|
|
135
134
|
}
|
|
136
135
|
};
|
|
137
136
|
}
|
|
138
|
-
function
|
|
137
|
+
function Ee(t) {
|
|
139
138
|
let e, n;
|
|
140
|
-
return e = new
|
|
139
|
+
return e = new ye({
|
|
141
140
|
props: {
|
|
142
141
|
icon: (
|
|
143
142
|
/*url*/
|
|
@@ -151,19 +150,19 @@ function Te(t) {
|
|
|
151
150
|
}), e.$on(
|
|
152
151
|
"iconLoaded",
|
|
153
152
|
/*iconLoaded_handler*/
|
|
154
|
-
t[
|
|
153
|
+
t[23]
|
|
155
154
|
), {
|
|
156
155
|
c() {
|
|
157
|
-
|
|
156
|
+
D(e.$$.fragment);
|
|
158
157
|
},
|
|
159
|
-
m(i,
|
|
160
|
-
|
|
158
|
+
m(i, a) {
|
|
159
|
+
S(e, i, a), n = !0;
|
|
161
160
|
},
|
|
162
|
-
p(i,
|
|
161
|
+
p(i, a) {
|
|
163
162
|
const s = {};
|
|
164
|
-
|
|
163
|
+
a & /*url*/
|
|
165
164
|
256 && (s.icon = /*url*/
|
|
166
|
-
i[8]),
|
|
165
|
+
i[8]), a & /*width*/
|
|
167
166
|
128 && (s.width = /*width*/
|
|
168
167
|
i[7]), e.$set(s);
|
|
169
168
|
},
|
|
@@ -174,25 +173,25 @@ function Te(t) {
|
|
|
174
173
|
L(e.$$.fragment, i), n = !1;
|
|
175
174
|
},
|
|
176
175
|
d(i) {
|
|
177
|
-
|
|
176
|
+
U(e, i);
|
|
178
177
|
}
|
|
179
178
|
};
|
|
180
179
|
}
|
|
181
|
-
function
|
|
180
|
+
function He(t) {
|
|
182
181
|
let e, n;
|
|
183
|
-
return e = new
|
|
182
|
+
return e = new Ce({
|
|
184
183
|
props: {
|
|
185
|
-
tag:
|
|
184
|
+
tag: Z(
|
|
186
185
|
/*tag*/
|
|
187
186
|
t[1]
|
|
188
187
|
),
|
|
189
188
|
handlePointClick: (
|
|
190
189
|
/*func*/
|
|
191
|
-
t[
|
|
190
|
+
t[21]
|
|
192
191
|
),
|
|
193
192
|
handleMouseEnter: (
|
|
194
193
|
/*func_1*/
|
|
195
|
-
t[
|
|
194
|
+
t[22]
|
|
196
195
|
),
|
|
197
196
|
handleMouseLeave: (
|
|
198
197
|
/*handleMouseLeave*/
|
|
@@ -202,41 +201,41 @@ function Le(t) {
|
|
|
202
201
|
}), e.$on(
|
|
203
202
|
"audioRef",
|
|
204
203
|
/*audioEventHandlers*/
|
|
205
|
-
t[
|
|
204
|
+
t[14].audioRef
|
|
206
205
|
), e.$on(
|
|
207
206
|
"play",
|
|
208
207
|
/*audioEventHandlers*/
|
|
209
|
-
t[
|
|
208
|
+
t[14].play
|
|
210
209
|
), e.$on(
|
|
211
210
|
"pause",
|
|
212
211
|
/*audioEventHandlers*/
|
|
213
|
-
t[
|
|
212
|
+
t[14].pause
|
|
214
213
|
), e.$on(
|
|
215
214
|
"timeupdate",
|
|
216
215
|
/*audioEventHandlers*/
|
|
217
|
-
t[
|
|
216
|
+
t[14].timeupdate
|
|
218
217
|
), e.$on(
|
|
219
218
|
"duration",
|
|
220
219
|
/*audioEventHandlers*/
|
|
221
|
-
t[
|
|
220
|
+
t[14].duration
|
|
222
221
|
), {
|
|
223
222
|
c() {
|
|
224
|
-
|
|
223
|
+
D(e.$$.fragment);
|
|
225
224
|
},
|
|
226
|
-
m(i,
|
|
227
|
-
|
|
225
|
+
m(i, a) {
|
|
226
|
+
S(e, i, a), n = !0;
|
|
228
227
|
},
|
|
229
|
-
p(i,
|
|
228
|
+
p(i, a) {
|
|
230
229
|
const s = {};
|
|
231
|
-
|
|
232
|
-
2 && (s.tag =
|
|
230
|
+
a & /*tag*/
|
|
231
|
+
2 && (s.tag = Z(
|
|
233
232
|
/*tag*/
|
|
234
233
|
i[1]
|
|
235
|
-
)),
|
|
234
|
+
)), a & /*handleTagPointClick*/
|
|
236
235
|
16 && (s.handlePointClick = /*func*/
|
|
237
|
-
i[
|
|
236
|
+
i[21]), a & /*tag, handleMouseEnter*/
|
|
238
237
|
6 && (s.handleMouseEnter = /*func_1*/
|
|
239
|
-
i[
|
|
238
|
+
i[22]), a & /*handleMouseLeave*/
|
|
240
239
|
8 && (s.handleMouseLeave = /*handleMouseLeave*/
|
|
241
240
|
i[3]), e.$set(s);
|
|
242
241
|
},
|
|
@@ -247,20 +246,20 @@ function Le(t) {
|
|
|
247
246
|
L(e.$$.fragment, i), n = !1;
|
|
248
247
|
},
|
|
249
248
|
d(i) {
|
|
250
|
-
|
|
249
|
+
U(e, i);
|
|
251
250
|
}
|
|
252
251
|
};
|
|
253
252
|
}
|
|
254
|
-
function
|
|
255
|
-
let e, n, i,
|
|
256
|
-
function v(r,
|
|
253
|
+
function Ie(t) {
|
|
254
|
+
let e, n, i, a, s, P, f, u, d, l;
|
|
255
|
+
function v(r, p) {
|
|
257
256
|
return (
|
|
258
257
|
/*isAudioTag*/
|
|
259
|
-
r[6] ?
|
|
258
|
+
r[6] ? Te : Le
|
|
260
259
|
);
|
|
261
260
|
}
|
|
262
261
|
let h = v(t), m = h(t);
|
|
263
|
-
i = new
|
|
262
|
+
i = new ke({
|
|
264
263
|
props: {
|
|
265
264
|
center: !0,
|
|
266
265
|
blurRadius: 15,
|
|
@@ -268,16 +267,16 @@ function Ee(t) {
|
|
|
268
267
|
opacity: 0.3
|
|
269
268
|
}
|
|
270
269
|
});
|
|
271
|
-
const b = [
|
|
272
|
-
function g(r,
|
|
270
|
+
const b = [He, Ee], c = [];
|
|
271
|
+
function g(r, p) {
|
|
273
272
|
return (
|
|
274
273
|
/*isAudioTag*/
|
|
275
274
|
r[6] ? 0 : 1
|
|
276
275
|
);
|
|
277
276
|
}
|
|
278
|
-
return
|
|
277
|
+
return u = g(t), d = c[u] = b[u](t), {
|
|
279
278
|
c() {
|
|
280
|
-
e = M("div"), m.c(), n =
|
|
279
|
+
e = M("div"), m.c(), n = z(), D(i.$$.fragment), a = z(), s = M("div"), P = z(), f = M("div"), d.c(), T(s, "class", "tag-unfolded-point svelte-dorxu0"), x(
|
|
281
280
|
s,
|
|
282
281
|
"transition-delay",
|
|
283
282
|
/*folded*/
|
|
@@ -285,7 +284,7 @@ function Ee(t) {
|
|
|
285
284
|
/*foldDelay*/
|
|
286
285
|
t[11]
|
|
287
286
|
) : 0) + "ms"
|
|
288
|
-
), T(f, "class", "tag-folded-point svelte-dorxu0"),
|
|
287
|
+
), T(f, "class", "tag-folded-point svelte-dorxu0"), x(
|
|
289
288
|
f,
|
|
290
289
|
"transition-delay",
|
|
291
290
|
/*folded*/
|
|
@@ -310,12 +309,12 @@ function Ee(t) {
|
|
|
310
309
|
t[1].isPopoverConfigEnabled()
|
|
311
310
|
);
|
|
312
311
|
},
|
|
313
|
-
m(r,
|
|
314
|
-
|
|
312
|
+
m(r, p) {
|
|
313
|
+
F(r, e, p), m.m(e, null), C(e, n), S(i, e, null), C(e, a), C(e, s), C(e, P), C(e, f), c[u].m(f, null), l = !0;
|
|
315
314
|
},
|
|
316
|
-
p(r, [
|
|
317
|
-
h === (h = v(r)) && m ? m.p(r,
|
|
318
|
-
512 &&
|
|
315
|
+
p(r, [p]) {
|
|
316
|
+
h === (h = v(r)) && m ? m.p(r, p) : (m.d(1), m = h(r), m && (m.c(), m.m(e, n))), p & /*folded*/
|
|
317
|
+
512 && x(
|
|
319
318
|
s,
|
|
320
319
|
"transition-delay",
|
|
321
320
|
/*folded*/
|
|
@@ -324,11 +323,11 @@ function Ee(t) {
|
|
|
324
323
|
r[11]
|
|
325
324
|
) : 0) + "ms"
|
|
326
325
|
);
|
|
327
|
-
let _ =
|
|
328
|
-
|
|
326
|
+
let _ = u;
|
|
327
|
+
u = g(r), u === _ ? c[u].p(r, p) : (_e(), L(c[_], 1, 1, () => {
|
|
329
328
|
c[_] = null;
|
|
330
|
-
}),
|
|
331
|
-
512 &&
|
|
329
|
+
}), ce(), d = c[u], d ? d.p(r, p) : (d = c[u] = b[u](r), d.c()), E(d, 1), d.m(f, null)), p & /*folded*/
|
|
330
|
+
512 && x(
|
|
332
331
|
f,
|
|
333
332
|
"transition-delay",
|
|
334
333
|
/*folded*/
|
|
@@ -336,19 +335,19 @@ function Ee(t) {
|
|
|
336
335
|
/*foldDelay*/
|
|
337
336
|
r[11]
|
|
338
337
|
) : 0) + "ms"
|
|
339
|
-
), (!
|
|
338
|
+
), (!l || p & /*unfolded*/
|
|
340
339
|
32) && w(
|
|
341
340
|
e,
|
|
342
341
|
"unfolded",
|
|
343
342
|
/*unfolded*/
|
|
344
343
|
r[5]
|
|
345
|
-
), (!
|
|
344
|
+
), (!l || p & /*folded*/
|
|
346
345
|
512) && w(
|
|
347
346
|
e,
|
|
348
347
|
"folded",
|
|
349
348
|
/*folded*/
|
|
350
349
|
r[9]
|
|
351
|
-
), (!
|
|
350
|
+
), (!l || p & /*tag*/
|
|
352
351
|
2) && w(
|
|
353
352
|
e,
|
|
354
353
|
"disable-unfold",
|
|
@@ -357,21 +356,21 @@ function Ee(t) {
|
|
|
357
356
|
);
|
|
358
357
|
},
|
|
359
358
|
i(r) {
|
|
360
|
-
|
|
359
|
+
l || (E(i.$$.fragment, r), E(d), l = !0);
|
|
361
360
|
},
|
|
362
361
|
o(r) {
|
|
363
|
-
L(i.$$.fragment, r), L(d),
|
|
362
|
+
L(i.$$.fragment, r), L(d), l = !1;
|
|
364
363
|
},
|
|
365
364
|
d(r) {
|
|
366
|
-
r &&
|
|
365
|
+
r && O(e), m.d(), U(i), c[u].d();
|
|
367
366
|
}
|
|
368
367
|
};
|
|
369
368
|
}
|
|
370
|
-
function
|
|
371
|
-
var
|
|
372
|
-
let i,
|
|
373
|
-
const
|
|
374
|
-
let { tag:
|
|
369
|
+
function xe(t, e, n) {
|
|
370
|
+
var j, q, B;
|
|
371
|
+
let i, a, s, P, f;
|
|
372
|
+
const u = ge("hooks"), d = he();
|
|
373
|
+
let { tag: l } = e, v, h = !1;
|
|
375
374
|
const m = () => {
|
|
376
375
|
v !== void 0 && clearTimeout(v), h = !0, v = setTimeout(
|
|
377
376
|
() => {
|
|
@@ -380,59 +379,61 @@ function He(t, e, n) {
|
|
|
380
379
|
800
|
|
381
380
|
);
|
|
382
381
|
}, b = (o) => {
|
|
383
|
-
h || (
|
|
384
|
-
}, c = (() =>
|
|
382
|
+
h || (l.entryFromModel && Pe(l.five.state.mode) ? l.find({ targetMode: "Panorama" }).then(() => l.unfoldAndFoldOthers()) : u.emit("click", { event: o, target: "TagPoint", tag: l }));
|
|
383
|
+
}, c = (() => l.contentType === "Text" && l.data.appearance === "plane" ? 500 : 800)();
|
|
385
384
|
let { tagPointClickHelper: g = null } = e, { handleMouseEnter: r = () => {
|
|
386
|
-
} } = e, { handleMouseLeave:
|
|
385
|
+
} } = e, { handleMouseLeave: p = () => {
|
|
387
386
|
} } = e, { handleTagPointClick: _ = () => {
|
|
388
387
|
} } = e;
|
|
389
|
-
const
|
|
390
|
-
let { audioInstance:
|
|
391
|
-
const
|
|
388
|
+
const ee = () => !0, R = (q = (j = l.config.popoverConfig) == null ? void 0 : j.beforeOpen) != null ? q : ee, H = (B = l.config.popoverConfig) == null ? void 0 : B.onHoverEnd;
|
|
389
|
+
let { audioInstance: I = null } = e;
|
|
390
|
+
const te = {
|
|
392
391
|
audioRef: (o) => {
|
|
393
|
-
n(
|
|
392
|
+
n(15, I = o.detail), d("audioInstanceReady", I);
|
|
394
393
|
},
|
|
395
394
|
play: () => d("audioPlay"),
|
|
396
395
|
pause: () => d("audioPause"),
|
|
397
396
|
timeupdate: (o) => d("audioTimeUpdate", o.detail),
|
|
398
397
|
duration: (o) => d("audioDuration", o.detail)
|
|
399
|
-
},
|
|
398
|
+
}, oe = (o) => {
|
|
400
399
|
_(o), b(o);
|
|
401
|
-
},
|
|
402
|
-
|
|
400
|
+
}, ie = (o) => {
|
|
401
|
+
R(l) && r(o);
|
|
402
|
+
}, ne = (o) => {
|
|
403
|
+
p(o), H == null || H(l, o);
|
|
403
404
|
};
|
|
404
|
-
function
|
|
405
|
-
|
|
405
|
+
function re(o) {
|
|
406
|
+
Y[o ? "unshift" : "push"](() => {
|
|
406
407
|
g = o, n(0, g);
|
|
407
408
|
});
|
|
408
409
|
}
|
|
409
|
-
function
|
|
410
|
-
|
|
410
|
+
function le(o) {
|
|
411
|
+
Y[o ? "unshift" : "push"](() => {
|
|
411
412
|
g = o, n(0, g);
|
|
412
413
|
});
|
|
413
414
|
}
|
|
414
|
-
const
|
|
415
|
+
const ae = (o) => {
|
|
415
416
|
_(o), b(o);
|
|
416
|
-
},
|
|
417
|
-
|
|
417
|
+
}, se = (o) => {
|
|
418
|
+
R(l) && r(o);
|
|
418
419
|
};
|
|
419
|
-
function
|
|
420
|
-
|
|
420
|
+
function de(o) {
|
|
421
|
+
ve.call(this, t, o);
|
|
421
422
|
}
|
|
422
423
|
return t.$$set = (o) => {
|
|
423
|
-
"tag" in o && n(1,
|
|
424
|
+
"tag" in o && n(1, l = o.tag), "tagPointClickHelper" in o && n(0, g = o.tagPointClickHelper), "handleMouseEnter" in o && n(2, r = o.handleMouseEnter), "handleMouseLeave" in o && n(3, p = o.handleMouseLeave), "handleTagPointClick" in o && n(4, _ = o.handleTagPointClick), "audioInstance" in o && n(15, I = o.audioInstance);
|
|
424
425
|
}, t.$$.update = () => {
|
|
425
|
-
var o,
|
|
426
|
+
var o, W, X, G;
|
|
426
427
|
t.$$.dirty & /*tag*/
|
|
427
|
-
2 && n(5, i = (o =
|
|
428
|
-
32 && n(9,
|
|
429
|
-
2 && n(8, s = (
|
|
428
|
+
2 && n(5, i = (o = l.state) == null ? void 0 : o.unfolded), t.$$.dirty & /*unfolded*/
|
|
429
|
+
32 && n(9, a = !i), t.$$.dirty & /*tag*/
|
|
430
|
+
2 && n(8, s = (X = (W = l.style) == null ? void 0 : W.point) != null && X.url ? (G = l.style) == null ? void 0 : G.point : { url: we }), t.$$.dirty & /*tag*/
|
|
430
431
|
2 && n(7, P = (() => {
|
|
431
|
-
var
|
|
432
|
-
const
|
|
433
|
-
if (typeof
|
|
434
|
-
return
|
|
435
|
-
const k = (
|
|
432
|
+
var K, N, Q, V;
|
|
433
|
+
const J = (N = (K = l.style) == null ? void 0 : K.point) == null ? void 0 : N.width;
|
|
434
|
+
if (typeof J == "number")
|
|
435
|
+
return J;
|
|
436
|
+
const k = (V = (Q = l.style) == null ? void 0 : Q.point) == null ? void 0 : V.size;
|
|
436
437
|
if (typeof k == "number")
|
|
437
438
|
return k;
|
|
438
439
|
if (k === "S")
|
|
@@ -444,49 +445,51 @@ function He(t, e, n) {
|
|
|
444
445
|
if (k === "XL")
|
|
445
446
|
return 28;
|
|
446
447
|
})()), t.$$.dirty & /*tag*/
|
|
447
|
-
2 && n(6, f =
|
|
448
|
+
2 && n(6, f = l.contentType === "Audio" && l.data.appearance === "plane");
|
|
448
449
|
}, m(), [
|
|
449
450
|
g,
|
|
450
|
-
|
|
451
|
+
l,
|
|
451
452
|
r,
|
|
452
|
-
|
|
453
|
+
p,
|
|
453
454
|
_,
|
|
454
455
|
i,
|
|
455
456
|
f,
|
|
456
457
|
P,
|
|
457
458
|
s,
|
|
458
|
-
|
|
459
|
+
a,
|
|
459
460
|
b,
|
|
460
461
|
c,
|
|
461
|
-
|
|
462
|
-
Z,
|
|
462
|
+
R,
|
|
463
463
|
H,
|
|
464
|
-
$,
|
|
465
|
-
ee,
|
|
466
464
|
te,
|
|
465
|
+
I,
|
|
467
466
|
oe,
|
|
468
467
|
ie,
|
|
469
468
|
ne,
|
|
470
|
-
re
|
|
469
|
+
re,
|
|
470
|
+
le,
|
|
471
|
+
ae,
|
|
472
|
+
se,
|
|
473
|
+
de
|
|
471
474
|
];
|
|
472
475
|
}
|
|
473
|
-
class
|
|
476
|
+
class so extends pe {
|
|
474
477
|
constructor(e) {
|
|
475
|
-
super(),
|
|
478
|
+
super(), ue(
|
|
476
479
|
this,
|
|
477
480
|
e,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
+
xe,
|
|
482
|
+
Ie,
|
|
483
|
+
me,
|
|
481
484
|
{
|
|
482
485
|
tag: 1,
|
|
483
486
|
tagPointClickHelper: 0,
|
|
484
487
|
handleMouseEnter: 2,
|
|
485
488
|
handleMouseLeave: 3,
|
|
486
489
|
handleTagPointClick: 4,
|
|
487
|
-
audioInstance:
|
|
490
|
+
audioInstance: 15
|
|
488
491
|
},
|
|
489
|
-
|
|
492
|
+
Me
|
|
490
493
|
);
|
|
491
494
|
}
|
|
492
495
|
get tag() {
|
|
@@ -520,12 +523,12 @@ class ro extends ae {
|
|
|
520
523
|
this.$$set({ handleTagPointClick: e }), y();
|
|
521
524
|
}
|
|
522
525
|
get audioInstance() {
|
|
523
|
-
return this.$$.ctx[
|
|
526
|
+
return this.$$.ctx[15];
|
|
524
527
|
}
|
|
525
528
|
set audioInstance(e) {
|
|
526
529
|
this.$$set({ audioInstance: e }), y();
|
|
527
530
|
}
|
|
528
531
|
}
|
|
529
532
|
export {
|
|
530
|
-
|
|
533
|
+
so as default
|
|
531
534
|
};
|
|
@@ -65,6 +65,7 @@ import "../../../../Sculpt/typings/style.js";
|
|
|
65
65
|
import "../../../../shared-utils/three/IObject3D.js";
|
|
66
66
|
import "../../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
67
67
|
import "../../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
68
|
+
import "../../../../shared-utils/five/getFiveFromParentChain.js";
|
|
68
69
|
import "../../../../shared-utils/three/core/LineGeometry.js";
|
|
69
70
|
import "../../../../shared-utils/three/core/LineMaterial.js";
|
|
70
71
|
import "../../../../shared-utils/three/core/Line2.js";
|
|
@@ -286,7 +287,7 @@ function F(r, e, m) {
|
|
|
286
287
|
D
|
|
287
288
|
];
|
|
288
289
|
}
|
|
289
|
-
class
|
|
290
|
+
class he extends C {
|
|
290
291
|
constructor(e) {
|
|
291
292
|
super(), S(this, e, F, E, v, {
|
|
292
293
|
showArrow: 0,
|
|
@@ -306,5 +307,5 @@ class le extends C {
|
|
|
306
307
|
}
|
|
307
308
|
}
|
|
308
309
|
export {
|
|
309
|
-
|
|
310
|
+
he as default
|
|
310
311
|
};
|
|
@@ -50,6 +50,7 @@ import "../../../../shared-utils/three/IObject3D.js";
|
|
|
50
50
|
import "../../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
51
51
|
import "../../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
52
52
|
import "../../../../shared-utils/util.js";
|
|
53
|
+
import "../../../../shared-utils/five/getFiveFromParentChain.js";
|
|
53
54
|
import "../../../../shared-utils/three/core/LineGeometry.js";
|
|
54
55
|
import "../../../../shared-utils/three/core/LineMaterial.js";
|
|
55
56
|
import "../../../../shared-utils/three/core/Line2.js";
|
|
@@ -266,7 +267,7 @@ function K(n, t, p) {
|
|
|
266
267
|
32 && p(2, r = (() => k(o.data.highlightText) && o.data.highlightText.trim() !== "" ? o.data.highlightText : k(o.config.popoverConfig.viewMoreText) && o.config.popoverConfig.viewMoreText.trim() !== "" ? o.config.popoverConfig.viewMoreText : "查看更多")());
|
|
267
268
|
}, [e, f, r, c, v, o, l];
|
|
268
269
|
}
|
|
269
|
-
class
|
|
270
|
+
class ft extends z {
|
|
270
271
|
constructor(t) {
|
|
271
272
|
super(), I(
|
|
272
273
|
this,
|
|
@@ -285,5 +286,5 @@ class pt extends z {
|
|
|
285
286
|
}
|
|
286
287
|
}
|
|
287
288
|
export {
|
|
288
|
-
|
|
289
|
+
ft as default
|
|
289
290
|
};
|
|
@@ -50,6 +50,7 @@ import "../../../../shared-utils/three/IObject3D.js";
|
|
|
50
50
|
import "../../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
51
51
|
import "../../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
52
52
|
import "../../../../shared-utils/util.js";
|
|
53
|
+
import "../../../../shared-utils/five/getFiveFromParentChain.js";
|
|
53
54
|
import "../../../../shared-utils/three/core/LineGeometry.js";
|
|
54
55
|
import "../../../../shared-utils/three/core/LineMaterial.js";
|
|
55
56
|
import "../../../../shared-utils/three/core/Line2.js";
|
|
@@ -548,7 +549,7 @@ function Ft(t, i, o) {
|
|
|
548
549
|
gt
|
|
549
550
|
];
|
|
550
551
|
}
|
|
551
|
-
class
|
|
552
|
+
class go extends bt {
|
|
552
553
|
constructor(i) {
|
|
553
554
|
super(), vt(
|
|
554
555
|
this,
|
|
@@ -576,5 +577,5 @@ class co extends bt {
|
|
|
576
577
|
}
|
|
577
578
|
}
|
|
578
579
|
export {
|
|
579
|
-
|
|
580
|
+
go as default
|
|
580
581
|
};
|
|
@@ -52,6 +52,7 @@ import "../../../shared-utils/three/IObject3D.js";
|
|
|
52
52
|
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
53
53
|
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
54
54
|
import "../../../shared-utils/util.js";
|
|
55
|
+
import "../../../shared-utils/five/getFiveFromParentChain.js";
|
|
55
56
|
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
56
57
|
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
57
58
|
import "../../../shared-utils/three/core/Line2.js";
|
|
@@ -630,11 +631,11 @@ function ye(i, e, t) {
|
|
|
630
631
|
j
|
|
631
632
|
];
|
|
632
633
|
}
|
|
633
|
-
class
|
|
634
|
+
class qt extends re {
|
|
634
635
|
constructor(e) {
|
|
635
636
|
super(), le(this, e, ye, ke, oe, { tag: 0 }, ze);
|
|
636
637
|
}
|
|
637
638
|
}
|
|
638
639
|
export {
|
|
639
|
-
|
|
640
|
+
qt as default
|
|
640
641
|
};
|