@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.
Files changed (95) hide show
  1. package/dist/01.xtc +0 -0
  2. package/dist/02.xtc +0 -0
  3. package/dist/03.xtc +0 -0
  4. package/dist/{AnnotationTool-CteDVdjW.mjs → AnnotationTool-nASKNjgr.mjs} +19 -19
  5. package/dist/BIMX_Viewer_Lib.es.js +6 -6
  6. package/dist/BIMX_Viewer_Lib.umd.js +166 -216
  7. package/dist/{CameraViewTool-T8acWRci.mjs → CameraViewTool-DhAfiKWu.mjs} +31 -31
  8. package/dist/{CommentTool-6Bjd87ri.mjs → CommentTool-a-BELMsU.mjs} +189 -189
  9. package/dist/{HiddenTool-cf_s5erB.mjs → HiddenTool-CqWfECbU.mjs} +13 -13
  10. package/dist/{InspectorTool-cXUQlhyS.mjs → InspectorTool-x0VVNWza.mjs} +12 -12
  11. package/dist/{MeasureTool-BipLSGw7.mjs → MeasureTool-DznYUEiR.mjs} +120 -120
  12. package/dist/{MouseTool-DGBE-edy.mjs → MouseTool-D8x8R2Hl.mjs} +8 -8
  13. package/dist/{NavigateTool-zSUmWXN2.mjs → NavigateTool-D16vm_Ng.mjs} +8 -8
  14. package/dist/{OperateTool-C15IxBPv.mjs → OperateTool-_E-8qp5I.mjs} +38 -38
  15. package/dist/{RoamTool-DRNu4bLS.mjs → RoamTool-ClbGAw0m.mjs} +15 -15
  16. package/dist/ScreenShotTool-BLHWBbYl.mjs +356 -0
  17. package/dist/{SectionTool-B9a0BliD.mjs → SectionTool-BduU5qr3.mjs} +70 -70
  18. package/dist/SettingTool-Dd-fS2IZ.mjs +1508 -0
  19. package/dist/StructureTree-Byfx-R9w.mjs +1582 -0
  20. package/dist/{alert-DVn5lHZn.mjs → alert-GVU1wFz1.mjs} +5 -5
  21. package/dist/{index-CXNtm8Fi.mjs → index-CdBeaeTl.mjs} +56655 -59801
  22. 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
  23. package/dist/style.css +3 -3
  24. package/dist/{tallPanel-GRXOYaO1.mjs → tallPanel-B5pNGD_G.mjs} +10 -10
  25. package/package.json +1 -1
  26. package/types/App.vue.d.ts +1 -3
  27. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
  28. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
  29. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
  30. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
  31. package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
  32. package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
  33. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
  34. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
  35. package/types/components/BCFComponents/commentInput.vue.d.ts +11 -37
  36. package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
  37. package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
  38. package/types/components/BCFComponents/imageView.vue.d.ts +8 -6
  39. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
  40. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  41. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
  42. package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +1 -1
  43. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  44. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +1 -32
  45. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  46. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +8 -6
  47. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
  48. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  49. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -270
  50. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -291
  51. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
  52. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  53. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  54. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  55. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  56. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +6 -4
  57. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -11642
  58. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  59. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
  60. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +10 -0
  61. package/types/components/BimxViewerComp.vue.d.ts +23 -7
  62. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
  63. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
  64. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -291
  65. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -270
  66. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
  67. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
  68. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
  69. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
  70. package/types/components/bimxViewer.vue.d.ts +27 -0
  71. package/types/components/utilsComponents/alert.vue.d.ts +1 -1
  72. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  73. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  74. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  75. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  76. package/types/components/utilsComponents/panel.vue.d.ts +2 -8
  77. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  78. package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
  79. package/types/components/utilsComponents/tallPanel.vue.d.ts +3 -13
  80. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +3 -13
  81. package/types/i18n/index.d.ts +24 -0
  82. package/types/i18n/locales/en-US.d.ts +6 -0
  83. package/types/i18n/locales/zh-CN.d.ts +6 -0
  84. package/types/pages/BimxViewerEntry.vue.d.ts +66 -4
  85. package/types/pages/viewerEntry.vue.d.ts +116 -0
  86. package/types/store/bcfReflect.d.ts +1 -1
  87. package/types/store/toolbars.d.ts +50 -50
  88. package/types/tests/cmt.d.ts +1 -0
  89. package/types/utils/eventBus.d.ts +1 -1
  90. package/types/viewerManager/initial/viewerInitial.d.ts +1 -0
  91. package/types/viewerManager/load/loadModel.d.ts +28 -6
  92. package/types/viewerManager/sectionManager.d.ts +25 -25
  93. package/dist/ScreenShotTool-7EXcMhsh.mjs +0 -429
  94. package/dist/SettingTool-C9IagqKW.mjs +0 -1745
  95. 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 I } from "vue";
