@xtctwins/tctwins-bimx-engine 0.2.49 → 0.2.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +193 -193
  2. package/dist/{AnnotationTool-BIQYccLV.mjs → AnnotationTool-ClUqfSZp.mjs} +35 -35
  3. package/dist/BIMX_Viewer_Lib.es.js +3 -3
  4. package/dist/BIMX_Viewer_Lib.umd.js +130 -138
  5. package/dist/{CommentTool-CTH0u76a.mjs → CommentTool-DcAcusOm.mjs} +168 -168
  6. package/dist/{HiddenTool-B1o4e4Mi.mjs → HiddenTool-D0kbPBtX.mjs} +13 -13
  7. package/dist/{InspectorTool-BnKwoEV6.mjs → InspectorTool-BMXg86Ow.mjs} +64 -64
  8. package/dist/{MeasureTool-DD0MQlVK.mjs → MeasureTool-CN4zNj6w.mjs} +22 -22
  9. package/dist/{MouseTool-B99s92wL.mjs → MouseTool-Dcp3UTRv.mjs} +15 -15
  10. package/dist/{NavigateTool-Bzni_edr.mjs → NavigateTool-TVHCkKRU.mjs} +13 -13
  11. package/dist/{RoamTool-BnF-1cl2.mjs → RoamTool-CkYHH7aP.mjs} +17 -17
  12. package/dist/ScreenShotTool-DC4RyElm.mjs +500 -0
  13. package/dist/{SectionTool-DJjxjkhi.mjs → SectionTool-Vn7purnG.mjs} +43 -43
  14. package/dist/SettingTool-DWoeF-dC.mjs +815 -0
  15. package/dist/StructureTree-DZ0gUacM.mjs +1846 -0
  16. package/dist/{alert-BMV9n7SQ.mjs → alert-BkyuKyki.mjs} +9 -9
  17. package/dist/el-input-number-CUWk0tiM.mjs +1169 -0
  18. package/dist/{index-BaDPCrAt.mjs → index-CBXvm6RA.mjs} +51711 -47848
  19. package/dist/index.html +17 -17
  20. package/dist/{panel.vue_vue_type_style_index_0_lang-oT_Sff-F.mjs → panel.vue_vue_type_style_index_0_lang-IOvVcvu7.mjs} +3 -3
  21. package/dist/style.css +1 -1
  22. package/dist/{tallPanel-DojXnxix.mjs → tallPanel-HBoW6JCm.mjs} +15 -15
  23. package/package.json +2 -2
  24. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
  25. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
  26. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
  27. package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
  28. package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
  29. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
  30. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
  31. package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
  32. package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
  33. package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
  34. package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
  35. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
  36. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  37. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
  38. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  39. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
  40. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  41. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
  42. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
  43. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  44. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +478 -1
  45. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +499 -7
  46. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
  47. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  48. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  49. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  50. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  51. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
  52. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +4026 -1
  53. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  54. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +18 -1
  55. package/types/components/BimxViewerComp.vue.d.ts +7 -14
  56. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
  57. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
  58. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +499 -7
  59. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +478 -1
  60. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
  61. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
  62. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
  63. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -7
  64. package/types/components/bimxViewer.vue.d.ts +7 -14
  65. package/types/components/utilsComponents/alert.vue.d.ts +1 -1
  66. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  67. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  68. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  69. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  70. package/types/components/utilsComponents/panel.vue.d.ts +8 -2
  71. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  72. package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
  73. package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
  74. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
  75. package/types/pages/BimxViewerEntry.vue.d.ts +5 -57
  76. package/types/pages/viewerEntry.vue.d.ts +7 -57
  77. package/types/store/initConfigs.d.ts +1 -1
  78. package/types/store/toolbars.d.ts +46 -46
  79. package/dist/ScreenShotTool-CSBJzyDd.mjs +0 -357
  80. package/dist/SettingTool-D2qksFZK.mjs +0 -657
  81. package/dist/StructureTree-DrLo9Bch.mjs +0 -1583
  82. package/dist/el-input-number-BOQOKzK0.mjs +0 -818
  83. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
  84. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
  85. package/types/tests/cmt.d.ts +0 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as ne, ref as o, openBlock as n, createElementBlock as c, createElementVNode as e, unref as s, toDisplayString as a, withModifiers as Z, Fragment as G, renderList as Q, createCommentVNode as A, createVNode as V, withCtx as ce, toRefs as Pe, onMounted as me, watch as re, normalizeStyle as ee, createTextVNode as de, createBlock as oe, withDirectives as ye, vShow as we, onBeforeUnmount as fe, normalizeClass as ue } from "vue";
2
- import { O as P, y as ie, I as be, n as ae, J as Ie, K as xe, L as Te, v as pe, M as De, N as ge, P as ve, Q as _e, p as q, R as $e, t as ke, H as Be, S as Me, U as Oe, W as ze, q as K, F as Ee, G as Re, o as Ce } from "./index-BaDPCrAt.mjs";
1
+ import { defineComponent as ne, ref as o, createElementBlock as c, openBlock as n, createElementVNode as e, unref as s, toDisplayString as a, createCommentVNode as A, createVNode as K, withModifiers as Z, Fragment as G, renderList as j, withCtx as ce, toRefs as Be, onMounted as me, watch as re, normalizeStyle as ee, createBlock as oe, createTextVNode as de, withDirectives as ye, vShow as we, onBeforeUnmount as fe, normalizeClass as ue } from "vue";
2
+ import { O as B, I as ie, U as be, A as ae, G as pe, W as Ie, X as xe, Y as Te, Z as De, $ as ge, a0 as ve, a1 as _e, C as Q, F as ke, a2 as $e, S as Pe, a3 as Me, a4 as Oe, a5 as ze, Q as Ee, R as Re, D as X, B as Ce } from "./index-CBXvm6RA.mjs";
3
3
  import { C as Se, F as Ne, L as Fe, T as Ue } from "./const-DOnRsYpZ.mjs";
4
4
  import { T as Ae } from "./timer-DoTiGoWP.mjs";
5
5
  const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src"], Je = { class: "text" }, Ze = /* @__PURE__ */ ne({
@@ -10,19 +10,19 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
10
10
  return (p, v) => (n(), c("div", He, [
11
11
  e("div", We, [
12
12
  e("img", {
13
- src: `${s(P)}/bim-viewer/prompt-${U.value}.svg`
13
+ src: `${s(B)}/bim-viewer/prompt-${U.value}.svg`
14
14
  }, null, 8, Ye),
15
15
  e("div", Je, a(h.value), 1)
16
16
  ])
17
17
  ]));
18
18
  }
