@xtctwins/tctwins-bimx-engine 0.3.21 → 0.3.22

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 (89) hide show
  1. package/README.md +196 -196
  2. package/dist/{AnnotationTool-DCHJcLix.mjs → AnnotationTool-CtRhDcPK.mjs} +35 -35
  3. package/dist/BIMX_Viewer_Lib.es.js +6 -6
  4. package/dist/BIMX_Viewer_Lib.umd.js +214 -167
  5. package/dist/{CameraViewTool-CJfs6vWu.mjs → CameraViewTool-CtLUEw0Q.mjs} +38 -38
  6. package/dist/{CommentTool-mcXTV3bv.mjs → CommentTool-B8fvijhz.mjs} +192 -192
  7. package/dist/{HiddenTool-BXTqbPUK.mjs → HiddenTool-511eglcE.mjs} +13 -13
  8. package/dist/{InspectorTool-D6DtUWoh.mjs → InspectorTool-D9Yjs6eH.mjs} +13 -13
  9. package/dist/{MeasureTool-BZxE7H7U.mjs → MeasureTool-C5Ce0Nef.mjs} +125 -125
  10. package/dist/{MouseTool-Clt4JeIj.mjs → MouseTool-BJX4hgly.mjs} +8 -8
  11. package/dist/{NavigateTool-cQshheaw.mjs → NavigateTool-BxOX-2P9.mjs} +8 -8
  12. package/dist/{OperateTool-C86C-l1z.mjs → OperateTool-DdkSl849.mjs} +61 -58
  13. package/dist/{RoamTool-DueJxPwv.mjs → RoamTool-CzNcha7A.mjs} +27 -27
  14. package/dist/ScreenShotTool-_TQ3T0xw.mjs +429 -0
  15. package/dist/{SectionTool-CKrvJEQ9.mjs → SectionTool-DlUhDw_i.mjs} +70 -70
  16. package/dist/SettingTool-yhgi_CY0.mjs +1787 -0
  17. package/dist/StructureTree-CNKrxyeJ.mjs +1685 -0
  18. package/dist/{alert-D-agI6w6.mjs → alert-B0WoSDD3.mjs} +14 -14
  19. package/dist/{index-jngVSTsO.mjs → index-D7FcGpin.mjs} +56419 -53825
  20. package/dist/index.html +17 -17
  21. package/dist/{panel.vue_vue_type_style_index_0_lang-DfDOwKP2.mjs → panel.vue_vue_type_style_index_0_lang-BG2LZoNF.mjs} +1 -1
  22. package/dist/style.css +3 -3
  23. package/dist/{tallPanel-CNORaYkU.mjs → tallPanel-DpEzw_w-.mjs} +12 -12
  24. package/package.json +85 -85
  25. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
  26. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
  27. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
  28. package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
  29. package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
  30. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
  31. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
  32. package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
  33. package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
  34. package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
  35. package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
  36. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
  37. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  38. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
  39. package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +1 -1
  40. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  41. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
  42. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  43. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
  44. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
  45. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  46. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +270 -1
  47. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +291 -7
  48. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
  49. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  50. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  51. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  52. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  53. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
  54. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +11642 -1
  55. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  56. package/types/components/BimxViewerComp.vue.d.ts +7 -21
  57. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
  58. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
  59. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +291 -7
  60. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +270 -1
  61. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
  62. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
  63. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
  64. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -7
  65. package/types/components/utilsComponents/alert.vue.d.ts +1 -1
  66. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  67. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  68. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  69. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  70. package/types/components/utilsComponents/panel.vue.d.ts +8 -2
  71. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  72. package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
  73. package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
  74. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
  75. package/types/pages/BimxViewerEntry.vue.d.ts +4 -66
  76. package/types/store/toolbars.d.ts +50 -50
  77. package/types/viewerManager/sectionManager.d.ts +25 -25
  78. package/dist/01.xtc +0 -0
  79. package/dist/02.xtc +0 -0
  80. package/dist/03.xtc +0 -0
  81. package/dist/ScreenShotTool-DDtQfqF5.mjs +0 -356
  82. package/dist/SettingTool-CWAOl-yl.mjs +0 -1508
  83. package/dist/StructureTree-BTqIDob7.mjs +0 -1582
  84. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
  85. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
  86. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +0 -10
  87. package/types/components/bimxViewer.vue.d.ts +0 -27
  88. package/types/pages/viewerEntry.vue.d.ts +0 -116
  89. package/types/tests/cmt.d.ts +0 -1
