@realsee/dnalogel 3.73.1 → 3.73.3-alpha.1

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 (127) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/MeasurePlugin/Controller.d.ts +3 -4
  3. package/dist/MeasurePlugin/index.d.ts +2 -1
  4. package/dist/Sculpt/utils/export.d.ts +1 -0
  5. package/dist/index.cjs.js +70 -70
  6. package/dist/index.js +4451 -4432
  7. package/dist/index.umd.js +63 -63
  8. package/dist/shared-utils/three/index.d.ts +2 -0
  9. package/libs/AreaMakerPlugin/Controller.js +3 -2
  10. package/libs/AreaMakerPlugin/index.js +3 -2
  11. package/libs/AreaMakerPlugin/utils/Item.js +80 -79
  12. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  13. package/libs/CSS3DRenderPlugin/index.js +6 -5
  14. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
  15. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -0
  16. package/libs/CruisePlugin/BaseController.js +5 -4
  17. package/libs/CruisePlugin/Move.js +1 -1
  18. package/libs/CruisePlugin/Work.js +1 -1
  19. package/libs/CruisePlugin/index.js +1 -1
  20. package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
  21. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  22. package/libs/GuideLinePlugin/Controller.js +1 -1
  23. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  24. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  25. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  26. package/libs/GuideLinePlugin/index.js +1 -1
  27. package/libs/MeasurePlugin/Controller.d.ts +3 -4
  28. package/libs/MeasurePlugin/Controller.js +29 -29
  29. package/libs/MeasurePlugin/index.d.ts +2 -1
  30. package/libs/MeasurePlugin/index.js +6 -5
  31. package/libs/MeasurePlugin/utils/MeasureMesh.js +1 -1
  32. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  33. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  34. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  35. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  36. package/libs/ModelMakerPlugin/Controller.js +1 -1
  37. package/libs/ModelMakerPlugin/index.js +1 -1
  38. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  39. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  40. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  41. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  42. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  43. package/libs/ModelTVVideoPlugin/index.js +3 -2
  44. package/libs/ModelViewPlugin/Plugin.js +4 -3
  45. package/libs/ModelViewPlugin/index.js +1 -0
  46. package/libs/Object3DHelperPlugin/Controller.js +18 -17
  47. package/libs/Object3DHelperPlugin/index.js +6 -5
  48. package/libs/PanoCompassPlugin/Controller.js +3 -2
  49. package/libs/PanoCompassPlugin/index.js +4 -3
  50. package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
  51. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  52. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  53. package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
  54. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  55. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  56. package/libs/PanoMeasurePlugin/index.js +1 -1
  57. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  58. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  59. package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
  60. package/libs/PanoRulerProPlugin/index.js +4 -3
  61. package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
  62. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  63. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
  64. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  65. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  66. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  67. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  68. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  69. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  70. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  71. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  72. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -21
  73. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -1
  74. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  75. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  76. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  77. package/libs/PanoTagPlugin/controller/index.js +1 -1
  78. package/libs/PanoTagPlugin/index.js +1 -1
  79. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  80. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  81. package/libs/PanoVideoPlugin/Controller.js +3 -2
  82. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  83. package/libs/PanoVideoPlugin/index.js +6 -5
  84. package/libs/PipelinePlugin/Controller.js +95 -94
  85. package/libs/PipelinePlugin/index.js +4 -3
  86. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  87. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  88. package/libs/PipelinePlugin/utils/Objects/Pipe.js +22 -21
  89. package/libs/Sculpt/Meshes/Circle.js +3 -2
  90. package/libs/Sculpt/Meshes/Cylinder.js +3 -2
  91. package/libs/Sculpt/Meshes/Line.js +3 -2
  92. package/libs/Sculpt/Meshes/LineWithDots.js +5 -4
  93. package/libs/Sculpt/Meshes/Point.js +3 -2
  94. package/libs/Sculpt/Meshes/Rectangle.js +4 -3
  95. package/libs/Sculpt/Objects/Base/index.js +1 -0
  96. package/libs/Sculpt/Objects/Line/Editor.js +7 -6
  97. package/libs/Sculpt/index.js +19 -18
  98. package/libs/Sculpt/utils/export.d.ts +1 -0
  99. package/libs/Sculpt/utils/export.js +23 -20
  100. package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
  101. package/libs/base/BasePlugin.js +4 -3
  102. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  103. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  104. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  105. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  106. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  107. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  108. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  109. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  110. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  111. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  112. package/libs/floorplan/index.js +1 -0
  113. package/libs/index.js +146 -145
  114. package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
  115. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +41 -33
  116. package/libs/shared-utils/exports.js +62 -55
  117. package/libs/shared-utils/five/index.js +4 -3
  118. package/libs/shared-utils/five/lookObject.js +3 -2
  119. package/libs/shared-utils/index.js +1 -0
  120. package/libs/shared-utils/logger.js +1 -1
  121. package/libs/shared-utils/tag.js +3 -2
  122. package/libs/shared-utils/three/PointDomHelper.js +3 -2
  123. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
  124. package/libs/shared-utils/three/geometryUtil.js +12 -8
  125. package/libs/shared-utils/three/index.d.ts +2 -0
  126. package/libs/shared-utils/three/index.js +1 -0
  127. package/package.json +1 -1
