@realsee/dnalogel 3.77.6 → 3.77.8

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 (113) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/Sculpt/Meshes/Line.d.ts +4 -0
  3. package/dist/index.cjs.js +71 -71
  4. package/dist/index.js +3390 -3366
  5. package/dist/index.umd.js +64 -64
  6. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  7. package/libs/AreaMakerPlugin/Controller.js +3 -2
  8. package/libs/AreaMakerPlugin/index.js +3 -2
  9. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  10. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  11. package/libs/CSS3DRenderPlugin/index.js +6 -5
  12. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
  14. package/libs/CruisePlugin/BaseController.js +5 -4
  15. package/libs/CruisePlugin/Move.js +3 -2
  16. package/libs/CruisePlugin/Work.js +3 -2
  17. package/libs/CruisePlugin/index.js +7 -6
  18. package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
  19. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  20. package/libs/GuideLinePlugin/Controller.js +5 -4
  21. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  22. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  23. package/libs/GuideLinePlugin/index.js +7 -6
  24. package/libs/MeasurePlugin/Controller.js +11 -10
  25. package/libs/MeasurePlugin/index.js +5 -4
  26. package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
  27. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  28. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  29. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  30. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  31. package/libs/ModelMakerPlugin/Controller.js +3 -2
  32. package/libs/ModelMakerPlugin/index.js +3 -2
  33. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  34. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  35. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  36. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  37. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  38. package/libs/ModelTVVideoPlugin/index.js +3 -2
  39. package/libs/ModelViewPlugin/Plugin.js +20 -19
  40. package/libs/ModelViewPlugin/index.js +1 -0
  41. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  42. package/libs/Object3DHelperPlugin/index.js +6 -5
  43. package/libs/PanoCompassPlugin/Controller.js +3 -2
  44. package/libs/PanoCompassPlugin/index.js +4 -3
  45. package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
  46. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  47. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  48. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  49. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  50. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  51. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  52. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  53. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  54. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  55. package/libs/PanoMeasurePlugin/index.js +14 -13
  56. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  57. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  58. package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
  59. package/libs/PanoRulerProPlugin/index.js +4 -3
  60. package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
  61. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  62. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
  63. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  64. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  65. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  66. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  67. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  68. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  69. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  70. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  71. package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +3 -2
  72. package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
  73. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  74. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  75. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  76. package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +3 -2
  77. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  78. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  79. package/libs/PanoTagPlugin/controller/index.js +30 -29
  80. package/libs/PanoTagPlugin/index.js +12 -11
  81. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  82. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  83. package/libs/PanoVideoPlugin/Controller.js +9 -8
  84. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  85. package/libs/PanoVideoPlugin/index.js +6 -5
  86. package/libs/PipelinePlugin/Controller.js +3 -2
  87. package/libs/PipelinePlugin/index.js +4 -3
  88. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  89. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  90. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  91. package/libs/Sculpt/Meshes/Line.d.ts +4 -0
  92. package/libs/Sculpt/Meshes/Line.js +85 -76
  93. package/libs/Sculpt/Meshes/Point.js +28 -28
  94. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  95. package/libs/Sculpt/index.js +1 -1
  96. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  97. package/libs/base/BasePlugin.js +1 -1
  98. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  99. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  100. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  101. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  102. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  103. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  104. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  105. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  106. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  107. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  108. package/libs/index.js +159 -158
  109. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  110. package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
  111. package/libs/shared-utils/logger.js +1 -1
  112. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
  113. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  var H = Object.defineProperty, I = Object.defineProperties;
2
2
  var F = Object.getOwnPropertyDescriptors;
3
- var _ = Object.getOwnPropertySymbols;
3
+ var C = Object.getOwnPropertySymbols;
4
4
  var G = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
