@xtctwins/tctwins-industry-engine 0.0.6 → 0.0.8

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 (25) hide show
  1. package/dist/{AnnotationTool-CI2uKvcT.mjs → AnnotationTool-CG5vARdK.mjs} +2 -2
  2. package/dist/{BCFTool-DMTJWHGp.mjs → BCFTool-BQLaEDZx.mjs} +2 -2
  3. package/dist/CommentTool-CcWmN9an.mjs +168 -0
  4. package/dist/Industry_Viewer_Lib.es.js +1 -1
  5. package/dist/Industry_Viewer_Lib.umd.js +67 -67
  6. package/dist/{InspectorTool-M14bTfJy.mjs → InspectorTool-bDQLZaVJ.mjs} +5 -5
  7. package/dist/{MeasureTool-fpe5lUfA.mjs → MeasureTool-C4BQ_ynw.mjs} +2 -2
  8. package/dist/{MouseTool-DD_r7w8g.mjs → MouseTool-BKNINn0k.mjs} +20 -18
  9. package/dist/{NavigateTool-h6mbQBx1.mjs → NavigateTool-Dzpxqz_P.mjs} +1 -1
  10. package/dist/{RoamTool-BW-qnHb2.mjs → RoamTool-Cdl62N2A.mjs} +1 -1
  11. package/dist/{ScreenShotTool-C1u0hG7E.mjs → ScreenShotTool-Bv5C5Obh.mjs} +2 -2
  12. package/dist/{SectionTool-B5Wtjqxa.mjs → SectionTool-yzuX_KaV.mjs} +3 -3
  13. package/dist/{SettingTool-CuFUj90w.mjs → SettingTool-MnaXWQ7Z.mjs} +4 -4
  14. package/dist/StructureTree-CPB_MVJm.mjs +1591 -0
  15. package/dist/{XRayTool-C0m0cNvJ.mjs → XRayTool-vHLBinZD.mjs} +1 -1
  16. package/dist/{alert-BVfdQL8W.mjs → alert-Dn13cpN1.mjs} +1 -1
  17. package/dist/{el-checkbox-D7fM1J1k.mjs → el-checkbox-Day69Q-U.mjs} +1 -1
  18. package/dist/{el-input-number-BPhVD6dp.mjs → el-input-number-DiFyiybL.mjs} +1 -1
  19. package/dist/{index-CQhsx45j.mjs → index-JDDvIbJ_.mjs} +1170 -1168
  20. package/dist/{panel.vue_vue_type_style_index_0_lang-BoKU9_z2.mjs → panel.vue_vue_type_style_index_0_lang-D96FeHYN.mjs} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{tallPanel-DOV7VQ7X.mjs → tallPanel-BsnhCyIr.mjs} +1 -1
  23. package/package.json +1 -1
  24. package/dist/CommentTool-BRhMRcYU.mjs +0 -167
  25. package/dist/StructureTree-xbI_WYLM.mjs +0 -1591
@@ -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-CQhsx45j.mjs";
2
- import { _ as se } from "./tallPanel-DOV7VQ7X.mjs";
3
- import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-BoKU9_z2.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-JDDvIbJ_.mjs";
2
+ import { _ as se } from "./tallPanel-BsnhCyIr.mjs";
3
+ import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-D96FeHYN.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: "扩建物",
@@ -347,7 +347,7 @@ 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}/industry-viewer/down_icon.png` : `${A}/industry-viewer/right_icon.png`, z = (s) => {
350
+ }, b = (s) => s ? `${A}/bim-viewer/down_icon.png` : `${A}/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
352
  V.currentTheme == "light-gray" ? t.expanded = !0 : t.expanded = !1;
353
353
  }));
@@ -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-1156f47a"]]);
671
+ }), kt = /* @__PURE__ */ ne(Pt, [["__scopeId", "data-v-18add1d0"]]);
672
672
  export {
673
673
  kt as default
674
674
  };
@@ -1,5 +1,5 @@
1
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-CQhsx45j.mjs";
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-JDDvIbJ_.mjs";
3
3
  import { M as L } from "./const-DeViLYl5.mjs";
4
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",
@@ -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-216c851b"]]);
164
+ }), He = /* @__PURE__ */ be($e, [["__scopeId", "data-v-c58f900a"]]);
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 g, normalizeStyle as N, unref as L, vShow as R } from "vue";
2
- import { p as U, t as s, O as V, V as k } from "./index-CQhsx45j.mjs";
3
- const z = { class: "mouse_tool" }, D = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
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-JDDvIbJ_.mjs";
3
+ const U = { class: "mouse_tool" }, z = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
4
4
  __name: "MouseTool",
5
5
  props: ["componentId"],
