@xtctwins/tctwins-bimx-engine 0.3.7 → 0.3.9

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 (87) hide show
  1. package/dist/{AnnotationTool-CkIV37UE.mjs → AnnotationTool-BN1cQJZT.mjs} +32 -32
  2. package/dist/BIMX_Viewer_Lib.es.js +4 -4
  3. package/dist/BIMX_Viewer_Lib.umd.js +211 -211
  4. package/dist/{CameraViewTool-DeYagyPC.mjs → CameraViewTool-DoHrCSBa.mjs} +36 -36
  5. package/dist/{CommentTool-C1JukDRV.mjs → CommentTool-DzpiIRq5.mjs} +137 -137
  6. package/dist/{HiddenTool-CKIjuVdE.mjs → HiddenTool-DKl-Td4d.mjs} +14 -14
  7. package/dist/{InspectorTool-DqCIiob9.mjs → InspectorTool-ButMlfJZ.mjs} +12 -12
  8. package/dist/{MeasureTool-IHXJjZNc.mjs → MeasureTool-HA7KurNk.mjs} +57 -57
  9. package/dist/{MouseTool-C6IbMsSE.mjs → MouseTool-Cx7FUkja.mjs} +12 -12
  10. package/dist/{NavigateTool-DSBy4FZy.mjs → NavigateTool-CHspxjfw.mjs} +3 -3
  11. package/dist/{RoamTool-CvVZdDiz.mjs → RoamTool-CvErAJ4s.mjs} +15 -15
  12. package/dist/ScreenShotTool-BKFYnVZ5.mjs +430 -0
  13. package/dist/{SectionTool-BinUb4wa.mjs → SectionTool-Dc_qndpy.mjs} +60 -60
  14. package/dist/SettingTool-BYVwI27m.mjs +695 -0
  15. package/dist/StructureTree-CNrEg0TP.mjs +1686 -0
  16. package/dist/{alert-CWKghdMc.mjs → alert-BE0cXifr.mjs} +6 -6
  17. package/dist/el-slider-D_kA0TiT.mjs +1059 -0
  18. package/dist/{index-B9qL5nx5.mjs → index-s9bhlFsR.mjs} +63680 -62167
  19. package/dist/{panel.vue_vue_type_style_index_0_lang-D7G9bR05.mjs → panel.vue_vue_type_style_index_0_lang-D0m8xJuR.mjs} +1 -1
  20. package/dist/style.css +3 -3
  21. package/dist/{tallPanel-CHmr0WiN.mjs → tallPanel-C_lzWM4i.mjs} +10 -10
  22. package/package.json +11 -3
  23. package/types/App.vue.d.ts +3 -1
  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/CameraViewTool.vue.d.ts +1 -1
  39. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  40. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
  41. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  42. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
  43. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
  44. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  45. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +270 -1
  46. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +291 -7
  47. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
  48. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  49. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  50. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  51. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  52. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
  53. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +11642 -1
  54. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  55. package/types/components/BimxViewerComp.vue.d.ts +7 -25
  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 +291 -7
  59. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +270 -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/utilsComponents/alert.vue.d.ts +1 -1
  65. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  66. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  67. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  68. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  69. package/types/components/utilsComponents/panel.vue.d.ts +8 -2
  70. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  71. package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
  72. package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
  73. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
  74. package/types/pages/BimxViewerEntry.vue.d.ts +4 -67
  75. package/types/store/toolbars.d.ts +50 -50
  76. package/types/utils/OSSHelper.d.ts +0 -2
  77. package/types/viewerManager/load/loadModel.d.ts +0 -83
  78. package/dist/ScreenShotTool-DdIU0vQg.mjs +0 -357
  79. package/dist/SettingTool-Bm2OgXES.mjs +0 -657
  80. package/dist/StructureTree-CPDEM-gp.mjs +0 -1583
  81. package/dist/el-input-number-DXVRwG5u.mjs +0 -818
  82. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
  83. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
  84. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +0 -10
  85. package/types/components/bimxViewer.vue.d.ts +0 -27
  86. package/types/pages/viewerEntry.vue.d.ts +0 -116
  87. 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 X, 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, J as be, n as ae, K as Ie, L as xe, M as Te, v as pe, N as De, P as ge, Q as ve, R as _e, p as q, S as $e, t as ke, I as Be, U as Me, W as Oe, X as ze, q as K, G as Ee, H as Re, o as Ce } from "./index-B9qL5nx5.mjs";
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 X, 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 { P, M as ie, $ as be, F as ae, K as pe, a0 as Ie, a1 as xe, a2 as Te, a3 as De, a4 as ge, a5 as ve, a6 as _e, H as j, J as ke, a7 as $e, Z as Be, a8 as Me, a9 as ze, aa as Ee, W as Oe, X as Re, I as K, G as Ce } from "./index-s9bhlFsR.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({
@@ -22,10 +22,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
22
22
  }, Xe = {
23
23
  key: 0,
24
24
  class: "search-container"
25
- }, Ve = { 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" }, je = { class: "title" }, qe = ["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"], Pt = { class: "search-footer" }, Bt = { class: "search-btn-group" }, Mt = {
26
26
  key: 1,
27
27
  class: "filter-container"
28
- }, Ot = { class: "filter-header" }, zt = { class: "title" }, Et = ["src"], Rt = { class: "filter-body" }, Nt = {
28
+ }, zt = { class: "filter-header" }, Et = { class: "title" }, Ot = ["src"], Rt = { class: "filter-body" }, Nt = {
29
29
  key: 0,
30
30
  class: "filter-list"
31
31
  }, Ft = ["onClick"], Ut = { class: "item-left" }, At = { class: "title" }, Ht = { class: "item-right" }, Wt = {
@@ -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" }, Xt = { class: "title" }, Vt = { class: "item-right" }, qt = {
40
+ }, Gt = ["onClick"], Kt = { class: "item-left" }, Xt = { class: "title" }, Vt = { class: "item-right" }, jt = {
41
41
  key: 0,
42
42
  class: "check-selected"
43
- }, Qt = ["src"], jt = {
43
+ }, qt = ["src"], Qt = {
44
44
  key: 1,
45
45
  class: "check-select"
46
46
  }, es = {
@@ -64,30 +64,30 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
64
64
  value: ""
65
65
  },
