@xtctwins/tctwins-bimx-engine 0.3.21 → 0.3.22

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 (89) hide show
  1. package/README.md +196 -196
  2. package/dist/{AnnotationTool-DCHJcLix.mjs → AnnotationTool-CtRhDcPK.mjs} +35 -35
  3. package/dist/BIMX_Viewer_Lib.es.js +6 -6
  4. package/dist/BIMX_Viewer_Lib.umd.js +214 -167
  5. package/dist/{CameraViewTool-CJfs6vWu.mjs → CameraViewTool-CtLUEw0Q.mjs} +38 -38
  6. package/dist/{CommentTool-mcXTV3bv.mjs → CommentTool-B8fvijhz.mjs} +192 -192
  7. package/dist/{HiddenTool-BXTqbPUK.mjs → HiddenTool-511eglcE.mjs} +13 -13
  8. package/dist/{InspectorTool-D6DtUWoh.mjs → InspectorTool-D9Yjs6eH.mjs} +13 -13
  9. package/dist/{MeasureTool-BZxE7H7U.mjs → MeasureTool-C5Ce0Nef.mjs} +125 -125
  10. package/dist/{MouseTool-Clt4JeIj.mjs → MouseTool-BJX4hgly.mjs} +8 -8
  11. package/dist/{NavigateTool-cQshheaw.mjs → NavigateTool-BxOX-2P9.mjs} +8 -8
  12. package/dist/{OperateTool-C86C-l1z.mjs → OperateTool-DdkSl849.mjs} +61 -58
  13. package/dist/{RoamTool-DueJxPwv.mjs → RoamTool-CzNcha7A.mjs} +27 -27
  14. package/dist/ScreenShotTool-_TQ3T0xw.mjs +429 -0
  15. package/dist/{SectionTool-CKrvJEQ9.mjs → SectionTool-DlUhDw_i.mjs} +70 -70
  16. package/dist/SettingTool-yhgi_CY0.mjs +1787 -0
  17. package/dist/StructureTree-CNKrxyeJ.mjs +1685 -0
  18. package/dist/{alert-D-agI6w6.mjs → alert-B0WoSDD3.mjs} +14 -14
  19. package/dist/{index-jngVSTsO.mjs → index-D7FcGpin.mjs} +56419 -53825
  20. package/dist/index.html +17 -17
  21. package/dist/{panel.vue_vue_type_style_index_0_lang-DfDOwKP2.mjs → panel.vue_vue_type_style_index_0_lang-BG2LZoNF.mjs} +1 -1
  22. package/dist/style.css +3 -3
  23. package/dist/{tallPanel-CNORaYkU.mjs → tallPanel-DpEzw_w-.mjs} +12 -12
  24. package/package.json +85 -85
  25. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
  26. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
  27. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
  28. package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
  29. package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
  30. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
  31. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
  32. package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
  33. package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
  34. package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
  35. package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
  36. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
  37. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  38. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
  39. package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +1 -1
  40. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  41. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
  42. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  43. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
  44. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
  45. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  46. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +270 -1
  47. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +291 -7
  48. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
  49. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  50. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  51. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  52. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  53. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
  54. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +11642 -1
  55. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  56. package/types/components/BimxViewerComp.vue.d.ts +7 -21
  57. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
  58. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
  59. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +291 -7
  60. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +270 -1
  61. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
  62. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
  63. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
  64. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -7
  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 +4 -66
  76. package/types/store/toolbars.d.ts +50 -50
  77. package/types/viewerManager/sectionManager.d.ts +25 -25
  78. package/dist/01.xtc +0 -0
  79. package/dist/02.xtc +0 -0
  80. package/dist/03.xtc +0 -0
  81. package/dist/ScreenShotTool-DDtQfqF5.mjs +0 -356
  82. package/dist/SettingTool-CWAOl-yl.mjs +0 -1508
  83. package/dist/StructureTree-BTqIDob7.mjs +0 -1582
  84. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
  85. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
  86. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +0 -10
  87. package/types/components/bimxViewer.vue.d.ts +0 -27
  88. package/types/pages/viewerEntry.vue.d.ts +0 -116
  89. 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 K, withCtx as ce, toRefs as Be, onMounted as me, watch as re, normalizeStyle as ee, createTextVNode as de, createBlock as oe, computed as ge, withDirectives as we, vShow as Ie, onBeforeUnmount as be, normalizeClass as ue } from "vue";
2
- import { O as P, y as ie, P as ke, n as ae, Q as xe, R as Te, U as De, v as pe, W as Se, X as fe, Y as ve, Z as _e, p as q, $ as ye, t as Ce, N as Me, a0 as Oe, a1 as ze, a2 as Ee, q as X, G as Re, I as Ne, o as $e, a3 as Le, a4 as Fe, a5 as Ue, a6 as Ae } from "./index-jngVSTsO.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 V, withCtx as ce, toRefs as Be, onMounted as me, watch as re, normalizeStyle as ee, createTextVNode as de, createBlock as oe, computed as ge, withDirectives as we, vShow as Ie, onBeforeUnmount as be, normalizeClass as ue } from "vue";
2
+ import { P, M as ie, a5 as ke, F as ae, K as pe, a6 as xe, a7 as Te, a8 as De, a9 as Se, aa as fe, ab as ve, ac as _e, H as j, J as Ce, ad as ye, a4 as Me, ae as ze, af as Ee, ag as Oe, Z as Re, $ as Ne, I as K, G as $e, ah as Le, ai as Fe, aj as Ue, ak as Ae } from "./index-D7FcGpin.mjs";
3
3
  import { T as He } from "./timer-DoTiGoWP.mjs";
4
4
  const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src"], Ze = { class: "text" }, Ge = /* @__PURE__ */ ne({
5
5
  __name: "prompt",
@@ -15,16 +15,16 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
15
15
  ])
16
16
  ]));
17
17
  }
18
- }), Xe = /* @__PURE__ */ ie(Ge, [["__scopeId", "data-v-72fc7693"]]), Ke = {
18
+ }), Ke = /* @__PURE__ */ ie(Ge, [["__scopeId", "data-v-c9f53f5c"]]), Ve = {
19
19
  key: 0,
20
20
  class: "mobile-cmt-filter-container"
21
- }, Ve = {
21
+ }, Xe = {
22
22
  key: 0,
23
23
  class: "search-container"
24
- }, qe = { class: "search-header" }, Qe = { class: "title" }, je = ["src"], et = { class: "search-body" }, tt = { class: "search-list" }, st = { class: "item-left" }, ot = { class: "title" }, lt = { class: "item-right" }, nt = { class: "item-value" }, it = { class: "item-img" }, at = ["src"], ct = { class: "item-left" }, rt = { class: "title" }, ut = { class: "item-right" }, dt = { class: "item-value" }, mt = { class: "item-img" }, vt = ["src"], _t = { class: "item-left" }, pt = { class: "title" }, ht = { class: "item-right" }, gt = { class: "item-value" }, ft = { class: "item-img" }, bt = ["src"], kt = { class: "item-left" }, Ct = { class: "title" }, $t = { class: "item-right" }, yt = { class: "item-value" }, wt = { class: "item-img" }, It = ["src"], xt = { class: "item-left" }, Tt = { class: "title" }, Dt = { class: "item-right" }, St = { class: "item-tags" }, Lt = { class: "item-img" }, Pt = ["src"], Bt = { class: "search-footer" }, Mt = { class: "search-btn-group" }, Ot = {
24
+ }, je = { class: "search-header" }, qe = { class: "title" }, Qe = ["src"], et = { class: "search-body" }, tt = { class: "search-list" }, st = { class: "item-left" }, ot = { class: "title" }, lt = { class: "item-right" }, nt = { class: "item-value" }, it = { class: "item-img" }, at = ["src"], ct = { class: "item-left" }, rt = { class: "title" }, ut = { class: "item-right" }, dt = { class: "item-value" }, mt = { class: "item-img" }, vt = ["src"], _t = { class: "item-left" }, pt = { class: "title" }, ht = { class: "item-right" }, gt = { class: "item-value" }, ft = { class: "item-img" }, bt = ["src"], kt = { class: "item-left" }, Ct = { class: "title" }, $t = { class: "item-right" }, yt = { class: "item-value" }, wt = { class: "item-img" }, It = ["src"], xt = { class: "item-left" }, Tt = { class: "title" }, Dt = { class: "item-right" }, St = { class: "item-tags" }, Lt = { class: "item-img" }, Pt = ["src"], Bt = { class: "search-footer" }, Mt = { class: "search-btn-group" }, zt = {
25
25
  key: 1,
26
26
  class: "filter-container"
27
- }, zt = { class: "filter-header" }, Et = { class: "title" }, Rt = ["src"], Nt = { class: "filter-body" }, Ft = {
27
+ }, Et = { class: "filter-header" }, Ot = { class: "title" }, Rt = ["src"], Nt = { class: "filter-body" }, Ft = {
28
28
  key: 0,
29
29
  class: "filter-list"
30
30
  }, Ut = ["onClick"], At = { class: "item-left" }, Ht = { class: "title" }, Wt = { class: "item-right" }, Yt = {
@@ -36,10 +36,10 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
36
36
  }, Gt = {
37
37
  key: 1,
38
38
  class: "filter-list"
39
- }, Xt = ["onClick"], Kt = { class: "item-left" }, Vt = { class: "title" }, qt = { class: "item-right" }, Qt = {
39
+ }, Kt = ["onClick"], Vt = { class: "item-left" }, Xt = { class: "title" }, jt = { class: "item-right" }, qt = {
40
40
  key: 0,
41
41
  class: "check-selected"
42
- }, jt = ["src"], es = {
42
+ }, Qt = ["src"], es = {
43
43
  key: 1,
44
44
  class: "check-select"
45
45
  }, ts = {
@@ -63,30 +63,30 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
63
63
  value: ""
64
64
  },
