@realsee/dnalogel 3.46.0 → 3.47.0

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 (110) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/Sculpt/Meshes/Polygon.d.ts +6 -0
  3. package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
  4. package/dist/Sculpt/Meshes/Polyline.d.ts +7 -0
  5. package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
  6. package/dist/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
  7. package/dist/index.cjs.js +54 -54
  8. package/dist/index.js +3645 -3592
  9. package/dist/index.umd.js +46 -46
  10. package/dist/shared-utils/five/getPosition.d.ts +2 -0
  11. package/dist/shared-utils/three/PointSelector/index.d.ts +14 -10
  12. package/dist/typings/typings.d.ts +2 -0
  13. package/libs/AreaMakerPlugin/Controller.js +3 -2
  14. package/libs/AreaMakerPlugin/index.js +3 -2
  15. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  16. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  17. package/libs/CSS3DRenderPlugin/index.js +6 -5
  18. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
  19. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +3 -2
  20. package/libs/CruisePlugin/BaseController.js +5 -4
  21. package/libs/CruisePlugin/Move.js +3 -2
  22. package/libs/CruisePlugin/Work.js +3 -2
  23. package/libs/CruisePlugin/index.js +7 -6
  24. package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
  25. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  26. package/libs/GuideLinePlugin/Controller.js +5 -4
  27. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  28. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  29. package/libs/GuideLinePlugin/index.js +7 -6
  30. package/libs/ModelMakerPlugin/Controller.js +3 -2
  31. package/libs/ModelMakerPlugin/index.js +3 -2
  32. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  33. package/libs/ModelTVVideoPlugin/index.js +3 -2
  34. package/libs/Object3DHelperPlugin/Controller.js +19 -18
  35. package/libs/Object3DHelperPlugin/index.js +6 -5
  36. package/libs/PanoCompassPlugin/Controller.js +3 -2
  37. package/libs/PanoCompassPlugin/index.js +4 -3
  38. package/libs/PanoDoorLabelPlugin/BaseController.js +3 -2
  39. package/libs/PanoDoorLabelPlugin/Controller.js +21 -20
  40. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  41. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  42. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  43. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  44. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  45. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  46. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  47. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  48. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
  49. package/libs/PanoMeasurePlugin/index.js +14 -13
  50. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  51. package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
  52. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  53. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +34 -33
  54. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  55. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  56. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  57. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  58. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +62 -61
  59. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  60. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  61. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  62. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  63. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  64. package/libs/PanoTagPlugin/controller/index.js +6 -5
  65. package/libs/PanoTagPlugin/index.js +12 -11
  66. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  67. package/libs/PanoVideoPlugin/Controller.js +3 -2
  68. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  69. package/libs/PanoVideoPlugin/index.js +6 -5
  70. package/libs/PipelinePlugin/Controller.js +3 -2
  71. package/libs/PipelinePlugin/index.js +4 -3
  72. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  73. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  74. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  75. package/libs/Sculpt/Meshes/Line.js +17 -14
  76. package/libs/Sculpt/Meshes/Polygon.d.ts +6 -0
  77. package/libs/Sculpt/Meshes/Polygon.js +7 -4
  78. package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
  79. package/libs/Sculpt/Meshes/PolygonWithEdge.js +38 -24
  80. package/libs/Sculpt/Meshes/Polyline.d.ts +7 -0
  81. package/libs/Sculpt/Meshes/Polyline.js +32 -23
  82. package/libs/Sculpt/Objects/Base/index.js +20 -17
  83. package/libs/Sculpt/Objects/Line/Editor.js +6 -6
  84. package/libs/Sculpt/Objects/Line/index.js +16 -16
  85. package/libs/Sculpt/Objects/Point/Editor.js +10 -10
  86. package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
  87. package/libs/Sculpt/Objects/Polygon/index.js +43 -37
  88. package/libs/Sculpt/Objects/Polyline/Editor.js +3 -3
  89. package/libs/Sculpt/Objects/Polyline/index.js +43 -43
  90. package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
  91. package/libs/Sculpt/utils/removeAllTag.js +10 -0
  92. package/libs/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
  93. package/libs/Sculpt/utils/three/ColoredMesh.js +39 -31
  94. package/libs/base/BasePlugin.js +1 -1
  95. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  96. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  97. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  98. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  99. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  100. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  101. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  102. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  103. package/libs/index.js +126 -125
  104. package/libs/shared-utils/five/getPosition.d.ts +2 -0
  105. package/libs/shared-utils/five/getPosition.js +25 -30
  106. package/libs/shared-utils/logger.js +1 -1
  107. package/libs/shared-utils/three/PointSelector/index.d.ts +14 -10
  108. package/libs/shared-utils/three/PointSelector/index.js +74 -57
  109. package/libs/typings/typings.d.ts +2 -0
  110. package/package.json +1 -1
