@xtctwins/tctwins-industry-engine 0.0.4 → 0.0.6

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 (28) hide show
  1. package/README.md +1 -3
  2. package/dist/{AnnotationTool-VcG-lpNN.mjs → AnnotationTool-CI2uKvcT.mjs} +48 -46
  3. package/dist/{BCFTool-6gl-CCXW.mjs → BCFTool-DMTJWHGp.mjs} +2 -2
  4. package/dist/{CommentTool-Dq5PMm_D.mjs → CommentTool-BRhMRcYU.mjs} +2 -2
  5. package/dist/Industry_Viewer_Lib.es.js +1 -1
  6. package/dist/Industry_Viewer_Lib.umd.js +99 -99
  7. package/dist/{InspectorTool-DMCdY47K.mjs → InspectorTool-M14bTfJy.mjs} +3 -3
  8. package/dist/MeasureTool-fpe5lUfA.mjs +167 -0
  9. package/dist/MouseTool-DD_r7w8g.mjs +82 -0
  10. package/dist/{NavigateTool-Cufbcq2R.mjs → NavigateTool-h6mbQBx1.mjs} +1 -1
  11. package/dist/{RoamTool-BJcPhzOY.mjs → RoamTool-BW-qnHb2.mjs} +2 -2
  12. package/dist/{ScreenShotTool-CoE5ZwiA.mjs → ScreenShotTool-C1u0hG7E.mjs} +2 -2
  13. package/dist/{SectionTool-YU9kYpSp.mjs → SectionTool-B5Wtjqxa.mjs} +4 -4
  14. package/dist/{SettingTool-B2ua8aJb.mjs → SettingTool-CuFUj90w.mjs} +4 -4
  15. package/dist/{StructureTree-Dck2nIir.mjs → StructureTree-xbI_WYLM.mjs} +4 -4
  16. package/dist/{XRayTool-ByKuu3mR.mjs → XRayTool-C0m0cNvJ.mjs} +2 -2
  17. package/dist/{alert-rfb9gyD0.mjs → alert-BVfdQL8W.mjs} +1 -1
  18. package/dist/{el-checkbox-CsIQ7HoT.mjs → el-checkbox-D7fM1J1k.mjs} +1 -1
  19. package/dist/{el-input-number-DFjuBJMK.mjs → el-input-number-BPhVD6dp.mjs} +1 -1
  20. package/dist/{index-CTQx6-DM.mjs → index-CQhsx45j.mjs} +8403 -8397
  21. package/dist/{panel.vue_vue_type_style_index_0_lang-DsoizPRd.mjs → panel.vue_vue_type_style_index_0_lang-BoKU9_z2.mjs} +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/{tallPanel-CH1SXZe6.mjs → tallPanel-DOV7VQ7X.mjs} +1 -1
  24. package/package.json +1 -1
  25. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  26. package/types/store/toolbars.d.ts +58 -0
  27. package/dist/MeasureTool-Bvm7V488.mjs +0 -168
  28. package/dist/MouseTool-C3YuKwCF.mjs +0 -82
package/README.md CHANGED
@@ -1,5 +1,3 @@
1
1
  ## @xtctwins/tctwins-industry-engine
2
2
 
3
- ### mode: dev
4
-
5
- ### 调整构件鼠标交互
3
+ ### mode: uat
@@ -1,36 +1,36 @@
1
- import { _ as L } from "./alert-rfb9gyD0.mjs";
2
- import { defineComponent as E, ref as m, watch as N, onMounted as W, onBeforeUnmount as X, openBlock as _, createElementBlock as u, createElementVNode as r, Fragment as D, renderList as O, unref as b, normalizeClass as q, toDisplayString as H, withDirectives as z, createVNode as R, vShow as U } from "vue";
3
- import { p as F, q as I, t as l, O as o, z as j } from "./index-CTQx6-DM.mjs";
1
+ import { _ as E } from "./alert-BVfdQL8W.mjs";
2
+ import { defineComponent as N, ref as m, watch as W, onMounted as X, onBeforeUnmount as D, openBlock as _, createElementBlock as u, Fragment as b, createElementVNode as s, renderList as O, unref as I, normalizeClass as q, toDisplayString as H, withDirectives as z, createVNode as R, vShow as U } from "vue";
3
+ import { p as F, q as h, t as l, O as o, z as j } from "./index-CQhsx45j.mjs";
4
4
  import { A as i } from "./const-DeViLYl5.mjs";
