@xtctwins/tctwins-industry-engine 0.0.10 → 0.0.11

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 (33) hide show
  1. package/README.md +3 -3
  2. package/dist/{AnnotationTool-B6o3pWgm.mjs → AnnotationTool-BZlQ0NIM.mjs} +14 -14
  3. package/dist/{BCFTool-D-PM2few.mjs → BCFTool-DAqDUYS-.mjs} +5269 -5269
  4. package/dist/{CommentTool-CycO4Znf.mjs → CommentTool-BwHOJoFe.mjs} +28 -28
  5. package/dist/Industry_Viewer_Lib.es.js +3 -3
  6. package/dist/Industry_Viewer_Lib.umd.js +144 -152
  7. package/dist/{InspectorTool-D9zBnlUA.mjs → InspectorTool-BK5pX2nZ.mjs} +31 -31
  8. package/dist/{MeasureTool-BfIIQ3PS.mjs → MeasureTool-D92Tyu14.mjs} +24 -24
  9. package/dist/{MouseTool-nmX9TlQA.mjs → MouseTool-Dpl4JLyb.mjs} +20 -20
  10. package/dist/{NavigateTool-BM2rj2oZ.mjs → NavigateTool-B5ySsqph.mjs} +6 -6
  11. package/dist/{RoamTool-C12h52G0.mjs → RoamTool-Nk4hYPJB.mjs} +12 -12
  12. package/dist/ScreenShotTool-D1cS2DkF.mjs +445 -0
  13. package/dist/{SectionTool-DyyT_8pR.mjs → SectionTool-D3885F5s.mjs} +46 -46
  14. package/dist/SettingTool-BI_soRCO.mjs +770 -0
  15. package/dist/StructureTree-CCWwAbnr.mjs +1824 -0
  16. package/dist/{XRayTool-WdvB7EF1.mjs → XRayTool-IRgKMGU8.mjs} +13 -13
  17. package/dist/{alert-xMo21PgA.mjs → alert-x4uA_EPv.mjs} +5 -5
  18. package/dist/el-checkbox-_VjUMARt.mjs +544 -0
  19. package/dist/el-input-number-Chi40nla.mjs +1028 -0
  20. package/dist/{index-uIV4CiDG.mjs → index-CaiiH-9N.mjs} +37845 -35391
  21. package/dist/{panel.vue_vue_type_style_index_0_lang-rC-OVibm.mjs → panel.vue_vue_type_style_index_0_lang-D3swRKXl.mjs} +6 -6
  22. package/dist/style.css +1 -1
  23. package/dist/{tallPanel-Dre_48W4.mjs → tallPanel-eXWPdhmU.mjs} +14 -14
  24. package/package.json +66 -65
  25. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +2652 -1668
  26. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +264 -36
  27. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +264 -36
  28. package/dist/ScreenShotTool-KUZgYA8Z.mjs +0 -357
  29. package/dist/SettingTool-Djrs40Xu.mjs +0 -691
  30. package/dist/StructureTree-b_gLP-TO.mjs +0 -1591
  31. package/dist/el-checkbox-DO8tNsp2.mjs +0 -460
  32. package/dist/el-input-number-B9oE-lvA.mjs +0 -858
  33. package/dist/index.html +0 -17
