@xtctwins/tctwins-bimx-engine 0.1.15 → 0.1.17

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 (35) hide show
  1. package/dist/{AnnotationTool-w1znQ9c0.mjs → AnnotationTool-LBk_zlbT.mjs} +42 -42
  2. package/dist/BIMX_Viewer_Lib.es.js +9 -6
  3. package/dist/BIMX_Viewer_Lib.umd.js +96 -96
  4. package/dist/{CommentTool-DTTmhwOG.mjs → CommentTool-CYAdfH-Z.mjs} +12 -12
  5. package/dist/{HiddenTool-BmKn1dH1.mjs → HiddenTool-CzSvLkSE.mjs} +10 -10
  6. package/dist/InspectorTool-B9LkJGw9.mjs +467 -0
  7. package/dist/MeasureTool-DO506ZES.mjs +1555 -0
  8. package/dist/{NavigateTool-Ci4d-lOz.mjs → NavigateTool-Dg9wW_DO.mjs} +1 -1
  9. package/dist/{RoamTool-BcM4lkFj.mjs → RoamTool-DnYvCb5C.mjs} +6 -6
  10. package/dist/ScreenShotTool-CIaHcPfg.mjs +366 -0
  11. package/dist/SectionTool-BItYZLga.mjs +630 -0
  12. package/dist/SettingTool-BrwvtIf3.mjs +555 -0
  13. package/dist/{StructureTree-CNvvzLdD.mjs → StructureTree-ZqUEU0NH.mjs} +639 -642
  14. package/dist/{debounce-DoIgJPqA.mjs → debounce-9O5797WW.mjs} +1 -1
  15. package/dist/{el-checkbox-CfYBnAPi.mjs → el-checkbox-vqvrZh0l.mjs} +3 -3
  16. package/dist/{el-input-Dcmi-IP_.mjs → el-input-D_XVZQZR.mjs} +1 -1
  17. package/dist/{el-input-number-DKX1TW68.mjs → el-input-number-D8B4ujnE.mjs} +4 -4
  18. package/dist/{index-BH7B5Xaz.mjs → index-BCf_dMO3.mjs} +1 -1
  19. package/dist/{index-DuvoBTOs.mjs → index-Ca52zSYT.mjs} +7062 -7029
  20. package/dist/{isEqual-BjHgN6ug.mjs → isEqual-CtB7HmIJ.mjs} +1 -1
  21. package/dist/panel.vue_vue_type_style_index_0_scope_true_lang-Bj8xwuFm.mjs +90 -0
  22. package/dist/style.css +1 -1
  23. package/package.json +1 -1
  24. package/types/components/utilsComponents/panel.vue.d.ts +41 -0
  25. package/types/index.d.ts +25 -8
  26. package/types/initial/viewerInitial.d.ts +7 -0
  27. package/types/pages/BIMXViewer.vue.d.ts +4 -0
  28. package/types/store/initConfigs.d.ts +8 -2
  29. package/types/store/toolbars.d.ts +164 -14
  30. package/dist/InspectorTool-DQVMdARJ.mjs +0 -471
  31. package/dist/MeasureTool-w4RrnCPn.mjs +0 -1556
  32. package/dist/ScreenShotTool-TYsxUCiF.mjs +0 -367
  33. package/dist/SectionTool-DhqfEaAJ.mjs +0 -629
  34. package/dist/SettingTool-DAD-G_XU.mjs +0 -544
  35. package/dist/closeButton.vue_vue_type_style_index_0_scope_true_lang-BxvdbhQ0.mjs +0 -41
@@ -1,16 +1,16 @@
1
- import { p as M, q as m, s as x, O as e, v as E, x as N } from "./index-DuvoBTOs.mjs";
2
- import { defineComponent as W, ref as b, onMounted as X, watch as L, openBlock as a, createElementBlock as s, unref as c, createElementVNode as t, Fragment as g, renderList as w, normalizeClass as T, createCommentVNode as O, createVNode as q, withCtx as D, toDisplayString as H, pushScopeId as R, popScopeId as z } from "vue";
1
+ import { p as M, q as d, s as x, O as t, v as E, x as N } from "./index-Ca52zSYT.mjs";
2
+ import { defineComponent as W, ref as g, onMounted as X, watch as L, openBlock as a, createElementBlock as s, unref as c, createElementVNode as e, Fragment as b, renderList as w, normalizeClass as T, createCommentVNode as O, createVNode as q, withCtx as D, toDisplayString as H, pushScopeId as R, popScopeId as z } from "vue";
3
3
  import { A as f } from "./const-CbUmfuHy.mjs";
