@xtctwins/tctwins-bimx-engine 0.3.17 → 0.3.19

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 (91) hide show
  1. package/README.md +196 -196
  2. package/dist/01.xtc +0 -0
  3. package/dist/02.xtc +0 -0
  4. package/dist/03.xtc +0 -0
  5. package/dist/{AnnotationTool-CRKJP6Z_.mjs → AnnotationTool-oDA1Fp5x.mjs} +35 -35
  6. package/dist/BIMX_Viewer_Lib.es.js +6 -6
  7. package/dist/BIMX_Viewer_Lib.umd.js +167 -214
  8. package/dist/{CameraViewTool-CcuETkRt.mjs → CameraViewTool-DDypddMD.mjs} +38 -38
  9. package/dist/{CommentTool-CUfkCRZj.mjs → CommentTool-Duf6oZPZ.mjs} +192 -192
  10. package/dist/{HiddenTool-BXH5QJP-.mjs → HiddenTool-LpU_x_6_.mjs} +16 -16
  11. package/dist/{InspectorTool-DfNptjyX.mjs → InspectorTool-QvS8xe4N.mjs} +13 -13
  12. package/dist/MeasureTool-CMs0keyO.mjs +595 -0
  13. package/dist/{MouseTool-B7uZ7aDB.mjs → MouseTool-CaTUKDuM.mjs} +8 -8
  14. package/dist/{NavigateTool-iCDupABO.mjs → NavigateTool-DYniPPn1.mjs} +8 -8
  15. package/dist/{OperateTool-CDFqwPpz.mjs → OperateTool-BIqsOimJ.mjs} +58 -61
  16. package/dist/{RoamTool-DbejO6To.mjs → RoamTool-2mrcPLbu.mjs} +15 -15
  17. package/dist/ScreenShotTool-BTqJ90J6.mjs +356 -0
  18. package/dist/{SectionTool-B_YUSKAb.mjs → SectionTool-CWzcRQe3.mjs} +70 -70
  19. package/dist/SettingTool-s0H_wOar.mjs +1508 -0
  20. package/dist/StructureTree-D5Y9v8cQ.mjs +1582 -0
  21. package/dist/{alert-C1hZjT4K.mjs → alert-BAgNMV8k.mjs} +13 -13
  22. package/dist/{index-Amk7_oxr.mjs → index-Bu4b3eOR.mjs} +53631 -56036
  23. package/dist/index.html +17 -17
  24. package/dist/{panel.vue_vue_type_style_index_0_lang-BWMqOWVZ.mjs → panel.vue_vue_type_style_index_0_lang-sBMUmb4u.mjs} +1 -1
  25. package/dist/style.css +3 -3
  26. package/dist/{tallPanel-B_CsTLWm.mjs → tallPanel-xQvMWUzi.mjs} +11 -11
  27. package/package.json +85 -85
  28. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
  29. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
  30. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
  31. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
  32. package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
  33. package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
  34. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
  35. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
  36. package/types/components/BCFComponents/commentInput.vue.d.ts +10 -36
  37. package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
  38. package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
  39. package/types/components/BCFComponents/imageView.vue.d.ts +7 -5
  40. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
  41. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  42. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
  43. package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +1 -1
  44. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  45. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +1 -32
  46. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  47. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +8 -6
  48. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
  49. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  50. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -270
  51. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -291
  52. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
  53. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  54. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  55. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  56. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  57. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +6 -4
  58. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -11642
  59. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  60. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
  61. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +10 -0
  62. package/types/components/BimxViewerComp.vue.d.ts +21 -7
  63. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
  64. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
  65. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -291
  66. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -270
  67. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
  68. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
  69. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
  70. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
  71. package/types/components/bimxViewer.vue.d.ts +27 -0
  72. package/types/components/utilsComponents/alert.vue.d.ts +1 -1
  73. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  74. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  75. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  76. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  77. package/types/components/utilsComponents/panel.vue.d.ts +2 -8
  78. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  79. package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
  80. package/types/components/utilsComponents/tallPanel.vue.d.ts +4 -14
  81. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +4 -14
  82. package/types/pages/BimxViewerEntry.vue.d.ts +72 -5
  83. package/types/pages/viewerEntry.vue.d.ts +116 -0
  84. package/types/store/initConfigs.d.ts +1 -1
  85. package/types/store/toolbars.d.ts +50 -50
  86. package/types/tests/cmt.d.ts +1 -0
  87. package/types/viewerManager/sectionManager.d.ts +25 -25
  88. package/dist/MeasureTool-CXJj1Fhb.mjs +0 -593
  89. package/dist/ScreenShotTool-CwKNoZDh.mjs +0 -429
  90. package/dist/SettingTool-ByLSLYye.mjs +0 -1787
  91. package/dist/StructureTree-JKDte9U1.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-Amk7_oxr.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-Bu4b3eOR.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 ie, I as V, P as _, a0 as m, M as le } from "./index-Amk7_oxr.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-Bu4b3eOR.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 = ie(), 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), l = 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,9 +29,9 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
