@xtctwins/tctwins-bimx-engine 0.2.49 → 0.2.50

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 (85) hide show
  1. package/README.md +193 -193
  2. package/dist/{AnnotationTool-BIQYccLV.mjs → AnnotationTool-ClUqfSZp.mjs} +35 -35
  3. package/dist/BIMX_Viewer_Lib.es.js +3 -3
  4. package/dist/BIMX_Viewer_Lib.umd.js +130 -138
  5. package/dist/{CommentTool-CTH0u76a.mjs → CommentTool-DcAcusOm.mjs} +168 -168
  6. package/dist/{HiddenTool-B1o4e4Mi.mjs → HiddenTool-D0kbPBtX.mjs} +13 -13
  7. package/dist/{InspectorTool-BnKwoEV6.mjs → InspectorTool-BMXg86Ow.mjs} +64 -64
  8. package/dist/{MeasureTool-DD0MQlVK.mjs → MeasureTool-CN4zNj6w.mjs} +22 -22
  9. package/dist/{MouseTool-B99s92wL.mjs → MouseTool-Dcp3UTRv.mjs} +15 -15
  10. package/dist/{NavigateTool-Bzni_edr.mjs → NavigateTool-TVHCkKRU.mjs} +13 -13
  11. package/dist/{RoamTool-BnF-1cl2.mjs → RoamTool-CkYHH7aP.mjs} +17 -17
  12. package/dist/ScreenShotTool-DC4RyElm.mjs +500 -0
  13. package/dist/{SectionTool-DJjxjkhi.mjs → SectionTool-Vn7purnG.mjs} +43 -43
  14. package/dist/SettingTool-DWoeF-dC.mjs +815 -0
  15. package/dist/StructureTree-DZ0gUacM.mjs +1846 -0
  16. package/dist/{alert-BMV9n7SQ.mjs → alert-BkyuKyki.mjs} +9 -9
  17. package/dist/el-input-number-CUWk0tiM.mjs +1169 -0
  18. package/dist/{index-BaDPCrAt.mjs → index-CBXvm6RA.mjs} +51711 -47848
  19. package/dist/index.html +17 -17
  20. package/dist/{panel.vue_vue_type_style_index_0_lang-oT_Sff-F.mjs → panel.vue_vue_type_style_index_0_lang-IOvVcvu7.mjs} +3 -3
  21. package/dist/style.css +1 -1
  22. package/dist/{tallPanel-DojXnxix.mjs → tallPanel-HBoW6JCm.mjs} +15 -15
  23. package/package.json +2 -2
  24. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
  25. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
  26. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
  27. package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
  28. package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
  29. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
  30. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
  31. package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
  32. package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
  33. package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
  34. package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
  35. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
  36. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  37. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
  38. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  39. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
  40. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  41. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
  42. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
  43. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  44. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +478 -1
  45. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +499 -7
  46. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
  47. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  48. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  49. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  50. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  51. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
  52. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +4026 -1
  53. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  54. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +18 -1
  55. package/types/components/BimxViewerComp.vue.d.ts +7 -14
  56. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
  57. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
  58. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +499 -7
  59. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +478 -1
  60. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
  61. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
  62. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
  63. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -7
  64. package/types/components/bimxViewer.vue.d.ts +7 -14
  65. package/types/components/utilsComponents/alert.vue.d.ts +1 -1
  66. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  67. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  68. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  69. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  70. package/types/components/utilsComponents/panel.vue.d.ts +8 -2
  71. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  72. package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
  73. package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
  74. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
  75. package/types/pages/BimxViewerEntry.vue.d.ts +5 -57
  76. package/types/pages/viewerEntry.vue.d.ts +7 -57
  77. package/types/store/initConfigs.d.ts +1 -1
  78. package/types/store/toolbars.d.ts +46 -46
  79. package/dist/ScreenShotTool-CSBJzyDd.mjs +0 -357
  80. package/dist/SettingTool-D2qksFZK.mjs +0 -657
  81. package/dist/StructureTree-DrLo9Bch.mjs +0 -1583
  82. package/dist/el-input-number-BOQOKzK0.mjs +0 -818
  83. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
  84. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
  85. package/types/tests/cmt.d.ts +0 -1