66
66
  cmt_tag: []
67
- }), E = o({
67
+ }), O = o({
68
68
  confirm: (t) => {
69
69
  }
70
- }), z = o(), D = o(""), M = o(""), u = o(""), k = o([]), I = (t) => {
70
+ }), E = 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
- z.value.handleOpen();
79
+ E.value.handleOpen();
80
80
  break;
81
81
  case "authorId":
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) => {
89
89
  D.value === "tag" ? u.value.includes(t) ? u.value = u.value.filter((l) => l !== t) : u.value.push(t) : D.value === "authorId" ? u.value.key === t.userId ? u.value = { key: "", value: "" } : u.value = { key: t.userId, value: t.userName } : u.value !== t ? u.value = t : u.value = "";
90
- }, O = () => {
90
+ }, z = () => {
91
91
  switch (D.value) {
92
92
  case "priority":
93
93
  i.value.cmt_priority = u.value;
@@ -109,11 +109,11 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
109
109
  }, T = () => {
110
110
  y.value = !1, v.value = !0;
111
111
  }, S = (t) => {
112
- z.value.handleClose(), i.value.cmt_createDate = t, v.value = !0;
112
+ E.value.handleClose(), i.value.cmt_createDate = t, v.value = !0;
113
113
  }, b = () => {
114
- z.value.handleClose(), v.value = !0;
114
+ E.value.handleClose(), v.value = !0;
115
115
  }, g = () => {
116
- H(), E.value.confirm(i.value);
116
+ H(), O.value.confirm(i.value);
117
117
  }, R = () => {
118
118
  i.value = {
119
119
  cmt_priority: "",
@@ -126,7 +126,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
126
126
  cmt_tag: []
127
127
  }, g();
128
128
  }, N = (t) => {
129
- E.value = t, p.value = !0;
129
+ O.value = t, p.value = !0;
130
130
  }, H = () => {
131
131
  p.value = !1;
132
132
  };
@@ -146,11 +146,11 @@ 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;
149
+ const x = pe, B = Ie;
150
150
  return p.value ? (n(), c("div", Ke, [
151
151
  v.value ? (n(), c("div", Xe, [
152
152
  e("div", Ve, [
153
- e("div", qe, a(s(h)("mobileComments.filter.title")), 1),
153
+ e("div", je, a(s(h)("mobileComments.filter.title")), 1),
154
154
  e("div", {
155
155
  class: "close-box",
156
156
  onClick: Z(H, ["stop"])
@@ -159,10 +159,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
159
159
  class: "close-img",
160
160
  src: `${s(P)}/bim-viewer/close_black.png`,
161
161
  alt: ""
162
- }, null, 8, Qe)
162
+ }, null, 8, qe)
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",
@@ -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, q(i.value.cmt_tag, (_, d) => (n(), c("div", {
249
249
  key: d,
250
250
  class: "tag"
251
251
  }, a(_), 1))), 128))
@@ -275,8 +275,8 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
275
275
  ])
276
276
  ])) : A("", !0),
