@xtctwins/tctwins-bimx-engine 0.2.55 → 0.3.1

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 (104) hide show
  1. package/dist/{alert-C0MgdbKf.mjs → Alert-CSiEPFGt.mjs} +5 -5
  2. package/dist/{AnnotationTool-CPBZcbp_.mjs → AnnotationTool-CKzHkqWM.mjs} +80 -80
  3. package/dist/BIMX_Viewer_Lib.es.js +1 -1
  4. package/dist/BIMX_Viewer_Lib.umd.js +224 -169
  5. package/dist/{CommentTool-ChVib2Wg.mjs → CommentTool-5HhGDqpg.mjs} +575 -555
  6. package/dist/{HiddenTool-CilrXe5l.mjs → HiddenTool-BGFoHMWC.mjs} +9 -9
  7. package/dist/{InspectorTool-BXArGZHO.mjs → InspectorTool-DD3w7k07.mjs} +27 -27
  8. package/dist/{MeasureTool-DtUiP4t1.mjs → MeasureTool-COR8QLDf.mjs} +118 -94
  9. package/dist/{MouseTool-2Nxz447f.mjs → MouseTool-OxODcO4X.mjs} +27 -24
  10. package/dist/{NavigateTool-COsSnxyD.mjs → NavigateTool-Bw6GFzsg.mjs} +5 -5
  11. package/dist/{panel.vue_vue_type_style_index_0_lang-CN9vybau.mjs → Panel.vue_vue_type_style_index_0_lang-DgM_qGLO.mjs} +4 -4
  12. package/dist/{RoamTool-CjRywSYn.mjs → RoamTool-X-b0hsmJ.mjs} +7 -7
  13. package/dist/ScreenShotTool-0xSJZBBw.mjs +430 -0
  14. package/dist/SectionTool-BqI2Qnk5.mjs +343 -0
  15. package/dist/SettingTool-CGkRGfZH.mjs +747 -0
  16. package/dist/StructureTree-CWAXoI0r.mjs +1662 -0
  17. package/dist/{tallPanel-Ddd7gAie.mjs → TallPanel-CR5vNQ4c.mjs} +8 -8
  18. package/dist/bimTools-D3TraX9d.mjs +75 -0
  19. package/dist/el-slider-CBVU9_og.mjs +1040 -0
  20. package/dist/{index-DTeJ8S3e.mjs → index-CwRGVhoT.mjs} +44953 -46755
  21. package/dist/style.css +1 -1
  22. package/package.json +4 -3
  23. package/types/components/bcf/AddObjectOrAnno.vue.d.ts +16 -0
  24. package/types/components/bcf/BCFAddPanel.vue.d.ts +55 -0
  25. package/types/components/bcf/BCFDetailPanel.vue.d.ts +59 -0
  26. package/types/components/bcf/BCFDisplayList.vue.d.ts +18 -0
  27. package/types/components/bcf/BCFFilter.vue.d.ts +14 -0
  28. package/types/components/bcf/BCFTool.vue.d.ts +15 -0
  29. package/types/components/bcf/CheckObjectPanel.vue.d.ts +11 -0
  30. package/types/components/bcf/CommentInput.vue.d.ts +51 -0
  31. package/types/components/bcf/CommentsView.vue.d.ts +48 -0
  32. package/types/components/bcf/DialogPanel.vue.d.ts +15 -0
  33. package/types/components/bcf/ImageView.vue.d.ts +17 -0
  34. package/types/components/bcf/ImageZoomIn.vue.d.ts +9 -0
  35. package/types/components/bcf/MobileBCFAdd.vue.d.ts +56 -0
  36. package/types/components/bcf/MobileBCFDetail.vue.d.ts +55 -0
  37. package/types/components/bcf/MobileBCFDisplayList.vue.d.ts +498 -0
  38. package/types/components/bcf/MobileBCFFilter.vue.d.ts +475 -0
  39. package/types/components/bcf/MobileBCFTool.vue.d.ts +17 -0
  40. package/types/components/bcf/MobileCommentInput.vue.d.ts +54 -0
  41. package/types/components/bcf/MobileCommentsView.vue.d.ts +17 -0
  42. package/types/components/bcf/SelectPanel.vue.d.ts +12 -0
  43. package/types/components/comment/mobile/MobileCommentAdd.vue.d.ts +14 -0
  44. package/types/components/comment/mobile/MobileDetail.vue.d.ts +11 -0
  45. package/types/components/comment/mobile/MobileDraw.vue.d.ts +17 -0
  46. package/types/components/comment/mobile/MobileFilter.vue.d.ts +475 -0
  47. package/types/components/comment/mobile/MobileList.vue.d.ts +497 -0
  48. package/types/components/comment/mobile/MobileZoomIn.vue.d.ts +9 -0
  49. package/types/components/comment/pc/PcDraw.vue.d.ts +14 -0
  50. package/types/components/shared/Alert.vue.d.ts +32 -0
  51. package/types/components/shared/CloseButton.vue.d.ts +50 -0
  52. package/types/components/shared/CloseButtonDark.vue.d.ts +32 -0
  53. package/types/components/shared/EmptyPage.vue.d.ts +6 -0
  54. package/types/components/shared/Loading.vue.d.ts +2 -0
  55. package/types/components/shared/Panel.vue.d.ts +47 -0
  56. package/types/components/shared/Prompt.vue.d.ts +8 -0
  57. package/types/components/shared/RectangleButton.vue.d.ts +106 -0
  58. package/types/components/shared/TallPanel.vue.d.ts +69 -0
  59. package/types/components/shared/TallPanelNoPos.vue.d.ts +82 -0
  60. package/types/components/tools/AnnotationTool.vue.d.ts +14 -0
  61. package/types/components/tools/AppToolbar.vue.d.ts +27 -0
  62. package/types/components/tools/ClickEvent.vue.d.ts +6 -0
  63. package/types/components/tools/CommentTool.vue.d.ts +45 -0
  64. package/types/components/tools/HiddenTool.vue.d.ts +12 -0
  65. package/types/components/tools/InspectorTool.vue.d.ts +14 -0
  66. package/types/components/tools/MeasureTool.vue.d.ts +14 -0
  67. package/types/components/tools/MouseTool.vue.d.ts +6 -0
  68. package/types/components/tools/NavigateTool.vue.d.ts +10 -0
  69. package/types/components/tools/RoamTool.vue.d.ts +12 -0
  70. package/types/components/tools/ScreenShotTool.vue.d.ts +10 -0
  71. package/types/components/tools/SectionTool.vue.d.ts +14 -0
  72. package/types/components/tools/SettingTool.vue.d.ts +13 -0
  73. package/types/components/tools/StructureTree.vue.d.ts +11645 -0
  74. package/types/components/tools/Toolbar.vue.d.ts +10 -0
  75. package/types/composables/useBimViewerEvent.d.ts +44 -0
  76. package/types/composables/useEmitHandler.d.ts +2 -0
  77. package/types/composables/useToolActive.d.ts +1 -0
  78. package/types/composables/useToolReady.d.ts +1 -0
  79. package/types/i18n/index.d.ts +5 -1
  80. package/types/i18n/locales/en-US.d.ts +1 -0
  81. package/types/i18n/locales/zh-CN.d.ts +1 -0
  82. package/types/store/bcfReflect.d.ts +13 -81
  83. package/types/store/const/app.d.ts +66 -0
  84. package/types/store/const/bimTools.d.ts +81 -0
  85. package/types/store/const/project.d.ts +48 -0
  86. package/types/store/const/theme.d.ts +16 -0
  87. package/types/store/const/toolbar.d.ts +26 -0
  88. package/types/store/const.d.ts +11 -228
  89. package/types/store/toolbars.d.ts +22 -0
  90. package/types/store/userInfoStore.d.ts +1 -1
  91. package/types/stores/viewerStore.d.ts +112 -0
  92. package/types/types/bcf.d.ts +83 -0
  93. package/types/types/events.d.ts +88 -0
  94. package/types/utils/OSSHelper.d.ts +27 -0
  95. package/types/utils/cacheInfo.d.ts +26 -3
  96. package/types/utils/dbscan.d.ts +1 -0
  97. package/types/utils/eventBus.d.ts +1 -83
  98. package/types/viewerManager/viewerManager.d.ts +53 -3
  99. package/dist/ScreenShotTool-g1dzvqn2.mjs +0 -500
  100. package/dist/SectionTool-DlnlE6Pv.mjs +0 -331
  101. package/dist/SettingTool-y_hp2XrJ.mjs +0 -815
  102. package/dist/StructureTree-CtJ4Yf5_.mjs +0 -1846
  103. package/dist/const-DOnRsYpZ.mjs +0 -389
  104. package/dist/el-input-number-BjEspzGk.mjs +0 -1169