5
- const G = { class: "annotation_component" }, J = { class: "anno_toolList" }, K = ["onClick"], P = { class: "item-img" }, Q = ["src"], Y = { class: "item-name" }, Z = /* @__PURE__ */ E({
5
+ const G = { class: "annotation_component" }, J = { class: "anno_toolList" }, K = ["onClick"], P = { class: "item-img" }, Q = ["src"], Y = { class: "item-name" }, Z = /* @__PURE__ */ N({
6
6
  __name: "AnnotationTool",
7
7
  props: ["componentId"],
8
8
  emits: ["uploadImage", "clickAnnotation", "emitHandler"],
9
- setup(h, { emit: V }) {
10
- const d = F(), k = V, s = (e) => {
11
- k("emitHandler", e);
9
+ setup(V, { emit: k }) {
10
+ const d = F(), B = k, c = (e) => {
11
+ B("emitHandler", e);
12
12
  };
13
13
  let v;
14
14
  const f = m(!0), n = m("");
15
- let c;
16
- const B = m(), g = h;
17
- N(
15
+ let r;
16
+ const S = m(), g = V;
17
+ W(
18
18
  () => d.isToolActive(g.componentId),
19
19
  (e) => {
20
20
  e || (n.value = "");
21
21
  }
22
- ), W(() => {
23
- B.value = I("annoLimit"), d.setReadyById(g.componentId);
22
+ ), X(() => {
23
+ S.value = h("annoLimit"), d.setReadyById(g.componentId);
24
24
  });
25
- const S = {
25
+ const C = {
26
26
  image: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
27
27
  file: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
28
28
  record: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
29
29
  text: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
30
30
  video: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
31
31
  }, p = () => {
32
- v = window.bimViewer.annotationTool, v.setTypeImage(S), c = window.bimViewer.eventTrigger, c.on("createAnnotation", (e) => {
33
- s({
32
+ v = window.bimViewer.annotationTool, v.setTypeImage(C), r = window.bimViewer.eventTrigger, r.on("createAnnotation", (e) => {
33
+ c({
34
34
  isTool: !0,
35
35
  event_target: "AnnotationTool",
36
36
  event_name: "createAnnotation",
@@ -38,8 +38,8 @@ const G = { class: "annotation_component" }, J = { class: "anno_toolList" }, K =
38
38
  currentAnnotation: e
39
39
  }
40
40
  });
41
- }), c.on("markerClicked", (e) => {
42
- s({
41
+ }), r.on("markerClicked", (e) => {
42
+ c({
43
43
  isTool: !0,
44
44
  event_target: "AnnotationTool",
45
45
  event_name: "clickAnnotation",
@@ -47,8 +47,8 @@ const G = { class: "annotation_component" }, J = { class: "anno_toolList" }, K =
47
47
  targetAnno: e
48
48
  }
49
49
  });
50
- }), I("isMobile") || c.on("requestDeleteMarker", (e) => {
51
- s({
50
+ }), h("isMobile") || r.on("requestDeleteMarker", (e) => {
51
+ c({
52
52
  isTool: !0,
53
53
  event_target: "AnnotationTool",
54
54
  event_name: "requestDelAnno",
@@ -61,12 +61,12 @@ const G = { class: "annotation_component" }, J = { class: "anno_toolList" }, K =
61
61
  };
62
62
  l.on("BimViewer", p);
63
63
  const T = (e) => {
64
- w(C(e.type));
64
+ w(y(e.type));
65
65
  };
66
- l.on("setAnnoStatus", T), X(() => {
66
+ l.on("setAnnoStatus", T), D(() => {
67
67
  l.off("BimViewer", p), l.off("setAnnoStatus", T);
68
68
  });
69
- const C = (e) => {
69
+ const y = (e) => {
70
70
  if (e === "image")
71
71
  return i[0];
72
72
  if (e === "record")
@@ -79,12 +79,12 @@ const G = { class: "annotation_component" }, J = { class: "anno_toolList" }, K =
79
79
  return i[4];
80
80
  }, w = (e) => {
81
81
  n.value === e.code ? (n.value = "", A(e, !1)) : (n.value = e.code, A(e, !0));
82
- }, y = (e) => {
82
+ }, M = (e) => {
83
83
  window.bimViewer.annotationTool.setEnabled(e);
84
84
  }, A = (e, a) => {
85
- y(a), M(e.code, a);
86
- }, M = (e, a) => {
87
- window.bimViewer.annotationTool.setCurrentType(e), s({
85
+ M(a), $(e.code, a);
86
+ }, $ = (e, a) => {
87
+ window.bimViewer.annotationTool.setCurrentType(e), c({
88
88
  isTool: !0,
89
89
  event_target: "AnnotationTool",
90
90
  event_name: "clickAnnoTool",
@@ -95,35 +95,37 @@ const G = { class: "annotation_component" }, J = { class: "anno_toolList" }, K =
95
95
  });
96
96
  };
97
97
  return (e, a) => {
98
- const $ = L;
99
- return _(), u("div", G, [
100
- r("div", J, [
101
- (_(!0), u(D, null, O(b(i), (t, x) => (_(), u("div", {
102
- key: x,
103
- class: q(["label-item", { "label-item-active": n.value === t.code }]),
104
- onClick: (ee) => w(t)
105
- }, [
106
- r("div", P, [
107
- r("img", {
108
- class: "label-item-img",
109
- src: b(o) + `/industry-viewer/annotation-bar/${n.value === t.code ? t.imgActive : t.img}.svg`,
110
- alt: ""
111
- }, null, 8, Q),
112
- r("div", Y, H(t.name), 1)
113
- ])
114
- ], 10, K))), 128))
98
+ const x = E;
99
+ return _(), u(b, null, [
100
+ s("div", G, [
101
+ s("div", J, [
102
+ (_(!0), u(b, null, O(I(i), (t, L) => (_(), u("div", {
103
+ key: L,
104
+ class: q(["label-item", { "label-item-active": n.value === t.code }]),
105
+ onClick: (ee) => w(t)
106
+ }, [
107
+ s("div", P, [
108
+ s("img", {
109
+ class: "label-item-img",
110
+ src: I(o) + `/industry-viewer/annotation-bar/${n.value === t.code ? t.imgActive : t.img}.svg`,
111
+ alt: ""
112
+ }, null, 8, Q),
113
+ s("div", Y, H(t.name), 1)
114
+ ])
115
+ ], 10, K))), 128))
116
+ ])
115
117
  ]),
116
- z(R($, {
118
+ z(R(x, {
117
119
  "click-handle": () => {
118
120
  f.value = !1;
119
121
  }
120
122
  }, null, 8, ["click-handle"]), [
121
123
  [U, f.value]
122
124
  ])
123
- ]);
125
+ ], 64);
124
126
  };
125
127
  }
126
- }), ae = /* @__PURE__ */ j(Z, [["__scopeId", "data-v-18ffde8f"]]);
128
+ }), ae = /* @__PURE__ */ j(Z, [["__scopeId", "data-v-6962f253"]]);
127
129
  export {
128
130
  ae as default
129
131
  };
@@ -1,7 +1,7 @@
1
- import { p as kr, T as $e, q as er, O as te, y as Je, z as Pe, x as rr, a6 as Re, v as gr, a7 as hr, a8 as Rr, a9 as yr, aa as Ve, ab as br, ac as jr, ad as Ir, t as Ie, ae as Nr, af as Pr, ag as Sr, ah as Cr, ai as Br, aj as Tr, ak as xr, al as Mr, am as Er, an as Ar, ao as Zt, ap as Dr } from "./index-CTQx6-DM.mjs";
1
+ import { p as kr, T as $e, q as er, O as te, y as Je, z as Pe, x as rr, a6 as Re, v as gr, a7 as hr, a8 as Rr, a9 as yr, aa as Ve, ab as br, ac as jr, ad as Ir, t as Ie, ae as Nr, af as Pr, ag as Sr, ah as Cr, ai as Br, aj as Tr, ak as xr, al as Mr, am as Er, an as Ar, ao as Zt, ap as Dr } from "./index-CQhsx45j.mjs";
2
2
  import { defineComponent as Be, watch as We, ref as ht, onMounted as Qe, openBlock as wt, createElementBlock as jt, normalizeStyle as Ge, createElementVNode as J, withDirectives as nr, toDisplayString as re, unref as Nt, createVNode as Gt, vShow as ir, renderSlot as Fr, createCommentVNode as Ce, withCtx as xe, Fragment as Me, renderList as Ee, normalizeClass as Ue, createBlock as ye, onBeforeUnmount as vr, createTextVNode as mr, createStaticVNode as Lr } from "vue";
3
3
  /* empty css */
4
- import { E as zr, a as $r } from "./el-checkbox-CsIQ7HoT.mjs";
4
+ import { E as zr, a as $r } from "./el-checkbox-D7fM1J1k.mjs";
5
5
  import { ElMessage as Ur } from "element-plus";
6
6
  const Vr = { class: "tall_panel_content" }, Hr = { class: "panel_top" }, qr = { class: "panel_header_left" }, Wr = ["src"], Xr = { class: "panel_close" }, Zr = { class: "panel_content" }, Yr = {
7
7
  key: 0,
@@ -1,4 +1,4 @@
1
- import { p as $, t as k, q as I, O as g, x as D, v as q, z as F } from "./index-CTQx6-DM.mjs";
1
+ import { p as $, t as k, q as I, O as g, x as D, v as q, z as F } from "./index-CQhsx45j.mjs";
2
2
  import { defineComponent as H, onMounted as W, ref as s, onBeforeUnmount as j, watch as G, openBlock as r, createElementBlock as d, createElementVNode as e, createVNode as S, withCtx as J, Fragment as K, renderList as Q, unref as f, normalizeClass as X, toDisplayString as Y, createCommentVNode as B } from "vue";
3
3
  import { C as V } from "./const-DeViLYl5.mjs";
4
4
  const Z = { class: "comment_component" }, ee = { class: "mobile_comments_toolbar" }, te = { class: "comment_toolbar" }, oe = { class: "comment-list" }, se = ["onClick"], ne = { class: "comment-icon" }, le = ["src"], ae = { class: "comment-name" }, ie = { class: "comment-icon" }, ce = ["src"], me = {
@@ -161,7 +161,7 @@ const Z = { class: "comment_component" }, ee = { class: "mobile_comments_toolbar
161
161
  ]);
162
162
  };
163
163
  }
164
- }), be = /* @__PURE__ */ F(fe, [["__scopeId", "data-v-32d624e2"]]);
164
+ }), be = /* @__PURE__ */ F(fe, [["__scopeId", "data-v-be873471"]]);
165
165
  export {
166
166
  be as default
167
167
  };
@@ -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-CTQx6-DM.mjs";
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-CQhsx45j.mjs";
2
2
  export {
3
3
  e as INDUSTRY_CONFIGS,
4
4
  t as IndustryViewer,