@xtctwins/tctwins-bimx-engine 0.3.2 → 0.3.4

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