@xtctwins/tctwins-bimx-engine 0.3.0 → 0.3.2

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 (168) hide show
  1. package/README.md +193 -196
  2. package/dist/{alert-ChDNxVgQ.mjs → Alert-5pEYzrMO.mjs} +8 -8
  3. package/dist/AnnotationTool-B3tDIyWy.mjs +239 -0
  4. package/dist/BIMX_Viewer_Lib.es.js +3 -3
  5. package/dist/BIMX_Viewer_Lib.umd.js +222 -175
  6. package/dist/CommentTool--UgPVIZZ.mjs +1541 -0
  7. package/dist/{HiddenTool-CoPawMRd.mjs → HiddenTool-rORoKTeD.mjs} +16 -16
  8. package/dist/{InspectorTool-BIvnydPf.mjs → InspectorTool-l4bDxTia.mjs} +66 -66
  9. package/dist/{MeasureTool-BUi0QI_R.mjs → MeasureTool-d-EV6m2R.mjs} +126 -102
  10. package/dist/{MouseTool-CdVwRiX1.mjs → MouseTool-DKMcdeRD.mjs} +35 -32
  11. package/dist/{NavigateTool-DoP9z3yP.mjs → NavigateTool-BNvZ8Oat.mjs} +13 -13
  12. package/dist/{panel.vue_vue_type_style_index_0_lang-BaSZShh_.mjs → Panel.vue_vue_type_style_index_0_lang-C4tqfy-B.mjs} +2 -2
  13. package/dist/{RoamTool-POFy076i.mjs → RoamTool-DJu93SVl.mjs} +14 -14
  14. package/dist/ScreenShotTool-D2h0Qjtv.mjs +430 -0
  15. package/dist/SectionTool-DHw2Zfzv.mjs +343 -0
  16. package/dist/SettingTool-D13GBT87.mjs +747 -0
  17. package/dist/StructureTree-DHaOzAP9.mjs +1662 -0
  18. package/dist/{tallPanel-DKlcFjrl.mjs → TallPanel-DtXOSzmF.mjs} +14 -14
  19. package/dist/bimTools-D3TraX9d.mjs +75 -0
  20. package/dist/el-slider-CHaMBaUG.mjs +1040 -0
  21. package/dist/{index-Dsq1epCY.mjs → index-BDupeKSG.mjs} +55597 -53543
  22. package/dist/index.html +17 -17
  23. package/dist/style.css +1 -1
  24. package/package.json +4 -3
  25. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
  26. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
  27. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
  28. package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
  29. package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
  30. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
  31. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
  32. package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
  33. package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
  34. package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
  35. package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
  36. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
  37. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  38. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
  39. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  40. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
  41. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  42. package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +2 -0
  43. package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +2 -0
  44. package/types/components/BimViewerComponents/MobileCommentsTool/{add.vue.d.ts → MobileCommentAdd.vue.d.ts} +6 -8
  45. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
  46. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  47. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +478 -1
  48. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +499 -7
  49. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
  50. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  51. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  52. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  53. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  54. package/types/components/BimViewerComponents/SectionTool.vue.d.ts +4 -0
  55. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
  56. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +4026 -1
  57. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  58. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +18 -1
  59. package/types/components/BimxViewerComp.vue.d.ts +7 -14
  60. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
  61. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
  62. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +499 -7
  63. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +478 -1
  64. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
  65. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
  66. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
  67. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -7
  68. package/types/components/bcf/AddObjectOrAnno.vue.d.ts +16 -0
  69. package/types/components/bcf/BCFAddPanel.vue.d.ts +55 -0
  70. package/types/components/bcf/BCFDetailPanel.vue.d.ts +59 -0
  71. package/types/components/bcf/BCFDisplayList.vue.d.ts +18 -0
  72. package/types/components/bcf/BCFFilter.vue.d.ts +14 -0
  73. package/types/components/bcf/BCFTool.vue.d.ts +15 -0
  74. package/types/components/bcf/CheckObjectPanel.vue.d.ts +11 -0
  75. package/types/components/bcf/CommentInput.vue.d.ts +51 -0
  76. package/types/components/bcf/CommentsView.vue.d.ts +48 -0
  77. package/types/components/bcf/DialogPanel.vue.d.ts +15 -0
  78. package/types/components/bcf/ImageView.vue.d.ts +17 -0
  79. package/types/components/bcf/ImageZoomIn.vue.d.ts +9 -0
  80. package/types/components/bcf/MobileBCFAdd.vue.d.ts +56 -0
  81. package/types/components/bcf/MobileBCFDetail.vue.d.ts +55 -0
  82. package/types/components/bcf/MobileBCFDisplayList.vue.d.ts +498 -0
  83. package/types/components/bcf/MobileBCFFilter.vue.d.ts +475 -0
  84. package/types/components/bcf/MobileBCFTool.vue.d.ts +17 -0
  85. package/types/components/bcf/MobileCommentInput.vue.d.ts +54 -0
  86. package/types/components/bcf/MobileCommentsView.vue.d.ts +17 -0
  87. package/types/components/bcf/SelectPanel.vue.d.ts +12 -0
  88. package/types/components/bimxViewer.vue.d.ts +7 -14
  89. package/types/components/comment/mobile/MobileCommentAdd.vue.d.ts +14 -0
  90. package/types/components/comment/mobile/MobileDetail.vue.d.ts +11 -0
  91. package/types/components/comment/mobile/MobileDraw.vue.d.ts +17 -0
  92. package/types/components/comment/mobile/MobileFilter.vue.d.ts +475 -0
  93. package/types/components/comment/mobile/MobileList.vue.d.ts +497 -0
  94. package/types/components/comment/mobile/MobileZoomIn.vue.d.ts +9 -0
  95. package/types/components/comment/pc/PcDraw.vue.d.ts +14 -0
  96. package/types/components/shared/Alert.vue.d.ts +32 -0
  97. package/types/components/shared/CloseButton.vue.d.ts +50 -0
  98. package/types/components/shared/CloseButtonDark.vue.d.ts +32 -0
  99. package/types/components/shared/EmptyPage.vue.d.ts +6 -0
  100. package/types/components/shared/Loading.vue.d.ts +2 -0
  101. package/types/components/shared/Panel.vue.d.ts +47 -0
  102. package/types/components/shared/Prompt.vue.d.ts +8 -0
  103. package/types/components/shared/RectangleButton.vue.d.ts +106 -0
  104. package/types/components/shared/TallPanel.vue.d.ts +69 -0
  105. package/types/components/shared/TallPanelNoPos.vue.d.ts +82 -0
  106. package/types/components/tools/AnnotationTool.vue.d.ts +14 -0
  107. package/types/components/tools/AppToolbar.vue.d.ts +27 -0
  108. package/types/components/tools/ClickEvent.vue.d.ts +6 -0
  109. package/types/components/tools/CommentTool.vue.d.ts +45 -0
  110. package/types/components/tools/HiddenTool.vue.d.ts +12 -0
  111. package/types/components/tools/InspectorTool.vue.d.ts +14 -0
  112. package/types/components/tools/MeasureTool.vue.d.ts +14 -0
  113. package/types/components/tools/MouseTool.vue.d.ts +6 -0
  114. package/types/components/tools/NavigateTool.vue.d.ts +10 -0
  115. package/types/components/tools/RoamTool.vue.d.ts +12 -0
  116. package/types/components/tools/ScreenShotTool.vue.d.ts +10 -0
  117. package/types/components/tools/SectionTool.vue.d.ts +14 -0
  118. package/types/components/tools/SettingTool.vue.d.ts +13 -0
  119. package/types/components/tools/StructureTree.vue.d.ts +11645 -0
  120. package/types/components/tools/Toolbar.vue.d.ts +10 -0
  121. package/types/components/utilsComponents/alert.vue.d.ts +1 -1
  122. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  123. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  124. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  125. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  126. package/types/components/utilsComponents/panel.vue.d.ts +8 -2
  127. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  128. package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
  129. package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
  130. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
  131. package/types/composables/useBimViewerEvent.d.ts +44 -0
  132. package/types/composables/useEmitHandler.d.ts +2 -0
  133. package/types/composables/useToolActive.d.ts +1 -0
  134. package/types/composables/useToolReady.d.ts +1 -0
  135. package/types/i18n/index.d.ts +5 -1
  136. package/types/i18n/locales/en-US.d.ts +1 -0
  137. package/types/i18n/locales/zh-CN.d.ts +1 -0
  138. package/types/pages/BimxViewerEntry.vue.d.ts +5 -57
  139. package/types/pages/viewerEntry.vue.d.ts +7 -57
  140. package/types/store/bcfReflect.d.ts +13 -81
  141. package/types/store/const/app.d.ts +66 -0
  142. package/types/store/const/bimTools.d.ts +81 -0
  143. package/types/store/const/project.d.ts +48 -0
  144. package/types/store/const/theme.d.ts +16 -0
  145. package/types/store/const/toolbar.d.ts +26 -0
  146. package/types/store/const.d.ts +11 -228
  147. package/types/store/initConfigs.d.ts +1 -1
  148. package/types/store/toolbars.d.ts +68 -46
  149. package/types/store/userInfoStore.d.ts +1 -1
  150. package/types/stores/viewerStore.d.ts +112 -0
  151. package/types/types/bcf.d.ts +83 -0
  152. package/types/types/events.d.ts +88 -0
  153. package/types/utils/OSSHelper.d.ts +27 -0
  154. package/types/utils/cacheInfo.d.ts +26 -3
  155. package/types/utils/dbscan.d.ts +1 -0
  156. package/types/utils/eventBus.d.ts +1 -83
  157. package/types/viewerManager/viewerManager.d.ts +53 -3
  158. package/dist/AnnotationTool-CGRte6Cc.mjs +0 -167
  159. package/dist/CommentTool-CT3wFozB.mjs +0 -1529
  160. package/dist/ScreenShotTool-CcUyU0g7.mjs +0 -357
  161. package/dist/SectionTool-DGjjH3JO.mjs +0 -331
  162. package/dist/SettingTool-CjXfbX5r.mjs +0 -657
  163. package/dist/StructureTree-DdRX-y-V.mjs +0 -1583
  164. package/dist/const-DOnRsYpZ.mjs +0 -389
  165. package/dist/el-input-number-CK5d8pzH.mjs +0 -818
  166. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
  167. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
  168. package/types/tests/cmt.d.ts +0 -1
