@realsee/dnalogel 3.50.15-alpha.0 → 3.50.15

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 (37) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/Sculpt/index.d.ts +2 -2
  3. package/dist/index.cjs.js +186 -186
  4. package/dist/index.js +2915 -2912
  5. package/dist/index.umd.js +187 -187
  6. package/dist/shared-utils/five/index.d.ts +2 -0
  7. package/libs/CSS3DRenderPlugin/Controller.js +4 -4
  8. package/libs/CSS3DRenderPlugin/index.js +1 -1
  9. package/libs/CruisePlugin/Move.js +1 -1
  10. package/libs/CruisePlugin/Work.js +1 -1
  11. package/libs/CruisePlugin/index.js +1 -1
  12. package/libs/GuideLinePlugin/Controller.js +10 -10
  13. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  14. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  15. package/libs/GuideLinePlugin/index.js +1 -1
  16. package/libs/ModelMakerPlugin/Controller.js +11 -11
  17. package/libs/ModelMakerPlugin/index.js +1 -1
  18. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  19. package/libs/ModelTVVideoPlugin/index.js +1 -1
  20. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  21. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  22. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  23. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  24. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  25. package/libs/PanoTagPlugin/controller/index.js +4 -4
  26. package/libs/PanoTagPlugin/index.js +1 -1
  27. package/libs/Sculpt/Meshes/Prism.js +1 -1
  28. package/libs/Sculpt/index.d.ts +2 -2
  29. package/libs/base/BasePlugin.js +1 -1
  30. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  31. package/libs/index.js +1 -1
  32. package/libs/shared-utils/five/fiveModelLoad.js +1 -0
  33. package/libs/shared-utils/five/index.d.ts +2 -0
  34. package/libs/shared-utils/index.js +38 -33
  35. package/libs/shared-utils/logger.js +1 -1
  36. package/package.json +1 -1
  37. package/README.md +0 -116
@@ -7,3 +7,5 @@ export declare function checkFiveModelLoaded(five: Five): {
7
7
  export * from './mode';
8
8
  export * from './lookObject';
9
9
  export * from './lookPoint';
10
+ export * from './fiveModelLoad';
11
+ export * from './FiveDomEvents';
@@ -22,9 +22,9 @@ import "@realsee/five/line";
22
22
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
23
23
  import "../shared-utils/three/core/Sphere.js";
24
24
  import "animejs";
25
- import { absoluteUrl as P } from "../shared-utils/url/absoluteUrl.js";
25
+ import { waitFiveModelLoaded as P } from "../shared-utils/five/fiveModelLoad.js";
26
+ import { absoluteUrl as w } from "../shared-utils/url/absoluteUrl.js";
26
27
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
- import { waitFiveModelLoaded as w } from "../shared-utils/five/fiveModelLoad.js";
28
28
  import "../shared-utils/positionToVector3.js";
29
29
  import "./utils/three/CSS3DRenderer.js";
30
30
  import "./utils/three/THREEJS_CSS3DRenderer.js";
@@ -142,7 +142,7 @@ class Ue extends j {
142
142
  return console.error(`${E}: wrapper is ${m}; mode is ${r.css3DObject.mode}`);
143
143
  r.appendToElement(m), r.render(), this.created3DElementResults.push(r);
144
144
  }, u = () => {
145
- r.css3DObject.mode === "front" && c(), r.css3DObject.mode === "behind" && w(this.five).then(() => c());
145
+ r.css3DObject.mode === "front" && c(), r.css3DObject.mode === "behind" && P(this.five).then(() => c());
146
146
  };
147
147
  return h && u(), l(a({}, r), { render: h ? void 0 : u });
148
148
  });
