@xtctwins/tctwins-bimx-engine 0.1.2 → 0.1.3

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 (30) hide show
  1. package/dist/{AnnotationTool-DY1Jefeo.mjs → AnnotationTool-CrVP87Hj.mjs} +17 -17
  2. package/dist/BIMX_Viewer_Lib.es.js +1 -1
  3. package/dist/BIMX_Viewer_Lib.umd.js +6 -6
  4. package/dist/{CommentTool-BhOA12Y2.mjs → CommentTool-D8hdwMfT.mjs} +69 -62
  5. package/dist/{InspectorTool-Du09Um7k.mjs → InspectorTool-B9N2O6Se.mjs} +25 -25
  6. package/dist/{MeasureTool-Bmbi38ql.mjs → MeasureTool-Bmlk2oql.mjs} +9 -9
  7. package/dist/RoamTool-DsLFO1Qo.mjs +51 -0
  8. package/dist/{ScreenShotTool-BKvQhp-1.mjs → ScreenShotTool-BdXQN7VE.mjs} +28 -28
  9. package/dist/{SectionTool-E7Kc2DFN.mjs → SectionTool-CSf4IM48.mjs} +41 -41
  10. package/dist/{SettingTool-oyl3Q-Np.mjs → SettingTool-hvigCZhu.mjs} +188 -188
  11. package/dist/StructureTree-BUK65Zzi.mjs +1436 -0
  12. package/dist/{closeButton.vue_vue_type_style_index_0_scope_true_lang-B0ar6DNT.mjs → closeButton.vue_vue_type_style_index_0_scope_true_lang-Dn5dVAqo.mjs} +1 -1
  13. package/dist/{const-DeElEsyo.mjs → const-ltCOHQOo.mjs} +1 -1
  14. package/dist/{debounce-B3KUSgKy.mjs → debounce-CpK9UzFm.mjs} +19 -19
  15. package/dist/{el-checkbox-C1UQzdVM.mjs → el-checkbox-CGpNeQGB.mjs} +69 -69
  16. package/dist/{el-input-DwbEsUpT.mjs → el-input-CD9dNBkV.mjs} +28 -28
  17. package/dist/{icon-DhZKjTE6.mjs → icon-BibWJDrS.mjs} +1 -1
  18. package/dist/{index-DWDrEKxK.mjs → index-BMUp9_VH.mjs} +79 -71
  19. package/dist/{index-DCLL-Nj8.mjs → index-DMvLf9AH.mjs} +10 -10
  20. package/dist/{index-k88a52ST.mjs → index-mkawH2W4.mjs} +35 -35
  21. package/dist/style.css +1 -1
  22. package/dist/{use-form-item-BCh48aXD.mjs → use-form-item-GMczO9Z_.mjs} +6 -6
  23. package/package.json +2 -3
  24. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +2 -2
  25. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +6 -2
  26. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +2 -0
  27. package/types/index.d.ts +2 -0
  28. package/types/utils/eventBus.d.ts +4 -0
  29. package/dist/RoamTool-CoWm8c7w.mjs +0 -43
  30. package/dist/StructureTree-DJ3gACNS.mjs +0 -1415
