@realsee/dnalogel 3.47.10 → 3.47.11

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 (103) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/Sculpt/Meshes/Line.d.ts +1 -0
  3. package/dist/Sculpt/Meshes/Polyline.d.ts +1 -0
  4. package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +1 -0
  5. package/dist/index.cjs.js +57 -57
  6. package/dist/index.js +3227 -3221
  7. package/dist/index.umd.js +50 -50
  8. package/libs/AreaMakerPlugin/Controller.js +14 -13
  9. package/libs/AreaMakerPlugin/index.js +15 -14
  10. package/libs/AreaMakerPlugin/utils/Item.js +15 -14
  11. package/libs/CSS3DRenderPlugin/Controller.js +12 -11
  12. package/libs/CSS3DRenderPlugin/index.js +18 -17
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +12 -11
  14. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +26 -25
  15. package/libs/CruisePlugin/BaseController.js +17 -16
  16. package/libs/CruisePlugin/Move.js +20 -19
  17. package/libs/CruisePlugin/Work.js +15 -14
  18. package/libs/CruisePlugin/index.js +19 -18
  19. package/libs/CurrentPanoImagePlugin/Controller.js +14 -13
  20. package/libs/CurrentPanoImagePlugin/index.js +16 -15
  21. package/libs/GuideLinePlugin/Controller.js +17 -16
  22. package/libs/GuideLinePlugin/GuideLineItem.js +15 -14
  23. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +5 -3
  24. package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -14
  25. package/libs/GuideLinePlugin/index.js +19 -18
  26. package/libs/ModelMakerPlugin/Controller.js +13 -12
  27. package/libs/ModelMakerPlugin/index.js +15 -14
  28. package/libs/ModelTVVideoPlugin/Plugin.js +37 -36
  29. package/libs/ModelTVVideoPlugin/index.js +13 -12
  30. package/libs/Object3DHelperPlugin/Controller.js +14 -13
  31. package/libs/Object3DHelperPlugin/index.js +18 -17
  32. package/libs/PanoCompassPlugin/Controller.js +15 -14
  33. package/libs/PanoCompassPlugin/index.js +16 -15
  34. package/libs/PanoDoorLabelPlugin/BaseController.js +15 -14
  35. package/libs/PanoDoorLabelPlugin/Controller.js +15 -14
  36. package/libs/PanoDoorLabelPlugin/index.js +16 -15
  37. package/libs/PanoMeasurePlugin/Components/Controller0.js +12 -11
  38. package/libs/PanoMeasurePlugin/Components/Controller1.js +12 -11
  39. package/libs/PanoMeasurePlugin/Controller/EditController.js +12 -11
  40. package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
  41. package/libs/PanoMeasurePlugin/Controller/index.js +10 -9
  42. package/libs/PanoMeasurePlugin/Model/area.js +12 -11
  43. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +12 -11
  44. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -11
  45. package/libs/PanoMeasurePlugin/index.js +21 -20
  46. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +12 -11
  47. package/libs/PanoSpatialTagPlugin/Plugin.js +14 -13
  48. package/libs/PanoSpatialTagPlugin/index.js +11 -10
  49. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +14 -13
  50. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +13 -12
  51. package/libs/PanoTagPlugin/Components/Tag/index.js +13 -12
  52. package/libs/PanoTagPlugin/Components/TagContainer.js +13 -12
  53. package/libs/PanoTagPlugin/Components/TagItem.js +13 -12
  54. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +34 -33
  55. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +13 -12
  56. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +13 -12
  57. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +15 -14
  58. package/libs/PanoTagPlugin/controller/TagRender.js +12 -11
  59. package/libs/PanoTagPlugin/controller/TagUtil.js +13 -12
  60. package/libs/PanoTagPlugin/controller/index.js +16 -15
  61. package/libs/PanoTagPlugin/index.js +21 -20
  62. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +14 -13
  63. package/libs/PanoVideoPlugin/Controller.js +15 -14
  64. package/libs/PanoVideoPlugin/VideoMeshController.js +30 -29
  65. package/libs/PanoVideoPlugin/index.js +18 -17
  66. package/libs/PipelinePlugin/Controller.js +14 -13
  67. package/libs/PipelinePlugin/index.js +16 -15
  68. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +21 -20
  69. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +15 -14
  70. package/libs/PipelinePlugin/utils/Objects/Pipe.js +13 -12
  71. package/libs/Sculpt/Meshes/Box.js +10 -8
  72. package/libs/Sculpt/Meshes/Cylinder.js +17 -15
  73. package/libs/Sculpt/Meshes/Line.d.ts +1 -0
  74. package/libs/Sculpt/Meshes/Line.js +84 -78
  75. package/libs/Sculpt/Meshes/Point.js +14 -12
  76. package/libs/Sculpt/Meshes/Polyline.d.ts +1 -0
  77. package/libs/Sculpt/Meshes/Polyline.js +69 -74
  78. package/libs/Sculpt/Meshes/Rectangle.js +6 -4
  79. package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +1 -0
  80. package/libs/Sculpt/Objects/Base/index.js +5 -5
  81. package/libs/Sculpt/Objects/Line/Editor.js +17 -15
  82. package/libs/Sculpt/Objects/Polygon/index.js +22 -22
  83. package/libs/Sculpt/Objects/Rectangle/Editor.js +2 -2
  84. package/libs/Sculpt/Objects/Rectangle/index.js +79 -69
  85. package/libs/Sculpt/index.js +15 -14
  86. package/libs/Sculpt/utils/three/ColoredMesh.js +6 -4
  87. package/libs/base/BasePlugin.js +16 -14
  88. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +13 -12
  89. package/libs/floorplan/MapviewFloorplanPlugin/index.js +16 -15
  90. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +13 -12
  91. package/libs/floorplan/ModelFloorplanPlugin/index.js +16 -15
  92. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +15 -14
  93. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -15
  94. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +13 -12
  95. package/libs/floorplan/TopviewFloorplanPlugin/index.js +16 -15
  96. package/libs/floorplan/index.js +3 -1
  97. package/libs/index.js +12 -12
  98. package/libs/shared-utils/five/index.js +5 -3
  99. package/libs/shared-utils/five/lookObject.js +20 -18
  100. package/libs/shared-utils/logger.js +1 -1
  101. package/libs/shared-utils/three/applyObjectMatrixWorld.js +4 -6
  102. package/libs/shared-utils/three/index.js +3 -1
  103. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