277
277
  y.value ? (n(), c("div", Mt, [
278
- e("div", Ot, [
279
- e("div", zt, a(M.value), 1),
278
+ e("div", zt, [
279
+ e("div", Et, a(M.value), 1),
280
280
  e("div", {
281
281
  class: "close-box",
282
282
  onClick: T
@@ -285,14 +285,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
285
285
  class: "close-img",
286
286
  src: `${s(P)}/bim-viewer/close_black.png`,
287
287
  alt: ""
288
- }, null, 8, Et)
288
+ }, null, 8, Ot)
289
289
  ])
290
290
  ]),
291
291
  e("div", Rt, [
292
292
  X(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, q(k.value, (_, d) => (n(), c("div", {
296
296
  key: d,
297
297
  class: "filter-item",
298
298
  onClick: Z(($) => C(_), ["stop"])
@@ -311,7 +311,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
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, q(k.value, (_, d) => (n(), c("div", {
315
315
  key: d,
316
316
  class: "filter-item",
317
317
  onClick: Z(($) => C(_), ["stop"])
@@ -320,17 +320,17 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
320
320
  e("div", Xt, a(_), 1)
321
321
  ]),
322
322
  e("div", Vt, [
323
- u.value.includes(_) ? (n(), c("div", qt, [
323
+ u.value.includes(_) ? (n(), c("div", jt, [
324
324
  e("img", {
325
325
  class: "select-img",
326
326
  src: `${s(P)}/bim-viewer/check-selected.png`,
327
327
  alt: ""
328
- }, null, 8, Qt)
329
- ])) : (n(), c("div", jt))
328
+ }, null, 8, qt)
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, q(k.value, (_, d) => (n(), c("div", {
334
334
  key: d,
335
335
  class: "filter-item",
336
336
  onClick: Z(($) => C(_), ["stop"])
@@ -356,13 +356,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
356
356
  e("div", cs, [
357
357
  e("div", {
358
358
  class: "filter-btn",
359
- onClick: Z(O, ["stop"])
359
+ onClick: Z(z, ["stop"])
360
360
  }, a(s(h)("common.confirm")), 1)
361
361
  ])
362
362
  ])) : A("", !0),
363
363
  X(B, {
364
364
  ref_key: "cmtCreateDateRef",
365
- ref: z,
365
+ ref: E,
366
366
  modelValue: i.value.cmt_createDate,
367
367
  "onUpdate:modelValue": l[5] || (l[5] = (_) => i.value.cmt_createDate = _),
368
368
  "popper-class": "mobile_cmt_create_date",
@@ -394,11 +394,11 @@ 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 } = Pe(p), y = ae(), w = o([]), i = o(), O = {
398
398
  indexSort: ["default", "down", "up"],
399
399
  titleSort: ["default", "down", "up"],
400
400
  timeSort: ["default", "down", "up"]
401
- }, z = o(), D = o();
401
+ }, E = o(), D = o();
402
402
  me(() => {
403
403
  v.value && (w.value = v.value.slice().sort((t, l) => l.index - t.index), i.value = v.value.slice().sort((t, l) => l.index - t.index));
404
404
  }), re(
@@ -408,7 +408,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
408
408
  },
409
409
  { deep: !0 }
410
410
  );
411
- const M = o(!0), u = o(""), k = o(0), I = o(0), C = o(0), O = o(!0);
411
+ const M = o(!0), u = o(""), k = o(0), I = o(0), C = o(0), z = o(!0);
412
412
  re(
413
413
  () => D.value,
414
414
  (t) => {
@@ -418,13 +418,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
418
418
  { deep: !0, immediate: !0 }
419
419
  );
420
420
  const T = () => {
421
- i.value = v.value.slice().sort((t, l) => l.index - t.index), w.value = v.value.slice().sort((t, l) => l.index - t.index), O.value = !0;
421
+ i.value = v.value.slice().sort((t, l) => l.index - t.index), w.value = v.value.slice().sort((t, l) => l.index - t.index), z.value = !0;
422
422
  }, S = () => {
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
426
  let l = i.value.slice().sort((x, B) => B.index - x.index);
427
- w.value = l, O.value = !1;
427
+ w.value = l, z.value = !1;
428
428
  } else if (t == 2) {
429
429
  let l = i.value.slice().sort((x, B) => x.index - B.index);
430
430
  w.value = l;
@@ -458,7 +458,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
458
458
  T();
459
459
  k.value = 0, I.value = 0;
460
460
  }, N = () => {
461
- z.value.open({
461
+ E.value.open({
462
462
  confirm: (t) => {
463
463
  D.value = t, H();
464
464
  }
@@ -481,14 +481,14 @@ 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
488
  const x = ke, B = pe, _ = Be, 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(j)("topHeight") + 52) / 50}rem` })
492
492
  }, [
493
493
  e("div", ds, [
494
494
  e("div", ms, [
@@ -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(P)}/bim-viewer/bcf-images/order-${O.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(P)}/bim-viewer/bcf-images/order-${O.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(P)}/bim-viewer/bcf-images/order-${O.timeSort[C.value]}.png`,
541
541
  alt: ""
542
542
  }, null, 8, bs)
543
543
  ])
@@ -566,10 +566,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
566
566
  X(B, 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, q(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", {
@@ -612,12 +612,12 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
612
612
  ]),
613
613
  X(d, {
614
614
  ref_key: "CMTFilterRef",
615
- ref: z
615
+ ref: E
616
616
  }, null, 512)
617
617
  ], 4);
618
618
  };
619
619
  }
620
- }), Os = /* @__PURE__ */ ie(Ms, [["__scopeId", "data-v-d96084d8"]]), zs = ["src"], Es = /* @__PURE__ */ ne({
620
+ }), zs = /* @__PURE__ */ ie(Ms, [["__scopeId", "data-v-d96084d8"]]), Es = ["src"], Os = /* @__PURE__ */ ne({
621
621
  __name: "zoomIn",
622
622
  props: {
623
623
  imgContent: {}
@@ -639,11 +639,11 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
639
639
  class: "img_wrapper",
640
640
  onClick: y
641
641
  }, [
642
- e("img", { src: p.value }, null, 8, zs)
642
+ e("img", { src: p.value }, null, 8, Es)
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" }, Xs = { class: "select_wrapper" }, Vs = { 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(Os, [["__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" }, Xs = { class: "select_wrapper" }, Vs = { class: "select_item" }, js = { class: "item_title" }, qs = { 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 = {
@@ -658,19 +658,19 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
658
658
  setup(W, { emit: Y }) {
659
659
  const U = Y, h = W, p = o(h.cmtContent), v = o(""), y = o(!1), w = () => {
660
660
  y.value = !0;
661
- }, i = o(), E = o(), z = o(), D = o(), M = o(), u = o(), k = o(), I = o(), C = ae();
661
+ }, i = o(), O = o(), E = o(), D = o(), M = o(), u = o(), k = o(), I = o(), C = ae();
662
662
  me(() => {
663
663
  const S = /* @__PURE__ */ new Date();
664
664
  let b = S.getDate(), g = S.getFullYear(), R = S.getMonth();
665
- v.value = `${g}-${R + 1}-${b}`, p.value || console.log("no cmtContent!"), O();
665
+ v.value = `${g}-${R + 1}-${b}`, p.value || console.log("no cmtContent!"), z();
666
666
  }), re(
667
667
  () => h.cmtContent,
668
668
  (S) => {
669
- S && (p.value = JSON.parse(JSON.stringify(S)), O());
669
+ S && (p.value = JSON.parse(JSON.stringify(S)), z());
670
670
  }
671
671
  );
672
- const O = () => {
673
- i.value = p.value.index, E.value = p.value.title, z.value = p.value.priority ? ge(p.value.priority) : "", D.value = p.value.status ? p.value.status : "", M.value = p.value.deadline ? _e(p.value.deadline) : "", u.value = p.value.description ? p.value.description : "", k.value = p.value.tags ? p.value.tags : [], I.value = p.value.imgData;
672
+ const z = () => {
673
+ i.value = p.value.index, O.value = p.value.title, E.value = p.value.priority ? ge(p.value.priority) : "", D.value = p.value.status ? p.value.status : "", M.value = p.value.deadline ? _e(p.value.deadline) : "", u.value = p.value.description ? p.value.description : "", k.value = p.value.tags ? p.value.tags : [], I.value = p.value.imgData;
674
674
  }, T = () => {
675
675
  U("delete", p.value.guid);
676
676
  };
@@ -679,7 +679,7 @@ 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(j)("topHeight") + 52) / 50}rem` })
683
683
  }, [
684
684
  e("div", Rs, [
685
685
  X(g, null, {
@@ -703,7 +703,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
703
703
  D.value ? (n(), c("div", {
704
704
  key: 0,
705
705
  class: "stage",
706
- style: ee({ backgroundColor: s(Oe)(D.value) })
706
+ style: ee({ backgroundColor: s(ze)(D.value) })
707
707
  }, [
708
708
  e("img", {
709
709
  src: s(P) + "/bim-viewer/bcf-images/bulb.png"
@@ -729,15 +729,15 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
729
729
  e("div", Xs, a(D.value), 1)
730
730
  ]),
731
731
  e("div", Vs, [
732
- e("span", qs, a(s(C)("bcf.priority")), 1),
732
+ e("span", js, 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
- style: ee({ color: s(ze)(z.value) })
737
- }, a(z.value), 5)
736
+ style: ee({ color: s(Ee)(E.value) })
737
+ }, a(E.value), 5)
738
738
  ]),
739
- e("div", Qs, [
740
- e("span", js, a(s(C)("bcf.dueDate")), 1),
739
+ e("div", qs, [
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, q(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(j)("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" }, Po = { class: "select_item" }, Bo = { class: "select_wrapper" }, Mo = { class: "bottom" }, zo = /* @__PURE__ */ ne({
794
794
  __name: "add",
795
795
  props: {
796
796
  imageData: {},
@@ -798,13 +798,13 @@ 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(""), O = o(""), E = 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();
805
805
  w.value = `${R}-${N + 1}-${g}`;
806
806
  });
807
- const O = () => {
807
+ const z = () => {
808
808
  U("cancel");
809
809
  }, T = () => {
810
810
  y.value = !0;
@@ -812,8 +812,8 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
812
812
  i.value === "" ? K.emit("prompt", { type: "warn", text: v("bcf.messages.pleaseInputTitle") }) : U("createNew", {
813
813
  author: h.userId,
814
814
  title: i.value,
815
- priority: E.value,
816
- status: z.value,
815
+ priority: O.value,
816
+ status: E.value,
817
817
  deadline: D.value,
818
818
  createDate: (/* @__PURE__ */ new Date()).toISOString(),
819
819
  description: M.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 = Oe, 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(j)("topHeight") + 52) / 50}rem` })
830
830
  }, [
831
831
  e("div", _o, [
832
832
  e("div", po, [
@@ -837,7 +837,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
837
837
  ]),
838
838
  e("div", {
839
839
  class: "del",
840
- onClick: O
840
+ onClick: z
841
841
  }, [
842
842
  e("img", {
843
843
  src: s(P) + "/bim-viewer/delete-white.svg"
@@ -873,13 +873,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
873
873
  e("span", null, a(s(v)("bcf.priority")), 1),
874
874
  e("div", wo, [
875
875
  X(H, {
876
- modelValue: E.value,
877
- "onUpdate:modelValue": g[1] || (g[1] = (l) => E.value = l),
876
+ modelValue: O.value,
877
+ "onUpdate:modelValue": g[1] || (g[1] = (l) => O.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, q(k.value, (l, x) => (n(), oe(N, {
883
883
  key: x,
884
884
  value: l
885
885
  }, null, 8, ["value"]))), 128))
@@ -892,13 +892,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
892
892
  e("span", null, a(s(v)("bcf.status")), 1),
893
893
  e("div", xo, [
894
894
  X(H, {
895
- modelValue: z.value,
896
- "onUpdate:modelValue": g[2] || (g[2] = (l) => z.value = l),
895
+ modelValue: E.value,
896
+ "onUpdate:modelValue": g[2] || (g[2] = (l) => E.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, q(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(X(j, {
913
+ ye(X(Q, {
914
914
  modelValue: D.value,
915
915
  "onUpdate:modelValue": g[3] || (g[3] = (l) => D.value = l),
916
916
  type: "datetime",
@@ -942,7 +942,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
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, q(C.value, (l, x) => (n(), oe(N, {
946
946
  key: x,
947
947
  value: l
948
948
  }, null, 8, ["value"]))), 128))
@@ -970,13 +970,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
970
970
  ], 64);
971
971
  };
972
972
  }
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 = {
973
+ }), Eo = /* @__PURE__ */ ie(zo, [["__scopeId", "data-v-82f32569"]]), Oo = { 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
976
  }, Go = { class: "buttons" }, Ko = {
977
977
  key: 0,
978
978
  class: "comment_create_text_box"
979
- }, Xo = { class: "label-text-edit" }, Vo = { 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
+ }, Xo = { class: "label-text-edit" }, Vo = { class: "text-edit-head" }, jo = ["src"], qo = { 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"],
@@ -986,7 +986,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
986
986
  p.setReadyById(v.componentId);
987
987
  });
988
988
  let y, w;
989
- const i = o(0), E = o(1), z = o(1), D = o(), M = o(!1), u = o(!1), k = o(!1), I = o(!1), C = o(""), O = o(), T = o({
989
+ const i = o(0), O = o(1), E = o(1), D = o(), M = o(!1), u = o(!1), k = o(!1), I = o(!1), C = o(""), z = o(), T = o({
990
990
  show: !1,
991
991
  // 是否显示
992
992
  title: h("mobileComments.notice.title"),
@@ -1026,10 +1026,10 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1026
1026
  var f;
1027
1027
  (f = document.getElementById("svgImage")) == null || f.removeEventListener("touchstart", N);
1028
1028
  }, N = (f) => {
1029
- f.target.tagName == "image" && (i.value === 5 ? (C.value = "", O.value = f, I.value = !0) : k.value = !1);
1029
+ f.target.tagName == "image" && (i.value === 5 ? (C.value = "", z.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(z.value, C.value), I.value = !1) : Q(h("mobileComments.pleaseInputContent"));
1032
+ }, Q = (f, m) => {
1033
1033
  T.value = {
1034
1034
  show: !0,
1035
1035
  // 是否显示
@@ -1047,7 +1047,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1047
1047
  }
1048
1048
  };
1049
1049
  }, t = (f) => {
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);
1050
+ i.value === f.id && (i.value = 0), O.value = 1, E.value = 1, D.value = f.buttontype, i.value = f.id, d(f.buttontype);
1051
1051
  }, l = o(), x = new Ae(0.1), B = () => {
1052
1052
  y.saveComments();
1053
1053
  const f = document.getElementById("svgImage");
@@ -1072,13 +1072,13 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1072
1072
  return Y({ handleOpen: g, handleClose: R }), (f, m) => {
1073
1073
  const F = pe, le = ke;
1074
1074
  return n(), c(G, null, [
1075
- e("div", Eo, [
1075
+ e("div", Oo, [
1076
1076
  e("div", Ro, [
1077
1077
  e("div", No, [
1078
1078
  X(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, q(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
@@ -1128,14 +1128,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1128
1128
  class: "text-edit-back",
1129
1129
  src: s(P) + "/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, jo),
1132
+ e("div", qo, 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
1140
  X(le, {
1141
1141
  modelValue: C.value,
@@ -1171,17 +1171,17 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1171
1171
  const U = ae(), h = Ce(), p = W, v = Y, y = (r) => {
1172
1172
  v("emitHandler", r);
1173
1173
  };
1174
- let w, i, E;
1175
- const z = o(!1), D = o(!1), M = () => {
1176
- w = window.bimViewer, i = window.bimViewer.commentTool, E = window.bimViewer.eventTrigger, S(""), E.on("createNew", () => {
1174
+ let w, i, O;
1175
+ const E = o(!1), D = o(!1), M = () => {
1176
+ w = window.bimViewer, i = window.bimViewer.commentTool, O = window.bimViewer.eventTrigger, S(""), O.on("createNew", () => {
1177
1177
  u.value = 0, S("");
1178
- }), E.on("newState", () => {
1179
- z.value = !0, D.value = !1;
1180
- }), E.on("noPreviousState", () => {
1181
- z.value = !1;
1182
- }), E.on("noNewState", () => {
1178
+ }), O.on("newState", () => {
1179
+ E.value = !0, D.value = !1;
1180
+ }), O.on("noPreviousState", () => {
1181
+ E.value = !1;
1182
+ }), O.on("noNewState", () => {
1183
1183
  D.value = !1;
1184
- }), E.on("choseTarget", (r) => {
1184
+ }), O.on("choseTarget", (r) => {
1185
1185
  u.value = 0, S("");
1186
1186
  });
1187
1187
  };
@@ -1193,7 +1193,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1193
1193
  r && (u.value = 1, S("path"));
1194
1194
  }
1195
1195
  );
1196
- const u = o(0), k = o(1), I = o(1), C = o(1), O = o(Se), T = o(), S = (r) => {
1196
+ const u = o(0), k = o(1), I = o(1), C = o(1), z = o(Se), T = o(), S = (r) => {
1197
1197
  i.setCurrentMode(r);
1198
1198
  }, b = (r) => {
1199
1199
  u.value === r.id && (u.value = 0), k.value = 1, I.value = 1, T.value = r.buttontype, u.value = r.id, S(r.buttontype);
@@ -1228,7 +1228,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
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
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) => {
1231
+ }, Q = (r) => {
1232
1232
  C.value = r.id, F(r.fontSize);
1233
1233
  }, t = (r) => {
1234
1234
  i.pathColor = r;
@@ -1252,7 +1252,7 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1252
1252
  i.textFontSize = r;
1253
1253
  }, le = () => {
1254
1254
  i.ReDo(() => {
1255
- }), z.value = !0;
1255
+ }), E.value = !0;
1256
1256
  }, J = () => {
1257
1257
  i.UnDo(() => {
1258
1258
  }), D.value = !0;
@@ -1261,7 +1261,7 @@ 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, (V) => (n(), c("div", {
1264
+ (n(!0), c(G, null, q(z.value, (V) => (n(), c("div", {
1265
1265
  key: V.id,
1266
1266
  class: ue(["comments_tool_btn", { comments_tool_btn_active: u.value === V.id }]),
1267
1267
  onClick: (L) => b(V)
@@ -1272,14 +1272,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1272
1272
  u.value === V.id ? (n(), c("div", rl, [
1273
1273
  e("div", ul, [
1274
1274
  V.buttontype === "text" ? (n(), c("div", dl, [
1275
- (n(!0), c(G, null, Q(s(Ne), (L) => (n(), c("div", {
1275
+ (n(!0), c(G, null, q(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, q(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, q(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(P) + `/bim-viewer/annotations/${E.value ? "left-revoke-active" : "left-revoke"}.png`
1317
1317
  }, null, 8, fl)
1318
1318
  ]),
1319
1319
  e("div", {
@@ -1353,9 +1353,9 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1353
1353
  setup(W, { emit: Y }) {
1354
1354
  const U = Ce(), h = be(), p = ae(), v = W, y = (m) => {
1355
1355
  C.value = m;
1356
- }, w = o(!1), i = o(""), E = o(""), z = o(!1), D = (m) => {
1357
- i.value = m.type, E.value = m.text, z.value = !0, setTimeout(() => {
1358
- z.value = !1;
1356
+ }, w = o(!1), i = o(""), O = o(""), E = o(!1), D = (m) => {
1357
+ i.value = m.type, O.value = m.text, E.value = !0, setTimeout(() => {
1358
+ E.value = !1;
1359
1359
  }, 1500);
1360
1360
  };
1361
1361
  K.on("cmtLoading", y), K.on("prompt", D), me(() => {
@@ -1369,23 +1369,23 @@ 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
+ j("isMobile") && (j("editPrivilege") == 0 ? m ? k.value.handleOpen() : (k.value.handleClose(), K.emit("hideToolbar", !1), Q()) : j("editPrivilege") == 1 && (m ? B() : (K.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 || z.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(() => {
1380
1380
  x(m.content.guid);
1381
1381
  }, 200)), K.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 = () => {
1386
- O.value = 0, b.value = !1, R.value = !1, g.value = !1, S.value = p("mobileComments.newComment");
1385
+ const C = o(!1), z = o(0), T = o([]), S = o(p("mobileComments.newComment")), b = o(!1), g = o(!1), R = o(!1), N = o(), H = o(""), Q = () => {
1386
+ z.value = 0, b.value = !1, R.value = !1, g.value = !1, S.value = p("mobileComments.newComment");
1387
1387
  }, t = (m) => {
1388
- H.value = m, O.value = 1, g.value = !0;
1388
+ H.value = m, z.value = 1, g.value = !0;
1389
1389
  }, l = (m) => {
1390
1390
  K.emit("cmtLoading", !0), u({
1391
1391
  isTool: !0,
@@ -1399,14 +1399,14 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1399
1399
  event_target: "CommentTool",
1400
1400
  event_name: "checkCmtDetail",
1401
1401
  content: { id: m }
1402
- })) : R.value = !0, g.value = !1, O.value = 2;
1402
+ })) : R.value = !0, g.value = !1, z.value = 2;
1403
1403
  }, B = (m = !0) => {
1404
1404
  m && (K.emit("cmtLoading", !0), u({
1405
1405
  isTool: !0,
1406
1406
  event_name: "refreshCmtList",
1407
1407
  event_target: "CommentTool",
1408
1408
  content: {}
1409
- })), O.value = 3, S.value = "批注列表", b.value = !0, R.value = !1;
1409
+ })), z.value = 3, S.value = "批注列表", b.value = !0, R.value = !1;
1410
1410
  }, _ = (m) => {
1411
1411
  u({
1412
1412
  isTool: !0,
@@ -1415,27 +1415,27 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1415
1415
  content: { id: m }
1416
1416
  });
1417
1417
  }, d = () => {
1418
- switch (O.value) {
1418
+ switch (z.value) {
1419
1419
  case 0:
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 = "批注列表", z.value = 3, I.value ? B() : b.value = !0;
1427
1427
  break;
1428
1428
  case 3:
1429
- q("editPrivilege") == 0 && (b.value = !1, j()), q("editPrivilege") == 1 && f();
1429
+ j("editPrivilege") == 0 && (b.value = !1, Q()), j("editPrivilege") == 1 && f();
1430
1430
  break;
1431
1431
  }
1432
1432
  }, $ = () => {
1433
- O.value == 2 && x(N.value.guid), O.value == 3 && B();
1433
+ z.value == 2 && x(N.value.guid), z.value == 3 && B();
1434
1434
  }, f = () => {
1435
1435
  K.emit("hideToolbar", !1), M("closePanel");
1436
1436
  };
1437
1437
  return (m, F) => {
1438
- const le = Cl, J = sl, r = zo, te = vo, V = Os, L = Ge;
1438
+ const le = Cl, J = sl, r = Eo, te = vo, V = zs, 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(j)("backgroundColor") })
1447
1447
  }, null, 4),
1448
- s(q)("isMobile") ? A("", !0) : (n(), oe(le, {
1448
+ s(j)("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(j)("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(j)("isMobile") ? (n(), c("div", $l, [
1463
1463
  g.value ? (n(), oe(r, {
1464
1464
  key: 0,
1465
1465
  "image-data": H.value,
@@ -1485,7 +1485,7 @@ 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(j)("topHeight") / 50}rem` })
1489
1489
  }, null, 4),
1490
1490
  e("div", wl, [
1491
1491
  e("img", {
@@ -1499,12 +1499,12 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1499
1499
  }, a(S.value), 1),
1500
1500
  w.value ? (n(), c("span", xl, a(S.value), 1)) : A("", !0),
1501
1501
  e("div", Tl, [
1502
- O.value == 0 ? (n(), c("div", {
1502
+ z.value == 0 ? (n(), c("div", {
1503
1503
  key: 0,
1504
1504
  class: "history",
1505
1505
  onClick: F[3] || (F[3] = (se) => B())
1506
1506
  }, a(s(p)("mobileComments.list")), 1)) : A("", !0),
1507
- O.value == 2 || O.value == 3 ? (n(), c("img", {
1507
+ z.value == 2 || z.value == 3 ? (n(), c("img", {
1508
1508
  key: 1,
1509
1509
  class: "refresh",
1510
1510
  onClick: $,
@@ -1515,15 +1515,15 @@ const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src
1515
1515
  ])
1516
1516
  ])) : A("", !0),
1517
1517
  C.value ? (n(), c("div", Sl)) : A("", !0),
1518
- z.value ? (n(), oe(L, {
1518
+ E.value ? (n(), oe(L, {
1519
1519
  key: 4,
1520
1520
  type: i.value,
1521
- text: E.value
1521
+ text: O.value
1522
1522
  }, null, 8, ["type", "text"])) : A("", !0)
1523
1523
  ], 32);
1524
1524
  };
1525
1525
  }
1526
- }), zl = /* @__PURE__ */ ie(Ll, [["__scopeId", "data-v-fb647949"]]);
1526
+ }), El = /* @__PURE__ */ ie(Ll, [["__scopeId", "data-v-fb647949"]]);
1527
1527
  export {
1528
- zl as default
1528
+ El as default
1529
1529
  };