@realsee/dnalogel 3.45.0 → 3.46.0

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 (96) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/Sculpt/Meshes/Line.d.ts +6 -1
  3. package/dist/index.cjs.js +53 -53
  4. package/dist/index.js +29609 -29576
  5. package/dist/index.umd.js +49 -49
  6. package/dist/shared-utils/tag.d.ts +6 -3
  7. package/libs/AreaMakerPlugin/Controller.js +150 -78
  8. package/libs/AreaMakerPlugin/index.js +76 -4
  9. package/libs/AreaMakerPlugin/utils/Item.js +190 -111
  10. package/libs/CSS3DRenderPlugin/Controller.js +89 -29
  11. package/libs/CSS3DRenderPlugin/index.js +75 -15
  12. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +132 -58
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +181 -116
  14. package/libs/CruisePlugin/BaseController.js +121 -49
  15. package/libs/CruisePlugin/Move.js +73 -21
  16. package/libs/CruisePlugin/Work.js +98 -46
  17. package/libs/CruisePlugin/index.js +79 -27
  18. package/libs/CurrentPanoImagePlugin/Controller.js +176 -104
  19. package/libs/CurrentPanoImagePlugin/index.js +76 -4
  20. package/libs/GuideLinePlugin/Controller.js +82 -30
  21. package/libs/GuideLinePlugin/GuideLineItem.js +82 -30
  22. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  23. package/libs/GuideLinePlugin/GuideLineModeItem.js +81 -29
  24. package/libs/GuideLinePlugin/index.js +79 -27
  25. package/libs/ModelMakerPlugin/Controller.js +139 -82
  26. package/libs/ModelMakerPlugin/index.js +75 -18
  27. package/libs/ModelTVVideoPlugin/Plugin.js +117 -57
  28. package/libs/ModelTVVideoPlugin/index.js +68 -8
  29. package/libs/Object3DHelperPlugin/Controller.js +54 -31
  30. package/libs/Object3DHelperPlugin/index.js +35 -13
  31. package/libs/PanoCompassPlugin/Controller.js +97 -42
  32. package/libs/PanoCompassPlugin/index.js +71 -16
  33. package/libs/PanoDoorLabelPlugin/BaseController.js +98 -26
  34. package/libs/PanoDoorLabelPlugin/Controller.js +187 -115
  35. package/libs/PanoDoorLabelPlugin/index.js +76 -4
  36. package/libs/PanoMeasurePlugin/Components/Controller0.js +140 -88
  37. package/libs/PanoMeasurePlugin/Components/Controller1.js +178 -126
  38. package/libs/PanoMeasurePlugin/Controller/EditController.js +124 -72
  39. package/libs/PanoMeasurePlugin/Controller/WatchController.js +167 -92
  40. package/libs/PanoMeasurePlugin/Controller/index.js +109 -64
  41. package/libs/PanoMeasurePlugin/Model/area.js +114 -38
  42. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +78 -0
  43. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +97 -45
  44. package/libs/PanoMeasurePlugin/index.js +76 -31
  45. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +98 -20
  46. package/libs/PanoSpatialTagPlugin/Plugin.js +210 -150
  47. package/libs/PanoSpatialTagPlugin/index.js +66 -6
  48. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +133 -53
  49. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +295 -216
  50. package/libs/PanoTagPlugin/Components/Tag/index.js +257 -187
  51. package/libs/PanoTagPlugin/Components/TagContainer.js +157 -87
  52. package/libs/PanoTagPlugin/Components/TagItem.js +144 -74
  53. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +73 -3
  54. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +109 -39
  55. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +105 -35
  56. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +113 -43
  57. package/libs/PanoTagPlugin/controller/TagRender.js +132 -80
  58. package/libs/PanoTagPlugin/controller/TagUtil.js +136 -84
  59. package/libs/PanoTagPlugin/controller/index.js +113 -61
  60. package/libs/PanoTagPlugin/index.js +89 -37
  61. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +121 -41
  62. package/libs/PanoVideoPlugin/Controller.js +137 -65
  63. package/libs/PanoVideoPlugin/VideoMeshController.js +149 -69
  64. package/libs/PanoVideoPlugin/index.js +82 -10
  65. package/libs/PipelinePlugin/Controller.js +199 -128
  66. package/libs/PipelinePlugin/index.js +76 -5
  67. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +102 -22
  68. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +95 -15
  69. package/libs/PipelinePlugin/utils/Objects/Pipe.js +136 -56
  70. package/libs/Sculpt/Meshes/Box.js +6 -5
  71. package/libs/Sculpt/Meshes/Cylinder.js +7 -6
  72. package/libs/Sculpt/Meshes/Line.d.ts +6 -1
  73. package/libs/Sculpt/Meshes/Line.js +76 -56
  74. package/libs/Sculpt/Meshes/Point.js +6 -5
  75. package/libs/Sculpt/Meshes/Polyline.js +5 -4
  76. package/libs/Sculpt/Meshes/Rectangle.js +3 -2
  77. package/libs/Sculpt/Objects/Line/Editor.js +11 -10
  78. package/libs/Sculpt/utils/three/ColoredMesh.js +14 -13
  79. package/libs/base/BasePlugin.js +14 -13
  80. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +128 -59
  81. package/libs/floorplan/MapviewFloorplanPlugin/index.js +75 -6
  82. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +129 -59
  83. package/libs/floorplan/ModelFloorplanPlugin/index.js +75 -5
  84. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +158 -86
  85. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +76 -4
  86. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +151 -81
  87. package/libs/floorplan/TopviewFloorplanPlugin/index.js +75 -5
  88. package/libs/floorplan/index.js +1 -0
  89. package/libs/index.js +67 -67
  90. package/libs/shared-utils/five/index.js +3 -2
  91. package/libs/shared-utils/five/lookObject.js +3 -2
  92. package/libs/shared-utils/logger.js +1 -1
  93. package/libs/shared-utils/tag.d.ts +6 -3
  94. package/libs/shared-utils/tag.js +38 -24
  95. package/libs/shared-utils/three/index.js +1 -0
  96. package/package.json +1 -1