@@ -1,8 +1,8 @@
1
- import { p as Y, t as B, q as C, T as V, O as A, x as ee, y as te, z as ne } from "./index-uIV4CiDG.mjs";
2
- import { _ as se } from "./tallPanel-Dre_48W4.mjs";
3
- import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-rC-OVibm.mjs";
4
- import { defineComponent as ie, onMounted as le, ref as N, reactive as q, watch as ae, onBeforeUnmount as re, openBlock as i, createElementBlock as a, Fragment as m, unref as c, createBlock as K, withCtx as S, withDirectives as p, createElementVNode as e, createVNode as w, toDisplayString as o, vShow as d, renderList as y, createCommentVNode as H } from "vue";
5
- const G = {
1
+ import { z as Y, B, A as C, T as A, D as ee, O as V, F as te, G as ne } from "./index-CaiiH-9N.mjs";
2
+ import { _ as se } from "./tallPanel-eXWPdhmU.mjs";
3
+ import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-D3swRKXl.mjs";
4
+ import { defineComponent as ie, onMounted as le, ref as N, reactive as q, watch as ae, onBeforeUnmount as re, createElementBlock as a, openBlock as i, Fragment as m, createBlock as G, createCommentVNode as H, unref as c, withCtx as S, withDirectives as p, createElementVNode as e, createVNode as w, toDisplayString as o, vShow as d, renderList as y } from "vue";
5
+ const K = {
6
6
  ExtendToStructure: "扩建物",
7
7
  ThermalTransmittance: "热透射率",
8
8
  Roughness: "粗糙度",
@@ -248,10 +248,10 @@ const G = {
248
248
  Pset_ReflectorTypeCommon: "反射器类型通用",
249
249
  Pset_FlowInstrumentTypeCommon: "流量仪表类型通用",
250
250
  Pset_HeatTransferDeviceTypeCommon: "热传递设备类型通用"
251
- }, ce = Object.keys(G).reduce(
251
+ }, ce = Object.keys(K).reduce(
252
252
  (h, g) => {
253
253
  const P = g.trim().toLowerCase().replace(/\s+/g, "");
254
- return h[P] = G[g], h;
254
+ return h[P] = K[g], h;
255
255
  },
256
256
  {}
257
257
  );
@@ -259,7 +259,7 @@ function I(h) {
259
259
  const g = h.trim().toLowerCase().replace(/\s+/g, "");
260
260
  return ce[g] || h;
261
261
  }
262
- const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src"], ue = { class: "properties_content" }, me = { class: "basic_info_value" }, ye = { class: "propertysets" }, ve = ["onClick"], fe = { class: "title" }, he = ["src"], Ce = { class: "properties_content" }, ge = { class: "content_title_value" }, Pe = { class: "content_title" }, Te = { class: "content_value" }, be = { class: "myInspector_empty" }, Se = ["src"], Ie = { class: "pc_Inspector_content" }, ke = { class: "pc_myInspector_content" }, Re = { class: "title" }, xe = ["src"], Ee = { class: "properties_content" }, we = { class: "basic_info_value" }, De = { class: "propertysets" }, Be = ["onClick"], Fe = { class: "title" }, Me = ["src"], Oe = { class: "properties_content" }, Le = { class: "content_title_value" }, Ve = { class: "content_title" }, Ae = { class: "content_value" }, Ne = { class: "pc_model_info" }, He = { class: "model_info_content" }, We = { class: "model_info_value" }, je = { class: "model_info_content" }, Ue = { class: "model_info_value" }, $e = { class: "model_info_content" }, ze = { class: "model_info_value" }, qe = { class: "model_info_content" }, Ke = { class: "model_info_value" }, Ge = {
262
+ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src"], ue = { class: "properties_content" }, me = { class: "basic_info_value" }, ye = { class: "propertysets" }, ve = ["onClick"], fe = { class: "title" }, he = ["src"], Ce = { class: "properties_content" }, ge = { class: "content_title_value" }, Pe = { class: "content_title" }, Te = { class: "content_value" }, be = { class: "myInspector_empty" }, Se = ["src"], Ie = { class: "pc_Inspector_content" }, ke = { class: "pc_myInspector_content" }, Re = { class: "title" }, Ee = ["src"], xe = { class: "properties_content" }, we = { class: "basic_info_value" }, De = { class: "propertysets" }, Be = ["onClick"], Fe = { class: "title" }, Me = ["src"], Oe = { class: "properties_content" }, Le = { class: "content_title_value" }, Ae = { class: "content_title" }, Ve = { class: "content_value" }, Ne = { class: "pc_model_info" }, He = { class: "model_info_content" }, We = { class: "model_info_value" }, je = { class: "model_info_content" }, Ue = { class: "model_info_value" }, $e = { class: "model_info_content" }, ze = { class: "model_info_value" }, qe = { class: "model_info_content" }, Ge = { class: "model_info_value" }, Ke = {
263
263
  key: 2,
264
264
  class: "mobile_myInspector_wrapper"
265
265
  }, Qe = { class: "detail-title-box" }, Ze = { class: "detail-title-icon" }, Je = { class: "mobile_myInspector" }, Xe = { class: "mobile_myInspector_content" }, Ye = { class: "basic_info_title" }, et = ["src"], tt = { class: "basic_info_content" }, nt = { class: "basic_info_content_value" }, st = { class: "content_value" }, ot = { class: "basic_info_content_value" }, it = { class: "content_value" }, lt = { class: "basic_info_content_value" }, at = { class: "content_value" }, rt = { class: "propertysets" }, ct = ["onClick"], _t = { class: "propertysets_title" }, pt = ["src"], dt = { class: "properties_content" }, ut = { class: "content_title_value" }, mt = { class: "content_title" }, yt = { class: "content_value" }, vt = { class: "mobile_Inspector_empty" }, ft = { class: "model_info_value" }, ht = { class: "model_info_value" }, Ct = { class: "model_info_value" }, gt = { class: "model_info_value" }, Pt = /* @__PURE__ */ ie({
@@ -347,9 +347,9 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
347
347
  W("closePanel");
348
348
  }, T = (s) => {
349
349
  s.expanded = !s.expanded;
350
- }, b = (s) => s ? `${A}/bim-viewer/down_icon.png` : `${A}/bim-viewer/right_icon.png`, z = (s) => {
350
+ }, b = (s) => s ? `${V}/bim-viewer/down_icon.png` : `${V}/bim-viewer/right_icon.png`, z = (s) => {
351
351
  n.entity_name = s.name, n.entity_type = s.type, n.entity_id = s.id, s.propertySets && (n.propertySets = s.propertySets, n.propertySets.forEach((t) => {
352
- V.currentTheme == "light-gray" ? t.expanded = !0 : t.expanded = !1;
352
+ A.currentTheme == "light-gray" ? t.expanded = !0 : t.expanded = !1;
353
353
  }));
354
354
  }, Q = () => {
355
355
  n.entity_name = "", n.entity_type = "", n.entity_id = "", n.propertySets = [];
@@ -357,7 +357,7 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
357
357
  return (s, t) => {
358
358
  const r = ee, Z = oe, J = se, X = te;
359
359
  return i(), a(m, null, [
360
- !c(C)("isMobile") && c(V).currentTheme == "blue" ? (i(), K(Z, {
360
+ !c(C)("isMobile") && c(A).currentTheme == "blue" ? (i(), G(Z, {
361
361
  key: 0,
362
362
  class: "myInspector_wrapper",
363
363
  panelTitle: "属性",
@@ -409,16 +409,16 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
409
409
  ]),
410
410
  p(e("div", Ce, [
411
411
  e("ul", ge, [
412
- (i(!0), a(m, null, y(l.properties, (v, x) => (i(), a("li", {
413
- key: x,
412
+ (i(!0), a(m, null, y(l.properties, (v, E) => (i(), a("li", {
413
+ key: E,
414
414
  class: "properties"
415
415
  }, [
416
- (i(!0), a(m, null, y(v, (E, f) => (i(), a("div", {
416
+ (i(!0), a(m, null, y(v, (x, f) => (i(), a("div", {
417
417
  class: "title_value",
418
418
  key: f
419
419
  }, [
420
420
  e("span", Pe, o(c(I)(f)), 1),
421
- e("span", Te, o(E), 1)
421
+ e("span", Te, o(x), 1)
422
422
  ]))), 128))
423
423
  ]))), 128))
424
424
  ])
@@ -435,7 +435,7 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
435
435
  ]),
436
436
  p(e("div", be, [
437
437
  e("img", {
438
- src: c(A) + "/bimkk-app/pinapp-empty-box.png"
438
+ src: c(V) + "/bimkk-app/pinapp-empty-box.png"
439
439
  }, null, 8, Se),
440
440
  t[5] || (t[5] = e("span", null, "未选中任何对象,请单击模型对象以查看构件属性。", -1))
441
441
  ], 512), [
@@ -444,7 +444,7 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
444
444
  ]),
445
445
  _: 1
446
446
  })) : H("", !0),
447
- !c(C)("isMobile") && c(V).currentTheme == "light-gray" ? (i(), K(J, {
447
+ !c(C)("isMobile") && c(A).currentTheme == "light-gray" ? (i(), G(J, {
448
448
  key: 1,
449
449
  panelTitle: "属性",
450
450
  "click-handle": L,
@@ -471,10 +471,10 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
471
471
  e("img", {
472
472
  src: b(n.expanded),
473
473
  class: "triangle"
474
- }, null, 8, xe),
474
+ }, null, 8, Ee),
475
475
  t[6] || (t[6] = e("span", null, "基本属性", -1))
476
476
  ]),
477
- p(e("div", Ee, [
477
+ p(e("div", xe, [
478
478
  t[7] || (t[7] = e("div", { class: "basic_info_title" }, [
479
479
  e("span", null, "名称"),
480
480
  e("span", { style: { "margin-top": "2px" } }, "UUID"),
@@ -504,16 +504,16 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
504
504
  ]),
505
505
  p(e("div", Oe, [
506
506
  e("ul", Le, [
507
- (i(!0), a(m, null, y(l.properties, (v, x) => (i(), a("li", {
508
- key: x,
507
+ (i(!0), a(m, null, y(l.properties, (v, E) => (i(), a("li", {
508
+ key: E,
509
509
  class: "properties"
510
510
  }, [
511
- (i(!0), a(m, null, y(v, (E, f) => (i(), a("div", {
511
+ (i(!0), a(m, null, y(v, (x, f) => (i(), a("div", {
512
512
  class: "title_value",
513
513
  key: f
514
514
  }, [
515
- e("span", Ve, o(c(I)(f)), 1),
516
- e("span", Ae, o(E), 1)
515
+ e("span", Ae, o(c(I)(f)), 1),
516
+ e("span", Ve, o(x), 1)
517
517
  ]))), 128))
518
518
  ]))), 128))
519
519
  ])
@@ -543,7 +543,7 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
543
543
  ]),
544
544
  e("div", qe, [
545
545
  t[11] || (t[11] = e("span", null, "作者", -1)),
546
- e("span", Ke, o(_.author), 1)
546
+ e("span", Ge, o(_.author), 1)
547
547
  ])
548
548
  ], 512), [
549
549
  [d, !u.value]
@@ -552,7 +552,7 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
552
552
  ]),
553
553
  _: 1
554
554
  }, 8, ["pos"])) : H("", !0),
555
- c(C)("isMobile") ? (i(), a("div", Ge, [
555
+ c(C)("isMobile") ? (i(), a("div", Ke, [
556
556
  e("div", Qe, [
557
557
  t[13] || (t[13] = e("div", { class: "detail-title" }, "属性", -1)),
558
558
  e("div", Ze, [
@@ -616,16 +616,16 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
616
616
  ]),
617
617
  p(e("div", dt, [
618
618
  e("ul", ut, [
619
- (i(!0), a(m, null, y(l.properties, (v, x) => (i(), a("li", {
620
- key: x,
619
+ (i(!0), a(m, null, y(l.properties, (v, E) => (i(), a("li", {
620
+ key: E,
621
621
  class: "properties"
622
622
  }, [
623
- (i(!0), a(m, null, y(v, (E, f) => (i(), a("div", {
623
+ (i(!0), a(m, null, y(v, (x, f) => (i(), a("div", {
624
624
  class: "title_value",
625
625
  key: f
626
626
  }, [
627
627
  e("span", mt, o(c(I)(f)), 1),
628
- e("span", yt, o(E), 1)
628
+ e("span", yt, o(x), 1)
629
629
  ]))), 128))
630
630
  ]))), 128))
631
631
  ])
@@ -668,7 +668,7 @@ const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src
668
668
  ], 64);
669
669
  };
670
670
  }
671
- }), kt = /* @__PURE__ */ ne(Pt, [["__scopeId", "data-v-18add1d0"]]);
671
+ }), kt = /* @__PURE__ */ ne(Pt, [["__scopeId", "data-v-237beabe"]]);
672
672
  export {
673
673
  kt as default
674
674
  };
@@ -1,20 +1,20 @@
1
- import { defineComponent as de, ref as s, onMounted as H, onBeforeUnmount as ge, watch as _e, openBlock as I, createElementBlock as A, Fragment as U, createElementVNode as t, renderList as Me, unref as a, normalizeClass as fe, toDisplayString as ye, createCommentVNode as he, normalizeStyle as F, withDirectives as we, vShow as Te } from "vue";
2
- import { p as pe, T as O, t as q, O as y, V as P, q as g, z as be } from "./index-uIV4CiDG.mjs";
1
+ import { defineComponent as de, ref as s, onMounted as H, onBeforeUnmount as ge, watch as _e, createElementBlock as I, openBlock as A, Fragment as U, createElementVNode as t, withDirectives as Me, createCommentVNode as fe, renderList as ye, unref as a, normalizeClass as he, toDisplayString as we, normalizeStyle as F, vShow as Te } from "vue";
2
+ import { z as pe, T as O, B as P, O as y, V as W, A as g, G as Be } from "./index-CaiiH-9N.mjs";
3
3
  import { M as L } from "./const-DeViLYl5.mjs";
4
- const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae = ["onClick"], Ee = { class: "measure-icon" }, De = ["src"], Re = { class: "measure-name" }, Ve = { class: "measure-icon" }, Se = ["src"], ke = { class: "mouse_btn" }, Le = ["src"], xe = ["src"], Ce = ["src"], $e = /* @__PURE__ */ de({
4
+ const be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae = ["onClick"], Ee = { class: "measure-icon" }, De = ["src"], Re = { class: "measure-name" }, Ve = { class: "measure-icon" }, Se = ["src"], ke = { class: "mouse_btn" }, Le = ["src"], xe = ["src"], Ce = ["src"], $e = /* @__PURE__ */ de({
5
5
  __name: "MeasureTool",
6
6
  props: ["componentId"],
7
7
  emits: ["closePanel", "emitHandler"],
8
- setup(W, { emit: j }) {
9
- const h = pe(), J = W, x = s(0);
8
+ setup(j, { emit: q }) {
9
+ const h = pe(), J = j, x = s(0);
10
10
  H(() => {
11
11
  h.setReadyById(J.componentId), O.currentTheme == "blue" ? x.value = 224 : O.currentTheme == "light-gray" && (x.value = 202);
12
12
  });
13
13
  let u, w, T, i;
14
- const n = s(1), C = s(), E = s(), _ = s(), D = s(), R = s(), K = s(), Q = s(), Z = s(), G = s(1), ee = s("m"), se = s(3), l = s(!1), te = j, $ = (e) => {
14
+ const n = s(1), C = s(), E = s(), _ = s(), D = s(), R = s(), K = s(), Q = s(), Z = s(), G = s(1), ee = s("m"), se = s(3), l = s(!1), te = q, $ = (e) => {
15
15
  te("emitHandler", e);
16
16
  }, z = () => {
17
- T = window.bimViewer, P.SaveViewerState({ measure: "distance" }), w = window.bimViewer.measureAngleTool, u = window.bimViewer.measureDistanceTool, i = window.bimViewer.eventTrigger, g("isMobile") && (i.on("newAngleMeasure", (e) => {
17
+ T = window.bimViewer, W.SaveViewerState({ measure: "distance" }), w = window.bimViewer.measureAngleTool, u = window.bimViewer.measureDistanceTool, i = window.bimViewer.eventTrigger, g("isMobile") && (i.on("newAngleMeasure", (e) => {
18
18
  l.value = !1;
19
19
  }), i.on("newDistanceMeasure", (e) => {
20
20
  l.value = !1;
@@ -28,8 +28,8 @@ const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae
28
28
  n.value == 1 && V(L[1]), ne(e.id), g("isMobile") && (l.value = !0), m("clickAngleMeasure", { id: e.id });
29
29
  }), u.precision = se.value, u.unit = ee.value, u.scale = G.value;
30
30
  };
31
- q.on("BimViewer", z), ge(() => {
32
- q.off("BimViewer", z);
31
+ P.on("BimViewer", z), ge(() => {
32
+ P.off("BimViewer", z);
33
33
  }), _e(
34
34
  () => h.isToolActive(3),
35
35
  (e) => {
@@ -44,7 +44,7 @@ const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae
44
44
  content: o
45
45
  });
46
46
  }, V = (e) => {
47
- n.value !== e.id && (n.value = e.id, P.SaveViewerState({ measure: e.code }), oe(e), g("isMobile") && (l.value = !1));
47
+ n.value !== e.id && (n.value = e.id, W.SaveViewerState({ measure: e.code }), oe(e), g("isMobile") && (l.value = !1));
48
48
  }, oe = (e) => {
49
49
  let o = e.code;
50
50
  window.bimViewer.measureTool.setActiveByType(o, !0), $({
@@ -68,35 +68,35 @@ const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae
68
68
  document.getElementById("top_bar");
69
69
  });
70
70
  const d = s(!1);
71
- let p = !1, b = 0, B = 0, S = 0, k = 0;
71
+ let p = !1, B = 0, b = 0, S = 0, k = 0;
72
72
  const r = s(260), c = s(500), ce = () => {
73
73
  d.value = !d.value, d.value ? ve() : me();
74
74
  }, N = (e) => {
75
- p ? T.measureTool.currentTool.onSimulateMousedown([r.value, c.value]) : e.touches.length == 1 && (b = e.touches[0].clientX, B = e.touches[0].clientY, p = !0);
75
+ p ? T.measureTool.currentTool.onSimulateMousedown([r.value, c.value]) : e.touches.length == 1 && (B = e.touches[0].clientX, b = e.touches[0].clientY, p = !0);
76
76
  }, X = (e) => {
77
77
  if (e.touches.length == 1) {
78
78
  const o = e.touches[0].clientX, M = e.touches[0].clientY;
79
- S = o - b, k = M - B, r.value += S, c.value += k;
79
+ S = o - B, k = M - b, r.value += S, c.value += k;
80
80
  let f = new Int16Array(2);
81
- f[0] = r.value + 5, f[1] = c.value + 6, b = o, B = M, T.measureTool.currentTool.onSimulateMousemove([r.value, c.value]);
81
+ f[0] = r.value + 5, f[1] = c.value + 6, B = o, b = M, T.measureTool.currentTool.onSimulateMousemove([r.value, c.value]);
82
82
  }
83
83
  }, Y = (e) => {
84
84
  p && T.measureTool.currentTool.onSimulateMouseup([r.value, c.value]);
85
85
  }, ve = () => {
86
86
  const e = document.getElementById("measure_mouseGroup");
87
- e == null || e.addEventListener("touchstart", N), e == null || e.addEventListener("touchmove", X), e == null || e.addEventListener("touchend", Y), r.value = 260, c.value = 500, b = 0, B = 0, S = 0, k = 0, p = !1;
87
+ e == null || e.addEventListener("touchstart", N), e == null || e.addEventListener("touchmove", X), e == null || e.addEventListener("touchend", Y), r.value = 260, c.value = 500, B = 0, b = 0, S = 0, k = 0, p = !1;
88
88
  }, me = () => {
89
89
  const e = document.getElementById("measure_mouseGroup");
90
90
  e == null || e.removeEventListener("touchstart", N), e == null || e.removeEventListener("touchmove", X), e == null || e.removeEventListener("touchend", Y);
91
91
  };
92
92
  return (e, o) => {
93
93
  var M, f;
94
- return I(), A(U, null, [
95
- t("div", Be, [
94
+ return A(), I(U, null, [
95
+ t("div", be, [
96
96
  t("div", Ie, [
97
- (I(!0), A(U, null, Me(a(L), (v) => (I(), A("div", {
97
+ (A(!0), I(U, null, ye(a(L), (v) => (A(), I("div", {
98
98
  key: v.id,
99
- class: fe(["measure-item", {
99
+ class: he(["measure-item", {
100
100
  "measure-item-active": n.value === v.id
101
101
  }]),
102
102
  onClick: (ze) => V(v)
@@ -106,10 +106,10 @@ const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae
106
106
  src: a(y) + `/industry-viewer/measure-bar/${n.value === v.id ? v.svgActive : v.svg}.svg`,
107
107
  alt: ""
108
108
  }, null, 8, De),
109
- t("div", Re, ye(v.name), 1)
109
+ t("div", Re, we(v.name), 1)
110
110
  ])
111
111
  ], 10, Ae))), 128)),
112
- l.value ? (I(), A("div", {
112
+ l.value ? (A(), I("div", {
113
113
  key: 0,
114
114
  class: "measure-item",
115
115
  onClick: le
@@ -124,7 +124,7 @@ const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae
124
124
  style: { color: "#df1c1c" }
125
125
  }, " 删除 ", -1))
126
126
  ])
127
- ])) : he("", !0)
127
+ ])) : fe("", !0)
128
128
  ]),
129
129
  t("div", ke, [
130
130
  t("div", {
@@ -140,7 +140,7 @@ const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae
140
140
  ])
141
141
  ])
142
142
  ]),
143
- we(t("div", {
143
+ Me(t("div", {
144
144
  id: "measure_mouseGroup",
145
145
  class: "mouse_group",
146
146
  style: F({ left: `${r.value}px`, top: `${c.value}px` })
@@ -161,7 +161,7 @@ const Be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae
161
161
  ], 64);
162
162
  };
163
163
  }
164
- }), He = /* @__PURE__ */ be($e, [["__scopeId", "data-v-c58f900a"]]);
164
+ }), He = /* @__PURE__ */ Be($e, [["__scopeId", "data-v-5cefa9e3"]]);
165
165
  export {
166
166
  He as default
167
167
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, openBlock as M, createElementBlock as $, withDirectives as F, createElementVNode as p, normalizeStyle as D, unref as L, vShow as N } from "vue";
2
- import { p as R, t as s, O as V, V as k } from "./index-uIV4CiDG.mjs";
3
- const U = { class: "mouse_tool" }, z = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
1
+ import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, createElementBlock as M, openBlock as $, withDirectives as F, createElementVNode as g, normalizeStyle as z, unref as L, vShow as D } from "vue";
2
+ import { z as N, B as s, O as V, V as k } from "./index-CaiiH-9N.mjs";
3
+ const R = { class: "mouse_tool" }, U = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
4
4
  __name: "MouseTool",
5
5
  props: ["componentId"],
6
6
  setup(O) {
7
- const g = R(), y = O;
7
+ const p = N(), y = O;
8
8
  x(() => {
9
- g.setReadyById(y.componentId), document.getElementById("top_bar");
9
+ p.setReadyById(y.componentId), document.getElementById("top_bar");
10
10
  });
11
11
  let t;
12
12
  const w = () => {
@@ -27,7 +27,7 @@ const U = { class: "mouse_tool" }, z = ["src"], P = ["src"], J = /* @__PURE__ */
27
27
  const a = _(260), u = _(500), c = _(!1);
28
28
  let d = !1, o = !1, i = 0, l = 0, m = 0, v = 0;
29
29
  C(
30
- () => g.isToolActive(y.componentId),
30
+ () => p.isToolActive(y.componentId),
31
31
  (e) => {
32
32
  e ? j() : (o = !1, d = !1, i = 0, l = 0, m = 0, v = 0, X());
33
33
  }
@@ -37,44 +37,44 @@ const U = { class: "mouse_tool" }, z = ["src"], P = ["src"], J = /* @__PURE__ */
37
37
  o || e.touches.length == 1 && (d = !0, i = e.touches[0].clientX, l = e.touches[0].clientY), setTimeout(function() {
38
38
  e.preventDefault();
39
39
  }, 300);
40
- }, I = (e) => {
40
+ }, B = (e) => {
41
41
  o && (c.value = !0, s.emit("focusEntity", n));
42
- }, b = (e) => {
42
+ }, I = (e) => {
43
43
  if (d && e.touches.length == 1) {
44
- const f = e.touches[0].clientX, B = e.touches[0].clientY;
45
- m = f - i, v = B - l, a.value += m, u.value += v;
44
+ const f = e.touches[0].clientX, b = e.touches[0].clientY;
45
+ m = f - i, v = b - l, a.value += m, u.value += v;
46
46
  let h = new Int16Array(2);
47
47
  h[0] = a.value + 5, h[1] = u.value + 6;
48
48
  const r = t.viewer.scene.pick({
49
49
  canvasPos: h
50
50
  });
51
- r ? (o = !0, n !== r.entity.id && (n = r.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(r.entity))) : (o = !1, n = "", t.setAllObjectsSelected(!1)), k.entityState.selectedObjectIds.length > 0 && t.setObjectsSelected(k.entityState.selectedObjectIds, !0), i = f, l = B;
51
+ r ? (o = !0, n !== r.entity.id && (n = r.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(r.entity))) : (o = !1, n = "", t.setAllObjectsSelected(!1)), k.entityState.selectedObjectIds.length > 0 && t.setObjectsSelected(k.entityState.selectedObjectIds, !0), i = f, l = b;
52
52
  }
53
53
  }, j = () => {
54
54
  const e = document.getElementById("mouseGroup");
55
- e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove", b), e == null || e.addEventListener("click", I);
55
+ e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove", I), e == null || e.addEventListener("click", B);
56
56
  }, X = () => {
57
57
  const e = document.getElementById("mouseGroup");
58
- e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", b), e == null || e.removeEventListener("click", I);
58
+ e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", I), e == null || e.removeEventListener("click", B);
59
59
  };
60
- return (e, f) => (M(), $("div", U, [
61
- F(p("div", {
60
+ return (e, f) => ($(), M("div", R, [
61
+ F(g("div", {
62
62
  id: "mouseGroup",
63
63
  class: "mouse_group",
64
- style: D({ left: `${a.value}px`, top: `${u.value}px` })
64
+ style: z({ left: `${a.value}px`, top: `${u.value}px` })
65
65
  }, [
66
- p("img", {
66
+ g("img", {
67
67
  id: "mouse_icon",
68
68
  class: "mouse_icon",
69
69
  src: `${L(V)}/industry-viewer/mouse-icon.svg`
70
- }, null, 8, z),
71
- p("img", {
70
+ }, null, 8, U),
71
+ g("img", {
72
72
  id: "mouse_img",
73
73
  class: "mouse_img",
74
74
  src: `${L(V)}/industry-viewer/mouse-active-large.svg`
75
75
  }, null, 8, P)
76
76
  ], 4), [
77
- [N, !c.value]
77
+ [D, !c.value]
78
78
  ])
79
79
  ]));
80
80
  }
@@ -1,7 +1,7 @@
1
- import { defineComponent as u, onMounted as p, ref as b, openBlock as i, createElementBlock as n, createElementVNode as s, Fragment as w, renderList as g, unref as r, normalizeClass as f, toDisplayString as h } from "vue";
1
+ import { defineComponent as u, onMounted as p, ref as b, createElementBlock as i, openBlock as n, createElementVNode as s, Fragment as w, renderList as g, unref as r, normalizeClass as f, toDisplayString as h } from "vue";
2
2
  import { N } from "./const-DeViLYl5.mjs";
3
- import { p as S, O as T } from "./index-uIV4CiDG.mjs";
4
- const k = { class: "best-view-box" }, I = { class: "best-view-list" }, V = ["onClick"], y = { class: "best-view-icon" }, A = ["src"], B = { class: "best-view-name" }, D = /* @__PURE__ */ u({
3
+ import { z as S, O as T } from "./index-CaiiH-9N.mjs";
4
+ const k = { class: "best-view-box" }, I = { class: "best-view-list" }, V = ["onClick"], y = { class: "best-view-icon" }, A = ["src"], B = { class: "best-view-name" }, z = /* @__PURE__ */ u({
5
5
  __name: "NavigateTool",
6
6
  props: ["componentId"],
7
7
  emits: ["emitHandler"],
@@ -26,9 +26,9 @@ const k = { class: "best-view-box" }, I = { class: "best-view-list" }, V = ["onC
26
26
  }
27
27
  });
28
28
  };
29
- return (e, C) => (i(), n("div", k, [
29
+ return (e, C) => (n(), i("div", k, [
30
30
  s("div", I, [
31
- (i(!0), n(w, null, g(r(N), (t) => (i(), n("div", {
31
+ (n(!0), i(w, null, g(r(N), (t) => (n(), i("div", {
32
32
  key: t.id,
33
33
  class: f(["best-view-item", {
34
34
  "best-view-item-active": o.value === t.id
@@ -48,5 +48,5 @@ const k = { class: "best-view-box" }, I = { class: "best-view-list" }, V = ["onC
48
48
  }
49
49
  });
50
50
  export {
51
- D as default
51
+ z as default
52
52
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as k, ref as u, onMounted as F, onBeforeUnmount as N, watch as P, openBlock as x, createElementBlock as O, createElementVNode as o, unref as d, toDisplayString as G } from "vue";
2
- import { p as Y, q as v, I as B, t as f, O as l, C as I, z as H } from "./index-uIV4CiDG.mjs";
3
- const A = { class: "roam_container_wrapper" }, $ = { class: "mobile_roam-box" }, q = { class: "roam-left" }, z = { class: "roam-left-box" }, X = {
1
+ import { defineComponent as k, ref as u, onMounted as F, onBeforeUnmount as N, watch as P, createElementBlock as x, openBlock as O, createElementVNode as o, unref as d, toDisplayString as G } from "vue";
2
+ import { z as Y, A as v, J as B, B as f, O as l, K as I, G as A } from "./index-CaiiH-9N.mjs";
3
+ const H = { class: "roam_container_wrapper" }, $ = { class: "mobile_roam-box" }, z = { class: "roam-left" }, J = { class: "roam-left-box" }, K = {
4
4
  id: "roamMoveForward",
5
5
  class: "roam-left-item"
6
- }, j = ["src"], J = { class: "roam-left-box" }, K = {
6
+ }, X = ["src"], j = { class: "roam-left-box" }, q = {
7
7
  id: "roamMoveBackward",
8
8
  class: "roam-left-item roam-left-bottom"
9
9
  }, Q = ["src"], W = { class: "speed_panel roam-left" }, Z = { class: "roam-left-item" }, ee = { class: "up_down_img" }, oe = ["src"], te = { class: "speed_text" }, ne = { class: "up_down_img" }, re = ["src"], se = { class: "roam-right" }, ae = {
@@ -128,19 +128,19 @@ const A = { class: "roam_container_wrapper" }, $ = { class: "mobile_roam-box" },
128
128
  }
129
129
  });
130
130
  };
131
- return (e, t) => (x(), O("div", A, [
131
+ return (e, t) => (O(), x("div", H, [
132
132
  o("div", $, [
133
- o("div", q, [
134
- o("div", z, [
135
- o("div", X, [
133
+ o("div", z, [
134
+ o("div", J, [
135
+ o("div", K, [
136
136
  o("img", {
137
137
  src: d(l) + "/bim-viewer/roam-bar/up.svg",
138
138
  alt: ""
139
- }, null, 8, j)
139
+ }, null, 8, X)
140
140
  ])
141
141
  ]),
142
- o("div", J, [
143
- o("div", K, [
142
+ o("div", j, [
143
+ o("div", q, [
144
144
  o("img", {
145
145
  src: d(l) + "/bim-viewer/roam-bar/down.svg",
146
146
  alt: ""
@@ -206,7 +206,7 @@ const A = { class: "roam_container_wrapper" }, $ = { class: "mobile_roam-box" },
206
206
  ])
207
207
  ]));
208
208
  }
209
- }), be = /* @__PURE__ */ H(ge, [["__scopeId", "data-v-91e53e96"]]);
209
+ }), be = /* @__PURE__ */ A(ge, [["__scopeId", "data-v-50625d73"]]);
210
210
  export {
211
211
  be as default
212
212
  };