@xtctwins/tctwins-bimx-engine 0.1.31 → 0.1.32

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 (31) hide show
  1. package/dist/{AnnotationTool-jGajgXNq.mjs → AnnotationTool-CfMit8eM.mjs} +58 -58
  2. package/dist/BIMX_Viewer_Lib.es.js +3 -3
  3. package/dist/BIMX_Viewer_Lib.umd.js +76 -76
  4. package/dist/{CommentTool-DsAlcuHl.mjs → CommentTool-BJYJeffo.mjs} +2 -2
  5. package/dist/{HiddenTool-BNxMpI7o.mjs → HiddenTool-BgbTVLhk.mjs} +5 -5
  6. package/dist/{InspectorTool-BKnVjOAu.mjs → InspectorTool-Dgus7mgF.mjs} +7 -6
  7. package/dist/{MeasureTool-ZYmlWp8m.mjs → MeasureTool-BKjP7zrG.mjs} +6 -6
  8. package/dist/{NavigateTool-BfyeIfXq.mjs → NavigateTool-DjdYFnJq.mjs} +1 -1
  9. package/dist/{RoamTool-NNCUKTEn.mjs → RoamTool-DY8KyZ8L.mjs} +20 -20
  10. package/dist/{ScreenShotTool-jIZymeSL.mjs → ScreenShotTool-4_dRLxGx.mjs} +34 -34
  11. package/dist/SectionTool-CObrUitM.mjs +340 -0
  12. package/dist/{SettingTool-Dbe9jFh4.mjs → SettingTool-Cg4RN1U0.mjs} +46 -46
  13. package/dist/{StructureTree-Di00YFmN.mjs → StructureTree-CKph8cdh.mjs} +286 -282
  14. package/dist/{alert-Dg_uUvKd.mjs → alert-WwAkBaRF.mjs} +2 -2
  15. package/dist/{closeButton-DD5OvRul.mjs → closeButton-C--nnYmX.mjs} +1 -1
  16. package/dist/{debounce-DLxH9q8J.mjs → debounce-CXxNtwtj.mjs} +20 -20
  17. package/dist/{el-checkbox-VmHzNip_.mjs → el-checkbox-Ces1rpT9.mjs} +55 -55
  18. package/dist/{el-input-BZ52J7Uq.mjs → el-input-C7snoyFg.mjs} +59 -59
  19. package/dist/{el-input-number-Bp8w-G8y.mjs → el-input-number-DbwjDcQE.mjs} +106 -106
  20. package/dist/{index-56Bi3F2K.mjs → index-BVUSmk0x.mjs} +1 -1
  21. package/dist/{index-DPMZSNN1.mjs → index-DDv9J2JJ.mjs} +3 -3
  22. package/dist/{index-Cm1Hr3ea.mjs → index-ZAHHrX8X.mjs} +5295 -5291
  23. package/dist/{isEqual-DTuVRuft.mjs → isEqual-DkXb_qsa.mjs} +17 -17
  24. package/dist/{panel.vue_vue_type_style_index_0_lang-D6trmAf_.mjs → panel.vue_vue_type_style_index_0_lang-B7581-aE.mjs} +2 -2
  25. package/dist/style.css +1 -1
  26. package/dist/{tallPanel-D24muulZ.mjs → tallPanel-CebzkAP3.mjs} +2 -2
  27. package/package.json +2 -2
  28. package/types/components/bimxViewer.vue.d.ts +2 -0
  29. package/types/pages/viewerEntry.vue.d.ts +2 -0
  30. package/types/store/themeManager.d.ts +1 -0
  31. package/dist/SectionTool-BHymJnTB.mjs +0 -338
