@realsee/dnalogel 3.45.0 → 3.46.1

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 (100) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/Sculpt/Meshes/Line.d.ts +6 -1
  3. package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
  4. package/dist/index.cjs.js +53 -53
  5. package/dist/index.js +29600 -29557
  6. package/dist/index.umd.js +49 -49
  7. package/dist/shared-utils/tag.d.ts +6 -3
  8. package/libs/AreaMakerPlugin/Controller.js +151 -78
  9. package/libs/AreaMakerPlugin/index.js +77 -4
  10. package/libs/AreaMakerPlugin/utils/Item.js +191 -111
  11. package/libs/CSS3DRenderPlugin/Controller.js +90 -29
  12. package/libs/CSS3DRenderPlugin/index.js +76 -15
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +133 -58
  14. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +182 -116
  15. package/libs/CruisePlugin/BaseController.js +122 -49
  16. package/libs/CruisePlugin/Move.js +74 -21
  17. package/libs/CruisePlugin/Work.js +99 -46
  18. package/libs/CruisePlugin/index.js +80 -27
  19. package/libs/CurrentPanoImagePlugin/Controller.js +177 -104
  20. package/libs/CurrentPanoImagePlugin/index.js +77 -4
  21. package/libs/GuideLinePlugin/Controller.js +79 -26
  22. package/libs/GuideLinePlugin/GuideLineItem.js +83 -30
  23. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  24. package/libs/GuideLinePlugin/GuideLineModeItem.js +82 -29
  25. package/libs/GuideLinePlugin/index.js +80 -27
  26. package/libs/ModelMakerPlugin/Controller.js +140 -82
  27. package/libs/ModelMakerPlugin/index.js +76 -18
  28. package/libs/ModelTVVideoPlugin/Plugin.js +118 -57
  29. package/libs/ModelTVVideoPlugin/index.js +69 -8
  30. package/libs/Object3DHelperPlugin/Controller.js +67 -43
  31. package/libs/Object3DHelperPlugin/index.js +36 -13
  32. package/libs/PanoCompassPlugin/Controller.js +98 -42
  33. package/libs/PanoCompassPlugin/index.js +72 -16
  34. package/libs/PanoDoorLabelPlugin/BaseController.js +99 -26
  35. package/libs/PanoDoorLabelPlugin/Controller.js +188 -115
  36. package/libs/PanoDoorLabelPlugin/index.js +77 -4
  37. package/libs/PanoMeasurePlugin/Components/Controller0.js +141 -88
  38. package/libs/PanoMeasurePlugin/Components/Controller1.js +179 -126
  39. package/libs/PanoMeasurePlugin/Controller/EditController.js +125 -72
  40. package/libs/PanoMeasurePlugin/Controller/WatchController.js +168 -92
  41. package/libs/PanoMeasurePlugin/Controller/index.js +110 -64
  42. package/libs/PanoMeasurePlugin/Model/area.js +115 -38
  43. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +79 -0
  44. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +98 -45
  45. package/libs/PanoMeasurePlugin/index.js +77 -31
  46. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +99 -20
  47. package/libs/PanoSpatialTagPlugin/Plugin.js +211 -150
  48. package/libs/PanoSpatialTagPlugin/index.js +67 -6
  49. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +149 -68
  50. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +296 -216
  51. package/libs/PanoTagPlugin/Components/Tag/index.js +258 -187
  52. package/libs/PanoTagPlugin/Components/TagContainer.js +158 -87
  53. package/libs/PanoTagPlugin/Components/TagItem.js +145 -74
  54. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +133 -62
  55. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +110 -39
  56. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +106 -35
  57. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +114 -43
  58. package/libs/PanoTagPlugin/controller/TagRender.js +133 -80
  59. package/libs/PanoTagPlugin/controller/TagUtil.js +137 -84
  60. package/libs/PanoTagPlugin/controller/index.js +114 -61
  61. package/libs/PanoTagPlugin/index.js +90 -37
  62. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +122 -41
  63. package/libs/PanoVideoPlugin/Controller.js +138 -65
  64. package/libs/PanoVideoPlugin/VideoMeshController.js +150 -69
  65. package/libs/PanoVideoPlugin/index.js +83 -10
  66. package/libs/PipelinePlugin/Controller.js +200 -128
  67. package/libs/PipelinePlugin/index.js +77 -5
  68. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +103 -22
  69. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +96 -15
  70. package/libs/PipelinePlugin/utils/Objects/Pipe.js +137 -56
  71. package/libs/Sculpt/Meshes/Box.js +6 -5
  72. package/libs/Sculpt/Meshes/Cylinder.js +7 -6
  73. package/libs/Sculpt/Meshes/Line.d.ts +6 -1
  74. package/libs/Sculpt/Meshes/Line.js +80 -57
  75. package/libs/Sculpt/Meshes/Point.js +6 -5
  76. package/libs/Sculpt/Meshes/Polyline.js +5 -4
  77. package/libs/Sculpt/Meshes/Rectangle.js +3 -2
  78. package/libs/Sculpt/Objects/Base/index.js +20 -17
  79. package/libs/Sculpt/Objects/Line/Editor.js +11 -10
  80. package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
  81. package/libs/Sculpt/utils/removeAllTag.js +10 -0
  82. package/libs/Sculpt/utils/three/ColoredMesh.js +14 -13
  83. package/libs/base/BasePlugin.js +14 -13
  84. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +129 -59
  85. package/libs/floorplan/MapviewFloorplanPlugin/index.js +76 -6
  86. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +130 -59
  87. package/libs/floorplan/ModelFloorplanPlugin/index.js +76 -5
  88. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +159 -86
  89. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +77 -4
  90. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +152 -81
  91. package/libs/floorplan/TopviewFloorplanPlugin/index.js +76 -5
  92. package/libs/floorplan/index.js +1 -0
  93. package/libs/index.js +193 -192
  94. package/libs/shared-utils/five/index.js +3 -2
  95. package/libs/shared-utils/five/lookObject.js +3 -2
  96. package/libs/shared-utils/logger.js +1 -1
  97. package/libs/shared-utils/tag.d.ts +6 -3
  98. package/libs/shared-utils/tag.js +38 -24
  99. package/libs/shared-utils/three/index.js +1 -0
  100. 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,222 @@ 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 "../../Sculpt/utils/removeAllTag.js";