2
- import { F as S, G as T, aK as k, P as B } from "./index-CXNtm8Fi.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" }, F = /* @__PURE__ */ b({
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 = S(), d = T(), v = c;
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(k), (e) => (n(), i("div", {
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(B) + `/bim-viewer/best-view/${o.value === e.id ? e.imgActive : e.img}.svg`,
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, I(a(l)(e.label || e.name)), 1)
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
- F as default
50
+ O as default
51
51
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as U, onMounted as z, computed as A, ref as h, watch as G, onBeforeUnmount as q, openBlock as E, createBlock as J, Transition as K, withCtx as Q, withDirectives as W, createElementVNode as n, toDisplayString as y, normalizeClass as T, unref as f, createElementBlock as Y, Fragment as Z, renderList as ee, vShow as te } from "vue";
2
- import { F as se, G as le, I as V, P as _, a0 as m, M as ie } from "./index-CXNtm8Fi.mjs";
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(), O = x;
9
- z(() => {
10
- b.setReadyById(O.componentId);
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 = A(() => b.isToolActive(O.componentId)), r = h(-1), i = h([]), g = h(!1), u = h(!0), d = h(!0), F = (t) => t.mode === 3 ? u.value ? "edge" : "solid" : t.mode === 4 ? d.value ? "opacity" : "fill" : t.img, N = (t) => t.mode === 3 ? u.value ? "operate.edge" : "operate.fill" : t.mode === 4 ? d.value ? "operate.transparent" : "operate.solid" : t.name;
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 R = C, $ = (t) => {
21
- R("emitHandler", t);
22
- }, w = (t, s) => {
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
- }, P = A(() => {
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
- }), X = (t) => {
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
- w(t, s);
84
- }, D = (t) => {
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
- X(t.id), p();
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
- w(2, [t.id]), p();
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
- }, L = () => {
102
+ }, P = () => {
103
103
  b.isToolActiveBykey("operate") && (v(), p());
104
104
  }, S = () => {
105
- e = window.bimViewer, e.eventTrigger.on("pickedEntity", D), e.eventTrigger.on("pickedNothing", L);
105
+ e = window.bimViewer, e.eventTrigger.on("pickedEntity", L), e.eventTrigger.on("pickedNothing", P);
106
106
  };
107
- V.on("BimViewer", S);
108
- const I = (t) => {
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), w(t, s)) : t !== 5 && (j(t, s), v()), p();
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
- }, k = () => {
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(), w(-1, []));
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 G(
126
- () => b.isToolActive(O.componentId),
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
- ), q(() => {
131
- V.off("BimViewer", S);
130
+ ), G(() => {
131
+ T.off("BimViewer", S);
132
132
  }), B({
133
- recoverAll: k
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, y(P.value), 1)
138
+ n("span", null, O(X.value), 1)
139
139
  ]),
140
140
  n("div", re, [
141
141
  n("div", {
142
- class: T(["operate_btn", { operate_btn_active: r.value === 5 }]),
143
- onClick: s[0] || (s[0] = (l) => I(5))
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, y(f(a)("operate.multiSelect")), 1)
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: T(["operate_btn", { operate_btn_active: r.value === l.mode }]),
155
- onClick: (o) => I(l.mode)
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/${F(l)}.svg`,
158
+ src: `${f(_)}/industry-viewer/detail-bar/${N(l)}.svg`,
159
159
  alt: ""
160
160
  }, null, 8, ue),
161
- n("span", null, y(f(a)(N(l))), 1)
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: k
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, y(f(a)("operate.recover")), 1)
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 { G as J, F as K, H as c, U as S, I as M, P as l, V, M as Q } from "./index-CXNtm8Fi.mjs";
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
- }, ke = ["src"], De = { class: "center-center" }, Se = ["src"], Ve = {
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(), X(), G(), O(), H();
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
- k(!!t);
62
+ D(!!t);
63
63
  }
64
64
  );
65
- const k = (t) => {
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
- }), D();
76
- }, D = () => {
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
- }, X = () => {
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
- }, G = () => {
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
- }, O = () => {
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: D
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, ke)
259
+ }, null, 8, De)
260
260
  ]),
261
- e("div", De, [
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
- }), Xe = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-566257e2"]]);
284
+ }), Oe = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-566257e2"]]);
285
285
  export {
286
- Xe as default
286
+ Oe as default
287
287
  };