@xtctwins/tctwins-bimx-engine 0.3.14 → 0.3.16
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/dist/01.xtc +0 -0
- package/dist/02.xtc +0 -0
- package/dist/03.xtc +0 -0
- package/dist/{AnnotationTool-CteDVdjW.mjs → AnnotationTool-nASKNjgr.mjs} +19 -19
- package/dist/BIMX_Viewer_Lib.es.js +6 -6
- package/dist/BIMX_Viewer_Lib.umd.js +166 -216
- package/dist/{CameraViewTool-T8acWRci.mjs → CameraViewTool-DhAfiKWu.mjs} +31 -31
- package/dist/{CommentTool-6Bjd87ri.mjs → CommentTool-a-BELMsU.mjs} +189 -189
- package/dist/{HiddenTool-cf_s5erB.mjs → HiddenTool-CqWfECbU.mjs} +13 -13
- package/dist/{InspectorTool-cXUQlhyS.mjs → InspectorTool-x0VVNWza.mjs} +12 -12
- package/dist/{MeasureTool-BipLSGw7.mjs → MeasureTool-DznYUEiR.mjs} +120 -120
- package/dist/{MouseTool-DGBE-edy.mjs → MouseTool-D8x8R2Hl.mjs} +8 -8
- package/dist/{NavigateTool-zSUmWXN2.mjs → NavigateTool-D16vm_Ng.mjs} +8 -8
- package/dist/{OperateTool-C15IxBPv.mjs → OperateTool-_E-8qp5I.mjs} +38 -38
- package/dist/{RoamTool-DRNu4bLS.mjs → RoamTool-ClbGAw0m.mjs} +15 -15
- package/dist/ScreenShotTool-BLHWBbYl.mjs +356 -0
- package/dist/{SectionTool-B9a0BliD.mjs → SectionTool-BduU5qr3.mjs} +70 -70
- package/dist/SettingTool-Dd-fS2IZ.mjs +1508 -0
- package/dist/StructureTree-Byfx-R9w.mjs +1582 -0
- package/dist/{alert-DVn5lHZn.mjs → alert-GVU1wFz1.mjs} +5 -5
- package/dist/{index-CXNtm8Fi.mjs → index-CdBeaeTl.mjs} +56655 -59801
- package/dist/{panel.vue_vue_type_style_index_0_lang-BuMjq_s_.mjs → panel.vue_vue_type_style_index_0_lang-BsP4zr2g.mjs} +1 -1
- package/dist/style.css +3 -3
- package/dist/{tallPanel-GRXOYaO1.mjs → tallPanel-B5pNGD_G.mjs} +10 -10
- package/package.json +1 -1
- package/types/App.vue.d.ts +1 -3
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
- package/types/components/BCFComponents/commentInput.vue.d.ts +11 -37
- package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
- package/types/components/BCFComponents/imageView.vue.d.ts +8 -6
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
- package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +1 -32
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +8 -6
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -270
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -291
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
- package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/SettingTool.vue.d.ts +6 -4
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -11642
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +10 -0
- package/types/components/BimxViewerComp.vue.d.ts +23 -7
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -291
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -270
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
- package/types/components/bimxViewer.vue.d.ts +27 -0
- package/types/components/utilsComponents/alert.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
- package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
- package/types/components/utilsComponents/loading.vue.d.ts +1 -1
- package/types/components/utilsComponents/panel.vue.d.ts +2 -8
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
- package/types/components/utilsComponents/tallPanel.vue.d.ts +3 -13
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +3 -13
- package/types/i18n/index.d.ts +24 -0
- package/types/i18n/locales/en-US.d.ts +6 -0
- package/types/i18n/locales/zh-CN.d.ts +6 -0
- package/types/pages/BimxViewerEntry.vue.d.ts +66 -4
- package/types/pages/viewerEntry.vue.d.ts +116 -0
- package/types/store/bcfReflect.d.ts +1 -1
- package/types/store/toolbars.d.ts +50 -50
- package/types/tests/cmt.d.ts +1 -0
- package/types/utils/eventBus.d.ts +1 -1
- package/types/viewerManager/initial/viewerInitial.d.ts +1 -0
- package/types/viewerManager/load/loadModel.d.ts +28 -6
- package/types/viewerManager/sectionManager.d.ts +25 -25
- package/dist/ScreenShotTool-7EXcMhsh.mjs +0 -429
- package/dist/SettingTool-C9IagqKW.mjs +0 -1745
- package/dist/StructureTree-Ktdt3a3q.mjs +0 -1685
|
@@ -1,11 +1,11 @@
|
|
|
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 h, unref as a, normalizeClass as f, toDisplayString as
|
|
2
|
-
import {
|
|
3
|
-
const N = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onClick"], y = { class: "best-view-icon" }, A = ["src"], C = { class: "best-view-name" },
|
|
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 h, unref as a, normalizeClass as f, toDisplayString as B } from "vue";
|
|
2
|
+
import { n as I, o as S, aB as T, O as k } from "./index-CdBeaeTl.mjs";
|
|
3
|
+
const N = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onClick"], y = { class: "best-view-icon" }, A = ["src"], C = { class: "best-view-name" }, O = /* @__PURE__ */ b({
|
|
4
4
|
__name: "NavigateTool",
|
|
5
5
|
props: ["componentId"],
|
|
6
6
|
emits: ["emitHandler"],
|
|
7
7
|
setup(c, { emit: r }) {
|
|
8
|
-
const l =
|
|
8
|
+
const l = I(), d = S(), v = c;
|
|
9
9
|
p(() => {
|
|
10
10
|
d.setReadyById(v.componentId);
|
|
11
11
|
});
|
|
@@ -27,7 +27,7 @@ const N = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onC
|
|
|
27
27
|
};
|
|
28
28
|
return (t, E) => (n(), i("div", N, [
|
|
29
29
|
s("div", V, [
|
|
30
|
-
(n(!0), i(g, null, h(a(
|
|
30
|
+
(n(!0), i(g, null, h(a(T), (e) => (n(), i("div", {
|
|
31
31
|
key: e.id,
|
|
32
32
|
class: f(["best-view-item", {
|
|
33
33
|
"best-view-item-active": o.value === e.id
|
|
@@ -36,10 +36,10 @@ const N = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onC
|
|
|
36
36
|
}, [
|
|
37
37
|
s("div", y, [
|
|
38
38
|
s("img", {
|
|
39
|
-
src: a(
|
|
39
|
+
src: a(k) + `/bim-viewer/best-view/${o.value === e.id ? e.imgActive : e.img}.svg`,
|
|
40
40
|
alt: ""
|
|
41
41
|
}, null, 8, A),
|
|
42
|
-
s("div", C,
|
|
42
|
+
s("div", C, B(a(l)(e.label || e.name)), 1)
|
|
43
43
|
])
|
|
44
44
|
], 10, x))), 128))
|
|
45
45
|
])
|
|
@@ -47,5 +47,5 @@ const N = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onC
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
O as default
|
|
51
51
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as U, onMounted as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as U, onMounted as q, computed as I, ref as h, watch as z, onBeforeUnmount as G, openBlock as E, createBlock as J, Transition as K, withCtx as Q, withDirectives as W, createElementVNode as n, toDisplayString as O, normalizeClass as V, unref as f, createElementBlock as Y, Fragment as Z, renderList as ee, vShow as te } from "vue";
|
|
2
|
+
import { n as se, o as le, q as T, O as _, V as m, y as ie } from "./index-CdBeaeTl.mjs";
|
|
3
3
|
const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re = { class: "operate_toolbar" }, oe = ["src"], ce = ["onClick"], ue = ["src"], de = ["src"], ve = /* @__PURE__ */ U({
|
|
4
4
|
__name: "OperateTool",
|
|
5
5
|
props: ["componentId"],
|
|
6
6
|
emits: ["emitHandler"],
|
|
7
7
|
setup(x, { expose: B, emit: C }) {
|
|
8
|
-
const a = se(), b = le(),
|
|
9
|
-
|
|
10
|
-
b.setReadyById(
|
|
8
|
+
const a = se(), b = le(), w = x;
|
|
9
|
+
q(() => {
|
|
10
|
+
b.setReadyById(w.componentId);
|
|
11
11
|
});
|
|
12
12
|
const H = [
|
|
13
13
|
{ mode: 0, name: "operate.focus", img: "fit" },
|
|
@@ -15,12 +15,12 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
|
|
|
15
15
|
{ mode: 2, name: "operate.onlyShow", img: "hide-other" },
|
|
16
16
|
{ mode: 3, name: "operate.edge", img: "edge" },
|
|
17
17
|
{ mode: 4, name: "operate.transparent", img: "opacity" }
|
|
18
|
-
], M =
|
|
18
|
+
], M = I(() => b.isToolActive(w.componentId)), r = h(-1), i = h([]), g = h(!1), u = h(!0), d = h(!0), N = (t) => t.mode === 3 ? u.value ? "edge" : "solid" : t.mode === 4 ? d.value ? "opacity" : "fill" : t.img, R = (t) => t.mode === 3 ? u.value ? "operate.edge" : "operate.fill" : t.mode === 4 ? d.value ? "operate.transparent" : "operate.solid" : t.name;
|
|
19
19
|
let e;
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
20
|
+
const $ = C, F = (t) => {
|
|
21
|
+
$("emitHandler", t);
|
|
22
|
+
}, y = (t, s) => {
|
|
23
|
+
F({
|
|
24
24
|
isTool: !0,
|
|
25
25
|
event_target: "OperateTool",
|
|
26
26
|
event_name: "operateAction",
|
|
@@ -29,7 +29,7 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
|
|
|
29
29
|
operateIds: s
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
},
|
|
32
|
+
}, X = I(() => {
|
|
33
33
|
if (i.value.length > 0)
|
|
34
34
|
return r.value === 5 ? a("operate.hintMultiSelected", { count: i.value.length }) : a("operate.hintSelected", { count: i.value.length });
|
|
35
35
|
switch (r.value) {
|
|
@@ -48,7 +48,7 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
|
|
|
48
48
|
default:
|
|
49
49
|
return a("operate.hintDefault");
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
51
|
+
}), D = (t) => {
|
|
52
52
|
i.value.includes(t) ? i.value = i.value.filter((s) => s !== t) : i.value.push(t), i.value.length > 0 ? (e.setAllObjectsSelected(!1), e.setObjectsSelected(i.value, !0)) : e.setAllObjectsSelected(!1);
|
|
53
53
|
}, v = () => {
|
|
54
54
|
i.value = [], e == null || e.setAllObjectsSelected(!1);
|
|
@@ -80,12 +80,12 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
|
|
|
80
80
|
break;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
},
|
|
83
|
+
y(t, s);
|
|
84
|
+
}, L = (t) => {
|
|
85
85
|
if (!window.bimViewer.disableClickEvent || !b.isToolActiveBykey("operate")) return;
|
|
86
86
|
const s = r.value;
|
|
87
87
|
if (s === -1 || s === 5) {
|
|
88
|
-
|
|
88
|
+
D(t.id), p();
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
91
|
if (s === 2) {
|
|
@@ -94,18 +94,18 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
|
|
|
94
94
|
o.includes(t.id) || o.push(t.id), e.setAllObjectsVisible(!1), e.setObjectsVisible(o, !0), v();
|
|
95
95
|
} else
|
|
96
96
|
g.value || (e.setAllObjectsVisible(!1), g.value = !0), e.setEntityVisible(t, !0);
|
|
97
|
-
|
|
97
|
+
y(2, [t.id]), p();
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
let l;
|
|
101
101
|
i.value.length > 0 ? (l = [...i.value], l.includes(t.id) || l.push(t.id)) : l = [t.id], j(s, l), s !== 0 && v(), p();
|
|
102
|
-
},
|
|
102
|
+
}, P = () => {
|
|
103
103
|
b.isToolActiveBykey("operate") && (v(), p());
|
|
104
104
|
}, S = () => {
|
|
105
|
-
e = window.bimViewer, e.eventTrigger.on("pickedEntity",
|
|
105
|
+
e = window.bimViewer, e.eventTrigger.on("pickedEntity", L), e.eventTrigger.on("pickedNothing", P);
|
|
106
106
|
};
|
|
107
|
-
|
|
108
|
-
const
|
|
107
|
+
T.on("BimViewer", S);
|
|
108
|
+
const k = (t) => {
|
|
109
109
|
if (r.value === t) {
|
|
110
110
|
r.value = -1;
|
|
111
111
|
return;
|
|
@@ -113,63 +113,63 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
|
|
|
113
113
|
if (e) {
|
|
114
114
|
if (i.value.length > 0) {
|
|
115
115
|
const s = [...i.value];
|
|
116
|
-
t === 0 ? (e.viewFitObjects(s),
|
|
116
|
+
t === 0 ? (e.viewFitObjects(s), y(t, s)) : t !== 5 && (j(t, s), v()), p();
|
|
117
117
|
}
|
|
118
118
|
r.value = t;
|
|
119
119
|
}
|
|
120
|
-
},
|
|
121
|
-
e && (r.value = -1, g.value = !1, u.value = !0, d.value = !0, v(), e.setAllObjectsVisible(!0), e.setAllObjectsXRayed(!1), e.setAllObjectsHighlighted(!1), e.setAllObjectsEdges(e.edgesActive), p(),
|
|
120
|
+
}, A = () => {
|
|
121
|
+
e && (r.value = -1, g.value = !1, u.value = !0, d.value = !0, v(), e.setAllObjectsVisible(!0), e.setAllObjectsXRayed(!1), e.setAllObjectsHighlighted(!1), e.setAllObjectsEdges(e.edgesActive), p(), y(-1, []));
|
|
122
122
|
}, p = () => {
|
|
123
123
|
e && (m.entityState.xrayedObjectIds = e.viewer.scene.xrayedObjectIds, m.entityState.highlightedObjectIds = e.viewer.scene.highlightedObjectIds, m.entityState.selectedObjectIds = e.viewer.scene.selectedObjectIds, m.entityState.visibleObjectIds = e.viewer.scene.visibleObjectIds, m.entityState.edgesObjectIds = e.viewer.scene.edgesObjectIds);
|
|
124
124
|
};
|
|
125
|
-
return
|
|
126
|
-
() => b.isToolActive(
|
|
125
|
+
return z(
|
|
126
|
+
() => b.isToolActive(w.componentId),
|
|
127
127
|
(t) => {
|
|
128
128
|
t || (r.value = -1, g.value = !1, u.value = !0, d.value = !0, v(), window.bimViewer && (window.bimViewer.disableClickEvent = !1));
|
|
129
129
|
}
|
|
130
|
-
),
|
|
131
|
-
|
|
130
|
+
), G(() => {
|
|
131
|
+
T.off("BimViewer", S);
|
|
132
132
|
}), B({
|
|
133
|
-
recoverAll:
|
|
133
|
+
recoverAll: A
|
|
134
134
|
}), (t, s) => (E(), J(K, { name: "operate-fade" }, {
|
|
135
135
|
default: Q(() => [
|
|
136
136
|
W(n("div", ne, [
|
|
137
137
|
n("div", ae, [
|
|
138
|
-
n("span", null,
|
|
138
|
+
n("span", null, O(X.value), 1)
|
|
139
139
|
]),
|
|
140
140
|
n("div", re, [
|
|
141
141
|
n("div", {
|
|
142
|
-
class:
|
|
143
|
-
onClick: s[0] || (s[0] = (l) =>
|
|
142
|
+
class: V(["operate_btn", { operate_btn_active: r.value === 5 }]),
|
|
143
|
+
onClick: s[0] || (s[0] = (l) => k(5))
|
|
144
144
|
}, [
|
|
145
145
|
n("img", {
|
|
146
146
|
src: `${f(_)}/industry-viewer/detail-bar/multiSelect.svg`,
|
|
147
147
|
alt: ""
|
|
148
148
|
}, null, 8, oe),
|
|
149
|
-
n("span", null,
|
|
149
|
+
n("span", null, O(f(a)("operate.multiSelect")), 1)
|
|
150
150
|
], 2),
|
|
151
151
|
s[1] || (s[1] = n("div", { class: "split_line" }, null, -1)),
|
|
152
152
|
(E(), Y(Z, null, ee(H, (l) => n("div", {
|
|
153
153
|
key: l.mode,
|
|
154
|
-
class:
|
|
155
|
-
onClick: (o) =>
|
|
154
|
+
class: V(["operate_btn", { operate_btn_active: r.value === l.mode }]),
|
|
155
|
+
onClick: (o) => k(l.mode)
|
|
156
156
|
}, [
|
|
157
157
|
n("img", {
|
|
158
|
-
src: `${f(_)}/industry-viewer/detail-bar/${
|
|
158
|
+
src: `${f(_)}/industry-viewer/detail-bar/${N(l)}.svg`,
|
|
159
159
|
alt: ""
|
|
160
160
|
}, null, 8, ue),
|
|
161
|
-
n("span", null,
|
|
161
|
+
n("span", null, O(f(a)(R(l))), 1)
|
|
162
162
|
], 10, ce)), 64)),
|
|
163
163
|
s[2] || (s[2] = n("div", { class: "split_line" }, null, -1)),
|
|
164
164
|
n("div", {
|
|
165
165
|
class: "operate_btn",
|
|
166
|
-
onClick:
|
|
166
|
+
onClick: A
|
|
167
167
|
}, [
|
|
168
168
|
n("img", {
|
|
169
169
|
src: `${f(_)}/industry-viewer/reset.svg`,
|
|
170
170
|
alt: ""
|
|
171
171
|
}, null, 8, de),
|
|
172
|
-
n("span", null,
|
|
172
|
+
n("span", null, O(f(a)("operate.recover")), 1)
|
|
173
173
|
])
|
|
174
174
|
])
|
|
175
175
|
], 512), [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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 {
|
|
2
|
+
import { o as J, n as K, p as c, C as S, q as M, O as l, D as V, y as Q } from "./index-CdBeaeTl.mjs";
|
|
3
3
|
const W = { class: "roam_container_wrapper" }, Y = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "roam_container"
|
|
@@ -21,7 +21,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
21
21
|
}, Re = ["src"], Te = { class: "roam-right-center" }, Ce = {
|
|
22
22
|
id: "roamMoveLeft",
|
|
23
23
|
class: "center-left"
|
|
24
|
-
},
|
|
24
|
+
}, De = ["src"], ke = { class: "center-center" }, Se = ["src"], Ve = {
|
|
25
25
|
id: "roamMoveRight",
|
|
26
26
|
class: "center-right"
|
|
27
27
|
}, Ue = ["src"], Fe = {
|
|
@@ -37,7 +37,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
37
37
|
}, n = u(c("isMobile"));
|
|
38
38
|
j(() => {
|
|
39
39
|
(c("isMobile") || S.showRoam === !1) && (w.value = !1), setTimeout(() => {
|
|
40
|
-
$(), N(),
|
|
40
|
+
$(), N(), O(), X(), G(), H();
|
|
41
41
|
}, 1e3), y.setReadyById(R.componentId);
|
|
42
42
|
});
|
|
43
43
|
const C = () => {
|
|
@@ -59,10 +59,10 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
59
59
|
}), V.BIMX_CONFIGS.RoamTool = !0), z(
|
|
60
60
|
() => y.isToolActive(R.componentId),
|
|
61
61
|
(t) => {
|
|
62
|
-
|
|
62
|
+
D(!!t);
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
|
-
const
|
|
65
|
+
const D = (t) => {
|
|
66
66
|
c("isMobile") ? a.value = t : (c("hideTool") || M.emit("hideToolbar", t), t ? w.value && (g.value = !0) : g.value = !1);
|
|
67
67
|
}, P = () => {
|
|
68
68
|
w.value = !1, I({
|
|
@@ -72,8 +72,8 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
72
72
|
content: {
|
|
73
73
|
msg: v("roam.dontShowCourseMessage")
|
|
74
74
|
}
|
|
75
|
-
}),
|
|
76
|
-
},
|
|
75
|
+
}), k();
|
|
76
|
+
}, k = () => {
|
|
77
77
|
g.value = !1;
|
|
78
78
|
}, x = () => {
|
|
79
79
|
T("closePanel");
|
|
@@ -95,7 +95,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
95
95
|
}), (s = document.getElementById("roamMoveDown")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
96
96
|
a.value && i();
|
|
97
97
|
});
|
|
98
|
-
},
|
|
98
|
+
}, O = () => {
|
|
99
99
|
var t, o, s;
|
|
100
100
|
(t = document.getElementById("roamMoveLeft")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
101
101
|
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goLeft = !0, _("goLeft"));
|
|
@@ -104,7 +104,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
104
104
|
}), (s = document.getElementById("roamMoveLeft")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
105
105
|
a.value && i();
|
|
106
106
|
});
|
|
107
|
-
},
|
|
107
|
+
}, X = () => {
|
|
108
108
|
var t, o, s;
|
|
109
109
|
(t = document.getElementById("roamMoveRight")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
110
110
|
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goRight = !0, _("goDown"));
|
|
@@ -113,7 +113,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
113
113
|
}), (s = document.getElementById("roamMoveRight")) == null || s.addEventListener(n.value ? "touchcancel" : "mouseup", () => {
|
|
114
114
|
a.value && i();
|
|
115
115
|
});
|
|
116
|
-
},
|
|
116
|
+
}, G = () => {
|
|
117
117
|
var t, o, s;
|
|
118
118
|
(t = document.getElementById("roamMoveForward")) == null || t.addEventListener(n.value ? "touchstart" : "mousedown", (d) => {
|
|
119
119
|
a.value && (n.value && d.preventDefault(), window.bimViewer.firstPersonMode.goForward = !0, _("goForward"));
|
|
@@ -165,7 +165,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
165
165
|
}, m(r(v)("roam.dontRemind")), 1),
|
|
166
166
|
e("div", {
|
|
167
167
|
class: "btn2",
|
|
168
|
-
onClick:
|
|
168
|
+
onClick: k
|
|
169
169
|
}, m(r(v)("roam.gotIt")), 1)
|
|
170
170
|
])
|
|
171
171
|
])) : L("", !0),
|
|
@@ -256,9 +256,9 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
256
256
|
e("img", {
|
|
257
257
|
src: r(l) + "/bim-viewer/roam-bar/left.svg",
|
|
258
258
|
alt: ""
|
|
259
|
-
}, null, 8,
|
|
259
|
+
}, null, 8, De)
|
|
260
260
|
]),
|
|
261
|
-
e("div",
|
|
261
|
+
e("div", ke, [
|
|
262
262
|
e("img", {
|
|
263
263
|
src: r(l) + "/bim-viewer/roam-bar/center.svg",
|
|
264
264
|
alt: ""
|
|
@@ -281,7 +281,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
|
|
|
281
281
|
])) : L("", !0)
|
|
282
282
|
]));
|
|
283
283
|
}
|
|
284
|
-
}),
|
|
284
|
+
}), Oe = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-566257e2"]]);
|
|
285
285
|
export {
|
|
286
|
-
|
|
286
|
+
Oe as default
|
|
287
287
|
};
|