@realsee/dnalogel 3.47.4 → 3.47.6

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 +6 -0
  2. package/dist/Sculpt/Meshes/Polygon.d.ts +1 -1
  3. package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
  4. package/dist/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
  5. package/dist/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
  6. package/dist/index.cjs.js +62 -40
  7. package/dist/index.js +2453 -2428
  8. package/dist/index.umd.js +65 -43
  9. package/dist/shared-utils/five/vector3ToScreen.d.ts +4 -4
  10. package/dist/shared-utils/tag.d.ts +4 -4
  11. package/dist/shared-utils/three/index.d.ts +0 -2
  12. package/dist/shared-utils/three/raycaster.d.ts +2 -0
  13. package/libs/AreaMakerPlugin/Controller.js +16 -14
  14. package/libs/AreaMakerPlugin/index.js +18 -16
  15. package/libs/AreaMakerPlugin/utils/Item.js +55 -53
  16. package/libs/CSS3DRenderPlugin/Controller.js +14 -12
  17. package/libs/CSS3DRenderPlugin/index.js +21 -19
  18. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +15 -13
  19. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -14
  20. package/libs/CruisePlugin/BaseController.js +29 -27
  21. package/libs/CruisePlugin/Move.js +21 -19
  22. package/libs/CruisePlugin/Work.js +16 -14
  23. package/libs/CruisePlugin/index.js +22 -20
  24. package/libs/CurrentPanoImagePlugin/Controller.js +25 -23
  25. package/libs/CurrentPanoImagePlugin/index.js +19 -17
  26. package/libs/GuideLinePlugin/Controller.js +18 -16
  27. package/libs/GuideLinePlugin/GuideLineItem.js +18 -16
  28. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -4
  29. package/libs/GuideLinePlugin/GuideLineModeItem.js +18 -16
  30. package/libs/GuideLinePlugin/index.js +22 -20
  31. package/libs/ModelMakerPlugin/Controller.js +22 -20
  32. package/libs/ModelMakerPlugin/index.js +18 -16
  33. package/libs/ModelMakerPlugin/item/baseItem.js +14 -13
  34. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  35. package/libs/ModelMakerPlugin/item/polygonItem.js +6 -5
  36. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  37. package/libs/ModelTVVideoPlugin/Plugin.js +17 -15
  38. package/libs/ModelTVVideoPlugin/index.js +16 -14
  39. package/libs/Object3DHelperPlugin/Controller.js +17 -15
  40. package/libs/Object3DHelperPlugin/index.js +21 -19
  41. package/libs/PanoCompassPlugin/Controller.js +18 -16
  42. package/libs/PanoCompassPlugin/index.js +19 -17
  43. package/libs/PanoDoorLabelPlugin/BaseController.js +18 -16
  44. package/libs/PanoDoorLabelPlugin/Controller.js +38 -36
  45. package/libs/PanoDoorLabelPlugin/index.js +19 -17
  46. package/libs/PanoMeasurePlugin/Components/Controller0.js +15 -13
  47. package/libs/PanoMeasurePlugin/Components/Controller1.js +15 -13
  48. package/libs/PanoMeasurePlugin/Controller/EditController.js +14 -12
  49. package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -13
  50. package/libs/PanoMeasurePlugin/Controller/index.js +13 -11
  51. package/libs/PanoMeasurePlugin/Model/area.js +15 -13
  52. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +15 -13
  53. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +15 -13
  54. package/libs/PanoMeasurePlugin/index.js +24 -22
  55. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +15 -13
  56. package/libs/PanoSpatialTagPlugin/Plugin.js +17 -15
  57. package/libs/PanoSpatialTagPlugin/index.js +14 -12
  58. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +17 -15
  59. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +16 -14
  60. package/libs/PanoTagPlugin/Components/Tag/index.js +16 -14
  61. package/libs/PanoTagPlugin/Components/TagContainer.js +16 -14
  62. package/libs/PanoTagPlugin/Components/TagItem.js +16 -14
  63. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +60 -60
  64. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +16 -14
  65. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +16 -14
  66. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -16
  67. package/libs/PanoTagPlugin/controller/TagRender.js +15 -13
  68. package/libs/PanoTagPlugin/controller/TagUtil.js +16 -14
  69. package/libs/PanoTagPlugin/controller/index.js +18 -16
  70. package/libs/PanoTagPlugin/index.js +24 -22
  71. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +17 -15
  72. package/libs/PanoVideoPlugin/Controller.js +18 -16
  73. package/libs/PanoVideoPlugin/VideoMeshController.js +18 -16
  74. package/libs/PanoVideoPlugin/index.js +21 -19
  75. package/libs/PipelinePlugin/Controller.js +17 -15
  76. package/libs/PipelinePlugin/index.js +19 -17
  77. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +18 -16
  78. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +18 -16
  79. package/libs/PipelinePlugin/utils/Objects/Pipe.js +35 -33
  80. package/libs/Sculpt/Meshes/Box.js +6 -7
  81. package/libs/Sculpt/Meshes/Cylinder.js +15 -16
  82. package/libs/Sculpt/Meshes/Line.js +28 -28
  83. package/libs/Sculpt/Meshes/Point.js +6 -7
  84. package/libs/Sculpt/Meshes/Polygon.d.ts +1 -1
  85. package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
  86. package/libs/Sculpt/Meshes/Polyline.js +5 -6
  87. package/libs/Sculpt/Meshes/Rectangle.js +3 -4
  88. package/libs/Sculpt/Objects/Line/Editor.js +15 -16
  89. package/libs/Sculpt/Objects/Line/index.js +35 -35
  90. package/libs/Sculpt/Objects/Polygon/index.js +55 -61
  91. package/libs/Sculpt/Objects/Polyline/index.js +45 -45
  92. package/libs/Sculpt/index.js +1 -1
  93. package/libs/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
  94. package/libs/Sculpt/utils/Meshes/getLengthHTML.js +34 -0
  95. package/libs/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
  96. package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
  97. package/libs/base/BasePlugin.js +14 -15
  98. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +15 -13
  99. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -17
  100. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +15 -13
  101. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -17
  102. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +18 -16
  103. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +19 -17
  104. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +15 -13
  105. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -17
  106. package/libs/floorplan/index.js +1 -2
  107. package/libs/index.js +15 -15
  108. package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +7 -7
  109. package/libs/shared-utils/five/index.js +3 -4
  110. package/libs/shared-utils/five/lookObject.js +3 -4
  111. package/libs/shared-utils/five/vector3ToScreen.d.ts +4 -4
  112. package/libs/shared-utils/five/vector3ToScreen.js +9 -4
  113. package/libs/shared-utils/index.js +45 -49
  114. package/libs/shared-utils/logger.js +1 -1
  115. package/libs/shared-utils/tag.d.ts +4 -4
  116. package/libs/shared-utils/tag.js +60 -46
  117. package/libs/shared-utils/three/index.d.ts +0 -2
  118. package/libs/shared-utils/three/index.js +1 -2
  119. package/libs/shared-utils/three/raycaster.d.ts +2 -0
  120. package/libs/shared-utils/three/raycaster.js +6 -0
  121. package/package.json +1 -1
  122. package/dist/shared-utils/three/getIntersect.d.ts +0 -21
  123. package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
  124. package/libs/shared-utils/three/getIntersect.d.ts +0 -21
  125. package/libs/shared-utils/three/getIntersect.js +0 -24
  126. package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
  127. package/libs/shared-utils/three/getRaycaster.js +0 -12