@@ -24,10 +24,11 @@ import "../../shared-utils/three/core/Sphere.js";
24
24
  import "../../shared-utils/three/blink.js";
25
25
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
26
26
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
27
+ import "../../vendor/earcut/src/earcut.js";
27
28
  import { notNil as d } from "../../shared-utils/isNil.js";
28
29
  import "../../shared-utils/five/FivePuppet.js";
29
30
  import { IObject3D as V } from "../../shared-utils/three/IObject3D.js";
30
- class z extends _ {
31
+ class A extends _ {
31
32
  constructor(t) {
32
33
  super();
33
34
  e(this, "name", "LineWithDotsMesh");
@@ -69,9 +70,9 @@ class z extends _ {
69
70
  super.setPoints(t);
70
71
  const o = t.map(P).filter(d);
71
72
  this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), o.forEach((p) => {
72
- var n, y, m;
73
+ var n, m, y;
73
74
  const h = new M(a(r({}, this.style), {
74
- color: (m = (n = this._paramsStyle) == null ? void 0 : n.pointColor) != null ? m : (y = this._paramsStyle) == null ? void 0 : y.lineColor,
75
+ color: (y = (n = this._paramsStyle) == null ? void 0 : n.pointColor) != null ? y : (m = this._paramsStyle) == null ? void 0 : m.lineColor,
75
76
  tip: void 0
76
77
  }));
77
78
  h.position.copy(p), this.pointGroup.add(h);
@@ -79,5 +80,5 @@ class z extends _ {
79
80
  }
80
81
  }
81
82
  export {
82
- z as LineWithDotsMesh
83
+ A as LineWithDotsMesh
83
84
  };
@@ -39,10 +39,11 @@ import "../../shared-utils/three/core/Sphere.js";
39
39
  import "../../shared-utils/three/blink.js";
40
40
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
41
41
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
42
+ import "../../vendor/earcut/src/earcut.js";
42
43
  import "../../shared-utils/five/FivePuppet.js";
43
44
  const x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
44
45
  let C = null;
45
- class ot extends T {
46
+ class st extends T {
46
47
  constructor(t) {
47
48
  var w, y, V;
48
49
  super();
@@ -140,5 +141,5 @@ class ot extends T {
140
141
  }
141
142
  }
142
143
  export {
143
- ot as PointMesh
144
+ st as PointMesh
144
145
  };
@@ -15,10 +15,11 @@ import "../../shared-utils/three/core/Sphere.js";
15
15
  import "../../shared-utils/three/blink.js";
16
16
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
17
17
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
18
+ import "../../vendor/earcut/src/earcut.js";
18
19
  import "../../shared-utils/five/FivePuppet.js";
19
20
  import { PolygonMesh as g } from "./Polygon.js";
20
21
  import { RectangleGeometry as d } from "../utils/three/RectangleGeometry.js";
21
- class j extends g {
22
+ class k extends g {
22
23
  constructor(t) {
23
24
  super(t);
24
25
  i(this, "name", "RectangleMesh");
@@ -33,12 +34,12 @@ class j extends g {
33
34
  return;
34
35
  }
35
36
  if (t.length === 3) {
36
- const [m, n, p] = r, s = m.clone().add(p).sub(n);
37
+ const [m, p, n] = r, s = m.clone().add(n).sub(p);
37
38
  r.push(s);
38
39
  }
39
40
  this.points = r, this.geometry = new d(r), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
40
41
  }
41
42
  }
42
43
  export {
43
- j as RectangleMesh
44
+ k as RectangleMesh
44
45
  };
@@ -28,6 +28,7 @@ import "../../../shared-utils/three/core/Sphere.js";
28
28
  import "../../../shared-utils/three/blink.js";
29
29
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
30
30
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
31
+ import "../../../vendor/earcut/src/earcut.js";
31
32
  import "../../../shared-utils/five/FivePuppet.js";
32
33
  const p = /* @__PURE__ */ new Map();
33
34
  class M extends S {
@@ -1,6 +1,6 @@
1
1
  var p = Object.defineProperty;
2
- var g = (s, e, t) => e in s ? p(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
- var o = (s, e, t) => (g(s, typeof e != "symbol" ? e + "" : e, t), t);
2
+ var g = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var o = (r, e, t) => (g(r, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import { BaseEditor as d } from "../Base/Editor.js";
5
5
  import { Sculpt as n } from "../../index.js";
6
6
  import { PointMesh as a } from "../../Meshes/Point.js";
@@ -18,6 +18,7 @@ import "../../../shared-utils/three/core/Sphere.js";
18
18
  import "../../../shared-utils/three/blink.js";
19
19
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
20
20
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
+ import "../../../vendor/earcut/src/earcut.js";
21
22
  import "../../../shared-utils/five/FivePuppet.js";
22
23
  class l extends d {
23
24
  constructor(t) {
@@ -25,7 +26,7 @@ class l extends d {
25
26
  o(this, "draggingPoints", []);
26
27
  o(this, "onDragstart", (t) => {
27
28
  const i = t.target;
28
- this.draggingPoints = this.pointMeshes.filter((r) => r.position.equals(i.position));
29
+ this.draggingPoints = this.pointMeshes.filter((s) => s.position.equals(i.position));
29
30
  });
30
31
  o(this, "onDragend", (t) => {
31
32
  this.draggingPoints = [];
@@ -47,14 +48,14 @@ class l extends d {
47
48
  super.disable(), this.removeChildren();
48
49
  }
49
50
  }
50
- class H extends l {
51
+ class I extends l {
51
52
  constructor(t) {
52
53
  super(t);
53
54
  o(this, "onDrag", (t) => {
54
55
  if (!this.draggingPoints || this.draggingPoints.length === 0)
55
56
  return;
56
57
  const i = m(n.modules.five, t.raycaster);
57
- this.draggingPoints.forEach((r) => r.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((r) => r.position));
58
+ this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
58
59
  });
59
60
  }
60
61
  get points() {
@@ -62,6 +63,6 @@ class H extends l {
62
63
  }
63
64
  }
64
65
  export {
65
- H as LineEditor,
66
+ I as LineEditor,
66
67
  l as LineEditorAbstract
67
68
  };
@@ -10,19 +10,19 @@ var p = (o, r, e) => r in o ? U(o, r, { enumerable: !0, configurable: !0, writab
10
10
  B.call(r, e) && p(o, e, r[e]);
11
11
  return o;
12
12
  }, a = (o, r) => D(o, L(r));
13
- var h = (o, r, e) => (p(o, typeof r != "symbol" ? r + "" : r, e), e);
13
+ var m = (o, r, e) => (p(o, typeof r != "symbol" ? r + "" : r, e), e);
14
14
  var u = (o, r, e) => new Promise((t, i) => {
15
15
  var l = (c) => {
16
16
  try {
17
17
  n(e.next(c));
18
- } catch (m) {
19
- i(m);
18
+ } catch (h) {
19
+ i(h);
20
20
  }
21
21
  }, s = (c) => {
22
22
  try {
23
23
  n(e.throw(c));
24
- } catch (m) {
25
- i(m);
24
+ } catch (h) {
25
+ i(h);
26
26
  }
27
27
  }, n = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(l, s);
28
28
  n((e = e.apply(o, r)).next());
@@ -43,6 +43,7 @@ import "../shared-utils/three/core/Sphere.js";
43
43
  import "../shared-utils/three/blink.js";
44
44
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
45
45
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
46
+ import "../vendor/earcut/src/earcut.js";
46
47
  import "../shared-utils/five/FivePuppet.js";
47
48
  import { recurveFindObject as F } from "../shared-utils/three/recurveFindObject.js";
48
49
  import { Polyline as I } from "./Objects/Polyline/index.js";
@@ -60,15 +61,15 @@ import { withResolvers as M } from "../shared-utils/promise/withResolvers.js";
60
61
  const d = class extends x {
61
62
  constructor(e, t, i) {
62
63
  super();
63
- h(this, "group");
64
- h(this, "theme");
65
- h(this, "config");
66
- h(this, "five");
67
- h(this, "creatingItem", null);
64
+ m(this, "group");
65
+ m(this, "theme");
66
+ m(this, "config");
67
+ m(this, "five");
68
+ m(this, "creatingItem", null);
68
69
  /**
69
70
  * @description: 撤销
70
71
  */
71
- h(this, "undo", () => {
72
+ m(this, "undo", () => {
72
73
  if (this.creatingItem) {
73
74
  this.creatingItem.undo(), this.five.needsRender = !0;
74
75
  return;
@@ -79,7 +80,7 @@ const d = class extends x {
79
80
  /**
80
81
  * @description: 重做
81
82
  */
82
- h(this, "redo", () => {
83
+ m(this, "redo", () => {
83
84
  if (this.creatingItem) {
84
85
  this.creatingItem.redo(), this.five.needsRender = !0;
85
86
  return;
@@ -91,7 +92,7 @@ const d = class extends x {
91
92
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
92
93
  }, i), this.group = new z(), this.group.name = "Sculpt", this.group.__sculpt__ = this, e.scene.add(this.group), d.modules.init(e, this.config), O("ctrl+z, command+z", this.undo), O("ctrl+shift+z, command+shift+z", this.redo), d.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: l, origDomEvent: s }) => {
93
94
  var c;
94
- const n = F((c = l == null ? void 0 : l[0]) == null ? void 0 : c.object, (m) => m.isSculptObject);
95
+ const n = F((c = l == null ? void 0 : l[0]) == null ? void 0 : c.object, (h) => h.isSculptObject);
95
96
  return n && !n.editing ? this.emit("click", s, n) : !1;
96
97
  }), window.__SCULPT_DEBUG__ = this, window.__SCULPT_MODULES_DEBUG__ = d.modules;
97
98
  }
@@ -259,16 +260,16 @@ const d = class extends x {
259
260
  }
260
261
  };
261
262
  let f = d;
262
- h(f, "modules", E);
263
- const ae = (o, r, e) => {
263
+ m(f, "modules", E);
264
+ const Ie = (o, r, e) => {
264
265
  if (r && typeof r == "object" && ("theme" in r || "config" in r)) {
265
266
  const t = r;
266
267
  return new f(o, t.theme, t.config);
267
268
  }
268
269
  return new f(o, r, e);
269
- }, Ie = (o, r) => new f(o, r == null ? void 0 : r.theme, r == null ? void 0 : r.config);
270
+ }, be = (o, r) => new f(o, r == null ? void 0 : r.theme, r == null ? void 0 : r.config);
270
271
  export {
271
272
  f as Sculpt,
272
- ae as SculptPlugin,
273
- Ie as SculptPluginForFive
273
+ Ie as SculptPlugin,
274
+ be as SculptPluginForFive
274
275
  };
@@ -22,3 +22,4 @@ export { createPoint } from '../Objects/Point';
22
22
  export { createPolygon } from '../Objects/Polygon';
23
23
  export { createPrism } from '../Objects/Prism';
24
24
  export { createRectangle } from '../Objects/Rectangle';
25
+ export { transformUnit, transformUnitSquare } from './unit';
@@ -4,15 +4,15 @@ import { CircleMeshEditor as e } from "../Editors/CircleMeshEditor.js";
4
4
  import { CylinderMeshEditor as t } from "../Editors/CylinderMeshEditor.js";
5
5
  import { PrismMeshEditor as m } from "../Editors/PrismMeshEditor.js";
6
6
  import { RectangleMeshEditor as i } from "../Editors/RectangleMeshEditor.js";
7
- import { BoxMesh as p } from "../Meshes/Box.js";
8
- import { CircleMesh as f } from "../Meshes/Circle.js";
7
+ import { BoxMesh as f } from "../Meshes/Box.js";
8
+ import { CircleMesh as p } from "../Meshes/Circle.js";
9
9
  import { CircleWithEdgeMesh as s } from "../Meshes/CircleWithEdge.js";
10
- import { CylinderMesh as c } from "../Meshes/Cylinder.js";
11
- import { LineMesh as l } from "../Meshes/Line.js";
12
- import { PointMesh as h } from "../Meshes/Point.js";
13
- import { PolygonMesh as n } from "../Meshes/Polygon.js";
14
- import { PrismMesh as M } from "../Meshes/Prism.js";
15
- import { RectangleMesh as a } from "../Meshes/Rectangle.js";
10
+ import { CylinderMesh as n } from "../Meshes/Cylinder.js";
11
+ import { LineMesh as c } from "../Meshes/Line.js";
12
+ import { PointMesh as a } from "../Meshes/Point.js";
13
+ import { PolygonMesh as l } from "../Meshes/Polygon.js";
14
+ import { PrismMesh as h } from "../Meshes/Prism.js";
15
+ import { RectangleMesh as M } from "../Meshes/Rectangle.js";
16
16
  import { RectangleWithEdgeMesh as d } from "../Meshes/RectangleWithEdge.js";
17
17
  import { createBox as g } from "../Objects/Box/index.js";
18
18
  import { createCircle as E } from "../Objects/Circle/index.js";
@@ -21,23 +21,24 @@ import { createLine as y } from "../Objects/Line/index.js";
21
21
  import { createPoint as C } from "../Objects/Point/index.js";
22
22
  import { createPolygon as x } from "../Objects/Polygon/index.js";
23
23
  import { createPrism as _ } from "../Objects/Prism/index.js";
24
- import { createRectangle as B } from "../Objects/Rectangle/index.js";
25
- const U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
+ import { createRectangle as u } from "../Objects/Rectangle/index.js";
25
+ import { transformUnit as B, transformUnitSquare as R } from "./unit.js";
26
+ const Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
27
  __proto__: null,
27
28
  BaseEditor: r,
28
- BoxMesh: p,
29
+ BoxMesh: f,
29
30
  BoxMeshEditor: o,
30
- CircleMesh: f,
31
+ CircleMesh: p,
31
32
  CircleMeshEditor: e,
32
33
  CircleWithEdgeMesh: s,
33
- CylinderMesh: c,
34
+ CylinderMesh: n,
34
35
  CylinderMeshEditor: t,
35
- LineMesh: l,
36
- PointMesh: h,
37
- PolygonMesh: n,
38
- PrismMesh: M,
36
+ LineMesh: c,
37
+ PointMesh: a,
38
+ PolygonMesh: l,
39
+ PrismMesh: h,
39
40
  PrismMeshEditor: m,
40
- RectangleMesh: a,
41
+ RectangleMesh: M,
41
42
  RectangleMeshEditor: i,
42
43
  RectangleWithEdgeMesh: d,
43
44
  createBox: g,
@@ -47,8 +48,10 @@ const U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
47
48
  createPoint: C,
48
49
  createPolygon: x,
49
50
  createPrism: _,
50
- createRectangle: B
51
+ createRectangle: u,
52
+ transformUnit: B,
53
+ transformUnitSquare: R
51
54
  }, Symbol.toStringTag, { value: "Module" }));
52
55
  export {
53
- U as _export
56
+ Y as _export
54
57
  };
@@ -25,8 +25,9 @@ import "../../../shared-utils/three/core/Sphere.js";
25
25
  import "../../../shared-utils/three/blink.js";
26
26
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
27
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
28
+ import "../../../vendor/earcut/src/earcut.js";
28
29
  import "../../../shared-utils/five/FivePuppet.js";
29
- class A extends M {
30
+ class x extends M {
30
31
  constructor(t) {
31
32
  var d, m;
32
33
  super();
@@ -100,5 +101,5 @@ class A extends M {
100
101
  }
101
102
  }
102
103
  export {
103
- A as ColoredMesh
104
+ x as ColoredMesh
104
105
  };
@@ -14,15 +14,16 @@ import "../shared-utils/three/core/Sphere.js";
14
14
  import "../shared-utils/three/blink.js";
15
15
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
16
16
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
17
+ import "../vendor/earcut/src/earcut.js";
17
18
  import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
18
19
  import { DEFAULT_STATIC_PREFIX as p } from "../shared-utils/url/defaultUrls.js";
19
20
  import "../shared-utils/five/FivePuppet.js";
20
- let A = class {
21
+ let I = class {
21
22
  constructor(t, i) {
22
23
  /**
23
24
  * @realsee/dnalogel 版本号
24
25
  */
25
- r(this, "VERSION", "3.73.1");
26
+ r(this, "VERSION", "3.73.3-alpha.1");
26
27
  r(this, "NAME");
27
28
  r(this, "five");
28
29
  r(this, "workUtil");
@@ -53,5 +54,5 @@ let A = class {
53
54
  }
54
55
  };
55
56
  export {
56
- A as Controller
57
+ I as Controller
57
58
  };
@@ -40,6 +40,7 @@ import "../../shared-utils/three/core/Sphere.js";
40
40
  import "../../shared-utils/three/blink.js";
41
41
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
42
42
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
43
+ import "../../vendor/earcut/src/earcut.js";
43
44
  import { FLOORPLAN_DEFAULT_IMAGE as v } from "../../shared-utils/url/defaultUrls.js";
44
45
  import { replaceStaticPrefix as w } from "../../shared-utils/url/replace-static-prefix.js";
45
46
  import { equal as D } from "../../shared-utils/equal.js";
@@ -122,7 +123,7 @@ import "../../shared-utils/url/absoluteUrl.js";
122
123
  import "../../shared-utils/isTruelyObject.js";
123
124
  import "../../base/BasePlugin.js";
124
125
  import "../Assets/floorplanExtraObject.js";
125
- class xi extends k {
126
+ class Si extends k {
126
127
  constructor(t, i) {
127
128
  var o, s;
128
129
  super(t);
@@ -344,5 +345,5 @@ class xi extends k {
344
345
  }
345
346
  }
346
347
  export {
347
- xi as Controller
348
+ Si as Controller
348
349
  };
@@ -77,6 +77,7 @@ import "../../shared-utils/three/core/Line2.js";
77
77
  import "../../shared-utils/three/core/LineMaterial2.js";
78
78
  import "../../Sculpt/utils/unit.js";
79
79
  import "../../Sculpt/utils/renderDom.js";
80
+ import "../../vendor/earcut/src/earcut.js";
80
81
  import "../../shared-utils/five/FivePuppet.js";
81
82
  import "@realsee/five";
82
83
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
@@ -94,8 +95,8 @@ import "../../base/BasePluginWithData.js";
94
95
  import "../../base/BasePlugin.js";
95
96
  import "../utils/formatData.js";
96
97
  import "../Assets/floorplanExtraObject.js";
97
- const Uo = (o, r) => new t(o, r);
98
+ const Vo = (o, r) => new t(o, r);
98
99
  export {
99
- Uo as FloorplanGuidePlugin,
100
- Uo as default
100
+ Vo as FloorplanGuidePlugin,
101
+ Vo as default
101
102
  };
@@ -54,6 +54,7 @@ import "../../shared-utils/three/core/Sphere.js";
54
54
  import "../../shared-utils/three/blink.js";
55
55
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
56
56
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
57
+ import "../../vendor/earcut/src/earcut.js";
57
58
  import { FLOORPLAN_DEFAULT_IMAGE as J } from "../../shared-utils/url/defaultUrls.js";
58
59
  import { replaceStaticPrefix as X } from "../../shared-utils/url/replace-static-prefix.js";
59
60
  import "../../shared-utils/five/FivePuppet.js";
@@ -154,7 +155,7 @@ function Q(l) {
154
155
  const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
155
156
  return e && i;
156
157
  }
157
- class li extends G {
158
+ class mi extends G {
158
159
  constructor(t, e) {
159
160
  var a, d;
160
161
  super(t);
@@ -512,5 +513,5 @@ class li extends G {
512
513
  }
513
514
  }
514
515
  export {
515
- li as Controller
516
+ mi as Controller
516
517
  };
@@ -100,6 +100,7 @@ import "../../shared-utils/three/core/Line2.js";
100
100
  import "../../shared-utils/three/core/LineMaterial2.js";
101
101
  import "../../Sculpt/utils/unit.js";
102
102
  import "../../Sculpt/utils/renderDom.js";
103
+ import "../../vendor/earcut/src/earcut.js";
103
104
  import "../../shared-utils/five/FivePuppet.js";
104
105
  import "@realsee/five";
105
106
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
@@ -117,8 +118,8 @@ import "../../shared-utils/five/changeMode.js";
117
118
  import "../../shared-utils/changeModelCanvasOpacity.js";
118
119
  import "../../shared-utils/url/replace-static-prefix.js";
119
120
  import "../../shared-utils/url/absoluteUrl.js";
120
- const dr = (o, r) => new t(o, r);
121
+ const gr = (o, r) => new t(o, r);
121
122
  export {
122
- dr as MapviewFloorplanPlugin,
123
- dr as default
123
+ gr as MapviewFloorplanPlugin,
124
+ gr as default
124
125
  };
@@ -52,6 +52,7 @@ import "../../shared-utils/three/core/Sphere.js";
52
52
  import "../../shared-utils/three/blink.js";
53
53
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
54
54
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
55
+ import "../../vendor/earcut/src/earcut.js";
55
56
  import { FLOORPLAN_DEFAULT_IMAGE as W } from "../../shared-utils/url/defaultUrls.js";
56
57
  import { replaceStaticPrefix as U } from "../../shared-utils/url/replace-static-prefix.js";
57
58
  import "../../shared-utils/five/FivePuppet.js";
@@ -152,7 +153,7 @@ function z(d) {
152
153
  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);
153
154
  return e && i;
154
155
  }
155
- class Ze extends T {
156
+ class ti extends T {
156
157
  constructor(t, e) {
157
158
  var a, p, c;
158
159
  super(t);
@@ -486,5 +487,5 @@ class Ze extends T {
486
487
  }
487
488
  }
488
489
  export {
489
- Ze as Controller
490
+ ti as Controller
490
491
  };
@@ -100,6 +100,7 @@ import "../../shared-utils/three/core/Line2.js";
100
100
  import "../../shared-utils/three/core/LineMaterial2.js";
101
101
  import "../../Sculpt/utils/unit.js";
102
102
  import "../../Sculpt/utils/renderDom.js";
103
+ import "../../vendor/earcut/src/earcut.js";
103
104
  import "../../shared-utils/five/FivePuppet.js";
104
105
  import "@realsee/five";
105
106
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
@@ -116,8 +117,8 @@ import "../../shared-utils/five/changeMode.js";
116
117
  import "../../shared-utils/changeModelCanvasOpacity.js";
117
118
  import "../../shared-utils/url/replace-static-prefix.js";
118
119
  import "../../shared-utils/url/absoluteUrl.js";
119
- const cr = (o, r) => new t(o, r);
120
+ const gr = (o, r) => new t(o, r);
120
121
  export {
121
- cr as ModelFloorplanPlugin,
122
- cr as default
122
+ gr as ModelFloorplanPlugin,
123
+ gr as default
123
124
  };
@@ -44,6 +44,7 @@ import "../../shared-utils/three/core/Sphere.js";
44
44
  import "../../shared-utils/three/blink.js";
45
45
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
46
46
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
47
+ import "../../vendor/earcut/src/earcut.js";
47
48
  import { FLOORPLAN_DEFAULT_IMAGE as E } from "../../shared-utils/url/defaultUrls.js";
48
49
  import { replaceStaticPrefix as k } from "../../shared-utils/url/replace-static-prefix.js";
49
50
  import "../../shared-utils/five/FivePuppet.js";
@@ -115,7 +116,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
115
116
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
116
117
  import "@realsee/five";
117
118
  import "../../shared-utils/url/absoluteUrl.js";
118
- class mi extends O {
119
+ class di extends O {
119
120
  constructor(t, i) {
120
121
  super(t);
121
122
  // =============== public properties =================
@@ -258,5 +259,5 @@ class mi extends O {
258
259
  }
259
260
  }
260
261
  export {
261
- mi as Controller
262
+ di as Controller
262
263
  };
@@ -74,6 +74,7 @@ import "../../shared-utils/three/core/Line2.js";
74
74
  import "../../shared-utils/three/core/LineMaterial2.js";
75
75
  import "../../Sculpt/utils/unit.js";
76
76
  import "../../Sculpt/utils/renderDom.js";
77
+ import "../../vendor/earcut/src/earcut.js";
77
78
  import "../../shared-utils/five/FivePuppet.js";
78
79
  import "@realsee/five";
79
80
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
@@ -87,8 +88,8 @@ import "../utils/formatData.js";
87
88
  import "../Assets/floorplanExtraObject.js";
88
89
  import "../../shared-utils/url/replace-static-prefix.js";
89
90
  import "../../shared-utils/url/absoluteUrl.js";
90
- const Lo = (o, r) => new t(o, r);
91
+ const Mo = (o, r) => new t(o, r);
91
92
  export {
92
- Lo as PanoFloorplanRadarPlugin,
93
- Lo as default
93
+ Mo as PanoFloorplanRadarPlugin,
94
+ Mo as default
94
95
  };
@@ -50,6 +50,7 @@ import "../../shared-utils/three/core/Sphere.js";
50
50
  import "../../shared-utils/three/blink.js";
51
51
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
52
52
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
53
+ import "../../vendor/earcut/src/earcut.js";
53
54
  import { FLOORPLAN_DEFAULT_IMAGE as z } from "../../shared-utils/url/defaultUrls.js";
54
55
  import { replaceStaticPrefix as H } from "../../shared-utils/url/replace-static-prefix.js";
55
56
  import "../../shared-utils/five/FivePuppet.js";
@@ -142,7 +143,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
142
143
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
143
144
  import "@realsee/five";
144
145
  import "../../shared-utils/url/absoluteUrl.js";
145
- class ji extends M {
146
+ class qi extends M {
146
147
  constructor(t, i) {
147
148
  var h, l;
148
149
  super(t);
@@ -416,5 +417,5 @@ class ji extends M {
416
417
  }
417
418
  }
418
419
  export {
419
- ji as Controller
420
+ qi as Controller
420
421
  };
@@ -98,6 +98,7 @@ import "../../shared-utils/three/core/Line2.js";
98
98
  import "../../shared-utils/three/core/LineMaterial2.js";
99
99
  import "../../Sculpt/utils/unit.js";
100
100
  import "../../Sculpt/utils/renderDom.js";
101
+ import "../../vendor/earcut/src/earcut.js";
101
102
  import "../../shared-utils/five/FivePuppet.js";
102
103
  import "@realsee/five";
103
104
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
@@ -114,8 +115,8 @@ import "../../shared-utils/getPxmm.js";
114
115
  import "../../shared-utils/changeModelCanvasOpacity.js";
115
116
  import "../../shared-utils/url/replace-static-prefix.js";
116
117
  import "../../shared-utils/url/absoluteUrl.js";
117
- const sr = (o, r) => new t(o, r);
118
+ const wr = (o, r) => new t(o, r);
118
119
  export {
119
- sr as TopviewFloorplanPlugin,
120
- sr as default
120
+ wr as TopviewFloorplanPlugin,
121
+ wr as default
121
122
  };
@@ -11,5 +11,6 @@ import "../shared-utils/three/core/Sphere.js";
11
11
  import "../shared-utils/three/blink.js";
12
12
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
13
13
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
14
+ import "../vendor/earcut/src/earcut.js";
14
15
  import "../shared-utils/five/FivePuppet.js";
15
16
  import "../shared-utils/nearlyEqual.js";