@xtctwins/tctwins-industry-engine 0.0.10 → 0.0.12

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-f7CrC7Dr.mjs} +14 -14
  3. package/dist/{BCFTool-D-PM2few.mjs → BCFTool-CdN6SGDL.mjs} +5269 -5269
  4. package/dist/{CommentTool-CycO4Znf.mjs → CommentTool-Cfht7mQS.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-M_oBYVQA.mjs} +31 -31
  8. package/dist/{MeasureTool-BfIIQ3PS.mjs → MeasureTool-CxWeQFgY.mjs} +24 -24
  9. package/dist/{MouseTool-nmX9TlQA.mjs → MouseTool-BHbi-fg3.mjs} +20 -20
  10. package/dist/{NavigateTool-BM2rj2oZ.mjs → NavigateTool-BdUVi4Be.mjs} +6 -6
  11. package/dist/{RoamTool-C12h52G0.mjs → RoamTool-Uuxa-94w.mjs} +12 -12
  12. package/dist/ScreenShotTool-CZUm8l2Z.mjs +445 -0
  13. package/dist/{SectionTool-DyyT_8pR.mjs → SectionTool-DZToybAI.mjs} +46 -46
  14. package/dist/SettingTool-CYM0qsUs.mjs +770 -0
  15. package/dist/StructureTree-DeXxENMk.mjs +1824 -0
  16. package/dist/{XRayTool-WdvB7EF1.mjs → XRayTool-Bug-FcKJ.mjs} +13 -13
  17. package/dist/{alert-xMo21PgA.mjs → alert-DGyQ9rEq.mjs} +5 -5
  18. package/dist/el-checkbox-ClYe-8uK.mjs +544 -0
  19. package/dist/el-input-number-Df5HOHuh.mjs +1028 -0
  20. package/dist/{index-uIV4CiDG.mjs → index-BNrMlQLr.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-CCuIP-Pp.mjs} +6 -6
  22. package/dist/style.css +1 -1
  23. package/dist/{tallPanel-Dre_48W4.mjs → tallPanel-CqKqC6yK.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,22 +1,22 @@
1
- import { p as $, t as S, q as g, O as h, x as D, v as q, z as F } from "./index-uIV4CiDG.mjs";
2
- import { defineComponent as H, onMounted as W, ref as o, onBeforeUnmount as j, watch as G, openBlock as r, createElementBlock as d, createElementVNode as e, normalizeStyle as J, unref as u, createVNode as I, withCtx as K, Fragment as Q, renderList as X, normalizeClass as Y, toDisplayString as Z, createCommentVNode as B } from "vue";
1
+ import { z as U, B as S, A as p, D as $, O as h, C as F, G } from "./index-BNrMlQLr.mjs";
2
+ import { defineComponent as H, onMounted as W, ref as o, onBeforeUnmount as j, watch as q, createElementBlock as r, openBlock as d, createElementVNode as e, createCommentVNode as B, normalizeStyle as J, unref as u, createVNode as I, withCtx as K, Fragment as Q, renderList as X, normalizeClass as Y, toDisplayString as Z } from "vue";
3
3
  import { C as V } from "./const-DeViLYl5.mjs";
4
4
  const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolbar" }, oe = { class: "comment_toolbar" }, se = { class: "comment-list" }, ne = ["onClick"], le = { class: "comment-icon" }, ae = ["src"], ce = { class: "comment-name" }, ie = { class: "comment-icon" }, me = ["src"], re = {
5
5
  key: 0,
6
6
  class: "comment_create_text_box"
7
- }, de = { class: "label-text-edit" }, ue = { class: "text-edit-head" }, ve = ["src"], _e = { class: "text-edit-body" }, fe = { class: "text-edit-input" }, pe = /* @__PURE__ */ H({
7
+ }, de = { class: "label-text-edit" }, ue = { class: "text-edit-head" }, ve = ["src"], _e = { class: "text-edit-body" }, fe = { class: "text-edit-input" }, ge = /* @__PURE__ */ H({
8
8
  __name: "CommentTool",
9
9
  props: ["componentId"],
10
10
  emits: ["closePanel", "emitHandler"],
11
- setup(E, { emit: ge }) {
12
- const w = $(), C = E;
11
+ setup(E, { emit: pe }) {
12
+ const w = U(), C = E;
13
13
  W(() => {
14
14
  w.setReadyById(C.componentId);
15
15
  });
16
- let p, a;
16
+ let g, a;
17
17
  const n = o(0), N = o(1), M = o(1);
18
18
  o(1), o(V);
19
- const L = o(), b = o(!1), x = o(!1), v = o(!1), _ = o(!1), c = o(""), y = o(), i = o({
19
+ const A = o(), b = o(!1), x = o(!1), v = o(!1), _ = o(!1), c = o(""), y = o(), i = o({
20
20
  show: !1,
21
21
  // 是否显示
22
22
  title: "标题",
@@ -32,7 +32,7 @@ const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolba
32
32
  console.log("点击了关闭"), i.value.show = !1;
33
33
  }
34
34
  }), T = () => {
35
- p = window.bimViewer.commentTool, a = window.bimViewer.eventTrigger, m(""), a.on("createNew", () => {
35
+ g = window.bimViewer.commentTool, a = window.bimViewer.eventTrigger, m(""), a.on("createNew", () => {
36
36
  n.value = 0, m("");
37
37
  }), a.on("newState", () => {
38
38
  b.value = !0, x.value = !1;
@@ -46,21 +46,21 @@ const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolba
46
46
  };
47
47
  S.on("BimViewer", T), j(() => {
48
48
  S.off("BimViewer", T);
49
- }), G(
49
+ }), q(
50
50
  () => w.isToolActive(C.componentId),
51
51
  (t) => {
52
52
  var s;
53
53
  t ? (n.value = 1, m("path"), setTimeout(() => {
54
54
  var f;
55
- g("isMobile") && ((f = document.getElementById("svgImage")) == null || f.addEventListener("touchstart", k));
56
- }, 100)) : g("isMobile") && ((s = document.getElementById("svgImage")) == null || s.removeEventListener("touchstart", k));
55
+ p("isMobile") && ((f = document.getElementById("svgImage")) == null || f.addEventListener("touchstart", k));
56
+ }, 100)) : p("isMobile") && ((s = document.getElementById("svgImage")) == null || s.removeEventListener("touchstart", k));
57
57
  }
58
58
  );
59
59
  const k = (t) => {
60
60
  t.target.tagName == "image" && (n.value === 5 ? (c.value = "", y.value = t, _.value = !0) : v.value = !1);
61
- }, O = () => {
62
- c.value ? (p.clickCreateText(y.value, c.value), _.value = !1) : A("请输入内容");
63
- }, A = (t, s) => {
61
+ }, L = () => {
62
+ c.value ? (g.clickCreateText(y.value, c.value), _.value = !1) : O("请输入内容");
63
+ }, O = (t, s) => {
64
64
  i.value = {
65
65
  show: !0,
66
66
  // 是否显示
@@ -78,27 +78,27 @@ const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolba
78
78
  }
79
79
  };
80
80
  }, z = (t) => {
81
- n.value === t.id && (n.value = 0), N.value = 1, M.value = 1, L.value = t.buttontype, n.value = t.id, m(t.buttontype);
82
- }, P = () => {
81
+ n.value === t.id && (n.value = 0), N.value = 1, M.value = 1, A.value = t.buttontype, n.value = t.id, m(t.buttontype);
82
+ }, D = () => {
83
83
  window.bimViewer.commentTool.deleteCurrentComments(), v.value = !1;
84
84
  }, m = (t) => {
85
- p.setCurrentMode(t);
85
+ g.setCurrentMode(t);
86
86
  };
87
87
  return (t, s) => {
88
- const f = D, R = q;
89
- return r(), d("div", ee, [
88
+ const f = $, P = F;
89
+ return d(), r("div", ee, [
90
90
  e("div", {
91
91
  id: "comments_panel",
92
92
  class: "comments_panel",
93
- style: J({ background: u(g)("backgroundColor") })
93
+ style: J({ background: u(p)("backgroundColor") })
94
94
  }, null, 4),
95
95
  e("div", te, [
96
96
  e("div", oe, [
97
97
  I(f, null, {
98
98
  default: K(() => [
99
99
  e("div", se, [
100
- (r(!0), d(Q, null, X(u(V), (l, U) => (r(), d("div", {
101
- key: U,
100
+ (d(!0), r(Q, null, X(u(V), (l, R) => (d(), r("div", {
101
+ key: R,
102
102
  class: Y(["comment-item", {
103
103
  "comment-item-active": n.value === l.id
104
104
  }]),
@@ -111,10 +111,10 @@ const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolba
111
111
  e("div", ce, Z(l.name), 1)
112
112
  ])
113
113
  ], 10, ne))), 128)),
114
- v.value ? (r(), d("div", {
114
+ v.value ? (d(), r("div", {
115
115
  key: 0,
116
116
  class: "comment-item",
117
- onClick: P
117
+ onClick: D
118
118
  }, [
119
119
  e("div", ie, [
120
120
  e("img", {
@@ -132,7 +132,7 @@ const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolba
132
132
  })
133
133
  ])
134
134
  ]),
135
- _.value ? (r(), d("div", re, [
135
+ _.value ? (d(), r("div", re, [
136
136
  e("div", de, [
137
137
  e("div", ue, [
138
138
  e("img", {
@@ -143,12 +143,12 @@ const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolba
143
143
  s[3] || (s[3] = e("div", { class: "text-edit-title" }, "创建文字批注", -1)),
144
144
  e("div", {
145
145
  class: "text-edit-finish",
146
- onClick: O
146
+ onClick: L
147
147
  }, " 完成 ")
148
148
  ]),
149
149
  e("div", _e, [
150
150
  e("div", fe, [
151
- I(R, {
151
+ I(P, {
152
152
  modelValue: c.value,
153
153
  "onUpdate:modelValue": s[1] || (s[1] = (l) => c.value = l),
154
154
  type: "textarea",
@@ -162,7 +162,7 @@ const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolba
162
162
  ]);
163
163
  };
164
164
  }
165
- }), xe = /* @__PURE__ */ F(pe, [["__scopeId", "data-v-0b587a92"]]);
165
+ }), xe = /* @__PURE__ */ G(ge, [["__scopeId", "data-v-ac774ff9"]]);
166
166
  export {
167
167
  xe as default
168
168
  };
@@ -1,4 +1,4 @@
1
- import { I as e, as as t, at as o, av as i, V as l, ay as r, au as I, aw as n, ax as y } from "./index-uIV4CiDG.mjs";
1
+ import { J as e, aw as t, ax as o, az as i, V as l, aC as r, ay as n, aA as I, aB as y } from "./index-BNrMlQLr.mjs";
2
2
  export {
3
3
  e as INDUSTRY_CONFIGS,
4
4
  t as IndustryViewer,
@@ -6,7 +6,7 @@ export {
6
6
  i as InitializeConfigs,
7
7
  l as ViewerManager,
8
8
  r as setAllToolClose,
9
- I as setConfigs,
10
- n as setToolStatusById,
9
+ n as setConfigs,
10
+ I as setToolStatusById,
11
11
  y as setToolStatusBykey
12
12
  };