@@ -1,37 +1,37 @@
1
- var m = Object.defineProperty, w = Object.defineProperties;
1
+ var g = Object.defineProperty, w = Object.defineProperties;
2
2
  var v = Object.getOwnPropertyDescriptors;
3
- var b = Object.getOwnPropertySymbols;
3
+ var f = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var u = (r, i, t) => i in r ? m(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
6
- for (var t in i || (i = {}))
7
- A.call(i, t) && u(r, t, i[t]);
8
- if (b)
9
- for (var t of b(i))
10
- S.call(i, t) && u(r, t, i[t]);
11
- return r;
12
- }, f = (r, i) => w(r, v(i));
13
- var o = (r, i, t) => (u(r, typeof i != "symbol" ? i + "" : i, t), t);
14
- var c = (r, i, t) => new Promise((e, s) => {
15
- var a = (n) => {
5
+ var c = (o, e, t) => e in o ? g(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, n = (o, e) => {
6
+ for (var t in e || (e = {}))
7
+ A.call(e, t) && c(o, t, e[t]);
8
+ if (f)
9
+ for (var t of f(e))
10
+ S.call(e, t) && c(o, t, e[t]);
11
+ return o;
12
+ }, u = (o, e) => w(o, v(e));
13
+ var s = (o, e, t) => (c(o, typeof e != "symbol" ? e + "" : e, t), t);
14
+ var l = (o, e, t) => new Promise((i, r) => {
15
+ var p = (h) => {
16
16
  try {
17
- d(t.next(n));
18
- } catch (l) {
19
- s(l);
17
+ m(t.next(h));
18
+ } catch (d) {
19
+ r(d);
20
20
  }
21
- }, h = (n) => {
21
+ }, a = (h) => {
22
22
  try {
23
- d(t.throw(n));
24
- } catch (l) {
25
- s(l);
23
+ m(t.throw(h));
24
+ } catch (d) {
25
+ r(d);
26
26
  }
27
- }, d = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(a, h);
28
- d((t = t.apply(r, i)).next());
27
+ }, m = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(p, a);
28
+ m((t = t.apply(o, e)).next());
29
29
  });
30
30
  import _ from "./Components/Main.js";
31
31
  import { equal as y } from "../../shared-utils/equal.js";
32
32
  import { CAMERA_IMAGE as D } from "../Assets/camera.js";
33
33
  import { Controller as O } from "../../base/BasePluginWithData.js";
34
- import { formatData as g, formatExtraObjects as x } from "../utils/formatData.js";
34
+ import { formatData as b, formatExtraObjects as x } from "../utils/formatData.js";
35
35
  import "../../vendor/svelte/internal/index.js";
36
36
  import "./Components/Camera.js";
37
37
  import "../../shared-utils/throttle.js";
@@ -52,149 +52,221 @@ import "three";
52
52
  import "hammerjs";
53
53
  import "three/examples/jsm/renderers/CSS3DRenderer";
54
54
  import "@realsee/five/line";
55
+ import "../../Sculpt/utils/Modules/Global.js";
56
+ import "../../Sculpt/utils/Modules/Cursor.js";
57
+ import "../../Object3DHelperPlugin/Controller.js";
55
58
  import "../../shared-utils/three/THREESphere.js";
59
+ import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
60
+ import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
61
+ import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
62
+ import "../../shared-utils/three/IObject3D.js";
63
+ import "../../shared-utils/three/boundingBox.js";
64
+ import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
65
+ import "../../shared-utils/Object3DHelper/utils/direction.js";
66
+ import "../../shared-utils/Object3DHelper/Constants/color.js";
67
+ import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
68
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
69
+ import "../../shared-utils/positionToVector3.js";
70
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
71
+ import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
72
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
73
+ import "../../CSS3DRenderPlugin/utils/even.js";
74
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
75
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
76
+ import "../../shared-utils/three/centerPoint.js";
77
+ import "../../shared-utils/three/getObjectVisible.js";
56
78
  import "animejs";
79
+ import "../../shared-utils/isNil.js";
80
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
57
81
  import "../../shared-utils/Utils/FiveUtil.js";
58
82
  import "../../shared-utils/Utils/BaseUtil.js";
59
83
  import "../../shared-utils/Utils/WorkUtil.js";
60
84
  import "../../shared-utils/five/transformPosition.js";
61
85
  import "../../shared-utils/five/getFiveModel.js";
62
86
  import "../../shared-utils/url/absoluteUrl.js";
63
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
87
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
88
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
89
+ import "../../shared-utils/util.js";
90
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
91
+ import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
92
+ import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
93
+ import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
94
+ import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
95
+ import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
96
+ import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
97
+ import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
98
+ import "../../shared-utils/Object3DHelper/Base/BaseController.js";
99
+ import "../../shared-utils/threex/domevents/index.js";
100
+ import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
101
+ import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
102
+ import "../../Sculpt/utils/three/rayOnLine.js";
103
+ import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
104
+ import "../../shared-utils/Object3DHelper/index.js";
105
+ import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
106
+ import "../../shared-utils/math/rad2Deg.js";
107
+ import "../../shared-utils/math/deg2Rad.js";
108
+ import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
109
+ import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
110
+ import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
111
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
112
+ import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
113
+ import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
114
+ import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
115
+ import "../../shared-utils/five/fiveModelLoad.js";
116
+ import "../../shared-utils/five/FiveDomEvents.js";
117
+ import "../../shared-utils/five/calculateThreeMouse.js";
118
+ import "../../shared-utils/three/THREERaycaster.js";
119
+ import "../../shared-utils/three/PointSelector/index.js";
120
+ import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
121
+ import "../../shared-utils/three/Magnifier.js";
122
+ import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
123
+ import "../../shared-utils/three/Assets/index.js";
124
+ import "../../shared-utils/three/PointSelector/utils/html.js";
125
+ import "../../shared-utils/five/initialCSS3DRender.js";
126
+ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
127
+ import "../../Sculpt/Meshes/Line.js";
128
+ import "../../Sculpt/typings/style.js";
129
+ import "../../shared-utils/five/FiveLine.js";
130
+ import "../../shared-utils/tag.js";
131
+ import "../../shared-utils/five/vector3ToScreen.js";
132
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
133
+ import "../../shared-utils/isTouchDevice.js";
134
+ import "../../shared-utils/five/getPosition.js";
135
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
64
136
  import "../Assets/floorplanExtraObject.js";
65
- class pt extends O {
66
- constructor(t, e) {
137
+ class ki extends O {
138
+ constructor(t, i) {
67
139
  super(t);
68
140
  // =============== public properties =================
69
- o(this, "name", "panoFloorplanRadarPlugin");
70
- o(this, "state");
141
+ s(this, "name", "panoFloorplanRadarPlugin");
142
+ s(this, "state");
71
143
  // =============== protected properties =================
72
- o(this, "data");
144
+ s(this, "data");
73
145
  // =============== private properties =================
74
- o(this, "app");
75
- o(this, "wrapperSelector", "");
76
- o(this, "wrapper", null);
77
- o(this, "disposed", !1);
78
- o(this, "extraObjects", []);
79
- o(this, "highlightData", {});
80
- o(this, "dispose", () => {
146
+ s(this, "app");
147
+ s(this, "wrapperSelector", "");
148
+ s(this, "wrapper", null);
149
+ s(this, "disposed", !1);
150
+ s(this, "extraObjects", []);
151
+ s(this, "highlightData", {});
152
+ s(this, "dispose", () => {
81
153
  var t;
82
154
  this.disposed = !0, (t = this.app) == null || t.$destroy(), this.wrapper = null, this.wrapperSelector = "", this.hooks.emit("dispose");
83
155
  });
84
- o(this, "highlight", (t) => {
156
+ s(this, "highlight", (t) => {
85
157
  this.state.config.highlightEnable && (this.highlightData = t, this.render());
86
158
  });
87
- o(this, "unhighlight", () => {
159
+ s(this, "unhighlight", () => {
88
160
  this.highlightData = {}, this.render();
89
161
  });
90
- o(this, "_disable", (t) => {
91
- var s;
92
- const { userAction: e } = t;
93
- (s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: e });
162
+ s(this, "_disable", (t) => {
163
+ var r;
164
+ const { userAction: i } = t;
165
+ (r = this.app) == null || r.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: i });
94
166
  });
95
167
  this.five = t;
96
- const s = {
168
+ const r = {
97
169
  hoverEnable: !0,
98
170
  highlightEnable: !0,
99
171
  cameraImageUrl: D,
100
172
  missingFloorImageUrl: this.staticPrefix + "/release/web/saas/missing-floor.d687a5ed.png"
101
- }, a = p(p({}, s), e == null ? void 0 : e.configs);
102
- this.state = { enabled: !0, visible: !0, config: a }, e != null && e.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
173
+ }, p = n(n({}, r), i == null ? void 0 : i.configs);
174
+ this.state = { enabled: !0, visible: !0, config: p }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), t.once("dispose", this.dispose);
103
175
  }
104
- load(t, e, s = !0) {
105
- return c(this, null, function* () {
106
- function a(l) {
107
- return Object.prototype.hasOwnProperty.apply(l, ["version"]);
176
+ load(t, i, r = !0) {
177
+ return l(this, null, function* () {
178
+ function p(d) {
179
+ return Object.prototype.hasOwnProperty.apply(d, ["version"]);
108
180
  }
109
- const h = JSON.parse(JSON.stringify(t)), d = a(h) ? h.data : h, n = this.data;
110
- this.data = yield g(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), e && this.updateState(e, s), this.render();
181
+ const a = JSON.parse(JSON.stringify(t)), m = p(a) ? a.data : a, h = this.data;
182
+ this.data = yield b(m), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, h), i && this.updateState(i, r), this.render();
111
183
  });
112
184
  }
113
185
  show() {
114
- return c(this, arguments, function* (t = {}) {
186
+ return l(this, arguments, function* (t = {}) {
115
187
  if (this.state.visible)
116
188
  return;
117
- const e = t.userAction !== void 0 ? t.userAction : !0;
118
- this.updateState({ visible: !0 }, e), this._show({ userAction: e });
189
+ const i = t.userAction !== void 0 ? t.userAction : !0;
190
+ this.updateState({ visible: !0 }, i), this._show({ userAction: i });
119
191
  });
120
192
  }
121
193
  hide() {
122
- return c(this, arguments, function* (t = {}) {
194
+ return l(this, arguments, function* (t = {}) {
123
195
  if (!this.state.visible)
124
196
  return;
125
- const e = t.userAction !== void 0 ? t.userAction : !0;
126
- this.updateState({ visible: !1 }, e), this._hide({ userAction: e });
197
+ const i = t.userAction !== void 0 ? t.userAction : !0;
198
+ this.updateState({ visible: !1 }, i), this._hide({ userAction: i });
127
199
  });
128
200
  }
129
201
  enable(t = {}) {
130
202
  if (this.state.enabled)
131
203
  return;
132
- const e = t.userAction !== void 0 ? t.userAction : !0;
133
- this.updateState({ enabled: !0 }, t.userAction || e), this._enable({ userAction: e });
204
+ const i = t.userAction !== void 0 ? t.userAction : !0;
205
+ this.updateState({ enabled: !0 }, t.userAction || i), this._enable({ userAction: i });
134
206
  }
135
207
  disable(t = {}) {
136
208
  if (!this.state.enabled)
137
209
  return;
138
- const e = t.userAction !== void 0 ? t.userAction : !0;
139
- this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
210
+ const i = t.userAction !== void 0 ? t.userAction : !0;
211
+ this.updateState({ enabled: !1 }, t.userAction || i), this._disable({ userAction: i });
140
212
  }
141
213
  /** 更改插件 State */
142
- setState(t, e = {}) {
143
- const s = this.state, a = e.userAction !== void 0 ? e.userAction : !0;
144
- if (this.updateState(t, a), t.enabled !== void 0 && s.enabled !== t.enabled) {
145
- const h = { userAction: a };
146
- t.enabled ? this._enable(h) : this._disable(h);
214
+ setState(t, i = {}) {
215
+ const r = this.state, p = i.userAction !== void 0 ? i.userAction : !0;
216
+ if (this.updateState(t, p), t.enabled !== void 0 && r.enabled !== t.enabled) {
217
+ const a = { userAction: p };
218
+ t.enabled ? this._enable(a) : this._disable(a);
147
219
  }
148
- if (t.visible !== void 0 && s.visible !== t.visible) {
149
- const h = { userAction: a };
150
- t.visible ? this._show(h) : this._hide(h);
220
+ if (t.visible !== void 0 && r.visible !== t.visible) {
221
+ const a = { userAction: p };
222
+ t.visible ? this._show(a) : this._hide(a);
151
223
  }
152
224
  }
153
225
  /** 把插件的渲染DOM插入到对应的容器中去 */
154
226
  appendTo(t) {
155
227
  this.wrapper !== t && this.app && (this.app.$destroy(), this.app = void 0), this.wrapper = t, this.render();
156
228
  }
157
- changeConfigs(t, e = !0) {
158
- this.setState({ config: t }, { userAction: e }), this.render();
229
+ changeConfigs(t, i = !0) {
230
+ this.setState({ config: t }, { userAction: i }), this.render();
159
231
  }
160
232
  setExtraObjectsWith3DPositions(t) {
161
233
  this.data && (this.extraObjects = x(t, this.five, this.data), this.render());
162
234
  }
163
235
  formatData(t) {
164
- return c(this, null, function* () {
165
- return yield g(t.data);
236
+ return l(this, null, function* () {
237
+ return yield b(t.data);
166
238
  });
167
239
  }
168
240
  _enable(t) {
169
- const { userAction: e } = t;
170
- this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e });
241
+ const { userAction: i } = t;
242
+ this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i });
171
243
  }
172
244
  _show(t) {
173
245
  if (this.disposed || !this.state.enabled)
174
246
  return;
175
- const { userAction: e } = t;
176
- this.hooks.emit("show", { userAction: e }), this.render();
247
+ const { userAction: i } = t;
248
+ this.hooks.emit("show", { userAction: i }), this.render();
177
249
  }
178
250
  _hide(t) {
179
251
  if (this.disposed || !this.state.enabled)
180
252
  return;
181
- const { userAction: e } = t;
182
- this.hooks.emit("hide", { userAction: e }), this.render();
253
+ const { userAction: i } = t;
254
+ this.hooks.emit("hide", { userAction: i }), this.render();
183
255
  }
184
- updateState(t, e) {
185
- const s = this.state, a = t.config ? p(p({}, s.config), t.config) : s.config;
186
- this.state = f(p(p({}, this.state), t), { config: a }), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
256
+ updateState(t, i) {
257
+ const r = this.state, p = t.config ? n(n({}, r.config), t.config) : r.config;
258
+ this.state = u(n(n({}, this.state), t), { config: p }), !y(this.state, r, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: r, userAction: i });
187
259
  }
188
260
  render() {
189
261
  if (this.disposed || !this.state.enabled)
190
262
  return;
191
263
  if (!this.wrapper && this.wrapperSelector) {
192
- const e = document.querySelector(this.wrapperSelector);
193
- this.wrapper = e;
264
+ const i = document.querySelector(this.wrapperSelector);
265
+ this.wrapper = i;
194
266
  }
195
267
  if (!this.data || !this.wrapper)
196
268
  return;
197
- const t = f(p({}, this.state.config), {
269
+ const t = u(n({}, this.state.config), {
198
270
  five: this.five,
199
271
  floorplanData: this.data,
200
272
  visible: this.state.visible,
@@ -205,5 +277,5 @@ class pt extends O {
205
277
  }
206
278
  }
207
279
  export {
208
- pt as Controller
280
+ ki as Controller
209
281
  };
@@ -23,19 +23,91 @@ import "three";
23
23
  import "hammerjs";
24
24
  import "three/examples/jsm/renderers/CSS3DRenderer";
25
25
  import "@realsee/five/line";
26
+ import "../../Sculpt/utils/Modules/Global.js";
27
+ import "../../Sculpt/utils/Modules/Cursor.js";
28
+ import "../../Object3DHelperPlugin/Controller.js";
26
29
  import "../../shared-utils/three/THREESphere.js";
30
+ import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
31
+ import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
32
+ import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
33
+ import "../../shared-utils/three/IObject3D.js";
34
+ import "../../shared-utils/three/boundingBox.js";
35
+ import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
36
+ import "../../shared-utils/Object3DHelper/utils/direction.js";
37
+ import "../../shared-utils/Object3DHelper/Constants/color.js";
38
+ import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
39
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
40
+ import "../../shared-utils/positionToVector3.js";
41
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
42
+ import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
43
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
44
+ import "../../CSS3DRenderPlugin/utils/even.js";
45
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
46
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
47
+ import "../../shared-utils/three/centerPoint.js";
48
+ import "../../shared-utils/three/getObjectVisible.js";
27
49
  import "animejs";
50
+ import "../../shared-utils/isNil.js";
51
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
28
52
  import "../../shared-utils/Utils/FiveUtil.js";
29
53
  import "../../shared-utils/Utils/BaseUtil.js";
30
54
  import "../../shared-utils/Utils/WorkUtil.js";
31
55
  import "../../shared-utils/five/transformPosition.js";
32
56
  import "../../shared-utils/five/getFiveModel.js";
33
57
  import "../../shared-utils/url/absoluteUrl.js";
34
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
58
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
59
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
60
+ import "../../shared-utils/util.js";
61
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
62
+ import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
63
+ import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
64
+ import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
65
+ import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
66
+ import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
67
+ import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
68
+ import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
69
+ import "../../shared-utils/Object3DHelper/Base/BaseController.js";
70
+ import "../../shared-utils/threex/domevents/index.js";
71
+ import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
72
+ import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
73
+ import "../../Sculpt/utils/three/rayOnLine.js";
74
+ import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
75
+ import "../../shared-utils/Object3DHelper/index.js";
76
+ import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
77
+ import "../../shared-utils/math/rad2Deg.js";
78
+ import "../../shared-utils/math/deg2Rad.js";
79
+ import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
80
+ import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
81
+ import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
82
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
83
+ import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
84
+ import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
85
+ import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
86
+ import "../../shared-utils/five/fiveModelLoad.js";
87
+ import "../../shared-utils/five/FiveDomEvents.js";
88
+ import "../../shared-utils/five/calculateThreeMouse.js";
89
+ import "../../shared-utils/three/THREERaycaster.js";
90
+ import "../../shared-utils/three/PointSelector/index.js";
91
+ import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
92
+ import "../../shared-utils/three/Magnifier.js";
93
+ import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
94
+ import "../../shared-utils/three/Assets/index.js";
95
+ import "../../shared-utils/three/PointSelector/utils/html.js";
96
+ import "../../shared-utils/five/initialCSS3DRender.js";
97
+ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
98
+ import "../../Sculpt/Meshes/Line.js";
99
+ import "../../Sculpt/typings/style.js";
100
+ import "../../shared-utils/five/FiveLine.js";
101
+ import "../../shared-utils/tag.js";
102
+ import "../../shared-utils/five/vector3ToScreen.js";
103
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
104
+ import "../../shared-utils/isTouchDevice.js";
105
+ import "../../shared-utils/five/getPosition.js";
106
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
35
107
  import "../utils/formatData.js";
36
108
  import "../Assets/floorplanExtraObject.js";
37
- const L = (o, r) => new t(o, r);
109
+ const ir = (o, r) => new t(o, r);
38
110
  export {
39
- L as PanoFloorplanRadarPlugin,
40
- L as default
111
+ ir as PanoFloorplanRadarPlugin,
112
+ ir as default
41
113
  };