@@ -1,21 +0,0 @@
1
- import * as THREE from 'three';
2
- import type { Five } from '@realsee/five';
3
- export declare function getIntersectFromRelativePosition(five: Five, position: {
4
- x: number;
5
- y: number;
6
- }): {
7
- raycaster: THREE.Raycaster;
8
- isVirtual: boolean;
9
- floor: number;
10
- model?: import("@realsee/five").Model;
11
- viewLayer?: import("@realsee/five").ModelViewLayer;
12
- distance: number;
13
- distanceToRay?: number;
14
- point: THREE.Vector3;
15
- index?: number;
16
- face?: THREE.Face3;
17
- faceIndex?: number;
18
- object: THREE.Object3D;
19
- uv?: THREE.Vector2;
20
- instanceId?: number;
21
- };
@@ -1,24 +0,0 @@
1
- var p = Object.defineProperty, R = Object.defineProperties;
2
- var u = Object.getOwnPropertyDescriptors;
3
- var c = Object.getOwnPropertySymbols;
4
- var x = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
- var n = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, a = (e, t) => {
6
- for (var s in t || (t = {}))
7
- x.call(t, s) && n(e, s, t[s]);
8
- if (c)
9
- for (var s of c(t))
10
- F.call(t, s) && n(e, s, t[s]);
11
- return e;
12
- }, i = (e, t) => R(e, u(t));
13
- import * as d from "three";
14
- import { getFiveModel as g } from "../five/getFiveModel.js";
15
- function C(e, t) {
16
- const s = g(e), { x: m, y: l } = t, f = m * 2 - 1, y = l * 2 - 1, r = new d.Raycaster();
17
- r.setFromCamera({ x: f, y }, e.camera);
18
- const o = s.intersectRaycaster(r)[0];
19
- if (o)
20
- return i(a({}, o), { raycaster: r, isVirtual: !1 });
21
- }
22
- export {
23
- C as getIntersectFromRelativePosition
24
- };
@@ -1,6 +0,0 @@
1
- import * as THREE from 'three';
2
- import type { Five } from '@realsee/five';
3
- export declare function getRaycasterFromFivePointer(five: Five, pointer: {
4
- x: number;
5
- y: number;
6
- }): THREE.Raycaster;
@@ -1,12 +0,0 @@
1
- import * as n from "three";
2
- import { getCoordsFromElement as a } from "./getCoords.js";
3
- function c(e, o) {
4
- const r = e.getElement();
5
- if (!r)
6
- return;
7
- const m = a(o, r), t = new n.Raycaster();
8
- return t.setFromCamera(m, e.camera), t;
9
- }
10
- export {
11
- c as getRaycasterFromFivePointer
12
- };