@@ -1,36 +1,36 @@
1
- import { _ as me } from "./alert-BMV9n7SQ.mjs";
2
- import { n as pe, o as fe, T as F, p as w, q as z, O as d, H as he, v as ke, x as ge, y as we } from "./index-BaDPCrAt.mjs";
3
- import { E as be } from "./el-input-number-BOQOKzK0.mjs";
4
- import { _ as ye } from "./panel.vue_vue_type_style_index_0_lang-oT_Sff-F.mjs";
5
- import { defineComponent as Se, ref as v, onMounted as Ce, watch as xe, onBeforeUnmount as Ve, openBlock as s, createElementBlock as l, Fragment as B, unref as n, createBlock as Pe, withCtx as E, createElementVNode as o, toDisplayString as u, withDirectives as H, renderList as K, vShow as W, createVNode as m, normalizeClass as Te, withModifiers as Le, createTextVNode as $e } from "vue";
6
- import { B as ze } from "./const-DOnRsYpZ.mjs";
7
- const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_title" }, Ie = { class: "section_control_button" }, Oe = ["src"], Ae = { class: "control_buttons" }, De = ["onClick"], Me = { class: "section_panel_cont" }, Ue = {
1
+ import { _ as me } from "./alert-BkyuKyki.mjs";
2
+ import { A as pe, B as fe, T as G, C as w, D as $, O as d, G as he, S as ke, H as ge, I as we } from "./index-CBXvm6RA.mjs";
3
+ import { E as be } from "./el-input-number-CUWk0tiM.mjs";
4
+ import { _ as ye } from "./panel.vue_vue_type_style_index_0_lang-IOvVcvu7.mjs";
5
+ import { defineComponent as Se, ref as v, onMounted as Ce, watch as Ve, onBeforeUnmount as xe, createElementBlock as l, openBlock as s, Fragment as z, createBlock as Pe, withDirectives as H, unref as n, withCtx as E, createElementVNode as o, toDisplayString as u, renderList as K, vShow as W, createVNode as m, normalizeClass as Te, createTextVNode as Le, withModifiers as Be } from "vue";
6
+ import { B as $e } from "./const-DOnRsYpZ.mjs";
7
+ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_title" }, Ie = { class: "section_control_button" }, Ae = ["src"], De = { class: "control_buttons" }, Oe = ["onClick"], Me = { class: "section_panel_cont" }, Ue = {
8
8
  key: 0,
9
9
  class: ""