29
29
  operateIds: s
30
30
  }
31
31
  });
32
- }, P = A(() => {
33
- if (l.value.length > 0)
34
- return r.value === 5 ? a("operate.hintMultiSelected", { count: l.value.length }) : a("operate.hintSelected", { count: l.value.length });
32
+ }, X = I(() => {
33
+ if (i.value.length > 0)
34
+ return r.value === 5 ? a("operate.hintMultiSelected", { count: i.value.length }) : a("operate.hintSelected", { count: i.value.length });
35
35
  switch (r.value) {
36
36
  case 0:
37
37
  return a("operate.hintFocus");
@@ -48,10 +48,10 @@ 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) => {
52
- l.value.includes(t) ? l.value = l.value.filter((s) => s !== t) : l.value.push(t), l.value.length > 0 ? (e.setAllObjectsSelected(!1), e.setObjectsSelected(l.value, !0)) : e.setAllObjectsSelected(!1);
51
+ }), D = (t) => {
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
- l.value = [], e == null || e.setAllObjectsSelected(!1);
54
+ i.value = [], e == null || e.setAllObjectsSelected(!1);
55
55
  }, j = (t, s) => {
56
56
  switch (t) {
57
57
  case 0:
@@ -64,115 +64,112 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
64
64
  e.setAllObjectsVisible(!1), e.setObjectsVisible(s, !0), g.value = !0;
65
65
  break;
66
66
  case 3: {
67
- const i = u.value;
68
- e.viewer.scene.setObjectsXRayed(s, i), s.forEach((o) => {
67
+ const l = u.value;
68
+ e.viewer.scene.setObjectsXRayed(s, l), s.forEach((o) => {
69
69
  const c = e.viewer.scene.objects[o];
70
70
  c.edges = c.xrayed ? !0 : e.edgesActive, e.setEntityHighlighted(c, !1);
71
- }), u.value = !i;
71
+ }), u.value = !l;
72
72
  break;
73
73
  }
74
74
  case 4: {
75
- const i = d.value;
75
+ const l = d.value;
76
76
  s.forEach((o) => {
77
77
  const c = e.viewer.scene.objects[o];
78
- e.setEntityHighlighted(c, i), c.xrayed && (e.setEntityXRayed(c, !1), c.edges = e.edgesActive);
79
- }), d.value = !i;
78
+ e.setEntityHighlighted(c, l), c.xrayed && (e.setEntityXRayed(c, !1), c.edges = e.edgesActive);
79
+ }), d.value = !l;
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) {
92
- if (l.value.length > 0) {
93
- const o = [...l.value];
92
+ if (i.value.length > 0) {
93
+ const o = [...i.value];
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
- let i;
101
- l.value.length > 0 ? (i = [...l.value], i.includes(t.id) || i.push(t.id)) : i = [t.id], j(s, i), s !== 0 && v(), p();
102
- }, L = () => {
100
+ let l;
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
+ }, 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;
112
112
  }
113
113
  if (e) {
114
- if (l.value.length > 0) {
115
- const s = [...l.value];
116
- t === 0 ? (e.viewFitObjects(s), w(t, s)) : t !== 5 && (j(t, s), v()), p();
114
+ if (i.value.length > 0) {
115
+ const s = [...i.value];
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
134
- }), (t, s) => (E(), J(K, {
135
- name: "operate-fade",
136
- persisted: ""
137
- }, {
133
+ recoverAll: A
134
+ }), (t, s) => (E(), J(K, { name: "operate-fade" }, {
138
135
  default: Q(() => [
139
136
  W(n("div", ne, [
140
137
  n("div", ae, [
141
- n("span", null, y(P.value), 1)
138
+ n("span", null, O(X.value), 1)
142
139
  ]),
143
140
  n("div", re, [
144
141
  n("div", {
145
- class: T(["operate_btn", { operate_btn_active: r.value === 5 }]),
146
- onClick: s[0] || (s[0] = (i) => I(5))
142
+ class: V(["operate_btn", { operate_btn_active: r.value === 5 }]),
143
+ onClick: s[0] || (s[0] = (l) => k(5))
147
144
  }, [
148
145
  n("img", {
149
146
  src: `${f(_)}/industry-viewer/detail-bar/multiSelect.svg`,
150
147
  alt: ""
151
148
  }, null, 8, oe),
152
- n("span", null, y(f(a)("operate.multiSelect")), 1)
149
+ n("span", null, O(f(a)("operate.multiSelect")), 1)
153
150
  ], 2),
154
151
  s[1] || (s[1] = n("div", { class: "split_line" }, null, -1)),
155
- (E(), Y(Z, null, ee(H, (i) => n("div", {
156
- key: i.mode,
157
- class: T(["operate_btn", { operate_btn_active: r.value === i.mode }]),
158
- onClick: (o) => I(i.mode)
152
+ (E(), Y(Z, null, ee(H, (l) => n("div", {
153
+ key: l.mode,
154
+ class: V(["operate_btn", { operate_btn_active: r.value === l.mode }]),
155
+ onClick: (o) => k(l.mode)
159
156
  }, [
160
157
  n("img", {
161
- src: `${f(_)}/industry-viewer/detail-bar/${F(i)}.svg`,
158
+ src: `${f(_)}/industry-viewer/detail-bar/${N(l)}.svg`,
162
159
  alt: ""
163
160
  }, null, 8, ue),
164
- n("span", null, y(f(a)(N(i))), 1)
161
+ n("span", null, O(f(a)(R(l))), 1)
165
162
  ], 10, ce)), 64)),
166
163
  s[2] || (s[2] = n("div", { class: "split_line" }, null, -1)),
167
164
  n("div", {
168
165
  class: "operate_btn",
169
- onClick: k
166
+ onClick: A
170
167
  }, [
171
168
  n("img", {
172
169
  src: `${f(_)}/industry-viewer/reset.svg`,
173
170
  alt: ""
174
171
  }, null, 8, de),
175
- n("span", null, y(f(a)("operate.recover")), 1)
172
+ n("span", null, O(f(a)("operate.recover")), 1)
176
173
  ])
177
174
  ])
178
175
  ], 512), [
@@ -182,7 +179,7 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
182
179
  _: 1
183
180
  }));
184
181
  }
185
- }), be = /* @__PURE__ */ le(ve, [["__scopeId", "data-v-e7bfbc38"]]);
182
+ }), be = /* @__PURE__ */ ie(ve, [["__scopeId", "data-v-2bfdea97"]]);
186
183
  export {
187
184
  be as default
188
185
  };
@@ -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-Amk7_oxr.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-Bu4b3eOR.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-40122434"]]);
284
+ }), Oe = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-23b78cfd"]]);
285
285
  export {
286
- Xe as default
286
+ Oe as default
287
287
  };