@@ -1,45 +1,45 @@
1
1
  var j = Object.defineProperty, E = Object.defineProperties;
2
2
  var V = Object.getOwnPropertyDescriptors;
3
- var v = Object.getOwnPropertySymbols;
3
+ var C = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
5
  var f = (i, t, e) => t in i ? j(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, w = (i, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  A.call(t, e) && f(i, e, t[e]);
8
- if (v)
9
- for (var e of v(t))
8
+ if (C)
9
+ for (var e of C(t))
10
10
  D.call(t, e) && f(i, e, t[e]);
11
11
  return i;
12
12
  }, M = (i, t) => E(i, V(t));
13
13
  var u = (i, t, e) => (f(i, typeof t != "symbol" ? t + "" : t, e), e);
14
- var L = (i, t, e) => new Promise((o, d) => {
15
- var a = (r) => {
14
+ var L = (i, t, e) => new Promise((n, d) => {
15
+ var a = (h) => {
16
16
  try {
17
- c(e.next(r));
18
- } catch (y) {
19
- d(y);
17
+ P(e.next(h));
18
+ } catch (m) {
19
+ d(m);
20
20
  }
21
- }, p = (r) => {
21
+ }, p = (h) => {
22
22
  try {
23
- c(e.throw(r));
24
- } catch (y) {
25
- d(y);
23
+ P(e.throw(h));
24
+ } catch (m) {
25
+ d(m);
26
26
  }
27
- }, c = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(a, p);
28
- c((e = e.apply(i, t)).next());
27
+ }, P = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(a, p);
28
+ P((e = e.apply(i, t)).next());
29
29
  });
30
30
  import { hotkeys as F } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
31
- import { PolylineWithDotsMesh as W, PolylineMesh as b } from "../../Meshes/Polyline.js";
31
+ import { PolylineWithDotsMesh as b, PolylineMesh as W } from "../../Meshes/Polyline.js";
32
32
  import { BaseObject as O } from "../Base/index.js";
33
- import * as m from "three";
33
+ import * as c from "three";
34
34
  import { PolylineEditor as T } from "./Editor.js";
35
35
  import { vector3ToArray as U } from "../../../shared-utils/three/vector3ToArray.js";
36
- const x = new m.Vector3();
36
+ const x = new c.Vector3();
37
37
  class G extends O {
38
- constructor(e, o) {
39
- super(e, o);
38
+ constructor(e, n) {
39
+ super(e, n);
40
40
  u(this, "type", "Polyline");
41
41
  u(this, "polyLineMesh");
42
- e && (this.polyLineMesh = new W(w(w({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new T(this), F("esc", () => {
42
+ e && (this.polyLineMesh = new b(w(w({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new T(this), F("esc", () => {
43
43
  this.stopCreating();
44
44
  });
45
45
  }
@@ -47,7 +47,7 @@ class G extends O {
47
47
  return M(w({}, this.baseData), {
48
48
  points: U(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
49
49
  style: {
50
- lineColor: new m.Color(this.polyLineMesh.lineColor).getHex(),
50
+ lineColor: new c.Color(this.polyLineMesh.lineColor).getHex(),
51
51
  lineWidth: this.polyLineMesh.lineWidth,
52
52
  dashed: this.polyLineMesh.dashed
53
53
  }
@@ -64,35 +64,35 @@ class G extends O {
64
64
  create(e) {
65
65
  return L(this, null, function* () {
66
66
  this.removeChildren();
67
- const o = new W(e);
68
- this.polyLineMesh = o, this.add(this.polyLineMesh), yield k(o, this.pointSelector, e), this.editor.enable();
67
+ const n = new b(e);
68
+ this.polyLineMesh = n, this.add(this.polyLineMesh), yield k(n, this.pointSelector, e), this.editor.enable();
69
69
  });
70
70
  }
71
71
  }
72
72
  function k(i, t, e) {
73
- var c;
74
- const o = i.parent;
75
- if (!o)
73
+ var P;
74
+ const n = i.parent;
75
+ if (!n)
76
76
  return;
77
- const d = (c = e == null ? void 0 : e.limit) != null ? c : "none", a = new b({ dashed: !0, lineColor: i.lineColor, lineWidth: i.lineWidth });
78
- o.add(a);
79
- const p = new b({ dashed: !0, lineColor: i.lineColor, lineWidth: i.lineWidth });
80
- return o.add(p), t.enable(), new Promise((r, y) => {
81
- const n = [];
82
- let s, l;
83
- const C = (h) => {
84
- const P = n.length === 0 ? h.point : s.clone();
85
- n.push(P), i.setPoints(n);
86
- }, g = (h) => {
87
- if (!(n != null && n.length) || !h)
77
+ const d = (P = e == null ? void 0 : e.limit) != null ? P : "none", a = new W(i.style);
78
+ n.add(a);
79
+ const p = new W({ dashed: !0, lineColor: i.lineColor, lineWidth: i.lineWidth });
80
+ return n.add(p), t.enable(), new Promise((h, m) => {
81
+ const o = [];
82
+ let l, s;
83
+ const g = (r) => {
84
+ const y = o.length === 0 ? r.point : l.clone();
85
+ o.push(y), i.setPoints(o);
86
+ }, v = (r) => {
87
+ if (!(o != null && o.length) || !r)
88
88
  return;
89
- const P = n.at(-1).clone();
90
- d === "none" ? (s = h.point, a.setPoints([P, s])) : d === "xoz" ? (l = l != null ? l : new m.Plane().setFromNormalAndCoplanarPoint(new m.Vector3(0, 1, 0), n[0]), s = l.projectPoint(h.point, x), a.setPoints([P, s]), p.setPoints([s, h.point])) : d === "y" && (n.length === 1 ? (s = h.point, a.setPoints([P, s])) : (l = l != null ? l : new m.Plane().setFromCoplanarPoints(n[0], n[1], new m.Vector3(0, 1, 0).add(n[0])), s = l.projectPoint(h.point, x), a.setPoints([P, s]), p.setPoints([s, h.point])));
89
+ const y = o.at(-1).clone();
90
+ d === "none" ? (l = r.point, a.setPoints([y, l])) : d === "xoz" ? (s = s != null ? s : new c.Plane().setFromNormalAndCoplanarPoint(new c.Vector3(0, 1, 0), o[0]), t.plane = s, l = s.projectPoint(r.point, x), a.setPoints([y, l]), p.setPoints([l, r.point])) : d === "y" && (o.length === 1 ? (l = r.point, a.setPoints([y, l])) : (s = s != null ? s : new c.Plane().setFromCoplanarPoints(o[0], o[1], new c.Vector3(0, 1, 0).add(o[0])), t.plane = s, l = s.projectPoint(r.point, x), a.setPoints([y, l]), p.setPoints([l, r.point])));
91
91
  };
92
- t.on("select", C), t.on("intersectionUpdate", g), t.on("disable", () => {
93
- if (t.off("select", C), t.off("intersectionUpdate", g), o.remove(a), o.remove(p), n.length < 2)
94
- return o.remove(i), y(new Error("Cancelled"));
95
- r();
92
+ t.on("select", g), t.on("intersectionUpdate", v), t.on("disable", () => {
93
+ if (t.off("select", g), t.off("intersectionUpdate", v), t.plane = null, n.remove(a), n.remove(p), o.length < 2)
94
+ return n.remove(i), m(new Error("Cancelled"));
95
+ h();
96
96
  });
97
97
  });
98
98
  }
@@ -0,0 +1,2 @@
1
+ import * as THREE from 'three';
2
+ export declare function removeAllTag(object: THREE.Object3D): void;
@@ -0,0 +1,10 @@
1
+ import { LightTag as a } from "../../shared-utils/tag.js";
2
+ function s(r) {
3
+ e(r), r.traverse((t) => e(t));
4
+ }
5
+ function e(r) {
6
+ Array.isArray(r.lengthDoms) && r.lengthDoms[0] instanceof a && r.lengthDoms.forEach((o) => o.destroy());
7
+ }
8
+ export {
9
+ s as removeAllTag
10
+ };
@@ -6,6 +6,12 @@ export default class ColoredMesh<TGeometry extends THREE.Geometry | THREE.Buffer
6
6
  name: string;
7
7
  meshFont: THREE.Mesh<TGeometry, THREE.MeshBasicMaterial>;
8
8
  meshBackground: THREE.Mesh<TGeometry, THREE.MeshBasicMaterial>;
9
+ get style(): {
10
+ color: THREE.Color;
11
+ opacity: number;
12
+ occlusionVisibility: boolean;
13
+ occlusionMode: string;
14
+ };
9
15
  get color(): THREE.Color;
10
16
  get opacity(): number;
11
17
  get occlusionVisibility(): boolean;
@@ -1,17 +1,17 @@
1
1
  var g = Object.defineProperty;
2
2
  var a = Object.getOwnPropertySymbols;
3
- var f = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
4
- var d = (i, t, e) => t in i ? g(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, u = (i, t) => {
5
- for (var e in t || (t = {}))
6
- f.call(t, e) && d(i, e, t[e]);
3
+ var f = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
4
+ var u = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, d = (i, e) => {
5
+ for (var t in e || (e = {}))
6
+ f.call(e, t) && u(i, t, e[t]);
7
7
  if (a)
8
- for (var e of a(t))
9
- F.call(t, e) && d(i, e, t[e]);
8
+ for (var t of a(e))
9
+ M.call(e, t) && u(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- var r = (i, t, e) => (d(i, typeof t != "symbol" ? t + "" : t, e), e);
12
+ var n = (i, e, t) => (u(i, typeof e != "symbol" ? e + "" : e, t), t);
13
13
  import * as s from "three";
14
- import { DEFAULT_COLOR as M } from "../../typings/style.js";
14
+ import { DEFAULT_COLOR as F } from "../../typings/style.js";
15
15
  import { IObject3D as B } from "../../../shared-utils/three/IObject3D.js";
16
16
  import "hammerjs";
17
17
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -19,33 +19,41 @@ import "@realsee/five/line";
19
19
  import "../Modules/Global.js";
20
20
  import "../../../shared-utils/three/THREESphere.js";
21
21
  import "animejs";
22
- import { notNil as m } from "../../../shared-utils/isNil.js";
22
+ import { notNil as y } from "../../../shared-utils/isNil.js";
23
23
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
24
24
  class _ extends B {
25
- constructor(e) {
26
- var h, y;
25
+ constructor(t) {
26
+ var h, m;
27
27
  super();
28
- r(this, "name", "ColoredMesh");
29
- r(this, "meshFont");
30
- r(this, "meshBackground");
31
- r(this, "paramsStyle", {});
32
- r(this, "_geometry", new s.BufferGeometry());
33
- this.paramsStyle = e != null ? e : {};
34
- const c = new s.MeshBasicMaterial({
35
- color: (h = e == null ? void 0 : e.color) != null ? h : M,
28
+ n(this, "name", "ColoredMesh");
29
+ n(this, "meshFont");
30
+ n(this, "meshBackground");
31
+ n(this, "paramsStyle", {});
32
+ n(this, "_geometry", new s.BufferGeometry());
33
+ this.paramsStyle = t != null ? t : {};
34
+ const r = new s.MeshBasicMaterial({
35
+ color: (h = t == null ? void 0 : t.color) != null ? h : F,
36
36
  transparent: !0,
37
37
  side: s.DoubleSide,
38
38
  depthTest: !0,
39
- opacity: (y = e == null ? void 0 : e.opacity) != null ? y : 0.5
39
+ opacity: (m = t == null ? void 0 : t.opacity) != null ? m : 0.5
40
40
  }), l = new s.MeshBasicMaterial({
41
41
  color: 16777215,
42
42
  transparent: !0,
43
43
  side: s.DoubleSide,
44
44
  depthTest: !1,
45
45
  depthWrite: !1,
46
- opacity: 0.3 / 0.5 * c.opacity
47
- }), o = new s.Mesh(this.geometry, c), n = new s.Mesh(this.geometry, l);
48
- o.name = "MeshFront", n.name = "MeshBackground", o.renderOrder = 1, n.renderOrder = 0, this.meshFont = o, this.meshBackground = n, this.add(o), this.setOcclusionVisibility({ occlusionVisibility: e == null ? void 0 : e.occlusionVisibility, occlusionMode: e == null ? void 0 : e.occlusionMode });
46
+ opacity: 0.3 / 0.5 * r.opacity
47
+ }), o = new s.Mesh(this.geometry, r), c = new s.Mesh(this.geometry, l);
48
+ o.name = "MeshFront", c.name = "MeshBackground", o.renderOrder = 1, c.renderOrder = 0, this.meshFont = o, this.meshBackground = c, this.add(o), this.setOcclusionVisibility({ occlusionVisibility: t == null ? void 0 : t.occlusionVisibility, occlusionMode: t == null ? void 0 : t.occlusionMode });
49
+ }
50
+ get style() {
51
+ return {
52
+ color: this.color,
53
+ opacity: this.opacity,
54
+ occlusionVisibility: this.occlusionVisibility,
55
+ occlusionMode: this.occlusionMode
56
+ };
49
57
  }
50
58
  get color() {
51
59
  return this.meshFont.material.color;
@@ -59,19 +67,19 @@ class _ extends B {
59
67
  get occlusionMode() {
60
68
  return this.meshFont.material.depthTest === !1 ? "depthTest" : "translucence";
61
69
  }
62
- set geometry(e) {
63
- this._geometry = e, this.meshFont.geometry = e, this.meshBackground.geometry = e;
70
+ set geometry(t) {
71
+ this._geometry = t, this.meshFont.geometry = t, this.meshBackground.geometry = t;
64
72
  }
65
73
  get geometry() {
66
74
  return this._geometry;
67
75
  }
68
- setStyle(e) {
69
- this.paramsStyle = u(u({}, this.paramsStyle), e), m(e.color) && (this.meshFont.material.color.set(e.color), this.needsRender = !0), m(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * e.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
76
+ setStyle(t) {
77
+ this.paramsStyle = d(d({}, this.paramsStyle), t), y(t.color) && (this.meshFont.material.color.set(t.color), this.needsRender = !0), y(t.opacity) && (this.meshFont.material.opacity = t.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * t.opacity, this.needsRender = !0), this.setOcclusionVisibility(t);
70
78
  }
71
- setOcclusionVisibility(e) {
72
- var o, n, h;
73
- const c = (n = (o = e.occlusionMode) != null ? o : this.paramsStyle.occlusionMode) != null ? n : "translucence", l = (h = e.occlusionVisibility) != null ? h : this.paramsStyle.occlusionVisibility;
74
- m(l) && (l ? c === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : c === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
79
+ setOcclusionVisibility(t) {
80
+ var o, c, h;
81
+ const r = (c = (o = t.occlusionMode) != null ? o : this.paramsStyle.occlusionMode) != null ? c : "translucence", l = (h = t.occlusionVisibility) != null ? h : this.paramsStyle.occlusionVisibility;
82
+ y(l) && (l ? r === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : r === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
75
83
  }
76
84
  }
77
85
  export {
@@ -17,7 +17,7 @@ let x = class {
17
17
  /**
18
18
  * @realsee/dnalogel 版本号
19
19
  */
20
- i(this, "VERSION", "3.46.0");
20
+ i(this, "VERSION", "3.47.0");
21
21
  i(this, "NAME");
22
22
  i(this, "five");
23
23
  i(this, "workUtil");
@@ -152,6 +152,7 @@ import "../../Sculpt/typings/style.js";
152
152
  import "../../shared-utils/five/FiveLine.js";
153
153
  import "../../shared-utils/tag.js";
154
154
  import "../../shared-utils/five/vector3ToScreen.js";
155
+ import "../../Sculpt/utils/removeAllTag.js";
155
156
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
156
157
  import "../../shared-utils/isTouchDevice.js";
157
158
  import "../../shared-utils/five/getPosition.js";
@@ -164,7 +165,7 @@ function G(d) {
164
165
  const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
165
166
  return e && i;
166
167
  }
167
- class di extends O {
168
+ class li extends O {
168
169
  constructor(t, e) {
169
170
  var a, m;
170
171
  super(t);
@@ -499,5 +500,5 @@ class di extends O {
499
500
  }
500
501
  }
501
502
  export {
502
- di as Controller
503
+ li as Controller
503
504
  };
@@ -118,6 +118,7 @@ import "../../Sculpt/typings/style.js";
118
118
  import "../../shared-utils/five/FiveLine.js";
119
119
  import "../../shared-utils/tag.js";
120
120
  import "../../shared-utils/five/vector3ToScreen.js";
121
+ import "../../Sculpt/utils/removeAllTag.js";
121
122
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
122
123
  import "../../shared-utils/isTouchDevice.js";
123
124
  import "../../shared-utils/five/getPosition.js";
@@ -128,8 +129,8 @@ import "../utils/constant.js";
128
129
  import "../../shared-utils/nearlyEqual.js";
129
130
  import "../../shared-utils/five/changeMode.js";
130
131
  import "../../shared-utils/changeModelCanvasOpacity.js";
131
- const kr = (o, r) => new t(o, r);
132
+ const qr = (o, r) => new t(o, r);
132
133
  export {
133
- kr as MapviewFloorplanPlugin,
134
- kr as default
134
+ qr as MapviewFloorplanPlugin,
135
+ qr as default
135
136
  };
@@ -152,6 +152,7 @@ import "../../Sculpt/typings/style.js";
152
152
  import "../../shared-utils/five/FiveLine.js";
153
153
  import "../../shared-utils/tag.js";
154
154
  import "../../shared-utils/five/vector3ToScreen.js";
155
+ import "../../Sculpt/utils/removeAllTag.js";
155
156
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
156
157
  import "../../shared-utils/isTouchDevice.js";
157
158
  import "../../shared-utils/five/getPosition.js";
@@ -164,7 +165,7 @@ function z(d) {
164
165
  const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
165
166
  return e && i;
166
167
  }
167
- class di extends T {
168
+ class li extends T {
168
169
  constructor(t, e) {
169
170
  var a, p, c;
170
171
  super(t);
@@ -495,5 +496,5 @@ class di extends T {
495
496
  }
496
497
  }
497
498
  export {
498
- di as Controller
499
+ li as Controller
499
500
  };
@@ -119,6 +119,7 @@ import "../../Sculpt/typings/style.js";
119
119
  import "../../shared-utils/five/FiveLine.js";
120
120
  import "../../shared-utils/tag.js";
121
121
  import "../../shared-utils/five/vector3ToScreen.js";
122
+ import "../../Sculpt/utils/removeAllTag.js";
122
123
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
123
124
  import "../../shared-utils/isTouchDevice.js";
124
125
  import "../../shared-utils/five/getPosition.js";
@@ -128,8 +129,8 @@ import "../utils/constant.js";
128
129
  import "../../shared-utils/nearlyEqual.js";
129
130
  import "../../shared-utils/five/changeMode.js";
130
131
  import "../../shared-utils/changeModelCanvasOpacity.js";
131
- const qr = (o, r) => new t(o, r);
132
+ const vr = (o, r) => new t(o, r);
132
133
  export {
133
- qr as ModelFloorplanPlugin,
134
- qr as default
134
+ vr as ModelFloorplanPlugin,
135
+ vr as default
135
136
  };
@@ -129,12 +129,13 @@ import "../../Sculpt/typings/style.js";
129
129
  import "../../shared-utils/five/FiveLine.js";
130
130
  import "../../shared-utils/tag.js";
131
131
  import "../../shared-utils/five/vector3ToScreen.js";
132
+ import "../../Sculpt/utils/removeAllTag.js";
132
133
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
133
134
  import "../../shared-utils/isTouchDevice.js";
134
135
  import "../../shared-utils/five/getPosition.js";
135
136
  import "../../shared-utils/five/getRaycasterByNdcPosition.js";
136
137
  import "../Assets/floorplanExtraObject.js";
137
- class ki extends O {
138
+ class Ci extends O {
138
139
  constructor(t, i) {
139
140
  super(t);
140
141
  // =============== public properties =================
@@ -277,5 +278,5 @@ class ki extends O {
277
278
  }
278
279
  }
279
280
  export {
280
- ki as Controller
281
+ Ci as Controller
281
282
  };
@@ -100,14 +100,15 @@ import "../../Sculpt/typings/style.js";
100
100
  import "../../shared-utils/five/FiveLine.js";
101
101
  import "../../shared-utils/tag.js";
102
102
  import "../../shared-utils/five/vector3ToScreen.js";
103
+ import "../../Sculpt/utils/removeAllTag.js";
103
104
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
104
105
  import "../../shared-utils/isTouchDevice.js";
105
106
  import "../../shared-utils/five/getPosition.js";
106
107
  import "../../shared-utils/five/getRaycasterByNdcPosition.js";
107
108
  import "../utils/formatData.js";
108
109
  import "../Assets/floorplanExtraObject.js";
109
- const ir = (o, r) => new t(o, r);
110
+ const mr = (o, r) => new t(o, r);
110
111
  export {
111
- ir as PanoFloorplanRadarPlugin,
112
- ir as default
112
+ mr as PanoFloorplanRadarPlugin,
113
+ mr as default
113
114
  };
@@ -150,11 +150,12 @@ import "../../Sculpt/typings/style.js";
150
150
  import "../../shared-utils/five/FiveLine.js";
151
151
  import "../../shared-utils/tag.js";
152
152
  import "../../shared-utils/five/vector3ToScreen.js";
153
+ import "../../Sculpt/utils/removeAllTag.js";
153
154
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
154
155
  import "../../shared-utils/isTouchDevice.js";
155
156
  import "../../shared-utils/five/getPosition.js";
156
157
  import "../../shared-utils/five/getRaycasterByNdcPosition.js";
157
- class ie extends M {
158
+ class ee extends M {
158
159
  constructor(t, i) {
159
160
  var h, m;
160
161
  super(t);
@@ -427,5 +428,5 @@ class ie extends M {
427
428
  }
428
429
  }
429
430
  export {
430
- ie as Controller
431
+ ee as Controller
431
432
  };
@@ -117,6 +117,7 @@ import "../../Sculpt/typings/style.js";
117
117
  import "../../shared-utils/five/FiveLine.js";
118
118
  import "../../shared-utils/tag.js";
119
119
  import "../../shared-utils/five/vector3ToScreen.js";
120
+ import "../../Sculpt/utils/removeAllTag.js";
120
121
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
121
122
  import "../../shared-utils/isTouchDevice.js";
122
123
  import "../../shared-utils/five/getPosition.js";
@@ -126,8 +127,8 @@ import "../../shared-utils/nearlyEqual.js";
126
127
  import "../../shared-utils/to.js";
127
128
  import "../../shared-utils/getPxmm.js";
128
129
  import "../../shared-utils/changeModelCanvasOpacity.js";
129
- const hr = (o, r) => new t(o, r);
130
+ const jr = (o, r) => new t(o, r);
130
131
  export {
131
- hr as TopviewFloorplanPlugin,
132
- hr as default
132
+ jr as TopviewFloorplanPlugin,
133
+ jr as default
133
134
  };