@@ -1,17 +1,17 @@
1
- import { defineComponent as I, ref as _, onMounted as V, openBlock as l, createElementBlock as r, createElementVNode as t, Fragment as $, renderList as A, unref as m, normalizeClass as M, pushScopeId as C, popScopeId as k } from "vue";
2
- import { Q as v, k as W, O as o, l as X } from "./index-DWDrEKxK.mjs";
3
- const x = (i) => (C("data-v-a58ffa7e"), i = i(), k(), i), E = { class: "annotation_component" }, S = {
1
+ import { defineComponent as I, ref as _, onMounted as V, openBlock as l, createElementBlock as r, createElementVNode as t, Fragment as $, renderList as A, unref as m, normalizeClass as M, pushScopeId as C, popScopeId as W } from "vue";
2
+ import { R as v, l as X, O as o, n as k } from "./index-BMUp9_VH.mjs";
3
+ const x = (i) => (C("data-v-55a12d21"), i = i(), W(), i), E = { class: "annotation_component" }, S = {
4
4
  class: "annotation_toolbar",
5
5
  id: "annotation_toolbar"
6
- }, L = { class: "annotation_toolbar_wrapper" }, H = { class: "annotation_toolbar_group" }, O = ["onClick", "id"], z = { class: "annotation_tool_btn_memeber" }, F = ["src"], N = ["src"], Q = /* @__PURE__ */ x(() => /* @__PURE__ */ t("div", { class: "tollbar_trangle" }, null, -1)), R = /* @__PURE__ */ I({
6
+ }, L = { class: "annotation_toolbar_wrapper" }, H = { class: "annotation_toolbar_group" }, O = ["onClick", "id"], R = { class: "annotation_tool_btn_memeber" }, z = ["src"], F = ["src"], N = /* @__PURE__ */ x(() => /* @__PURE__ */ t("div", { class: "tollbar_trangle" }, null, -1)), U = /* @__PURE__ */ I({
7
7
  __name: "AnnotationTool",
8
8
  emits: ["uploadImage", "clickAnnotation", "emitHandler"],
9
9
  setup(i, { emit: g }) {
10
- const f = g, w = (n) => {
11
- f("emitHandler", n);
10
+ const w = g, b = (n) => {
11
+ w("emitHandler", n);
12
12
  };
13
13
  let c;
14
- const b = _(), e = _("");
14
+ const f = _(), e = _("");
15
15
  let d;
16
16
  const s = _();
17
17
  V(() => {
@@ -24,7 +24,7 @@ const x = (i) => (C("data-v-a58ffa7e"), i = i(), k(), i), E = { class: "annotati
24
24
  text: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
25
25
  video: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
26
26
  };
27
- W.on("BimViewer", () => {
27
+ X.on("BimViewer", () => {
28
28
  c = window.BimViewer.annotationTool, d = window.BimViewer.eventTrigger, d.on("createAnnotation", (n) => {
29
29
  console.log("newAnno", n), console.log(c.currentAnnotation);
30
30
  }), c.setTypeImage(T);
@@ -34,38 +34,38 @@ const x = (i) => (C("data-v-a58ffa7e"), i = i(), k(), i), E = { class: "annotati
34
34
  }, u = (n) => {
35
35
  window.BimViewer.annotationTool.setEnabled(n);
36
36
  }, h = (n) => {
37
- s.value && (s.value[n] ? (u(!0), window.BimViewer.annotationTool.setCurrentType(n)) : (b.value.openMask(), u(!1))), w({
37
+ s.value && (s.value[n] ? (u(!0), window.BimViewer.annotationTool.setCurrentType(n)) : (f.value.openMask(), u(!1))), b({
38
38
  event_name: "clickAnnoTool",
39
39
  content: {
40
40
  tool_type: n
41
41
  }
42
42
  });
43
43
  };
44
- return (n, U) => (l(), r("div", E, [
44
+ return (n, j) => (l(), r("div", E, [
45
45
  t("div", S, [
46
46
  t("div", L, [
47
47
  t("div", H, [
48
48
  (l(!0), r($, null, A(m(v)(), (p, a) => (l(), r("button", {
49
- onClick: (j) => B(a),
49
+ onClick: (q) => B(a),
50
50
  class: M(["annotation_tool_btn", { active: e.value === a }]),
51
51
  id: `annotation_tool_btn_${a}`
52
52
  }, [
53
- t("div", z, [
53
+ t("div", R, [
54
54
  t("img", {
55
55
  src: m(o) + "/member-images/open-member-icon.png"
56
- }, null, 8, F)
56
+ }, null, 8, z)
57
57
  ]),
58
58
  t("img", {
59
59
  src: `${m(o)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${e.value !== a ? p.img : p.img_active}.png`
60
- }, null, 8, N)
60
+ }, null, 8, F)
61
61
  ], 10, O))), 256))
62
62
  ])
63
63
  ]),
64
- Q
64
+ N
65
65
  ])
66
66
  ]));
67
67
  }
68
- }), D = /* @__PURE__ */ X(R, [["__scopeId", "data-v-a58ffa7e"]]);
68
+ }), G = /* @__PURE__ */ k(U, [["__scopeId", "data-v-55a12d21"]]);
69
69
  export {
70
- D as default
70
+ G as default
71
71
  };
@@ -1,4 +1,4 @@
1
- import { ag as e, ah as r, ai as s } from "./index-DWDrEKxK.mjs";
1
+ import { ah as e, ai as r, aj as s } from "./index-BMUp9_VH.mjs";
2
2
  export {
3
3
  e as BIMXViewer,
4
4
  r as InitialViewer,