@@ -173,7 +173,7 @@ class Ue extends j {
173
173
  * @description: 获取静态资源的url
174
174
  */
175
175
  absoluteUrl(e) {
176
- return P(this.staticPrefix, e);
176
+ return w(this.staticPrefix, e);
177
177
  }
178
178
  clear() {
179
179
  this.created3DElementResults.forEach((e) => {
@@ -52,8 +52,8 @@ import "../shared-utils/isTouchDevice.js";
52
52
  import "../shared-utils/five/getPosition.js";
53
53
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
54
54
  import "../shared-utils/three/PointSelector/utils/contents.js";
55
- import "../shared-utils/url/absoluteUrl.js";
56
55
  import "../shared-utils/five/fiveModelLoad.js";
56
+ import "../shared-utils/url/absoluteUrl.js";
57
57
  import "./utils/three/CSS3DScene.js";
58
58
  import "./utils/getAllCSS3DObject.js";
59
59
  import "./utils/three/CSS3DGroup.js";
@@ -91,6 +91,7 @@ import "../shared-utils/vectorToCoordinate.js";
91
91
  import "../shared-utils/formatRad.js";
92
92
  import "../GuideLinePlugin/Controller.js";
93
93
  import "../base/BasePluginWithData.js";
94
+ import "../shared-utils/five/fiveModelLoad.js";
94
95
  import "../GuideLinePlugin/GuideLineItem/index.js";
95
96
  import "../GuideLinePlugin/GuideLineModeItem/index.js";
96
97
  import "../shared-utils/log.js";
@@ -220,7 +221,6 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
220
221
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
221
222
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
222
223
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
223
- import "../shared-utils/five/fiveModelLoad.js";
224
224
  import "../shared-utils/five/FiveDomEvents.js";
225
225
  import "../shared-utils/five/calculateThreeMouse.js";
226
226
  import "../shared-utils/three/core/Raycaster.js";
@@ -56,6 +56,7 @@ import "../shared-utils/Utils/WorkUtil.js";
56
56
  import "../shared-utils/five/transformPosition.js";
57
57
  import "../shared-utils/five/getFiveModel.js";
58
58
  import "../shared-utils/url/absoluteUrl.js";
59
+ import "../shared-utils/five/fiveModelLoad.js";
59
60
  import "../shared-utils/equal.js";
60
61
  import "../shared-utils/isTruelyObject.js";
61
62
  import "../GuideLinePlugin/GuideLineItem/index.js";
@@ -222,7 +223,6 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
222
223
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
223
224
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
224
225
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
225
- import "../shared-utils/five/fiveModelLoad.js";
226
226
  import "../shared-utils/five/FiveDomEvents.js";
227
227
  import "../shared-utils/five/calculateThreeMouse.js";
228
228
  import "../shared-utils/three/core/Raycaster.js";
@@ -57,6 +57,7 @@ import "../shared-utils/five/getPosition.js";
57
57
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
58
58
  import "../shared-utils/three/PointSelector/utils/contents.js";
59
59
  import "../shared-utils/url/absoluteUrl.js";
60
+ import "../shared-utils/five/fiveModelLoad.js";
60
61
  import "../shared-utils/uuid.js";
61
62
  import "../shared-utils/equal.js";
62
63
  import "../shared-utils/isTruelyObject.js";
@@ -192,7 +193,6 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
192
193
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
193
194
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
194
195
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
195
- import "../shared-utils/five/fiveModelLoad.js";
196
196
  import "../shared-utils/five/FiveDomEvents.js";
197
197
  import "../shared-utils/five/calculateThreeMouse.js";
198
198
  import "../shared-utils/three/core/Raycaster.js";
@@ -36,13 +36,13 @@ import "@realsee/five/line";
36
36
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
37
37
  import "../shared-utils/three/core/Sphere.js";
38
38
  import "animejs";
39
- import { uuid as $ } from "../shared-utils/uuid.js";
39
+ import { waitFiveModelLoaded as $ } from "../shared-utils/five/fiveModelLoad.js";
40
+ import { uuid as P } from "../shared-utils/uuid.js";
40
41
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
41
- import { equal as P } from "../shared-utils/equal.js";
42
- import { GuideLineItem as W } from "./GuideLineItem/index.js";
43
- import H from "../CruisePlugin/Work.js";
42
+ import { equal as W } from "../shared-utils/equal.js";
43
+ import { GuideLineItem as H } from "./GuideLineItem/index.js";
44
+ import U from "../CruisePlugin/Work.js";
44
45
  import { objectAssignDeepExports as V } from "../vendor/object-assign-deep/objectAssignDeep.js";
45
- import { waitFiveModelLoaded as U } from "../shared-utils/five/fiveModelLoad.js";
46
46
  import "../base/BasePlugin.js";
47
47
  import "../shared-utils/Subscribe.js";
48
48
  import "../shared-utils/Utils/FiveUtil.js";
@@ -262,7 +262,7 @@ class Co extends N {
262
262
  h(this, "disposedErrorLog", () => {
263
263
  console.error(`${g} is disposed`);
264
264
  });
265
- this._config = i != null ? i : {}, this.cruisePlugin = new H(t), Object.assign(window, { [`__${b}_DEBUG__`]: this });
265
+ this._config = i != null ? i : {}, this.cruisePlugin = new U(t), Object.assign(window, { [`__${b}_DEBUG__`]: this });
266
266
  }
267
267
  get config() {
268
268
  return this._config;
@@ -286,9 +286,9 @@ class Co extends N {
286
286
  }
287
287
  }, d = (D = (w = o.routes) == null ? void 0 : w.map((l) => {
288
288
  var A;
289
- return V({}, n, { id: (A = l.id) != null ? A : $(), pano_group: l.panoIndexList });
289
+ return V({}, n, { id: (A = l.id) != null ? A : P(), pano_group: l.panoIndexList });
290
290
  })) != null ? D : [], M = (L = (y = o.lines) == null ? void 0 : y.map((l) => V({}, n, l))) != null ? L : [], O = [...d, ...M];
291
- yield U(this.five), this.clear(), O.forEach((l) => {
291
+ yield $(this.five), this.clear(), O.forEach((l) => {
292
292
  this.addGuideLineItem(l);
293
293
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded", o), console.debug(`${g} loaded`, o);
294
294
  });
@@ -327,13 +327,13 @@ class Co extends N {
327
327
  if (this.disposed)
328
328
  return this.disposedErrorLog();
329
329
  const a = f({}, this.state);
330
- this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), P(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (p = i == null ? void 0 : i.userAction) != null ? p : !0 }), this.five.needsRender = !0);
330
+ this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), W(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (p = i == null ? void 0 : i.userAction) != null ? p : !0 }), this.five.needsRender = !0);
331
331
  }
