@realsee/dnalogel 3.49.0 → 3.49.2

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 (126) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/Sculpt/Meshes/Line.d.ts +2 -1
  3. package/dist/index.cjs.js +3008 -87
  4. package/dist/index.js +39458 -20049
  5. package/dist/index.umd.js +3001 -80
  6. package/dist/shared-utils/three/index.d.ts +1 -1
  7. package/libs/AreaMakerPlugin/Controller.js +7 -4
  8. package/libs/AreaMakerPlugin/index.js +7 -4
  9. package/libs/AreaMakerPlugin/utils/Item.js +7 -4
  10. package/libs/CSS3DRenderPlugin/Controller.js +12 -9
  11. package/libs/CSS3DRenderPlugin/index.js +9 -6
  12. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +21 -18
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +6 -3
  14. package/libs/CruisePlugin/BaseController.js +12 -9
  15. package/libs/CruisePlugin/Move.js +7 -4
  16. package/libs/CruisePlugin/Work.js +7 -4
  17. package/libs/CruisePlugin/index.js +11 -8
  18. package/libs/CurrentPanoImagePlugin/Controller.js +6 -3
  19. package/libs/CurrentPanoImagePlugin/index.js +7 -4
  20. package/libs/GuideLinePlugin/Controller.js +9 -6
  21. package/libs/GuideLinePlugin/GuideLineItem.js +7 -4
  22. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -3
  23. package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -4
  24. package/libs/GuideLinePlugin/index.js +11 -8
  25. package/libs/ModelMakerPlugin/Controller.js +7 -4
  26. package/libs/ModelMakerPlugin/index.js +7 -4
  27. package/libs/ModelMakerPlugin/item/baseItem.js +2 -2
  28. package/libs/ModelMakerPlugin/item/boxItem.js +2 -2
  29. package/libs/ModelMakerPlugin/item/polygonItem.js +2 -2
  30. package/libs/ModelMakerPlugin/item/prismItem.js +2 -2
  31. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +1 -1
  32. package/libs/ModelTVVideoPlugin/Plugin.js +7 -4
  33. package/libs/ModelTVVideoPlugin/index.js +6 -3
  34. package/libs/Object3DHelperPlugin/Controller.js +6 -3
  35. package/libs/Object3DHelperPlugin/index.js +9 -6
  36. package/libs/PanoCompassPlugin/Controller.js +6 -3
  37. package/libs/PanoCompassPlugin/index.js +7 -4
  38. package/libs/PanoDoorLabelPlugin/BaseController.js +16 -13
  39. package/libs/PanoDoorLabelPlugin/Controller.js +58 -55
  40. package/libs/PanoDoorLabelPlugin/index.js +7 -4
  41. package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -3
  42. package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -3
  43. package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -3
  44. package/libs/PanoMeasurePlugin/Controller/WatchController.js +6 -3
  45. package/libs/PanoMeasurePlugin/Controller/index.js +6 -3
  46. package/libs/PanoMeasurePlugin/Model/area.js +6 -3
  47. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +4 -1
  48. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +6 -3
  49. package/libs/PanoMeasurePlugin/index.js +17 -14
  50. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +16 -13
  51. package/libs/PanoSpatialTagPlugin/Plugin.js +7 -4
  52. package/libs/PanoSpatialTagPlugin/index.js +4 -1
  53. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
  54. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +6 -3
  55. package/libs/PanoTagPlugin/Components/Tag/index.js +6 -3
  56. package/libs/PanoTagPlugin/Components/TagContainer.js +6 -3
  57. package/libs/PanoTagPlugin/Components/TagItem.js +6 -3
  58. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +11 -5
  59. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +14 -11
  60. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +12 -9
  61. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +10 -7
  62. package/libs/PanoTagPlugin/controller/TagRender.js +7 -4
  63. package/libs/PanoTagPlugin/controller/TagUtil.js +7 -4
  64. package/libs/PanoTagPlugin/controller/index.js +10 -7
  65. package/libs/PanoTagPlugin/index.js +16 -13
  66. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +25 -22
  67. package/libs/PanoVideoPlugin/Controller.js +9 -6
  68. package/libs/PanoVideoPlugin/VideoMeshController.js +6 -3
  69. package/libs/PanoVideoPlugin/index.js +9 -6
  70. package/libs/PipelinePlugin/Controller.js +13 -10
  71. package/libs/PipelinePlugin/index.js +7 -4
  72. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +6 -3
  73. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -13
  74. package/libs/PipelinePlugin/utils/Objects/Pipe.js +20 -17
  75. package/libs/Sculpt/Meshes/Box.js +7 -6
  76. package/libs/Sculpt/Meshes/Cylinder.js +4 -3
  77. package/libs/Sculpt/Meshes/Line.d.ts +2 -1
  78. package/libs/Sculpt/Meshes/Line.js +11 -10
  79. package/libs/Sculpt/Meshes/LineWithDots.js +1 -1
  80. package/libs/Sculpt/Meshes/Point.js +11 -10
  81. package/libs/Sculpt/Meshes/PolygonWithEdge.js +1 -1
  82. package/libs/Sculpt/Meshes/Polyline.js +31 -31
  83. package/libs/Sculpt/Meshes/Prism.js +2 -2
  84. package/libs/Sculpt/Meshes/Rectangle.js +5 -4
  85. package/libs/Sculpt/Objects/Line/Editor.js +4 -3
  86. package/libs/Sculpt/index.js +4 -3
  87. package/libs/Sculpt/utils/three/ColoredMesh.js +5 -4
  88. package/libs/base/BasePlugin.js +5 -4
  89. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -3
  90. package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
  91. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +6 -3
  92. package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -4
  93. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +6 -3
  94. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -4
  95. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +6 -3
  96. package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -4
  97. package/libs/floorplan/index.js +2 -1
  98. package/libs/index.js +131 -128
  99. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +1 -1
  100. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -1
  101. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -1
  102. package/libs/shared-utils/five/FiveDomEvents.js +1 -1
  103. package/libs/shared-utils/five/FiveLine.js +6 -18
  104. package/libs/shared-utils/five/index.js +4 -3
  105. package/libs/shared-utils/five/lookObject.js +18 -17
  106. package/libs/shared-utils/index.js +1 -1
  107. package/libs/shared-utils/logger.js +1 -1
  108. package/libs/shared-utils/tag.js +5 -5
  109. package/libs/shared-utils/three/PointSelector/index.js +24 -22
  110. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
  111. package/libs/shared-utils/three/boundingBox.js +1 -1
  112. package/libs/shared-utils/three/index.d.ts +1 -1
  113. package/libs/shared-utils/three/index.js +2 -1
  114. package/libs/vendor/three/build/three.module.js +19336 -0
  115. package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +28 -0
  116. package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +69 -0
  117. package/package.json +1 -1
  118. /package/dist/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
  119. /package/dist/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
  120. /package/dist/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
  121. /package/libs/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
  122. /package/libs/shared-utils/three/{objects → core}/LineSegments.js +0 -0
  123. /package/libs/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
  124. /package/libs/shared-utils/three/{THREERaycaster.js → core/Raycaster.js} +0 -0
  125. /package/libs/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
  126. /package/libs/shared-utils/three/{THREESphere.js → core/Sphere.js} +0 -0