133
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
134
+ import "../../shared-utils/isTouchDevice.js";
135
+ import "../../shared-utils/five/getPosition.js";
136
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
64
137
  import "../Assets/floorplanExtraObject.js";
65
- class pt extends O {
66
- constructor(t, e) {
138
+ class Ci extends O {
139
+ constructor(t, i) {
67
140
  super(t);
68
141
  // =============== public properties =================
69
- o(this, "name", "panoFloorplanRadarPlugin");
70
- o(this, "state");
142
+ s(this, "name", "panoFloorplanRadarPlugin");
143
+ s(this, "state");
71
144
  // =============== protected properties =================
72
- o(this, "data");
145
+ s(this, "data");
73
146
  // =============== 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", () => {
147
+ s(this, "app");
148
+ s(this, "wrapperSelector", "");
149
+ s(this, "wrapper", null);
150
+ s(this, "disposed", !1);
151
+ s(this, "extraObjects", []);
152
+ s(this, "highlightData", {});
153
+ s(this, "dispose", () => {
81
154
  var t;
82
155
  this.disposed = !0, (t = this.app) == null || t.$destroy(), this.wrapper = null, this.wrapperSelector = "", this.hooks.emit("dispose");
83
156
  });
84
- o(this, "highlight", (t) => {
157
+ s(this, "highlight", (t) => {
85
158
  this.state.config.highlightEnable && (this.highlightData = t, this.render());
86
159
  });
87
- o(this, "unhighlight", () => {
160
+ s(this, "unhighlight", () => {
88
161
  this.highlightData = {}, this.render();
89
162
  });
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 });
163
+ s(this, "_disable", (t) => {
164
+ var r;
165
+ const { userAction: i } = t;
166
+ (r = this.app) == null || r.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: i });
94
167
  });
95
168
  this.five = t;
96
- const s = {
169
+ const r = {
97
170
  hoverEnable: !0,
98
171
  highlightEnable: !0,
99
172
  cameraImageUrl: D,
100
173
  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);
174
+ }, p = n(n({}, r), i == null ? void 0 : i.configs);
175
+ 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
176
  }
104
- load(t, e, s = !0) {
105
- return c(this, null, function* () {
106
- function a(l) {
107
- return Object.prototype.hasOwnProperty.apply(l, ["version"]);
177
+ load(t, i, r = !0) {
178
+ return l(this, null, function* () {
179
+ function p(d) {
180
+ return Object.prototype.hasOwnProperty.apply(d, ["version"]);
108
181
  }
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();
182
+ const a = JSON.parse(JSON.stringify(t)), m = p(a) ? a.data : a, h = this.data;
183
+ 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
184
  });
112
185
  }
113
186
  show() {
114
- return c(this, arguments, function* (t = {}) {
187
+ return l(this, arguments, function* (t = {}) {
115
188
  if (this.state.visible)
116
189
  return;
117
- const e = t.userAction !== void 0 ? t.userAction : !0;
118
- this.updateState({ visible: !0 }, e), this._show({ userAction: e });
190
+ const i = t.userAction !== void 0 ? t.userAction : !0;
191
+ this.updateState({ visible: !0 }, i), this._show({ userAction: i });
119
192
  });
120
193
  }
121
194
  hide() {
122
- return c(this, arguments, function* (t = {}) {
195
+ return l(this, arguments, function* (t = {}) {
123
196
  if (!this.state.visible)
124
197
  return;
125
- const e = t.userAction !== void 0 ? t.userAction : !0;
126
- this.updateState({ visible: !1 }, e), this._hide({ userAction: e });
198
+ const i = t.userAction !== void 0 ? t.userAction : !0;
199
+ this.updateState({ visible: !1 }, i), this._hide({ userAction: i });
127
200
  });
128
201
  }
129
202
  enable(t = {}) {
130
203
  if (this.state.enabled)
131
204
  return;
132
- const e = t.userAction !== void 0 ? t.userAction : !0;
133
- this.updateState({ enabled: !0 }, t.userAction || e), this._enable({ userAction: e });
205
+ const i = t.userAction !== void 0 ? t.userAction : !0;
206
+ this.updateState({ enabled: !0 }, t.userAction || i), this._enable({ userAction: i });
134
207
  }
135
208
  disable(t = {}) {
136
209
  if (!this.state.enabled)
137
210
  return;
138
- const e = t.userAction !== void 0 ? t.userAction : !0;
139
- this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
211
+ const i = t.userAction !== void 0 ? t.userAction : !0;
212
+ this.updateState({ enabled: !1 }, t.userAction || i), this._disable({ userAction: i });
140
213
  }
141
214
  /** 更改插件 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);
215
+ setState(t, i = {}) {
216
+ const r = this.state, p = i.userAction !== void 0 ? i.userAction : !0;
217
+ if (this.updateState(t, p), t.enabled !== void 0 && r.enabled !== t.enabled) {
218
+ const a = { userAction: p };
219
+ t.enabled ? this._enable(a) : this._disable(a);
147
220
  }
148
- if (t.visible !== void 0 && s.visible !== t.visible) {
149
- const h = { userAction: a };
150
- t.visible ? this._show(h) : this._hide(h);
221
+ if (t.visible !== void 0 && r.visible !== t.visible) {
222
+ const a = { userAction: p };
223
+ t.visible ? this._show(a) : this._hide(a);
151
224
  }
152
225
  }
153
226
  /** 把插件的渲染DOM插入到对应的容器中去 */
154
227
  appendTo(t) {
155
228
  this.wrapper !== t && this.app && (this.app.$destroy(), this.app = void 0), this.wrapper = t, this.render();
156
229
  }
157
- changeConfigs(t, e = !0) {
158
- this.setState({ config: t }, { userAction: e }), this.render();
230
+ changeConfigs(t, i = !0) {
231
+ this.setState({ config: t }, { userAction: i }), this.render();
159
232
  }
160
233
  setExtraObjectsWith3DPositions(t) {
161
234
  this.data && (this.extraObjects = x(t, this.five, this.data), this.render());
162
235
  }
163
236
  formatData(t) {
164
- return c(this, null, function* () {
165
- return yield g(t.data);
237
+ return l(this, null, function* () {
238
+ return yield b(t.data);
166
239
  });
167
240
  }
168
241
  _enable(t) {
169
- const { userAction: e } = t;
170
- this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e });
242
+ const { userAction: i } = t;
243
+ this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i });
171
244
  }
172
245
  _show(t) {
173
246
  if (this.disposed || !this.state.enabled)
174
247
  return;
175
- const { userAction: e } = t;
176
- this.hooks.emit("show", { userAction: e }), this.render();
248
+ const { userAction: i } = t;
249
+ this.hooks.emit("show", { userAction: i }), this.render();
177
250
  }
178
251
  _hide(t) {
179
252
  if (this.disposed || !this.state.enabled)
180
253
  return;
181
- const { userAction: e } = t;
182
- this.hooks.emit("hide", { userAction: e }), this.render();
254
+ const { userAction: i } = t;
255
+ this.hooks.emit("hide", { userAction: i }), this.render();
183
256
  }
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 });
257
+ updateState(t, i) {
258
+ const r = this.state, p = t.config ? n(n({}, r.config), t.config) : r.config;
259
+ 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
260
  }
188
261
  render() {
189
262
  if (this.disposed || !this.state.enabled)
190
263
  return;
191
264
  if (!this.wrapper && this.wrapperSelector) {
192
- const e = document.querySelector(this.wrapperSelector);
193
- this.wrapper = e;
265
+ const i = document.querySelector(this.wrapperSelector);
266
+ this.wrapper = i;
194
267
  }
195
268
  if (!this.data || !this.wrapper)
196
269
  return;
197
- const t = f(p({}, this.state.config), {
270
+ const t = u(n({}, this.state.config), {
198
271
  five: this.five,
199
272
  floorplanData: this.data,
200
273
  visible: this.state.visible,
@@ -205,5 +278,5 @@ class pt extends O {
205
278
  }
206
279
  }
207
280
  export {
208
- pt as Controller
281
+ Ci as Controller
209
282
  };
@@ -23,19 +23,92 @@ 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 "../../Sculpt/utils/removeAllTag.js";
104
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
105
+ import "../../shared-utils/isTouchDevice.js";
106
+ import "../../shared-utils/five/getPosition.js";
107
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
35
108
  import "../utils/formatData.js";
36
109
  import "../Assets/floorplanExtraObject.js";
37
- const L = (o, r) => new t(o, r);
110
+ const mr = (o, r) => new t(o, r);
38
111
  export {
39
- L as PanoFloorplanRadarPlugin,
40
- L as default
112
+ mr as PanoFloorplanRadarPlugin,
113
+ mr as default
41
114
  };