@@ -1,46 +1,46 @@
1
- import { _ as N } from "./alert-Dg_uUvKd.mjs";
2
- import { j as W, k as r, l as X, O as a, m as L, n as D } from "./index-Cm1Hr3ea.mjs";
3
- import { defineComponent as O, ref as u, onMounted as H, openBlock as e, createElementBlock as i, unref as s, createCommentVNode as p, createElementVNode as t, Fragment as T, renderList as w, normalizeClass as h, createVNode as f, withCtx as q, toDisplayString as P, withDirectives as R, vShow as j, pushScopeId as z, popScopeId as F } from "vue";
4
- import { A } from "./const-CbUmfuHy.mjs";
5
- const U = (l) => (z("data-v-55b90808"), l = l(), F(), l), G = { class: "annotation_component" }, J = {
1
+ import { _ as W } from "./alert-WwAkBaRF.mjs";
2
+ import { j as X, k as r, m as L, O as a, n as D, o as O } from "./index-ZAHHrX8X.mjs";
3
+ import { defineComponent as H, ref as p, onMounted as q, openBlock as e, createElementBlock as i, unref as s, createCommentVNode as v, createElementVNode as t, Fragment as h, renderList as f, normalizeClass as A, createVNode as k, withCtx as P, toDisplayString as R, withDirectives as j, vShow as z, pushScopeId as F, popScopeId as U } from "vue";
4
+ import { A as I } from "./const-CbUmfuHy.mjs";
5
+ const G = (l) => (F("data-v-c55bcb33"), l = l(), U(), l), J = { class: "annotation_component" }, K = {
6
6
  key: 0,
7
7
  id: "annotation_toolbar",
8
8
  class: "annotation_toolbar"
9
- }, K = {
9
+ }, Q = {
10
10
  key: 0,
11
11
  class: "toolbar_trangle"
12
- }, Q = { class: "annotation_toolbar_wrapper" }, Y = { class: "annotation_toolbar_group" }, Z = ["id", "onClick"], oo = ["src"], no = {
12
+ }, Y = { class: "annotation_toolbar_wrapper" }, Z = { class: "annotation_toolbar_group" }, oo = ["id", "onClick"], no = ["src"], to = {
13
13
  key: 1,
14
14
  class: "toolbar_trangle"
15
- }, to = {
15
+ }, eo = {
16
16
  key: 1,
17
17
  class: "mobile_annotation_toolbar"
18
- }, eo = /* @__PURE__ */ U(() => /* @__PURE__ */ t("div", { class: "label-title-box" }, [
18
+ }, io = /* @__PURE__ */ G(() => /* @__PURE__ */ t("div", { class: "label-title-box" }, [
19
19
  /* @__PURE__ */ t("div", { class: "label-title" }, "标注")
20
- ], -1)), io = { class: "label-list" }, ao = ["onClick"], so = { class: "item-img" }, co = ["src"], lo = ["src"], ro = { class: "item-name" }, _o = /* @__PURE__ */ O({
20
+ ], -1)), ao = { class: "label-list" }, so = ["onClick"], co = { class: "item-img" }, lo = ["src"], ro = ["src"], _o = { class: "item-name" }, mo = /* @__PURE__ */ H({
21
21
  __name: "AnnotationTool",
22
22
  props: ["componentId"],
23
23
  emits: ["uploadImage", "clickAnnotation", "emitHandler"],
24
- setup(l, { emit: k }) {
25
- const I = W(), B = k, _ = (o) => {
26
- B("emitHandler", o);
24
+ setup(l, { emit: B }) {
25
+ const V = X(), y = B, _ = (o) => {
26
+ y("emitHandler", o);
27
27
  };
28
- let v;
29
- const b = u(!0), c = u("");
28
+ let b;
29
+ const g = p(!0), c = p("");
30
30
  let d;
31
- const V = u(), y = l;
32
- H(() => {
33
- V.value = r("annoLimit"), I.setReadyById(y.componentId);
31
+ const C = p(), S = l;
32
+ q(() => {
33
+ C.value = r("annoLimit"), V.setReadyById(S.componentId);
34
34
  });
35
- const C = {
35
+ const $ = {
36
36
  image: `${a}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
37
37
  file: `${a}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
38
38
  record: `${a}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
39
39
  text: `${a}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
40
40
  video: `${a}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
41
41
  };
42
- X.on("BimViewer", () => {
43
- v = window.BimViewer.annotationTool, v.setTypeImage(C), d = window.BimViewer.eventTrigger, d.on("createAnnotation", (o) => {
42
+ L.on("BimViewer", () => {
43
+ b = window.BimViewer.annotationTool, b.setTypeImage($), d = window.BimViewer.eventTrigger, d.on("createAnnotation", (o) => {
44
44
  _({
45
45
  isTool: !0,
46
46
  event_target: "AnnotationTool",
@@ -70,82 +70,82 @@ const U = (l) => (z("data-v-55b90808"), l = l(), F(), l), G = { class: "annotati
70
70
  });
71
71
  });
72
72
  });
73
- const g = (o) => {
74
- c.value === o.code ? c.value = "" : ($(o), c.value = o.code);
75
- }, S = (o) => {
73
+ const T = (o) => {
74
+ c.value === o.code ? (c.value = "", w(o, !1)) : (c.value = o.code, w(o, !0));
75
+ }, M = (o) => {
76
76
  window.BimViewer.annotationTool.setEnabled(o);
77
- }, $ = (o) => {
78
- S(!0), window.BimViewer.annotationTool.setCurrentType(o.code), _({
77
+ }, w = (o, u) => {
78
+ M(u), window.BimViewer.annotationTool.setCurrentType(o.code), _({
79
79
  isTool: !0,
80
80
  event_target: "AnnotationTool",
81
81
  event_name: "clickAnnoTool",
82
82
  content: {
83
- item: o,
83
+ active: u,
84
84
  tool_type: o.code
85
85
  }
86
86
  });
87
87
  };
88
- return (o, mo) => {
89
- const M = L, x = N;
90
- return e(), i("div", G, [
91
- s(r)("isMobile") ? (e(), i("div", to, [
92
- eo,
93
- f(M, null, {
94
- default: q(() => [
95
- t("div", io, [
96
- (e(!0), i(T, null, w(s(A), (n, m) => (e(), i("div", {
88
+ return (o, u) => {
89
+ const x = D, E = W;
90
+ return e(), i("div", J, [
91
+ s(r)("isMobile") ? (e(), i("div", eo, [
92
+ io,
93
+ k(x, null, {
94
+ default: P(() => [
95
+ t("div", ao, [
96
+ (e(!0), i(h, null, f(s(I), (n, m) => (e(), i("div", {
97
97
  key: m,
98
- class: h(["label-item", { "label-item-active": c.value === n.code }]),
99
- onClick: (E) => g(n)
98
+ class: A(["label-item", { "label-item-active": c.value === n.code }]),
99
+ onClick: (N) => T(n)
100
100
  }, [
101
- t("div", so, [
101
+ t("div", co, [
102
102
  t("img", {
103
103
  class: "label-item-img",
104
104
  src: s(a) + `/bim-viewer/label-bar/${c.value === n.code ? n.imgActive : n.img}.svg`,
105
105
  alt: ""
106
- }, null, 8, co),
106
+ }, null, 8, lo),
107
107
  t("img", {
108
108
  class: "label-item-icon",
109
109
  src: s(a) + "/member-images/open-member-icon.png",
110
110
  alt: ""
111
- }, null, 8, lo)
111
+ }, null, 8, ro)
112
112
  ]),
113
- t("div", ro, P(n.name), 1)
114
- ], 10, ao))), 128))
113
+ t("div", _o, R(n.name), 1)
114
+ ], 10, so))), 128))
115
115
  ])
116
116
  ]),
117
117
  _: 1
118
118
  })
119
- ])) : (e(), i("div", J, [
120
- s(r)("annotationPos").pos.includes("top") ? (e(), i("div", K)) : p("", !0),
121
- t("div", Q, [
122
- t("div", Y, [
123
- (e(!0), i(T, null, w(s(A), (n, m) => (e(), i("button", {
119
+ ])) : (e(), i("div", K, [
120
+ s(r)("annotationPos").pos.includes("top") ? (e(), i("div", Q)) : v("", !0),
121
+ t("div", Y, [
122
+ t("div", Z, [
123
+ (e(!0), i(h, null, f(s(I), (n, m) => (e(), i("button", {
124
124
  id: `annotation_tool_btn_${m}`,
125
125
  key: m,
126
- class: h(["annotation_tool_btn", { active: c.value === n.code }]),
127
- onClick: (E) => g(n)
126
+ class: A(["annotation_tool_btn", { active: c.value === n.code }]),
127
+ onClick: (N) => T(n)
128
128
  }, [
129
- p("", !0),
129
+ v("", !0),
130
130
  t("img", {
131
131
  src: `${s(a)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${c.value !== n.code ? n.img : n.img_active}.png`
132
- }, null, 8, oo)
133
- ], 10, Z))), 128))
132
+ }, null, 8, no)
133
+ ], 10, oo))), 128))
134
134
  ])
135
135
  ]),
136
- s(r)("annotationPos").pos.includes("bottom") ? (e(), i("div", no)) : p("", !0)
136
+ s(r)("annotationPos").pos.includes("bottom") ? (e(), i("div", to)) : v("", !0)
137
137
  ])),
138
- R(f(x, {
138
+ j(k(E, {
139
139
  "click-handle": () => {
140
- b.value = !1;
140
+ g.value = !1;
141
141
  }
142
142
  }, null, 8, ["click-handle"]), [
143
- [j, b.value]
143
+ [z, g.value]
144
144
  ])
145
145
  ]);
146
146
  };
147
147
  }
148
- }), go = /* @__PURE__ */ D(_o, [["__scopeId", "data-v-55b90808"]]);
148
+ }), go = /* @__PURE__ */ O(mo, [["__scopeId", "data-v-c55bcb33"]]);
149
149
  export {
150
150
  go as default
151
151
  };
@@ -1,12 +1,12 @@
1
- import { ak as e, B as o, al as t, an as i, V as l, aq as n, am as r, ao as I, ap as B } from "./index-Cm1Hr3ea.mjs";
1
+ import { am as e, B as o, an as t, ap as i, V as l, as as r, ao as n, aq as I, ar as B } from "./index-ZAHHrX8X.mjs";
2
2
  export {
3
3
  e as BIMXViewer,
4
4
  o as BIMX_CONFIGS,
5
5
  t as InitialViewer,
6
6
  i as InitializeConfigs,
7
7
  l as ViewerManager,
8
- n as setAllToolClose,
9
- r as setConfigs,
8
+ r as setAllToolClose,
9
+ n as setConfigs,
10
10
  I as setToolStatusById,
11
11
  B as setToolStatusBykey
12
12
  };