@xtctwins/tctwins-industry-engine 0.0.2 → 0.0.4

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 (26) hide show
  1. package/README.md +1 -1
  2. package/dist/{AnnotationTool-CckYT7oM.mjs → AnnotationTool-VcG-lpNN.mjs} +2 -2
  3. package/dist/{BCFTool-BSX5QGiL.mjs → BCFTool-6gl-CCXW.mjs} +2 -2
  4. package/dist/{CommentTool-DkFNdJsC.mjs → CommentTool-Dq5PMm_D.mjs} +1 -1
  5. package/dist/Industry_Viewer_Lib.es.js +1 -1
  6. package/dist/Industry_Viewer_Lib.umd.js +101 -101
  7. package/dist/{InspectorTool-CByW1-RR.mjs → InspectorTool-DMCdY47K.mjs} +3 -3
  8. package/dist/{MeasureTool-NaIXjx25.mjs → MeasureTool-Bvm7V488.mjs} +1 -1
  9. package/dist/{MouseTool-DPn1c8VH.mjs → MouseTool-C3YuKwCF.mjs} +23 -21
  10. package/dist/{NavigateTool-CKzyxNb1.mjs → NavigateTool-Cufbcq2R.mjs} +1 -1
  11. package/dist/{RoamTool-CGCd0ISJ.mjs → RoamTool-BJcPhzOY.mjs} +1 -1
  12. package/dist/{ScreenShotTool-FxhSh-H4.mjs → ScreenShotTool-CoE5ZwiA.mjs} +2 -2
  13. package/dist/{SectionTool-BvMnghTr.mjs → SectionTool-YU9kYpSp.mjs} +3 -3
  14. package/dist/{SettingTool-Qwh1ZQW9.mjs → SettingTool-B2ua8aJb.mjs} +221 -221
  15. package/dist/{StructureTree-BfcLg0fH.mjs → StructureTree-Dck2nIir.mjs} +4 -4
  16. package/dist/XRayTool-ByKuu3mR.mjs +57 -0
  17. package/dist/{alert-21rvT3x0.mjs → alert-rfb9gyD0.mjs} +1 -1
  18. package/dist/{el-checkbox-DhCHlVlj.mjs → el-checkbox-CsIQ7HoT.mjs} +1 -1
  19. package/dist/{el-input-number-BM57GTck.mjs → el-input-number-DFjuBJMK.mjs} +1 -1
  20. package/dist/{index-D7CWZ7YS.mjs → index-CTQx6-DM.mjs} +9984 -9929
  21. package/dist/{panel.vue_vue_type_style_index_0_lang-BNEWti6-.mjs → panel.vue_vue_type_style_index_0_lang-DsoizPRd.mjs} +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/{tallPanel-uzpBjNGL.mjs → tallPanel-CH1SXZe6.mjs} +1 -1
  24. package/package.json +2 -2
  25. package/types/viewerManager/viewerManager.d.ts +7 -0
  26. package/dist/XRayTool-Cyvx3oRp.mjs +0 -57
@@ -1,6 +1,6 @@
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-D7CWZ7YS.mjs";
2
- import { _ as se } from "./tallPanel-uzpBjNGL.mjs";
3
- import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-BNEWti6-.mjs";
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-CTQx6-DM.mjs";
2
+ import { _ as se } from "./tallPanel-CH1SXZe6.mjs";
3
+ import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-DsoizPRd.mjs";
4
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
5
  const G = {
6
6
  ExtendToStructure: "扩建物",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ge, ref as s, onMounted as U, onBeforeUnmount as _e, watch as Me, openBlock as I, createElementBlock as A, Fragment as F, createElementVNode as t, renderList as fe, unref as a, normalizeClass as he, toDisplayString as ye, createCommentVNode as we, normalizeStyle as O, withDirectives as Te, vShow as pe } from "vue";
2
- import { p as Be, T as q, t as P, O as h, V as W, q as g, z as be } from "./index-D7CWZ7YS.mjs";
2
+ import { p as Be, T as q, t as P, O as h, V as W, q as g, z as be } from "./index-CTQx6-DM.mjs";
3
3
  import { M as L } from "./const-DeViLYl5.mjs";