- var C = (M, S, e) => S in M ? H(M, S, { enumerable: !0, configurable: !0, writable: !0, value: e }) : M[S] = e, g = (M, S) => {
5
+ var _ = (M, S, e) => S in M ? H(M, S, { enumerable: !0, configurable: !0, writable: !0, value: e }) : M[S] = e, g = (M, S) => {
6
6
  for (var e in S || (S = {}))
7
- G.call(S, e) && C(M, e, S[e]);
8
- if (_)
9
- for (var e of _(S))
10
- U.call(S, e) && C(M, e, S[e]);
7
+ G.call(S, e) && _(M, e, S[e]);
8
+ if (C)
9
+ for (var e of C(S))
10
+ U.call(S, e) && _(M, e, S[e]);
11
11
  return M;
12
12
  }, D = (M, S) => I(M, F(S));
13
- var s = (M, S, e) => (C(M, typeof S != "symbol" ? S + "" : S, e), e);
13
+ var s = (M, S, e) => (_(M, typeof S != "symbol" ? S + "" : S, e), e);
14
14
  import * as y from "three";
15
15
  import "../shared-utils/tag.js";
16
16
  import "../vendor/hammerjs/hammer.js";
@@ -69,6 +69,7 @@ import "../Sculpt/typings/style.js";
69
69
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
70
70
  import "../shared-utils/three/applyObjectMatrixWorld.js";
71
71
  import "../shared-utils/util.js";
72
+ import "../shared-utils/five/getFiveFromParentChain.js";
72
73
  import "../shared-utils/three/core/LineGeometry.js";
73
74
  import "../shared-utils/three/core/LineMaterial.js";
74
75
  import "../shared-utils/three/core/Line2.js";
@@ -95,7 +96,7 @@ import "../shared-utils/three/geometryUtil.js";
95
96
  import "../shared-utils/three/vectorIsEqual.js";
96
97
  import "../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
97
98
  import "../Sculpt/utils/Modules/DeleteIconSVG.js";
98
- class bt extends B {
99
+ class Lt extends B {
99
100
  constructor(e, t) {
100
101
  super();
101
102
  s(this, "name", "MeasurePlugin");
@@ -844,7 +845,7 @@ class bt extends B {
844
845
  });
845
846
  this.five = e;
846
847
  const i = { unit: "m", lengthEnable: !0, precision: 2 };
847
- this.config = t ? g(g({}, i), t) : i, this.group = new A(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), P("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
848
+ this.config = t ? g(g({}, i), t) : i, this.group = new A(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), P("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
848
849
  }
849
850
  get pointSelector() {
850
851
  return this._pointSelector ? this._pointSelector : (this._pointSelector = new V(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 }), this._pointSelector);
@@ -864,5 +865,5 @@ class bt extends B {
864
865
  }
865
866
  }
866
867
  export {
867
- bt as MeasureController
868
+ Lt as MeasureController
868
869
  };
@@ -1,5 +1,5 @@
1
1
  import { MeasureController as t } from "./Controller.js";
2
- import { validatePolygon as Jo } from "./utils/validatePolygon.js";
2
+ import { validatePolygon as Ko } from "./utils/validatePolygon.js";
3
3
  import "three";
4
4
  import "../shared-utils/tag.js";
5
5
  import "../shared-utils/positionToVector3.js";
@@ -51,6 +51,7 @@ import "../Sculpt/typings/style.js";
51
51
  import "../shared-utils/three/IObject3D.js";
52
52
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
53
53
  import "../shared-utils/three/applyObjectMatrixWorld.js";
54
+ import "../shared-utils/five/getFiveFromParentChain.js";
54
55
  import "../shared-utils/three/core/LineGeometry.js";
55
56
  import "../shared-utils/three/core/LineMaterial.js";
56
57
  import "../shared-utils/three/core/Line2.js";
@@ -83,8 +84,8 @@ import "../Sculpt/utils/Modules/Cursor.js";
83
84
  import "../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
84
85
  import "../Sculpt/utils/Modules/DeleteIconSVG.js";
85
86
  import "../shared-utils/three/vectorIsEqual.js";
86
- const Go = (o, r) => new t(o, r);
87
+ const Ho = (o, r) => new t(o, r);
87
88
  export {
88
- Go as MeasurePlugin,
89
- Jo as validatePolygon
89
+ Ho as MeasurePlugin,
90
+ Ko as validatePolygon
90
91
  };
@@ -56,6 +56,7 @@ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
56
56
  import "../../Sculpt/Meshes/Line.js";
57
57
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
58
58
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
59
+ import "../../shared-utils/five/getFiveFromParentChain.js";
59
60
  import "../../shared-utils/three/core/LineGeometry.js";
60
61
  import "../../shared-utils/three/core/LineMaterial.js";
61
62
  import "../../shared-utils/three/core/Line2.js";
@@ -78,7 +79,7 @@ import "../../PanoMeasurePlugin/utils/isIntersecting.js";
78
79
  import "../../Sculpt/utils/three/ColoredMesh.js";
79
80
  import "../../shared-utils/three/geometryUtil.js";
80
81
  import "../../shared-utils/three/vectorIsEqual.js";
81
- class At extends e {
82
+ class Bt extends e {
82
83
  constructor(t) {
83
84
  super();
84
85
  o(this, "name", "MeasureMesh");
@@ -118,5 +119,5 @@ class At extends e {
118
119
  }
119
120
  }
120
121
  export {
121
- At as MeasureMesh
122
+ Bt as MeasureMesh
122
123
  };
@@ -70,6 +70,7 @@ import "../shared-utils/three/IObject3D.js";
70
70
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
71
71
  import "../shared-utils/three/applyObjectMatrixWorld.js";
72
72
  import "../shared-utils/util.js";
73
+ import "../shared-utils/five/getFiveFromParentChain.js";
73
74
  import "../shared-utils/three/core/LineGeometry.js";
74
75
  import "../shared-utils/three/core/LineMaterial.js";
75
76
  import "../shared-utils/three/core/Line2.js";
@@ -87,7 +88,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
87
88
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
88
89
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
89
90
  import "@realsee/five";
90
- const Zt = (i, m) => {
91
+ const $t = (i, m) => {
91
92
  var L;
92
93
  const p = (m == null ? void 0 : m.fbx_url) || R, a = (L = m == null ? void 0 : m.north_rad) != null ? L : void 0, t = {};
93
94
  let f = { x: 0, y: 0, z: 0 }, b = [0, 0, 0], s = 1, e = a;
@@ -141,6 +142,6 @@ const Zt = (i, m) => {
141
142
  return { load: c, disable: B, enable: A };
142
143
  };
143
144
  export {
144
- Zt as ModelChassisCompassPlugin,
145
- Zt as default
145
+ $t as ModelChassisCompassPlugin,
146
+ $t as default
146
147
  };
@@ -56,6 +56,7 @@ import "../Sculpt/typings/style.js";
56
56
  import "../shared-utils/three/IObject3D.js";
57
57
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
58
58
  import "../shared-utils/three/applyObjectMatrixWorld.js";
59
+ import "../shared-utils/five/getFiveFromParentChain.js";
59
60
  import "../shared-utils/three/core/LineGeometry.js";
60
61
  import "../shared-utils/three/core/LineMaterial.js";
61
62
  import "../shared-utils/three/core/Line2.js";
@@ -72,6 +72,7 @@ import "../shared-utils/three/IObject3D.js";
72
72
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
73
73
  import "../shared-utils/three/applyObjectMatrixWorld.js";
74
74
  import "../shared-utils/util.js";
75
+ import "../shared-utils/five/getFiveFromParentChain.js";
75
76
  import "../shared-utils/three/core/LineGeometry.js";
76
77
  import "../shared-utils/three/core/LineMaterial.js";
77
78
  import "../shared-utils/three/core/Line2.js";
@@ -89,7 +90,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
89
90
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
90
91
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
91
92
  import "@realsee/five";
92
- const dt = (i, r) => {
93
+ const ut = (i, r) => {
93
94
  var w, _, g;
94
95
  const o = {}, y = (w = r == null ? void 0 : r.animationEnabled) != null ? w : !0, j = (_ = r == null ? void 0 : r.position) != null ? _ : void 0, D = (g = r == null ? void 0 : r.rad) != null ? g : void 0, h = (r == null ? void 0 : r.fbx_url) || H, l = [], n = (t) => L(void 0, null, function* () {
95
96
  var d, a, M, b, f, E, P, R;
@@ -143,12 +144,12 @@ const dt = (i, r) => {
143
144
  o.object && (o.animation && o.animation.stop(), i.scene.remove(o.object), i.needsRender = !0);
144
145
  }, x = (t) => t === "Floorplan" ? T() : F();
145
146
  return { load: n, enable: (t) => (o.enabled || (o.enabled = !0, x(i.currentMode), i.on("modeChange", x), T(t)), !0), disable: () => (o.enabled && (o.enabled = !1, F(), i.off("modeChange", x)), !0) };
146
- }, ut = {
147
+ }, at = {
147
148
  name: "ModelEntryDoorGuidePlugin",
148
149
  version: 0
149
150
  };
150
151
  export {
151
- dt as ModelEntryDoorGuidePlugin,
152
- dt as default,
153
- ut as modelEntryDoorGuidePluginServerParams
152
+ ut as ModelEntryDoorGuidePlugin,
153
+ ut as default,
154
+ at as modelEntryDoorGuidePluginServerParams
154
155
  };
@@ -57,6 +57,7 @@ import "../Sculpt/typings/style.js";
57
57
  import "../shared-utils/three/IObject3D.js";
58
58
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
59
59
  import "../shared-utils/three/applyObjectMatrixWorld.js";
60
+ import "../shared-utils/five/getFiveFromParentChain.js";
60
61
  import "../shared-utils/three/core/LineGeometry.js";
61
62
  import "../shared-utils/three/core/LineMaterial.js";
62
63
  import "../shared-utils/three/core/Line2.js";
@@ -80,6 +80,7 @@ import "../Sculpt/Meshes/Line.js";
80
80
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
81
81
  import "../shared-utils/three/applyObjectMatrixWorld.js";
82
82
  import "../shared-utils/util.js";
83
+ import "../shared-utils/five/getFiveFromParentChain.js";
83
84
  import "../shared-utils/three/core/LineGeometry.js";
84
85
  import "../shared-utils/three/core/LineMaterial.js";
85
86
  import "../shared-utils/three/core/Line2.js";
@@ -130,7 +131,7 @@ import "../shared-utils/math/rad2Deg.js";
130
131
  import "../components/AreaLabel/Assets/fontSize.js";
131
132
  import "../shared-utils/px2rem.js";
132
133
  import "../shared-utils/fontSize.js";
133
- class Ue extends H {
134
+ class Ye extends H {
134
135
  constructor(t, i) {
135
136
  var e, r;
136
137
  super(t);
@@ -641,5 +642,5 @@ class Ue extends H {
641
642
  }
642
643
  }
643
644
  export {
644
- Ue as Controller
645
+ Ye as Controller
645
646
  };
@@ -52,6 +52,7 @@ import "../Sculpt/typings/style.js";
52
52
  import "../shared-utils/three/IObject3D.js";
53
53
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
54
54
  import "../shared-utils/three/applyObjectMatrixWorld.js";
55
+ import "../shared-utils/five/getFiveFromParentChain.js";
55
56
  import "../shared-utils/three/core/LineGeometry.js";
56
57
  import "../shared-utils/three/core/LineMaterial.js";
57
58
  import "../shared-utils/three/core/Line2.js";
@@ -103,7 +104,7 @@ import "./item/prismItem.js";
103
104
  import "./item/polygonItem.js";
104
105
  import "../CruisePlugin/utils/sleep.js";
105
106
  import "../shared-utils/constants.js";
106
- const or = (...o) => new r(...o);
107
+ const rr = (...o) => new r(...o);
107
108
  export {
108
- or as ModelMakerPlugin
109
+ rr as ModelMakerPlugin
109
110
  };
@@ -54,6 +54,7 @@ import "../../Sculpt/typings/style.js";
54
54
  import "../../shared-utils/three/IObject3D.js";
55
55
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
56
56
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
57
+ import "../../shared-utils/five/getFiveFromParentChain.js";
57
58
  import "../../shared-utils/three/core/LineGeometry.js";
58
59
  import "../../shared-utils/three/core/LineMaterial.js";
59
60
  import "../../shared-utils/three/core/Line2.js";
@@ -69,7 +70,7 @@ import "../../shared-utils/five/getPosition.js";
69
70
  import "../../shared-utils/five/getRaycasterByNdcPosition.js";
70
71
  import "../../shared-utils/three/PointSelector/utils/contents.js";
71
72
  import "../../Sculpt/utils/three/rayOnLine.js";
72
- class _i extends n {
73
+ class Ii extends n {
73
74
  constructor(i) {
74
75
  var s, m;
75
76
  super();
@@ -121,5 +122,5 @@ class _i extends n {
121
122
  }
122
123
  }
123
124
  export {
124
- _i as ModelMakerBaseItem
125
+ Ii as ModelMakerBaseItem
125
126
  };
@@ -54,6 +54,7 @@ import "../../Sculpt/typings/style.js";
54
54
  import "../../shared-utils/three/IObject3D.js";
55
55
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
56
56
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
57
+ import "../../shared-utils/five/getFiveFromParentChain.js";
57
58
  import "../../shared-utils/three/core/LineGeometry.js";
58
59
  import "../../shared-utils/three/core/LineMaterial.js";
59
60
  import "../../shared-utils/three/core/Line2.js";
@@ -70,7 +71,7 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
70
71
  import "../../shared-utils/three/PointSelector/utils/contents.js";
71
72
  import "../../Sculpt/utils/three/rayOnLine.js";
72
73
  import "../../shared-utils/three/boundingBox.js";
73
- class xi extends s {
74
+ class Bi extends s {
74
75
  constructor(...t) {
75
76
  super(...t);
76
77
  r(this, "hideTag", () => {
@@ -95,5 +96,5 @@ class xi extends s {
95
96
  }
96
97
  }
97
98
  export {
98
- xi as ModelMakerBoxItem
99
+ Bi as ModelMakerBoxItem
99
100
  };
@@ -54,6 +54,7 @@ import "../../Sculpt/typings/style.js";
54
54
  import "../../shared-utils/three/IObject3D.js";
55
55
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
56
56
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
57
+ import "../../shared-utils/five/getFiveFromParentChain.js";
57
58
  import "../../shared-utils/three/core/LineGeometry.js";
58
59
  import "../../shared-utils/three/core/LineMaterial.js";
59
60
  import "../../shared-utils/three/core/Line2.js";
@@ -70,7 +71,7 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
70
71
  import "../../shared-utils/three/PointSelector/utils/contents.js";
71
72
  import "../../Sculpt/utils/three/rayOnLine.js";
72
73
  import "../../shared-utils/three/boundingBox.js";
73
- class wt extends a {
74
+ class Vt extends a {
74
75
  constructor(...t) {
75
76
  super(...t);
76
77
  p(this, "onPanoArrived", (t) => {
@@ -95,5 +96,5 @@ class wt extends a {
95
96
  }
96
97
  }
97
98
  export {
98
- wt as ModelMakerPolygonItem
99
+ Vt as ModelMakerPolygonItem
99
100
  };
@@ -62,6 +62,7 @@ import "../../shared-utils/three/IObject3D.js";
62
62
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
63
63
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
64
64
  import "../../shared-utils/util.js";
65
+ import "../../shared-utils/five/getFiveFromParentChain.js";
65
66
  import "../../shared-utils/three/core/LineGeometry.js";
66
67
  import "../../shared-utils/three/core/LineMaterial.js";
67
68
  import "../../shared-utils/three/core/Line2.js";
@@ -80,7 +81,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
80
81
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
81
82
  import "@realsee/five";
82
83
  import "../../shared-utils/three/addIfNotExists.js";
83
- class _o extends S {
84
+ class qo extends S {
84
85
  constructor(...o) {
85
86
  const r = o[0], p = C(r.model), m = new b.Vector3().lerpVectors(a(p, 0), a(p, 5), 0.5);
86
87
  super(h(n({}, r), { position: m }));
@@ -104,5 +105,5 @@ class _o extends S {
104
105
  }
105
106
  }
106
107
  export {
107
- _o as ModelMakerPrismItem
108
+ qo as ModelMakerPrismItem
108
109
  };
@@ -60,6 +60,7 @@ import "../shared-utils/three/IObject3D.js";
60
60
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
61
61
  import "../shared-utils/three/applyObjectMatrixWorld.js";
62
62
  import "../shared-utils/util.js";
63
+ import "../shared-utils/five/getFiveFromParentChain.js";
63
64
  import "../shared-utils/three/core/LineGeometry.js";
64
65
  import "@realsee/five/line";
65
66
  import "../shared-utils/three/core/LineMaterial.js";
@@ -86,7 +87,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
86
87
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
87
88
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
88
89
  import "../shared-utils/url/defaultUrls.js";
89
- const Ze = (s, { videoElement: g }) => {
90
+ const et = (s, { videoElement: g }) => {
90
91
  const e = {
91
92
  videoMeshes: [],
92
93
  videoTextureEnabled: !1,
@@ -229,6 +230,6 @@ const Ze = (s, { videoElement: g }) => {
229
230
  }), { enable: h, disable: l, load: L, dispose: V, state: e, css3DRenderPlugin: f };
230
231
  };
231
232
  export {
232
- Ze as ModelTVVideoPlugin,
233
- Ze as default
233
+ et as ModelTVVideoPlugin,
234
+ et as default
234
235
  };
@@ -1,5 +1,5 @@
1
1
  import { ModelTVVideoPlugin as r } from "./Plugin.js";
2
- import { DIRECTION as Mo } from "./typings.js";
2
+ import { DIRECTION as No } from "./typings.js";
3
3
  import "three";
4
4
  import "./utils/parseData.js";
5
5
  import "../CSS3DRenderPlugin/index.js";
@@ -44,6 +44,7 @@ import "../shared-utils/three/IObject3D.js";
44
44
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
45
45
  import "../shared-utils/three/applyObjectMatrixWorld.js";
46
46
  import "../shared-utils/util.js";
47
+ import "../shared-utils/five/getFiveFromParentChain.js";
47
48
  import "../shared-utils/three/core/LineGeometry.js";
48
49
  import "@realsee/five/line";
49
50
  import "../shared-utils/three/core/LineMaterial.js";
@@ -72,7 +73,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
72
73
  import "../shared-utils/url/defaultUrls.js";
73
74
  import "../PanoTagPlugin/Assets/Icon.js";
74
75
  export {
75
- Mo as DIRECTION,
76
+ No as DIRECTION,
76
77
  r as ModelTVVideoPlugin,
77
78
  r as default
78
79
  };
@@ -28,7 +28,7 @@ var V = (e, o, r) => new Promise((s, f) => {
28
28
  import { Camera as Q, loadAt3d as Z } from "@realsee/five";
29
29
  import { Subscribe as $ } from "../shared-utils/Subscribe.js";
30
30
  import "../shared-utils/tag.js";
31
- import * as m from "three";
31
+ import * as a from "three";
32
32
  import "../vendor/hammerjs/hammer.js";
33
33
  import "../shared-utils/three/PointSelector/index.js";
34
34
  import "../shared-utils/three/CSS3DRenderer/index.js";
@@ -76,6 +76,7 @@ import "../shared-utils/three/IObject3D.js";
76
76
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
77
77
  import "../shared-utils/three/applyObjectMatrixWorld.js";
78
78
  import "../shared-utils/util.js";
79
+ import "../shared-utils/five/getFiveFromParentChain.js";
79
80
  import "../shared-utils/three/core/LineGeometry.js";
80
81
  import "../shared-utils/three/core/LineMaterial.js";
81
82
  import "../shared-utils/three/core/Line2.js";
@@ -92,7 +93,7 @@ import "../vendor/animejs/lib/anime.es.js";
92
93
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
93
94
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
94
95
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
95
- const ue = (e, o) => {
96
+ const fe = (e, o) => {
96
97
  var N, R;
97
98
  const r = new $();
98
99
  let s = (R = (N = o == null ? void 0 : o.initialState) == null ? void 0 : N.enabled) != null ? R : !0, f = !1, h = !0, i = null;
@@ -101,19 +102,19 @@ const ue = (e, o) => {
101
102
  lockedPanoIndex: null,
102
103
  lockedLatitude: null,
103
104
  lockedLongitude: null
104
- }), o == null ? void 0 : o.config), d = new m.Scene(), c = new Q(60);
105
+ }), o == null ? void 0 : o.config), d = new a.Scene(), c = new Q(60);
105
106
  c.near = 1, c.updateTime(Date.now());
106
- let u = new m.Object3D(), k, b;
107
+ let u = new a.Object3D(), k, b;
107
108
  {
108
- const t = new m.DirectionalLight(16777215, 0.5);
109
- t.position.copy(new m.Vector3(1, 1, 1)), d.add(t);
109
+ const t = new a.DirectionalLight(16777215, 0.5);
110
+ t.position.copy(new a.Vector3(1, 1, 1)), d.add(t);
110
111
  }
111
112
  {
112
- const t = new m.DirectionalLight(16777215, 0.3);
113
+ const t = new a.DirectionalLight(16777215, 0.3);
113
114
  d.add(t);
114
115
  }
115
116
  {
116
- const t = new m.AmbientLight(16777215, 0.3);
117
+ const t = new a.AmbientLight(16777215, 0.3);
117
118
  d.add(t);
118
119
  }
119
120
  d.add(u);
@@ -134,21 +135,21 @@ const ue = (e, o) => {
134
135
  const D = X.scene;
135
136
  return D.rotateX(-Math.PI / 2), D;
136
137
  });
137
- const a = v(u), p = new m.Box3();
138
- p.expandByPoint(new m.Vector3(a.min.x, a.min.z, -a.min.y)), p.expandByPoint(new m.Vector3(a.max.x, a.max.z, -a.max.y));
138
+ const m = v(u), p = new a.Box3();
139
+ p.expandByPoint(new a.Vector3(m.min.x, m.min.z, -m.min.y)), p.expandByPoint(new a.Vector3(m.max.x, m.max.z, -m.max.y));
139
140
  const B = Math.pow(
140
141
  Math.pow(p.max.x - p.min.x + 1, 2) + Math.pow(p.max.y - p.min.y + 1, 2) + Math.pow(p.max.z - p.min.z + 1, 2),
141
142
  1 / 2
142
143
  );
143
144
  let L = B / 2 / Math.tan(Math.PI * c.fov / 360);
144
- c.aspect < 1 && (L = k / c.aspect), k = isNaN(L) ? B : L, b = p.getCenter(new m.Vector3()), d.add(u), f = !0, r.emit("loaded"), g();
145
+ c.aspect < 1 && (L = k / c.aspect), k = isNaN(L) ? B : L, b = p.getCenter(new a.Vector3()), d.add(u), f = !0, r.emit("loaded"), g();
145
146
  });
146
147
  s && y();
147
148
  const j = () => {
148
149
  if (e.renderer)
149
- return i || (i = new m.WebGLRenderer({ antialias: !1, alpha: !0 }), i.setPixelRatio(e.renderer.getPixelRatio()), i.outputEncoding = m.sRGBEncoding, i.setClearColor(1579548, 0), i.autoClear = !0), i;
150
+ return i || (i = new a.WebGLRenderer({ antialias: !1, alpha: !0 }), i.setPixelRatio(e.renderer.getPixelRatio()), i.outputEncoding = a.sRGBEncoding, i.setClearColor(1579548, 0), i.autoClear = !0), i;
150
151
  }, F = () => {
151
- d.remove(u), u = new m.Object3D(), d.add(u), f = !1, r.emit("willLoad"), g();
152
+ d.remove(u), u = new a.Object3D(), d.add(u), f = !1, r.emit("willLoad"), g();
152
153
  }, O = () => {
153
154
  s && (f || y());
154
155
  }, T = () => {
@@ -161,15 +162,15 @@ const ue = (e, o) => {
161
162
  if (!l)
162
163
  return;
163
164
  t.appendChild(l.domElement), P(w);
164
- const a = window.getComputedStyle(t).position;
165
- a !== "relative" && a !== "absolute" && a !== "fixed" && a !== "sticky" && (t.style.position = "relative");
165
+ const m = window.getComputedStyle(t).position;
166
+ m !== "relative" && m !== "absolute" && m !== "fixed" && m !== "sticky" && (t.style.position = "relative");
166
167
  }, P = (t = {}) => {
167
168
  if (!i)
168
169
  return;
169
170
  const l = i.domElement.parentNode;
170
171
  if (l != null && l.nodeName) {
171
- const { width: a = l.offsetWidth, height: p = l.offsetHeight } = t;
172
- i.setSize(a, p), c.aspect = a / p, c.updateProjectionMatrix();
172
+ const { width: m = l.offsetWidth, height: p = l.offsetHeight } = t;
173
+ i.setSize(m, p), c.aspect = m / p, c.updateProjectionMatrix();
173
174
  }
174
175
  g();
175
176
  }, g = () => {
@@ -189,6 +190,6 @@ const ue = (e, o) => {
189
190
  return e.on("loaded", O), e.on("willLoad", F), e.on("cameraDirectionUpdate", g), e.on("dispose", H), e.on("renderFrame", M), e.on("cameraPositionUpdate", g), { appendTo: G, refresh: P, changeConfigs: _, enable: T, disable: W, getCurrentState: q, hooks: r };
190
191
  };
191
192
  export {
192
- ue as ModelViewPlugin,
193
- ue as default
193
+ fe as ModelViewPlugin,
194
+ fe as default
194
195
  };
@@ -51,6 +51,7 @@ import "../Sculpt/typings/style.js";
51
51
  import "../shared-utils/three/IObject3D.js";
52
52
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
53
53
  import "../shared-utils/three/applyObjectMatrixWorld.js";
54
+ import "../shared-utils/five/getFiveFromParentChain.js";
54
55
  import "../shared-utils/three/core/LineGeometry.js";
55
56
  import "../shared-utils/three/core/LineMaterial.js";
56
57
  import "../shared-utils/three/core/Line2.js";
@@ -91,6 +91,7 @@ import "../Sculpt/typings/style.js";
91
91
  import "../shared-utils/three/IObject3D.js";
92
92
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
93
93
  import "../shared-utils/three/applyObjectMatrixWorld.js";
94
+ import "../shared-utils/five/getFiveFromParentChain.js";
94
95
  import "../shared-utils/three/core/LineGeometry.js";
95
96
  import "../shared-utils/three/core/LineMaterial.js";
96
97
  import "../shared-utils/three/core/Line2.js";
@@ -140,7 +141,7 @@ const M = "Object3DHelperPlugin", E = M, ee = () => {
140
141
  }, re = () => {
141
142
  console.error(`${E} is disabled`);
142
143
  };
143
- class or extends _ {
144
+ class ir extends _ {
144
145
  constructor(e) {
145
146
  super(e);
146
147
  f(this, "name", M);
@@ -348,6 +349,6 @@ class or extends _ {
348
349
  }
349
350
  }
350
351
  export {
351
- or as Object3DHelperController,
352
+ ir as Object3DHelperController,
352
353
  E as PLUGIN
353
354
  };
@@ -1,5 +1,5 @@
1
1
  import { Object3DHelperController as o } from "./Controller.js";
2
- import { PLUGIN as io } from "./Controller.js";
2
+ import { PLUGIN as eo } from "./Controller.js";
3
3
  import "../base/BasePlugin.js";
4
4
  import "../shared-utils/Subscribe.js";
5
5
  import "../shared-utils/tag.js";
@@ -52,6 +52,7 @@ import "../Sculpt/typings/style.js";
52
52
  import "../shared-utils/three/IObject3D.js";
53
53
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
54
54
  import "../shared-utils/three/applyObjectMatrixWorld.js";
55
+ import "../shared-utils/five/getFiveFromParentChain.js";
55
56
  import "../shared-utils/three/core/LineGeometry.js";
56
57
  import "../shared-utils/three/core/LineMaterial.js";
57
58
  import "../shared-utils/three/core/Line2.js";
@@ -107,10 +108,10 @@ import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
107
108
  import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
108
109
  import "../shared-utils/three/getNormal.js";
109
110
  import "../shared-utils/threex/domevents/index.js";
110
- const to = (r) => new o(r);
111
+ const po = (r) => new o(r);
111
112
  export {
112
113
  o as Object3DHelperController,
113
- to as Object3DHelperPlugin,
114
- io as PLUGIN,
115
- to as default
114
+ po as Object3DHelperPlugin,
115
+ eo as PLUGIN,
116
+ po as default
116
117
  };
@@ -85,6 +85,7 @@ import "../Sculpt/typings/style.js";
85
85
  import "../shared-utils/three/IObject3D.js";
86
86
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
87
87
  import "../shared-utils/three/applyObjectMatrixWorld.js";
88
+ import "../shared-utils/five/getFiveFromParentChain.js";
88
89
  import "../shared-utils/three/core/LineGeometry.js";
89
90
  import "../shared-utils/three/core/LineMaterial.js";
90
91
  import "../shared-utils/three/core/Line2.js";
@@ -103,7 +104,7 @@ import "./Assets/roomInfoIcon.js";
103
104
  import "../CSS3DRenderPlugin/Controller.js";
104
105
  import "../shared-utils/animationFrame/index.js";
105
106
  const M = { userAction: !0 };
106
- class tt extends F {
107
+ class ot extends F {
107
108
  constructor(e, t) {
108
109
  super(e, t);
109
110
  /**
@@ -358,5 +359,5 @@ class tt extends F {
358
359
  }
359
360
  }
360
361
  export {
361
- tt as PanoCompassController
362
+ ot as PanoCompassController
362
363
  };
@@ -53,6 +53,7 @@ import "../Sculpt/typings/style.js";
53
53
  import "../shared-utils/three/IObject3D.js";
54
54
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
55
55
  import "../shared-utils/three/applyObjectMatrixWorld.js";
56
+ import "../shared-utils/five/getFiveFromParentChain.js";
56
57
  import "../shared-utils/three/core/LineGeometry.js";
57
58
  import "../shared-utils/three/core/LineMaterial.js";
58
59
  import "../shared-utils/three/core/Line2.js";
@@ -75,8 +76,8 @@ import "../CSS3DRenderPlugin/index.js";
75
76
  import "../CSS3DRenderPlugin/Controller.js";
76
77
  import "../shared-utils/animationFrame/BetterTween.js";
77
78
  import "../shared-utils/animationFrame/index.js";
78
- const zo = (o, r) => new t(o, r);
79
+ const Ao = (o, r) => new t(o, r);
79
80
  export {
80
- zo as PanoCompassPlugin,
81
- zo as default
81
+ Ao as PanoCompassPlugin,
82
+ Ao as default
82
83
  };