@realsee/dnalogel 3.42.0-alpha-tag.19 → 3.42.0-alpha-tag.21

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 (36) hide show
  1. package/dist/PanoTagPlugin/controller/Tag/ModelTag.d.ts +0 -2
  2. package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +0 -2
  3. package/dist/index.cjs.js +51 -51
  4. package/dist/index.js +2710 -2695
  5. package/dist/index.umd.js +42 -42
  6. package/libs/CruisePlugin/Move.js +3 -2
  7. package/libs/CruisePlugin/Work.js +3 -2
  8. package/libs/CruisePlugin/index.js +7 -6
  9. package/libs/GuideLinePlugin/Controller.js +5 -4
  10. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  11. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  12. package/libs/GuideLinePlugin/index.js +7 -6
  13. package/libs/ModelMakerPlugin/index.js +1 -1
  14. package/libs/ModelMakerPlugin/item/baseItem.js +7 -6
  15. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  16. package/libs/ModelMakerPlugin/item/polygonItem.js +7 -6
  17. package/libs/ModelMakerPlugin/item/prismItem.js +7 -6
  18. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +4 -3
  19. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +93 -95
  20. package/libs/PanoTagPlugin/controller/Tag/ModelTag.d.ts +0 -2
  21. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +1 -5
  22. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +0 -2
  23. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -5
  24. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +2 -2
  25. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  26. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  27. package/libs/PanoTagPlugin/controller/index.js +47 -46
  28. package/libs/PanoTagPlugin/index.js +14 -13
  29. package/libs/PanoTagPlugin/typings/index.js +1 -1
  30. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +1 -1
  31. package/libs/base/BasePlugin.js +1 -1
  32. package/libs/index.js +1 -1
  33. package/libs/shared-utils/five/FiveDomEvents.js +92 -88
  34. package/libs/shared-utils/logger.js +1 -1
  35. package/libs/shared-utils/three/THREERaycaster.js +30 -8
  36. package/package.json +1 -1
@@ -196,6 +196,7 @@ import "../CSS3DRenderPlugin/Controller.js";
196
196
  import "../shared-utils/five/fiveModelLoad.js";
197
197
  import "../shared-utils/five/FiveDomEvents.js";
198
198
  import "../shared-utils/five/calculateThreeMouse.js";
199
+ import "../shared-utils/three/THREERaycaster.js";
199
200
  import "../PanoTagPlugin/utils/DebugUtil.js";
200
201
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
201
202
  import "../PanoTagPlugin/utils/requestIdleCallback.js";
@@ -214,7 +215,7 @@ import "./utils/coordinatesAngle.js";
214
215
  import "./utils/coordinatesToVector.js";
215
216
  import "./utils/safeCall.js";
216
217
  import "../shared-utils/five/fiveLoaded.js";