4
- const A = (l) => (R("data-v-4bd9a5d3"), l = l(), z(), l), F = { class: "annotation_component" }, U = {
4
+ const A = (l) => (R("data-v-0fee3248"), l = l(), z(), l), F = { class: "annotation_component" }, U = {
5
5
  key: 0,
6
6
  id: "annotation_toolbar",
7
7
  class: "annotation_toolbar"
8
- }, j = { class: "annotation_toolbar_wrapper" }, G = { class: "annotation_toolbar_group" }, J = ["id", "onClick"], K = ["src"], P = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "toolbar_trangle" }, null, -1)), Q = {
8
+ }, j = { class: "annotation_toolbar_wrapper" }, G = { class: "annotation_toolbar_group" }, J = ["id", "onClick"], K = ["src"], P = /* @__PURE__ */ A(() => /* @__PURE__ */ e("div", { class: "toolbar_trangle" }, null, -1)), Q = {
9
9
  key: 1,
10
10
  class: "mobile_annotation_toolbar"
11
- }, Y = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "label-title-box" }, [
12
- /* @__PURE__ */ t("div", { class: "label-title" }, "标注")
13
- ], -1)), Z = { class: "label-list" }, nn = ["onClick"], on = { class: "item-img" }, tn = ["src"], en = ["src"], an = { class: "item-name" }, sn = /* @__PURE__ */ W({
11
+ }, Y = /* @__PURE__ */ A(() => /* @__PURE__ */ e("div", { class: "label-title-box" }, [
12
+ /* @__PURE__ */ e("div", { class: "label-title" }, "标注")
13
+ ], -1)), Z = { class: "label-list" }, nn = ["onClick"], on = { class: "item-img" }, en = ["src"], tn = ["src"], an = { class: "item-name" }, sn = /* @__PURE__ */ W({
14
14
  __name: "AnnotationTool",
15
15
  props: ["componentInfo"],
16
16
  emits: ["uploadImage", "clickAnnotation", "emitHandler"],
@@ -19,20 +19,20 @@ const A = (l) => (R("data-v-4bd9a5d3"), l = l(), z(), l), F = { class: "annotati
19
19
  B("emitHandler", n);
20
20
  };
21
21
  let u;
22
- const i = b("");
22
+ const i = g("");
23
23
  let _;
24
- const V = b(), p = l;
24
+ const V = g(), v = l;
25
25
  X(() => {
26
- V.value = m("annoLimit"), I.setReadyById(p.componentInfo.id);
27
- }), L(p, (n) => {
28
- n.componentInfo.isOpen ? window.BimViewer.SetAnnotationToolActive(!0) : window.BimViewer.SetAnnotationToolActive(!1);
26
+ V.value = d("annoLimit"), I.setReadyById(v.componentInfo.id);
27
+ }), L(v, (n) => {
28
+ n.componentInfo.isActive ? window.BimViewer.SetAnnotationToolActive(!0) : window.BimViewer.SetAnnotationToolActive(!1);
29
29
  });
30
30
  let k = {
31
- image: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
32
- file: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
33
- record: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
34
- text: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
35
- video: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
31
+ image: `${t}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
32
+ file: `${t}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
33
+ record: `${t}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
34
+ text: `${t}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
35
+ video: `${t}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
36
36
  };
37
37
  x.on("BimViewer", () => {
38
38
  u = window.BimViewer.annotationTool, u.setTypeImage(k), _ = window.BimViewer.eventTrigger, _.on("createAnnotation", (n) => {
@@ -53,7 +53,7 @@ const A = (l) => (R("data-v-4bd9a5d3"), l = l(), z(), l), F = { class: "annotati
53
53
  targetAnno: n
54
54
  }
55
55
  });
56
- }), m("isMobile") || _.on("requestDeleteMarker", (n) => {
56
+ }), d("isMobile") || _.on("requestDeleteMarker", (n) => {
57
57
  r({
58
58
  isTool: !0,
59
59
  event_target: "AnnotationTool",
@@ -65,7 +65,7 @@ const A = (l) => (R("data-v-4bd9a5d3"), l = l(), z(), l), F = { class: "annotati
65
65
  });
66
66
  });
67
67
  });
68
- const v = (n) => {
68
+ const p = (n) => {
69
69
  i.value === n.code ? i.value = "" : (S(n), i.value = n.code);
70
70
  }, C = (n) => {
71
71
  window.BimViewer.annotationTool.setEnabled(n);
@@ -83,46 +83,46 @@ const A = (l) => (R("data-v-4bd9a5d3"), l = l(), z(), l), F = { class: "annotati
83
83
  return (n, cn) => {
84
84
  const y = E;
85
85
  return a(), s("div", F, [
86
- c(m)("isMobile") ? (a(), s("div", Q, [
86
+ c(d)("isMobile") ? (a(), s("div", Q, [
87
87
  Y,
88
88
  q(y, null, {
89
89
  default: D(() => [
90
- t("div", Z, [
91
- (a(!0), s(g, null, w(c(f), (o, d) => (a(), s("div", {
92
- key: d,
90
+ e("div", Z, [
91
+ (a(!0), s(b, null, w(c(f), (o, m) => (a(), s("div", {
92
+ key: m,
93
93
  class: T(["label-item", { "label-item-active": i.value === o.code }]),
94
- onClick: ($) => v(o)
94
+ onClick: ($) => p(o)
95
95
  }, [
96
- t("div", on, [
97
- t("img", {
96
+ e("div", on, [
97
+ e("img", {
98
98
  class: "label-item-img",
99
- src: c(e) + `/bim-viewer/label-bar/${i.value === o.code ? o.imgActive : o.img}.svg`,
99
+ src: c(t) + `/bim-viewer/label-bar/${i.value === o.code ? o.imgActive : o.img}.svg`,
100
100
  alt: ""
101
- }, null, 8, tn),
102
- t("img", {
101
+ }, null, 8, en),
102
+ e("img", {
103
103
  class: "label-item-icon",
104
- src: c(e) + "/member-images/open-member-icon.png",
104
+ src: c(t) + "/member-images/open-member-icon.png",
105
105
  alt: ""
106
- }, null, 8, en)
106
+ }, null, 8, tn)
107
107
  ]),
108
- t("div", an, H(o.name), 1)
108
+ e("div", an, H(o.name), 1)
109
109
  ], 10, nn))), 128))
110
110
  ])
111
111
  ]),
112
112
  _: 1
113
113
  })
114
114
  ])) : (a(), s("div", U, [
115
- t("div", j, [
116
- t("div", G, [
117
- (a(!0), s(g, null, w(c(f), (o, d) => (a(), s("button", {
118
- id: `annotation_tool_btn_${d}`,
119
- key: d,
115
+ e("div", j, [
116
+ e("div", G, [
117
+ (a(!0), s(b, null, w(c(f), (o, m) => (a(), s("button", {
118
+ id: `annotation_tool_btn_${m}`,
119
+ key: m,
120
120
  class: T(["annotation_tool_btn", { active: i.value === o.code }]),
121
- onClick: ($) => v(o)
121
+ onClick: ($) => p(o)
122
122
  }, [
123
123
  O("", !0),
124
- t("img", {
125
- src: `${c(e)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${i.value !== o.code ? o.img : o.img_active}.png`
124
+ e("img", {
125
+ src: `${c(t)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${i.value !== o.code ? o.img : o.img_active}.png`
126
126
  }, null, 8, K)
127
127
  ], 10, J))), 128))
128
128
  ])
@@ -132,7 +132,7 @@ const A = (l) => (R("data-v-4bd9a5d3"), l = l(), z(), l), F = { class: "annotati
132
132
  ]);
133
133
  };
134
134
  }
135
- }), dn = /* @__PURE__ */ N(sn, [["__scopeId", "data-v-4bd9a5d3"]]);
135
+ }), mn = /* @__PURE__ */ N(sn, [["__scopeId", "data-v-0fee3248"]]);
136
136
  export {
137
- dn as default
137
+ mn as default
138
138
  };
@@ -1,8 +1,11 @@
1
- import { am as s, y as e, an as n, ap as o, ao as I } from "./index-DuvoBTOs.mjs";
1
+ import { am as e, y as o, an as t, ap as i, as as l, ao as I, aq as n, ar as r } from "./index-Ca52zSYT.mjs";
2
2
  export {
3
- s as BIMXViewer,
4
- e as BIMX_CONFIGS,
5
- n as InitialViewer,
6
- o as InitializeConfigs,
7
- I as setConfigs
3
+ e as BIMXViewer,
4
+ o as BIMX_CONFIGS,
5
+ t as InitialViewer,
6
+ i as InitializeConfigs,
7
+ l as setAllToolClose,
8
+ I as setConfigs,
9
+ n as setToolStatusById,
10
+ r as setToolStatusBykey
8
11
  };