@@ -1,7 +1,7 @@
1
- import { A as c, O as _, H as l, I as a } from "./index-DTeJ8S3e.mjs";
2
- import { defineComponent as i, createElementBlock as r, openBlock as d, createElementVNode as e, unref as t, toDisplayString as p, createVNode as m } from "vue";
1
+ import { A as c, O as _, H as l, I as a } from "./index-CwRGVhoT.mjs";
2
+ import { defineComponent as i, openBlock as r, createElementBlock as d, createElementVNode as e, unref as t, toDisplayString as p, createVNode as m } from "vue";
3
3
  const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = { class: "alert_box" }, g = { class: "alert_img" }, v = ["src"], k = { class: "alert_title" }, w = { class: "alert_close" }, x = /* @__PURE__ */ i({
4
- __name: "alert",
4
+ __name: "Alert",
5
5
  props: {
6
6
  panelTitle: {
7
7
  type: String,
@@ -21,7 +21,7 @@ const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = {
21
21
  const s = c();
22
22
  return (b, y) => {
23
23
  const o = l;
24
- return d(), r("div", u, [
24
+ return r(), d("div", u, [
25
25
  e("div", h, [
26
26
  e("div", f, [
27
27
  e("div", g, [
@@ -41,7 +41,7 @@ const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = {
41
41
  ]);
42
42
  };
43
43
  }
44
- }), H = /* @__PURE__ */ a(x, [["__scopeId", "data-v-ef140d1a"]]);
44
+ }), H = /* @__PURE__ */ a(x, [["__scopeId", "data-v-745a5d6a"]]);
45
45
  export {
46
46
  H as _
47
47
  };
@@ -1,15 +1,15 @@
1
- import { _ as F } from "./alert-C0MgdbKf.mjs";
2
- import { defineComponent as Y, ref as y, watch as G, onMounted as J, onBeforeUnmount as K, createElementBlock as s, openBlock as d, withDirectives as Q, unref as i, createCommentVNode as C, createElementVNode as m, normalizeClass as E, Fragment as N, renderList as x, toDisplayString as Z, createVNode as nn, vShow as en } from "vue";
3
- import { A as on, B as tn, C as a, D as h, O as _, I as an } from "./index-DTeJ8S3e.mjs";
4
- import { A as f } from "./const-DOnRsYpZ.mjs";
5
- const rn = { class: "annotation_component" }, ln = {
1
+ import { _ as F } from "./Alert-CSiEPFGt.mjs";
2
+ import { defineComponent as Y, ref as V, watch as G, onMounted as J, onBeforeUnmount as K, openBlock as l, createElementBlock as d, unref as i, createCommentVNode as y, createElementVNode as u, normalizeClass as B, Fragment as S, renderList as N, toDisplayString as Q, withDirectives as Z, createVNode as nn, vShow as en } from "vue";
3
+ import { A as on, B as tn, C as a, D as E, O as _, I as an } from "./index-CwRGVhoT.mjs";
4
+ import { A as f } from "./bimTools-D3TraX9d.mjs";
5
+ const rn = { class: "annotation_component" }, cn = {
6
6
  key: 0,
7
7
  id: "annotation_toolbar",
8
8
  class: "annotation_toolbar"
9
- }, cn = {
9
+ }, sn = {
10
10
  key: 0,
11
11
  class: "toolbar_trangle"
12
- }, sn = { class: "annotation_toolbar_group" }, dn = ["id", "disabled", "onClick"], un = ["src"], mn = {
12
+ }, ln = { class: "annotation_toolbar_group" }, dn = ["id", "disabled", "onClick"], mn = ["src"], un = {
13
13
  key: 1,
14
14
  class: "toolbar_trangle"
15
15
  }, _n = {
@@ -20,95 +20,95 @@ const rn = { class: "annotation_component" }, ln = {
20
20
  props: ["componentId"],
21
21
  emits: ["uploadImage", "clickAnnotation", "emitHandler"],
22
22
  setup(M, { emit: j }) {
23
- const O = on(), I = tn(), B = M, D = j, $ = y(!0), u = y(""), W = y();
24
- let c, P, v = !1, p = null, w = null;
23
+ const O = on(), C = tn(), I = M, D = j, x = V(!0), m = V(""), W = V();
24
+ let s, $, v = !1, p = null, w = null;
25
25
  const X = {
26
26
  image: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
27
27
  file: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
28
28
  record: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
29
29
  text: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
30
30
  video: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
31
- }, A = (n) => {
31
+ }, h = (n) => {
32
32
  D("emitHandler", n);
33
33
  };
34
34
  G(
35
- () => I.isToolActive(B.componentId),
35
+ () => C.isToolActive(I.componentId),
36
36
  (n) => {
37
37
  var o, t;
38
38
  if (n)
39
39
  !v && ((t = window.bimViewer) != null && t.annotationTool) && g();
40
- else if (u.value = "", (o = window.bimViewer) != null && o.annotationTool && typeof window.bimViewer.annotationTool.setEnabled == "function")
40
+ else if (m.value = "", (o = window.bimViewer) != null && o.annotationTool && typeof window.bimViewer.annotationTool.setEnabled == "function")
41
41
  try {
42
42
  window.bimViewer.annotationTool.setEnabled(!1);
43
43
  } catch (e) {
44
- console.warn("[AnnotationTool] setEnabled(false) on close failed:", e);
44
+ console.warn("[Bimx Engine] setEnabled(false) on close failed:", e);
45
45
  }
46
46
  }
47
47
  ), J(() => {
48
48
  var n;
49
- W.value = a("annoLimit"), I.setReadyById(B.componentId), !v && ((n = window.bimViewer) != null && n.annotationTool) && g();
49
+ W.value = a("annoLimit"), C.setReadyById(I.componentId), !v && ((n = window.bimViewer) != null && n.annotationTool) && g();
50
50
  }), K(() => {
51
- if (h.off("BimViewer", g), h.off("setAnnoStatus", L), p && w) {
51
+ if (E.off("BimViewer", g), E.off("setAnnoStatus", P), p && w) {
52
52
  try {
53
53
  p.removeEventListener("click", w);
54
54
  } catch (n) {
55
- console.warn("[AnnotationTool] remove canvas click listener failed:", n);
55
+ console.warn("[Bimx Engine] remove canvas click listener failed:", n);
56
56
  }
57
57
  p = null, w = null;
58
58
  }
59
59
  });
60
- function k(n) {
60
+ function A(n) {
61
61
  var o;
62
- a("editPrivilege") != 1 && (!v && ((o = window.bimViewer) != null && o.annotationTool) && g(), u.value === n.code ? (u.value = "", S(n, !1)) : (u.value = n.code, S(n, !0)));
62
+ a("editPrivilege") != 1 && (!v && ((o = window.bimViewer) != null && o.annotationTool) && g(), m.value === n.code ? (m.value = "", L(n, !1)) : (m.value = n.code, L(n, !0)));
63
63
  }
64
- function L(n) {
64
+ function P(n) {
65
65
  const o = U(n.type);
66
- o && k(o);
66
+ o && A(o);
67
67
  }
68
68
  function g() {
69
69
  if (!window.bimViewer || !window.bimViewer.annotationTool || !window.bimViewer.eventTrigger) {
70
- console.warn("[AnnotationTool] bindEngineIntegration skipped: bimViewer/annotationTool/eventTrigger missing.");
70
+ console.warn("[Bimx Engine] bindEngineIntegration skipped: bimViewer/annotationTool/eventTrigger missing.");
71
71
  return;
72
72
  }
73
73
  if (v) return;
74
- c = window.bimViewer.annotationTool, P = window.bimViewer.eventTrigger;
74
+ s = window.bimViewer.annotationTool, $ = window.bimViewer.eventTrigger;
75
75
  try {
76
- c.setTypeImage(X);
76
+ s.setTypeImage(X);
77
77
  } catch (e) {
78
- console.warn("[AnnotationTool] setTypeImage failed:", e);
78
+ console.warn("[Bimx Engine] setTypeImage failed:", e);
79
79
  }
80
80
  const n = (e, r) => {
81
81
  const b = [
82
- { label: "annotationTool", obj: c },
83
- { label: "annotationTool.eventTrigger", obj: c == null ? void 0 : c.eventTrigger },
84
- { label: "bimViewer.eventTrigger", obj: P }
82
+ { label: "annotationTool", obj: s },
83
+ { label: "annotationTool.eventTrigger", obj: s == null ? void 0 : s.eventTrigger },
84
+ { label: "bimViewer.eventTrigger", obj: $ }
85
85
  ];
86
86
  let T = 0;
87
- for (const l of b)
88
- if (l.obj && typeof l.obj.on == "function")
87
+ for (const c of b)
88
+ if (c.obj && typeof c.obj.on == "function")
89
89
  try {
90
- l.obj.on(e, r), T++;
91
- } catch (V) {
92
- console.warn(`[AnnotationTool] bind '${e}' on ${l.label} failed:`, V);
90
+ c.obj.on(e, r), T++;
91
+ } catch (k) {
92
+ console.warn(`[Bimx Engine] bind '${e}' on ${c.label} failed:`, k);
93
93
  }
94
- T === 0 && console.error(`[AnnotationTool] no emitter accepted '${e}' subscription!`);
94
+ T === 0 && console.error(`[Bimx Engine] no emitter accepted '${e}' subscription!`);
95
95
  }, o = /* @__PURE__ */ new WeakSet(), t = (e) => !e || typeof e != "object" ? !1 : o.has(e) ? !0 : (o.add(e), !1);
96
96
  n("createAnnotation", (e) => {
97
- t(e) || A({
97
+ t(e) || h({
98
98
  isTool: !0,
99
99
  event_target: "AnnotationTool",
100
100
  event_name: "createAnnotation",
101
101
  content: { currentAnnotation: e }
102
102
  });
103
103
  }), n("markerClicked", (e) => {
104
- t(e) || A({
104
+ t(e) || h({
105
105
  isTool: !0,
106
106
  event_target: "AnnotationTool",
107
107
  event_name: "clickAnnotation",
108
108
  content: { targetAnno: e }
109
109
  });
110
110
  }), a("isMobile") || n("requestDeleteMarker", (e) => {
111
- A({
111
+ h({
112
112
  isTool: !0,
113
113
  event_target: "AnnotationTool",
114
114
  event_name: "requestDelAnno",
@@ -119,8 +119,8 @@ const rn = { class: "annotation_component" }, ln = {
119
119
  });
120
120
  }), v = !0, R();
121
121
  }
122
- function S(n, o) {
123
- q(o), H(n.code, o), A({
122
+ function L(n, o) {
123
+ q(o), H(n.code, o), h({
124
124
  isTool: !0,
125
125
  event_target: "AnnotationTool",
126
126
  event_name: "clickAnnoTool",
@@ -139,7 +139,7 @@ const rn = { class: "annotation_component" }, ln = {
139
139
  try {
140
140
  window.bimViewer.annotationTool.setCurrentType(n);
141
141
  } catch (r) {
142
- console.error("[AnnotationTool] setCurrentType failed:", r);
142
+ console.error("[Bimx Engine] setCurrentType failed:", r);
143
143
  }
144
144
  }
145
145
  }
@@ -149,27 +149,27 @@ const rn = { class: "annotation_component" }, ln = {
149
149
  try {
150
150
  window.bimViewer.annotationTool.setEnabled(n);
151
151
  } catch (t) {
152
- console.error("[AnnotationTool] setEnabled error:", t);
152
+ console.error("[Bimx Engine] setEnabled error:", t);
153
153
  }
154
154
  }
155
155
  function R() {
156
156
  var n, o, t, e, r, b, T;
157
157
  try {
158
- const l = ((e = (t = (o = (n = window.bimViewer) == null ? void 0 : n.viewer) == null ? void 0 : o.scene) == null ? void 0 : t.canvas) == null ? void 0 : e.canvas) || ((T = (b = (r = window.bimViewer) == null ? void 0 : r.scene) == null ? void 0 : b.canvas) == null ? void 0 : T.canvas);
159
- if (!l || typeof l.addEventListener != "function") {
160
- console.warn("[AnnotationTool] cannot locate xeokit canvas element to attach click listener.");
158
+ const c = ((e = (t = (o = (n = window.bimViewer) == null ? void 0 : n.viewer) == null ? void 0 : o.scene) == null ? void 0 : t.canvas) == null ? void 0 : e.canvas) || ((T = (b = (r = window.bimViewer) == null ? void 0 : r.scene) == null ? void 0 : b.canvas) == null ? void 0 : T.canvas);
159
+ if (!c || typeof c.addEventListener != "function") {
160
+ console.warn("[Bimx Engine] cannot locate xeokit canvas element to attach click listener.");
161
161
  return;
162
162
  }
163
- p = l, w = (V) => {
164
- if (!(!c || typeof c.clickToCreateAnno != "function"))
163
+ p = c, w = (k) => {
164
+ if (!(!s || typeof s.clickToCreateAnno != "function"))
165
165
  try {
166
- c.clickToCreateAnno(V);
166
+ s.clickToCreateAnno(k);
167
167
  } catch (z) {
168
- console.error("[AnnotationTool] clickToCreateAnno(event) error:", z);
168
+ console.error("[Bimx Engine] clickToCreateAnno(event) error:", z);
169
169
  }
170
- }, l.addEventListener("click", w);
171
- } catch (l) {
172
- console.warn("[AnnotationTool] attach canvas click listener failed:", l);
170
+ }, c.addEventListener("click", w);
171
+ } catch (c) {
172
+ console.warn("[Bimx Engine] attach canvas click listener failed:", c);
173
173
  }
174
174
  }
175
175
  function U(n) {
@@ -179,61 +179,61 @@ const rn = { class: "annotation_component" }, ln = {
179
179
  if (n === "file") return f[3];
180
180
  if (n === "text") return f[4];
181
181
  }
182
- return h.on("BimViewer", g), h.on("setAnnoStatus", L), (n, o) => {
182
+ return E.on("BimViewer", g), E.on("setAnnoStatus", P), (n, o) => {
183
183
  const t = F;
184
- return d(), s("div", rn, [
185
- i(a)("isMobile") ? (d(), s("div", _n, [
186
- m("div", fn, [
187
- m("div", bn, [
188
- (d(!0), s(N, null, x(i(f), (e, r) => (d(), s("div", {
184
+ return l(), d("div", rn, [
185
+ i(a)("isMobile") ? (l(), d("div", _n, [
186
+ u("div", fn, [
187
+ u("div", bn, [
188
+ (l(!0), d(S, null, N(i(f), (e, r) => (l(), d("div", {
189
189
  key: r,
190
- class: E(["label-item", { "label-item-active": u.value === e.code && i(a)("editPrivilege") == 0, noPermission: i(a)("editPrivilege") == 1 }]),
191
- onClick: (b) => k(e)
190
+ class: B(["label-item", { "label-item-active": m.value === e.code && i(a)("editPrivilege") == 0, noPermission: i(a)("editPrivilege") == 1 }]),
191
+ onClick: (b) => A(e)
192
192
  }, [
193
- m("div", wn, [
194
- m("img", {
193
+ u("div", wn, [
194
+ u("img", {
195
195
  class: "label-item-img",
196
- src: i(_) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${u.value === e.code && i(a)("editPrivilege") == 0 ? e.imgActive : e.img}.svg`,
196
+ src: i(_) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${m.value === e.code && i(a)("editPrivilege") == 0 ? e.imgActive : e.img}.svg`,
197
197
  alt: ""
198
198
  }, null, 8, gn),
199
- m("div", Tn, Z(i(O)(e.name)), 1)
199
+ u("div", Tn, Q(i(O)(e.name)), 1)
200
200
  ])
201
201
  ], 10, vn))), 128))
202
202
  ])
203
203
  ])
204
- ])) : (d(), s("div", ln, [
205
- i(a)("annotationPos").pos.includes("top") ? (d(), s("div", cn)) : C("", !0),
206
- m("div", {
207
- class: E(["annotation_toolbar_wrapper", { annotation_toolbar_wrapper_disable: i(a)("editPrivilege") == 1 }])
204
+ ])) : (l(), d("div", cn, [
205
+ i(a)("annotationPos").pos.includes("top") ? (l(), d("div", sn)) : y("", !0),
206
+ u("div", {
207
+ class: B(["annotation_toolbar_wrapper", { annotation_toolbar_wrapper_disable: i(a)("editPrivilege") == 1 }])
208
208
  }, [
209
- m("div", sn, [
210
- (d(!0), s(N, null, x(i(f), (e, r) => (d(), s("button", {
209
+ u("div", ln, [
210
+ (l(!0), d(S, null, N(i(f), (e, r) => (l(), d("button", {
211
211
  id: `annotation_tool_btn_${r}`,
212
212
  key: r,
213
- class: E(["annotation_tool_btn", { active: u.value === e.code }]),
213
+ class: B(["annotation_tool_btn", { active: m.value === e.code }]),
214
214
  disabled: i(a)("editPrivilege") == 1,
215
- onClick: (b) => k(e)
215
+ onClick: (b) => A(e)
216
216
  }, [
217
- C("", !0),
218
- m("img", {
219
- src: `${i(_)}/bim-viewer/action-bars/panno-${u.value !== e.code ? e.img : e.imgActive}.svg`
220
- }, null, 8, un)
217
+ y("", !0),
218
+ u("img", {
219
+ src: `${i(_)}/bim-viewer/action-bars/panno-${m.value !== e.code ? e.img : e.imgActive}.svg`
220
+ }, null, 8, mn)
221
221
  ], 10, dn))), 128))
222
222
  ])
223
223
  ], 2),
224
- i(a)("annotationPos").pos.includes("bottom") ? (d(), s("div", mn)) : C("", !0)
224
+ i(a)("annotationPos").pos.includes("bottom") ? (l(), d("div", un)) : y("", !0)
225
225
  ])),
226
- Q(nn(t, {
226
+ Z(nn(t, {
227
227
  "click-handle": () => {
228
- $.value = !1;
228
+ x.value = !1;
229
229
  }
230
230
  }, null, 8, ["click-handle"]), [
231
- [en, $.value && i(a)("editPrivilege") == 0]
231
+ [en, x.value && i(a)("editPrivilege") == 0]
232
232
  ])
233
233
  ]);
234
234
  };
235
235
  }
236
- }), yn = /* @__PURE__ */ an(pn, [["__scopeId", "data-v-b8684abf"]]);
236
+ }), Vn = /* @__PURE__ */ an(pn, [["__scopeId", "data-v-a8fb218b"]]);
237
237
  export {
238
- yn as default
238
+ Vn as default
239
239
  };
@@ -1,4 +1,4 @@
1
- import { at as e, M as t, au as o, aA as i, V as l, ax as n, ay as I, aD as r, av as C, az as f, aw as g, aB as u, aC as B, J as M } from "./index-DTeJ8S3e.mjs";
1
+ import { au as e, M as t, av as o, aw as i, V as l, ax as n, ay as I, az as r, aA as C, aB as f, aC as g, aD as u, aE as B, J as M } from "./index-CwRGVhoT.mjs";
2
2
  export {
3
3
  e as BIMXViewer,
4
4
  t as BIMX_CONFIGS,