332
332
  /** 添加一个 GuideLineItem */
333
333
  addGuideLineItem(t) {
334
334
  const i = t.render_id || t.id, a = this.itemMap.get(i);
335
335
  a && this.removeGuideLineItem(a);
336
- const p = new W({ five: this.five, id: i, plugin: this });
336
+ const p = new H({ five: this.five, id: i, plugin: this });
337
337
  return this.itemMap.set(i, p), t && p.setData(t), this.heightOffset += 1e-4, p.modelItem.setHeightOffset(this.heightOffset), p.panoramaItem.setHeightOffset(this.heightOffset), p;
338
338
  }
339
339
  /** 获取 Plugin 内的 GuideLineItem */
@@ -186,8 +186,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
186
186
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
187
187
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
188
188
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
189
- import "../shared-utils/url/absoluteUrl.js";
190
189
  import "../shared-utils/five/fiveModelLoad.js";
190
+ import "../shared-utils/url/absoluteUrl.js";
191
191
  import "../shared-utils/five/FiveDomEvents.js";
192
192
  import "../shared-utils/five/calculateThreeMouse.js";
193
193
  import "../shared-utils/three/core/Raycaster.js";
@@ -183,8 +183,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
183
183
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
184
184
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
185
185
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
186
- import "../shared-utils/url/absoluteUrl.js";
187
186
  import "../shared-utils/five/fiveModelLoad.js";
187
+ import "../shared-utils/url/absoluteUrl.js";
188
188
  import "../shared-utils/five/FiveDomEvents.js";
189
189
  import "../shared-utils/five/calculateThreeMouse.js";
190
190
  import "../shared-utils/three/core/Raycaster.js";
@@ -55,6 +55,7 @@ import "../shared-utils/five/getPosition.js";
55
55
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
56
56
  import "../shared-utils/three/PointSelector/utils/contents.js";
57
57
  import "../shared-utils/url/absoluteUrl.js";
58
+ import "../shared-utils/five/fiveModelLoad.js";
58
59
  import "../shared-utils/uuid.js";
59
60
  import "../shared-utils/equal.js";