217
- class so extends z {
218
+ class ao extends z {
218
219
  constructor(t, r) {
219
220
  var h;
220
221
  super(t, r);
@@ -322,5 +323,5 @@ class so extends z {
322
323
  }
323
324
  }
324
325
  export {
325
- so as default
326
+ ao as default
326
327
  };
@@ -197,6 +197,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
197
197
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
198
198
  import "../shared-utils/five/FiveDomEvents.js";
199
199
  import "../shared-utils/five/calculateThreeMouse.js";
200
+ import "../shared-utils/three/THREERaycaster.js";
200
201
  import "../PanoTagPlugin/utils/DebugUtil.js";
201
202
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
202
203
  import "../PanoTagPlugin/utils/requestIdleCallback.js";
@@ -214,7 +215,7 @@ import "./utils/getFiveStateOnCurve.js";
214
215
  import "../shared-utils/formatRad.js";
215
216
  import "./Work.js";
216
217
  import "./utils/coordinatesToVector.js";
217
- class fr extends G {
218
+ class ur extends G {
218
219
  constructor(t, e) {
219
220
  super(t, e);
220
221
  k(this, "state", {
@@ -602,5 +603,5 @@ class fr extends G {
602
603
  }
603
604
  }
604
605
  export {
605
- fr as default
606
+ ur as default
606
607
  };
@@ -1,4 +1,4 @@
1
- import { typing as Et } from "./typing/index.js";
1
+ import { typing as Ft } from "./typing/index.js";
2
2
  import t from "./Work.js";
3
3
  import i from "./Move.js";
4
4
  import "../GuideLinePlugin/index.js";
@@ -166,6 +166,7 @@ import "../CSS3DRenderPlugin/Controller.js";
166
166
  import "../shared-utils/five/fiveModelLoad.js";
167
167
  import "../shared-utils/five/FiveDomEvents.js";
168
168
  import "../shared-utils/five/calculateThreeMouse.js";
169
+ import "../shared-utils/three/THREERaycaster.js";
169
170
  import "../PanoTagPlugin/utils/DebugUtil.js";
170
171
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
171
172
  import "../PanoTagPlugin/utils/requestIdleCallback.js";
@@ -186,13 +187,13 @@ import "../shared-utils/vectorToCoordinate.js";
186
187
  import "../shared-utils/formatRad.js";
187
188
  import "./BaseController.js";
188
189
  import "./utils/getFiveStateOnCurve.js";
189
- const zt = (o, r) => new t(o, r), At = (o, r) => new i(o, r);
190
+ const At = (o, r) => new t(o, r), Bt = (o, r) => new i(o, r);
190
191
  export {
191
- zt as CruisePlugin,
192
+ At as CruisePlugin,
192
193
  t as CruisePluginController,
193
- Et as CruisePluginTypes,
194
+ Ft as CruisePluginTypes,
194
195
  i as MoveController,
195
- At as MovePlugin,
196
+ Bt as MovePlugin,
196
197
  t as WalkController,
197
- zt as default
198
+ At as default
198
199
  };
@@ -190,6 +190,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
190
190
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
191
191
  import "../shared-utils/five/FiveDomEvents.js";
192
192
  import "../shared-utils/five/calculateThreeMouse.js";
193
+ import "../shared-utils/three/THREERaycaster.js";
193
194
  import "../PanoTagPlugin/utils/DebugUtil.js";
194
195
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
195
196
  import "../PanoTagPlugin/utils/requestIdleCallback.js";
@@ -213,8 +214,8 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
213
214
  import "../CruisePlugin/utils/coordinatesToVector.js";
214
215
  import "../CruisePlugin/utils/safeCall.js";
215
216
  import "../shared-utils/five/fiveLoaded.js";
216
- const b = "GuideLinePlugin", g = `${b}`, le = (s) => `${g}--${s}`;
217
- class ue extends N {
217
+ const b = "GuideLinePlugin", g = `${b}`, ue = (s) => `${g}--${s}`;
218
+ class fe extends N {
218
219
  constructor(t, i) {
219
220
  super(t, i);
220
221
  h(this, "name", b);
@@ -356,6 +357,6 @@ class ue extends N {
356
357
  }
357
358
  }
358
359
  export {
359
- ue as default,
360
- le as pluginFlag
360
+ fe as default,
361
+ ue as pluginFlag
361
362
  };
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
5
5
  import "../CruisePlugin/Move.js";
6
6
  import "../CruisePlugin/Work.js";
7
7
  import "../shared-utils/Subscribe.js";
8
- import { GuideLineItem as yo } from "./GuideLineItem/index.js";
8
+ import { GuideLineItem as zo } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
11
11
  import "../vendor/polyline-normals/index.js";
@@ -158,6 +158,7 @@ import "../shared-utils/five/fiveModelLoad.js";
158
158
  import "../shared-utils/five/getFiveModel.js";
159
159
  import "../shared-utils/five/FiveDomEvents.js";
160
160
  import "../shared-utils/five/calculateThreeMouse.js";
161
+ import "../shared-utils/three/THREERaycaster.js";
161
162
  import "../base/BasePlugin.js";
162
163
  import "../shared-utils/Utils/FiveUtil.js";
163
164
  import "../shared-utils/Utils/BaseUtil.js";
@@ -186,5 +187,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
186
187
  import "../CruisePlugin/utils/safeCall.js";
187
188
  import "../shared-utils/five/fiveLoaded.js";
188
189
  export {
189
- yo as GuideLineItem
190
+ zo as GuideLineItem
190
191
  };
@@ -16,7 +16,7 @@ import "../PanoTagPlugin/controller/Tag/BaseTag.js";
16
16
  import "./Components/Tag.js";
17
17
  import "./utils/index.js";
18
18
  import "../vendor/object-assign-deep/objectAssignDeep.js";
19
- import { GuideLineModeItem as fm } from "./GuideLineModeItem/index.js";
19
+ import { GuideLineModeItem as nm } from "./GuideLineModeItem/index.js";
20
20
  import "../vendor/polyline-normals/index.js";
21
21
  import "../vendor/polyline-miter-util/index.js";
22
22
  import "../vendor/gl-vec2/add.js";
@@ -155,6 +155,7 @@ import "../shared-utils/five/fiveModelLoad.js";
155
155
  import "../shared-utils/five/getFiveModel.js";
156
156
  import "../shared-utils/five/FiveDomEvents.js";
157
157
  import "../shared-utils/five/calculateThreeMouse.js";
158
+ import "../shared-utils/three/THREERaycaster.js";
158
159
  import "../base/BasePlugin.js";
159
160
  import "../shared-utils/Utils/FiveUtil.js";
160
161
  import "../shared-utils/Utils/BaseUtil.js";
@@ -167,5 +168,5 @@ import "../PanoTagPlugin/Components/TagContainer.js";
167
168
  import "../PanoTagPlugin/Components/TagItem.js";
168
169
  import "../PanoTagPlugin/Components/Common/TagPoint.js";
169
170
  export {
170
- fm as GuideLineModeItem
171
+ nm as GuideLineModeItem
171
172
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as yt } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as At } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as zt } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as Bt } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -171,6 +171,7 @@ import "../CSS3DRenderPlugin/Controller.js";
171
171
  import "../shared-utils/five/fiveModelLoad.js";
172
172
  import "../shared-utils/five/FiveDomEvents.js";
173
173
  import "../shared-utils/five/calculateThreeMouse.js";
174
+ import "../shared-utils/three/THREERaycaster.js";
174
175
  import "../PanoTagPlugin/utils/DebugUtil.js";
175
176
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
176
177
  import "../PanoTagPlugin/utils/requestIdleCallback.js";
@@ -185,10 +186,10 @@ import "../shared-utils/five/changeMode.js";
185
186
  import "../shared-utils/nearlyEqual.js";
186
187
  import "../CruisePlugin/Move.js";
187
188
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
188
- const r = (i, o) => new t(i, o), kt = r;
189
+ const r = (i, o) => new t(i, o), qt = r;
189
190
  export {
190
- yt as GuideLineItem,
191
- At as GuideLineModeItem,
191
+ zt as GuideLineItem,
192
+ Bt as GuideLineModeItem,
192
193
  r as GuideLinePlugin,
193
- kt as default
194
+ qt as default
194
195
  };
@@ -38,6 +38,7 @@ import "../shared-utils/three/boundingBox.js";
38
38
  import "./utils/getFiveDomEvent.js";
39
39
  import "../shared-utils/five/FiveDomEvents.js";
40
40
  import "../shared-utils/five/calculateThreeMouse.js";
41
+ import "../shared-utils/three/THREERaycaster.js";
41
42
  import "../Sculpt/Meshes/Prism.js";
42
43
  import "../shared-utils/three/IObject3D.js";
43
44
  import "../shared-utils/isNil.js";
@@ -57,7 +58,6 @@ import "../Sculpt/Meshes/Polyline.js";
57
58
  import "../Sculpt/Meshes/LineWithDots.js";
58
59
  import "../Sculpt/Meshes/Point.js";
59
60
  import "../shared-utils/three/closeVectors.js";
60
- import "../shared-utils/three/THREERaycaster.js";
61
61
  import "../shared-utils/five/fiveModelLoad.js";
62
62
  import "./utils/tagRenderer.js";
63
63
  import "./utils/Text.js";
@@ -1,7 +1,7 @@
1
1
  var n = Object.defineProperty;
2
- var d = (s, t, e) => t in s ? n(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
- var i = (s, t, e) => (d(s, typeof t != "symbol" ? t + "" : t, e), e);
4
- import * as m from "three";
2
+ var m = (s, t, e) => t in s ? n(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
+ var i = (s, t, e) => (m(s, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import * as d from "three";
5
5
  import { addIfNotExists as l } from "../../shared-utils/three/addIfNotExists.js";
6
6
  import { Subscribe as a } from "../../shared-utils/Subscribe.js";
7
7
  import { tag as v } from "../../shared-utils/tag.js";
@@ -14,7 +14,8 @@ import "../../shared-utils/three/THREESphere.js";
14
14
  import "../../shared-utils/five/FiveDomEvents.js";
15
15
  import "../../shared-utils/three/getObjectVisible.js";
16
16
  import "../../shared-utils/five/calculateThreeMouse.js";
17
- class W extends a {
17
+ import "../../shared-utils/three/THREERaycaster.js";
18
+ class B extends a {
18
19
  constructor(e) {
19
20
  var o, r;
20
21
  super();
@@ -26,7 +27,7 @@ class W extends a {
26
27
  i(this, "group");
27
28
  i(this, "fiveDomEvents");
28
29
  this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = c(this.five);
29
- const h = (r = (o = e.position) != null ? o : this.model.center) != null ? r : p(this.model).getCenter(new m.Vector3());
30
+ const h = (r = (o = e.position) != null ? o : this.model.center) != null ? r : p(this.model).getCenter(new d.Vector3());
30
31
  this.tag = v(this.five, h, { wrapper: e.tagWrapper });
31
32
  }
32
33
  get container() {
@@ -57,5 +58,5 @@ class W extends a {
57
58
  }
58
59
  }
59
60
  export {
60
- W as ModelMakerBaseItem
61
+ B as ModelMakerBaseItem
61
62
  };
@@ -13,11 +13,12 @@ import "../utils/getFiveDomEvent.js";
13
13
  import "../../shared-utils/five/FiveDomEvents.js";
14
14
  import "../../shared-utils/three/getObjectVisible.js";
15
15
  import "../../shared-utils/five/calculateThreeMouse.js";
16
- class f extends r {
16
+ import "../../shared-utils/three/THREERaycaster.js";
17
+ class g extends r {
17
18
  constructor(...o) {
18
19
  super(...o);
19
20
  }
20
21
  }
21
22
  export {
22
- f as ModelMakerBoxItem
23
+ g as ModelMakerBoxItem
23
24
  };
@@ -1,6 +1,6 @@
1
- var o = Object.defineProperty;
2
- var r = (t, e, i) => e in t ? o(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
- var s = (t, e, i) => (r(t, typeof e != "symbol" ? e + "" : e, i), i);
1
+ var s = Object.defineProperty;
2
+ var r = (t, e, i) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
+ var o = (t, e, i) => (r(t, typeof e != "symbol" ? e + "" : e, i), i);
4
4
  import { ModelMakerBaseItem as h } from "./baseItem.js";
5
5
  import "three";
6
6
  import "../../shared-utils/three/addIfNotExists.js";
@@ -15,10 +15,11 @@ import "../utils/getFiveDomEvent.js";
15
15
  import "../../shared-utils/five/FiveDomEvents.js";
16
16
  import "../../shared-utils/three/getObjectVisible.js";
17
17
  import "../../shared-utils/five/calculateThreeMouse.js";
18
- class M extends h {
18
+ import "../../shared-utils/three/THREERaycaster.js";
19
+ class w extends h {
19
20
  constructor(...i) {
20
21
  super(...i);
21
- s(this, "hideTag", () => {
22
+ o(this, "hideTag", () => {
22
23
  this.tag.hide();
23
24
  });
24
25
  this.enable(), this.tag.hide();
@@ -37,5 +38,5 @@ class M extends h {
37
38
  }
38
39
  }
39
40
  export {
40
- M as ModelMakerPolygonItem
41
+ w as ModelMakerPolygonItem
41
42
  };
@@ -1,12 +1,12 @@
1
1
  var c = Object.defineProperty, l = Object.defineProperties;
2
2
  var x = Object.getOwnPropertyDescriptors;
3
- var m = Object.getOwnPropertySymbols;
3
+ var e = Object.getOwnPropertySymbols;
4
4
  var d = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
5
  var p = (t, o, r) => o in t ? c(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r, i = (t, o) => {
6
6
  for (var r in o || (o = {}))
7
7
  d.call(o, r) && p(t, r, o[r]);
8
- if (m)
9
- for (var r of m(o))
8
+ if (e)
9
+ for (var r of e(o))
10
10
  b.call(o, r) && p(t, r, o[r]);
11
11
  return t;
12
12
  }, s = (t, o) => l(t, x(o));
@@ -24,12 +24,13 @@ import "../utils/getFiveDomEvent.js";
24
24
  import "../../shared-utils/five/FiveDomEvents.js";
25
25
  import "../../shared-utils/three/getObjectVisible.js";
26
26
  import "../../shared-utils/five/calculateThreeMouse.js";
27
- class q extends f {
27
+ import "../../shared-utils/three/THREERaycaster.js";
28
+ class v extends f {
28
29
  constructor(...o) {
29
- const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
30
+ const r = o[0], m = M(r.model), a = new u.Vector3().lerpVectors(n(m, 0), n(m, 5), 0.5);
30
31
  super(s(i({}, r), { position: a })), this.enable();
31
32
  }
32
33
  }
33
34
  export {
34
- q as ModelMakerPrismItem
35
+ v as ModelMakerPrismItem
35
36
  };
@@ -1,13 +1,14 @@
1
1
  import { FiveDomEvents as n } from "../../shared-utils/five/FiveDomEvents.js";
2
- import "three";
3
2
  import "../../shared-utils/three/getObjectVisible.js";
4
3
  import "../../shared-utils/five/calculateThreeMouse.js";
4
+ import "three";
5
5
  import "../../shared-utils/five/getFiveModel.js";
6
+ import "../../shared-utils/three/THREERaycaster.js";
6
7
  let t;
7
- const s = (e) => ((!t || e !== t.five) && (t = {
8
+ const v = (e) => ((!t || e !== t.five) && (t = {
8
9
  instance: new n(e, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
9
10
  five: e
10
11
  }), t.instance);
11
12
  export {
12
- s as getFiveDomEvent
13
+ v as getFiveDomEvent
13
14
  };