65
65
  cmt_tag: []
66
- }), E = o({
66
+ }), O = o({
67
67
  confirm: (t) => {
68
68
  }
69
- }), z = o(), D = o(""), M = o(""), u = o(""), k = o([]), I = (t) => {
69
+ }), E = o(), D = o(""), M = o(""), u = o(""), k = o([]), I = (t) => {
70
70
  switch (D.value = t, t) {
71
71
  case "priority":
72
- M.value = h("mobileComments.filter.priority"), k.value = De, u.value = i.value.cmt_priority, v.value = !1, y.value = !0;
72
+ M.value = h("mobileComments.filter.priority"), k.value = Se, u.value = i.value.cmt_priority, v.value = !1, y.value = !0;
73
73
  break;
74
74
  case "status":
75
- M.value = h("mobileComments.filter.status"), k.value = Te, u.value = i.value.cmt_status, v.value = !1, y.value = !0;
75
+ M.value = h("mobileComments.filter.status"), k.value = De, u.value = i.value.cmt_status, v.value = !1, y.value = !0;
76
76
  break;
77
77
  case "createDate":
78
- z.value.handleOpen();
78
+ E.value.handleOpen();
79
79
  break;
80
80
  case "authorId":
81
81
  M.value = h("mobileComments.filter.author"), k.value = w.value, u.value = i.value.cmt_authorId, v.value = !1, y.value = !0;
82
82
  break;
83
83
  case "tag":
84
- M.value = h("mobileComments.filter.tag"), k.value = xe, u.value = i.value.cmt_tag, v.value = !1, y.value = !0;
84
+ M.value = h("mobileComments.filter.tag"), k.value = Te, u.value = i.value.cmt_tag, v.value = !1, y.value = !0;
85
85
  break;
86
86
  }
87
87
  }, C = (t) => {
88
88
  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 = "";
89
- }, O = () => {
89
+ }, z = () => {
90
90
  switch (D.value) {
91
91
  case "priority":
92
92
  i.value.cmt_priority = u.value;
@@ -108,11 +108,11 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
108
108
  }, T = () => {
109
109
  y.value = !1, v.value = !0;
110
110
  }, S = (t) => {
111
- z.value.handleClose(), i.value.cmt_createDate = t, v.value = !0;
111
+ E.value.handleClose(), i.value.cmt_createDate = t, v.value = !0;
112
112
  }, b = () => {
113
- z.value.handleClose(), v.value = !0;
113
+ E.value.handleClose(), v.value = !0;
114
114
  }, g = () => {
115
- H(), E.value.confirm(i.value);
115
+ H(), O.value.confirm(i.value);
116
116
  }, R = () => {
117
117
  i.value = {
118
118
  cmt_priority: "",
@@ -125,7 +125,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
125
125
  cmt_tag: []
126
126
  }, g();
127
127
  }, N = (t) => {
128
- E.value = t, p.value = !0;
128
+ O.value = t, p.value = !0;
129
129
  }, H = () => {
130
130
  p.value = !1;
131
131
  };
@@ -145,11 +145,11 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
145
145
  };
146
146
  }