19
- }), Ge = /* @__PURE__ */ ie(Ze, [["__scopeId", "data-v-72fc7693"]]), Ke = {
19
+ }), Ge = /* @__PURE__ */ ie(Ze, [["__scopeId", "data-v-c9f53f5c"]]), Xe = {
20
20
  key: 0,
21
21
  class: "mobile-cmt-filter-container"
22
- }, Ve = {
22
+ }, Ke = {
23
23
  key: 0,
24
24
  class: "search-container"
25
- }, Xe = { class: "search-header" }, qe = { class: "title" }, Qe = ["src"], je = { class: "search-body" }, et = { class: "search-list" }, tt = { class: "item-left" }, st = { class: "title" }, ot = { class: "item-right" }, lt = { class: "item-value" }, nt = { class: "item-img" }, it = ["src"], at = { class: "item-left" }, ct = { class: "title" }, rt = { class: "item-right" }, ut = { class: "item-value" }, dt = { class: "item-img" }, mt = ["src"], vt = { class: "item-left" }, _t = { class: "title" }, pt = { class: "item-right" }, ht = { class: "item-value" }, gt = { class: "item-img" }, ft = ["src"], bt = { class: "item-left" }, kt = { class: "title" }, Ct = { class: "item-right" }, $t = { class: "item-value" }, yt = { class: "item-img" }, wt = ["src"], It = { class: "item-left" }, xt = { class: "title" }, Tt = { class: "item-right" }, Dt = { class: "item-tags" }, St = { class: "item-img" }, Lt = ["src"], Pt = { class: "search-footer" }, Bt = { class: "search-btn-group" }, Mt = {
25
+ }, Ve = { class: "search-header" }, Qe = { class: "title" }, je = ["src"], qe = { class: "search-body" }, et = { class: "search-list" }, tt = { class: "item-left" }, st = { class: "title" }, ot = { class: "item-right" }, lt = { class: "item-value" }, nt = { class: "item-img" }, it = ["src"], at = { class: "item-left" }, ct = { class: "title" }, rt = { class: "item-right" }, ut = { class: "item-value" }, dt = { class: "item-img" }, mt = ["src"], vt = { class: "item-left" }, _t = { class: "title" }, pt = { class: "item-right" }, ht = { class: "item-value" }, gt = { class: "item-img" }, ft = ["src"], bt = { class: "item-left" }, kt = { class: "title" }, Ct = { class: "item-right" }, $t = { class: "item-value" }, yt = { class: "item-img" }, wt = ["src"], It = { class: "item-left" }, xt = { class: "title" }, Tt = { class: "item-right" }, Dt = { class: "item-tags" }, St = { class: "item-img" }, Lt = ["src"], Bt = { class: "search-footer" }, Pt = { class: "search-btn-group" }, Mt = {
26
26
  key: 1,
27
27
  class: "filter-container"
28
28
  }, Ot = { class: "filter-header" }, zt = { class: "title" }, Et = ["src"], Rt = { class: "filter-body" }, Nt = {
@@ -37,10 +37,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
37
37
  }, Zt = {
38
38
  key: 1,
39
39
  class: "filter-list"
40
- }, Gt = ["onClick"], Kt = { class: "item-left" }, Vt = { class: "title" }, Xt = { class: "item-right" }, qt = {
40
+ }, Gt = ["onClick"], Xt = { class: "item-left" }, Kt = { class: "title" }, Vt = { class: "item-right" }, Qt = {
41
41
  key: 0,
42
42
  class: "check-selected"
43
- }, Qt = ["src"], jt = {
43
+ }, jt = ["src"], qt = {
44
44
  key: 1,
45
45
  class: "check-select"
46
46
  }, es = {
@@ -70,10 +70,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
70
70
  }), z = o(), D = o(""), M = o(""), u = o(""), k = o([]), I = (t) => {
71
71
  switch (D.value = t, t) {
72
72
  case "priority":
73
- M.value = h("mobileComments.filter.priority"), k.value = Te, u.value = i.value.cmt_priority, v.value = !1, y.value = !0;
73
+ M.value = h("mobileComments.filter.priority"), k.value = De, u.value = i.value.cmt_priority, v.value = !1, y.value = !0;
74
74
  break;
75
75
  case "status":
76
- M.value = h("mobileComments.filter.status"), k.value = xe, u.value = i.value.cmt_status, v.value = !1, y.value = !0;
76
+ M.value = h("mobileComments.filter.status"), k.value = Te, u.value = i.value.cmt_status, v.value = !1, y.value = !0;
77
77
  break;
78
78
  case "createDate":
79
79
  z.value.handleOpen();
@@ -82,7 +82,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
82
82
  M.value = h("mobileComments.filter.author"), k.value = w.value, u.value = i.value.cmt_authorId, v.value = !1, y.value = !0;
83
83
  break;
84
84
  case "tag":
85
- M.value = h("mobileComments.filter.tag"), k.value = Ie, u.value = i.value.cmt_tag, v.value = !1, y.value = !0;
85
+ M.value = h("mobileComments.filter.tag"), k.value = xe, u.value = i.value.cmt_tag, v.value = !1, y.value = !0;
86
86
  break;
87
87
  }
88
88
  }, C = (t) => {
@@ -146,23 +146,23 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
146
146
  };
147
147
  }