60
61
  import "../shared-utils/isTruelyObject.js";
@@ -196,7 +197,6 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
196
197
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
197
198
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
198
199
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
199
- import "../shared-utils/five/fiveModelLoad.js";
200
200
  import "../shared-utils/five/FiveDomEvents.js";
201
201
  import "../shared-utils/five/calculateThreeMouse.js";
202
202
  import "../shared-utils/three/core/Raycaster.js";
@@ -41,12 +41,12 @@ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
41
41
  import { boxVertex as g } from "../shared-utils/three/boundingBox.js";
42
42
  import "animejs";
43
43
  import { notNil as I } from "../shared-utils/isNil.js";
44
+ import { waitFiveModelLoaded as q } from "../shared-utils/five/fiveModelLoad.js";
44
45
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
45
- import { tagRendererMap as q } from "./utils/tagRenderer.js";
46
- import { ModelMakerPrismItem as G } from "./item/prismItem.js";
47
- import { ModelMakerPolygonItem as U } from "./item/polygonItem.js";
48
- import { getFiveDomEvent as Y } from "./utils/getFiveDomEvent.js";
49
- import { waitFiveModelLoaded as $ } from "../shared-utils/five/fiveModelLoad.js";
46
+ import { tagRendererMap as G } from "./utils/tagRenderer.js";
47
+ import { ModelMakerPrismItem as U } from "./item/prismItem.js";
48
+ import { ModelMakerPolygonItem as Y } from "./item/polygonItem.js";
49
+ import { getFiveDomEvent as $ } from "./utils/getFiveDomEvent.js";
50
50
  import "../base/BasePlugin.js";
51
51
  import "../shared-utils/Subscribe.js";
52
52
  import "../shared-utils/three/core/Sphere.js";
@@ -65,6 +65,7 @@ import "../Sculpt/utils/removeAllTag.js";
65
65
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
66
66
  import "../shared-utils/three/applyObjectMatrixWorld.js";
67
67
  import "../shared-utils/util.js";
68
+ import "../shared-utils/three/core/Raycaster.js";
68
69
  import "../Sculpt/Meshes/Polygon.js";
69
70
  import "../shared-utils/three/generatePolygonGeometry.js";
70
71
  import "../shared-utils/three/earcut3D.js";
@@ -73,7 +74,6 @@ import "../shared-utils/three/getNormal.js";
73
74
  import "../PanoMeasurePlugin/utils/isIntersecting.js";
74
75
  import "../Sculpt/utils/three/ColoredMesh.js";
75
76
  import "../shared-utils/three/geometryUtil.js";
76
- import "../shared-utils/three/core/Raycaster.js";
77
77
  import "../Sculpt/Meshes/Polyline.js";
78
78
  import "../Sculpt/Meshes/LineWithDots.js";
79
79
  import "../Sculpt/Meshes/Point.js";