4
4
  const Ie = { class: "mobile_measure_panel" }, Ae = { class: "measure-list" }, Ee = ["onClick"], De = { class: "measure-icon" }, Re = ["src"], Ve = { class: "measure-name" }, Se = { class: "measure-icon" }, ke = ["src"], Le = { class: "mouse_btn" }, xe = ["src"], Ce = ["src"], $e = ["src"], ze = /* @__PURE__ */ ge({
5
5
  __name: "MeasureTool",
@@ -1,5 +1,5 @@
1
- import { defineComponent as x, onMounted as A, onBeforeUnmount as O, ref as _, watch as $, openBlock as F, createElementBlock as M, withDirectives as j, createElementVNode as p, normalizeStyle as C, unref as k, vShow as N } from "vue";
2
- import { p as R, t as o, O as V } from "./index-D7CWZ7YS.mjs";
1
+ import { defineComponent as x, onMounted as A, onBeforeUnmount as C, ref as _, watch as O, openBlock as $, createElementBlock as F, withDirectives as M, createElementVNode as p, normalizeStyle as j, unref as k, vShow as N } from "vue";
2
+ import { p as R, t as s, O as V } from "./index-CTQx6-DM.mjs";
3
3
  const U = { class: "mouse_tool" }, z = ["src"], D = ["src"], q = /* @__PURE__ */ x({
4
4
  __name: "MouseTool",
5
5
  props: ["componentId"],
@@ -12,39 +12,41 @@ const U = { class: "mouse_tool" }, z = ["src"], D = ["src"], q = /* @__PURE__ */
12
12
  let t;
13
13
  const w = () => {
14
14
  t = window.bimViewer, t.eventTrigger.on("pickedNothing", () => {
15
- s.value = !1;
15
+ c.value = !1;
16
+ }), t.viewer.cameraControl.on("touchmoveCanvas", () => {
17
+ o = !1, n = "";
16
18
  });
17
19
  };
18
- o.on("BimViewer", w);
20
+ s.on("BimViewer", w);
19
21
  const B = () => {
20
- s.value = !1;
22
+ c.value = !1;
21
23
  };
22
- o.on("unFocus", B), O(() => {
23
- o.off("BimViewer", w), o.off("unFocus", B);
24
+ s.on("unFocus", B), C(() => {
25
+ s.off("BimViewer", w), s.off("unFocus", B);
24
26
  });
25
- const a = _(260), u = _(500), s = _(!1);
26
- let d = !1, n = !1, c = 0, i = 0, m = 0, v = 0;
27
- $(
27
+ const a = _(260), u = _(500), c = _(!1);
28
+ let m = !1, o = !1, i = 0, l = 0, d = 0, v = 0;
29
+ O(
28
30
  () => g.isToolActive(y.componentId),
29
31
  (e) => {
30
- e ? X() : (n = !1, d = !1, c = 0, i = 0, m = 0, v = 0, Y());
32
+ e ? X() : (o = !1, m = !1, i = 0, l = 0, d = 0, v = 0, Y());
31
33
  }
32
34
  );
33
- let l = "";
35
+ let n = "";
34
36
  const S = (e) => {
35
- n || e.touches.length == 1 && (d = !0, c = e.touches[0].clientX, i = e.touches[0].clientY);
37
+ o || e.touches.length == 1 && (m = !0, i = e.touches[0].clientX, l = e.touches[0].clientY);
36
38
  }, I = (e) => {
37
- n && (s.value = !0, o.emit("focusEntity", l));
39
+ o && (c.value = !0, s.emit("focusEntity", n));
38
40
  }, L = (e) => {
39
- if (d && e.touches.length == 1) {
41
+ if (m && e.touches.length == 1) {
40
42
  const f = e.touches[0].clientX, b = e.touches[0].clientY;
41
- m = f - c, v = b - i, a.value += m, u.value += v;
43
+ d = f - i, v = b - l, a.value += d, u.value += v;
42
44
  let h = new Int16Array(2);
43
45
  h[0] = a.value + 5, h[1] = u.value + E.offsetHeight + 6;
44
46
  const r = t.viewer.scene.pick({
45
47
  canvasPos: h
46
48
  });
47
- r ? (n = !0, l !== r.entity.id && (l = r.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(r.entity))) : (l = "", t.setAllObjectsSelected(!1)), c = f, i = b;
49
+ r ? (o = !0, n !== r.entity.id && (n = r.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(r.entity))) : (n = "", t.setAllObjectsSelected(!1)), i = f, l = b;
48
50
  }
49
51
  }, X = () => {
50
52
  const e = document.getElementById("mouseGroup");
@@ -53,11 +55,11 @@ const U = { class: "mouse_tool" }, z = ["src"], D = ["src"], q = /* @__PURE__ */
53
55
  const e = document.getElementById("mouseGroup");
54
56
  e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", L), e == null || e.removeEventListener("click", I);
55
57
  };
56
- return (e, f) => (F(), M("div", U, [
57
- j(p("div", {
58
+ return (e, f) => ($(), F("div", U, [
59
+ M(p("div", {
58
60
  id: "mouseGroup",
59
61
  class: "mouse_group",
60
- style: C({ left: `${a.value}px`, top: `${u.value}px` })
62
+ style: j({ left: `${a.value}px`, top: `${u.value}px` })
61
63
  }, [
62
64
  p("img", {
63
65
  id: "mouse_icon",
@@ -70,7 +72,7 @@ const U = { class: "mouse_tool" }, z = ["src"], D = ["src"], q = /* @__PURE__ */
70
72
  src: `${k(V)}/industry-viewer/mouse-active-large.svg`
71
73
  }, null, 8, D)
72
74
  ], 4), [
73
- [N, !s.value]
75
+ [N, !c.value]
74
76
  ])
75
77
  ]));
76
78
  }
@@ -1,6 +1,6 @@
1
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";
2
2
  import { N } from "./const-DeViLYl5.mjs";
3
- import { p as S, O as T } from "./index-D7CWZ7YS.mjs";
3
+ import { p as S, O as T } from "./index-CTQx6-DM.mjs";
4
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({
5
5
  __name: "NavigateTool",
6
6
  props: ["componentId"],
@@ -1,5 +1,5 @@
1
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-D7CWZ7YS.mjs";
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-CTQx6-DM.mjs";
3
3
  const A = { class: "roam_container_wrapper" }, $ = { class: "mobile_roam-box" }, q = { class: "roam-left" }, z = { class: "roam-left-box" }, X = {
4
4
  id: "roamMoveForward",
5
5
  class: "roam-left-item"
@@ -1,5 +1,5 @@
1
- import { _ as me } from "./panel.vue_vue_type_style_index_0_lang-BNEWti6-.mjs";
2
- import { D as G, U as $, d as M, F as j, i as H, G as pe, H as W, f as O, J as fe, K as ve, L as be, u as L, _ as P, M as _e, N as he, P as ge, Q as ye, j as Se, w as Ve, R as X, p as Re, v as ke } from "./index-D7CWZ7YS.mjs";
1
+ import { _ as me } from "./panel.vue_vue_type_style_index_0_lang-DsoizPRd.mjs";
2
+ import { D as G, U as $, d as M, F as j, i as H, G as pe, H as W, f as O, J as fe, K as ve, L as be, u as L, _ as P, M as _e, N as he, P as ge, Q as ye, j as Se, w as Ve, R as X, p as Re, v as ke } from "./index-CTQx6-DM.mjs";
3
3
  import { ref as R, inject as Ee, computed as g, defineComponent as E, openBlock as k, createElementBlock as B, normalizeClass as y, unref as e, createElementVNode as v, withDirectives as Y, isRef as q, withModifiers as w, vModelRadio as J, renderSlot as x, createTextVNode as N, toDisplayString as F, nextTick as Q, normalizeStyle as Ie, onMounted as Z, provide as Be, reactive as Ce, toRefs as we, watch as ee, createBlock as Ne, withCtx as U, createVNode as C, Fragment as Ge, renderList as Ue, createCommentVNode as ze } from "vue";
4
4
  import { a as z } from "./const-DeViLYl5.mjs";
5
5
  const oe = G({
@@ -1,6 +1,6 @@
1
- import { _ as W } from "./alert-21rvT3x0.mjs";
2
- import { p as X, T as E, q as b, t as B, O as m, y as Y, x as Z, z as G } from "./index-D7CWZ7YS.mjs";
3
- import { E as H } from "./el-input-number-BM57GTck.mjs";
1
+ import { _ as W } from "./alert-rfb9gyD0.mjs";
2
+ import { p as X, T as E, q as b, t as B, O as m, y as Y, x as Z, z as G } from "./index-CTQx6-DM.mjs";
3
+ import { E as H } from "./el-input-number-DFjuBJMK.mjs";
4
4
  import { defineComponent as J, ref as s, onMounted as K, watch as Q, onBeforeUnmount as ee, openBlock as l, createElementBlock as c, Fragment as oe, createElementVNode as o, createVNode as v, withCtx as te, unref as r, toDisplayString as h, withDirectives as ie, vShow as ne } from "vue";
5
5
  const se = { class: "mobile_section_panel" }, le = { class: "slicing-title-box" }, ce = { class: "slicing-title-icon" }, re = { class: "slicing-content-box" }, ae = { class: "slicing-select-box" }, de = { class: "select-item" }, ue = { class: "select-item-left" }, me = ["src"], ve = ["src"], _e = { class: "select-item-center" }, pe = { class: "item-center-top" }, we = { class: "item-center-bottom" }, ge = { class: "select-item" }, be = { class: "select-item-left" }, fe = ["src"], ke = ["src"], he = { class: "select-item-center" }, ye = { class: "item-center-top" }, Ve = { class: "item-center-bottom" }, xe = { class: "select-item" }, Te = { class: "select-item-left" }, Ce = ["src"], Pe = ["src"], Se = { class: "select-item-center" }, ze = { class: "item-center-top" }, Ee = { class: "item-center-bottom" }, Be = /* @__PURE__ */ J({
6
6
  __name: "SectionTool",