@@ -0,0 +1,28 @@
1
+ import { LineSegmentsGeometry as n } from "./LineSegmentsGeometry.js";
2
+ var r = function() {
3
+ n.call(this), this.type = "LineGeometry";
4
+ };
5
+ r.prototype = Object.assign(Object.create(n.prototype), {
6
+ constructor: r,
7
+ isLineGeometry: !0,
8
+ setPositions: function(e) {
9
+ for (var s = e.length - 3, o = new Float32Array(2 * s), t = 0; t < s; t += 3)
10
+ o[2 * t] = e[t], o[2 * t + 1] = e[t + 1], o[2 * t + 2] = e[t + 2], o[2 * t + 3] = e[t + 3], o[2 * t + 4] = e[t + 4], o[2 * t + 5] = e[t + 5];
11
+ return n.prototype.setPositions.call(this, o), this;
12
+ },
13
+ setColors: function(e) {
14
+ for (var s = e.length - 3, o = new Float32Array(2 * s), t = 0; t < s; t += 3)
15
+ o[2 * t] = e[t], o[2 * t + 1] = e[t + 1], o[2 * t + 2] = e[t + 2], o[2 * t + 3] = e[t + 3], o[2 * t + 4] = e[t + 4], o[2 * t + 5] = e[t + 5];
16
+ return n.prototype.setColors.call(this, o), this;
17
+ },
18
+ fromLine: function(e) {
19
+ var s = e.geometry;
20
+ return s.isGeometry ? this.setPositions(s.vertices) : s.isBufferGeometry && this.setPositions(s.attributes.position.array), this;
21
+ },
22
+ copy: function() {
23
+ return this;
24
+ }
25
+ });
26
+ export {
27
+ r as LineGeometry
28
+ };
@@ -0,0 +1,69 @@
1
+ import { InstancedBufferGeometry as c, InstancedInterleavedBuffer as a, InterleavedBufferAttribute as s, WireframeGeometry as m, Box3 as f, Sphere as l, Float32BufferAttribute as h, Vector3 as b } from "../../../build/three.module.js";
2
+ var d = function() {
3
+ c.call(this), this.type = "LineSegmentsGeometry";
4
+ var t = [-1, 2, 0, 1, 2, 0, -1, 1, 0, 1, 1, 0, -1, 0, 0, 1, 0, 0, -1, -1, 0, 1, -1, 0], e = [-1, 2, 1, 2, -1, 1, 1, 1, -1, -1, 1, -1, -1, -2, 1, -2], n = [0, 2, 1, 2, 3, 1, 2, 4, 3, 4, 5, 3, 4, 6, 5, 6, 7, 5];
5
+ this.setIndex(n), this.setAttribute("position", new h(t, 3)), this.setAttribute("uv", new h(e, 2));
6
+ };
7
+ d.prototype = Object.assign(Object.create(c.prototype), {
8
+ constructor: d,
9
+ isLineSegmentsGeometry: !0,
10
+ applyMatrix4: function(t) {
11
+ var e = this.attributes.instanceStart, n = this.attributes.instanceEnd;
12
+ return e !== void 0 && (e.applyMatrix4(t), n.applyMatrix4(t), e.data.needsUpdate = !0), this.boundingBox !== null && this.computeBoundingBox(), this.boundingSphere !== null && this.computeBoundingSphere(), this;
13
+ },
14
+ setPositions: function(t) {
15
+ var e;
16
+ t instanceof Float32Array ? e = t : Array.isArray(t) && (e = new Float32Array(t));
17
+ var n = new a(e, 6, 1);
18
+ return this.setAttribute("instanceStart", new s(n, 3, 0)), this.setAttribute("instanceEnd", new s(n, 3, 3)), this.computeBoundingBox(), this.computeBoundingSphere(), this;
19
+ },
20
+ setColors: function(t) {
21
+ var e;
22
+ t instanceof Float32Array ? e = t : Array.isArray(t) && (e = new Float32Array(t));
23
+ var n = new a(e, 6, 1);
24
+ return this.setAttribute("instanceColorStart", new s(n, 3, 0)), this.setAttribute("instanceColorEnd", new s(n, 3, 3)), this;
25
+ },
26
+ fromWireframeGeometry: function(t) {
27
+ return this.setPositions(t.attributes.position.array), this;
28
+ },
29
+ fromEdgesGeometry: function(t) {
30
+ return this.setPositions(t.attributes.position.array), this;
31
+ },
32
+ fromMesh: function(t) {
33
+ return this.fromWireframeGeometry(new m(t.geometry)), this;
34
+ },
35
+ fromLineSegments: function(t) {
36
+ var e = t.geometry;
37
+ return e.isGeometry ? this.setPositions(e.vertices) : e.isBufferGeometry && this.setPositions(e.attributes.position.array), this;
38
+ },
39
+ computeBoundingBox: function() {
40
+ var t = new f();
41
+ return function() {
42
+ this.boundingBox === null && (this.boundingBox = new f());
43
+ var n = this.attributes.instanceStart, i = this.attributes.instanceEnd;
44
+ n !== void 0 && i !== void 0 && (this.boundingBox.setFromBufferAttribute(n), t.setFromBufferAttribute(i), this.boundingBox.union(t));
45
+ };
46
+ }(),
47
+ computeBoundingSphere: function() {
48
+ var t = new b();
49
+ return function() {
50
+ this.boundingSphere === null && (this.boundingSphere = new l()), this.boundingBox === null && this.computeBoundingBox();
51
+ var n = this.attributes.instanceStart, i = this.attributes.instanceEnd;
52
+ if (n !== void 0 && i !== void 0) {
53
+ var u = this.boundingSphere.center;
54
+ this.boundingBox.getCenter(u);
55
+ for (var r = 0, o = 0, p = n.count; o < p; o++)
56
+ t.fromBufferAttribute(n, o), r = Math.max(r, u.distanceToSquared(t)), t.fromBufferAttribute(i, o), r = Math.max(r, u.distanceToSquared(t));
57
+ this.boundingSphere.radius = Math.sqrt(r), isNaN(this.boundingSphere.radius) && console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.", this);
58
+ }
59
+ };
60
+ }(),
61
+ toJSON: function() {
62
+ },
63
+ applyMatrix: function(t) {
64
+ return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."), this.applyMatrix4(t);
65
+ }
66
+ });
67
+ export {
68
+ d as LineSegmentsGeometry
69
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.49.0",
3
+ "version": "3.49.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",