10
- }, Ne = ["onClick"], Re = { class: "cont_item_left" }, je = ["src", "onClick"], qe = { class: "cont_item_right" }, Fe = ["src", "onClick"], He = ["src", "onClick"], Ke = ["src", "onClick"], We = {
10
+ }, Ne = ["onClick"], Re = { class: "cont_item_left" }, je = ["src", "onClick"], Fe = { class: "cont_item_right" }, Ge = ["src", "onClick"], He = ["src", "onClick"], Ke = ["src", "onClick"], We = {
11
11
  key: 1,
12
12
  class: "empty1"
13
- }, Ge = {
13
+ }, qe = {
14
14
  key: 1,
15
15
  class: "mobile_section_panel"
16
16
  }, Je = { class: "slicing-title-box" }, Qe = { class: "slicing-title" }, Xe = { class: "slicing-title-icon" }, Ye = { class: "slicing-content-box" }, Ze = { class: "slicing-select-box" }, eo = { class: "select-item" }, oo = { class: "select-item-left" }, to = ["src"], io = ["src"], no = { class: "select-item-center" }, so = { class: "item-center-top" }, lo = { class: "item-center-bottom" }, co = { class: "select-item" }, ao = { class: "select-item-left" }, ro = ["src"], uo = ["src"], _o = { class: "select-item-center" }, vo = { class: "item-center-top" }, mo = { class: "item-center-bottom" }, po = { class: "select-item" }, fo = { class: "select-item-left" }, ho = ["src"], ko = ["src"], go = { class: "select-item-center" }, wo = { class: "item-center-top" }, bo = { class: "item-center-bottom" }, yo = /* @__PURE__ */ Se({
17
17
  __name: "SectionTool",
18
18
  props: ["componentId"],
19
19
  emits: ["closePanel"],
20
- setup(G, { emit: J }) {
21
- const _ = pe(), I = fe(), O = G, V = v(0);
20
+ setup(q, { emit: J }) {
21
+ const _ = pe(), I = fe(), A = q, x = v(0);
22
22
  Ce(() => {
23
- I.setReadyById(O.componentId), F.currentTheme == "blue" ? V.value = 240 : F.currentTheme == "light-gray" && (V.value = 202), document.addEventListener("click", A);
23
+ I.setReadyById(A.componentId), G.currentTheme == "blue" ? x.value = 240 : G.currentTheme == "light-gray" && (x.value = 202), document.addEventListener("click", D);
24
24
  });
25
- const A = (e) => {
25
+ const D = (e) => {
26
26
  y.value && e.target.id != "controlOperatePanel" && M(!1);
27
- }, D = v(!0), b = v(!1), r = v(), f = v(), y = v(!1), M = (e) => {
27
+ }, O = v(!0), b = v(!1), r = v(), f = v(), y = v(!1), M = (e) => {
28
28
  y.value = e;
29
29
  };
30
30
  let a, S;
31
31
  const Q = J;
32
- xe(
33
- () => I.isToolActive(O.componentId),
32
+ Ve(
33
+ () => I.isToolActive(A.componentId),
34
34
  (e) => {
35
35
  w("isMobile") && (e ? (g(h.value.direction), document.addEventListener("touchmove", N)) : document.removeEventListener("touchmove", N));
36
36
  }
@@ -49,8 +49,8 @@ const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
49
49
  P = !1;
50
50
  }));
51
51
  };
52
- z.on("BimViewer", U), Ve(() => {
53
- z.off("BimViewer", U), document.removeEventListener("click", A);
52
+ $.on("BimViewer", U), xe(() => {
53
+ $.off("BimViewer", U), document.removeEventListener("click", D);
54
54
  });
55
55
  const N = () => {
56
56
  P && X();
@@ -87,7 +87,7 @@ const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
87
87
  break;
88
88
  }
89
89
  }, R = () => {
90
- a.setActive(!1), Q("closePanel"), z.emit("hideToolbar", !1);
90
+ a.setActive(!1), Q("closePanel"), $.emit("hideToolbar", !1);
91
91
  }, Y = (e) => {
92
92
  f.value !== e.id && (f.value = e.id, b.value = !1, C(), T(e.id));
93
93
  }, Z = (e) => {
@@ -101,7 +101,7 @@ const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
101
101
  }, ee = (e, t) => {
102
102
  for (let p = 0; p < r.value.length; p++)
103
103
  e == r.value[p].id && (r.value[p].isLook = t);
104
- }, q = (e) => {
104
+ }, F = (e) => {
105
105
  e.directionLeft = !e.directionLeft, ce(e.id);
106
106
  }, oe = (e) => {
107
107
  a.destroySectionPlane(e), r.value = r.value.filter((t) => t.id !== e);
@@ -125,9 +125,9 @@ const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
125
125
  a.hideControl();
126
126
  };
127
127
  return (e, t) => {
128
- const p = ke, ue = ye, _e = ge, L = be, ve = me;
129
- return s(), l(B, null, [
130
- n(w)("isMobile") ? (s(), l("div", Ge, [
128
+ const p = he, ue = ye, _e = ge, L = be, ve = me;
129
+ return s(), l(z, null, [
130
+ n(w)("isMobile") ? (s(), l("div", qe, [
131
131
  o("div", Je, [
132
132
  o("div", Qe, u(n(_)("toolbar.section")), 1),
133
133
  o("div", Xe, [
@@ -240,27 +240,27 @@ const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
240
240
  ])) : (s(), Pe(ue, {
241
241
  key: 0,
242
242
  class: "section_panel",
243
- width: V.value,
243
+ width: x.value,
244
244
  panelTitle: n(_)("toolbar.section"),
245
245
  "click-handle": R
246
246
  }, {
247
247
  default: E(() => [
248
- o("div", Be, [
248
+ o("div", ze, [
249
249
  o("div", Ee, u(n(_)("section.allSections")), 1),
250
250
  o("div", Ie, [
251
251
  o("img", {
252
252
  id: "controlOperatePanel",
253
253
  src: n(d) + "/bim-viewer/slicing-more.png",
254
254
  onClick: t[0] || (t[0] = (i) => M(!y.value))
255
- }, null, 8, Oe),
256
- H(o("div", Ae, [
257
- (s(!0), l(B, null, K(n(ze), (i) => (s(), l("div", {
255
+ }, null, 8, Ae),
256
+ H(o("div", De, [
257
+ (s(!0), l(z, null, K(n($e), (i) => (s(), l("div", {
258
258
  key: i.id,
259
259
  class: "operation_button",
260
- onClick: ($) => le(i)
260
+ onClick: (B) => le(i)
261
261
  }, [
262
262
  o("span", null, u(n(_)(i.name)), 1)
263
- ], 8, De))), 128))
263
+ ], 8, Oe))), 128))
264
264
  ], 512), [
265
265
  [W, y.value]
266
266
  ])
@@ -270,40 +270,40 @@ const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
270
270
  m(p, { height: "360px" }, {
271
271
  default: E(() => [
272
272
  r.value && r.value.length ? (s(), l("div", Ue, [
273
- (s(!0), l(B, null, K(r.value, (i, $) => (s(), l("div", {
274
- key: $,
273
+ (s(!0), l(z, null, K(r.value, (i, B) => (s(), l("div", {
274
+ key: B,
275
275
  class: Te(["panel_cont_item", { panel_cont_item_choose: f.value === i.id || b.value }]),
276
- onClick: (x) => Y(i)
276
+ onClick: (V) => Y(i)
277
277
  }, [
278
278
  o("div", Re, [
279
279
  o("img", {
280
280
  src: `${n(d)}/bim-viewer/${i.isLook ? "section_look_icon.png" : "section_unlook_icon.png"}`,
281
281
  alt: "",
282
- onClick: Le((x) => Z(i), ["stop"])
282
+ onClick: Be((V) => Z(i), ["stop"])
283
283
  }, null, 8, je),
284
- $e(" " + u(n(_)("section.sectionPrefix") + ($ + 1)), 1)
284
+ Le(" " + u(n(_)("section.sectionPrefix") + (B + 1)), 1)
285
285
  ]),
286
- o("div", qe, [
286
+ o("div", Fe, [
287
287
  i.directionLeft ? (s(), l("img", {
288
288
  key: 0,
289
289
  src: n(d) + "/bim-viewer/left_section_icon.png",
290
290
  alt: "",
291
- onClick: (x) => q(i)
292
- }, null, 8, Fe)) : (s(), l("img", {
291
+ onClick: (V) => F(i)
292
+ }, null, 8, Ge)) : (s(), l("img", {
293
293
  key: 1,
294
294
  src: n(d) + "/bim-viewer/right_section_icon.png",
295
295
  alt: "",
296
- onClick: (x) => q(i)
296
+ onClick: (V) => F(i)
297
297
  }, null, 8, He)),
298
298
  o("img", {
299
299
  src: n(d) + "/bim-viewer/section_del_icon.png",
300
300
  alt: "",
301
- onClick: (x) => oe(i.id)
301
+ onClick: (V) => oe(i.id)
302
302
  }, null, 8, Ke)
303
303
  ])
304
304
  ], 10, Ne))), 128))
305
305
  ])) : (s(), l("div", We, [
306
- m(he, {
306
+ m(ke, {
307
307
  title: n(_)("common.noData"),
308
308
  type: "model"
309
309
  }, null, 8, ["title"])
@@ -317,10 +317,10 @@ const Be = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
317
317
  }, 8, ["width", "panelTitle"])),
318
318
  H(m(ve, {
319
319
  "click-handle": () => {
320
- D.value = !1;
320
+ O.value = !1;
321
321
  }
322
322
  }, null, 8, ["click-handle"]), [
323
- [W, D.value && !n(w)("isMobile")]
323
+ [W, O.value && !n(w)("isMobile")]
324
324
  ])
325
325
  ], 64);
326
326
  };