6
6
  setup(O) {
7
- const p = U(), y = O;
7
+ const g = R(), y = O;
8
8
  x(() => {
9
- p.setReadyById(y.componentId), document.getElementById("top_bar");
9
+ g.setReadyById(y.componentId), document.getElementById("top_bar");
10
10
  });
11
11
  let t;
12
12
  const w = () => {
@@ -19,22 +19,24 @@ const z = { class: "mouse_tool" }, D = ["src"], P = ["src"], J = /* @__PURE__ */
19
19
  s.on("BimViewer", w);
20
20
  const E = () => {
21
21
  c.value = !1, o = !1;
22
- }, j = () => {
22
+ }, T = () => {
23
23
  };
24
- s.on("unFocus", E), s.on("multiSelect", j), A(() => {
24
+ s.on("unFocus", E), s.on("multiSelect", T), A(() => {
25
25
  s.off("BimViewer", w), s.off("unFocus", E);
26
26
  });
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
- () => p.isToolActive(y.componentId),
30
+ () => g.isToolActive(y.componentId),
31
31
  (e) => {
32
- e ? T() : (o = !1, d = !1, i = 0, l = 0, m = 0, v = 0, X());
32
+ e ? j() : (o = !1, d = !1, i = 0, l = 0, m = 0, v = 0, X());
33
33
  }
34
34
  );
35
35
  let n = "";
36
36
  const S = (e) => {
37
- o || e.touches.length == 1 && (d = !0, i = e.touches[0].clientX, l = e.touches[0].clientY);
37
+ o || e.touches.length == 1 && (d = !0, i = e.touches[0].clientX, l = e.touches[0].clientY), setTimeout(function() {
38
+ e.preventDefault();
39
+ }, 300);
38
40
  }, I = (e) => {
39
41
  o && (c.value = !0, s.emit("focusEntity", n));
40
42
  }, b = (e) => {
@@ -48,31 +50,31 @@ const z = { class: "mouse_tool" }, D = ["src"], P = ["src"], J = /* @__PURE__ */
48
50
  });
49
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;
50
52
  }
51
- }, T = () => {
53
+ }, j = () => {
52
54
  const e = document.getElementById("mouseGroup");
53
55
  e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove", b), e == null || e.addEventListener("click", I);
54
56
  }, X = () => {
55
57
  const e = document.getElementById("mouseGroup");
56
58
  e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", b), e == null || e.removeEventListener("click", I);
57
59
  };
58
- return (e, f) => (M(), $("div", z, [
59
- F(g("div", {
60
+ return (e, f) => (M(), $("div", U, [
61
+ F(p("div", {
60
62
  id: "mouseGroup",
61
63
  class: "mouse_group",
62
- style: N({ left: `${a.value}px`, top: `${u.value}px` })
64
+ style: D({ left: `${a.value}px`, top: `${u.value}px` })
63
65
  }, [
64
- g("img", {
66
+ p("img", {
65
67
  id: "mouse_icon",
66
68
  class: "mouse_icon",
67
69
  src: `${L(V)}/industry-viewer/mouse-icon.svg`
68
- }, null, 8, D),
69
- g("img", {
70
+ }, null, 8, z),
71
+ p("img", {
70
72
  id: "mouse_img",
71
73
  class: "mouse_img",
72
74
  src: `${L(V)}/industry-viewer/mouse-active-large.svg`
73
75
  }, null, 8, P)
74
76
  ], 4), [
75
- [R, !c.value]
77
+ [N, !c.value]
76
78
  ])
77
79
  ]));
78
80
  }
@@ -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-CQhsx45j.mjs";
3
+ import { p as S, O as T } from "./index-JDDvIbJ_.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-CQhsx45j.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-JDDvIbJ_.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-BoKU9_z2.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-CQhsx45j.mjs";
1
+ import { _ as me } from "./panel.vue_vue_type_style_index_0_lang-D96FeHYN.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-JDDvIbJ_.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-BVfdQL8W.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-CQhsx45j.mjs";
3
- import { E as H } from "./el-input-number-BPhVD6dp.mjs";
1
+ import { _ as W } from "./alert-Dn13cpN1.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-JDDvIbJ_.mjs";
3
+ import { E as H } from "./el-input-number-DiFyiybL.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",
@@ -1,11 +1,11 @@
1
1
  var Ne = Object.defineProperty;
2
2
  var Fe = (u, g, y) => g in u ? Ne(u, g, { enumerable: !0, configurable: !0, writable: !0, value: y }) : u[g] = y;
3
3
  var G = (u, g, y) => Fe(u, typeof g != "symbol" ? g + "" : g, y);
4
- import { S as Oe, D as Le, m as te, W as Ke, M as We, U as me, i as oe, d as ve, F as ce, G as fe, X as pe, P as Re, J as Ze, u as je, Q as Ge, K as He, Y as _e, j as Ee, E as L, Z as De, $ as Ye, _ as qe, w as Je, p as Qe, T as Ae, q as F, t as H, V as Xe, x as et, y as tt, z as lt } from "./index-CQhsx45j.mjs";
5
- import { _ as ot } from "./panel.vue_vue_type_style_index_0_lang-BoKU9_z2.mjs";
4
+ import { S as Oe, D as Le, m as te, W as Ke, M as We, U as me, i as oe, d as ve, F as ce, G as fe, X as pe, P as Re, J as Ze, u as je, Q as Ge, K as He, Y as _e, j as Ee, E as L, Z as De, $ as Ye, _ as qe, w as Je, p as Qe, T as Ae, q as F, t as H, V as Xe, x as et, y as tt, z as lt } from "./index-JDDvIbJ_.mjs";
5
+ import { _ as ot } from "./panel.vue_vue_type_style_index_0_lang-D96FeHYN.mjs";
6
6
  /* empty css */
7
- import { E as nt, a as it } from "./el-checkbox-D7fM1J1k.mjs";
8
- import { E as st } from "./el-input-number-BPhVD6dp.mjs";
7
+ import { E as nt, a as it } from "./el-checkbox-Day69Q-U.mjs";
8
+ import { E as st } from "./el-input-number-DiFyiybL.mjs";
9
9
  import { defineComponent as Ve, computed as O, ref as m, watch as ge, onMounted as Ue, openBlock as s, createElementBlock as f, normalizeClass as T, unref as i, withModifiers as at, createElementVNode as l, withKeys as ut, createBlock as h, withCtx as E, resolveDynamicComponent as _, createCommentVNode as p, toDisplayString as J, normalizeStyle as q, createVNode as d, renderSlot as Be, nextTick as dt, onBeforeUnmount as rt, resolveComponent as vt, Fragment as Y, createTextVNode as M, renderList as le } from "vue";
10
10
  import { B as K } from "./const-DeViLYl5.mjs";
11
11
  import { Loading as ct } from "@element-plus/icons-vue";