@@ -1,61 +1,85 @@
1
- import { n as De, o as Re, T as ae, q as ne, p as f, O as w, V as ue, t as Ce, F as Le, G as $e, v as Pe, y as ze } from "./index-Dsq1epCY.mjs";
2
- import { _ as Ne } from "./panel.vue_vue_type_style_index_0_lang-BaSZShh_.mjs";
3
- import { defineComponent as Ue, ref as n, onMounted as ie, onBeforeUnmount as Fe, watch as Oe, openBlock as i, createElementBlock as c, Fragment as E, unref as t, createBlock as Xe, withCtx as U, createElementVNode as s, renderList as F, normalizeClass as ce, toDisplayString as o, createVNode as T, createCommentVNode as Ye, normalizeStyle as re, withDirectives as He, vShow as qe } from "vue";
4
- import { M as O } from "./const-DOnRsYpZ.mjs";
1
+ import { A as De, B as Re, T as ae, D as ne, Q as M, C as _, O as w, F as Ce, R as Le, S as $e, G as Pe, V as ue, I as ze } from "./index-BDupeKSG.mjs";
2
+ import { _ as Ne } from "./Panel.vue_vue_type_style_index_0_lang-C4tqfy-B.mjs";
3
+ import { defineComponent as Ue, ref as n, onMounted as ie, onBeforeUnmount as Fe, watch as Oe, openBlock as i, createElementBlock as r, Fragment as E, unref as t, createBlock as Xe, withCtx as U, createElementVNode as s, renderList as F, normalizeClass as re, toDisplayString as o, createVNode as T, createCommentVNode as Ye, normalizeStyle as ce, withDirectives as He, vShow as Qe } from "vue";
4
+ import { M as O } from "./bimTools-D3TraX9d.mjs";
5
5
  const We = {
6
6
  key: 0,
7
7
  class: "measure_panel_content"
8
- }, je = { class: "measurement_type" }, Je = ["onClick"], Ke = ["src"], Qe = {
8
+ }, je = { class: "measurement_type" }, qe = ["onClick"], Je = ["src"], Ke = {
9
9
  key: 0,
10
10
  class: "measurement_data"
11
11
  }, Ze = { class: "data_box" }, Ge = { style: { color: "#0065fc" } }, es = { class: "data_box" }, ss = { style: { color: "#fe4444" } }, ts = { class: "data_box" }, ls = { style: { color: "#4ed17a" } }, os = { class: "data_box" }, as = { style: { color: "#ffce19" } }, ns = {
12
12
  key: 1,
13
13
  class: "measurement_data"
14
- }, us = { class: "data_box" }, is = { style: { color: "#0065fc" } }, cs = { class: "footer" }, rs = {
14
+ }, us = { class: "data_box" }, is = { style: { color: "#0065fc" } }, rs = { class: "footer" }, cs = {
15
15
  key: 1,
16
16
  class: "setMeasurePanel"
17
- }, vs = { class: "set_content_par" }, ds = { class: "set_content_" }, ms = {
17
+ }, ds = { class: "set_content_par" }, vs = { class: "set_content_" }, ms = {
18
18
  class: "set_content scale",
19
19
  style: { display: "none" }
20
- }, _s = { class: "set_content unit" }, hs = { class: "set_content precision" }, ps = { class: "footer" }, gs = {
20
+ }, _s = { class: "set_content unit" }, hs = { class: "set_content precision" }, ps = { class: "footer" }, fs = {
21
21
  key: 1,
22
22
  class: "mobile_measure_panel"
23
- }, fs = { class: "measure-list" }, ys = ["onClick"], bs = { class: "measure-icon" }, Ms = ["src"], ws = { class: "measure-name" }, Ts = { class: "measure-icon" }, ks = ["src"], Vs = {
23
+ }, gs = { class: "measure-list" }, ys = ["onClick"], bs = { class: "measure-icon" }, Ms = ["src"], ws = { class: "measure-name" }, Ts = { class: "measure-icon" }, ks = ["src"], Vs = {
24
24
  class: "measure-name",
25
25
  style: { color: "#df1c1c" }
26
- }, xs = { class: "mouse_btn" }, As = ["src"], Bs = ["src"], Is = ["src"], Es = /* @__PURE__ */ Ue({
26
+ }, Bs = { class: "mouse_btn" }, xs = ["src"], As = ["src"], Is = ["src"], Es = /* @__PURE__ */ Ue({
27
27
  __name: "MeasureTool",
28
- props: ["componentId"],
28
+ props: ["componentId", "instruction"],
29
29
  emits: ["closePanel", "emitHandler"],
30
- setup(ve, { emit: de }) {
31
- const a = De(), S = Re(), me = ve, X = n(0);
30
+ setup(de, { emit: ve }) {
31
+ const a = De(), S = Re(), me = de, X = n(0);
32
32
  ie(() => {
33
33
  S.setReadyById(me.componentId), ae.currentTheme == "blue" ? X.value = 224 : ae.currentTheme == "light-gray" && (X.value = 202);
34
34
  });
35
- let r, k, D, _;
36
- const v = n(1), R = n(), h = n(), V = n(), y = n(), Y = n(), W = n(), j = n(), J = n(), x = n(1), A = n("m"), b = n(3), B = n(!1), _e = [{ value: "m" }, { value: "cm" }, { value: "mm" }], d = n(!1), he = [
35
+ let c, k, D;
36
+ const d = n(1), R = n(), h = n(), V = n(), g = n(), Y = n(), W = n(), j = n(), q = n(), B = n(1), x = n("m"), y = n(3), A = n(!1), _e = [{ value: "m" }, { value: "cm" }, { value: "mm" }], v = n(!1), he = [
37
37
  { label: "0", value: 0 },
38
38
  { label: "0.0", value: 1 },
39
39
  { label: "0.00", value: 2 },
40
40
  { label: "0.000", value: 3 }
41
- ], K = de, Q = (e) => {
42
- K("emitHandler", e);
41
+ ], J = ve, K = (e) => {
42
+ J("emitHandler", e);
43
43
  }, Z = () => {
44
- D = window.bimViewer, ue.SaveViewerState({ measure: "distance" }), k = window.bimViewer.measureAngleTool, r = window.bimViewer.measureDistanceTool, _ = window.bimViewer.eventTrigger, f("isMobile") && (_.on("newAngleMeasure", (e) => {
45
- d.value = !1;
46
- }), _.on("newDistanceMeasure", (e) => {
47
- d.value = !1;
48
- })), _.on("createAngleMeasure", (e) => {
49
- Y.value = e.id, y.value = e.result, f("isMobile") && (d.value = !0), m("createAngleMeasure", { newMeasure: e });
50
- }), _.on("createDistanceMeasure", (e) => {
51
- R.value = e.id, V.value = e.id, h.value = e.result, W.value = e.xResult ? e.xResult : 0, j.value = e.yResult ? e.yResult : 0, J.value = e.zResult ? e.zResult : 0, f("isMobile") && (d.value = !0), m("createAngleMeasure", { newMeasure: e });
52
- }), _.on("clickDistanceMeasure", (e) => {
53
- v.value == 2 && C(O[0]), R.value = e.id, Te(e.id), f("isMobile") && (d.value = !0), m("clickDistanceMeasure", { id: e.id });
54
- }), _.on("clickAngleMeasure", (e) => {
55
- v.value == 1 && C(O[1]), Me(e.id), f("isMobile") && (d.value = !0), m("clickAngleMeasure", { id: e.id });
56
- }), r.precision = b.value, r.unit = A.value, r.scale = x.value;
44
+ D = window.bimViewer, ue.SaveViewerState({ measure: "distance" }), k = window.bimViewer.measureAngleTool, c = window.bimViewer.measureDistanceTool, c.precision = y.value, c.unit = x.value, c.scale = B.value;
57
45
  };
58
- ne.on("BimViewer", Z), Fe(() => {
46
+ ne.on("BimViewer", Z), M({
47
+ event: "newAngleMeasure",
48
+ handler: () => {
49
+ _("isMobile") && (v.value = !1);
50
+ },
51
+ defer: !0
52
+ }), M({
53
+ event: "newDistanceMeasure",
54
+ handler: () => {
55
+ _("isMobile") && (v.value = !1);
56
+ },
57
+ defer: !0
58
+ }), M({
59
+ event: "createAngleMeasure",
60
+ handler: (e) => {
61
+ Y.value = e.id, g.value = e.result, _("isMobile") && (v.value = !0), m("createAngleMeasure", { newMeasure: e });
62
+ },
63
+ defer: !0
64
+ }), M({
65
+ event: "createDistanceMeasure",
66
+ handler: (e) => {
67
+ R.value = e.id, V.value = e.id, h.value = e.result, W.value = e.xResult ? e.xResult : 0, j.value = e.yResult ? e.yResult : 0, q.value = e.zResult ? e.zResult : 0, _("isMobile") && (v.value = !0), m("createAngleMeasure", { newMeasure: e });
68
+ },
69
+ defer: !0
70
+ }), M({
71
+ event: "clickDistanceMeasure",
72
+ handler: (e) => {
73
+ d.value == 2 && C(O[0]), R.value = e.id, Te(e.id), _("isMobile") && (v.value = !0), m("clickDistanceMeasure", { id: e.id });
74
+ },
75
+ defer: !0
76
+ }), M({
77
+ event: "clickAngleMeasure",
78
+ handler: (e) => {
79
+ d.value == 1 && C(O[1]), Me(e.id), _("isMobile") && (v.value = !0), m("clickAngleMeasure", { id: e.id });
80
+ },
81
+ defer: !0
82
+ }), Fe(() => {
59
83
  ne.off("BimViewer", Z);
60
84
  }), Oe(
61
85
  () => S.isToolActive(3),
@@ -64,19 +88,19 @@ const We = {
64
88
  }
65
89
  );
66
90
  const m = (e, u) => {
67
- Q({
91
+ K({
68
92
  isTool: !0,
69
93
  event_name: e,
70
94
  event_target: "MeasureTool",
71
95
  content: u
72
96
  });
73
97
  }, pe = () => {
74
- window.bimViewer.measureTool.setActive(!1), K("closePanel"), B.value === !0 && L();
98
+ window.bimViewer.measureTool.setActive(!1), J("closePanel"), A.value === !0 && L();
75
99
  }, C = (e) => {
76
- v.value !== e.id && (v.value = e.id, ue.SaveViewerState({ measure: e.code }), ge(e), f("isMobile") && (d.value = !1));
77
- }, ge = (e) => {
100
+ d.value !== e.id && (d.value = e.id, ue.SaveViewerState({ measure: e.code }), fe(e), _("isMobile") && (v.value = !1));
101
+ }, fe = (e) => {
78
102
  let u = e.code;
79
- window.bimViewer.measureTool.setActiveByType(u, !0), Q({
103
+ window.bimViewer.measureTool.setActiveByType(u, !0), K({
80
104
  isTool: !0,
81
105
  event_name: "",
82
106
  event_target: "MeasureTool",
@@ -84,76 +108,76 @@ const We = {
84
108
  measureTool: u
85
109
  }
86
110
  });
87
- }, fe = () => {
88
- h.value = "", y.value = "", r.clear(), k.clear(), m("destroyAllMeasure", { msg: "删除全部测量" }), d.value = !1;
111
+ }, ge = () => {
112
+ h.value = "", g.value = "", c.clear(), k.clear(), m("destroyAllMeasure", { msg: "删除全部测量" }), v.value = !1;
89
113
  }, ye = () => {
90
- h.value = "", y.value = "", v.value === 1 ? (ke(V.value), m("destroyMeasureDistance", { id: V.value })) : v.value === 2 && (we(Y.value), m("destroyMeasurementAngle", { id: V.value })), d.value = !1;
114
+ h.value = "", g.value = "", d.value === 1 ? (ke(V.value), m("destroyMeasureDistance", { id: V.value })) : d.value === 2 && (we(Y.value), m("destroyMeasurementAngle", { id: V.value })), v.value = !1;
91
115
  }, L = () => {
92
- B.value = !B.value;
116
+ A.value = !A.value;
93
117
  }, be = () => {
94
- L(), r.precision = b.value, r.unit = A.value, r.scale = x.value, R.value && (h.value = r.getMeasureResultByID(R.value)), m("updateMeasureSet", {
118
+ L(), c.precision = y.value, c.unit = x.value, c.scale = B.value, R.value && (h.value = c.getMeasureResultByID(R.value)), m("updateMeasureSet", {
95
119
  measurePrefer: {
96
- distance_precision: b.value,
97
- distance_unit: A.value,
98
- distance_scale: x.value
120
+ distance_precision: y.value,
121
+ distance_unit: x.value,
122
+ distance_scale: B.value
99
123
  }
100
124
  });
101
125
  }, Me = (e) => {
102
- Y.value = e, y.value = k.getMeasureResultByID(e);
126
+ Y.value = e, g.value = k.getMeasureResultByID(e);
103
127
  }, we = (e) => k.destroyMeasurementById(e), Te = (e) => {
104
- V.value = e, h.value = r.getMeasureResultByID(e);
105
- }, ke = (e) => r.destroyMeasurementById(e), Ve = (e) => {
106
- r.setAllVisible(e), k.setAllVisible(e);
128
+ V.value = e, h.value = c.getMeasureResultByID(e);
129
+ }, ke = (e) => c.destroyMeasurementById(e), Ve = (e) => {
130
+ c.setAllVisible(e), k.setAllVisible(e);
107
131
  };
108
132
  ie(() => {
109
133
  document.getElementById("top_bar");
110
134
  });
111
- const M = n(!1);
112
- let $ = !1, P = 0, z = 0, H = 0, q = 0;
113
- const p = n(290), g = n(300), xe = () => {
114
- M.value = !M.value, M.value ? Ae() : Be();
135
+ const b = n(!1);
136
+ let $ = !1, P = 0, z = 0, H = 0, Q = 0;
137
+ const p = n(290), f = n(300), Be = () => {
138
+ b.value = !b.value, b.value ? xe() : Ae();
115
139
  }, G = (e) => {
116
- $ ? D.measureTool.currentTool.onSimulateMousedown([p.value, g.value]) : e.touches.length == 1 && (P = e.touches[0].clientX, z = e.touches[0].clientY, $ = !0);
140
+ $ ? D.measureTool.currentTool.onSimulateMousedown([p.value, f.value]) : e.touches.length == 1 && (P = e.touches[0].clientX, z = e.touches[0].clientY, $ = !0);
117
141
  }, ee = (e) => {
118
142
  if (e.touches.length == 1) {
119
143
  const u = e.touches[0].clientX, N = e.touches[0].clientY;
120
- H = u - P, q = N - z, p.value += H, g.value += q;
144
+ H = u - P, Q = N - z, p.value += H, f.value += Q;
121
145
  let I = new Int16Array(2);
122
- I[0] = p.value + 5, I[1] = g.value + 6, P = u, z = N, D.measureTool.currentTool.onSimulateMousemove([p.value, g.value]);
146
+ I[0] = p.value + 5, I[1] = f.value + 6, P = u, z = N, D.measureTool.currentTool.onSimulateMousemove([p.value, f.value]);
123
147
  }
124
148
  }, se = (e) => {
125
- $ && D.measureTool.currentTool.onSimulateMouseup([p.value, g.value]);
126
- }, Ae = () => {
149
+ $ && D.measureTool.currentTool.onSimulateMouseup([p.value, f.value]);
150
+ }, xe = () => {
127
151
  const e = document.getElementById("measure_mouseGroup");
128
- e == null || e.addEventListener("touchstart", G), e == null || e.addEventListener("touchmove", ee), e == null || e.addEventListener("touchend", se), p.value = 290, g.value = 300, P = 0, z = 0, H = 0, q = 0, $ = !1;
129
- }, Be = () => {
152
+ e == null || e.addEventListener("touchstart", G), e == null || e.addEventListener("touchmove", ee), e == null || e.addEventListener("touchend", se), p.value = 290, f.value = 300, P = 0, z = 0, H = 0, Q = 0, $ = !1;
153
+ }, Ae = () => {
130
154
  const e = document.getElementById("measure_mouseGroup");
131
155
  e == null || e.removeEventListener("touchstart", G), e == null || e.removeEventListener("touchmove", ee), e == null || e.removeEventListener("touchend", se);
132
156
  };
133
157
  return (e, u) => {
134
158
  var le, oe;
135
- const N = Ce, I = Le, te = $e, Ie = Ne, Ee = Pe;
136
- return i(), c(E, null, [
137
- t(f)("isMobile") ? (i(), c("div", gs, [
159
+ const N = Ce, I = $e, te = Le, Ie = Ne, Ee = Pe;
160
+ return i(), r(E, null, [
161
+ t(_)("isMobile") ? (i(), r("div", fs, [
138
162
  T(Ee, null, {
139
163
  default: U(() => [
140
- s("div", fs, [
141
- (i(!0), c(E, null, F(t(O), (l) => (i(), c("div", {
164
+ s("div", gs, [
165
+ (i(!0), r(E, null, F(t(O), (l) => (i(), r("div", {
142
166
  key: l.id,
143
- class: ce(["measure-item", {
144
- "measure-item-active": v.value === l.id
167
+ class: re(["measure-item", {
168
+ "measure-item-active": d.value === l.id
145
169
  }]),
146
170
  onClick: (Se) => C(l)
147
171
  }, [
148
172
  s("div", bs, [
149
173
  s("img", {
150
- src: t(w) + `/bim-viewer/measure-bar/bimkk-mobile-measure-${v.value === l.id ? l.svgActive : l.svg}.svg`,
174
+ src: t(w) + `/bim-viewer/measure-bar/bimkk-mobile-measure-${d.value === l.id ? l.svgActive : l.svg}.svg`,
151
175
  alt: ""
152
176
  }, null, 8, Ms),
153
177
  s("div", ws, o(t(a)(l.label || l.name)), 1)
154
178
  ])
155
179
  ], 10, ys))), 128)),
156
- d.value ? (i(), c("div", {
180
+ v.value ? (i(), r("div", {
157
181
  key: 0,
158
182
  class: "measure-item",
159
183
  onClick: ye
@@ -170,16 +194,16 @@ const We = {
170
194
  ]),
171
195
  _: 1
172
196
  }),
173
- s("div", xs, [
197
+ s("div", Bs, [
174
198
  s("div", {
175
199
  class: "mouse",
176
- onClick: xe
200
+ onClick: Be
177
201
  }, [
178
202
  s("img", {
179
- src: `${t(w)}/industry-viewer/action-bar/${M.value ? (le = t(S).getToolById(16)) == null ? void 0 : le.imgActive : (oe = t(S).getToolById(16)) == null ? void 0 : oe.img}.svg`
180
- }, null, 8, As),
203
+ src: `${t(w)}/industry-viewer/action-bar/${b.value ? (le = t(S).getToolById(16)) == null ? void 0 : le.imgActive : (oe = t(S).getToolById(16)) == null ? void 0 : oe.img}.svg`
204
+ }, null, 8, xs),
181
205
  s("span", {
182
- style: re({ color: M.value ? "#1457F7" : "#262626" })
206
+ style: ce({ color: b.value ? "#1457F7" : "#262626" })
183
207
  }, o(t(a)("toolbar.virtualMouse")), 5)
184
208
  ])
185
209
  ])
@@ -187,19 +211,19 @@ const We = {
187
211
  key: 0,
188
212
  class: "measure_panel",
189
213
  width: X.value,
190
- panelTitle: B.value ? t(a)("measure.settings") : t(a)("measure.title"),
214
+ panelTitle: A.value ? t(a)("measure.settings") : t(a)("measure.title"),
191
215
  "click-handle": pe
192
216
  }, {
193
217
  default: U(() => [
194
- B.value ? (i(), c("div", rs, [
195
- s("div", vs, [
196
- s("div", ds, [
218
+ A.value ? (i(), r("div", cs, [
219
+ s("div", ds, [
220
+ s("div", vs, [
197
221
  s("div", ms, [
198
222
  s("span", null, o(t(a)("measure.scaleLabel")), 1),
199
223
  u[3] || (u[3] = s("span", null, "1:", -1)),
200
224
  T(N, {
201
- modelValue: x.value,
202
- "onUpdate:modelValue": u[0] || (u[0] = (l) => x.value = l),
225
+ modelValue: B.value,
226
+ "onUpdate:modelValue": u[0] || (u[0] = (l) => B.value = l),
203
227
  style: { width: "122px", height: "28px" },
204
228
  placeholder: "1"
205
229
  }, null, 8, ["modelValue"])
@@ -207,13 +231,13 @@ const We = {
207
231
  s("div", _s, [
208
232
  s("span", null, o(t(a)("measure.unitLabel")), 1),
209
233
  T(te, {
210
- modelValue: A.value,
211
- "onUpdate:modelValue": u[1] || (u[1] = (l) => A.value = l),
234
+ modelValue: x.value,
235
+ "onUpdate:modelValue": u[1] || (u[1] = (l) => x.value = l),
212
236
  placeholder: t(a)("measure.unitPlaceholder"),
213
237
  style: { width: "136px", height: "28px" }
214
238
  }, {
215
239
  default: U(() => [
216
- (i(), c(E, null, F(_e, (l) => T(I, {
240
+ (i(), r(E, null, F(_e, (l) => T(I, {
217
241
  key: l.value,
218
242
  value: l.value
219
243
  }, null, 8, ["value"])), 64))
@@ -224,13 +248,13 @@ const We = {
224
248
  s("div", hs, [
225
249
  s("span", null, o(t(a)("measure.precisionLabel")), 1),
226
250
  T(te, {
227
- modelValue: b.value,
228
- "onUpdate:modelValue": u[2] || (u[2] = (l) => b.value = l),
251
+ modelValue: y.value,
252
+ "onUpdate:modelValue": u[2] || (u[2] = (l) => y.value = l),
229
253
  placeholder: t(a)("measure.precisionPlaceholder"),
230
254
  style: { width: "136px", height: "28px" }
231
255
  }, {
232
256
  default: U(() => [
233
- (i(), c(E, null, F(he, (l) => T(I, {
257
+ (i(), r(E, null, F(he, (l) => T(I, {
234
258
  key: l.value,
235
259
  label: l.label,
236
260
  value: l.value
@@ -251,24 +275,24 @@ const We = {
251
275
  onClick: be
252
276
  }, o(t(a)("common.save")), 1)
253
277
  ])
254
- ])) : (i(), c("div", We, [
278
+ ])) : (i(), r("div", We, [
255
279
  s("div", je, [
256
- (i(!0), c(E, null, F(t(O), (l) => (i(), c("div", {
280
+ (i(!0), r(E, null, F(t(O), (l) => (i(), r("div", {
257
281
  key: l.id,
258
- class: ce(["measurement_box", { measurement_box_active: v.value === l.id }]),
282
+ class: re(["measurement_box", { measurement_box_active: d.value === l.id }]),
259
283
  onClick: (Se) => C(l)
260
284
  }, [
261
285
  s("img", {
262
286
  class: "measurement_img",
263
- src: t(w) + `/bim-viewer/action-bars/${v.value === l.id ? l.imgActive : l.img}.svg`,
287
+ src: t(w) + `/bim-viewer/action-bars/${d.value === l.id ? l.imgActive : l.img}.svg`,
264
288
  alt: ""
265
- }, null, 8, Ke)
266
- ], 10, Je))), 128))
289
+ }, null, 8, Je)
290
+ ], 10, qe))), 128))
267
291
  ]),
268
- v.value == 1 ? (i(), c("div", Qe, [
292
+ d.value == 1 ? (i(), r("div", Ke, [
269
293
  s("div", Ze, [
270
294
  s("div", null, o(t(a)("measure.totalLength")), 1),
271
- s("div", Ge, o(h.value ? h.value.toFixed(b.value) : "~"), 1)
295
+ s("div", Ge, o(h.value ? h.value.toFixed(y.value) : "~"), 1)
272
296
  ]),
273
297
  s("div", es, [
274
298
  s("div", null, o(t(a)("measure.x")), 1),
@@ -280,16 +304,16 @@ const We = {
280
304
  ]),
281
305
  s("div", os, [
282
306
  s("div", null, o(t(a)("measure.z")), 1),
283
- s("div", as, o(J.value), 1)
307
+ s("div", as, o(q.value), 1)
284
308
  ])
285
- ])) : (i(), c("div", ns, [
309
+ ])) : (i(), r("div", ns, [
286
310
  s("div", us, [
287
311
  s("div", null, o(t(a)("measure.angleLabel")), 1),
288
- s("div", is, o(y.value ? y.value.toFixed(2) + "°" : "~"), 1)
312
+ s("div", is, o(g.value ? g.value.toFixed(2) + "°" : "~"), 1)
289
313
  ])
290
314
  ])),
291
- s("div", cs, [
292
- s("span", { onClick: fe }, o(t(a)("measure.clearAll")), 1),
315
+ s("div", rs, [
316
+ s("span", { onClick: ge }, o(t(a)("measure.clearAll")), 1),
293
317
  s("span", { onClick: L }, o(t(a)("setting.title")), 1)
294
318
  ])
295
319
  ]))
@@ -299,25 +323,25 @@ const We = {
299
323
  He(s("div", {
300
324
  id: "measure_mouseGroup",
301
325
  class: "mouse_group",
302
- style: re({ left: `${p.value}px`, top: `${g.value}px` })
326
+ style: ce({ left: `${p.value}px`, top: `${f.value}px` })
303
327
  }, [
304
328
  s("img", {
305
329
  id: "mouse_icon",
306
330
  class: "mouse_icon",
307
331
  src: `${t(w)}/industry-viewer/mouse-icon.svg`
308
- }, null, 8, Bs),
332
+ }, null, 8, As),
309
333
  s("img", {
310
334
  id: "mouse_img",
311
335
  class: "mouse_img",
312
336
  src: `${t(w)}/industry-viewer/mouse-active-large.svg`
313
337
  }, null, 8, Is)
314
338
  ], 4), [
315
- [qe, M.value]
339
+ [Qe, b.value]
316
340
  ])
317
341
  ], 64);
318
342
  };
319
343
  }
320
- }), Ls = /* @__PURE__ */ ze(Es, [["__scopeId", "data-v-fcef3ec9"]]);
344
+ }), Ls = /* @__PURE__ */ ze(Es, [["__scopeId", "data-v-8d960f1a"]]);
321
345
  export {
322
346
  Ls as default
323
347
  };
@@ -1,35 +1,38 @@
1
- import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, openBlock as M, createElementBlock as $, withDirectives as F, createElementVNode as g, normalizeStyle as D, unref as L, vShow as N } from "vue";
2
- import { o as R, q as s, O as V, V as k } from "./index-Dsq1epCY.mjs";
3
- const U = { class: "mouse_tool" }, q = ["src"], z = ["src"], J = /* @__PURE__ */ Y({
1
+ import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, openBlock as M, createElementBlock as $, withDirectives as D, createElementVNode as p, normalizeStyle as F, unref as V, vShow as N } from "vue";
2
+ import { B as R, D as s, O as L, Q as U, V as k } from "./index-BDupeKSG.mjs";
3
+ const z = { class: "mouse_tool" }, P = ["src"], Q = ["src"], J = /* @__PURE__ */ Y({
4
4
  __name: "MouseTool",
5
5
  props: ["componentId"],
6
6
  setup(O) {
7
- const p = R(), y = O;
7
+ const y = R(), w = O;
8
8
  x(() => {
9
- p.setReadyById(y.componentId), document.getElementById("top_bar");
9
+ y.setReadyById(w.componentId), document.getElementById("top_bar");
10
10
  });
11
11
  let t;
12
- const w = () => {
13
- t = window.bimViewer, t.eventTrigger.on("pickedNothing", () => {
14
- l.value = !1;
12
+ const E = () => {
13
+ t = window.bimViewer, U({
14
+ event: "pickedNothing",
15
+ handler: () => {
16
+ l.value = !1;
17
+ }
15
18
  }), t.viewer.cameraControl.on("touchmoveCanvas", () => {
16
19
  o = !1, n = "";
17
20
  });
18
21
  };
19
- s.on("BimViewer", w);
20
- const E = () => {
22
+ s.on("BimViewer", E);
23
+ const g = () => {
21
24
  l.value = !1, o = !1;
22
- }, T = () => {
25
+ }, j = () => {
23
26
  };
24
- s.on("unFocus", E), s.on("multiSelect", T), A(() => {
25
- s.off("BimViewer", w), s.off("unFocus", E);
27
+ s.on("unFocus", g), s.on("multiSelect", j), A(() => {
28
+ s.off("BimViewer", E), s.off("unFocus", g);
26
29
  });
27
30
  const c = _(290), i = _(300), l = _(!1);
28
31
  let d = !1, o = !1, r = 0, a = 0, m = 0, v = 0;
29
32
  C(
30
- () => p.isToolActive(y.componentId),
33
+ () => y.isToolActive(w.componentId),
31
34
  (e) => {
32
- e ? j() : (o = !1, d = !1, r = 0, a = 0, m = 0, v = 0, X());
35
+ e ? T() : (o = !1, d = !1, r = 0, a = 0, m = 0, v = 0, X());
33
36
  }
34
37
  );
35
38
  let n = "";
@@ -37,42 +40,42 @@ const U = { class: "mouse_tool" }, q = ["src"], z = ["src"], J = /* @__PURE__ */
37
40
  o || e.touches.length == 1 && (d = !0, r = e.touches[0].clientX, a = e.touches[0].clientY), setTimeout(function() {
38
41
  e.preventDefault();
39
42
  }, 300);
40
- }, I = (e) => {
43
+ }, B = (e) => {
41
44
  o && (l.value = !0, s.emit("focusEntity", n));
42
- }, b = (e) => {
45
+ }, I = (e) => {
43
46
  if (d && e.touches.length == 1) {
44
- const f = e.touches[0].clientX, B = e.touches[0].clientY;
45
- m = f - r, v = B - a, c.value += m, i.value += v;
47
+ const f = e.touches[0].clientX, b = e.touches[0].clientY;
48
+ m = f - r, v = b - a, c.value += m, i.value += v;
46
49
  let h = new Int16Array(2);
47
50
  h[0] = c.value + 5, h[1] = i.value + 6;
48
51
  const u = t.viewer.scene.pick({
49
52
  canvasPos: h
50
53
  });
51
- u ? (o = !0, n !== u.entity.id && (n = u.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(u.entity))) : (o = !1, n = "", t.setAllObjectsSelected(!1)), k.entityState.selectedObjectIds.length > 0 && t.setObjectsSelected(k.entityState.selectedObjectIds, !0), r = f, a = B;
54
+ u ? (o = !0, n !== u.entity.id && (n = u.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(u.entity))) : (o = !1, n = "", t.setAllObjectsSelected(!1)), k.entityState.selectedObjectIds.length > 0 && t.setObjectsSelected(k.entityState.selectedObjectIds, !0), r = f, a = b;
52
55
  }
53
- }, j = () => {
56
+ }, T = () => {
54
57
  const e = document.getElementById("mouseGroup");
55
- e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove", b), e == null || e.addEventListener("click", I), c.value = 290, i.value = 300;
58
+ e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove", I), e == null || e.addEventListener("click", B), c.value = 290, i.value = 300;
56
59
  }, X = () => {
57
60
  const e = document.getElementById("mouseGroup");
58
- e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", b), e == null || e.removeEventListener("click", I);
61
+ e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", I), e == null || e.removeEventListener("click", B);
59
62
  };
60
- return (e, f) => (M(), $("div", U, [
61
- F(g("div", {
63
+ return (e, f) => (M(), $("div", z, [
64
+ D(p("div", {
62
65
  id: "mouseGroup",
63
66
  class: "mouse_group",
64
- style: D({ left: `${c.value}px`, top: `${i.value}px` })
67
+ style: F({ left: `${c.value}px`, top: `${i.value}px` })
65
68
  }, [
66
- g("img", {
69
+ p("img", {
67
70
  id: "mouse_icon",
68
71
  class: "mouse_icon",
69
- src: `${L(V)}/industry-viewer/mouse-icon.svg`
70
- }, null, 8, q),
71
- g("img", {
72
+ src: `${V(L)}/industry-viewer/mouse-icon.svg`
73
+ }, null, 8, P),
74
+ p("img", {
72
75
  id: "mouse_img",
73
76
  class: "mouse_img",
74
- src: `${L(V)}/industry-viewer/mouse-active-large.svg`
75
- }, null, 8, z)
77
+ src: `${V(L)}/industry-viewer/mouse-active-large.svg`
78
+ }, null, 8, Q)
76
79
  ], 4), [
77
80
  [N, !l.value]
78
81
  ])
@@ -1,12 +1,12 @@
1
- import { defineComponent as b, onMounted as p, ref as w, openBlock as n, createElementBlock as i, createElementVNode as s, Fragment as g, renderList as f, unref as a, normalizeClass as h, toDisplayString as I } from "vue";
2
- import { n as N, o as S, O as T } from "./index-Dsq1epCY.mjs";
3
- import { N as k } from "./const-DOnRsYpZ.mjs";
4
- const B = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onClick"], y = { class: "best-view-icon" }, A = ["src"], C = { class: "best-view-name" }, R = /* @__PURE__ */ b({
1
+ import { defineComponent as b, onMounted as p, ref as w, openBlock as n, createElementBlock as i, createElementVNode as s, Fragment as g, renderList as f, unref as a, normalizeClass as h, toDisplayString as B } from "vue";
2
+ import { A as I, B as N, O as S } from "./index-BDupeKSG.mjs";
3
+ import { N as T } from "./bimTools-D3TraX9d.mjs";
4
+ const k = { class: "best-view-box" }, A = { class: "best-view-list" }, V = ["onClick"], x = { class: "best-view-icon" }, y = ["src"], C = { class: "best-view-name" }, R = /* @__PURE__ */ b({
5
5
  __name: "NavigateTool",
6
6
  props: ["componentId"],
7
7
  emits: ["emitHandler"],
8
8
  setup(r, { emit: c }) {
9
- const l = N(), d = S(), v = r;
9
+ const l = I(), d = N(), v = r;
10
10
  p(() => {
11
11
  d.setReadyById(v.componentId);
12
12
  });
@@ -26,23 +26,23 @@ const B = { class: "best-view-box" }, V = { class: "best-view-list" }, x = ["onC
26
26
  }
27
27
  });
28
28
  };
29
- return (t, E) => (n(), i("div", B, [
30
- s("div", V, [
31
- (n(!0), i(g, null, f(a(k), (e) => (n(), i("div", {
29
+ return (t, E) => (n(), i("div", k, [
30
+ s("div", A, [
31
+ (n(!0), i(g, null, f(a(T), (e) => (n(), i("div", {
32
32
  key: e.id,
33
33
  class: h(["best-view-item", {
34
34
  "best-view-item-active": o.value === e.id
35
35
  }]),
36
36
  onClick: (H) => u(e)
37
37
  }, [
38
- s("div", y, [
38
+ s("div", x, [
39
39
  s("img", {
40
- src: a(T) + `/bim-viewer/best-view/${o.value === e.id ? e.imgActive : e.img}.svg`,
40
+ src: a(S) + `/bim-viewer/best-view/${o.value === e.id ? e.imgActive : e.img}.svg`,
41
41
  alt: ""
42
- }, null, 8, A),
43
- s("div", C, I(a(l)(e.label || e.name)), 1)
42
+ }, null, 8, y),
43
+ s("div", C, B(a(l)(e.label || e.name)), 1)
44
44
  ])
45
- ], 10, x))), 128))
45
+ ], 10, V))), 128))
46
46
  ])
47
47
  ]));
48
48
  }
@@ -1,8 +1,8 @@
1
- import { T as o, x as r } from "./index-Dsq1epCY.mjs";
1
+ import { H as r, T as o } from "./index-BDupeKSG.mjs";
2
2
  import { defineComponent as c, ref as u, onMounted as p, openBlock as m, createBlock as h, unref as l, withCtx as _, createElementVNode as e, normalizeStyle as g, toDisplayString as f, createVNode as w, renderSlot as k } from "vue";
3
3
  import { ElDialog as v } from "element-plus";
4
4
  const y = { class: "panel_top" }, T = { class: "panel_title" }, V = { class: "panel_close" }, S = { class: "panel_content" }, C = /* @__PURE__ */ c({
5
- __name: "panel",
5
+ __name: "Panel",
6
6
  props: {
7
7
  panelTitle: {
8
8
  type: String,