1
  var B = Object.defineProperty;
2
2
  var U = Object.getOwnPropertySymbols;
3
3
  var F = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
4
- var V = (e, o, t) => o in e ? B(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, T = (e, o) => {
5
- for (var t in o || (o = {}))
6
- F.call(o, t) && V(e, t, o[t]);
4
+ var V = (o, e, t) => e in o ? B(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, T = (o, e) => {
5
+ for (var t in e || (e = {}))
6
+ F.call(e, t) && V(o, t, e[t]);
7
7
  if (U)
8
- for (var t of U(o))
9
- H.call(o, t) && V(e, t, o[t]);
10
- return e;
8
+ for (var t of U(e))
9
+ H.call(e, t) && V(o, t, e[t]);
10
+ return o;
11
11
  };
12
- var g = (e, o, t) => new Promise((r, m) => {
12
+ var g = (o, e, t) => new Promise((r, m) => {
13
13
  var u = (a) => {
14
14
  try {
15
15
  l(t.next(a));
@@ -23,7 +23,7 @@ var g = (e, o, t) => new Promise((r, m) => {
23
23
  m(d);
24
24
  }
25
25
  }, l = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(u, s);
26
- l((t = t.apply(e, o)).next());
26
+ l((t = t.apply(o, e)).next());
27
27
  });
28
28
  import * as n from "three";
29
29
  import "hammerjs";
@@ -32,18 +32,20 @@ import { vectorToCoordinates as N } from "../vectorToCoordinate.js";
32
32
  import { FiveUtil as O } from "../Utils/FiveUtil.js";
33
33
  import { notNil as Y } from "../isNil.js";
34
34
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
35
- import "../../Sculpt/Meshes/Line.js";
35
+ import "@realsee/five/line";
36
+ import "../tag.js";
37
+ import "../../Sculpt/utils/Modules/Global.js";
36
38
  import { worldBoundingSphere as j } from "../three/boundingBox.js";
37
39
  import "animejs";
38
- function $(e, o, t) {
40
+ function ot(o, e, t) {
39
41
  return g(this, null, function* () {
40
42
  var P, x, z;
41
- if (!o)
43
+ if (!e)
42
44
  return;
43
- const r = j(o);
45
+ const r = j(e);
44
46
  if (!r)
45
47
  return;
46
- const m = new O(e), u = (P = t == null ? void 0 : t.scale) != null ? P : 1.4, s = r.center, l = e.camera.position.clone().sub(s).setY(0).normalize(), a = e.state.mode === "Mapview" ? e.state.fov : 60, C = Math.max(1.5, r.radius * u), k = C * (1 / Math.tan(n.MathUtils.degToRad(a / 2)));
48
+ const m = new O(o), u = (P = t == null ? void 0 : t.scale) != null ? P : 1.4, s = r.center, l = o.camera.position.clone().sub(s).setY(0).normalize(), a = o.state.mode === "Mapview" ? o.state.fov : 60, C = Math.max(1.5, r.radius * u), k = C * (1 / Math.tan(n.MathUtils.degToRad(a / 2)));
47
49
  let p = 0;
48
50
  const w = [], M = (c) => {
49
51
  const i = n.MathUtils.degToRad(c);
@@ -62,21 +64,21 @@ function $(e, o, t) {
62
64
  p += 30;
63
65
  }
64
66
  const R = M((z = (x = w[2]) != null ? x : w[1]) != null ? z : 0), v = R.distanceTo(s), b = N(s.clone().sub(R).normalize());
65
- if (e.state.mode === "Mapview")
66
- return e.updateCamera(
67
+ if (o.state.mode === "Mapview")
68
+ return o.updateCamera(
67
69
  T({
68
70
  offset: s,
69
71
  distance: v
70
72
  }, b),
71
73
  800
72
74
  );
73
- e.setState(T({
75
+ o.setState(T({
74
76
  mode: "Mapview",
75
77
  offset: s,
76
78
  distance: v
77
- }, b)), yield e.ready();
79
+ }, b)), yield o.ready();
78
80
  });
79
81
  }
80
82
  export {
81
- $ as lookObject
83
+ ot as lookObject
82
84
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.47.10",
3
+ "%c %c@realsee/dnalogel %cv3.47.11",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -1,9 +1,7 @@
1
- import { toArray as n } from "../util.js";
2
- function i(r, o) {
3
- const a = n(o);
4
- r.updateMatrixWorld();
5
- const t = a.map((l) => r.localToWorld(l.clone()));
6
- return Array.isArray(o) ? t : t[0];
1
+ import { toArray as l } from "../util.js";
2
+ function i(t, r) {
3
+ const o = l(r).map((n) => t.localToWorld(n.clone()));
4
+ return Array.isArray(r) ? o : o[0];
7
5
  }
8
6
  export {
9
7
  i as applyObjectMatrixWorld
@@ -1,7 +1,9 @@
1
1
  import "hammerjs";
2
2
  import "three";
3
3
  import "three/examples/jsm/renderers/CSS3DRenderer";
4
- import "../../Sculpt/Meshes/Line.js";
4
+ import "@realsee/five/line";
5
+ import "../tag.js";
6
+ import "../../Sculpt/utils/Modules/Global.js";
5
7
  import "./THREESphere.js";
6
8
  import "animejs";
7
9
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.47.10",
3
+ "version": "3.47.11",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",