@@ -140,11 +140,11 @@ class xt extends z {
140
140
  n(this, "updateTagRenderer", () => {
141
141
  this.items.forEach((e) => {
142
142
  var r;
143
- const t = (r = this.tagRendererMap[e.type]) != null ? r : q[e.type];
143
+ const t = (r = this.tagRendererMap[e.type]) != null ? r : G[e.type];
144
144
  t && e.__renderer !== t && (e.__renderer = t, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = t(e.tag.container, e));
145
145
  });
146
146
  });
147
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (r = t == null ? void 0 : t.occlusionVisibility) != null ? r : !1, this.occlusionMode = (l = t == null ? void 0 : t.occlusionMode) != null ? l : "translucence", this.fiveDomEvents = Y(e), this.tagWrapper = (() => {
147
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (r = t == null ? void 0 : t.occlusionVisibility) != null ? r : !1, this.occlusionMode = (l = t == null ? void 0 : t.occlusionMode) != null ? l : "translucence", this.fiveDomEvents = $(e), this.tagWrapper = (() => {
148
148
  var i;
149
149
  const a = document.createElement("div");
150
150
  return a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.pointerEvents = "none", a.style.zIndex = `${(i = t == null ? void 0 : t.tagContainerZIndex) != null ? i : ""}`, a;
@@ -153,7 +153,7 @@ class xt extends z {
153
153
  load(e) {
154
154
  return F(this, null, function* () {
155
155
  var a;
156
- if (this.clear(), this.data = e, yield $(this.five), this.data !== e)
156
+ if (this.clear(), this.data = e, yield q(this.five), this.data !== e)
157
157
  return;
158
158
  this.clear();
159
159
  const t = typeof this.occlusionVisibility == "boolean" ? this.occlusionVisibility : !1, r = this.occlusionMode, l = 1.6;
@@ -169,7 +169,7 @@ class xt extends z {
169
169
  occlusionVisibility: t,
170
170
  occlusionMode: r
171
171
  }), this.fiveDomEvents.addEventListener(s, "hover", () => s.highlight()), this.fiveDomEvents.addEventListener(s, "unHover", () => s.unhighlight());
172
- const d = new U({
172
+ const d = new Y({
173
173
  five: this.five,
174
174
  tagWrapper: this.tagWrapper,
175
175
  model: s,
@@ -195,7 +195,7 @@ class xt extends z {
195
195
  occlusionVisibility: t,
196
196
  occlusionMode: r
197
197
  });
198
- const f = new G({
198
+ const f = new U({
199
199
  five: this.five,
200
200
  tagWrapper: this.tagWrapper,
201
201
  model: s,
@@ -76,13 +76,13 @@ import "../Sculpt/Meshes/Polyline.js";
76
76
  import "../Sculpt/Meshes/LineWithDots.js";
77
77
  import "../Sculpt/Meshes/Point.js";
78
78
  import "../shared-utils/three/closeVectors.js";
79
+ import "../shared-utils/five/fiveModelLoad.js";
79
80
  import "./utils/tagRenderer.js";
80
81
  import "./utils/Text.js";
81
82
  import "../vendor/svelte/internal/index.js";
82
83
  import "../components/AreaLabel/LabelItem.js";
83
84
  import "../components/AreaLabel/Assets/roomLabelBg.js";
84
85
  import "./item/prismItem.js";
85
- import "../shared-utils/five/fiveModelLoad.js";
86
86
  const Go = (...o) => new r(...o);
87
87
  export {
88
88
  Go as ModelMakerPlugin
@@ -75,8 +75,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
75
75
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
76
76
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
77
77
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
78
- import "../shared-utils/url/absoluteUrl.js";
79
78
  import "../shared-utils/five/fiveModelLoad.js";
79
+ import "../shared-utils/url/absoluteUrl.js";
80
80
  const We = (s, { videoElement: g }) => {
81
81
  const e = {
82
82
  videoMeshes: [],
@@ -59,8 +59,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
59
59
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
60
60
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
61
61
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
62
- import "../shared-utils/url/absoluteUrl.js";
63
62
  import "../shared-utils/five/fiveModelLoad.js";
63
+ import "../shared-utils/url/absoluteUrl.js";
64
64
  import "../PanoTagPlugin/Assets/Icon.js";
65
65
  export {
66
66
  Io as DIRECTION,
@@ -30,8 +30,8 @@ import "@realsee/five/line";
30
30
  import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
31
31
  import "../../shared-utils/three/core/Sphere.js";
32
32
  import "animejs";
33
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
34
33
  import { isTouchDevice as K } from "../../shared-utils/isTouchDevice.js";
34
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
35
35
  import { Controller as H } from "../../base/BasePlugin.js";
36
36
  import "../Model/line.js";
37
37
  import "../../shared-utils/uuid.js";
@@ -61,8 +61,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
61
61
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
62
62
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
63
63
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
64
- import "../shared-utils/url/absoluteUrl.js";
65
64
  import "../shared-utils/five/fiveModelLoad.js";
65
+ import "../shared-utils/url/absoluteUrl.js";
66
66
  import "../vendor/svelte/internal/index.js";
67
67
  import "./store.js";
68
68
  import "../vendor/svelte/store/index.js";
@@ -58,8 +58,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
58
58
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
59
59
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
60
60
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
61
- import "../shared-utils/url/absoluteUrl.js";
62
61
  import "../shared-utils/five/fiveModelLoad.js";
62
+ import "../shared-utils/url/absoluteUrl.js";
63
63
  import "./Components/origins.js";
64
64
  import "../vendor/svelte/internal/index.js";
65
65
  import "./store.js";
@@ -176,8 +176,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
176
176
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
177
177
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
178
178
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
179
- import "../../shared-utils/url/absoluteUrl.js";
180
179
  import "../../shared-utils/five/fiveModelLoad.js";
180
+ import "../../shared-utils/url/absoluteUrl.js";
181
181
  import "../../shared-utils/five/FiveDomEvents.js";
182
182
  import "../../shared-utils/five/calculateThreeMouse.js";
183
183
  import "../../shared-utils/three/core/Raycaster.js";
@@ -69,8 +69,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
69
69
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
70
70
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
71
71
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
72
- import "../../shared-utils/url/absoluteUrl.js";
73
72
  import "../../shared-utils/five/fiveModelLoad.js";
73
+ import "../../shared-utils/url/absoluteUrl.js";
74
74
  import "../../shared-utils/three/loadTexture.js";
75
75
  import "../../shared-utils/three/Quadrangle.js";
76
76
  import "../../shared-utils/math/pointsIsRectangle.js";
@@ -46,8 +46,8 @@ import "@realsee/five/line";
46
46
  import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
47
47
  import "../../shared-utils/three/core/Sphere.js";
48
48
  import "animejs";
49
- import { nextFrame as G } from "../../shared-utils/animationFrame/index.js";
50
- import { waitFiveModelLoaded as N } from "../../shared-utils/five/fiveModelLoad.js";
49
+ import { waitFiveModelLoaded as G } from "../../shared-utils/five/fiveModelLoad.js";
50
+ import { nextFrame as N } from "../../shared-utils/animationFrame/index.js";
51
51
  import { DebugUtil as V } from "../utils/DebugUtil.js";
52
52
  import { safeObj as C } from "../../shared-utils/safeObj.js";
53
53
  import { PointTag as z } from "./Tag/PointTag.js";
@@ -312,7 +312,7 @@ class uo extends R {
312
312
  this.TagContainerSvelte = new x({
313
313
  target: this.container,
314
314
  props: c(m({}, n), { state: c(m({}, this.state), { enabled: !1 }) })
315
- }), G(() => {
315
+ }), N(() => {
316
316
  var r;
317
317
  (r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
318
318
  });
@@ -369,7 +369,7 @@ class uo extends R {
369
369
  if (s === "Plane")
370
370
  return new $(this, o);
371
371
  });
372
- return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, N(this.five).then(() => l(this, null, function* () {
372
+ return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
373
373
  var o, s;
374
374
  this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), i.forEach((n) => {
375
375
  this.tags.includes(n) && (n.stickType === "Model" && n.loadModel().then(() => {
@@ -170,8 +170,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
170
170
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
171
171
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
172
172
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
173
- import "../shared-utils/url/absoluteUrl.js";
174
173
  import "../shared-utils/five/fiveModelLoad.js";
174
+ import "../shared-utils/url/absoluteUrl.js";
175
175
  import "../shared-utils/five/FiveDomEvents.js";
176
176
  import "../shared-utils/five/calculateThreeMouse.js";
177
177
  import "../shared-utils/three/core/Raycaster.js";
@@ -21,10 +21,10 @@ import { LineMesh as y } from "./Line.js";
21
21
  import "../../shared-utils/three/core/Sphere.js";
22
22
  import "animejs";
23
23
  import { notNil as f } from "../../shared-utils/isNil.js";
24
+ import { intersectWithoutLine as S } from "../../shared-utils/three/core/Raycaster.js";
24
25
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
26
  import { PolygonMesh as d } from "./Polygon.js";
26
27
  import { PolygonWithEdgeMesh as u } from "./PolygonWithEdge.js";
27
- import { intersectWithoutLine as S } from "../../shared-utils/three/core/Raycaster.js";
28
28
  class R extends p {
29
29
  constructor(t) {
30
30
  super();
@@ -40,12 +40,12 @@ export declare class Sculpt extends Subscribe<Event> {
40
40
  five: Five;
41
41
  _cursor?: import("./utils/Modules/Cursor").Cursor;
42
42
  _pointSelector?: import("../shared-utils").PointSelector;
43
- _fiveDomEvents?: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
43
+ _fiveDomEvents?: import("../shared-utils").FiveDomEvents;
44
44
  _object3DHelper?: import("..").Object3DHelperController;
45
45
  inited: boolean;
46
46
  readonly cursor: import("./utils/Modules/Cursor").Cursor;
47
47
  readonly pointSelector: import("../shared-utils").PointSelector;
48
- readonly fiveDomEvents: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
48
+ readonly fiveDomEvents: import("../shared-utils").FiveDomEvents;
49
49
  readonly object3DHelper: import("..").Object3DHelperController;
50
50
  init: (five: Five) => void;
51
51
  };
@@ -19,7 +19,7 @@ let b = class {
19
19
  /**
20
20
  * @realsee/dnalogel 版本号
21
21
  */
22
- i(this, "VERSION", "3.50.15-alpha.0");
22
+ i(this, "VERSION", "3.50.15");
23
23
  i(this, "NAME");
24
24
  i(this, "five");
25
25
  i(this, "workUtil");
@@ -49,8 +49,8 @@ import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
49
49
  import "../../shared-utils/three/core/Sphere.js";
50
50
  import "animejs";
51
51
  import { isNil as U } from "../../shared-utils/isNil.js";
52
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
53
52
  import { waitFiveModelLoaded as z } from "../../shared-utils/five/fiveModelLoad.js";
53
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
54
54
  import "../../shared-utils/isTruelyObject.js";
55
55
  import "../../vendor/svelte/internal/index.js";
56
56
  import "../../vendor/svelte/transition/index.js";
package/libs/index.js CHANGED
@@ -125,8 +125,8 @@ import "./shared-utils/isTouchDevice.js";
125
125
  import "./shared-utils/five/getPosition.js";
126
126
  import "./shared-utils/five/getRaycasterByNdcPosition.js";
127
127
  import "./shared-utils/three/PointSelector/utils/contents.js";
128
- import "./shared-utils/url/absoluteUrl.js";
129
128
  import "./shared-utils/five/fiveModelLoad.js";
129
+ import "./shared-utils/url/absoluteUrl.js";
130
130
  import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
131
131
  import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
132
132
  import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
@@ -35,5 +35,6 @@ function s(o) {
35
35
  return (e = m(o)) == null ? void 0 : e.loaded;
36
36
  }
37
37
  export {
38
+ s as fiveModelIsLoaded,
38
39
  M as waitFiveModelLoaded
39
40
  };
@@ -7,3 +7,5 @@ export declare function checkFiveModelLoaded(five: Five): {
7
7
  export * from './mode';
8
8
  export * from './lookObject';
9
9
  export * from './lookPoint';
10
+ export * from './fiveModelLoad';
11
+ export * from './FiveDomEvents';
@@ -9,65 +9,70 @@ import { getCoordsFromClient as l, getCoordsFromElement as f } from "./three/get
9
9
  import { PointSelector as a } from "./three/PointSelector/index.js";
10
10
  import { PointHelper as d } from "./three/PointSelector/utils/PointHelper.js";
11
11
  import { PointSelectorHelper as g } from "./three/PointSelector/utils/PointSelectorHelper.js";
12
- import { Object3D as u } from "./three/core/Object3D.js";
13
- import { LineSegments as s } from "./three/core/LineSegments.js";
14
- import { bounding as b, boundingBox as c, boundingSphere as x, boxVertex as P, boxVertexes as k, worldBounding as F, worldBoundingBox as S, worldBoundingSphere as w } from "./three/boundingBox.js";
15
- import { animeMap as B, blink as L, reblink as v } from "./three/blink.js";
16
- import { isNil as M, notNil as h } from "./isNil.js";
12
+ import { Object3D as s } from "./three/core/Object3D.js";
13
+ import { LineSegments as u } from "./three/core/LineSegments.js";
14
+ import { bounding as b, boundingBox as c, boundingSphere as x, boxVertex as v, boxVertexes as F, worldBounding as L, worldBoundingBox as P, worldBoundingSphere as k } from "./three/boundingBox.js";
15
+ import { animeMap as w, blink as M, reblink as S } from "./three/blink.js";
16
+ import { isNil as B, notNil as h } from "./isNil.js";
17
17
  import { uuid as j } from "./uuid.js";
18
- import { absoluteUrl as O, isAbsoluteURL as T } from "./url/absoluteUrl.js";
19
- import { awaitNextFrame as _, getFrameTime as y, nextFrame as C, requestAnimationFrameInterval as H } from "./animationFrame/index.js";
20
- import { equal as I } from "./equal.js";
18
+ import { absoluteUrl as I, isAbsoluteURL as O } from "./url/absoluteUrl.js";
19
+ import { awaitNextFrame as T, getFrameTime as _, nextFrame as y, requestAnimationFrameInterval as C } from "./animationFrame/index.js";
20
+ import { equal as H } from "./equal.js";
21
21
  import { isModelLike as N, isPanoramaLike as q } from "./five/mode.js";
22
22
  import { lookObject as A } from "./five/lookObject.js";
23
- import { lookPoint as R } from "./five/lookPoint.js";
24
- import { BetterTween as U, tweenProgress as V } from "./animationFrame/BetterTween.js";
25
- const uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
+ import { lookPoint as D } from "./five/lookPoint.js";
24
+ import { fiveModelIsLoaded as E, waitFiveModelLoaded as R } from "./five/fiveModelLoad.js";
25
+ import { FiveDomEvents as U } from "./five/FiveDomEvents.js";
26
+ import { BetterTween as V, tweenProgress as z } from "./animationFrame/BetterTween.js";
27
+ const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
28
  __proto__: null,
27
- BetterTween: U,
29
+ BetterTween: V,
30
+ FiveDomEvents: U,
28
31
  Interval: r,
29
32
  LightTag: i,
30
- LineSegments: s,
33
+ LineSegments: u,
31
34
  Magnifier: p,
32
- Object3D: u,
35
+ Object3D: s,
33
36
  PointHelper: d,
34
37
  PointSelector: a,
35
38
  PointSelectorHelper: g,
36
39
  Rectangle: e,
37
- absoluteUrl: O,
38
- animeMap: B,
39
- awaitNextFrame: _,
40
- blink: L,
40
+ absoluteUrl: I,
41
+ animeMap: w,
42
+ awaitNextFrame: T,
43
+ blink: M,
41
44
  bounding: b,
42
45
  boundingBox: c,
43
46
  boundingSphere: x,
44
- boxVertex: P,
45
- boxVertexes: k,
47
+ boxVertex: v,
48
+ boxVertexes: F,
46
49
  checkFiveModelLoaded: n,
47
50
  convexHull: t,
48
- equal: I,
51
+ equal: H,
52
+ fiveModelIsLoaded: E,
49
53
  getCoordsFromClient: l,
50
54
  getCoordsFromElement: f,
51
- getFrameTime: y,
55
+ getFrameTime: _,
52
56
  inside: o,
53
- isAbsoluteURL: T,
57
+ isAbsoluteURL: O,
54
58
  isModelLike: N,
55
- isNil: M,
59
+ isNil: B,
56
60
  isPanoramaLike: q,
57
61
  lookObject: A,
58
- lookPoint: R,
59
- nextFrame: C,
62
+ lookPoint: D,
63
+ nextFrame: y,
60
64
  notNil: h,
61
65
  pointInPolygon: o,
62
- reblink: v,
63
- requestAnimationFrameInterval: H,
66
+ reblink: S,
67
+ requestAnimationFrameInterval: C,
64
68
  tag: m,
65
- tweenProgress: V,
69
+ tweenProgress: z,
66
70
  uuid: j,
67
- worldBounding: F,
68
- worldBoundingBox: S,
69
- worldBoundingSphere: w
71
+ waitFiveModelLoaded: R,
72
+ worldBounding: L,
73
+ worldBoundingBox: P,
74
+ worldBoundingSphere: k
70
75
  }, Symbol.toStringTag, { value: "Module" }));
71
76
  export {
72
- uo as index
77
+ vo as index
73
78
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.50.15-alpha.0",
3
+ "%c %c@realsee/dnalogel %cv3.50.15",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.50.15-alpha.0",
3
+ "version": "3.50.15",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",