@vsleem-realsee-viewer/dualsee-plugin 2.0.3 → 2.0.5
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/README.md +220 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +530 -594
- package/dist/index.mjs +407 -368
- package/dist/index.umd.js +1 -1
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -1,41 +1,44 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { RealseePlugin as
|
|
1
|
+
import { ref as Z, computed as K, watch as me, defineComponent as Ce, unref as y, createElementBlock as $, openBlock as H, renderSlot as p, normalizeProps as A, guardReactiveProps as g, createElementVNode as Qe, normalizeStyle as he, createCommentVNode as te, toDisplayString as Me, createBlock as ue, createVNode as Ue, mergeProps as ae, toHandlers as oe, withCtx as Q } from "vue";
|
|
2
|
+
import { RealseePlugin as ye } from "@vsleem-realsee-viewer/realsee-plugin";
|
|
3
3
|
import { BimseePlugin as De } from "@vsleem-realsee-viewer/bimsee-plugin";
|
|
4
|
-
import { APP_SETTING as
|
|
4
|
+
import { APP_SETTING as ve, utils as fe, CoordinateModelType as Pe, AppError as Ve, Point as Je } from "@vsleem-realsee-viewer/shared";
|
|
5
5
|
const pe = {
|
|
6
6
|
locked: !0,
|
|
7
7
|
distance: 0,
|
|
8
8
|
showDistance: !0
|
|
9
|
-
},
|
|
9
|
+
}, ke = {
|
|
10
10
|
enableMatchPoint: !0,
|
|
11
11
|
maxMatchDistance: 5e3
|
|
12
|
-
},
|
|
13
|
-
appSetting:
|
|
14
|
-
dualseeSetting:
|
|
15
|
-
dualseeLock: pe
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
}, Fe = {
|
|
13
|
+
appSetting: ve,
|
|
14
|
+
dualseeSetting: ke,
|
|
15
|
+
dualseeLock: pe,
|
|
16
|
+
dualseeLockVisible: !1,
|
|
17
|
+
referRealseeVisible: !1,
|
|
18
|
+
referBimseeVisible: !1
|
|
19
|
+
}, { cloneDeep: Le, deepMergeProps: Ne } = fe;
|
|
20
|
+
function Ke(c, h) {
|
|
21
|
+
const e = Z(Le(pe)), B = K(() => e.value);
|
|
22
|
+
me(() => c, r, { immediate: !0, deep: !0 });
|
|
20
23
|
function i() {
|
|
21
|
-
return
|
|
24
|
+
return B.value;
|
|
22
25
|
}
|
|
23
|
-
function r(
|
|
24
|
-
|
|
26
|
+
function r(l) {
|
|
27
|
+
l && Ne(e.value, l);
|
|
25
28
|
}
|
|
26
|
-
function
|
|
27
|
-
r({ distance:
|
|
29
|
+
function m(l) {
|
|
30
|
+
r({ distance: l }), h("distance-updated", l);
|
|
28
31
|
}
|
|
29
|
-
function
|
|
30
|
-
r({ locked:
|
|
32
|
+
function C(l) {
|
|
33
|
+
r({ locked: l }), h("locked-updated", l);
|
|
31
34
|
}
|
|
32
35
|
return {
|
|
33
|
-
getProps:
|
|
36
|
+
getProps: B,
|
|
34
37
|
lockAction: {
|
|
35
38
|
getState: i,
|
|
36
39
|
setState: r,
|
|
37
|
-
setDistance:
|
|
38
|
-
setLocked:
|
|
40
|
+
setDistance: m,
|
|
41
|
+
setLocked: C
|
|
39
42
|
}
|
|
40
43
|
};
|
|
41
44
|
}
|
|
@@ -48,273 +51,296 @@ const Ge = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAA
|
|
|
48
51
|
locked: { type: Boolean },
|
|
49
52
|
distance: {},
|
|
50
53
|
showDistance: { type: Boolean },
|
|
54
|
+
enableMatchPoint: { type: Boolean },
|
|
51
55
|
maxMatchDistance: {}
|
|
52
56
|
},
|
|
53
57
|
emits: ["locked-updated", "distance-updated"],
|
|
54
|
-
setup(
|
|
55
|
-
const
|
|
58
|
+
setup(c, { expose: h, emit: e }) {
|
|
59
|
+
const B = c, i = e, { getProps: r, lockAction: m } = Ke(B, i), C = K(
|
|
56
60
|
() => {
|
|
57
|
-
var
|
|
58
|
-
return Math.floor((((
|
|
61
|
+
var b;
|
|
62
|
+
return Math.floor((((b = y(r)) == null ? void 0 : b.distance) || 0) / 1e3 * 10) / 10;
|
|
59
63
|
}
|
|
60
|
-
),
|
|
61
|
-
const { locked:
|
|
62
|
-
return
|
|
64
|
+
), v = K(() => {
|
|
65
|
+
const { locked: b = !1, distance: E = 0 } = y(r);
|
|
66
|
+
return U(b, E);
|
|
63
67
|
});
|
|
64
|
-
function
|
|
65
|
-
const { locked:
|
|
66
|
-
|
|
68
|
+
function l() {
|
|
69
|
+
const { locked: b = !1 } = y(r);
|
|
70
|
+
m.setLocked(!b);
|
|
67
71
|
}
|
|
68
|
-
function
|
|
69
|
-
if (
|
|
70
|
-
const
|
|
71
|
-
let
|
|
72
|
-
return
|
|
72
|
+
function U(b, E) {
|
|
73
|
+
if (b) {
|
|
74
|
+
const n = (B.maxMatchDistance ?? 5e3) / 5;
|
|
75
|
+
let M;
|
|
76
|
+
return E <= n ? M = "#54b168" : E <= n * 2 ? M = "#CBDE3C" : E <= n * 3 ? M = "#DEC53C" : E <= n * 4 ? M = "#DE5B3C" : E <= n * 5 ? M = "#FA1212" : M = "#666", { backgroundColor: M, color: "#fff" };
|
|
73
77
|
}
|
|
74
78
|
return { color: "#333" };
|
|
75
79
|
}
|
|
76
|
-
return
|
|
77
|
-
|
|
80
|
+
return h({ ...m }), (b, E) => (H(), $("div", He, [
|
|
81
|
+
p(b.$slots, "button", A(g(y(r))), () => [
|
|
78
82
|
Qe("div", {
|
|
79
83
|
class: "dualsee-lock-button",
|
|
80
|
-
style: he(
|
|
81
|
-
onClick:
|
|
84
|
+
style: he(v.value),
|
|
85
|
+
onClick: l
|
|
82
86
|
}, [
|
|
83
|
-
|
|
87
|
+
y(r).locked ? (H(), $("img", {
|
|
84
88
|
key: 0,
|
|
85
89
|
class: "dualsee-lock-icon",
|
|
86
|
-
src:
|
|
87
|
-
}, null, 8, xe)) : (
|
|
90
|
+
src: y(Ge)
|
|
91
|
+
}, null, 8, xe)) : (H(), $("img", {
|
|
88
92
|
key: 1,
|
|
89
93
|
class: "dualsee-lock-icon",
|
|
90
|
-
src:
|
|
94
|
+
src: y(Ye)
|
|
91
95
|
}, null, 8, ze))
|
|
92
96
|
], 4),
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
Qe("span", null, "相距 " + Me(
|
|
96
|
-
])) :
|
|
97
|
+
p(b.$slots, "distance", A(g(y(r))), () => [
|
|
98
|
+
b.showDistance ? (H(), $("div", qe, [
|
|
99
|
+
Qe("span", null, "相距 " + Me(C.value) + " m", 1)
|
|
100
|
+
])) : te("", !0)
|
|
97
101
|
], !0)
|
|
98
102
|
], !0)
|
|
99
103
|
]));
|
|
100
104
|
}
|
|
101
|
-
}), Se = (
|
|
102
|
-
const e =
|
|
103
|
-
for (const [
|
|
104
|
-
e[
|
|
105
|
+
}), Se = (c, h) => {
|
|
106
|
+
const e = c.__vccOpts || c;
|
|
107
|
+
for (const [B, i] of h)
|
|
108
|
+
e[B] = i;
|
|
105
109
|
return e;
|
|
106
|
-
}, Te = /* @__PURE__ */ Se(Oe, [["__scopeId", "data-v-
|
|
107
|
-
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
function D() {
|
|
113
|
-
return A.value;
|
|
110
|
+
}, Te = /* @__PURE__ */ Se(Oe, [["__scopeId", "data-v-a0aed78b"]]), { cloneDeep: Xe, deepMergeProps: je } = fe;
|
|
111
|
+
function Ze(c, h, e, B, i) {
|
|
112
|
+
const r = Z(Xe(Fe)), m = K(() => r.value);
|
|
113
|
+
me(() => c, v, { immediate: !0, deep: !0 });
|
|
114
|
+
function C() {
|
|
115
|
+
return m.value;
|
|
114
116
|
}
|
|
115
|
-
function
|
|
116
|
-
|
|
117
|
+
function v(n) {
|
|
118
|
+
n && je(r.value, n);
|
|
117
119
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
120
|
+
function l() {
|
|
121
|
+
return h.value;
|
|
120
122
|
}
|
|
121
|
-
function
|
|
123
|
+
function U() {
|
|
122
124
|
return e.value;
|
|
123
125
|
}
|
|
124
|
-
function
|
|
125
|
-
return
|
|
126
|
+
function b() {
|
|
127
|
+
return B.value;
|
|
126
128
|
}
|
|
127
|
-
function
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
function E() {
|
|
130
|
+
return i.value;
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
getProps: m,
|
|
134
|
+
getState: C,
|
|
135
|
+
setState: v,
|
|
136
|
+
getDualseeLock: l,
|
|
137
|
+
getBasicRealsee: U,
|
|
138
|
+
getReferRealsee: b,
|
|
139
|
+
getReferBimsee: E
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
var Re = /* @__PURE__ */ ((c) => (c[c.DualseeNoBIMModel = 12e3] = "DualseeNoBIMModel", c))(Re || {});
|
|
143
|
+
const { deepMerge: We } = fe;
|
|
144
|
+
function $e(c, h, e) {
|
|
145
|
+
const { getState: B, getDualseeLock: i, getBasicRealsee: r, getReferRealsee: m, getReferBimsee: C, setState: v } = h, l = K(() => c.value);
|
|
146
|
+
function U(w) {
|
|
147
|
+
var V, s, J, o;
|
|
148
|
+
const { enableMatchPoint: k } = ((V = c.value) == null ? void 0 : V.dualseeSetting) || {};
|
|
149
|
+
if (k) {
|
|
150
|
+
const R = (s = m()) == null ? void 0 : s.getStore(), F = (J = R == null ? void 0 : R.findClosestPoint) == null ? void 0 : J.call(R, w);
|
|
151
|
+
F && ((o = R == null ? void 0 : R.selectPoint) == null || o.call(R, F), e("find-refer-closest-point", F));
|
|
133
152
|
}
|
|
134
153
|
}
|
|
135
|
-
function
|
|
136
|
-
var
|
|
137
|
-
const
|
|
138
|
-
if (
|
|
139
|
-
const { searchInfo: V, ...
|
|
140
|
-
|
|
141
|
-
referRealsee:
|
|
154
|
+
function b() {
|
|
155
|
+
var k;
|
|
156
|
+
const w = r();
|
|
157
|
+
if (w) {
|
|
158
|
+
const { searchInfo: V, ...s } = w.getOptions(), { searchInfo: J, ...o } = ((k = c.value) == null ? void 0 : k.referRealsee) || {}, R = J ?? V, F = { ...We(s, o), searchInfo: R }, D = w == null ? void 0 : w.getPlaybar();
|
|
159
|
+
D == null || D.pause(), D == null || D.setState({ showPlay: !1, showSpeed: !1 }), v({
|
|
160
|
+
referRealsee: F,
|
|
142
161
|
dualseeLockVisible: !0,
|
|
143
162
|
referRealseeVisible: !0,
|
|
144
163
|
referBimseeVisible: !1
|
|
145
164
|
});
|
|
146
165
|
}
|
|
147
166
|
}
|
|
148
|
-
function
|
|
149
|
-
var
|
|
150
|
-
const
|
|
151
|
-
|
|
167
|
+
function E() {
|
|
168
|
+
var k;
|
|
169
|
+
const w = (k = r()) == null ? void 0 : k.getPlaybar();
|
|
170
|
+
w && (w.pause(), w.setState({ showPlay: !0, showSpeed: !0 })), v({
|
|
152
171
|
dualseeLockVisible: !1,
|
|
153
172
|
referRealseeVisible: !1,
|
|
154
173
|
referBimseeVisible: !1
|
|
155
174
|
});
|
|
156
175
|
}
|
|
157
|
-
function
|
|
158
|
-
|
|
176
|
+
function n() {
|
|
177
|
+
c.value.referRealseeVisible ? E() : b();
|
|
159
178
|
}
|
|
160
|
-
async function
|
|
161
|
-
var
|
|
179
|
+
async function M() {
|
|
180
|
+
var w, k, V;
|
|
162
181
|
try {
|
|
163
|
-
const
|
|
164
|
-
if (!
|
|
165
|
-
const { mappedCoordinateTree: J, currentModel:
|
|
166
|
-
if (!
|
|
167
|
-
throw new
|
|
182
|
+
const s = r();
|
|
183
|
+
if (!s) return;
|
|
184
|
+
const { mappedCoordinateTree: J, currentModel: o } = s.getStore(), { referBimsee: R } = c.value, { searchInfo: F, handleCheckedFn: D } = R || {}, { modelCsId: z } = F || {}, Y = z ? J == null ? void 0 : J.findCsById(z) : o == null ? void 0 : o.findClosestModel(Pe.BIMModel);
|
|
185
|
+
if (!Y)
|
|
186
|
+
throw new Ve(
|
|
168
187
|
Re.DualseeNoBIMModel,
|
|
169
|
-
`未找到ID为${
|
|
188
|
+
`未找到ID为${z}的BIM模型坐标系`
|
|
170
189
|
);
|
|
171
|
-
if (!(await (
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
const
|
|
175
|
-
...
|
|
190
|
+
if (!(await (D == null ? void 0 : D(Y)) ?? !0)) return;
|
|
191
|
+
const L = s.getPlaybar();
|
|
192
|
+
L == null || L.pause(), L == null || L.setState({ showPlay: !1, showSpeed: !1 });
|
|
193
|
+
const W = {
|
|
194
|
+
...R,
|
|
176
195
|
searchInfo: {
|
|
177
|
-
projectId:
|
|
178
|
-
modelCsId:
|
|
196
|
+
projectId: Y.projectId || 0,
|
|
197
|
+
modelCsId: Y.id
|
|
179
198
|
}
|
|
180
199
|
};
|
|
181
|
-
|
|
182
|
-
referBimsee:
|
|
200
|
+
v({
|
|
201
|
+
referBimsee: W,
|
|
183
202
|
dualseeLockVisible: !0,
|
|
184
203
|
referBimseeVisible: !0,
|
|
185
204
|
referRealseeVisible: !1
|
|
186
205
|
});
|
|
187
|
-
} catch (
|
|
188
|
-
console.error("显示BIMSEE参考模型失败:",
|
|
206
|
+
} catch (s) {
|
|
207
|
+
console.error("显示BIMSEE参考模型失败:", s), (V = (k = (w = c.value) == null ? void 0 : w.referBimsee) == null ? void 0 : k.fetchError) == null || V.call(k, s);
|
|
189
208
|
}
|
|
190
209
|
}
|
|
191
|
-
function
|
|
192
|
-
var
|
|
193
|
-
const
|
|
194
|
-
|
|
210
|
+
function G() {
|
|
211
|
+
var k;
|
|
212
|
+
const w = (k = r()) == null ? void 0 : k.getPlaybar();
|
|
213
|
+
w && (w.pause(), w.setState({ showPlay: !0, showSpeed: !0 })), v({
|
|
195
214
|
dualseeLockVisible: !1,
|
|
196
215
|
referRealseeVisible: !1,
|
|
197
216
|
referBimseeVisible: !1
|
|
198
217
|
});
|
|
199
218
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
219
|
+
function x() {
|
|
220
|
+
c.value.referBimseeVisible ? G() : M();
|
|
202
221
|
}
|
|
203
222
|
return {
|
|
204
|
-
|
|
223
|
+
getBindValue: l,
|
|
205
224
|
dualseeAction: {
|
|
206
|
-
getState:
|
|
207
|
-
setState:
|
|
208
|
-
getDualseeLock:
|
|
209
|
-
getBasicRealsee:
|
|
210
|
-
getReferRealsee:
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
225
|
+
getState: B,
|
|
226
|
+
setState: v,
|
|
227
|
+
getDualseeLock: i,
|
|
228
|
+
getBasicRealsee: r,
|
|
229
|
+
getReferRealsee: m,
|
|
230
|
+
getReferBimsee: C,
|
|
231
|
+
toggleReferRealsee: n,
|
|
232
|
+
showReferRealsee: b,
|
|
233
|
+
hideReferRealsee: E,
|
|
234
|
+
toggleReferBimsee: x,
|
|
235
|
+
showReferBimsee: M,
|
|
236
|
+
hideReferBimsee: G,
|
|
237
|
+
setReferClosestPoint: U
|
|
218
238
|
}
|
|
219
239
|
};
|
|
220
240
|
}
|
|
221
|
-
function
|
|
222
|
-
const
|
|
223
|
-
|
|
224
|
-
|
|
241
|
+
function _e(c, h, e) {
|
|
242
|
+
const B = K(() => {
|
|
243
|
+
const { dualseeLock: C, dualseeSetting: v } = c.value, { maxMatchDistance: l, enableMatchPoint: U } = v || {};
|
|
244
|
+
return { ...C, maxMatchDistance: l, enableMatchPoint: U };
|
|
245
|
+
});
|
|
246
|
+
function i(C) {
|
|
247
|
+
e("lock-locked-updated", C);
|
|
225
248
|
}
|
|
226
|
-
function r(
|
|
227
|
-
e("lock-distance-updated",
|
|
249
|
+
function r(C) {
|
|
250
|
+
e("lock-distance-updated", C);
|
|
228
251
|
}
|
|
229
252
|
return {
|
|
230
|
-
getLockProps:
|
|
253
|
+
getLockProps: B,
|
|
231
254
|
lockEvents: {
|
|
232
255
|
lockedUpdated: i,
|
|
233
256
|
distanceUpdated: r
|
|
234
257
|
}
|
|
235
258
|
};
|
|
236
259
|
}
|
|
237
|
-
function
|
|
238
|
-
const { getDualseeLock:
|
|
239
|
-
|
|
260
|
+
function ea(c, h, e) {
|
|
261
|
+
const { getDualseeLock: B, getBasicRealsee: i, getReferRealsee: r, setReferClosestPoint: m } = h || {}, C = K(() => {
|
|
262
|
+
const { appSetting: a, basicRealsee: d } = c.value;
|
|
263
|
+
return { ...d, appSetting: a };
|
|
264
|
+
});
|
|
265
|
+
function v() {
|
|
240
266
|
e("basic-ready");
|
|
241
267
|
}
|
|
242
|
-
function
|
|
268
|
+
function l(a) {
|
|
243
269
|
e("basic-change-model", a);
|
|
244
270
|
}
|
|
245
|
-
function
|
|
271
|
+
function U(a) {
|
|
246
272
|
e("basic-change-record", a);
|
|
247
273
|
}
|
|
248
|
-
function
|
|
274
|
+
function b(a) {
|
|
249
275
|
ce(), e("basic-change-point", a);
|
|
250
276
|
}
|
|
251
|
-
function
|
|
277
|
+
function E() {
|
|
252
278
|
e("basic-map-ready");
|
|
253
279
|
}
|
|
254
|
-
function
|
|
280
|
+
function n() {
|
|
255
281
|
e("basic-map-resize");
|
|
256
282
|
}
|
|
257
|
-
function
|
|
283
|
+
function M(a) {
|
|
258
284
|
e("basic-map-collapse", a);
|
|
259
285
|
}
|
|
260
286
|
function G() {
|
|
261
287
|
e("basic-map-dragger");
|
|
262
288
|
}
|
|
263
|
-
function
|
|
289
|
+
function x(a) {
|
|
264
290
|
e("basic-map-select-point", a);
|
|
265
291
|
}
|
|
266
|
-
function
|
|
292
|
+
function T(a) {
|
|
267
293
|
e("basic-map-angle-updated", a);
|
|
268
294
|
}
|
|
269
|
-
function
|
|
295
|
+
function w() {
|
|
270
296
|
e("basic-viewer-ready");
|
|
271
297
|
}
|
|
272
|
-
function
|
|
298
|
+
function k(a) {
|
|
273
299
|
e("basic-viewer-click", a);
|
|
274
300
|
}
|
|
275
|
-
function
|
|
301
|
+
function V(a) {
|
|
276
302
|
le(), e("basic-viewer-mousedown", a);
|
|
277
303
|
}
|
|
278
|
-
function
|
|
304
|
+
function s(a) {
|
|
279
305
|
de(a), e("basic-viewer-zoom-updated", a);
|
|
280
306
|
}
|
|
281
|
-
function
|
|
282
|
-
|
|
307
|
+
function J(a, d) {
|
|
308
|
+
Ae(a, d), e("basic-viewer-position-updated", a);
|
|
283
309
|
}
|
|
284
|
-
function
|
|
310
|
+
function o(a) {
|
|
285
311
|
e("basic-viewer-panorama-loaded", a);
|
|
286
312
|
}
|
|
287
|
-
function
|
|
313
|
+
function R(a) {
|
|
288
314
|
e("basic-viewer-select-point", a);
|
|
289
315
|
}
|
|
290
|
-
function
|
|
316
|
+
function F(a) {
|
|
291
317
|
e("basic-viewer-select-marker", a);
|
|
292
318
|
}
|
|
293
|
-
function
|
|
319
|
+
function D() {
|
|
294
320
|
e("basic-playbar-ready");
|
|
295
321
|
}
|
|
296
|
-
function
|
|
322
|
+
function z(a) {
|
|
297
323
|
e("basic-playbar-backward", a);
|
|
298
324
|
}
|
|
299
|
-
function
|
|
325
|
+
function Y(a) {
|
|
300
326
|
e("basic-playbar-pause", a);
|
|
301
327
|
}
|
|
302
|
-
function
|
|
328
|
+
function _(a) {
|
|
303
329
|
e("basic-playbar-play", a);
|
|
304
330
|
}
|
|
305
|
-
function
|
|
331
|
+
function L(a) {
|
|
306
332
|
e("basic-playbar-forward", a);
|
|
307
333
|
}
|
|
308
|
-
function
|
|
334
|
+
function W(a) {
|
|
309
335
|
e("basic-playbar-slider", a);
|
|
310
336
|
}
|
|
311
|
-
function
|
|
337
|
+
function re(a) {
|
|
312
338
|
e("basic-playbar-select-point", a);
|
|
313
339
|
}
|
|
314
|
-
function
|
|
340
|
+
function se(a) {
|
|
315
341
|
e("basic-playbar-speed-updated", a);
|
|
316
342
|
}
|
|
317
|
-
function
|
|
343
|
+
function ie(a) {
|
|
318
344
|
e("basic-playbar-delay-updated", a);
|
|
319
345
|
}
|
|
320
346
|
function ne(a) {
|
|
@@ -323,277 +349,290 @@ function _e(E, v, e) {
|
|
|
323
349
|
function ce() {
|
|
324
350
|
var d;
|
|
325
351
|
const { currentPoint: a } = ((d = i()) == null ? void 0 : d.getStore()) || {};
|
|
326
|
-
a && (
|
|
352
|
+
a && (m == null || m(a));
|
|
327
353
|
}
|
|
328
354
|
function le(a) {
|
|
329
|
-
var d,
|
|
330
|
-
(I = (
|
|
355
|
+
var d, S, I, f, u, P;
|
|
356
|
+
(I = (S = (d = i == null ? void 0 : i()) == null ? void 0 : d.getViewer) == null ? void 0 : S.call(d)) == null || I.setMousedown(!0), (P = (u = (f = r == null ? void 0 : r()) == null ? void 0 : f.getViewer) == null ? void 0 : u.call(f)) == null || P.setMousedown(!1);
|
|
331
357
|
}
|
|
332
358
|
function de(a) {
|
|
333
|
-
var
|
|
359
|
+
var S, I, f;
|
|
334
360
|
const d = r == null ? void 0 : r();
|
|
335
361
|
if (d) {
|
|
336
|
-
const
|
|
337
|
-
!
|
|
362
|
+
const u = (S = d == null ? void 0 : d.getViewer) == null ? void 0 : S.call(d), P = u == null ? void 0 : u.isMouseover(), N = (f = (I = B()) == null ? void 0 : I.getState()) == null ? void 0 : f.locked;
|
|
363
|
+
!P && N && (u == null || u.zoom(a.zoomLevel));
|
|
338
364
|
}
|
|
339
365
|
}
|
|
340
|
-
function
|
|
341
|
-
var
|
|
342
|
-
if (!((
|
|
366
|
+
function Ae(a, d) {
|
|
367
|
+
var f, u, P, N;
|
|
368
|
+
if (!((u = (f = B()) == null ? void 0 : f.getState()) == null ? void 0 : u.locked)) return;
|
|
343
369
|
const I = r == null ? void 0 : r();
|
|
344
370
|
if (I) {
|
|
345
|
-
const
|
|
346
|
-
if (
|
|
347
|
-
const
|
|
348
|
-
|
|
371
|
+
const q = I == null ? void 0 : I.getViewer(), X = (N = (P = i()) == null ? void 0 : P.getViewer()) == null ? void 0 : N.isMousedown();
|
|
372
|
+
if (q && X) {
|
|
373
|
+
const O = q.getPosition(), j = O.yaw + d.yaw, ee = O.pitch + d.pitch;
|
|
374
|
+
q.rotate({ yaw: j, pitch: ee });
|
|
349
375
|
}
|
|
350
376
|
}
|
|
351
377
|
}
|
|
352
378
|
return {
|
|
353
|
-
getBasicProps:
|
|
379
|
+
getBasicProps: C,
|
|
354
380
|
basicEvents: {
|
|
355
|
-
ready:
|
|
356
|
-
changeModel:
|
|
357
|
-
changeRecord:
|
|
358
|
-
changePoint:
|
|
359
|
-
mapReady:
|
|
360
|
-
mapResize:
|
|
361
|
-
mapCollapse:
|
|
381
|
+
ready: v,
|
|
382
|
+
changeModel: l,
|
|
383
|
+
changeRecord: U,
|
|
384
|
+
changePoint: b,
|
|
385
|
+
mapReady: E,
|
|
386
|
+
mapResize: n,
|
|
387
|
+
mapCollapse: M,
|
|
362
388
|
mapDragger: G,
|
|
363
|
-
mapSelectPoint:
|
|
364
|
-
mapAngleUpdated:
|
|
365
|
-
viewerReady:
|
|
366
|
-
viewerClick:
|
|
367
|
-
viewerMousedown:
|
|
368
|
-
viewerZoomUpdated:
|
|
369
|
-
viewerPositionUpdated:
|
|
370
|
-
viewerPanoramaLoaded:
|
|
371
|
-
viewerSelectPoint:
|
|
372
|
-
viewerSelectMarker:
|
|
373
|
-
playbarReady:
|
|
374
|
-
playbarBackward:
|
|
375
|
-
playbarPause:
|
|
376
|
-
playbarPlay:
|
|
377
|
-
playbarForward:
|
|
378
|
-
playbarSlider:
|
|
379
|
-
playbarSelectPoint:
|
|
380
|
-
playbarSpeedUpdated:
|
|
381
|
-
playbarDelayUpdated:
|
|
389
|
+
mapSelectPoint: x,
|
|
390
|
+
mapAngleUpdated: T,
|
|
391
|
+
viewerReady: w,
|
|
392
|
+
viewerClick: k,
|
|
393
|
+
viewerMousedown: V,
|
|
394
|
+
viewerZoomUpdated: s,
|
|
395
|
+
viewerPositionUpdated: J,
|
|
396
|
+
viewerPanoramaLoaded: o,
|
|
397
|
+
viewerSelectPoint: R,
|
|
398
|
+
viewerSelectMarker: F,
|
|
399
|
+
playbarReady: D,
|
|
400
|
+
playbarBackward: z,
|
|
401
|
+
playbarPause: Y,
|
|
402
|
+
playbarPlay: _,
|
|
403
|
+
playbarForward: L,
|
|
404
|
+
playbarSlider: W,
|
|
405
|
+
playbarSelectPoint: re,
|
|
406
|
+
playbarSpeedUpdated: se,
|
|
407
|
+
playbarDelayUpdated: ie,
|
|
382
408
|
playbarStepUpdated: ne
|
|
383
409
|
}
|
|
384
410
|
};
|
|
385
411
|
}
|
|
386
|
-
function
|
|
387
|
-
const { getDualseeLock:
|
|
388
|
-
|
|
412
|
+
function aa(c, h, e) {
|
|
413
|
+
const { getDualseeLock: B, getBasicRealsee: i, getReferRealsee: r } = h || {}, m = K(() => {
|
|
414
|
+
const { appSetting: t, referRealsee: a } = c.value;
|
|
415
|
+
return { ...a, appSetting: t };
|
|
416
|
+
});
|
|
417
|
+
function C() {
|
|
389
418
|
e("refer-ready");
|
|
390
419
|
}
|
|
391
|
-
function
|
|
420
|
+
function v(t) {
|
|
392
421
|
e("refer-change-model", t);
|
|
393
422
|
}
|
|
394
|
-
function
|
|
423
|
+
function l(t) {
|
|
395
424
|
e("refer-change-record", t);
|
|
396
425
|
}
|
|
397
|
-
function
|
|
426
|
+
function U(t) {
|
|
398
427
|
e("refer-change-point", t);
|
|
399
428
|
}
|
|
400
|
-
function
|
|
429
|
+
function b() {
|
|
401
430
|
e("refer-map-ready");
|
|
402
431
|
}
|
|
403
|
-
function
|
|
432
|
+
function E() {
|
|
404
433
|
e("refer-map-resize");
|
|
405
434
|
}
|
|
406
|
-
function
|
|
435
|
+
function n(t) {
|
|
407
436
|
e("refer-map-collapse", t);
|
|
408
437
|
}
|
|
409
|
-
function
|
|
438
|
+
function M() {
|
|
410
439
|
e("refer-map-dragger");
|
|
411
440
|
}
|
|
412
441
|
function G(t) {
|
|
413
442
|
e("refer-map-select-point", t);
|
|
414
443
|
}
|
|
415
|
-
function
|
|
444
|
+
function x(t) {
|
|
416
445
|
e("refer-map-angle-updated", t);
|
|
417
446
|
}
|
|
418
|
-
function
|
|
447
|
+
function T() {
|
|
419
448
|
e("refer-viewer-ready");
|
|
420
449
|
}
|
|
421
|
-
function
|
|
450
|
+
function w(t) {
|
|
422
451
|
e("refer-viewer-click", t);
|
|
423
452
|
}
|
|
424
|
-
function
|
|
453
|
+
function k(t) {
|
|
425
454
|
ne(), e("refer-viewer-mousedown", t);
|
|
426
455
|
}
|
|
427
|
-
function
|
|
456
|
+
function V(t) {
|
|
428
457
|
ce(t), e("refer-viewer-zoom-updated", t);
|
|
429
458
|
}
|
|
430
|
-
function
|
|
459
|
+
function s(t, a) {
|
|
431
460
|
le(t, a), e("refer-viewer-position-updated", t);
|
|
432
461
|
}
|
|
433
|
-
function
|
|
462
|
+
function J(t) {
|
|
434
463
|
de(), e("basic-viewer-panorama-loaded", t);
|
|
435
464
|
}
|
|
436
|
-
function
|
|
465
|
+
function o(t) {
|
|
437
466
|
e("refer-viewer-select-point", t);
|
|
438
467
|
}
|
|
439
|
-
function
|
|
468
|
+
function R(t) {
|
|
440
469
|
e("refer-viewer-select-marker", t);
|
|
441
470
|
}
|
|
442
|
-
function
|
|
471
|
+
function F() {
|
|
443
472
|
e("refer-playbar-ready");
|
|
444
473
|
}
|
|
445
|
-
function
|
|
474
|
+
function D(t) {
|
|
446
475
|
e("refer-playbar-backward", t);
|
|
447
476
|
}
|
|
448
|
-
function
|
|
477
|
+
function z(t) {
|
|
449
478
|
e("refer-playbar-pause", t);
|
|
450
479
|
}
|
|
451
|
-
function
|
|
480
|
+
function Y(t) {
|
|
452
481
|
e("refer-playbar-play", t);
|
|
453
482
|
}
|
|
454
|
-
function
|
|
483
|
+
function _(t) {
|
|
455
484
|
e("refer-playbar-forward", t);
|
|
456
485
|
}
|
|
457
|
-
function
|
|
486
|
+
function L(t) {
|
|
458
487
|
e("refer-playbar-slider", t);
|
|
459
488
|
}
|
|
460
|
-
function
|
|
489
|
+
function W(t) {
|
|
461
490
|
e("refer-playbar-select-point", t);
|
|
462
491
|
}
|
|
463
|
-
function
|
|
492
|
+
function re(t) {
|
|
464
493
|
e("refer-playbar-speed-updated", t);
|
|
465
494
|
}
|
|
466
|
-
function
|
|
495
|
+
function se(t) {
|
|
467
496
|
e("refer-playbar-delay-updated", t);
|
|
468
497
|
}
|
|
469
|
-
function
|
|
498
|
+
function ie(t) {
|
|
470
499
|
e("refer-playbar-step-updated", t);
|
|
471
500
|
}
|
|
472
501
|
function ne(t) {
|
|
473
|
-
var a, d,
|
|
474
|
-
(
|
|
502
|
+
var a, d, S, I, f, u;
|
|
503
|
+
(S = (d = (a = i == null ? void 0 : i()) == null ? void 0 : a.getViewer) == null ? void 0 : d.call(a)) == null || S.setMousedown(!1), (u = (f = (I = r == null ? void 0 : r()) == null ? void 0 : I.getViewer) == null ? void 0 : f.call(I)) == null || u.setMousedown(!0);
|
|
475
504
|
}
|
|
476
505
|
function ce(t) {
|
|
477
|
-
var d,
|
|
506
|
+
var d, S, I;
|
|
478
507
|
const a = i == null ? void 0 : i();
|
|
479
508
|
if (a) {
|
|
480
|
-
const
|
|
481
|
-
!
|
|
509
|
+
const f = (d = a == null ? void 0 : a.getViewer) == null ? void 0 : d.call(a), u = f == null ? void 0 : f.isMouseover(), P = (I = (S = B()) == null ? void 0 : S.getState()) == null ? void 0 : I.locked;
|
|
510
|
+
!u && P && (f == null || f.zoom(t.zoomLevel));
|
|
482
511
|
}
|
|
483
512
|
}
|
|
484
513
|
function le(t, a) {
|
|
485
|
-
var I,
|
|
486
|
-
if (!((
|
|
487
|
-
const
|
|
488
|
-
if (
|
|
489
|
-
const
|
|
490
|
-
if (
|
|
491
|
-
const
|
|
492
|
-
|
|
514
|
+
var I, f, u, P;
|
|
515
|
+
if (!((f = (I = B()) == null ? void 0 : I.getState()) == null ? void 0 : f.locked)) return;
|
|
516
|
+
const S = i == null ? void 0 : i();
|
|
517
|
+
if (S) {
|
|
518
|
+
const N = S == null ? void 0 : S.getViewer(), q = (P = (u = r()) == null ? void 0 : u.getViewer()) == null ? void 0 : P.isMousedown();
|
|
519
|
+
if (N && q) {
|
|
520
|
+
const X = N.getPosition(), O = X.yaw + a.yaw, j = X.pitch + a.pitch;
|
|
521
|
+
N.rotate({ yaw: O, pitch: j });
|
|
493
522
|
}
|
|
494
523
|
}
|
|
495
524
|
}
|
|
496
525
|
function de() {
|
|
497
|
-
var
|
|
526
|
+
var j, ee, ge, be, Ie, Be, Ee, we;
|
|
498
527
|
const t = i(), a = r();
|
|
499
528
|
if (!t || !a) return;
|
|
500
|
-
const d = (
|
|
529
|
+
const d = (j = a.getStore()) == null ? void 0 : j.currentPoint;
|
|
501
530
|
if (!d) return;
|
|
502
|
-
const
|
|
503
|
-
if (!
|
|
504
|
-
const
|
|
505
|
-
|
|
506
|
-
const { enableMatchPoint:
|
|
507
|
-
if (!
|
|
508
|
-
|
|
531
|
+
const S = (ge = (ee = t.getStore()) == null ? void 0 : ee.currentPoint) == null ? void 0 : ge.position, I = (Ie = (be = t.getStore()) == null ? void 0 : be.normalizeToModelSpace(d)) == null ? void 0 : Ie.position;
|
|
532
|
+
if (!S || !I) return;
|
|
533
|
+
const f = Je.distXY(S, I), u = B();
|
|
534
|
+
u == null || u.setDistance(f);
|
|
535
|
+
const { enableMatchPoint: P = !1, maxMatchDistance: N = 5e3 } = c.value.dualseeSetting || {};
|
|
536
|
+
if (!P || f > N) {
|
|
537
|
+
u == null || u.setState({ locked: !1, distance: f });
|
|
509
538
|
return;
|
|
510
539
|
}
|
|
511
|
-
const { yaw:
|
|
512
|
-
yaw: (Number(
|
|
513
|
-
pitch:
|
|
540
|
+
const { yaw: q = 0, pitch: X = 0 } = ((Be = t.getViewer()) == null ? void 0 : Be.getPosition()) || {}, O = {
|
|
541
|
+
yaw: (Number(S.yaw) || 0) - (Number(I.yaw) || 0) + q,
|
|
542
|
+
pitch: X
|
|
514
543
|
};
|
|
515
|
-
(
|
|
544
|
+
(Ee = a.getViewer()) == null || Ee.rotate(O), (we = a.getMap()) == null || we.setRadarYaw(O.yaw), u == null || u.setState({ locked: !0, distance: f });
|
|
516
545
|
}
|
|
517
546
|
return {
|
|
518
|
-
getReferProps:
|
|
547
|
+
getReferProps: m,
|
|
519
548
|
referEvents: {
|
|
520
|
-
ready:
|
|
521
|
-
changeModel:
|
|
522
|
-
changeRecord:
|
|
523
|
-
changePoint:
|
|
524
|
-
mapReady:
|
|
525
|
-
mapResize:
|
|
526
|
-
mapCollapse:
|
|
527
|
-
mapDragger:
|
|
549
|
+
ready: C,
|
|
550
|
+
changeModel: v,
|
|
551
|
+
changeRecord: l,
|
|
552
|
+
changePoint: U,
|
|
553
|
+
mapReady: b,
|
|
554
|
+
mapResize: E,
|
|
555
|
+
mapCollapse: n,
|
|
556
|
+
mapDragger: M,
|
|
528
557
|
mapSelectPoint: G,
|
|
529
|
-
mapAngleUpdated:
|
|
530
|
-
viewerReady:
|
|
531
|
-
viewerClick:
|
|
532
|
-
viewerMousedown:
|
|
533
|
-
viewerZoomUpdated:
|
|
534
|
-
viewerPositionUpdated:
|
|
535
|
-
viewerPanoramaLoaded:
|
|
536
|
-
viewerSelectPoint:
|
|
537
|
-
viewerSelectMarker:
|
|
538
|
-
playbarReady:
|
|
539
|
-
playbarBackward:
|
|
540
|
-
playbarPause:
|
|
541
|
-
playbarPlay:
|
|
542
|
-
playbarForward:
|
|
543
|
-
playbarSlider:
|
|
544
|
-
playbarSelectPoint:
|
|
545
|
-
playbarSpeedUpdated:
|
|
546
|
-
playbarDelayUpdated:
|
|
547
|
-
playbarStepUpdated:
|
|
558
|
+
mapAngleUpdated: x,
|
|
559
|
+
viewerReady: T,
|
|
560
|
+
viewerClick: w,
|
|
561
|
+
viewerMousedown: k,
|
|
562
|
+
viewerZoomUpdated: V,
|
|
563
|
+
viewerPositionUpdated: s,
|
|
564
|
+
viewerPanoramaLoaded: J,
|
|
565
|
+
viewerSelectPoint: o,
|
|
566
|
+
viewerSelectMarker: R,
|
|
567
|
+
playbarReady: F,
|
|
568
|
+
playbarBackward: D,
|
|
569
|
+
playbarPause: z,
|
|
570
|
+
playbarPlay: Y,
|
|
571
|
+
playbarForward: _,
|
|
572
|
+
playbarSlider: L,
|
|
573
|
+
playbarSelectPoint: W,
|
|
574
|
+
playbarSpeedUpdated: re,
|
|
575
|
+
playbarDelayUpdated: se,
|
|
576
|
+
playbarStepUpdated: ie
|
|
548
577
|
}
|
|
549
578
|
};
|
|
550
579
|
}
|
|
551
|
-
function
|
|
552
|
-
const
|
|
580
|
+
function oa(c, h, e) {
|
|
581
|
+
const B = K(() => {
|
|
582
|
+
const { appSetting: n, referBimsee: M } = c.value;
|
|
583
|
+
return { ...M, appSetting: n };
|
|
584
|
+
});
|
|
553
585
|
function i() {
|
|
554
586
|
e("bimsee-ready");
|
|
555
587
|
}
|
|
556
|
-
function r(
|
|
557
|
-
e("bimsee-change-model",
|
|
588
|
+
function r(n) {
|
|
589
|
+
e("bimsee-change-model", n);
|
|
558
590
|
}
|
|
559
|
-
function
|
|
560
|
-
e("bimsee-viewer-
|
|
591
|
+
function m(n) {
|
|
592
|
+
e("bimsee-viewer-ready", n);
|
|
593
|
+
}
|
|
594
|
+
function C(n) {
|
|
595
|
+
e("bimsee-viewer-click", n);
|
|
561
596
|
}
|
|
562
|
-
function
|
|
563
|
-
e("bimsee-viewer-mousedown",
|
|
597
|
+
function v(n) {
|
|
598
|
+
e("bimsee-viewer-mousedown", n);
|
|
564
599
|
}
|
|
565
|
-
function
|
|
566
|
-
e("bimsee-viewer-zoom-updated",
|
|
600
|
+
function l(n) {
|
|
601
|
+
e("bimsee-viewer-zoom-updated", n);
|
|
567
602
|
}
|
|
568
|
-
function
|
|
569
|
-
e("bimsee-viewer-position-updated",
|
|
603
|
+
function U(n) {
|
|
604
|
+
e("bimsee-viewer-position-updated", n);
|
|
570
605
|
}
|
|
571
|
-
function
|
|
572
|
-
e("bimsee-viewer-point-updated",
|
|
606
|
+
function b(n) {
|
|
607
|
+
e("bimsee-viewer-point-updated", n);
|
|
573
608
|
}
|
|
574
609
|
return {
|
|
575
|
-
getBimseeProps:
|
|
610
|
+
getBimseeProps: B,
|
|
576
611
|
bimseeEvents: {
|
|
577
612
|
ready: i,
|
|
578
613
|
changeModel: r,
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
614
|
+
viewerReady: m,
|
|
615
|
+
viewerClick: C,
|
|
616
|
+
viewerMousedown: v,
|
|
617
|
+
viewerZoomUpdated: l,
|
|
618
|
+
viewerPositionUpdated: U,
|
|
619
|
+
viewerPointUpdated: b
|
|
584
620
|
}
|
|
585
621
|
};
|
|
586
622
|
}
|
|
587
|
-
const
|
|
623
|
+
const ta = { class: "vsleem-dualsee" }, ra = /* @__PURE__ */ Ce({
|
|
588
624
|
name: "Dualsee",
|
|
589
625
|
__name: "Dualsee",
|
|
590
626
|
props: {
|
|
591
|
-
appSetting: { default: () =>
|
|
592
|
-
dualseeSetting: { default: () =>
|
|
627
|
+
appSetting: { default: () => ve },
|
|
628
|
+
dualseeSetting: { default: () => ke },
|
|
593
629
|
dualseeLock: { default: () => pe },
|
|
594
630
|
basicRealsee: {},
|
|
595
631
|
referRealsee: {},
|
|
596
|
-
referBimsee: {}
|
|
632
|
+
referBimsee: {},
|
|
633
|
+
dualseeLockVisible: { type: Boolean },
|
|
634
|
+
referRealseeVisible: { type: Boolean },
|
|
635
|
+
referBimseeVisible: { type: Boolean }
|
|
597
636
|
},
|
|
598
637
|
emits: [
|
|
599
638
|
"find-refer-closest-point",
|
|
@@ -657,126 +696,126 @@ const oa = { class: "vsleem-dualsee" }, ta = /* @__PURE__ */ Ce({
|
|
|
657
696
|
"lock-distance-updated",
|
|
658
697
|
"bimsee-ready",
|
|
659
698
|
"bimsee-change-model",
|
|
660
|
-
"bimsee-
|
|
661
|
-
"bimsee-
|
|
662
|
-
"bimsee-
|
|
663
|
-
"bimsee-
|
|
699
|
+
"bimsee-viewer-ready",
|
|
700
|
+
"bimsee-viewer-click",
|
|
701
|
+
"bimsee-viewer-mousedown",
|
|
702
|
+
"bimsee-viewer-zoom-updated",
|
|
703
|
+
"bimsee-viewer-position-updated",
|
|
704
|
+
"bimsee-viewer-point-updated"
|
|
664
705
|
],
|
|
665
|
-
setup(
|
|
666
|
-
const
|
|
667
|
-
|
|
706
|
+
setup(c, { expose: h, emit: e }) {
|
|
707
|
+
const B = c, i = e, r = Z(), m = Z(), C = Z(), v = Z(), { getProps: l, ...U } = Ze(
|
|
708
|
+
B,
|
|
668
709
|
r,
|
|
710
|
+
m,
|
|
669
711
|
C,
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
return v({ ...R }), (n, _) => (z(), ae("div", oa, [
|
|
675
|
-
p(s).dualseeLockVisible ? (z(), ue(Te, re({
|
|
712
|
+
v
|
|
713
|
+
), { getBindValue: b, dualseeAction: E } = $e(l, U, i), { getLockProps: n, lockEvents: M } = _e(l, E, i), { getBasicProps: G, basicEvents: x } = ea(l, E, i), { getReferProps: T, referEvents: w } = aa(l, E, i), { getBimseeProps: k, bimseeEvents: V } = oa(l, E, i);
|
|
714
|
+
return h({ ...E }), (s, J) => (H(), $("div", ta, [
|
|
715
|
+
y(l).dualseeLockVisible ? (H(), ue(Te, ae({
|
|
676
716
|
key: 0,
|
|
677
|
-
ref_key: "
|
|
678
|
-
ref: r
|
|
679
|
-
|
|
680
|
-
}, p(g), se(p(l))), {
|
|
717
|
+
ref_key: "dualseeLockElRef",
|
|
718
|
+
ref: r
|
|
719
|
+
}, y(n), oe(y(M))), {
|
|
681
720
|
button: Q((o) => [
|
|
682
|
-
|
|
721
|
+
p(s.$slots, "lockButton", A(g(o)), void 0, !0)
|
|
683
722
|
]),
|
|
684
723
|
distance: Q((o) => [
|
|
685
|
-
|
|
724
|
+
p(s.$slots, "lockDistance", A(g(o)), void 0, !0)
|
|
686
725
|
]),
|
|
687
726
|
_: 3
|
|
688
|
-
}, 16
|
|
689
|
-
Ue(
|
|
727
|
+
}, 16)) : te("", !0),
|
|
728
|
+
Ue(y(ye), ae({
|
|
690
729
|
ref_key: "basicRealseeElRef",
|
|
691
|
-
ref:
|
|
692
|
-
|
|
693
|
-
}, p(P), se(p(S))), {
|
|
730
|
+
ref: m
|
|
731
|
+
}, y(G), oe(y(x))), {
|
|
694
732
|
default: Q((o) => [
|
|
695
|
-
|
|
733
|
+
p(s.$slots, "basicDefault", A(g(o)), void 0, !0)
|
|
696
734
|
]),
|
|
697
735
|
mapDefault: Q((o) => [
|
|
698
|
-
|
|
736
|
+
p(s.$slots, "basicMapDefault", A(g(o)), void 0, !0)
|
|
699
737
|
]),
|
|
700
738
|
mapExtra: Q((o) => [
|
|
701
|
-
|
|
739
|
+
p(s.$slots, "basicMapExtra", A(g(o)), void 0, !0)
|
|
702
740
|
]),
|
|
703
741
|
mapLeft: Q((o) => [
|
|
704
|
-
|
|
742
|
+
p(s.$slots, "basicMapLeft", A(g(o)), void 0, !0)
|
|
705
743
|
]),
|
|
706
744
|
mapRight: Q((o) => [
|
|
707
|
-
|
|
745
|
+
p(s.$slots, "basicMapRight", A(g(o)), void 0, !0)
|
|
708
746
|
]),
|
|
709
747
|
playbarDefault: Q((o) => [
|
|
710
|
-
|
|
748
|
+
p(s.$slots, "basicPlaybarDefault", A(g(o)), void 0, !0)
|
|
711
749
|
]),
|
|
712
750
|
playbarBox: Q((o) => [
|
|
713
|
-
|
|
751
|
+
p(s.$slots, "basicPlaybarBox", A(g(o)), void 0, !0)
|
|
714
752
|
]),
|
|
715
753
|
playbarButton: Q((o) => [
|
|
716
|
-
|
|
754
|
+
p(s.$slots, "basicPlaybarButton", A(g(o)), void 0, !0)
|
|
717
755
|
]),
|
|
718
756
|
playbarCaption: Q((o) => [
|
|
719
|
-
|
|
757
|
+
p(s.$slots, "basicPlaybarCaption", A(g(o)), void 0, !0)
|
|
720
758
|
]),
|
|
721
759
|
playbarSlider: Q((o) => [
|
|
722
|
-
|
|
760
|
+
p(s.$slots, "basicPlaybarSlider", A(g(o)), void 0, !0)
|
|
723
761
|
]),
|
|
724
762
|
_: 3
|
|
725
|
-
}, 16
|
|
726
|
-
|
|
763
|
+
}, 16),
|
|
764
|
+
y(l).referRealseeVisible ? (H(), ue(y(ye), ae({
|
|
727
765
|
key: 1,
|
|
728
766
|
ref_key: "referRealseeElRef",
|
|
729
|
-
ref:
|
|
730
|
-
|
|
731
|
-
}, p(G), se(p(O))), {
|
|
767
|
+
ref: C
|
|
768
|
+
}, y(T), oe(y(w))), {
|
|
732
769
|
default: Q((o) => [
|
|
733
|
-
|
|
770
|
+
p(s.$slots, "referDefault", A(g(o)), void 0, !0)
|
|
734
771
|
]),
|
|
735
772
|
mapDefault: Q((o) => [
|
|
736
|
-
|
|
773
|
+
p(s.$slots, "referMapDefault", A(g(o)), void 0, !0)
|
|
737
774
|
]),
|
|
738
775
|
mapExtra: Q((o) => [
|
|
739
|
-
|
|
776
|
+
p(s.$slots, "referMapExtra", A(g(o)), void 0, !0)
|
|
740
777
|
]),
|
|
741
778
|
mapLeft: Q((o) => [
|
|
742
|
-
|
|
779
|
+
p(s.$slots, "referMapLeft", A(g(o)), void 0, !0)
|
|
743
780
|
]),
|
|
744
781
|
mapRight: Q((o) => [
|
|
745
|
-
|
|
782
|
+
p(s.$slots, "referMapRight", A(g(o)), void 0, !0)
|
|
746
783
|
]),
|
|
747
784
|
playbarDefault: Q((o) => [
|
|
748
|
-
|
|
785
|
+
p(s.$slots, "referPlaybarDefault", A(g(o)), void 0, !0)
|
|
749
786
|
]),
|
|
750
787
|
playbarBox: Q((o) => [
|
|
751
|
-
|
|
788
|
+
p(s.$slots, "referPlaybarBox", A(g(o)), void 0, !0)
|
|
752
789
|
]),
|
|
753
790
|
playbarButton: Q((o) => [
|
|
754
|
-
|
|
791
|
+
p(s.$slots, "referPlaybarButton", A(g(o)), void 0, !0)
|
|
755
792
|
]),
|
|
756
793
|
playbarCaption: Q((o) => [
|
|
757
|
-
|
|
794
|
+
p(s.$slots, "referPlaybarCaption", A(g(o)), void 0, !0)
|
|
758
795
|
]),
|
|
759
796
|
playbarSlider: Q((o) => [
|
|
760
|
-
|
|
797
|
+
p(s.$slots, "referPlaybarSlider", A(g(o)), void 0, !0)
|
|
761
798
|
]),
|
|
762
799
|
_: 3
|
|
763
|
-
}, 16
|
|
764
|
-
|
|
800
|
+
}, 16)) : te("", !0),
|
|
801
|
+
y(l).referBimseeVisible ? (H(), ue(y(De), ae({
|
|
765
802
|
key: 2,
|
|
766
803
|
ref_key: "referBimseeElRef",
|
|
767
|
-
ref:
|
|
768
|
-
|
|
769
|
-
}, p(Y), se(p(H))), {
|
|
804
|
+
ref: v
|
|
805
|
+
}, y(k), oe(y(V))), {
|
|
770
806
|
default: Q((o) => [
|
|
771
|
-
|
|
807
|
+
p(s.$slots, "bimseeDefault", A(g(o)), void 0, !0)
|
|
772
808
|
]),
|
|
773
809
|
_: 3
|
|
774
|
-
}, 16
|
|
775
|
-
|
|
810
|
+
}, 16)) : te("", !0),
|
|
811
|
+
p(s.$slots, "default", A(g(y(b))), void 0, !0)
|
|
776
812
|
]));
|
|
777
813
|
}
|
|
778
|
-
}),
|
|
814
|
+
}), la = /* @__PURE__ */ Se(ra, [["__scopeId", "data-v-fae965e4"]]);
|
|
779
815
|
export {
|
|
780
|
-
|
|
781
|
-
|
|
816
|
+
Fe as DUALSEE_CONFIG,
|
|
817
|
+
ke as DUALSEE_SETTING,
|
|
818
|
+
la as DualseePlugin,
|
|
819
|
+
pe as LOCK_CONFIG,
|
|
820
|
+
la as default
|
|
782
821
|
};
|