147
147
  }), (t, l) => {
148
- const x = pe, B = Se;
149
- return p.value ? (n(), c("div", Ke, [
150
- v.value ? (n(), c("div", Ve, [
151
- e("div", qe, [
152
- e("div", Qe, a(s(h)("mobileComments.filter.title")), 1),
148
+ const x = pe, B = xe;
149
+ return p.value ? (n(), c("div", Ve, [
150
+ v.value ? (n(), c("div", Xe, [
151
+ e("div", je, [
152
+ e("div", qe, a(s(h)("mobileComments.filter.title")), 1),
153
153
  e("div", {
154
154
  class: "close-box",
155
155
  onClick: Z(H, ["stop"])
@@ -158,7 +158,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
158
158
  class: "close-img",
159
159
  src: `${s(P)}/bim-viewer/close_black.png`,
160
160
  alt: ""
161
- }, null, 8, je)
161
+ }, null, 8, Qe)
162
162
  ])
163
163
  ]),
164
164
  e("div", et, [
@@ -244,7 +244,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
244
244
  ]),
245
245
  e("div", Dt, [
246
246
  e("div", St, [
247
- (n(!0), c(G, null, Q(i.value.cmt_tag, (_, d) => (n(), c("div", {
247
+ (n(!0), c(G, null, q(i.value.cmt_tag, (_, d) => (n(), c("div", {
248
248
  key: d,
249
249
  class: "tag"
250
250
  }, a(_), 1))), 128))
@@ -273,9 +273,9 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
273
273
  ])
274
274
  ])
275
275
  ])) : A("", !0),
276
- y.value ? (n(), c("div", Ot, [
277
- e("div", zt, [
278
- e("div", Et, a(M.value), 1),
276
+ y.value ? (n(), c("div", zt, [
277
+ e("div", Et, [
278
+ e("div", Ot, a(M.value), 1),
279
279
  e("div", {
280
280
  class: "close-box",
281
281
  onClick: T
@@ -288,10 +288,10 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
288
288
  ])
289
289
  ]),
290
290
  e("div", Nt, [
291
- K(x, null, {
291
+ V(x, null, {
292
292
  default: ce(() => [
293
293
  D.value === "authorId" ? (n(), c("div", Ft, [
294
- (n(!0), c(G, null, Q(k.value, (_, d) => (n(), c("div", {
294
+ (n(!0), c(G, null, q(k.value, (_, d) => (n(), c("div", {
295
295
  key: d,
296
296
  class: "filter-item",
297
297
  onClick: Z(($) => C(_), ["stop"])
@@ -310,26 +310,26 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
310
310
  ])
311
311
  ], 8, Ut))), 128))
312
312
  ])) : D.value === "tag" ? (n(), c("div", Gt, [
313
- (n(!0), c(G, null, Q(k.value, (_, d) => (n(), c("div", {
313
+ (n(!0), c(G, null, q(k.value, (_, d) => (n(), c("div", {
314
314
  key: d,
315
315
  class: "filter-item",
316
316
  onClick: Z(($) => C(_), ["stop"])
317
317
  }, [
318
- e("div", Kt, [
319
- e("div", Vt, a(_), 1)
318
+ e("div", Vt, [
319
+ e("div", Xt, a(_), 1)
320
320
  ]),
321
- e("div", qt, [
322
- u.value.includes(_) ? (n(), c("div", Qt, [
321
+ e("div", jt, [
322
+ u.value.includes(_) ? (n(), c("div", qt, [
323
323
  e("img", {
324
324
  class: "select-img",
325
325
  src: `${s(P)}/bim-viewer/check-selected.png`,
326
326
  alt: ""
327
- }, null, 8, jt)
327
+ }, null, 8, Qt)
328
328
  ])) : (n(), c("div", es))
329
329
  ])
330
- ], 8, Xt))), 128))
330
+ ], 8, Kt))), 128))
331
331
  ])) : (n(), c("div", ts, [
332
- (n(!0), c(G, null, Q(k.value, (_, d) => (n(), c("div", {
332
+ (n(!0), c(G, null, q(k.value, (_, d) => (n(), c("div", {
333
333
  key: d,
334
334
  class: "filter-item",
335
335
  onClick: Z(($) => C(_), ["stop"])
@@ -355,13 +355,13 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
355
355
  e("div", rs, [
356
356
  e("div", {
357
357
  class: "filter-btn",
358
- onClick: Z(O, ["stop"])
358
+ onClick: Z(z, ["stop"])
359
359
  }, a(s(h)("common.confirm")), 1)
360
360
  ])
361
361
  ])) : A("", !0),
362
- K(B, {
362
+ V(B, {
363
363
  ref_key: "cmtCreateDateRef",
364
- ref: z,
364
+ ref: E,
365
365
  modelValue: i.value.cmt_createDate,
366
366
  "onUpdate:modelValue": l[5] || (l[5] = (_) => i.value.cmt_createDate = _),
367
367
  "popper-class": "mobile_cmt_create_date",
@@ -379,13 +379,13 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
379
379
  ])) : A("", !0);
380
380
  };
381
381
  }
382
- }), ds = /* @__PURE__ */ ie(us, [["__scopeId", "data-v-3f21c922"]]), ms = { class: "mobile_CMT_search" }, vs = { class: "search_icon" }, _s = ["src"], ps = { class: "mobile_CMT_table_list" }, hs = { class: "table_list_title" }, gs = { class: "sort_buttons" }, fs = ["src"], bs = ["src"], ks = ["src"], Cs = { class: "sort_total" }, $s = ["src"], ys = ["src"], ws = {
382
+ }), ds = /* @__PURE__ */ ie(us, [["__scopeId", "data-v-b3047543"]]), ms = { class: "mobile_CMT_search" }, vs = { class: "search_icon" }, _s = ["src"], ps = { class: "mobile_CMT_table_list" }, hs = { class: "table_list_title" }, gs = { class: "sort_buttons" }, fs = ["src"], bs = ["src"], ks = ["src"], Cs = { class: "sort_total" }, $s = ["src"], ys = ["src"], ws = {
383
383
  key: 0,
384
384
  class: "table_list_content"
385
385
  }, Is = { class: "table_list" }, xs = ["onClick"], Ts = { class: "CMT_img" }, Ds = { class: "CMT_info" }, Ss = { class: "CMT_info1" }, Ls = { class: "title" }, Ps = { class: "CMT_info2" }, Bs = { class: "username" }, Ms = {
386
386
  key: 1,
387
387
  class: "empty_wrapper"
388
- }, Os = /* @__PURE__ */ ne({
388
+ }, zs = /* @__PURE__ */ ne({
389
389
  __name: "list",
390
390
  props: {
391
391
  instruction: {},
@@ -393,11 +393,11 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
393
393
  },
394
394
  emits: ["checkCmtDetail"],
395
395
  setup(W, { emit: Y }) {
396
- const U = Y, h = ke(), p = W, { CMTList: v } = Be(p), y = ae(), w = o([]), i = o(), E = {
396
+ const U = Y, h = ke(), p = W, { CMTList: v } = Be(p), y = ae(), w = o([]), i = o(), O = {
397
397
  indexSort: ["default", "down", "up"],
398
398
  titleSort: ["default", "down", "up"],
399
399
  timeSort: ["default", "down", "up"]
400
- }, z = o(), D = o();
400
+ }, E = o(), D = o();
401
401
  me(() => {
402
402
  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));
403
403
  }), re(
@@ -407,7 +407,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
407
407
  },
408
408
  { deep: !0 }
409
409
  );
410
- const M = o(!0), u = o(""), k = o(0), I = o(0), C = o(0), O = o(!0);
410
+ const M = o(!0), u = o(""), k = o(0), I = o(0), C = o(0), z = o(!0);
411
411
  re(
412
412
  () => D.value,
413
413
  (t) => {
@@ -417,13 +417,13 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
417
417
  { deep: !0, immediate: !0 }
418
418
  );
419
419
  const T = () => {
420
- 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;
420
+ 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;
421
421
  }, S = () => {
422
422
  u.value == "" ? T() : w.value = i.value.filter((t) => t.title.includes(u.value));
423
423
  }, b = (t) => {
424
424
  if (t > 2 && (k.value = 0), t == 1) {
425
425
  let l = i.value.slice().sort((x, B) => B.index - x.index);
426
- w.value = l, O.value = !1;
426
+ w.value = l, z.value = !1;
427
427
  } else if (t == 2) {
428
428
  let l = i.value.slice().sort((x, B) => x.index - B.index);
429
429
  w.value = l;
@@ -457,7 +457,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
457
457
  T();
458
458
  k.value = 0, I.value = 0;
459
459
  }, N = () => {
460
- z.value.open({
460
+ E.value.open({
461
461
  confirm: (t) => {
462
462
  D.value = t, H();
463
463
  }
@@ -480,14 +480,14 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
480
480
  return (f = t.cmt_tag) == null ? void 0 : f.includes($);
481
481
  })))), 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);
482
482
  }
483
- }, j = (t) => {
483
+ }, Q = (t) => {
484
484
  U("checkCmtDetail", t);
485
485
  };
486
486
  return (t, l) => {
487
487
  const x = Ce, B = pe, _ = Me, d = ds;
488
488
  return n(), c("div", {
489
489
  class: "cmt_wrapper",
490
- style: ee({ top: `${(s(q)("topHeight") + 52) / 50}rem` })
490
+ style: ee({ top: `${(s(j)("topHeight") + 52) / 50}rem` })
491
491
  }, [
492
492
  e("div", ms, [
493
493
  e("div", vs, [
@@ -496,7 +496,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
496
496
  alt: ""
497
497
  }, null, 8, _s)
498
498
  ]),
499
- K(x, {
499
+ V(x, {
500
500
  modelValue: u.value,
501
501
  "onUpdate:modelValue": l[0] || (l[0] = ($) => u.value = $),
502
502
  placeholder: s(y)("common.placeholder_search"),
@@ -514,7 +514,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
514
514
  e("span", null, a(s(y)("bcf.index")), 1),
515
515
  e("img", {
516
516
  class: "order_icon",
517
- src: `${s(P)}/bim-viewer/bcf-images/order-${E.indexSort[k.value]}.png`,
517
+ src: `${s(P)}/bim-viewer/bcf-images/order-${O.indexSort[k.value]}.png`,
518
518
  alt: ""
519
519
  }, null, 8, fs)
520
520
  ]),
@@ -525,7 +525,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
525
525
  e("span", null, a(s(y)("bcf.title")), 1),
526
526
  e("img", {
527
527
  class: "order_icon",
528
- src: `${s(P)}/bim-viewer/bcf-images/order-${E.titleSort[I.value]}.png`,
528
+ src: `${s(P)}/bim-viewer/bcf-images/order-${O.titleSort[I.value]}.png`,
529
529
  alt: ""
530
530
  }, null, 8, bs)
531
531
  ]),
@@ -536,7 +536,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
536
536
  e("span", null, a(s(y)("bcf.time")), 1),
537
537
  e("img", {
538
538
  class: "order_icon",
539
- src: `${s(P)}/bim-viewer/bcf-images/order-${E.timeSort[C.value]}.png`,
539
+ src: `${s(P)}/bim-viewer/bcf-images/order-${O.timeSort[C.value]}.png`,
540
540
  alt: ""
541
541
  }, null, 8, ks)
542
542
  ])
@@ -562,13 +562,13 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
562
562
  ])
563
563
  ]),
564
564
  w.value && w.value.length > 0 ? (n(), c("div", ws, [
565
- K(B, null, {
565
+ V(B, null, {
566
566
  default: ce(() => [
567
567
  e("div", Is, [
568
- (n(!0), c(G, null, Q(w.value, ($, f) => (n(), c("div", {
568
+ (n(!0), c(G, null, q(w.value, ($, f) => (n(), c("div", {
569
569
  key: f,
570
570
  class: "CMT_card",
571
- onClick: Z((m) => j($._id), ["stop"])
571
+ onClick: Z((m) => Q($._id), ["stop"])
572
572
  }, [
573
573
  e("div", Ts, [
574
574
  e("div", {
@@ -603,20 +603,20 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
603
603
  _: 1
604
604
  })
605
605
  ])) : (n(), c("div", Ms, [
606
- K(_, {
606
+ V(_, {
607
607
  title: s(y)("mobileComments.empty"),
608
608
  type: "model"
609
609
  }, null, 8, ["title"])
610
610
  ]))
611
611
  ]),
612
- K(d, {
612
+ V(d, {
613
613
  ref_key: "CMTFilterRef",
614
- ref: z
614
+ ref: E
615
615
  }, null, 512)
616
616
  ], 4);
617
617
  };
618
618
  }
619
- }), zs = /* @__PURE__ */ ie(Os, [["__scopeId", "data-v-d96084d8"]]), Es = ["src"], Rs = /* @__PURE__ */ ne({
619
+ }), Es = /* @__PURE__ */ ie(zs, [["__scopeId", "data-v-00de9faf"]]), Os = ["src"], Rs = /* @__PURE__ */ ne({
620
620
  __name: "zoomIn",
621
621
  props: {
622
622
  imgContent: {}
@@ -638,11 +638,11 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
638
638
  class: "img_wrapper",
639
639
  onClick: y
640
640
  }, [
641
- e("img", { src: p.value }, null, 8, Es)
641
+ e("img", { src: p.value }, null, 8, Os)
642
642
  ])
643
643
  ]));
644
644
  }
645
- }), Pe = /* @__PURE__ */ ie(Rs, [["__scopeId", "data-v-0a31700d"]]), Ns = { class: "content_scrollbar" }, Fs = { class: "cmt_detail_content" }, Us = { class: "cmt_id_time" }, As = { class: "snpshot_wrapper" }, Hs = { class: "snapshot_container" }, Ws = ["src"], Ys = ["src"], Js = ["src"], Zs = { class: "cmt_content" }, Gs = { class: "content" }, Xs = { class: "select_item" }, Ks = { class: "item_title" }, Vs = { class: "select_wrapper" }, qs = { class: "select_item" }, Qs = { class: "item_title" }, js = { class: "select_item" }, eo = { class: "item_title" }, to = { class: "select_wrapper" }, so = { class: "select_item" }, oo = { class: "item_title" }, lo = {
645
+ }), Pe = /* @__PURE__ */ ie(Rs, [["__scopeId", "data-v-a7fc494b"]]), Ns = { class: "content_scrollbar" }, Fs = { class: "cmt_detail_content" }, Us = { class: "cmt_id_time" }, As = { class: "snpshot_wrapper" }, Hs = { class: "snapshot_container" }, Ws = ["src"], Ys = ["src"], Js = ["src"], Zs = { class: "cmt_content" }, Gs = { class: "content" }, Ks = { class: "select_item" }, Vs = { class: "item_title" }, Xs = { class: "select_wrapper" }, js = { class: "select_item" }, qs = { class: "item_title" }, Qs = { class: "select_item" }, eo = { class: "item_title" }, to = { class: "select_wrapper" }, so = { class: "select_item" }, oo = { class: "item_title" }, lo = {
646
646
  key: 0,
647
647
  class: "tag_list"
648
648
  }, no = { class: "tag_span" }, io = {
@@ -657,19 +657,19 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
657
657
  setup(W, { emit: Y }) {
658
658
  const U = Y, h = W, p = o(h.cmtContent), v = o(""), y = o(!1), w = () => {
659
659
  y.value = !0;
660
- }, i = o(), E = o(), z = o(), D = o(), M = o(), u = o(), k = o(), I = o(), C = ae();
660
+ }, i = o(), O = o(), E = o(), D = o(), M = o(), u = o(), k = o(), I = o(), C = ae();
661
661
  me(() => {
662
662
  const S = /* @__PURE__ */ new Date();
663
663
  let b = S.getDate(), g = S.getFullYear(), R = S.getMonth();
664
- v.value = `${g}-${R + 1}-${b}`, p.value || console.log("no cmtContent!"), O();
664
+ v.value = `${g}-${R + 1}-${b}`, p.value || console.log("no cmtContent!"), z();
665
665
  }), re(
666
666
  () => h.cmtContent,
667
667
  (S) => {
668
- S && (p.value = JSON.parse(JSON.stringify(S)), O());
668
+ S && (p.value = JSON.parse(JSON.stringify(S)), z());
669
669
  }
670
670
  );
671
- const O = () => {
672
- i.value = p.value.index, E.value = p.value.title, z.value = p.value.priority ? fe(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;
671
+ const z = () => {
672
+ i.value = p.value.index, O.value = p.value.title, E.value = p.value.priority ? fe(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;
673
673
  }, T = () => {
674
674
  U("delete", p.value.guid);
675
675
  };
@@ -678,15 +678,15 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
678
678
  return n(), c(G, null, [
679
679
  e("div", {
680
680
  class: "cmt_detail_wrapper",
681
- style: ee({ top: `${(s(q)("topHeight") + 52) / 50}rem` })
681
+ style: ee({ top: `${(s(j)("topHeight") + 52) / 50}rem` })
682
682
  }, [
683
683
  e("div", Ns, [
684
- K(g, null, {
684
+ V(g, null, {
685
685
  default: ce(() => [
686
686
  e("div", Fs, [
687
687
  e("div", Us, [
688
688
  e("div", {
689
- style: ee({ backgroundColor: s(Oe)(p.value && p.value.priority ? p.value.priority : "low"), color: "#fff" })
689
+ style: ee({ backgroundColor: s(ze)(p.value && p.value.priority ? p.value.priority : "low"), color: "#fff" })
690
690
  }, a(i.value), 5),
691
691
  e("div", null, [
692
692
  de(a(p.value && p.value.createDate && s(_e)(p.value.createDate)) + " ", 1),
@@ -702,7 +702,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
702
702
  D.value ? (n(), c("div", {
703
703
  key: 0,
704
704
  class: "stage",
705
- style: ee({ backgroundColor: s(ze)(D.value) })
705
+ style: ee({ backgroundColor: s(Ee)(D.value) })
706
706
  }, [
707
707
  e("img", {
708
708
  src: s(P) + "/bim-viewer/bcf-images/bulb.png"
@@ -722,20 +722,20 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
722
722
  ]),
723
723
  e("div", Zs, [
724
724
  e("div", Gs, [
725
- e("div", Xs, [
726
- e("span", Ks, a(s(C)("bcf.status")), 1),
725
+ e("div", Ks, [
726
+ e("span", Vs, a(s(C)("bcf.status")), 1),
727
727
  b[2] || (b[2] = e("span", null, ":", -1)),
728
- e("div", Vs, a(D.value), 1)
728
+ e("div", Xs, a(D.value), 1)
729
729
  ]),
730
- e("div", qs, [
731
- e("span", Qs, a(s(C)("bcf.priority")), 1),
730
+ e("div", js, [
731
+ e("span", qs, a(s(C)("bcf.priority")), 1),
732
732
  b[3] || (b[3] = e("span", null, ":", -1)),
733
733
  e("div", {
734
734
  class: "select_wrapper",
735
- style: ee({ color: s(Ee)(z.value) })
736
- }, a(z.value), 5)
735
+ style: ee({ color: s(Oe)(E.value) })
736
+ }, a(E.value), 5)
737
737
  ]),
738
- e("div", js, [
738
+ e("div", Qs, [
739
739
  e("span", eo, a(s(C)("bcf.dueDate")), 1),
740
740
  b[4] || (b[4] = e("span", null, ":", -1)),
741
741
  e("div", to, a(M.value), 1)
@@ -744,7 +744,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
744
744
  e("span", oo, a(s(C)("bcf.labels")), 1),
745
745
  b[5] || (b[5] = e("span", null, ":", -1)),
746
746
  k.value && k.value.length > 0 ? (n(), c("div", lo, [
747
- (n(!0), c(G, null, Q(k.value, (N, H) => (n(), c("div", {
747
+ (n(!0), c(G, null, q(k.value, (N, H) => (n(), c("div", {
748
748
  key: H,
749
749
  class: "tag"
750
750
  }, [
@@ -771,7 +771,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
771
771
  class: "backModel",
772
772
  onClick: b[0] || (b[0] = (N) => U("back"))
773
773
  }, a(s(C)("mobileComments.backToModel")), 1),
774
- s(q)("editPrivilege") == 0 ? (n(), c("div", {
774
+ s(j)("editPrivilege") == 0 ? (n(), c("div", {
775
775
  key: 0,
776
776
  class: "delete",
777
777
  onClick: T
@@ -789,7 +789,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
789
789
  ], 64);
790
790
  };
791
791
  }
792
- }), _o = /* @__PURE__ */ ie(vo, [["__scopeId", "data-v-18a6bb74"]]), po = { class: "image" }, ho = { class: "fill" }, go = { class: "screenshot" }, fo = ["src"], bo = ["src"], ko = ["src"], Co = { class: "content" }, $o = { class: "select_item" }, yo = { class: "select_wrapper" }, wo = { class: "select_item" }, Io = { class: "select_wrapper" }, xo = { class: "select_item" }, To = { class: "select_wrapper" }, Do = { class: "select_item" }, So = { class: "select_wrapper" }, Lo = { class: "select_item" }, Po = { class: "select_wrapper" }, Bo = { class: "select_item" }, Mo = { class: "select_wrapper" }, Oo = { class: "bottom" }, zo = /* @__PURE__ */ ne({
792
+ }), _o = /* @__PURE__ */ ie(vo, [["__scopeId", "data-v-12f2d235"]]), po = { class: "image" }, ho = { class: "fill" }, go = { class: "screenshot" }, fo = ["src"], bo = ["src"], ko = ["src"], Co = { class: "content" }, $o = { class: "select_item" }, yo = { class: "select_wrapper" }, wo = { class: "select_item" }, Io = { class: "select_wrapper" }, xo = { class: "select_item" }, To = { class: "select_wrapper" }, Do = { class: "select_item" }, So = { class: "select_wrapper" }, Lo = { class: "select_item" }, Po = { class: "select_wrapper" }, Bo = { class: "select_item" }, Mo = { class: "select_wrapper" }, zo = { class: "bottom" }, Eo = /* @__PURE__ */ ne({
793
793
  __name: "add",
794
794
  props: {
795
795
  imageData: {},
@@ -797,22 +797,22 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
797
797
  },
798
798
  emits: ["cancel", "emitHandler", "createNew"],
799
799
  setup(W, { emit: Y }) {
800
- 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 = ge(() => De()), I = ge(() => Te()), C = ge(() => xe());
800
+ 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 = ge(() => Se()), I = ge(() => De()), C = ge(() => Te());
801
801
  me(() => {
802
802
  const b = /* @__PURE__ */ new Date();
803
803
  let g = b.getDate(), R = b.getFullYear(), N = b.getMonth();
804
804
  w.value = `${R}-${N + 1}-${g}`;
805
805
  });
806
- const O = () => {
806
+ const z = () => {
807
807
  U("cancel");
808
808
  }, T = () => {
809
809
  y.value = !0;
810
810
  }, S = () => {
811
- i.value === "" ? X.emit("prompt", { type: "warn", text: v("bcf.messages.pleaseInputTitle") }) : U("createNew", {
811
+ i.value === "" ? K.emit("prompt", { type: "warn", text: v("bcf.messages.pleaseInputTitle") }) : U("createNew", {
812
812
  author: h.userId,
813
813
  title: i.value,
814
- priority: E.value,
815
- status: z.value,
814
+ priority: O.value,
815
+ status: E.value,
816
816
  deadline: D.value,
817
817
  createDate: (/* @__PURE__ */ new Date()).toISOString(),
818
818
  description: M.value,
@@ -821,11 +821,11 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
821
821
  });
822
822
  };
823
823
  return (b, g) => {
824
- const R = Ce, N = Re, H = Ne, j = Se, t = Pe;
824
+ const R = Ce, N = Ne, H = Re, Q = xe, t = Pe;
825
825
  return n(), c(G, null, [
826
826
  e("div", {
827
827
  class: "comment_add",
828
- style: ee({ top: `${(s(q)("topHeight") + 52) / 50}rem` })
828
+ style: ee({ top: `${(s(j)("topHeight") + 52) / 50}rem` })
829
829
  }, [
830
830
  e("div", po, [
831
831
  e("div", ho, [
@@ -836,7 +836,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
836
836
  ]),
837
837
  e("div", {
838
838
  class: "del",
839
- onClick: O
839
+ onClick: z
840
840
  }, [
841
841
  e("img", {
842
842
  src: s(P) + "/bim-viewer/delete-white.svg"
@@ -861,7 +861,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
861
861
  g[7] || (g[7] = e("span", { style: { color: "#f54d4d" } }, "*", -1))
862
862
  ]),
863
863
  e("div", yo, [
864
- K(R, {
864
+ V(R, {
865
865
  modelValue: i.value,
866
866
  "onUpdate:modelValue": g[0] || (g[0] = (l) => i.value = l),
867
867
  placeholder: s(v)("common.placeholder_input")
@@ -871,14 +871,14 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
871
871
  e("div", wo, [
872
872
  e("span", null, a(s(v)("bcf.priority")), 1),
873
873
  e("div", Io, [
874
- K(H, {
875
- modelValue: E.value,
876
- "onUpdate:modelValue": g[1] || (g[1] = (l) => E.value = l),
874
+ V(H, {
875
+ modelValue: O.value,
876
+ "onUpdate:modelValue": g[1] || (g[1] = (l) => O.value = l),
877
877
  clearable: "",
878
878
  placeholder: s(v)("common.placeholder_select")
879
879
  }, {
880
880
  default: ce(() => [
881
- (n(!0), c(G, null, Q(k.value, (l, x) => (n(), oe(N, {
881
+ (n(!0), c(G, null, q(k.value, (l, x) => (n(), oe(N, {
882
882
  key: x,
883
883
  value: l
884
884
  }, null, 8, ["value"]))), 128))
@@ -890,14 +890,14 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
890
890
  e("div", xo, [
891
891
  e("span", null, a(s(v)("bcf.status")), 1),
892
892
  e("div", To, [
893
- K(H, {
894
- modelValue: z.value,
895
- "onUpdate:modelValue": g[2] || (g[2] = (l) => z.value = l),
893
+ V(H, {
894
+ modelValue: E.value,
895
+ "onUpdate:modelValue": g[2] || (g[2] = (l) => E.value = l),
896
896
  clearable: "",
897
897
  placeholder: s(v)("common.placeholder_select")
898
898
  }, {
899
899
  default: ce(() => [
900
- (n(!0), c(G, null, Q(I.value, (l, x) => (n(), oe(N, {
900
+ (n(!0), c(G, null, q(I.value, (l, x) => (n(), oe(N, {
901
901
  key: x,
902
902
  value: l
903
903
  }, null, 8, ["value"]))), 128))
@@ -909,7 +909,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
909
909
  e("div", Do, [
910
910
  e("span", null, a(s(v)("bcf.dueDate")), 1),
911
911
  e("div", So, [
912
- we(K(j, {
912
+ we(V(Q, {
913
913
  modelValue: D.value,
914
914
  "onUpdate:modelValue": g[3] || (g[3] = (l) => D.value = l),
915
915
  type: "datetime",
@@ -923,7 +923,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
923
923
  e("div", Lo, [
924
924
  e("span", null, a(s(v)("bcf.description")), 1),
925
925
  e("div", Po, [
926
- K(R, {
926
+ V(R, {
927
927
  modelValue: M.value,
928
928
  "onUpdate:modelValue": g[4] || (g[4] = (l) => M.value = l),
929
929
  type: "textarea",
@@ -934,14 +934,14 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
934
934
  e("div", Bo, [
935
935
  e("span", null, a(s(v)("bcf.labels")), 1),
936
936
  e("div", Mo, [
937
- K(H, {
937
+ V(H, {
938
938
  modelValue: u.value,
939
939
  "onUpdate:modelValue": g[5] || (g[5] = (l) => u.value = l),
940
940
  multiple: "",
941
941
  placeholder: s(v)("common.placeholder_select")
942
942
  }, {
943
943
  default: ce(() => [
944
- (n(!0), c(G, null, Q(C.value, (l, x) => (n(), oe(N, {
944
+ (n(!0), c(G, null, q(C.value, (l, x) => (n(), oe(N, {
945
945
  key: x,
946
946
  value: l
947
947
  }, null, 8, ["value"]))), 128))
@@ -951,7 +951,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
951
951
  ])
952
952
  ])
953
953
  ]),
954
- e("div", Oo, [
954
+ e("div", zo, [
955
955
  g[8] || (g[8] = e("div", { class: "line" }, null, -1)),
956
956
  e("div", {
957
957
  class: "create",
@@ -969,13 +969,13 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
969
969
  ], 64);
970
970
  };
971
971
  }
972
- }), Eo = /* @__PURE__ */ ie(zo, [["__scopeId", "data-v-d4ddf289"]]), Ro = { class: "mobile_comments_toolbar" }, No = { class: "enter" }, Fo = { class: "comment_toolbar" }, Uo = { class: "comment-list" }, Ao = ["onClick"], Ho = { class: "comment-icon" }, Wo = ["src"], Yo = { class: "comment-name" }, Jo = { class: "comment-icon" }, Zo = ["src"], Go = {
972
+ }), Oo = /* @__PURE__ */ ie(Eo, [["__scopeId", "data-v-8b9d476b"]]), Ro = { class: "mobile_comments_toolbar" }, No = { class: "enter" }, Fo = { class: "comment_toolbar" }, Uo = { class: "comment-list" }, Ao = ["onClick"], Ho = { class: "comment-icon" }, Wo = ["src"], Yo = { class: "comment-name" }, Jo = { class: "comment-icon" }, Zo = ["src"], Go = {
973
973
  class: "comment-name",
974
974
  style: { color: "#df1c1c" }
975
- }, Xo = { class: "buttons" }, Ko = {
975
+ }, Ko = { class: "buttons" }, Vo = {
976
976
  key: 0,
977
977
  class: "comment_create_text_box"
978
- }, Vo = { class: "label-text-edit" }, qo = { class: "text-edit-head" }, Qo = ["src"], jo = { class: "text-edit-title" }, el = { class: "text-edit-body" }, tl = { class: "text-edit-input" }, sl = /* @__PURE__ */ ne({
978
+ }, Xo = { class: "label-text-edit" }, jo = { class: "text-edit-head" }, qo = ["src"], Qo = { class: "text-edit-title" }, el = { class: "text-edit-body" }, tl = { class: "text-edit-input" }, sl = /* @__PURE__ */ ne({
979
979
  __name: "draw",
980
980
  props: ["componentId"],
981
981
  emits: ["emitHandler", "cancel", "confirm"],
@@ -985,7 +985,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
985
985
  p.setReadyById(v.componentId);
986
986
  });
987
987
  let y, w;
988
- 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({
988
+ 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({
989
989
  show: !1,
990
990
  // 是否显示
991
991
  title: h("mobileComments.notice.title"),
@@ -1013,8 +1013,8 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1013
1013
  k.value = !0, i.value = 0, d("");
1014
1014
  });
1015
1015
  };
1016
- X.on("BimViewer", S), be(() => {
1017
- X.off("BimViewer", S);
1016
+ K.on("BimViewer", S), be(() => {
1017
+ K.off("BimViewer", S);
1018
1018
  });
1019
1019
  const b = U, g = () => {
1020
1020
  i.value = 1, d("path"), setTimeout(() => {
@@ -1025,10 +1025,10 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1025
1025
  var f;
1026
1026
  (f = document.getElementById("svgImage")) == null || f.removeEventListener("touchstart", N);
1027
1027
  }, N = (f) => {
1028
- f.target.tagName == "image" && (i.value === 5 ? (C.value = "", O.value = f, I.value = !0) : k.value = !1);
1028
+ f.target.tagName == "image" && (i.value === 5 ? (C.value = "", z.value = f, I.value = !0) : k.value = !1);
1029
1029
  }, H = () => {
1030
- C.value ? (y.clickCreateText(O.value, C.value), I.value = !1) : j(h("mobileComments.pleaseInputContent"));
1031
- }, j = (f, m) => {
1030
+ C.value ? (y.clickCreateText(z.value, C.value), I.value = !1) : Q(h("mobileComments.pleaseInputContent"));
1031
+ }, Q = (f, m) => {
1032
1032
  T.value = {
1033
1033
  show: !0,
1034
1034
  // 是否显示
@@ -1046,7 +1046,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1046
1046
  }
1047
1047
  };
1048
1048
  }, t = (f) => {
1049
- i.value === f.id && (i.value = 0), E.value = 1, z.value = 1, D.value = f.buttontype, i.value = f.id, d(f.buttontype);
1049
+ i.value === f.id && (i.value = 0), O.value = 1, E.value = 1, D.value = f.buttontype, i.value = f.id, d(f.buttontype);
1050
1050
  }, l = o(), x = new He(0.1), B = () => {
1051
1051
  y.saveComments();
1052
1052
  const f = document.getElementById("svgImage");
@@ -1074,10 +1074,10 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1074
1074
  e("div", Ro, [
1075
1075
  e("div", No, [
1076
1076
  e("div", Fo, [
1077
- K(F, null, {
1077
+ V(F, null, {
1078
1078
  default: ce(() => [
1079
1079
  e("div", Uo, [
1080
- (n(!0), c(G, null, Q(s(Le), (J, r) => (n(), c("div", {
1080
+ (n(!0), c(G, null, q(s(Le), (J, r) => (n(), c("div", {
1081
1081
  key: r,
1082
1082
  class: ue(["comment-item", {
1083
1083
  "comment-item-active": i.value === J.id
@@ -1108,7 +1108,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1108
1108
  _: 1
1109
1109
  })
1110
1110
  ]),
1111
- e("div", Xo, [
1111
+ e("div", Ko, [
1112
1112
  e("div", {
1113
1113
  class: "cancel",
1114
1114
  onClick: $
@@ -1120,15 +1120,15 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1120
1120
  ])
1121
1121
  ])
1122
1122
  ]),
1123
- I.value ? (n(), c("div", Ko, [
1124
- e("div", Vo, [
1125
- e("div", qo, [
1123
+ I.value ? (n(), c("div", Vo, [
1124
+ e("div", Xo, [
1125
+ e("div", jo, [
1126
1126
  e("img", {
1127
1127
  class: "text-edit-back",
1128
1128
  src: s(P) + "/bim-viewer/back_gray.svg",
1129
1129
  onClick: m[0] || (m[0] = (J) => I.value = !1)
1130
- }, null, 8, Qo),
1131
- e("div", jo, a(s(h)("mobileComments.createText")), 1),
1130
+ }, null, 8, qo),
1131
+ e("div", Qo, a(s(h)("mobileComments.createText")), 1),
1132
1132
  e("div", {
1133
1133
  class: "text-edit-finish",
1134
1134
  onClick: H
@@ -1136,7 +1136,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1136
1136
  ]),
1137
1137
  e("div", el, [
1138
1138
  e("div", tl, [
1139
- K(le, {
1139
+ V(le, {
1140
1140
  modelValue: C.value,
1141
1141
  "onUpdate:modelValue": m[1] || (m[1] = (J) => C.value = J),
1142
1142
  type: "textarea",
@@ -1150,7 +1150,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1150
1150
  ], 64);
1151
1151
  };
1152
1152
  }
1153
- }), ol = /* @__PURE__ */ ie(sl, [["__scopeId", "data-v-cef6bf9e"]]), ll = {
1153
+ }), ol = /* @__PURE__ */ ie(sl, [["__scopeId", "data-v-be58ac63"]]), ll = {
1154
1154
  id: "comments_toolbar",
1155
1155
  class: "comments_toolbar"
1156
1156
  }, nl = { class: "comments_toolbar_wrapper" }, il = { class: "comments_toolbar_content" }, al = { class: "comments_toolbar_group" }, cl = ["onClick"], rl = ["src"], ul = {
@@ -1170,29 +1170,29 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1170
1170
  const U = ae(), h = $e(), p = W, v = Y, y = (r) => {
1171
1171
  v("emitHandler", r);
1172
1172
  };
1173
- let w, i, E;
1174
- const z = o(!1), D = o(!1), M = () => {
1175
- w = window.bimViewer, i = window.bimViewer.commentTool, E = window.bimViewer.eventTrigger, S(""), E.on("createNew", () => {
1173
+ let w, i, O;
1174
+ const E = o(!1), D = o(!1), M = () => {
1175
+ w = window.bimViewer, i = window.bimViewer.commentTool, O = window.bimViewer.eventTrigger, S(""), O.on("createNew", () => {
1176
1176
  u.value = 0, S("");
1177
- }), E.on("newState", () => {
1178
- z.value = !0, D.value = !1;
1179
- }), E.on("noPreviousState", () => {
1180
- z.value = !1;
1181
- }), E.on("noNewState", () => {
1177
+ }), O.on("newState", () => {
1178
+ E.value = !0, D.value = !1;
1179
+ }), O.on("noPreviousState", () => {
1180
+ E.value = !1;
1181
+ }), O.on("noNewState", () => {
1182
1182
  D.value = !1;
1183
- }), E.on("choseTarget", (r) => {
1183
+ }), O.on("choseTarget", (r) => {
1184
1184
  u.value = 0, S("");
1185
1185
  });
1186
1186
  };
1187
- X.on("BimViewer", M), be(() => {
1188
- X.off("BimViewer", M);
1187
+ K.on("BimViewer", M), be(() => {
1188
+ K.off("BimViewer", M);
1189
1189
  }), re(
1190
1190
  () => h.isToolActive(p.componentId),
1191
1191
  (r) => {
1192
1192
  r && (u.value = 1, S("path"));
1193
1193
  }
1194
1194
  );
1195
- const u = o(0), k = o(1), I = o(1), C = o(1), O = o(Le), T = o(), S = (r) => {
1195
+ const u = o(0), k = o(1), I = o(1), C = o(1), z = o(Le), T = o(), S = (r) => {
1196
1196
  i.setCurrentMode(r);
1197
1197
  }, b = (r) => {
1198
1198
  u.value === r.id && (u.value = 0), k.value = 1, I.value = 1, T.value = r.buttontype, u.value = r.id, S(r.buttontype);
@@ -1200,14 +1200,14 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1200
1200
  i.saveComments();
1201
1201
  const r = document.getElementById("svgImage");
1202
1202
  if (r) {
1203
- const te = new XMLSerializer().serializeToString(r), V = document.createElement("canvas"), L = V.getContext("2d"), se = window.devicePixelRatio || 1, he = new Image();
1203
+ const te = new XMLSerializer().serializeToString(r), X = document.createElement("canvas"), L = X.getContext("2d"), se = window.devicePixelRatio || 1, he = new Image();
1204
1204
  he.onload = function() {
1205
- V.width = r.clientWidth * se, V.height = r.clientHeight * se, L && (L.scale(se, se), L.drawImage(he, 0, 0)), y({
1205
+ X.width = r.clientWidth * se, X.height = r.clientHeight * se, L && (L.scale(se, se), L.drawImage(he, 0, 0)), y({
1206
1206
  isTool: !0,
1207
1207
  event_target: "CommentTool",
1208
1208
  event_name: "saveComment",
1209
1209
  content: {
1210
- img_data: V.toDataURL("image/png").split(",")[1]
1210
+ img_data: X.toDataURL("image/png").split(",")[1]
1211
1211
  }
1212
1212
  });
1213
1213
  }, he.src = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(te)}`;
@@ -1227,7 +1227,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1227
1227
  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);
1228
1228
  }, H = (r) => {
1229
1229
  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);
1230
- }, j = (r) => {
1230
+ }, Q = (r) => {
1231
1231
  C.value = r.id, F(r.fontSize);
1232
1232
  }, t = (r) => {
1233
1233
  i.pathColor = r;
@@ -1251,7 +1251,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1251
1251
  i.textFontSize = r;
1252
1252
  }, le = () => {
1253
1253
  i.ReDo(() => {
1254
- }), z.value = !0;
1254
+ }), E.value = !0;
1255
1255
  }, J = () => {
1256
1256
  i.UnDo(() => {
1257
1257
  }), D.value = !0;
@@ -1260,25 +1260,25 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1260
1260
  e("div", nl, [
1261
1261
  e("div", il, [
1262
1262
  e("div", al, [
1263
- (n(!0), c(G, null, Q(O.value, (V) => (n(), c("div", {
1264
- key: V.id,
1265
- class: ue(["comments_tool_btn", { comments_tool_btn_active: u.value === V.id }]),
1266
- onClick: (L) => b(V)
1263
+ (n(!0), c(G, null, q(z.value, (X) => (n(), c("div", {
1264
+ key: X.id,
1265
+ class: ue(["comments_tool_btn", { comments_tool_btn_active: u.value === X.id }]),
1266
+ onClick: (L) => b(X)
1267
1267
  }, [
1268
1268
  e("img", {
1269
- src: s(P) + `/bim-viewer/comments/${u.value === V.id ? V.imgActive : V.img}.svg`
1269
+ src: s(P) + `/bim-viewer/comments/${u.value === X.id ? X.imgActive : X.img}.svg`
1270
1270
  }, null, 8, rl),
1271
- u.value === V.id ? (n(), c("div", ul, [
1271
+ u.value === X.id ? (n(), c("div", ul, [
1272
1272
  e("div", dl, [
1273
- V.buttontype === "text" ? (n(), c("div", ml, [
1274
- (n(!0), c(G, null, Q(s(Fe), (L) => (n(), c("div", {
1273
+ X.buttontype === "text" ? (n(), c("div", ml, [
1274
+ (n(!0), c(G, null, q(s(Fe), (L) => (n(), c("div", {
1275
1275
  key: L.id,
1276
1276
  class: ue(["text1", { text2: C.value === L.id }]),
1277
1277
  style: ee({ "font-size": L.id === 0 ? "18px" : L.id === 1 ? "16px" : "12px" }),
1278
- onClick: (se) => j(L)
1278
+ onClick: (se) => Q(L)
1279
1279
  }, a(s(U)(L.name)), 15, vl))), 128))
1280
1280
  ])) : (n(), c("div", _l, [
1281
- (n(!0), c(G, null, Q(s(Ue), (L) => (n(), c("div", {
1281
+ (n(!0), c(G, null, q(s(Ue), (L) => (n(), c("div", {
1282
1282
  key: L.id,
1283
1283
  class: ue(["weight", { choose_weight: k.value === L.id }]),
1284
1284
  style: ee({
@@ -1289,7 +1289,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1289
1289
  }, null, 14, pl))), 128))
1290
1290
  ])),
1291
1291
  e("div", hl, [
1292
- (n(!0), c(G, null, Q(s(Ae), (L) => (n(), c("div", {
1292
+ (n(!0), c(G, null, q(s(Ae), (L) => (n(), c("div", {
1293
1293
  key: L.id,
1294
1294
  class: ue(["color-item", { choose_color: I.value === L.id }]),
1295
1295
  style: ee({
@@ -1312,7 +1312,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1312
1312
  onClick: J
1313
1313
  }, [
1314
1314
  e("img", {
1315
- src: s(P) + `/bim-viewer/annotations/${z.value ? "left-revoke-active" : "left-revoke"}.png`
1315
+ src: s(P) + `/bim-viewer/annotations/${E.value ? "left-revoke-active" : "left-revoke"}.png`
1316
1316
  }, null, 8, bl)
1317
1317
  ]),
1318
1318
  e("div", {
@@ -1339,7 +1339,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1339
1339
  ])
1340
1340
  ]));
1341
1341
  }
1342
- }), $l = /* @__PURE__ */ ie(Cl, [["__scopeId", "data-v-edefea88"]]), yl = { key: 2 }, wl = { class: "top" }, Il = { class: "top_bar" }, xl = ["src"], Tl = {
1342
+ }), $l = /* @__PURE__ */ ie(Cl, [["__scopeId", "data-v-8518aacc"]]), yl = { key: 2 }, wl = { class: "top" }, Il = { class: "top_bar" }, xl = ["src"], Tl = {
1343
1343
  key: 0,
1344
1344
  class: "title_2"
1345
1345
  }, Dl = { class: "more" }, Sl = ["src"], Ll = {
@@ -1352,15 +1352,15 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1352
1352
  setup(W, { emit: Y }) {
1353
1353
  const U = $e(), h = ke(), p = ae(), v = W, y = (m) => {
1354
1354
  C.value = m;
1355
- }, w = o(!1), i = o(""), E = o(""), z = o(!1), D = (m) => {
1356
- i.value = m.type, E.value = m.text, z.value = !0, setTimeout(() => {
1357
- z.value = !1;
1355
+ }, w = o(!1), i = o(""), O = o(""), E = o(!1), D = (m) => {
1356
+ i.value = m.type, O.value = m.text, E.value = !0, setTimeout(() => {
1357
+ E.value = !1;
1358
1358
  }, 1500);
1359
1359
  };
1360
- X.on("cmtLoading", y), X.on("prompt", D), me(() => {
1360
+ K.on("cmtLoading", y), K.on("prompt", D), me(() => {
1361
1361
  U.setReadyById(v.componentId);
1362
1362
  }), be(() => {
1363
- X.off("cmtLoading", y), X.off("prompt", D);
1363
+ K.off("cmtLoading", y), K.off("prompt", D);
1364
1364
  });
1365
1365
  const M = Y, u = (m) => {
1366
1366
  M("emitHandler", m);
@@ -1368,44 +1368,44 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1368
1368
  re(
1369
1369
  () => U.isToolActive(v.componentId),
1370
1370
  (m) => {
1371
- q("isMobile") && (q("editPrivilege") == 0 ? m ? k.value.handleOpen() : (k.value.handleClose(), X.emit("hideToolbar", !1), j()) : q("editPrivilege") == 1 && (m ? B() : (X.emit("hideToolbar", !1), j())));
1371
+ 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())));
1372
1372
  }
1373
1373
  );
1374
1374
  const I = o(!1);
1375
1375
  re(
1376
1376
  () => v.instruction,
1377
1377
  (m) => {
1378
- 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(() => {
1378
+ 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(() => {
1379
1379
  x(m.content.guid);
1380
- }, 200)), X.emit("cmtLoading", !1));
1380
+ }, 200)), K.emit("cmtLoading", !1));
1381
1381
  },
1382
1382
  { deep: !0 }
1383
1383
  );
1384
- 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
- O.value = 0, b.value = !1, R.value = !1, g.value = !1, S.value = p("mobileComments.newComment");
1384
+ 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 = () => {
1385
+ z.value = 0, b.value = !1, R.value = !1, g.value = !1, S.value = p("mobileComments.newComment");
1386
1386
  }, t = (m) => {
1387
- H.value = m, O.value = 1, g.value = !0;
1387
+ H.value = m, z.value = 1, g.value = !0;
1388
1388
  }, l = (m) => {
1389
- X.emit("cmtLoading", !0), u({
1389
+ K.emit("cmtLoading", !0), u({
1390
1390
  isTool: !0,
1391
1391
  event_name: "newComment",
1392
1392
  event_target: "CommentTool",
1393
1393
  content: { ...m }
1394
1394
  });
1395
1395
  }, x = (m, F = !0) => {
1396
- F ? (X.emit("cmtLoading", !0), u({
1396
+ F ? (K.emit("cmtLoading", !0), u({
1397
1397
  isTool: !0,
1398
1398
  event_target: "CommentTool",
1399
1399
  event_name: "checkCmtDetail",
1400
1400
  content: { id: m }
1401
- })) : R.value = !0, g.value = !1, O.value = 2;
1401
+ })) : R.value = !0, g.value = !1, z.value = 2;
1402
1402
  }, B = (m = !0) => {
1403
- m && (X.emit("cmtLoading", !0), u({
1403
+ m && (K.emit("cmtLoading", !0), u({
1404
1404
  isTool: !0,
1405
1405
  event_name: "refreshCmtList",
1406
1406
  event_target: "CommentTool",
1407
1407
  content: {}
1408
- })), O.value = 3, S.value = "批注列表", b.value = !0, R.value = !1;
1408
+ })), z.value = 3, S.value = "批注列表", b.value = !0, R.value = !1;
1409
1409
  }, _ = (m) => {
1410
1410
  u({
1411
1411
  isTool: !0,
@@ -1414,27 +1414,27 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1414
1414
  content: { id: m }
1415
1415
  });
1416
1416
  }, d = () => {
1417
- switch (O.value) {
1417
+ switch (z.value) {
1418
1418
  case 0:
1419
1419
  f();
1420
1420
  break;
1421
1421
  case 1:
1422
- j();
1422
+ Q();
1423
1423
  break;
1424
1424
  case 2:
1425
- R.value = !1, S.value = "批注列表", O.value = 3, I.value ? B() : b.value = !0;
1425
+ R.value = !1, S.value = "批注列表", z.value = 3, I.value ? B() : b.value = !0;
1426
1426
  break;
1427
1427
  case 3:
1428
- q("editPrivilege") == 0 && (b.value = !1, j()), q("editPrivilege") == 1 && f();
1428
+ j("editPrivilege") == 0 && (b.value = !1, Q()), j("editPrivilege") == 1 && f();
1429
1429
  break;
1430
1430
  }
1431
1431
  }, $ = () => {
1432
- O.value == 2 && x(N.value.guid), O.value == 3 && B();
1432
+ z.value == 2 && x(N.value.guid), z.value == 3 && B();
1433
1433
  }, f = () => {
1434
- X.emit("hideToolbar", !1), M("closePanel");
1434
+ K.emit("hideToolbar", !1), M("closePanel");
1435
1435
  };
1436
1436
  return (m, F) => {
1437
- const le = $l, J = ol, r = Eo, te = _o, V = zs, L = Xe;
1437
+ const le = $l, J = ol, r = Oo, te = _o, X = Es, L = Ke;
1438
1438
  return n(), c("div", {
1439
1439
  class: "comment_component",
1440
1440
  onPointerdown: F[4] || (F[4] = (se) => w.value = !1)
@@ -1442,15 +1442,15 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1442
1442
  e("div", {
1443
1443
  id: "comments_panel",
1444
1444
  class: "comments_panel",
1445
- style: ee({ background: s(q)("backgroundColor") })
1445
+ style: ee({ background: s(j)("backgroundColor") })
1446
1446
  }, null, 4),
1447
- s(q)("isMobile") ? A("", !0) : (n(), oe(le, {
1447
+ s(j)("isMobile") ? A("", !0) : (n(), oe(le, {
1448
1448
  key: 0,
1449
1449
  "component-id": W.componentId,
1450
1450
  onEmitHandler: u,
1451
1451
  onClosePanel: F[0] || (F[0] = (se) => M("closePanel"))
1452
1452
  }, null, 8, ["component-id"])),
1453
- s(q)("isMobile") ? (n(), oe(J, {
1453
+ s(j)("isMobile") ? (n(), oe(J, {
1454
1454
  key: 1,
1455
1455
  ref_key: "drawRef",
1456
1456
  ref: k,
@@ -1458,7 +1458,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1458
1458
  onCancel: d,
1459
1459
  onConfirm: t
1460
1460
  }, null, 8, ["component-id"])) : A("", !0),
1461
- s(q)("isMobile") ? (n(), c("div", yl, [
1461
+ s(j)("isMobile") ? (n(), c("div", yl, [
1462
1462
  g.value ? (n(), oe(r, {
1463
1463
  key: 0,
1464
1464
  "image-data": H.value,
@@ -1473,7 +1473,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1473
1473
  onDelete: _,
1474
1474
  onBack: f
1475
1475
  }, null, 8, ["cmt-content"])) : A("", !0),
1476
- we(K(V, {
1476
+ we(V(X, {
1477
1477
  "-c-m-t-list": T.value,
1478
1478
  instruction: v.instruction,
1479
1479
  onCheckCmtDetail: x,
@@ -1484,7 +1484,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1484
1484
  e("div", wl, [
1485
1485
  e("div", {
1486
1486
  class: "top_height",
1487
- style: ee({ width: "100%", height: `${s(q)("topHeight") / 50}rem` })
1487
+ style: ee({ width: "100%", height: `${s(j)("topHeight") / 50}rem` })
1488
1488
  }, null, 4),
1489
1489
  e("div", Il, [
1490
1490
  e("img", {
@@ -1498,12 +1498,12 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1498
1498
  }, a(S.value), 1),
1499
1499
  w.value ? (n(), c("span", Tl, a(S.value), 1)) : A("", !0),
1500
1500
  e("div", Dl, [
1501
- O.value == 0 ? (n(), c("div", {
1501
+ z.value == 0 ? (n(), c("div", {
1502
1502
  key: 0,
1503
1503
  class: "history",
1504
1504
  onClick: F[3] || (F[3] = (se) => B())
1505
1505
  }, a(s(p)("mobileComments.list")), 1)) : A("", !0),
1506
- O.value == 2 || O.value == 3 ? (n(), c("img", {
1506
+ z.value == 2 || z.value == 3 ? (n(), c("img", {
1507
1507
  key: 1,
1508
1508
  class: "refresh",
1509
1509
  onClick: $,
@@ -1514,15 +1514,15 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
1514
1514
  ])
1515
1515
  ])) : A("", !0),
1516
1516
  C.value ? (n(), c("div", Ll)) : A("", !0),
1517
- z.value ? (n(), oe(L, {
1517
+ E.value ? (n(), oe(L, {
1518
1518
  key: 4,
1519
1519
  type: i.value,
1520
- text: E.value
1520
+ text: O.value
1521
1521
  }, null, 8, ["type", "text"])) : A("", !0)
1522
1522
  ], 32);
1523
1523
  };
1524
1524
  }
1525
- }), zl = /* @__PURE__ */ ie(Pl, [["__scopeId", "data-v-110f0c85"]]);
1525
+ }), El = /* @__PURE__ */ ie(Pl, [["__scopeId", "data-v-c9037bae"]]);
1526
1526
  export {
1527
- zl as default
1527
+ El as default
1528
1528
  };