148
148
  }), (t, l) => {
149
- const x = pe, B = De;
150
- return p.value ? (n(), c("div", Ke, [
151
- v.value ? (n(), c("div", Ve, [
152
- e("div", Xe, [
153
- e("div", qe, a(s(h)("mobileComments.filter.title")), 1),
149
+ const x = pe, P = Ie;
150
+ return p.value ? (n(), c("div", Xe, [
151
+ v.value ? (n(), c("div", Ke, [
152
+ e("div", Ve, [
153
+ e("div", Qe, a(s(h)("mobileComments.filter.title")), 1),
154
154
  e("div", {
155
155
  class: "close-box",
156
156
  onClick: Z(H, ["stop"])
157
157
  }, [
158
158
  e("img", {
159
159
  class: "close-img",
160
- src: `${s(P)}/bim-viewer/close_black.png`,
160
+ src: `${s(B)}/bim-viewer/close_black.png`,
161
161
  alt: ""
162
- }, null, 8, Qe)
162
+ }, null, 8, je)
163
163
  ])
164
164
  ]),
165
- e("div", je, [
165
+ e("div", qe, [
166
166
  e("div", et, [
167
167
  e("div", {
168
168
  class: "search-item",
@@ -176,7 +176,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
176
176
  e("div", nt, [
177
177
  e("img", {
178
178
  class: "img",
179
- src: `${s(P)}/bim-viewer/bcf-images/back-right-gray.png`,
179
+ src: `${s(B)}/bim-viewer/bcf-images/back-right-gray.png`,
180
180
  alt: ""
181
181
  }, null, 8, it)
182
182
  ])
@@ -194,7 +194,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
194
194
  e("div", dt, [
195
195
  e("img", {
196
196
  class: "img",
197
- src: `${s(P)}/bim-viewer/bcf-images/back-right-gray.png`,
197
+ src: `${s(B)}/bim-viewer/bcf-images/back-right-gray.png`,
198
198
  alt: ""
199
199
  }, null, 8, mt)
200
200
  ])
@@ -212,7 +212,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
212
212
  e("div", gt, [
213
213
  e("img", {
214
214
  class: "img",
215
- src: `${s(P)}/bim-viewer/bcf-images/back-right-gray.png`,
215
+ src: `${s(B)}/bim-viewer/bcf-images/back-right-gray.png`,
216
216
  alt: ""
217
217
  }, null, 8, ft)
218
218
  ])
@@ -230,7 +230,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
230
230
  e("div", yt, [
231
231
  e("img", {
232
232
  class: "img",
233
- src: `${s(P)}/bim-viewer/bcf-images/back-right-gray.png`,
233
+ src: `${s(B)}/bim-viewer/bcf-images/back-right-gray.png`,
234
234
  alt: ""
235
235
  }, null, 8, wt)
236
236
  ])
@@ -245,7 +245,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
245
245
  ]),
246
246
  e("div", Tt, [
247
247
  e("div", Dt, [
248
- (n(!0), c(G, null, Q(i.value.cmt_tag, (_, d) => (n(), c("div", {
248
+ (n(!0), c(G, null, j(i.value.cmt_tag, (_, d) => (n(), c("div", {
249
249
  key: d,
250
250
  class: "tag"
251
251
  }, a(_), 1))), 128))
@@ -253,7 +253,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
253
253
  e("div", St, [
254
254
  e("img", {
255
255
  class: "img",
256
- src: `${s(P)}/bim-viewer/bcf-images/back-right-gray.png`,
256
+ src: `${s(B)}/bim-viewer/bcf-images/back-right-gray.png`,
257
257
  alt: ""
258
258
  }, null, 8, Lt)
259
259
  ])
@@ -261,8 +261,8 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
261
261
  ])
262
262
  ])
263
263
  ]),
264
- e("div", Pt, [
265
- e("div", Bt, [
264
+ e("div", Bt, [
265
+ e("div", Pt, [
266
266
  e("div", {
267
267
  class: "search-btn btn-cancel",
268
268
  onClick: Z(R, ["stop"])
@@ -283,16 +283,16 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
283
283
  }, [
284
284
  e("img", {
285
285
  class: "close-img",
286
- src: `${s(P)}/bim-viewer/close_black.png`,
286
+ src: `${s(B)}/bim-viewer/close_black.png`,
287
287
  alt: ""
288
288
  }, null, 8, Et)
289
289
  ])
290
290
  ]),
291
291
  e("div", Rt, [
292
- V(x, null, {
292
+ K(x, null, {
293
293
  default: ce(() => [
294
294
  D.value === "authorId" ? (n(), c("div", Nt, [
295
- (n(!0), c(G, null, Q(k.value, (_, d) => (n(), c("div", {
295
+ (n(!0), c(G, null, j(k.value, (_, d) => (n(), c("div", {
296
296
  key: d,
297
297
  class: "filter-item",
298
298
  onClick: Z(($) => C(_), ["stop"])
@@ -304,33 +304,33 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
304
304
  _.userId === u.value.key ? (n(), c("div", Wt, [
305
305
  e("img", {
306
306
  class: "select-img",
307
- src: `${s(P)}/bim-viewer/check-selected.png`,
307
+ src: `${s(B)}/bim-viewer/check-selected.png`,
308
308
  alt: ""
309
309
  }, null, 8, Yt)
310
310
  ])) : (n(), c("div", Jt))
311
311
  ])
312
312
  ], 8, Ft))), 128))
313
313
  ])) : D.value === "tag" ? (n(), c("div", Zt, [
314
- (n(!0), c(G, null, Q(k.value, (_, d) => (n(), c("div", {
314
+ (n(!0), c(G, null, j(k.value, (_, d) => (n(), c("div", {
315
315
  key: d,
316
316
  class: "filter-item",
317
317
  onClick: Z(($) => C(_), ["stop"])
318
318
  }, [
319
- e("div", Kt, [
320
- e("div", Vt, a(_), 1)
321
- ]),
322
319
  e("div", Xt, [
323
- u.value.includes(_) ? (n(), c("div", qt, [
320
+ e("div", Kt, a(_), 1)
321
+ ]),
322
+ e("div", Vt, [
323
+ u.value.includes(_) ? (n(), c("div", Qt, [
324
324
  e("img", {
325
325
  class: "select-img",
326
- src: `${s(P)}/bim-viewer/check-selected.png`,
326
+ src: `${s(B)}/bim-viewer/check-selected.png`,
327
327
  alt: ""
328
- }, null, 8, Qt)
329
- ])) : (n(), c("div", jt))
328
+ }, null, 8, jt)
329
+ ])) : (n(), c("div", qt))
330
330
  ])
331
331
  ], 8, Gt))), 128))
332
332
  ])) : (n(), c("div", es, [
333
- (n(!0), c(G, null, Q(k.value, (_, d) => (n(), c("div", {
333
+ (n(!0), c(G, null, j(k.value, (_, d) => (n(), c("div", {
334
334
  key: d,
335
335
  class: "filter-item",
336
336
  onClick: Z(($) => C(_), ["stop"])
@@ -342,7 +342,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
342
342
  _ === u.value ? (n(), c("div", ns, [
343
343
  e("img", {
344
344
  class: "select-img",
345
- src: `${s(P)}/bim-viewer/check-selected.png`,
345
+ src: `${s(B)}/bim-viewer/check-selected.png`,
346
346
  alt: ""
347
347
  }, null, 8, is)
348
348
  ])) : (n(), c("div", as))
@@ -360,7 +360,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
360
360
  }, a(s(h)("common.confirm")), 1)
361
361
  ])
362
362
  ])) : A("", !0),
363
- V(B, {
363
+ K(P, {
364
364
  ref_key: "cmtCreateDateRef",
365
365
  ref: z,
366
366
  modelValue: i.value.cmt_createDate,
@@ -383,7 +383,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
383
383
  }), us = /* @__PURE__ */ ie(rs, [["__scopeId", "data-v-3f21c922"]]), ds = { class: "mobile_CMT_search" }, ms = { class: "search_icon" }, vs = ["src"], _s = { class: "mobile_CMT_table_list" }, ps = { class: "table_list_title" }, hs = { class: "sort_buttons" }, gs = ["src"], fs = ["src"], bs = ["src"], ks = { class: "sort_total" }, Cs = ["src"], $s = ["src"], ys = {
384
384
  key: 0,
385
385
  class: "table_list_content"
386
- }, ws = { class: "table_list" }, Is = ["onClick"], xs = { class: "CMT_img" }, Ts = { class: "CMT_info" }, Ds = { class: "CMT_info1" }, Ss = { class: "title" }, Ls = { class: "CMT_info2" }, Ps = { class: "username" }, Bs = {
386
+ }, ws = { class: "table_list" }, Is = ["onClick"], xs = { class: "CMT_img" }, Ts = { class: "CMT_info" }, Ds = { class: "CMT_info1" }, Ss = { class: "title" }, Ls = { class: "CMT_info2" }, Bs = { class: "username" }, Ps = {
387
387
  key: 1,
388
388
  class: "empty_wrapper"
389
389
  }, Ms = /* @__PURE__ */ ne({
@@ -394,7 +394,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
394
394
  },
395
395
  emits: ["checkCmtDetail"],
396
396
  setup(W, { emit: Y }) {
397
- const U = Y, h = be(), p = W, { CMTList: v } = Pe(p), y = ae(), w = o([]), i = o(), E = {
397
+ const U = Y, h = be(), p = W, { CMTList: v } = Be(p), y = ae(), w = o([]), i = o(), E = {
398
398
  indexSort: ["default", "down", "up"],
399
399
  titleSort: ["default", "down", "up"],
400
400
  timeSort: ["default", "down", "up"]
@@ -423,34 +423,34 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
423
423
  u.value == "" ? T() : w.value = i.value.filter((t) => t.title.includes(u.value));
424
424
  }, b = (t) => {
425
425
  if (t > 2 && (k.value = 0), t == 1) {
426
- let l = i.value.slice().sort((x, B) => B.index - x.index);
426
+ let l = i.value.slice().sort((x, P) => P.index - x.index);
427
427
  w.value = l, O.value = !1;
428
428
  } else if (t == 2) {
429
- let l = i.value.slice().sort((x, B) => x.index - B.index);
429
+ let l = i.value.slice().sort((x, P) => x.index - P.index);
430
430
  w.value = l;
431
431
  } else
432
432
  T();
433
433
  I.value = 0, C.value = 0;
434
434
  }, g = (t) => {
435
435
  if (t > 2 && (I.value = 0), t == 1) {
436
- let l = i.value.slice().sort((x, B) => B.title.localeCompare(x.title));
436
+ let l = i.value.slice().sort((x, P) => P.title.localeCompare(x.title));
437
437
  w.value = l;
438
438
  } else if (t == 2) {
439
- let l = i.value.slice().sort((x, B) => x.title.localeCompare(B.title));
439
+ let l = i.value.slice().sort((x, P) => x.title.localeCompare(P.title));
440
440
  w.value = l;
441
441
  } else
442
442
  T();
443
443
  k.value = 0, C.value = 0;
444
444
  }, R = (t) => {
445
445
  if (t > 2 && (C.value = 0), t == 1) {
446
- let l = i.value.slice().sort((x, B) => {
447
- const _ = new Date(x.createDate), d = new Date(B.createDate);
446
+ let l = i.value.slice().sort((x, P) => {
447
+ const _ = new Date(x.createDate), d = new Date(P.createDate);
448
448
  return _ < d ? 1 : -1;
449
449
  });
450
450
  w.value = l;
451
451
  } else if (t == 2) {
452
- let l = i.value.slice().sort((x, B) => {
453
- const _ = new Date(x.createDate), d = new Date(B.createDate);
452
+ let l = i.value.slice().sort((x, P) => {
453
+ const _ = new Date(x.createDate), d = new Date(P.createDate);
454
454
  return _ > d ? 1 : -1;
455
455
  });
456
456
  w.value = l;
@@ -464,7 +464,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
464
464
  }
465
465
  });
466
466
  }, H = () => {
467
- var l, x, B;
467
+ var l, x, P;
468
468
  let t = D.value;
469
469
  if (!t && !(t != null && t.cmt_priority) && !(t != null && t.cmt_status) && !(t != null && t.cmt_createDate) && !((l = t == null ? void 0 : t.cmt_authorId) != null && l.key) && (!(t != null && t.cmt_tag) || (t == null ? void 0 : t.cmt_tag.length) == 0))
470
470
  T(), i.value = JSON.parse(JSON.stringify(v.value)).slice(), k.value + I.value + C.value != 0 && (k.value != 0 && b(k.value), I.value != 0 && g(I.value), C.value != 0 && R(C.value));
@@ -473,7 +473,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
473
473
  t.cmt_priority && (_ = _.filter((d) => d.priority && ge(d.priority) == t.cmt_priority), console.log(_.filter((d) => d.priority && ge(d.priority) == t.cmt_priority))), (x = t.cmt_authorId) != null && x.key && (_ = _.filter((d) => {
474
474
  var $, f, m;
475
475
  return typeof d.author == "string" ? ve.getStaffId(d.author) == (($ = t.cmt_authorId) == null ? void 0 : $.key) || ve.getStaffName((f = t.cmt_authorId) == null ? void 0 : f.key) == d.author : d.author == ((m = t.cmt_authorId) == null ? void 0 : m.key);
476
- })), t.cmt_status && (_ = _.filter((d) => d.status == t.cmt_status)), t.cmt_createDate && (_ = _.filter((d) => _e(d.createDate) == t.cmt_createDate)), (B = t.CMT_asignToId) != null && B.key && (_ = _.filter((d) => {
476
+ })), t.cmt_status && (_ = _.filter((d) => d.status == t.cmt_status)), t.cmt_createDate && (_ = _.filter((d) => _e(d.createDate) == t.cmt_createDate)), (P = t.CMT_asignToId) != null && P.key && (_ = _.filter((d) => {
477
477
  var $, f, m;
478
478
  return typeof d.assignedTo == "string" ? ve.getStaffId(d.assignedTo) == (($ = t.CMT_asignToId) == null ? void 0 : $.key) || ve.getStaffName((f = t.CMT_asignToId) == null ? void 0 : f.key) == d.assignedTo : d.assignedTo == ((m = t.CMT_asignToId) == null ? void 0 : m.key);
479
479
  })), t.cmt_tag && t.cmt_tag.length > 0 && (_ = _.filter((d) => !!(d.tags && d.tags.find(($) => {
@@ -481,23 +481,23 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
481
481
  return (f = t.cmt_tag) == null ? void 0 : f.includes($);
482
482
  })))), i.value = _, k.value + I.value + C.value != 0 ? (k.value != 0 && b(k.value), I.value != 0 && g(I.value), C.value != 0 && R(C.value)) : w.value = i.value.slice().sort((d, $) => $.index - d.index);
483
483
  }
484
- }, j = (t) => {
484
+ }, q = (t) => {
485
485
  U("checkCmtDetail", t);
486
486
  };
487
487
  return (t, l) => {
488
- const x = ke, B = pe, _ = Be, d = us;
488
+ const x = ke, P = pe, _ = Pe, d = us;
489
489
  return n(), c("div", {
490
490
  class: "cmt_wrapper",
491
- style: ee({ top: `${(s(q)("topHeight") + 52) / 50}rem` })
491
+ style: ee({ top: `${(s(Q)("topHeight") + 52) / 50}rem` })
492
492
  }, [
493
493
  e("div", ds, [
494
494
  e("div", ms, [
495
495
  e("img", {
496
- src: s(P) + "/bim-viewer/search.png",
496
+ src: s(B) + "/bim-viewer/search.png",
497
497
  alt: ""
498
498
  }, null, 8, vs)
499
499
  ]),
500
- V(x, {
500
+ K(x, {
501
501
  modelValue: u.value,
502
502
  "onUpdate:modelValue": l[0] || (l[0] = ($) => u.value = $),
503
503
  placeholder: s(y)("common.placeholder_search"),
@@ -515,7 +515,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
515
515
  e("span", null, a(s(y)("bcf.index")), 1),
516
516
  e("img", {
517
517
  class: "order_icon",
518
- src: `${s(P)}/bim-viewer/bcf-images/order-${E.indexSort[k.value]}.png`,
518
+ src: `${s(B)}/bim-viewer/bcf-images/order-${E.indexSort[k.value]}.png`,
519
519
  alt: ""
520
520
  }, null, 8, gs)
521
521
  ]),
@@ -526,7 +526,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
526
526
  e("span", null, a(s(y)("bcf.title")), 1),
527
527
  e("img", {
528
528
  class: "order_icon",
529
- src: `${s(P)}/bim-viewer/bcf-images/order-${E.titleSort[I.value]}.png`,
529
+ src: `${s(B)}/bim-viewer/bcf-images/order-${E.titleSort[I.value]}.png`,
530
530
  alt: ""
531
531
  }, null, 8, fs)
532
532
  ]),
@@ -537,7 +537,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
537
537
  e("span", null, a(s(y)("bcf.time")), 1),
538
538
  e("img", {
539
539
  class: "order_icon",
540
- src: `${s(P)}/bim-viewer/bcf-images/order-${E.timeSort[C.value]}.png`,
540
+ src: `${s(B)}/bim-viewer/bcf-images/order-${E.timeSort[C.value]}.png`,
541
541
  alt: ""
542
542
  }, null, 8, bs)
543
543
  ])
@@ -550,12 +550,12 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
550
550
  M.value ? (n(), c("img", {
551
551
  key: 1,
552
552
  class: "order_filter_icon",
553
- src: `${s(P)}/bim-viewer/bcf-images/order-active-mobile.png`,
553
+ src: `${s(B)}/bim-viewer/bcf-images/order-active-mobile.png`,
554
554
  alt: ""
555
555
  }, null, 8, $s)) : (n(), c("img", {
556
556
  key: 0,
557
557
  class: "order_filter_icon",
558
- src: `${s(P)}/bim-viewer/bcf-images/order-default-mobile.png`,
558
+ src: `${s(B)}/bim-viewer/bcf-images/order-default-mobile.png`,
559
559
  alt: ""
560
560
  }, null, 8, Cs)),
561
561
  e("span", null, a(s(y)("mobileComments.filter.title")), 1)
@@ -563,13 +563,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
563
563
  ])
564
564
  ]),
565
565
  w.value && w.value.length > 0 ? (n(), c("div", ys, [
566
- V(B, null, {
566
+ K(P, null, {
567
567
  default: ce(() => [
568
568
  e("div", ws, [
569
- (n(!0), c(G, null, Q(w.value, ($, f) => (n(), c("div", {
569
+ (n(!0), c(G, null, j(w.value, ($, f) => (n(), c("div", {
570
570
  key: f,
571
571
  class: "CMT_card",
572
- onClick: Z((m) => j($._id), ["stop"])
572
+ onClick: Z((m) => q($._id), ["stop"])
573
573
  }, [
574
574
  e("div", xs, [
575
575
  e("div", {
@@ -594,7 +594,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
594
594
  e("span", Ss, a($.title), 1)
595
595
  ]),
596
596
  e("div", Ls, [
597
- e("span", Ps, a(typeof $.author == "string" && $.author != "" ? $.author : s(h).getStuffName($.userId)), 1),
597
+ e("span", Bs, a(typeof $.author == "string" && $.author != "" ? $.author : s(h).getStuffName($.userId)), 1),
598
598
  e("span", null, a($.createDate ? s(_e)($.createDate) : ""), 1)
599
599
  ])
600
600
  ])
@@ -603,14 +603,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
603
603
  ]),
604
604
  _: 1
605
605
  })
606
- ])) : (n(), c("div", Bs, [
607
- V(_, {
606
+ ])) : (n(), c("div", Ps, [
607
+ K(_, {
608
608
  title: s(y)("mobileComments.empty"),
609
609
  type: "model"
610
610
  }, null, 8, ["title"])
611
611
  ]))
612
612
  ]),
613
- V(d, {
613
+ K(d, {
614
614
  ref_key: "CMTFilterRef",
615
615
  ref: z
616
616
  }, null, 512)
@@ -643,7 +643,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
643
643
  ])
644
644
  ]));
645
645
  }
646
- }), Le = /* @__PURE__ */ ie(Es, [["__scopeId", "data-v-0a31700d"]]), Rs = { class: "content_scrollbar" }, Ns = { class: "cmt_detail_content" }, Fs = { class: "cmt_id_time" }, Us = { class: "snpshot_wrapper" }, As = { class: "snapshot_container" }, Hs = ["src"], Ws = ["src"], Ys = ["src"], Js = { class: "cmt_content" }, Zs = { class: "content" }, Gs = { class: "select_item" }, Ks = { class: "item_title" }, Vs = { class: "select_wrapper" }, Xs = { class: "select_item" }, qs = { class: "item_title" }, Qs = { class: "select_item" }, js = { class: "item_title" }, eo = { class: "select_wrapper" }, to = { class: "select_item" }, so = { class: "item_title" }, oo = {
646
+ }), Le = /* @__PURE__ */ ie(Es, [["__scopeId", "data-v-0a31700d"]]), Rs = { class: "content_scrollbar" }, Ns = { class: "cmt_detail_content" }, Fs = { class: "cmt_id_time" }, Us = { class: "snpshot_wrapper" }, As = { class: "snapshot_container" }, Hs = ["src"], Ws = ["src"], Ys = ["src"], Js = { class: "cmt_content" }, Zs = { class: "content" }, Gs = { class: "select_item" }, Xs = { class: "item_title" }, Ks = { class: "select_wrapper" }, Vs = { class: "select_item" }, Qs = { class: "item_title" }, js = { class: "select_item" }, qs = { class: "item_title" }, eo = { class: "select_wrapper" }, to = { class: "select_item" }, so = { class: "item_title" }, oo = {
647
647
  key: 0,
648
648
  class: "tag_list"
649
649
  }, lo = { class: "tag_span" }, no = {
@@ -679,10 +679,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
679
679
  return n(), c(G, null, [
680
680
  e("div", {
681
681
  class: "cmt_detail_wrapper",
682
- style: ee({ top: `${(s(q)("topHeight") + 52) / 50}rem` })
682
+ style: ee({ top: `${(s(Q)("topHeight") + 52) / 50}rem` })
683
683
  }, [
684
684
  e("div", Rs, [
685
- V(g, null, {
685
+ K(g, null, {
686
686
  default: ce(() => [
687
687
  e("div", Ns, [
688
688
  e("div", Fs, [
@@ -706,7 +706,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
706
706
  style: ee({ backgroundColor: s(Oe)(D.value) })
707
707
  }, [
708
708
  e("img", {
709
- src: s(P) + "/bim-viewer/bcf-images/bulb.png"
709
+ src: s(B) + "/bim-viewer/bcf-images/bulb.png"
710
710
  }, null, 8, Ws),
711
711
  e("span", null, a(D.value), 1)
712
712
  ], 4)) : A("", !0),
@@ -715,7 +715,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
715
715
  onClick: w
716
716
  }, [
717
717
  e("img", {
718
- src: s(P) + "/bim-viewer/annotations/zoomin.svg"
718
+ src: s(B) + "/bim-viewer/annotations/zoomin.svg"
719
719
  }, null, 8, Ys),
720
720
  de(" " + a(s(C)("common.view")), 1)
721
721
  ])
@@ -724,20 +724,20 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
724
724
  e("div", Js, [
725
725
  e("div", Zs, [
726
726
  e("div", Gs, [
727
- e("span", Ks, a(s(C)("bcf.status")), 1),
727
+ e("span", Xs, a(s(C)("bcf.status")), 1),
728
728
  b[2] || (b[2] = e("span", null, ":", -1)),
729
- e("div", Vs, a(D.value), 1)
729
+ e("div", Ks, a(D.value), 1)
730
730
  ]),
731
- e("div", Xs, [
732
- e("span", qs, a(s(C)("bcf.priority")), 1),
731
+ e("div", Vs, [
732
+ e("span", Qs, a(s(C)("bcf.priority")), 1),
733
733
  b[3] || (b[3] = e("span", null, ":", -1)),
734
734
  e("div", {
735
735
  class: "select_wrapper",
736
736
  style: ee({ color: s(ze)(z.value) })
737
737
  }, a(z.value), 5)
738
738
  ]),
739
- e("div", Qs, [
740
- e("span", js, a(s(C)("bcf.dueDate")), 1),
739
+ e("div", js, [
740
+ e("span", qs, a(s(C)("bcf.dueDate")), 1),
741
741
  b[4] || (b[4] = e("span", null, ":", -1)),
742
742
  e("div", eo, a(M.value), 1)
743
743
  ]),
@@ -745,7 +745,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
745
745
  e("span", so, a(s(C)("bcf.labels")), 1),
746
746
  b[5] || (b[5] = e("span", null, ":", -1)),
747
747
  k.value && k.value.length > 0 ? (n(), c("div", oo, [
748
- (n(!0), c(G, null, Q(k.value, (N, H) => (n(), c("div", {
748
+ (n(!0), c(G, null, j(k.value, (N, H) => (n(), c("div", {
749
749
  key: H,
750
750
  class: "tag"
751
751
  }, [
@@ -772,7 +772,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
772
772
  class: "backModel",
773
773
  onClick: b[0] || (b[0] = (N) => U("back"))
774
774
  }, a(s(C)("mobileComments.backToModel")), 1),
775
- s(q)("editPrivilege") == 0 ? (n(), c("div", {
775
+ s(Q)("editPrivilege") == 0 ? (n(), c("div", {
776
776
  key: 0,
777
777
  class: "delete",
778
778
  onClick: T
@@ -790,7 +790,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
790
790
  ], 64);
791
791
  };
792
792
  }
793
- }), vo = /* @__PURE__ */ ie(mo, [["__scopeId", "data-v-18a6bb74"]]), _o = { class: "image" }, po = { class: "fill" }, ho = { class: "screenshot" }, go = ["src"], fo = ["src"], bo = ["src"], ko = { class: "content" }, Co = { class: "select_item" }, $o = { class: "select_wrapper" }, yo = { class: "select_item" }, wo = { class: "select_wrapper" }, Io = { class: "select_item" }, xo = { class: "select_wrapper" }, To = { class: "select_item" }, Do = { class: "select_wrapper" }, So = { class: "select_item" }, Lo = { class: "select_wrapper" }, Po = { class: "select_item" }, Bo = { class: "select_wrapper" }, Mo = { class: "bottom" }, Oo = /* @__PURE__ */ ne({
793
+ }), vo = /* @__PURE__ */ ie(mo, [["__scopeId", "data-v-18a6bb74"]]), _o = { class: "image" }, po = { class: "fill" }, ho = { class: "screenshot" }, go = ["src"], fo = ["src"], bo = ["src"], ko = { class: "content" }, Co = { class: "select_item" }, $o = { class: "select_wrapper" }, yo = { class: "select_item" }, wo = { class: "select_wrapper" }, Io = { class: "select_item" }, xo = { class: "select_wrapper" }, To = { class: "select_item" }, Do = { class: "select_wrapper" }, So = { class: "select_item" }, Lo = { class: "select_wrapper" }, Bo = { class: "select_item" }, Po = { class: "select_wrapper" }, Mo = { class: "bottom" }, Oo = /* @__PURE__ */ ne({
794
794
  __name: "add",
795
795
  props: {
796
796
  imageData: {},
@@ -798,7 +798,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
798
798
  },
799
799
  emits: ["cancel", "emitHandler", "createNew"],
800
800
  setup(W, { emit: Y }) {
801
- const U = Y, h = W, p = o(h.imageData), v = ae(), y = o(!1), w = o(""), i = o(""), E = o(""), z = o(""), D = o(), M = o(""), u = o([]), k = o(Te), I = o(xe), C = o(Ie);
801
+ const U = Y, h = W, p = o(h.imageData), v = ae(), y = o(!1), w = o(""), i = o(""), E = o(""), z = o(""), D = o(), M = o(""), u = o([]), k = o(De), I = o(Te), C = o(xe);
802
802
  me(() => {
803
803
  const b = /* @__PURE__ */ new Date();
804
804
  let g = b.getDate(), R = b.getFullYear(), N = b.getMonth();
@@ -809,7 +809,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
809
809
  }, T = () => {
810
810
  y.value = !0;
811
811
  }, S = () => {
812
- i.value === "" ? K.emit("prompt", { type: "warn", text: v("bcf.messages.pleaseInputTitle") }) : U("createNew", {
812
+ i.value === "" ? X.emit("prompt", { type: "warn", text: v("bcf.messages.pleaseInputTitle") }) : U("createNew", {
813
813
  author: h.userId,
814
814
  title: i.value,
815
815
  priority: E.value,
@@ -822,11 +822,11 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
822
822
  });
823
823
  };
824
824
  return (b, g) => {
825
- const R = ke, N = Ee, H = Re, j = De, t = Le;
825
+ const R = ke, N = Re, H = Ee, q = Ie, t = Le;
826
826
  return n(), c(G, null, [
827
827
  e("div", {
828
828
  class: "comment_add",
829
- style: ee({ top: `${(s(q)("topHeight") + 52) / 50}rem` })
829
+ style: ee({ top: `${(s(Q)("topHeight") + 52) / 50}rem` })
830
830
  }, [
831
831
  e("div", _o, [
832
832
  e("div", po, [
@@ -840,7 +840,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
840
840
  onClick: O
841
841
  }, [
842
842
  e("img", {
843
- src: s(P) + "/bim-viewer/delete-white.svg"
843
+ src: s(B) + "/bim-viewer/delete-white.svg"
844
844
  }, null, 8, fo),
845
845
  de(" " + a(s(v)("common.edit")), 1)
846
846
  ]),
@@ -849,7 +849,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
849
849
  onClick: T
850
850
  }, [
851
851
  e("img", {
852
- src: s(P) + "/bim-viewer/annotations/zoomin.svg"
852
+ src: s(B) + "/bim-viewer/annotations/zoomin.svg"
853
853
  }, null, 8, bo),
854
854
  de(" " + a(s(v)("common.view")), 1)
855
855
  ])
@@ -862,7 +862,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
862
862
  g[7] || (g[7] = e("span", { style: { color: "#f54d4d" } }, "*", -1))
863
863
  ]),
864
864
  e("div", $o, [
865
- V(R, {
865
+ K(R, {
866
866
  modelValue: i.value,
867
867
  "onUpdate:modelValue": g[0] || (g[0] = (l) => i.value = l),
868
868
  placeholder: s(v)("common.placeholder_input")
@@ -872,14 +872,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
872
872
  e("div", yo, [
873
873
  e("span", null, a(s(v)("bcf.priority")), 1),
874
874
  e("div", wo, [
875
- V(H, {
875
+ K(H, {
876
876
  modelValue: E.value,
877
877
  "onUpdate:modelValue": g[1] || (g[1] = (l) => E.value = l),
878
878
  clearable: "",
879
879
  placeholder: s(v)("common.placeholder_select")
880
880
  }, {
881
881
  default: ce(() => [
882
- (n(!0), c(G, null, Q(k.value, (l, x) => (n(), oe(N, {
882
+ (n(!0), c(G, null, j(k.value, (l, x) => (n(), oe(N, {
883
883
  key: x,
884
884
  value: l
885
885
  }, null, 8, ["value"]))), 128))
@@ -891,14 +891,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
891
891
  e("div", Io, [
892
892
  e("span", null, a(s(v)("bcf.status")), 1),
893
893
  e("div", xo, [
894
- V(H, {
894
+ K(H, {
895
895
  modelValue: z.value,
896
896
  "onUpdate:modelValue": g[2] || (g[2] = (l) => z.value = l),
897
897
  clearable: "",
898
898
  placeholder: s(v)("common.placeholder_select")
899
899
  }, {
900
900
  default: ce(() => [
901
- (n(!0), c(G, null, Q(I.value, (l, x) => (n(), oe(N, {
901
+ (n(!0), c(G, null, j(I.value, (l, x) => (n(), oe(N, {
902
902
  key: x,
903
903
  value: l
904
904
  }, null, 8, ["value"]))), 128))
@@ -910,7 +910,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
910
910
  e("div", To, [
911
911
  e("span", null, a(s(v)("bcf.dueDate")), 1),
912
912
  e("div", Do, [
913
- ye(V(j, {
913
+ ye(K(q, {
914
914
  modelValue: D.value,
915
915
  "onUpdate:modelValue": g[3] || (g[3] = (l) => D.value = l),
916
916
  type: "datetime",
@@ -924,7 +924,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
924
924
  e("div", So, [
925
925
  e("span", null, a(s(v)("bcf.description")), 1),
926
926
  e("div", Lo, [
927
- V(R, {
927
+ K(R, {
928
928
  modelValue: M.value,
929
929
  "onUpdate:modelValue": g[4] || (g[4] = (l) => M.value = l),
930
930
  type: "textarea",
@@ -932,17 +932,17 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
932
932
  }, null, 8, ["modelValue", "placeholder"])
933
933
  ])
934
934
  ]),
935
- e("div", Po, [
935
+ e("div", Bo, [
936
936
  e("span", null, a(s(v)("bcf.labels")), 1),
937
- e("div", Bo, [
938
- V(H, {
937
+ e("div", Po, [
938
+ K(H, {
939
939
  modelValue: u.value,
940
940
  "onUpdate:modelValue": g[5] || (g[5] = (l) => u.value = l),
941
941
  multiple: "",
942
942
  placeholder: s(v)("common.placeholder_select")
943
943
  }, {
944
944
  default: ce(() => [
945
- (n(!0), c(G, null, Q(C.value, (l, x) => (n(), oe(N, {
945
+ (n(!0), c(G, null, j(C.value, (l, x) => (n(), oe(N, {
946
946
  key: x,
947
947
  value: l
948
948
  }, null, 8, ["value"]))), 128))
@@ -973,10 +973,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
973
973
  }), zo = /* @__PURE__ */ ie(Oo, [["__scopeId", "data-v-82f32569"]]), Eo = { class: "mobile_comments_toolbar" }, Ro = { class: "enter" }, No = { class: "comment_toolbar" }, Fo = { class: "comment-list" }, Uo = ["onClick"], Ao = { class: "comment-icon" }, Ho = ["src"], Wo = { class: "comment-name" }, Yo = { class: "comment-icon" }, Jo = ["src"], Zo = {
974
974
  class: "comment-name",
975
975
  style: { color: "#df1c1c" }
976
- }, Go = { class: "buttons" }, Ko = {
976
+ }, Go = { class: "buttons" }, Xo = {
977
977
  key: 0,
978
978
  class: "comment_create_text_box"
979
- }, Vo = { class: "label-text-edit" }, Xo = { class: "text-edit-head" }, qo = ["src"], Qo = { class: "text-edit-title" }, jo = { class: "text-edit-body" }, el = { class: "text-edit-input" }, tl = /* @__PURE__ */ ne({
979
+ }, Ko = { class: "label-text-edit" }, Vo = { class: "text-edit-head" }, Qo = ["src"], jo = { class: "text-edit-title" }, qo = { class: "text-edit-body" }, el = { class: "text-edit-input" }, tl = /* @__PURE__ */ ne({
980
980
  __name: "draw",
981
981
  props: ["componentId"],
982
982
  emits: ["emitHandler", "cancel", "confirm"],
@@ -1014,8 +1014,8 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1014
1014
  k.value = !0, i.value = 0, d("");
1015
1015
  });
1016
1016
  };
1017
- K.on("BimViewer", S), fe(() => {
1018
- K.off("BimViewer", S);
1017
+ X.on("BimViewer", S), fe(() => {
1018
+ X.off("BimViewer", S);
1019
1019
  });
1020
1020
  const b = U, g = () => {
1021
1021
  i.value = 1, d("path"), setTimeout(() => {
@@ -1028,8 +1028,8 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1028
1028
  }, N = (f) => {
1029
1029
  f.target.tagName == "image" && (i.value === 5 ? (C.value = "", O.value = f, I.value = !0) : k.value = !1);
1030
1030
  }, H = () => {
1031
- C.value ? (y.clickCreateText(O.value, C.value), I.value = !1) : j(h("mobileComments.pleaseInputContent"));
1032
- }, j = (f, m) => {
1031
+ C.value ? (y.clickCreateText(O.value, C.value), I.value = !1) : q(h("mobileComments.pleaseInputContent"));
1032
+ }, q = (f, m) => {
1033
1033
  T.value = {
1034
1034
  show: !0,
1035
1035
  // 是否显示
@@ -1048,7 +1048,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1048
1048
  };
1049
1049
  }, t = (f) => {
1050
1050
  i.value === f.id && (i.value = 0), E.value = 1, z.value = 1, D.value = f.buttontype, i.value = f.id, d(f.buttontype);
1051
- }, l = o(), x = new Ae(0.1), B = () => {
1051
+ }, l = o(), x = new Ae(0.1), P = () => {
1052
1052
  y.saveComments();
1053
1053
  const f = document.getElementById("svgImage");
1054
1054
  if (f) {
@@ -1075,10 +1075,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1075
1075
  e("div", Eo, [
1076
1076
  e("div", Ro, [
1077
1077
  e("div", No, [
1078
- V(F, null, {
1078
+ K(F, null, {
1079
1079
  default: ce(() => [
1080
1080
  e("div", Fo, [
1081
- (n(!0), c(G, null, Q(s(Se), (J, r) => (n(), c("div", {
1081
+ (n(!0), c(G, null, j(s(Se), (J, r) => (n(), c("div", {
1082
1082
  key: r,
1083
1083
  class: ue(["comment-item", {
1084
1084
  "comment-item-active": i.value === J.id
@@ -1087,7 +1087,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1087
1087
  }, [
1088
1088
  e("div", Ao, [
1089
1089
  e("img", {
1090
- src: s(P) + `/bim-viewer/comment/new-icons/bimkk-mobile-comment-${i.value === J.id ? J.svgActive : J.svg}.svg`
1090
+ src: s(B) + `/bim-viewer/comment/new-icons/bimkk-mobile-comment-${i.value === J.id ? J.svgActive : J.svg}.svg`
1091
1091
  }, null, 8, Ho),
1092
1092
  e("div", Wo, a(s(h)(J.label)), 1)
1093
1093
  ])
@@ -1099,7 +1099,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1099
1099
  }, [
1100
1100
  e("div", Yo, [
1101
1101
  e("img", {
1102
- src: s(P) + "/bim-viewer/delete.svg"
1102
+ src: s(B) + "/bim-viewer/delete.svg"
1103
1103
  }, null, 8, Jo),
1104
1104
  e("div", Zo, a(s(h)("common.delete")), 1)
1105
1105
  ])
@@ -1116,28 +1116,28 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1116
1116
  }, a(s(h)("common.cancel")), 1),
1117
1117
  e("div", {
1118
1118
  class: "add",
1119
- onClick: B
1119
+ onClick: P
1120
1120
  }, a(s(h)("bcf.addComment")), 1)
1121
1121
  ])
1122
1122
  ])
1123
1123
  ]),
1124
- I.value ? (n(), c("div", Ko, [
1125
- e("div", Vo, [
1126
- e("div", Xo, [
1124
+ I.value ? (n(), c("div", Xo, [
1125
+ e("div", Ko, [
1126
+ e("div", Vo, [
1127
1127
  e("img", {
1128
1128
  class: "text-edit-back",
1129
- src: s(P) + "/bim-viewer/back_gray.svg",
1129
+ src: s(B) + "/bim-viewer/back_gray.svg",
1130
1130
  onClick: m[0] || (m[0] = (J) => I.value = !1)
1131
- }, null, 8, qo),
1132
- e("div", Qo, a(s(h)("mobileComments.createText")), 1),
1131
+ }, null, 8, Qo),
1132
+ e("div", jo, a(s(h)("mobileComments.createText")), 1),
1133
1133
  e("div", {
1134
1134
  class: "text-edit-finish",
1135
1135
  onClick: H
1136
1136
  }, a(s(h)("common.done")), 1)
1137
1137
  ]),
1138
- e("div", jo, [
1138
+ e("div", qo, [
1139
1139
  e("div", el, [
1140
- V(le, {
1140
+ K(le, {
1141
1141
  modelValue: C.value,
1142
1142
  "onUpdate:modelValue": m[1] || (m[1] = (J) => C.value = J),
1143
1143
  type: "textarea",
@@ -1185,8 +1185,8 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1185
1185
  u.value = 0, S("");
1186
1186
  });
1187
1187
  };
1188
- K.on("BimViewer", M), fe(() => {
1189
- K.off("BimViewer", M);
1188
+ X.on("BimViewer", M), fe(() => {
1189
+ X.off("BimViewer", M);
1190
1190
  }), re(
1191
1191
  () => h.isToolActive(p.componentId),
1192
1192
  (r) => {
@@ -1201,14 +1201,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1201
1201
  i.saveComments();
1202
1202
  const r = document.getElementById("svgImage");
1203
1203
  if (r) {
1204
- const te = new XMLSerializer().serializeToString(r), X = document.createElement("canvas"), L = X.getContext("2d"), se = window.devicePixelRatio || 1, he = new Image();
1204
+ const te = new XMLSerializer().serializeToString(r), V = document.createElement("canvas"), L = V.getContext("2d"), se = window.devicePixelRatio || 1, he = new Image();
1205
1205
  he.onload = function() {
1206
- X.width = r.clientWidth * se, X.height = r.clientHeight * se, L && (L.scale(se, se), L.drawImage(he, 0, 0)), y({
1206
+ V.width = r.clientWidth * se, V.height = r.clientHeight * se, L && (L.scale(se, se), L.drawImage(he, 0, 0)), y({
1207
1207
  isTool: !0,
1208
1208
  event_target: "CommentTool",
1209
1209
  event_name: "saveComment",
1210
1210
  content: {
1211
- img_data: X.toDataURL("image/png").split(",")[1]
1211
+ img_data: V.toDataURL("image/png").split(",")[1]
1212
1212
  }
1213
1213
  });
1214
1214
  }, he.src = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(te)}`;
@@ -1227,8 +1227,8 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1227
1227
  }, N = (r) => {
1228
1228
  k.value = r.id, T.value === "path" ? d(r.size) : T.value === "arrow" ? m(r.size) : T.value === "rect" ? f(r.size) : T.value === "ellipse" && $(r.size);
1229
1229
  }, H = (r) => {
1230
- I.value = r.id, T.value === "path" ? t(r.color) : T.value === "arrow" ? B(r.color) : T.value === "rect" ? x(r.color) : T.value === "ellipse" ? l(r.color) : T.value === "text" && _(r.color);
1231
- }, j = (r) => {
1230
+ I.value = r.id, T.value === "path" ? t(r.color) : T.value === "arrow" ? P(r.color) : T.value === "rect" ? x(r.color) : T.value === "ellipse" ? l(r.color) : T.value === "text" && _(r.color);
1231
+ }, q = (r) => {
1232
1232
  C.value = r.id, F(r.fontSize);
1233
1233
  }, t = (r) => {
1234
1234
  i.pathColor = r;
@@ -1236,7 +1236,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1236
1236
  i.ellipseColor = r;
1237
1237
  }, x = (r) => {
1238
1238
  i.rectColor = r;
1239
- }, B = (r) => {
1239
+ }, P = (r) => {
1240
1240
  i.arrowColor = r;
1241
1241
  }, _ = (r) => {
1242
1242
  i.textColor = r;
@@ -1261,25 +1261,25 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1261
1261
  e("div", ll, [
1262
1262
  e("div", nl, [
1263
1263
  e("div", il, [
1264
- (n(!0), c(G, null, Q(O.value, (X) => (n(), c("div", {
1265
- key: X.id,
1266
- class: ue(["comments_tool_btn", { comments_tool_btn_active: u.value === X.id }]),
1267
- onClick: (L) => b(X)
1264
+ (n(!0), c(G, null, j(O.value, (V) => (n(), c("div", {
1265
+ key: V.id,
1266
+ class: ue(["comments_tool_btn", { comments_tool_btn_active: u.value === V.id }]),
1267
+ onClick: (L) => b(V)
1268
1268
  }, [
1269
1269
  e("img", {
1270
- src: s(P) + `/bim-viewer/comments/${u.value === X.id ? X.imgActive : X.img}.svg`
1270
+ src: s(B) + `/bim-viewer/comments/${u.value === V.id ? V.imgActive : V.img}.svg`
1271
1271
  }, null, 8, cl),
1272
- u.value === X.id ? (n(), c("div", rl, [
1272
+ u.value === V.id ? (n(), c("div", rl, [
1273
1273
  e("div", ul, [
1274
- X.buttontype === "text" ? (n(), c("div", dl, [
1275
- (n(!0), c(G, null, Q(s(Ne), (L) => (n(), c("div", {
1274
+ V.buttontype === "text" ? (n(), c("div", dl, [
1275
+ (n(!0), c(G, null, j(s(Ne), (L) => (n(), c("div", {
1276
1276
  key: L.id,
1277
1277
  class: ue(["text1", { text2: C.value === L.id }]),
1278
1278
  style: ee({ "font-size": L.id === 0 ? "18px" : L.id === 1 ? "16px" : "12px" }),
1279
- onClick: (se) => j(L)
1279
+ onClick: (se) => q(L)
1280
1280
  }, a(s(U)(L.name)), 15, ml))), 128))
1281
1281
  ])) : (n(), c("div", vl, [
1282
- (n(!0), c(G, null, Q(s(Fe), (L) => (n(), c("div", {
1282
+ (n(!0), c(G, null, j(s(Fe), (L) => (n(), c("div", {
1283
1283
  key: L.id,
1284
1284
  class: ue(["weight", { choose_weight: k.value === L.id }]),
1285
1285
  style: ee({
@@ -1290,7 +1290,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1290
1290
  }, null, 14, _l))), 128))
1291
1291
  ])),
1292
1292
  e("div", pl, [
1293
- (n(!0), c(G, null, Q(s(Ue), (L) => (n(), c("div", {
1293
+ (n(!0), c(G, null, j(s(Ue), (L) => (n(), c("div", {
1294
1294
  key: L.id,
1295
1295
  class: ue(["color-item", { choose_color: I.value === L.id }]),
1296
1296
  style: ee({
@@ -1313,7 +1313,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1313
1313
  onClick: J
1314
1314
  }, [
1315
1315
  e("img", {
1316
- src: s(P) + `/bim-viewer/annotations/${z.value ? "left-revoke-active" : "left-revoke"}.png`
1316
+ src: s(B) + `/bim-viewer/annotations/${z.value ? "left-revoke-active" : "left-revoke"}.png`
1317
1317
  }, null, 8, fl)
1318
1318
  ]),
1319
1319
  e("div", {
@@ -1321,7 +1321,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1321
1321
  onClick: le
1322
1322
  }, [
1323
1323
  e("img", {
1324
- src: s(P) + `/bim-viewer/annotations/${D.value ? "right-revoke-active" : "right-revoke"}.png`
1324
+ src: s(B) + `/bim-viewer/annotations/${D.value ? "right-revoke-active" : "right-revoke"}.png`
1325
1325
  }, null, 8, bl)
1326
1326
  ])
1327
1327
  ]),
@@ -1358,10 +1358,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1358
1358
  z.value = !1;
1359
1359
  }, 1500);
1360
1360
  };
1361
- K.on("cmtLoading", y), K.on("prompt", D), me(() => {
1361
+ X.on("cmtLoading", y), X.on("prompt", D), me(() => {
1362
1362
  U.setReadyById(v.componentId);
1363
1363
  }), fe(() => {
1364
- K.off("cmtLoading", y), K.off("prompt", D);
1364
+ X.off("cmtLoading", y), X.off("prompt", D);
1365
1365
  });
1366
1366
  const M = Y, u = (m) => {
1367
1367
  M("emitHandler", m);
@@ -1369,39 +1369,39 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1369
1369
  re(
1370
1370
  () => U.isToolActive(v.componentId),
1371
1371
  (m) => {
1372
- q("isMobile") && (q("editPrivilege") == 0 ? m ? k.value.handleOpen() : (k.value.handleClose(), K.emit("hideToolbar", !1), j()) : q("editPrivilege") == 1 && (m ? B() : (K.emit("hideToolbar", !1), j())));
1372
+ Q("isMobile") && (Q("editPrivilege") == 0 ? m ? k.value.handleOpen() : (k.value.handleClose(), X.emit("hideToolbar", !1), q()) : Q("editPrivilege") == 1 && (m ? P() : (X.emit("hideToolbar", !1), q())));
1373
1373
  }
1374
1374
  );
1375
1375
  const I = o(!1);
1376
1376
  re(
1377
1377
  () => v.instruction,
1378
1378
  (m) => {
1379
- m && (m.instruct_name == "updateCmtList" && (T.value = m.content.cmtList, (m.content.msg && m.content.msg.show || O.value == 2) && B(!1)), m.instruct_name == "checkCmtDetail" && m.content.cmtDetail && (N.value = m.content.cmtDetail, S.value = N.value.title, x(N.value.guid, !1)), m.instruct_name == "newComment" && m.content.code == 200 && (I.value = !0, D({ type: "success", text: p("mobileComments.createSuccess") }), setTimeout(() => {
1379
+ m && (m.instruct_name == "updateCmtList" && (T.value = m.content.cmtList, (m.content.msg && m.content.msg.show || O.value == 2) && P(!1)), m.instruct_name == "checkCmtDetail" && m.content.cmtDetail && (N.value = m.content.cmtDetail, S.value = N.value.title, x(N.value.guid, !1)), m.instruct_name == "newComment" && m.content.code == 200 && (I.value = !0, D({ type: "success", text: p("mobileComments.createSuccess") }), setTimeout(() => {
1380
1380
  x(m.content.guid);
1381
- }, 200)), K.emit("cmtLoading", !1));
1381
+ }, 200)), X.emit("cmtLoading", !1));
1382
1382
  },
1383
1383
  { deep: !0 }
1384
1384
  );
1385
- const C = o(!1), O = o(0), T = o([]), S = o(p("mobileComments.newComment")), b = o(!1), g = o(!1), R = o(!1), N = o(), H = o(""), j = () => {
1385
+ const C = o(!1), O = o(0), T = o([]), S = o(p("mobileComments.newComment")), b = o(!1), g = o(!1), R = o(!1), N = o(), H = o(""), q = () => {
1386
1386
  O.value = 0, b.value = !1, R.value = !1, g.value = !1, S.value = p("mobileComments.newComment");
1387
1387
  }, t = (m) => {
1388
1388
  H.value = m, O.value = 1, g.value = !0;
1389
1389
  }, l = (m) => {
1390
- K.emit("cmtLoading", !0), u({
1390
+ X.emit("cmtLoading", !0), u({
1391
1391
  isTool: !0,
1392
1392
  event_name: "newComment",
1393
1393
  event_target: "CommentTool",
1394
1394
  content: { ...m }
1395
1395
  });
1396
1396
  }, x = (m, F = !0) => {
1397
- F ? (K.emit("cmtLoading", !0), u({
1397
+ F ? (X.emit("cmtLoading", !0), u({
1398
1398
  isTool: !0,
1399
1399
  event_target: "CommentTool",
1400
1400
  event_name: "checkCmtDetail",
1401
1401
  content: { id: m }
1402
1402
  })) : R.value = !0, g.value = !1, O.value = 2;
1403
- }, B = (m = !0) => {
1404
- m && (K.emit("cmtLoading", !0), u({
1403
+ }, P = (m = !0) => {
1404
+ m && (X.emit("cmtLoading", !0), u({
1405
1405
  isTool: !0,
1406
1406
  event_name: "refreshCmtList",
1407
1407
  event_target: "CommentTool",
@@ -1420,22 +1420,22 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1420
1420
  f();
1421
1421
  break;
1422
1422
  case 1:
1423
- j();
1423
+ q();
1424
1424
  break;
1425
1425
  case 2:
1426
- R.value = !1, S.value = "批注列表", O.value = 3, I.value ? B() : b.value = !0;
1426
+ R.value = !1, S.value = "批注列表", O.value = 3, I.value ? P() : b.value = !0;
1427
1427
  break;
1428
1428
  case 3:
1429
- q("editPrivilege") == 0 && (b.value = !1, j()), q("editPrivilege") == 1 && f();
1429
+ Q("editPrivilege") == 0 && (b.value = !1, q()), Q("editPrivilege") == 1 && f();
1430
1430
  break;
1431
1431
  }
1432
1432
  }, $ = () => {
1433
- O.value == 2 && x(N.value.guid), O.value == 3 && B();
1433
+ O.value == 2 && x(N.value.guid), O.value == 3 && P();
1434
1434
  }, f = () => {
1435
- K.emit("hideToolbar", !1), M("closePanel");
1435
+ X.emit("hideToolbar", !1), M("closePanel");
1436
1436
  };
1437
1437
  return (m, F) => {
1438
- const le = Cl, J = sl, r = zo, te = vo, X = Os, L = Ge;
1438
+ const le = Cl, J = sl, r = zo, te = vo, V = Os, L = Ge;
1439
1439
  return n(), c("div", {
1440
1440
  class: "comment_component",
1441
1441
  onPointerdown: F[4] || (F[4] = (se) => w.value = !1)
@@ -1443,15 +1443,15 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1443
1443
  e("div", {
1444
1444
  id: "comments_panel",
1445
1445
  class: "comments_panel",
1446
- style: ee({ background: s(q)("backgroundColor") })
1446
+ style: ee({ background: s(Q)("backgroundColor") })
1447
1447
  }, null, 4),
1448
- s(q)("isMobile") ? A("", !0) : (n(), oe(le, {
1448
+ s(Q)("isMobile") ? A("", !0) : (n(), oe(le, {
1449
1449
  key: 0,
1450
1450
  "component-id": W.componentId,
1451
1451
  onEmitHandler: u,
1452
1452
  onClosePanel: F[0] || (F[0] = (se) => M("closePanel"))
1453
1453
  }, null, 8, ["component-id"])),
1454
- s(q)("isMobile") ? (n(), oe(J, {
1454
+ s(Q)("isMobile") ? (n(), oe(J, {
1455
1455
  key: 1,
1456
1456
  ref_key: "drawRef",
1457
1457
  ref: k,
@@ -1459,7 +1459,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1459
1459
  onCancel: d,
1460
1460
  onConfirm: t
1461
1461
  }, null, 8, ["component-id"])) : A("", !0),
1462
- s(q)("isMobile") ? (n(), c("div", $l, [
1462
+ s(Q)("isMobile") ? (n(), c("div", $l, [
1463
1463
  g.value ? (n(), oe(r, {
1464
1464
  key: 0,
1465
1465
  "image-data": H.value,
@@ -1474,7 +1474,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1474
1474
  onDelete: _,
1475
1475
  onBack: f
1476
1476
  }, null, 8, ["cmt-content"])) : A("", !0),
1477
- ye(V(X, {
1477
+ ye(K(V, {
1478
1478
  "-c-m-t-list": T.value,
1479
1479
  instruction: v.instruction,
1480
1480
  onCheckCmtDetail: x,
@@ -1485,13 +1485,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1485
1485
  e("div", yl, [
1486
1486
  e("div", {
1487
1487
  class: "top_height",
1488
- style: ee({ width: "100%", height: `${s(q)("topHeight") / 50}rem` })
1488
+ style: ee({ width: "100%", height: `${s(Q)("topHeight") / 50}rem` })
1489
1489
  }, null, 4),
1490
1490
  e("div", wl, [
1491
1491
  e("img", {
1492
1492
  class: "back",
1493
1493
  onClick: d,
1494
- src: s(P) + "/bim-viewer/bcf-images/back.png"
1494
+ src: s(B) + "/bim-viewer/bcf-images/back.png"
1495
1495
  }, null, 8, Il),
1496
1496
  e("div", {
1497
1497
  class: "title",
@@ -1502,13 +1502,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1502
1502
  O.value == 0 ? (n(), c("div", {
1503
1503
  key: 0,
1504
1504
  class: "history",
1505
- onClick: F[3] || (F[3] = (se) => B())
1505
+ onClick: F[3] || (F[3] = (se) => P())
1506
1506
  }, a(s(p)("mobileComments.list")), 1)) : A("", !0),
1507
1507
  O.value == 2 || O.value == 3 ? (n(), c("img", {
1508
1508
  key: 1,
1509
1509
  class: "refresh",
1510
1510
  onClick: $,
1511
- src: s(P) + "/bim-viewer/bcf-images/refresh.png"
1511
+ src: s(B) + "/bim-viewer/bcf-images/refresh.png"
1512
1512
  }, null, 8, Dl)) : A("", !0)
1513
1513
  ])
1514
1514
  ])