@@ -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 B } from "vue";
2
- import { n as I, o as S, aB as T, O as k } from "./index-jngVSTsO.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({
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-D7FcGpin.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({
4
4
  __name: "NavigateTool",
5
5
  props: ["componentId"],
6
6
  emits: ["emitHandler"],
7
7
  setup(c, { emit: r }) {
8
- const l = I(), d = S(), v = c;
8
+ const l = S(), d = T(), 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(T), (e) => (n(), i("div", {
30
+ (n(!0), i(g, null, h(a(k), (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(k) + `/bim-viewer/best-view/${o.value === e.id ? e.imgActive : e.img}.svg`,
39
+ src: a(B) + `/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, B(a(l)(e.label || e.name)), 1)
42
+ s("div", C, I(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
- O as default
50
+ F as default
51
51
  };
@@ -1,13 +1,13 @@
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-jngVSTsO.mjs";
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-D7FcGpin.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(), w = x;
9
- q(() => {
10
- b.setReadyById(w.componentId);
8
+ const a = se(), b = ie(), O = x;
9
+ z(() => {
10
+ b.setReadyById(O.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 = 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;
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;
19
19
  let e;
20
- const $ = C, F = (t) => {
21
- $("emitHandler", t);
22
- }, y = (t, s) => {
23
- F({
20
+ const R = C, $ = (t) => {
21
+ R("emitHandler", t);
22
+ }, w = (t, s) => {
23
+ $({
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
- }, 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 });
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 });
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
- }), 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);
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);
53
53
  }, v = () => {
54
- i.value = [], e == null || e.setAllObjectsSelected(!1);
54
+ l.value = [], e == null || e.setAllObjectsSelected(!1);
55
55
  }, j = (t, s) => {
56
56
  switch (t) {
57
57
  case 0:
@@ -64,112 +64,115 @@ 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 l = u.value;
68
- e.viewer.scene.setObjectsXRayed(s, l), s.forEach((o) => {
67
+ const i = u.value;
68
+ e.viewer.scene.setObjectsXRayed(s, i), 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 = !l;
71
+ }), u.value = !i;
72
72
  break;
73
73
  }
74
74
  case 4: {
75
- const l = d.value;
75
+ const i = d.value;
76
76
  s.forEach((o) => {
77
77
  const c = e.viewer.scene.objects[o];
78
- e.setEntityHighlighted(c, l), c.xrayed && (e.setEntityXRayed(c, !1), c.edges = e.edgesActive);
79
- }), d.value = !l;
78
+ e.setEntityHighlighted(c, i), c.xrayed && (e.setEntityXRayed(c, !1), c.edges = e.edgesActive);
79
+ }), d.value = !i;
80
80
  break;
81
81
  }
82
82
  }
83
- y(t, s);
84
- }, L = (t) => {
83
+ w(t, s);
84
+ }, D = (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
- D(t.id), p();
88
+ X(t.id), p();
89
89
  return;
90
90
  }
91
91
  if (s === 2) {
92
- if (i.value.length > 0) {
93
- const o = [...i.value];
92
+ if (l.value.length > 0) {
93
+ const o = [...l.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
- y(2, [t.id]), p();
97
+ w(2, [t.id]), p();
98
98
  return;
99
99
  }
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 = () => {
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 = () => {
103
103
  b.isToolActiveBykey("operate") && (v(), p());
104
104
  }, S = () => {
105
- e = window.bimViewer, e.eventTrigger.on("pickedEntity", L), e.eventTrigger.on("pickedNothing", P);
105
+ e = window.bimViewer, e.eventTrigger.on("pickedEntity", D), e.eventTrigger.on("pickedNothing", L);
106
106
  };
107
- T.on("BimViewer", S);
108
- const k = (t) => {
107
+ V.on("BimViewer", S);
108
+ const I = (t) => {
109
109
  if (r.value === t) {
110
110
  r.value = -1;
111
111
  return;
112
112
  }
113
113
  if (e) {
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();
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();
117
117
  }
118
118
  r.value = t;
119
119
  }
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, []));
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, []));
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 z(
126
- () => b.isToolActive(w.componentId),
125
+ return G(
126
+ () => b.isToolActive(O.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
- ), G(() => {
131
- T.off("BimViewer", S);
130
+ ), q(() => {
131
+ V.off("BimViewer", S);
132
132
  }), B({
133
- recoverAll: A
134
- }), (t, s) => (E(), J(K, { name: "operate-fade" }, {
133
+ recoverAll: k
134
+ }), (t, s) => (E(), J(K, {
135
+ name: "operate-fade",
136
+ persisted: ""
137
+ }, {
135
138
  default: Q(() => [
136
139
  W(n("div", ne, [
137
140
  n("div", ae, [
138
- n("span", null, O(X.value), 1)
141
+ n("span", null, y(P.value), 1)
139
142
  ]),
140
143
  n("div", re, [
141
144
  n("div", {
142
- class: V(["operate_btn", { operate_btn_active: r.value === 5 }]),
143
- onClick: s[0] || (s[0] = (l) => k(5))
145
+ class: T(["operate_btn", { operate_btn_active: r.value === 5 }]),
146
+ onClick: s[0] || (s[0] = (i) => I(5))
144
147
  }, [
145
148
  n("img", {
146
149
  src: `${f(_)}/industry-viewer/detail-bar/multiSelect.svg`,
147
150
  alt: ""
148
151
  }, null, 8, oe),
149
- n("span", null, O(f(a)("operate.multiSelect")), 1)
152
+ n("span", null, y(f(a)("operate.multiSelect")), 1)
150
153
  ], 2),
151
154
  s[1] || (s[1] = n("div", { class: "split_line" }, null, -1)),
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)
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)
156
159
  }, [
157
160
  n("img", {
158
- src: `${f(_)}/industry-viewer/detail-bar/${N(l)}.svg`,
161
+ src: `${f(_)}/industry-viewer/detail-bar/${F(i)}.svg`,
159
162
  alt: ""
160
163
  }, null, 8, ue),
161
- n("span", null, O(f(a)(R(l))), 1)
164
+ n("span", null, y(f(a)(N(i))), 1)
162
165
  ], 10, ce)), 64)),
163
166
  s[2] || (s[2] = n("div", { class: "split_line" }, null, -1)),
164
167
  n("div", {
165
168
  class: "operate_btn",
166
- onClick: A
169
+ onClick: k
167
170
  }, [
168
171
  n("img", {
169
172
  src: `${f(_)}/industry-viewer/reset.svg`,
170
173
  alt: ""
171
174
  }, null, 8, de),
172
- n("span", null, O(f(a)("operate.recover")), 1)
175
+ n("span", null, y(f(a)("operate.recover")), 1)
173
176
  ])
174
177
  ])
175
178
  ], 512), [
@@ -179,7 +182,7 @@ const ne = { class: "operate_tool_wrapper" }, ae = { class: "operate_hint" }, re
179
182
  _: 1
180
183
  }));
181
184
  }
182
- }), be = /* @__PURE__ */ ie(ve, [["__scopeId", "data-v-2bfdea97"]]);
185
+ }), be = /* @__PURE__ */ le(ve, [["__scopeId", "data-v-e7bfbc38"]]);
183
186
  export {
184
187
  be as default
185
188
  };
@@ -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 { 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-jngVSTsO.mjs";
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-D7FcGpin.mjs";
3
3
  const W = { class: "roam_container_wrapper" }, Y = {
4
4
  key: 0,
5
5
  class: "roam_container"
@@ -12,7 +12,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
12
12
  }, me = { class: "roam-left" }, ce = { class: "roam-left-box" }, ve = {
13
13
  id: "roamMoveForward",
14
14
  class: "roam-left-item"
15
- }, _e = ["src"], we = { class: "roam-left-box" }, fe = {
15
+ }, _e = ["src"], fe = { class: "roam-left-box" }, we = {
16
16
  id: "roamMoveBackward",
17
17
  class: "roam-left-item roam-left-bottom"
18
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 = {
@@ -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
- }, De = ["src"], ke = { class: "center-center" }, Se = ["src"], Ve = {
24
+ }, ke = ["src"], De = { class: "center-center" }, Se = ["src"], Ve = {
25
25
  id: "roamMoveRight",
26
26
  class: "center-right"
27
27
  }, Ue = ["src"], Fe = {
@@ -32,20 +32,20 @@ const W = { class: "roam_container_wrapper" }, Y = {
32
32
  props: ["componentId"],
33
33
  emits: ["closePanel", "emitHandler"],
34
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) => {
35
+ const y = J(), v = K(), E = u("speed-up"), B = u("speed-down"), w = u("1"), g = u(!1), f = u(!0), R = U, T = F, a = u(!1), I = (t) => {
36
36
  T("emitHandler", t);
37
37
  }, n = u(c("isMobile"));
38
38
  j(() => {
39
- (c("isMobile") || S.showRoam === !1) && (w.value = !1), setTimeout(() => {
40
- $(), N(), O(), X(), G(), H();
39
+ (c("isMobile") || S.showRoam === !1) && (f.value = !1), setTimeout(() => {
40
+ $(), N(), X(), G(), O(), H();
41
41
  }, 1e3), y.setReadyById(R.componentId);
42
42
  });
43
43
  const C = () => {
44
44
  let t = window.bimViewer.eventTrigger;
45
45
  t.on("personModeSpeedUp", (o) => {
46
- f.value = o.toString();
46
+ w.value = o.toString();
47
47
  }), t.on("personModeSpeedDown", (o) => {
48
- f.value = o.toString();
48
+ w.value = o.toString();
49
49
  });
50
50
  };
51
51
  M.on("BimViewer", C), q(() => {
@@ -55,25 +55,25 @@ const W = { class: "roam_container_wrapper" }, Y = {
55
55
  t ? window.bimViewer.firstPersonMode.speedUp() : window.bimViewer.firstPersonMode.speedDown();
56
56
  };
57
57
  V.BIMX_CONFIGS.RoamTool || (M.on("BIMX_CONFIGS", () => {
58
- S.showRoam == !1 && (w.value = !1);
58
+ S.showRoam == !1 && (f.value = !1);
59
59
  }), V.BIMX_CONFIGS.RoamTool = !0), z(
60
60
  () => y.isToolActive(R.componentId),
61
61
  (t) => {
62
- D(!!t);
62
+ k(!!t);
63
63
  }
64
64
  );
65
- const D = (t) => {
66
- c("isMobile") ? a.value = t : (c("hideTool") || M.emit("hideToolbar", t), t ? w.value && (g.value = !0) : g.value = !1);
65
+ const k = (t) => {
66
+ c("isMobile") ? a.value = t : (c("hideTool") || M.emit("hideToolbar", t), t ? f.value && (g.value = !0) : g.value = !1);
67
67
  }, P = () => {
68
- w.value = !1, I({
68
+ f.value = !1, I({
69
69
  isTool: !0,
70
70
  event_target: "RoamTool",
71
71
  event_name: "rejectRoamCourse",
72
72
  content: {
73
73
  msg: v("roam.dontShowCourseMessage")
74
74
  }
75
- }), k();
76
- }, k = () => {
75
+ }), D();
76
+ }, D = () => {
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
- }, O = () => {
98
+ }, X = () => {
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
- }, X = () => {
107
+ }, G = () => {
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
- }, G = () => {
116
+ }, O = () => {
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: k
168
+ onClick: D
169
169
  }, m(r(v)("roam.gotIt")), 1)
170
170
  ])
171
171
  ])) : L("", !0),
@@ -183,7 +183,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
183
183
  src: r(l) + "/bim-viewer/roam-bar/" + B.value + ".png"
184
184
  }, null, 8, ae)
185
185
  ], 32),
186
- e("div", ie, m(f.value) + "X", 1),
186
+ e("div", ie, m(w.value) + "X", 1),
187
187
  e("div", {
188
188
  class: "up_down_button",
189
189
  onClick: o[3] || (o[3] = (s) => p(!0)),
@@ -214,8 +214,8 @@ const W = { class: "roam_container_wrapper" }, Y = {
214
214
  }, null, 8, _e)
215
215
  ])
216
216
  ]),
217
- e("div", we, [
218
- e("div", fe, [
217
+ e("div", fe, [
218
+ e("div", we, [
219
219
  e("img", {
220
220
  src: r(l) + "/bim-viewer/roam-bar/down.svg",
221
221
  alt: ""
@@ -233,7 +233,7 @@ const W = { class: "roam_container_wrapper" }, Y = {
233
233
  }, null, 8, Me)
234
234
  ]),
235
235
  e("div", Ee, [
236
- e("span", null, m(f.value) + "X", 1)
236
+ e("span", null, m(w.value) + "X", 1)
237
237
  ]),
238
238
  e("div", Be, [
239
239
  e("img", {
@@ -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, De)
259
+ }, null, 8, ke)
260
260
  ]),
261
- e("div", ke, [
261
+ e("div", De, [
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
- }), Oe = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-23b78cfd"]]);
284
+ }), Xe = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-85fbf123"]]);
285
285
  export {
286
- Oe as default
286
+ Xe as default
287
287
  };