@xtctwins/tctwins-bimx-engine 0.3.11 → 0.3.13
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 +1 -1
- package/dist/{AnnotationTool-BnLd0s38.mjs → AnnotationTool-k3W4xmw6.mjs} +13 -14
- package/dist/BIMX_Viewer_Lib.es.js +5 -5
- package/dist/BIMX_Viewer_Lib.umd.js +184 -164
- package/dist/{CameraViewTool-BGmwAori.mjs → CameraViewTool-CuXnJa74.mjs} +15 -15
- package/dist/{CommentTool-B9TgO52t.mjs → CommentTool-CUtaZc7Y.mjs} +276 -277
- package/dist/{HiddenTool-CNMJqZzC.mjs → HiddenTool-CzJ19mP1.mjs} +9 -10
- package/dist/{InspectorTool-CiyN_aCB.mjs → InspectorTool-BTH82K8b.mjs} +3 -3
- package/dist/MeasureTool-BvPkIvmX.mjs +593 -0
- package/dist/{MouseTool-B07SstRZ.mjs → MouseTool-CiywjpW3.mjs} +6 -6
- package/dist/{NavigateTool-B8qIl9xy.mjs → NavigateTool-CDlYpMXl.mjs} +13 -14
- package/dist/OperateTool-NMIYz2YN.mjs +185 -0
- package/dist/{RoamTool-3sDI1Ouu.mjs → RoamTool-BkwJBBAg.mjs} +1 -1
- package/dist/{ScreenShotTool-CjsT2-Va.mjs → ScreenShotTool-BP-xDRKf.mjs} +16 -17
- package/dist/SectionTool-mt4iqa1I.mjs +241 -0
- package/dist/SettingTool-DieHq4VO.mjs +1745 -0
- package/dist/{StructureTree-B183vT5b.mjs → StructureTree-C8C435JY.mjs} +5 -6
- package/dist/{alert-DN7oOiZl.mjs → alert-B9Uw8l52.mjs} +18 -13
- package/dist/{index-DfRswjrC.mjs → index-B_IMYBaJ.mjs} +59333 -53195
- package/dist/{panel.vue_vue_type_style_index_0_lang-DOsptET6.mjs → panel.vue_vue_type_style_index_0_lang-BswWCo8x.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-D0Zgkc3n.mjs → tallPanel-CnTIaRU-.mjs} +1 -1
- package/package.json +5 -5
- package/types/components/BimViewerComponents/OperateTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/SectionModeBar.vue.d.ts +2 -0
- package/types/components/BimxViewerComp.vue.d.ts +2 -0
- package/types/components/utilsComponents/alert.vue.d.ts +9 -0
- package/types/i18n/index.d.ts +212 -0
- package/types/i18n/locales/en-US.d.ts +53 -0
- package/types/i18n/locales/zh-CN.d.ts +53 -0
- package/types/pages/BimxViewerEntry.vue.d.ts +3 -0
- package/types/store/const.d.ts +12 -0
- package/types/store/toolbars.d.ts +53 -1
- package/types/utils/OSSHelper.d.ts +2 -0
- package/types/utils/eventBus.d.ts +6 -1
- package/types/viewerManager/load/loadModel.d.ts +88 -0
- package/types/viewerManager/sectionManager.d.ts +524 -0
- package/types/viewerManager/viewerManager.d.ts +7 -1
- package/dist/AnnotationTool-Bp8DGFFA.mjs +0 -167
- package/dist/CameraViewTool-BwVnc0ua.mjs +0 -164
- package/dist/CommentTool-C7NLPxMd.mjs +0 -1529
- package/dist/HiddenTool-i1AESn4-.mjs +0 -57
- package/dist/InspectorTool-D4gr7uiQ.mjs +0 -679
- package/dist/MeasureTool-BNBUx-1X.mjs +0 -323
- package/dist/MeasureTool-Cxnp9MVY.mjs +0 -323
- package/dist/MouseTool-DVqNDADf.mjs +0 -84
- package/dist/NavigateTool-DKTSPVCL.mjs +0 -52
- package/dist/RoamTool-CazuxheL.mjs +0 -287
- package/dist/ScreenShotTool-fYVxpPrW.mjs +0 -430
- package/dist/SectionTool-Bpk5jewK.mjs +0 -331
- package/dist/SectionTool-DMSGkjYm.mjs +0 -331
- package/dist/SettingTool-BuSm2JB6.mjs +0 -695
- package/dist/SettingTool-IBRpWdfo.mjs +0 -695
- package/dist/StructureTree-D9z28tm4.mjs +0 -1686
- package/dist/alert-DwTFq4bp.mjs +0 -47
- package/dist/const-DOnRsYpZ.mjs +0 -389
- package/dist/el-slider-C9_q447A.mjs +0 -1059
- package/dist/el-slider-dslleM3g.mjs +0 -1059
- package/dist/index-BzB8rqmg.mjs +0 -131961
- package/dist/panel.vue_vue_type_style_index_0_lang-E8w23EhV.mjs +0 -61
- package/dist/tallPanel-Dp1ZbCTR.mjs +0 -84
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { defineComponent as X, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, openBlock as M, createElementBlock as $, withDirectives as F, createElementVNode as g, normalizeStyle as D, unref as L, vShow as N } from "vue";
|
|
2
|
-
import { G as P, I as s, P as k, Y as V } from "./index-DfRswjrC.mjs";
|
|
3
|
-
const R = { class: "mouse_tool" }, U = ["src"], z = ["src"], J = /* @__PURE__ */ X({
|
|
4
|
-
__name: "MouseTool",
|
|
5
|
-
props: ["componentId"],
|
|
6
|
-
setup(O) {
|
|
7
|
-
const p = P(), y = O;
|
|
8
|
-
x(() => {
|
|
9
|
-
p.setReadyById(y.componentId), document.getElementById("top_bar");
|
|
10
|
-
});
|
|
11
|
-
let t;
|
|
12
|
-
const w = () => {
|
|
13
|
-
t = window.bimViewer, t.eventTrigger.on("pickedNothing", () => {
|
|
14
|
-
l.value = !1;
|
|
15
|
-
}), t.viewer.cameraControl.on("touchmoveCanvas", () => {
|
|
16
|
-
o = !1, n = "";
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
s.on("BimViewer", w);
|
|
20
|
-
const E = () => {
|
|
21
|
-
l.value = !1, o = !1;
|
|
22
|
-
}, T = () => {
|
|
23
|
-
};
|
|
24
|
-
s.on("unFocus", E), s.on("multiSelect", T), A(() => {
|
|
25
|
-
s.off("BimViewer", w), s.off("unFocus", E);
|
|
26
|
-
});
|
|
27
|
-
const c = _(290), i = _(300), l = _(!1);
|
|
28
|
-
let d = !1, o = !1, r = 0, a = 0, m = 0, v = 0;
|
|
29
|
-
C(
|
|
30
|
-
() => p.isToolActive(y.componentId),
|
|
31
|
-
(e) => {
|
|
32
|
-
e ? Y() : (o = !1, d = !1, r = 0, a = 0, m = 0, v = 0, j());
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
let n = "";
|
|
36
|
-
const S = (e) => {
|
|
37
|
-
o || e.touches.length == 1 && (d = !0, r = e.touches[0].clientX, a = e.touches[0].clientY), setTimeout(function() {
|
|
38
|
-
e.preventDefault();
|
|
39
|
-
}, 300);
|
|
40
|
-
}, I = (e) => {
|
|
41
|
-
o && (l.value = !0, s.emit("focusEntity", n));
|
|
42
|
-
}, b = (e) => {
|
|
43
|
-
if (d && e.touches.length == 1) {
|
|
44
|
-
const f = e.touches[0].clientX, B = e.touches[0].clientY;
|
|
45
|
-
m = f - r, v = B - a, c.value += m, i.value += v;
|
|
46
|
-
let h = new Int16Array(2);
|
|
47
|
-
h[0] = c.value + 5, h[1] = i.value + 6;
|
|
48
|
-
const u = t.viewer.scene.pick({
|
|
49
|
-
canvasPos: h
|
|
50
|
-
});
|
|
51
|
-
u ? (o = !0, n !== u.entity.id && (n = u.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(u.entity))) : (o = !1, n = "", t.setAllObjectsSelected(!1)), V.entityState.selectedObjectIds.length > 0 && t.setObjectsSelected(V.entityState.selectedObjectIds, !0), r = f, a = B;
|
|
52
|
-
}
|
|
53
|
-
}, Y = () => {
|
|
54
|
-
const e = document.getElementById("mouseGroup");
|
|
55
|
-
e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove", b), e == null || e.addEventListener("click", I), c.value = 290, i.value = 300;
|
|
56
|
-
}, j = () => {
|
|
57
|
-
const e = document.getElementById("mouseGroup");
|
|
58
|
-
e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", b), e == null || e.removeEventListener("click", I);
|
|
59
|
-
};
|
|
60
|
-
return (e, f) => (M(), $("div", R, [
|
|
61
|
-
F(g("div", {
|
|
62
|
-
id: "mouseGroup",
|
|
63
|
-
class: "mouse_group",
|
|
64
|
-
style: D({ left: `${c.value}px`, top: `${i.value}px` })
|
|
65
|
-
}, [
|
|
66
|
-
g("img", {
|
|
67
|
-
id: "mouse_icon",
|
|
68
|
-
class: "mouse_icon",
|
|
69
|
-
src: `${L(k)}/industry-viewer/mouse-icon.svg`
|
|
70
|
-
}, null, 8, U),
|
|
71
|
-
g("img", {
|
|
72
|
-
id: "mouse_img",
|
|
73
|
-
class: "mouse_img",
|
|
74
|
-
src: `${L(k)}/industry-viewer/mouse-active-large.svg`
|
|
75
|
-
}, null, 8, z)
|
|
76
|
-
], 4), [
|
|
77
|
-
[N, !l.value]
|
|
78
|
-
])
|
|
79
|
-
]));
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
export {
|
|
83
|
-
J as default
|
|
84
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { defineComponent as b, onMounted as p, ref as w, openBlock as n, createElementBlock as i, createElementVNode as s, Fragment as g, renderList as f, unref as a, normalizeClass as h, toDisplayString as I } from "vue";
|
|
2
|
-
import { F as N, G as S, P as T } from "./index-BzB8rqmg.mjs";
|
|
3
|
-
import { N as k } from "./const-DOnRsYpZ.mjs";
|
|
4
|
-
const B = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onClick"], y = { class: "best-view-icon" }, A = ["src"], C = { class: "best-view-name" }, G = /* @__PURE__ */ b({
|
|
5
|
-
__name: "NavigateTool",
|
|
6
|
-
props: ["componentId"],
|
|
7
|
-
emits: ["emitHandler"],
|
|
8
|
-
setup(r, { emit: c }) {
|
|
9
|
-
const l = N(), d = S(), v = r;
|
|
10
|
-
p(() => {
|
|
11
|
-
d.setReadyById(v.componentId);
|
|
12
|
-
});
|
|
13
|
-
const m = c, _ = (t) => {
|
|
14
|
-
m("emitHandler", t);
|
|
15
|
-
}, o = w(), u = (t) => {
|
|
16
|
-
if (t.id === o.value) {
|
|
17
|
-
o.value = "";
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
o.value = t.id, window.bimViewer.setDirection(t.dir_num), _({
|
|
21
|
-
isTool: !0,
|
|
22
|
-
event_target: "NavigateTool",
|
|
23
|
-
event_name: "changeNav",
|
|
24
|
-
content: {
|
|
25
|
-
direction: t.dir_num
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
return (t, E) => (n(), i("div", B, [
|
|
30
|
-
s("div", V, [
|
|
31
|
-
(n(!0), i(g, null, f(a(k), (e) => (n(), i("div", {
|
|
32
|
-
key: e.id,
|
|
33
|
-
class: h(["best-view-item", {
|
|
34
|
-
"best-view-item-active": o.value === e.id
|
|
35
|
-
}]),
|
|
36
|
-
onClick: (H) => u(e)
|
|
37
|
-
}, [
|
|
38
|
-
s("div", y, [
|
|
39
|
-
s("img", {
|
|
40
|
-
src: a(T) + `/bim-viewer/best-view/${o.value === e.id ? e.imgActive : e.img}.svg`,
|
|
41
|
-
alt: ""
|
|
42
|
-
}, null, 8, A),
|
|
43
|
-
s("div", C, I(a(l)(e.label || e.name)), 1)
|
|
44
|
-
])
|
|
45
|
-
], 10, x))), 128))
|
|
46
|
-
])
|
|
47
|
-
]));
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
export {
|
|
51
|
-
G as default
|
|
52
|
-
};
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, ref as u, onMounted as j, onBeforeUnmount as q, watch as z, openBlock as h, createElementBlock as b, unref as r, createElementVNode as e, toDisplayString as m, createCommentVNode as L } from "vue";
|
|
2
|
-
import { G as J, F as K, H as c, S, I as M, P as l, U as V, M as Q } from "./index-BzB8rqmg.mjs";
|
|
3
|
-
const W = { class: "roam_container_wrapper" }, Y = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "roam_container"
|
|
6
|
-
}, Z = { class: "container_title" }, ee = ["src"], oe = { class: "container_footer" }, te = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "roamToolbar"
|
|
9
|
-
}, se = { class: "roamToolbar_wrapper" }, ne = { class: "roamTool_group" }, re = { class: "speed_text" }, ae = ["src"], ie = { class: "speed_num" }, le = ["src"], de = { class: "roamTool_group" }, ue = {
|
|
10
|
-
key: 2,
|
|
11
|
-
class: "mobile_roam-box"
|
|
12
|
-
}, me = { class: "roam-left" }, ce = { class: "roam-left-box" }, ve = {
|
|
13
|
-
id: "roamMoveForward",
|
|
14
|
-
class: "roam-left-item"
|
|
15
|
-
}, _e = ["src"], we = { class: "roam-left-box" }, fe = {
|
|
16
|
-
id: "roamMoveBackward",
|
|
17
|
-
class: "roam-left-item roam-left-bottom"
|
|
18
|
-
}, ge = ["src"], pe = { class: "speed_panel roam-left" }, he = { class: "roam-left-item" }, be = { class: "up_down_img" }, Me = ["src"], Ee = { class: "speed_text" }, Be = { class: "up_down_img" }, Ie = ["src"], Le = { class: "roam-right" }, ye = {
|
|
19
|
-
id: "roamMoveUp",
|
|
20
|
-
class: "roam-right-up"
|
|
21
|
-
}, Re = ["src"], Te = { class: "roam-right-center" }, Ce = {
|
|
22
|
-
id: "roamMoveLeft",
|
|
23
|
-
class: "center-left"
|
|
24
|
-
}, ke = ["src"], De = { class: "center-center" }, Se = ["src"], Ve = {
|
|
25
|
-
id: "roamMoveRight",
|
|
26
|
-
class: "center-right"
|
|
27
|
-
}, Ue = ["src"], Fe = {
|
|
28
|
-
id: "roamMoveDown",
|
|
29
|
-
class: "roam-right-down"
|
|
30
|
-
}, Pe = ["src"], xe = /* @__PURE__ */ A({
|
|
31
|
-
__name: "RoamTool",
|
|
32
|
-
props: ["componentId"],
|
|
33
|
-
emits: ["closePanel", "emitHandler"],
|
|
34
|
-
setup(U, { emit: F }) {
|
|
35
|
-
const y = J(), v = K(), E = u("speed-up"), B = u("speed-down"), f = u("1"), g = u(!1), w = u(!0), R = U, T = F, a = u(!1), I = (t) => {
|
|
36
|
-
T("emitHandler", t);
|
|
37
|
-
}, n = u(c("isMobile"));
|
|
38
|
-
j(() => {
|
|
39
|
-
(c("isMobile") || S.showRoam === !1) && (w.value = !1), setTimeout(() => {
|
|
40
|
-
$(), N(), X(), G(), O(), H();
|
|
41
|
-
}, 1e3), y.setReadyById(R.componentId);
|
|
42
|
-
});
|
|
43
|
-
const C = () => {
|
|
44
|
-
let t = window.bimViewer.eventTrigger;
|
|
45
|
-
t.on("personModeSpeedUp", (o) => {
|
|
46
|
-
f.value = o.toString();
|
|
47
|
-
}), t.on("personModeSpeedDown", (o) => {
|
|
48
|
-
f.value = o.toString();
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
M.on("BimViewer", C), q(() => {
|
|
52
|
-
M.off("BimViewer", C);
|
|
53
|
-
});
|
|
54
|
-
const p = (t) => {
|
|
55
|
-
t ? window.bimViewer.firstPersonMode.speedUp() : window.bimViewer.firstPersonMode.speedDown();
|
|
56
|
-
};
|
|
57
|
-
V.BIMX_CONFIGS.RoamTool || (M.on("BIMX_CONFIGS", () => {
|
|
58
|
-
S.showRoam == !1 && (w.value = !1);
|
|
59
|
-
}), V.BIMX_CONFIGS.RoamTool = !0), z(
|
|
60
|
-
() => y.isToolActive(R.componentId),
|
|
61
|
-
(t) => {
|
|
62
|
-
k(!!t);
|
|
63
|
-
}
|
|
64
|
-
);
|
|
65
|
-
const k = (t) => {
|
|
66
|
-
c("isMobile") ? a.value = t : (c("hideTool") || M.emit("hideToolbar", t), t ? w.value && (g.value = !0) : g.value = !1);
|
|
67
|
-
}, P = () => {
|
|
68
|
-
w.value = !1, I({
|
|
69
|
-
isTool: !0,
|
|
70
|
-
event_target: "RoamTool",
|
|
71
|
-
event_name: "rejectRoamCourse",
|
|
72
|
-
content: {
|
|
73
|
-
msg: v("roam.dontShowCourseMessage")
|
|
74
|
-
}
|
|
75
|
-
}), D();
|
|
76
|
-
}, D = () => {
|
|
77
|
-
g.value = !1;
|
|
78
|
-
}, x = () => {
|
|
79
|
-
T("closePanel");
|
|
80
|
-
}, $ = () => {
|
|
81
|
-
var t, o, s;
|
|
82
|
-
(t = document.getElementById("roamMoveUp")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
83
|
-
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goUp = !0, _("goUp"));
|
|
84
|
-
}), (o = document.getElementById("roamMoveUp")) == null || o.addEventListener(n.value ? "touchend" : "mouseup", () => {
|
|
85
|
-
a.value && i();
|
|
86
|
-
}), (s = document.getElementById("roamMoveUp")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
87
|
-
a.value && i();
|
|
88
|
-
});
|
|
89
|
-
}, N = () => {
|
|
90
|
-
var t, o, s;
|
|
91
|
-
(t = document.getElementById("roamMoveDown")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
92
|
-
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goDown = !0, _("goDown"));
|
|
93
|
-
}), (o = document.getElementById("roamMoveDown")) == null || o.addEventListener(n.value ? "touchend" : "mouseup", () => {
|
|
94
|
-
a.value && i();
|
|
95
|
-
}), (s = document.getElementById("roamMoveDown")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
96
|
-
a.value && i();
|
|
97
|
-
});
|
|
98
|
-
}, X = () => {
|
|
99
|
-
var t, o, s;
|
|
100
|
-
(t = document.getElementById("roamMoveLeft")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
101
|
-
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goLeft = !0, _("goLeft"));
|
|
102
|
-
}), (o = document.getElementById("roamMoveLeft")) == null || o.addEventListener(n.value ? "touchend" : "mouseup", () => {
|
|
103
|
-
a.value && i();
|
|
104
|
-
}), (s = document.getElementById("roamMoveLeft")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
105
|
-
a.value && i();
|
|
106
|
-
});
|
|
107
|
-
}, G = () => {
|
|
108
|
-
var t, o, s;
|
|
109
|
-
(t = document.getElementById("roamMoveRight")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
110
|
-
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goRight = !0, _("goDown"));
|
|
111
|
-
}), (o = document.getElementById("roamMoveRight")) == null || o.addEventListener(n.value ? "touchend" : "mouseup", () => {
|
|
112
|
-
a.value && i();
|
|
113
|
-
}), (s = document.getElementById("roamMoveRight")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
114
|
-
a.value && i();
|
|
115
|
-
});
|
|
116
|
-
}, O = () => {
|
|
117
|
-
var t, o, s;
|
|
118
|
-
(t = document.getElementById("roamMoveForward")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
119
|
-
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goForward = !0, _("goForward"));
|
|
120
|
-
}), (o = document.getElementById("roamMoveForward")) == null || o.addEventListener(n.value ? "touchend" : "mouseup", () => {
|
|
121
|
-
a.value && i();
|
|
122
|
-
}), (s = document.getElementById("roamMoveForward")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
123
|
-
a.value && i();
|
|
124
|
-
});
|
|
125
|
-
}, H = () => {
|
|
126
|
-
var t, o, s;
|
|
127
|
-
(t = document.getElementById("roamMoveBackward")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
128
|
-
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goBackward = !0, _("goBackward"));
|
|
129
|
-
}), (o = document.getElementById("roamMoveBackward")) == null || o.addEventListener(n.value ? "touchend" : "mouseup", () => {
|
|
130
|
-
a.value && i();
|
|
131
|
-
}), (s = document.getElementById("roamMoveBackward")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
132
|
-
a.value && i();
|
|
133
|
-
});
|
|
134
|
-
}, _ = (t) => {
|
|
135
|
-
I({
|
|
136
|
-
isTool: !0,
|
|
137
|
-
event_target: "RoamTool",
|
|
138
|
-
event_name: "",
|
|
139
|
-
content: {
|
|
140
|
-
roam: t
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
}, i = () => {
|
|
144
|
-
window.bimViewer.firstPersonMode.setdirectionChangeCancel(), I({
|
|
145
|
-
isTool: !0,
|
|
146
|
-
event_target: "RoamTool",
|
|
147
|
-
event_name: "",
|
|
148
|
-
content: {
|
|
149
|
-
roam: "stop"
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
};
|
|
153
|
-
return (t, o) => (h(), b("div", W, [
|
|
154
|
-
!r(c)("isMobile") && g.value ? (h(), b("div", Y, [
|
|
155
|
-
e("div", Z, m(r(v)("roam.courseTitle")), 1),
|
|
156
|
-
e("img", {
|
|
157
|
-
class: "container_img",
|
|
158
|
-
src: r(l) + "/bim-viewer/roam-icon.png",
|
|
159
|
-
alt: ""
|
|
160
|
-
}, null, 8, ee),
|
|
161
|
-
e("div", oe, [
|
|
162
|
-
e("div", {
|
|
163
|
-
class: "btn1",
|
|
164
|
-
onClick: P
|
|
165
|
-
}, m(r(v)("roam.dontRemind")), 1),
|
|
166
|
-
e("div", {
|
|
167
|
-
class: "btn2",
|
|
168
|
-
onClick: D
|
|
169
|
-
}, m(r(v)("roam.gotIt")), 1)
|
|
170
|
-
])
|
|
171
|
-
])) : L("", !0),
|
|
172
|
-
r(c)("isMobile") ? L("", !0) : (h(), b("div", te, [
|
|
173
|
-
e("div", se, [
|
|
174
|
-
e("div", ne, [
|
|
175
|
-
e("div", re, m(r(v)("roam.speedLabel")), 1),
|
|
176
|
-
e("div", {
|
|
177
|
-
class: "up_down_button",
|
|
178
|
-
onClick: o[0] || (o[0] = (s) => p(!1)),
|
|
179
|
-
onMouseover: o[1] || (o[1] = (s) => B.value = "speed-down1"),
|
|
180
|
-
onMouseleave: o[2] || (o[2] = (s) => B.value = "speed-down")
|
|
181
|
-
}, [
|
|
182
|
-
e("img", {
|
|
183
|
-
src: r(l) + "/bim-viewer/roam-bar/" + B.value + ".png"
|
|
184
|
-
}, null, 8, ae)
|
|
185
|
-
], 32),
|
|
186
|
-
e("div", ie, m(f.value) + "X", 1),
|
|
187
|
-
e("div", {
|
|
188
|
-
class: "up_down_button",
|
|
189
|
-
onClick: o[3] || (o[3] = (s) => p(!0)),
|
|
190
|
-
onMouseover: o[4] || (o[4] = (s) => E.value = "speed-up1"),
|
|
191
|
-
onMouseleave: o[5] || (o[5] = (s) => E.value = "speed-up")
|
|
192
|
-
}, [
|
|
193
|
-
e("img", {
|
|
194
|
-
src: r(l) + "/bim-viewer/roam-bar/" + E.value + ".png"
|
|
195
|
-
}, null, 8, le)
|
|
196
|
-
], 32)
|
|
197
|
-
]),
|
|
198
|
-
o[8] || (o[8] = e("div", { class: "split" }, null, -1)),
|
|
199
|
-
e("div", de, [
|
|
200
|
-
e("div", {
|
|
201
|
-
class: "cancel_button",
|
|
202
|
-
onClick: x
|
|
203
|
-
}, m(r(v)("common.close")), 1)
|
|
204
|
-
])
|
|
205
|
-
])
|
|
206
|
-
])),
|
|
207
|
-
r(c)("isMobile") ? (h(), b("div", ue, [
|
|
208
|
-
e("div", me, [
|
|
209
|
-
e("div", ce, [
|
|
210
|
-
e("div", ve, [
|
|
211
|
-
e("img", {
|
|
212
|
-
src: r(l) + "/bim-viewer/roam-bar/up.svg",
|
|
213
|
-
alt: ""
|
|
214
|
-
}, null, 8, _e)
|
|
215
|
-
])
|
|
216
|
-
]),
|
|
217
|
-
e("div", we, [
|
|
218
|
-
e("div", fe, [
|
|
219
|
-
e("img", {
|
|
220
|
-
src: r(l) + "/bim-viewer/roam-bar/down.svg",
|
|
221
|
-
alt: ""
|
|
222
|
-
}, null, 8, ge)
|
|
223
|
-
])
|
|
224
|
-
])
|
|
225
|
-
]),
|
|
226
|
-
e("div", pe, [
|
|
227
|
-
e("div", he, [
|
|
228
|
-
e("div", be, [
|
|
229
|
-
e("img", {
|
|
230
|
-
src: r(l) + "/bim-viewer/roam-bar/plus.svg",
|
|
231
|
-
onClick: o[6] || (o[6] = (s) => p(!0)),
|
|
232
|
-
alt: ""
|
|
233
|
-
}, null, 8, Me)
|
|
234
|
-
]),
|
|
235
|
-
e("div", Ee, [
|
|
236
|
-
e("span", null, m(f.value) + "X", 1)
|
|
237
|
-
]),
|
|
238
|
-
e("div", Be, [
|
|
239
|
-
e("img", {
|
|
240
|
-
src: r(l) + "/bim-viewer/roam-bar/minus.svg",
|
|
241
|
-
onClick: o[7] || (o[7] = (s) => p(!1)),
|
|
242
|
-
alt: ""
|
|
243
|
-
}, null, 8, Ie)
|
|
244
|
-
])
|
|
245
|
-
])
|
|
246
|
-
]),
|
|
247
|
-
e("div", Le, [
|
|
248
|
-
e("div", ye, [
|
|
249
|
-
e("img", {
|
|
250
|
-
src: r(l) + "/bim-viewer/roam-bar/top.svg",
|
|
251
|
-
alt: ""
|
|
252
|
-
}, null, 8, Re)
|
|
253
|
-
]),
|
|
254
|
-
e("div", Te, [
|
|
255
|
-
e("div", Ce, [
|
|
256
|
-
e("img", {
|
|
257
|
-
src: r(l) + "/bim-viewer/roam-bar/left.svg",
|
|
258
|
-
alt: ""
|
|
259
|
-
}, null, 8, ke)
|
|
260
|
-
]),
|
|
261
|
-
e("div", De, [
|
|
262
|
-
e("img", {
|
|
263
|
-
src: r(l) + "/bim-viewer/roam-bar/center.svg",
|
|
264
|
-
alt: ""
|
|
265
|
-
}, null, 8, Se)
|
|
266
|
-
]),
|
|
267
|
-
e("div", Ve, [
|
|
268
|
-
e("img", {
|
|
269
|
-
src: r(l) + "/bim-viewer/roam-bar/right.svg",
|
|
270
|
-
alt: ""
|
|
271
|
-
}, null, 8, Ue)
|
|
272
|
-
])
|
|
273
|
-
]),
|
|
274
|
-
e("div", Fe, [
|
|
275
|
-
e("img", {
|
|
276
|
-
src: r(l) + "/bim-viewer/roam-bar/bottom.svg",
|
|
277
|
-
alt: ""
|
|
278
|
-
}, null, 8, Pe)
|
|
279
|
-
])
|
|
280
|
-
])
|
|
281
|
-
])) : L("", !0)
|
|
282
|
-
]));
|
|
283
|
-
}
|
|
284
|
-
}), Xe = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-566257e2"]]);
|
|
285
|
-
export {
|
|
286
|
-
Xe as default
|
|
287
|
-
};
|