@xtctwins/tctwins-bimx-engine 0.2.52 → 0.2.54

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 (26) hide show
  1. package/dist/AnnotationTool-Dt8mr8Pv.mjs +239 -0
  2. package/dist/BIMX_Viewer_Lib.es.js +1 -1
  3. package/dist/BIMX_Viewer_Lib.umd.js +83 -83
  4. package/dist/{CommentTool-C3hDmNLC.mjs → CommentTool-C7EjIHT-.mjs} +586 -594
  5. package/dist/{HiddenTool-D26ih-kX.mjs → HiddenTool-BmsQJILs.mjs} +1 -1
  6. package/dist/{InspectorTool-B058fBid.mjs → InspectorTool-Bov8jwXr.mjs} +28 -28
  7. package/dist/{MeasureTool-BgWpRhtI.mjs → MeasureTool-DVLt6Pqa.mjs} +4 -4
  8. package/dist/{MouseTool-DyeMRpWi.mjs → MouseTool-Bqd5Bmlr.mjs} +1 -1
  9. package/dist/{NavigateTool-6DcpLY_B.mjs → NavigateTool-YAKQUjOa.mjs} +1 -1
  10. package/dist/{RoamTool-Bgdy4dAF.mjs → RoamTool-CU4dpCTS.mjs} +1 -1
  11. package/dist/{ScreenShotTool-BLdvCs--.mjs → ScreenShotTool-XXjP20-m.mjs} +4 -4
  12. package/dist/{SectionTool-D4y-W2cu.mjs → SectionTool-BMMQBnYz.mjs} +22 -22
  13. package/dist/{SettingTool-D71E-pI1.mjs → SettingTool-BwYwYqNZ.mjs} +44 -44
  14. package/dist/{StructureTree-vv8HnIii.mjs → StructureTree-CrTd7vJp.mjs} +3 -3
  15. package/dist/{alert-DjNWlk8Z.mjs → alert-iUe8hu7Z.mjs} +1 -1
  16. package/dist/{el-input-number-CuLIf7kb.mjs → el-input-number-BE5izksC.mjs} +1 -1
  17. package/dist/{index-DjyQVMs9.mjs → index-DBpA3PFq.mjs} +1136 -1143
  18. package/dist/{panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs → panel.vue_vue_type_style_index_0_lang-BmLQqrQm.mjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{tallPanel-CAEQJ3Ko.mjs → tallPanel-CgR65rDU.mjs} +1 -1
  21. package/package.json +1 -1
  22. package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +2 -0
  23. package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +2 -0
  24. package/types/components/BimViewerComponents/SectionTool.vue.d.ts +4 -0
  25. package/dist/AnnotationTool-BevJEQLf.mjs +0 -167
  26. /package/types/components/BimViewerComponents/MobileCommentsTool/{add.vue.d.ts → MobileCommentAdd.vue.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, onMounted as E, ref as k, onBeforeUnmount as B, createElementBlock as s, openBlock as l, createElementVNode as r, Fragment as C, renderList as H, unref as c, normalizeClass as w, toDisplayString as I } from "vue";
2
- import { A as S, B as A, D as m, O, C as T, I as x } from "./index-DjyQVMs9.mjs";
2
+ import { A as S, B as A, D as m, O, C as T, I as x } from "./index-DBpA3PFq.mjs";
3
3
  import { H as D } from "./const-DOnRsYpZ.mjs";
4
4
  const j = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], N = ["src"], R = /* @__PURE__ */ y({
5
5
  __name: "HiddenTool",
@@ -1,7 +1,7 @@
1
- import { J as ee, A as te, B as ne, D as E, C as v, T as N, G as oe, O as H, H as se, I as ie } from "./index-DjyQVMs9.mjs";
2
- import { _ as ae } from "./tallPanel-CAEQJ3Ko.mjs";
3
- import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
4
- import { defineComponent as ce, onMounted as re, ref as W, reactive as K, watch as _e, onBeforeUnmount as pe, createElementBlock as r, openBlock as c, Fragment as y, createBlock as Q, createCommentVNode as O, unref as n, withCtx as I, withDirectives as d, createElementVNode as e, createVNode as B, toDisplayString as t, vShow as m, renderList as C } from "vue";
1
+ import { J as ee, A as te, B as ne, D as E, C as v, T as N, G as oe, O as H, H as se, I as ie } from "./index-DBpA3PFq.mjs";
2
+ import { _ as ae } from "./tallPanel-CgR65rDU.mjs";
3
+ import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-BmLQqrQm.mjs";
4
+ import { defineComponent as ce, onMounted as re, ref as W, reactive as K, watch as _e, onBeforeUnmount as pe, createElementBlock as r, openBlock as c, Fragment as y, createBlock as Q, createCommentVNode as O, unref as n, withCtx as I, withDirectives as d, createElementVNode as e, createVNode as B, toDisplayString as t, vShow as m, renderList as f } from "vue";
5
5
  const J = {
6
6
  ExtendToStructure: "扩建物",
7
7
  ThermalTransmittance: "热透射率",
@@ -249,17 +249,17 @@ const J = {
249
249
  Pset_FlowInstrumentTypeCommon: "流量仪表类型通用",
250
250
  Pset_HeatTransferDeviceTypeCommon: "热传递设备类型通用"
251
251
  }, ue = Object.keys(J).reduce(
252
- (f, b) => {
252
+ (C, b) => {
253
253
  const o = b.trim().toLowerCase().replace(/\s+/g, "");
254
- return f[o] = J[b], f;
254
+ return C[o] = J[b], C;
255
255
  },
256
256
  {}
257
257
  );
258
- function k(f, b) {
259
- const o = f.trim().toLowerCase().replace(/\s+/g, "");
260
- return (b || ee().locale) === "en-US" ? f : ue[o] || f;
258
+ function k(C, b) {
259
+ const o = C.trim().toLowerCase().replace(/\s+/g, "");
260
+ return (b || ee().locale) === "en-US" ? C : ue[o] || C;
261
261
  }
262
- const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src"], ye = { class: "properties_content" }, ve = { class: "basic_info_title" }, Ce = { class: "basic_info_value" }, fe = { class: "propertysets" }, ge = ["onClick"], Pe = { class: "title" }, be = ["src"], Te = { class: "properties_content" }, Se = { class: "content_title_value" }, Ie = { class: "content_title" }, ke = { class: "content_value" }, De = { class: "myInspector_empty" }, Re = ["src"], we = {
262
+ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src"], ye = { class: "properties_content" }, ve = { class: "basic_info_title" }, fe = { class: "basic_info_value" }, Ce = { class: "propertysets" }, ge = ["onClick"], Pe = { class: "title" }, be = ["src"], Te = { class: "properties_content" }, Se = { class: "content_title_value" }, Ie = { class: "content_title" }, ke = { class: "content_value" }, De = { class: "myInspector_empty" }, Re = ["src"], we = {
263
263
  class: "pc_Inspector_type_button",
264
264
  style: { display: "none" }
265
265
  }, xe = { class: "type_button" }, Ee = { class: "type_button" }, Be = { class: "pc_Inspector_content" }, Fe = { class: "pc_myInspector_content" }, Me = { class: "title" }, Le = ["src"], Oe = { class: "properties_content" }, je = { class: "basic_info_title" }, Ae = { class: "basic_info_value" }, Ve = { class: "propertysets" }, Ne = ["onClick"], He = { class: "title" }, We = ["src"], Ue = { class: "properties_content" }, $e = { class: "content_title_value" }, ze = { class: "content_title" }, qe = { class: "content_value" }, Ge = { class: "pc_model_info" }, Ke = { class: "model_info_content" }, Qe = { class: "model_info_value" }, Je = { class: "model_info_content" }, Ze = { class: "model_info_value" }, Xe = {
@@ -268,12 +268,12 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
268
268
  }, Ye = { class: "model_info_value" }, et = { class: "model_info_content" }, tt = { class: "model_info_value" }, nt = {
269
269
  key: 2,
270
270
  class: "mobile_myInspector_wrapper"
271
- }, ot = { class: "detail-title-box" }, st = { class: "detail-title" }, it = { class: "detail-title-icon" }, at = { class: "mobile_myInspector" }, lt = { class: "mobile_myInspector_content" }, ct = { class: "basic_info_title" }, rt = ["src"], _t = { class: "basic_info_content" }, pt = { class: "basic_info_content_value" }, ut = { class: "content_title" }, dt = { class: "content_value" }, mt = { class: "basic_info_content_value" }, ht = { class: "content_value" }, yt = { class: "basic_info_content_value" }, vt = { class: "content_title" }, Ct = { class: "content_value" }, ft = { class: "propertysets" }, gt = ["onClick"], Pt = { class: "propertysets_title" }, bt = ["src"], Tt = { class: "properties_content" }, St = { class: "content_title_value" }, It = { class: "content_title" }, kt = { class: "content_value" }, Dt = { class: "mobile_Inspector_empty" }, Rt = { class: "model_info_value" }, wt = { class: "model_info_value" }, xt = { class: "model_info_value" }, Et = { class: "model_info_value" }, Bt = /* @__PURE__ */ ce({
271
+ }, ot = { class: "detail-title-box" }, st = { class: "detail-title" }, it = { class: "detail-title-icon" }, at = { class: "mobile_myInspector" }, lt = { class: "mobile_myInspector_content" }, ct = { class: "basic_info_title" }, rt = ["src"], _t = { class: "basic_info_content" }, pt = { class: "basic_info_content_value" }, ut = { class: "content_title" }, dt = { class: "content_value" }, mt = { class: "basic_info_content_value" }, ht = { class: "content_value" }, yt = { class: "basic_info_content_value" }, vt = { class: "content_title" }, ft = { class: "content_value" }, Ct = { class: "propertysets" }, gt = ["onClick"], Pt = { class: "propertysets_title" }, bt = ["src"], Tt = { class: "properties_content" }, St = { class: "content_title_value" }, It = { class: "content_title" }, kt = { class: "content_value" }, Dt = { class: "mobile_Inspector_empty" }, Rt = { class: "model_info_value" }, wt = { class: "model_info_value" }, xt = { class: "model_info_value" }, Et = { class: "model_info_value" }, Bt = /* @__PURE__ */ ce({
272
272
  __name: "InspectorTool",
273
- props: ["componentId"],
273
+ props: ["componentId", "instruction"],
274
274
  emits: ["closePanel", "emitHandler"],
275
- setup(f, { emit: b }) {
276
- const o = te(), F = ne(), M = f;
275
+ setup(C, { emit: b }) {
276
+ const o = te(), F = ne(), M = C;
277
277
  re(() => {
278
278
  F.setReadyById(M.componentId);
279
279
  });
@@ -392,7 +392,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
392
392
  l[3] || (l[3] = e("span", { style: { "margin-top": "2px" } }, "UUID", -1)),
393
393
  e("span", null, t(n(o)("inspector.type")), 1)
394
394
  ]),
395
- e("div", Ce, [
395
+ e("div", fe, [
396
396
  e("span", null, t(s.entity_name), 1),
397
397
  e("span", null, t(s.entity_id), 1),
398
398
  e("span", null, t(s.entity_type), 1)
@@ -401,8 +401,8 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
401
401
  [m, s.expanded]
402
402
  ])
403
403
  ]),
404
- e("ul", fe, [
405
- (c(!0), r(y, null, C(s.propertySets, (p, R) => (c(), r("li", {
404
+ e("ul", Ce, [
405
+ (c(!0), r(y, null, f(s.propertySets, (p, R) => (c(), r("li", {
406
406
  key: R,
407
407
  class: "propertyset",
408
408
  onClick: (g) => T(p)
@@ -416,11 +416,11 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
416
416
  ]),
417
417
  d(e("div", Te, [
418
418
  e("ul", Se, [
419
- (c(!0), r(y, null, C(p.properties, (g, w) => (c(), r("li", {
419
+ (c(!0), r(y, null, f(p.properties, (g, w) => (c(), r("li", {
420
420
  key: w,
421
421
  class: "properties"
422
422
  }, [
423
- (c(!0), r(y, null, C(g, (x, P) => (c(), r("div", {
423
+ (c(!0), r(y, null, f(g, (x, P) => (c(), r("div", {
424
424
  class: "title_value",
425
425
  key: P
426
426
  }, [
@@ -494,7 +494,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
494
494
  ])
495
495
  ]),
496
496
  e("ul", Ve, [
497
- (c(!0), r(y, null, C(s.propertySets, (p, R) => (c(), r("li", {
497
+ (c(!0), r(y, null, f(s.propertySets, (p, R) => (c(), r("li", {
498
498
  key: R,
499
499
  class: "propertyset",
500
500
  onClick: (g) => T(p)
@@ -508,11 +508,11 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
508
508
  ]),
509
509
  d(e("div", Ue, [
510
510
  e("ul", $e, [
511
- (c(!0), r(y, null, C(p.properties, (g, w) => (c(), r("li", {
511
+ (c(!0), r(y, null, f(p.properties, (g, w) => (c(), r("li", {
512
512
  key: w,
513
513
  class: "properties"
514
514
  }, [
515
- (c(!0), r(y, null, C(g, (x, P) => (c(), r("div", {
515
+ (c(!0), r(y, null, f(g, (x, P) => (c(), r("div", {
516
516
  class: "title_value",
517
517
  key: P
518
518
  }, [
@@ -599,14 +599,14 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
599
599
  ]),
600
600
  e("div", yt, [
601
601
  e("span", vt, t(n(o)("inspector.type")), 1),
602
- e("span", Ct, t(s.entity_type), 1)
602
+ e("span", ft, t(s.entity_type), 1)
603
603
  ])
604
604
  ], 512), [
605
605
  [m, s.expanded]
606
606
  ])
607
607
  ]),
608
- e("ul", ft, [
609
- (c(!0), r(y, null, C(s.propertySets, (p, R) => (c(), r("li", {
608
+ e("ul", Ct, [
609
+ (c(!0), r(y, null, f(s.propertySets, (p, R) => (c(), r("li", {
610
610
  key: R,
611
611
  class: "propertyset",
612
612
  onClick: (g) => T(p)
@@ -620,11 +620,11 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
620
620
  ]),
621
621
  d(e("div", Tt, [
622
622
  e("ul", St, [
623
- (c(!0), r(y, null, C(p.properties, (g, w) => (c(), r("li", {
623
+ (c(!0), r(y, null, f(p.properties, (g, w) => (c(), r("li", {
624
624
  key: w,
625
625
  class: "properties"
626
626
  }, [
627
- (c(!0), r(y, null, C(g, (x, P) => (c(), r("div", {
627
+ (c(!0), r(y, null, f(g, (x, P) => (c(), r("div", {
628
628
  class: "title_value",
629
629
  key: P
630
630
  }, [
@@ -672,7 +672,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
672
672
  ], 64);
673
673
  };
674
674
  }
675
- }), jt = /* @__PURE__ */ ie(Bt, [["__scopeId", "data-v-f34c7ba4"]]);
675
+ }), jt = /* @__PURE__ */ ie(Bt, [["__scopeId", "data-v-89df33f5"]]);
676
676
  export {
677
677
  jt as default
678
678
  };
@@ -1,5 +1,5 @@
1
- import { A as De, B as Re, T as ae, D as ne, C as f, O as w, F as Ce, Q as Le, R as $e, G as Pe, V as ue, I as ze } from "./index-DjyQVMs9.mjs";
2
- import { _ as Ne } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
1
+ import { A as De, B as Re, T as ae, D as ne, C as f, O as w, F as Ce, Q as Le, R as $e, G as Pe, V as ue, I as ze } from "./index-DBpA3PFq.mjs";
2
+ import { _ as Ne } from "./panel.vue_vue_type_style_index_0_lang-BmLQqrQm.mjs";
3
3
  import { defineComponent as Ue, ref as n, onMounted as ie, onBeforeUnmount as Fe, watch as Oe, createElementBlock as c, openBlock as i, Fragment as E, createBlock as Xe, withDirectives as Ye, unref as t, withCtx as U, createElementVNode as s, renderList as F, normalizeClass as ce, toDisplayString as o, createVNode as T, createCommentVNode as He, normalizeStyle as re, vShow as Qe } from "vue";
4
4
  import { M as O } from "./const-DOnRsYpZ.mjs";
5
5
  const We = {
@@ -25,7 +25,7 @@ const We = {
25
25
  style: { color: "#df1c1c" }
26
26
  }, xs = { class: "mouse_btn" }, As = ["src"], Bs = ["src"], Is = ["src"], Es = /* @__PURE__ */ Ue({
27
27
  __name: "MeasureTool",
28
- props: ["componentId"],
28
+ props: ["componentId", "instruction"],
29
29
  emits: ["closePanel", "emitHandler"],
30
30
  setup(ve, { emit: de }) {
31
31
  const a = De(), S = Re(), me = ve, X = n(0);
@@ -317,7 +317,7 @@ const We = {
317
317
  ], 64);
318
318
  };
319
319
  }
320
- }), Ls = /* @__PURE__ */ ze(Es, [["__scopeId", "data-v-fcef3ec9"]]);
320
+ }), Ls = /* @__PURE__ */ ze(Es, [["__scopeId", "data-v-e96a807e"]]);
321
321
  export {
322
322
  Ls as default
323
323
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, createElementBlock as M, openBlock as $, withDirectives as D, createElementVNode as g, normalizeStyle as F, unref as L, vShow as N } from "vue";
2
- import { B as R, D as s, O as V, V as k } from "./index-DjyQVMs9.mjs";
2
+ import { B as R, D as s, O as V, V as k } from "./index-DBpA3PFq.mjs";
3
3
  const U = { class: "mouse_tool" }, z = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
4
4
  __name: "MouseTool",
5
5
  props: ["componentId"],
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, onMounted as p, ref as w, createElementBlock as n, openBlock as i, createElementVNode as s, Fragment as g, renderList as f, unref as a, normalizeClass as h, toDisplayString as B } from "vue";
2
- import { A as I, B as N, O as S } from "./index-DjyQVMs9.mjs";
2
+ import { A as I, B as N, O as S } from "./index-DBpA3PFq.mjs";
3
3
  import { N as T } from "./const-DOnRsYpZ.mjs";
4
4
  const k = { class: "best-view-box" }, A = { class: "best-view-list" }, V = ["onClick"], x = { class: "best-view-icon" }, y = ["src"], C = { class: "best-view-name" }, R = /* @__PURE__ */ b({
5
5
  __name: "NavigateTool",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as H, ref as u, onMounted as j, onBeforeUnmount as q, watch as z, createElementBlock as h, openBlock as b, createCommentVNode as L, unref as r, createElementVNode as e, toDisplayString as m } from "vue";
2
- import { B as J, A as K, C as c, M as S, D as M, O as l, P as V, I as Q } from "./index-DjyQVMs9.mjs";
2
+ import { B as J, A as K, C as c, M as S, D as M, O as l, P as V, I as Q } from "./index-DBpA3PFq.mjs";
3
3
  const W = { class: "roam_container_wrapper" }, Y = {
4
4
  key: 0,
5
5
  class: "roam_container"
@@ -1,5 +1,5 @@
1
- import { _ as he } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
2
- import { j as K, a6 as q, d as H, b as N, a7 as T, a8 as L, a9 as Y, l as W, a as Se, aa as Ve, ab as _e, u as U, ac as Ee, v as X, ad as Re, ae as Ie, af as ke, y as Be, o as Ce, ag as Pe, ah as J, w as xe, A as we, B as Ne, F as $e } from "./index-DjyQVMs9.mjs";
1
+ import { _ as he } from "./panel.vue_vue_type_style_index_0_lang-BmLQqrQm.mjs";
2
+ import { j as K, a6 as q, d as H, b as N, a7 as T, a8 as L, a9 as Y, l as W, a as Se, aa as Ve, ab as _e, u as U, ac as Ee, v as X, ad as Re, ae as Ie, af as ke, y as Be, o as Ce, ag as Pe, ah as J, w as xe, A as we, B as Ne, F as $e } from "./index-DBpA3PFq.mjs";
3
3
  import { ref as k, inject as ze, computed as S, defineComponent as $, createElementBlock as B, openBlock as R, normalizeClass as E, unref as e, createElementVNode as g, withDirectives as Q, withModifiers as x, isRef as Z, vModelRadio as ee, renderSlot as A, createTextVNode as w, toDisplayString as C, nextTick as oe, normalizeStyle as Ge, onMounted as ae, provide as Te, reactive as Le, toRefs as Ue, watch as te, Fragment as le, renderList as ne, createBlock as se, resolveDynamicComponent as Ae, mergeProps as De, withCtx as z, createVNode as P, createCommentVNode as Fe } from "vue";
4
4
  import { a as G } from "./const-DOnRsYpZ.mjs";
5
5
  const ie = N({
@@ -453,13 +453,13 @@ const Je = { class: "wrapper" }, Qe = { class: "screen_thumbnail" }, Ze = ["src"
453
453
  class: "period_box"
454
454
  }, [
455
455
  P(m, {
456
- label: p.id
456
+ value: p.id
457
457
  }, {
458
458
  default: z(() => [
459
459
  w(C(p.name || e(l)(p.label ?? "")), 1)
460
460
  ]),
461
461
  _: 2
462
- }, 1032, ["label"])
462
+ }, 1032, ["value"])
463
463
  ]))), 128))
464
464
  ])
465
465
  ]),
@@ -1,13 +1,13 @@
1
- import { _ as me } from "./alert-DjNWlk8Z.mjs";
2
- import { A as pe, B as fe, T as G, C as w, D as $, O as d, G as he, S as ke, H as ge, I as we } from "./index-DjyQVMs9.mjs";
3
- import { E as be } from "./el-input-number-CuLIf7kb.mjs";
4
- import { _ as ye } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
5
- import { defineComponent as Se, ref as v, onMounted as Ce, watch as Ve, onBeforeUnmount as xe, createElementBlock as l, openBlock as s, Fragment as z, createBlock as Pe, withDirectives as H, unref as n, withCtx as E, createElementVNode as o, toDisplayString as u, renderList as K, vShow as W, createVNode as m, normalizeClass as Te, createTextVNode as Le, withModifiers as Be } from "vue";
1
+ import { _ as me } from "./alert-iUe8hu7Z.mjs";
2
+ import { A as pe, B as fe, T as F, C as w, D as $, O as d, G as he, S as ke, H as ge, I as we } from "./index-DBpA3PFq.mjs";
3
+ import { E as be } from "./el-input-number-BE5izksC.mjs";
4
+ import { _ as ye } from "./panel.vue_vue_type_style_index_0_lang-BmLQqrQm.mjs";
5
+ import { defineComponent as Se, ref as v, onMounted as Ce, watch as Ve, onBeforeUnmount as xe, createElementBlock as l, openBlock as s, Fragment as z, createBlock as Pe, withDirectives as G, unref as n, withCtx as E, createElementVNode as o, toDisplayString as u, renderList as K, vShow as W, createVNode as m, normalizeClass as Te, createTextVNode as Le, withModifiers as Be } from "vue";
6
6
  import { B as $e } from "./const-DOnRsYpZ.mjs";
7
7
  const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_title" }, Ie = { class: "section_control_button" }, Ae = ["src"], De = { class: "control_buttons" }, Oe = ["onClick"], Me = { class: "section_panel_cont" }, Ue = {
8
8
  key: 0,
9
9
  class: ""
10
- }, Ne = ["onClick"], Re = { class: "cont_item_left" }, je = ["src", "onClick"], Fe = { class: "cont_item_right" }, Ge = ["src", "onClick"], He = ["src", "onClick"], Ke = ["src", "onClick"], We = {
10
+ }, Ne = ["onClick"], Re = { class: "cont_item_left" }, He = ["src", "onClick"], je = { class: "cont_item_right" }, Fe = ["src", "onClick"], Ge = ["src", "onClick"], Ke = ["src", "onClick"], We = {
11
11
  key: 1,
12
12
  class: "empty1"
13
13
  }, qe = {
@@ -15,12 +15,12 @@ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
15
15
  class: "mobile_section_panel"
16
16
  }, Je = { class: "slicing-title-box" }, Qe = { class: "slicing-title" }, Xe = { class: "slicing-title-icon" }, Ye = { class: "slicing-content-box" }, Ze = { class: "slicing-select-box" }, eo = { class: "select-item" }, oo = { class: "select-item-left" }, to = ["src"], io = ["src"], no = { class: "select-item-center" }, so = { class: "item-center-top" }, lo = { class: "item-center-bottom" }, co = { class: "select-item" }, ao = { class: "select-item-left" }, ro = ["src"], uo = ["src"], _o = { class: "select-item-center" }, vo = { class: "item-center-top" }, mo = { class: "item-center-bottom" }, po = { class: "select-item" }, fo = { class: "select-item-left" }, ho = ["src"], ko = ["src"], go = { class: "select-item-center" }, wo = { class: "item-center-top" }, bo = { class: "item-center-bottom" }, yo = /* @__PURE__ */ Se({
17
17
  __name: "SectionTool",
18
- props: ["componentId"],
19
- emits: ["closePanel"],
18
+ props: ["componentId", "instruction"],
19
+ emits: ["closePanel", "emitHandler"],
20
20
  setup(q, { emit: J }) {
21
21
  const _ = pe(), I = fe(), A = q, x = v(0);
22
22
  Ce(() => {
23
- I.setReadyById(A.componentId), G.currentTheme == "blue" ? x.value = 240 : G.currentTheme == "light-gray" && (x.value = 202), document.addEventListener("click", D);
23
+ I.setReadyById(A.componentId), F.currentTheme == "blue" ? x.value = 240 : F.currentTheme == "light-gray" && (x.value = 202), document.addEventListener("click", D);
24
24
  });
25
25
  const D = (e) => {
26
26
  y.value && e.target.id != "controlOperatePanel" && M(!1);
@@ -94,14 +94,14 @@ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
94
94
  C(), e.isLook = !e.isLook, e.isLook ? (e.isLook = !0, te(e.id)) : ie(e.id), T(f.value);
95
95
  }, T = (e) => {
96
96
  a.showSectionPlane(e);
97
- }, j = (e) => {
97
+ }, H = (e) => {
98
98
  if (r.value)
99
99
  for (let t = 0; t < r.value.length; t++)
100
100
  r.value[t].isLook = e;
101
101
  }, ee = (e, t) => {
102
102
  for (let p = 0; p < r.value.length; p++)
103
103
  e == r.value[p].id && (r.value[p].isLook = t);
104
- }, F = (e) => {
104
+ }, j = (e) => {
105
105
  e.directionLeft = !e.directionLeft, ce(e.id);
106
106
  }, oe = (e) => {
107
107
  a.destroySectionPlane(e), r.value = r.value.filter((t) => t.id !== e);
@@ -110,9 +110,9 @@ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
110
110
  }, ie = (e) => {
111
111
  a.setSectionDisable(e);
112
112
  }, ne = () => {
113
- j(!0), a.enableSections(), a.showControl(), b.value = !0;
113
+ H(!0), a.enableSections(), a.showControl(), b.value = !0;
114
114
  }, se = () => {
115
- j(!1), a.disableSections(), b.value = !1, f.value = "";
115
+ H(!1), a.disableSections(), b.value = !1, f.value = "";
116
116
  }, le = (e) => {
117
117
  e.id === 0 ? (re(), r.value = []) : e.id === 1 ? de() : e.id === 2 ? ne() : e.id === 4 && (se(), C());
118
118
  }, ce = (e) => {
@@ -253,7 +253,7 @@ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
253
253
  src: n(d) + "/bim-viewer/slicing-more.png",
254
254
  onClick: t[0] || (t[0] = (i) => M(!y.value))
255
255
  }, null, 8, Ae),
256
- H(o("div", De, [
256
+ G(o("div", De, [
257
257
  (s(!0), l(z, null, K(n($e), (i) => (s(), l("div", {
258
258
  key: i.id,
259
259
  class: "operation_button",
@@ -280,21 +280,21 @@ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
280
280
  src: `${n(d)}/bim-viewer/${i.isLook ? "section_look_icon.png" : "section_unlook_icon.png"}`,
281
281
  alt: "",
282
282
  onClick: Be((V) => Z(i), ["stop"])
283
- }, null, 8, je),
283
+ }, null, 8, He),
284
284
  Le(" " + u(n(_)("section.sectionPrefix") + (B + 1)), 1)
285
285
  ]),
286
- o("div", Fe, [
286
+ o("div", je, [
287
287
  i.directionLeft ? (s(), l("img", {
288
288
  key: 0,
289
289
  src: n(d) + "/bim-viewer/left_section_icon.png",
290
290
  alt: "",
291
- onClick: (V) => F(i)
292
- }, null, 8, Ge)) : (s(), l("img", {
291
+ onClick: (V) => j(i)
292
+ }, null, 8, Fe)) : (s(), l("img", {
293
293
  key: 1,
294
294
  src: n(d) + "/bim-viewer/right_section_icon.png",
295
295
  alt: "",
296
- onClick: (V) => F(i)
297
- }, null, 8, He)),
296
+ onClick: (V) => j(i)
297
+ }, null, 8, Ge)),
298
298
  o("img", {
299
299
  src: n(d) + "/bim-viewer/section_del_icon.png",
300
300
  alt: "",
@@ -315,7 +315,7 @@ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
315
315
  ]),
316
316
  _: 1
317
317
  }, 8, ["width", "panelTitle"])),
318
- H(m(ve, {
318
+ G(m(ve, {
319
319
  "click-handle": () => {
320
320
  O.value = !1;
321
321
  }
@@ -325,7 +325,7 @@ const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_titl
325
325
  ], 64);
326
326
  };
327
327
  }
328
- }), Lo = /* @__PURE__ */ we(yo, [["__scopeId", "data-v-f710e44a"]]);
328
+ }), Lo = /* @__PURE__ */ we(yo, [["__scopeId", "data-v-3d3dcfc5"]]);
329
329
  export {
330
330
  Lo as default
331
331
  };