@realsee/dnalogel 3.78.0-alpha.3 → 3.78.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 (148) hide show
  1. package/CHANGELOG.md +40 -10
  2. package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
  3. package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
  4. package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
  5. package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
  6. package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
  7. package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
  8. package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
  9. package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
  10. package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  12. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
  13. package/dist/Sculpt/Meshes/Line.d.ts +4 -0
  14. package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
  15. package/dist/index.cjs.js +101 -88
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.js +14196 -12441
  18. package/dist/index.umd.js +83 -70
  19. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  20. package/libs/AreaMakerPlugin/Controller.js +3 -2
  21. package/libs/AreaMakerPlugin/index.js +3 -2
  22. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  23. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  24. package/libs/CSS3DRenderPlugin/index.js +6 -5
  25. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
  26. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
  27. package/libs/CruisePlugin/BaseController.js +5 -4
  28. package/libs/CruisePlugin/Move.js +3 -2
  29. package/libs/CruisePlugin/Work.js +3 -2
  30. package/libs/CruisePlugin/index.js +7 -6
  31. package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
  32. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  33. package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
  34. package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
  35. package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
  36. package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
  37. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
  38. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
  39. package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
  40. package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
  41. package/libs/DigitalPerformancePlugin/mock.js +272 -274
  42. package/libs/GuideLinePlugin/Controller.js +7 -6
  43. package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
  44. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  45. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
  46. package/libs/GuideLinePlugin/index.js +7 -6
  47. package/libs/MeasurePlugin/Controller.js +11 -10
  48. package/libs/MeasurePlugin/index.js +5 -4
  49. package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
  50. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  51. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  52. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  53. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  54. package/libs/ModelMakerPlugin/Controller.js +3 -2
  55. package/libs/ModelMakerPlugin/index.js +3 -2
  56. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  57. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  58. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  59. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  60. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  61. package/libs/ModelTVVideoPlugin/index.js +3 -2
  62. package/libs/ModelViewPlugin/Plugin.js +20 -19
  63. package/libs/ModelViewPlugin/index.js +1 -0
  64. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  65. package/libs/Object3DHelperPlugin/index.js +6 -5
  66. package/libs/PanoCompassPlugin/Controller.js +3 -2
  67. package/libs/PanoCompassPlugin/index.js +4 -3
  68. package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
  69. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  70. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  71. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  72. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  73. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  74. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  75. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  76. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  77. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  78. package/libs/PanoMeasurePlugin/index.js +14 -13
  79. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  80. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  81. package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
  82. package/libs/PanoRulerProPlugin/index.js +4 -3
  83. package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
  84. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  85. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
  86. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  87. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  88. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  89. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  90. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  91. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  92. package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
  93. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +50 -49
  94. package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +69 -65
  95. package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
  96. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  97. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
  98. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  99. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  100. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  101. package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
  102. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  103. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  104. package/libs/PanoTagPlugin/controller/index.js +30 -29
  105. package/libs/PanoTagPlugin/index.js +12 -11
  106. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  107. package/libs/PanoTagPlugin/utils/index.js +31 -30
  108. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  109. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  110. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
  111. package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
  112. package/libs/PanoVideoPlugin/Controller.js +9 -8
  113. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  114. package/libs/PanoVideoPlugin/index.js +6 -5
  115. package/libs/PipelinePlugin/Controller.js +3 -2
  116. package/libs/PipelinePlugin/index.js +4 -3
  117. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  118. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  119. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  120. package/libs/Sculpt/Meshes/Line.d.ts +4 -0
  121. package/libs/Sculpt/Meshes/Line.js +85 -76
  122. package/libs/Sculpt/Meshes/Point.js +28 -28
  123. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  124. package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
  125. package/libs/Sculpt/Objects/Base/Editor.js +72 -63
  126. package/libs/Sculpt/index.js +1 -1
  127. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  128. package/libs/base/BasePlugin.js +5 -5
  129. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  130. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  131. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  132. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  133. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  134. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  135. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  136. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  137. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  138. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  139. package/libs/index.d.ts +1 -0
  140. package/libs/index.js +162 -150
  141. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  142. package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
  143. package/libs/shared-utils/logger.js +1 -1
  144. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
  145. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  146. package/package.json +3 -3
  147. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
  148. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
@@ -1,23 +1,24 @@
1
- var d = Object.defineProperty;
2
- var l = Object.getOwnPropertySymbols;
3
- var j = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
- var s = (r, e, t) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, b = (r, e) => {
1
+ var j = Object.defineProperty, m = Object.defineProperties;
2
+ var S = Object.getOwnPropertyDescriptors;
3
+ var O = Object.getOwnPropertySymbols;
4
+ var g = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
5
+ var h = (i, e, t) => e in i ? j(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, s = (i, e) => {
5
6
  for (var t in e || (e = {}))
6
- j.call(e, t) && s(r, t, e[t]);
7
- if (l)
8
- for (var t of l(e))
9
- m.call(e, t) && s(r, t, e[t]);
10
- return r;
11
- };
12
- var o = (r, e, t) => (s(r, typeof e != "symbol" ? e + "" : e, t), t);
13
- import { Sculpt as n } from "../../index.js";
14
- import { IObject3D as u } from "../../../shared-utils/three/IObject3D.js";
15
- import { Subscribe as O } from "../../../shared-utils/Subscribe.js";
16
- class f extends u {
7
+ g.call(e, t) && h(i, t, e[t]);
8
+ if (O)
9
+ for (var t of O(e))
10
+ k.call(e, t) && h(i, t, e[t]);
11
+ return i;
12
+ }, n = (i, e) => m(i, S(e));
13
+ var r = (i, e, t) => (h(i, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import { Sculpt as a } from "../../index.js";
15
+ import { IObject3D as v } from "../../../shared-utils/three/IObject3D.js";
16
+ import { Subscribe as E } from "../../../shared-utils/Subscribe.js";
17
+ class H extends v {
17
18
  constructor(t) {
18
19
  super();
19
- o(this, "hooks", new O());
20
- o(this, "originObject");
20
+ r(this, "hooks", new E());
21
+ r(this, "originObject");
21
22
  this.originObject = t;
22
23
  }
23
24
  /**
@@ -33,85 +34,93 @@ class f extends u {
33
34
  this.originObject.remove(this);
34
35
  }
35
36
  }
36
- class k extends f {
37
- constructor(t, i) {
37
+ class U extends H {
38
+ constructor(t, o) {
38
39
  super(t);
39
- o(this, "objectHelperConfig");
40
+ r(this, "objectHelperConfig");
40
41
  // 记录当前操作的类型、开始时间和轴向
41
- o(this, "currentOperation", null);
42
+ r(this, "currentOperation", null);
42
43
  // 记录移动操作开始
43
- o(this, "onMoveStart", (t) => {
44
+ r(this, "onMoveStart", (t) => {
44
45
  this.currentOperation = {
45
46
  type: "move",
46
- startTime: Date.now(),
47
+ start_timestamp: Date.now(),
47
48
  axis: t
48
49
  };
49
50
  });
50
51
  // 记录旋转操作开始
51
- o(this, "onRotateStart", (t) => {
52
+ r(this, "onRotateStart", (t) => {
52
53
  this.currentOperation = {
53
54
  type: "rotate",
54
- startTime: Date.now(),
55
+ start_timestamp: Date.now(),
55
56
  axis: t
56
57
  };
57
58
  });
58
59
  // 记录缩放操作开始
59
- o(this, "onScaleStart", (t) => {
60
+ r(this, "onScaleStart", (t) => {
60
61
  this.currentOperation = {
61
62
  type: "scale",
62
- startTime: Date.now(),
63
+ start_timestamp: Date.now(),
63
64
  axis: t
64
65
  };
65
66
  });
66
- // 移动中的处理(可选),可以在这里做一些实时处理,暂时不触发 objectUpdate
67
- // private onMove = () => {
68
- // }
69
- // // 旋转中的处理
70
- // private onRotate = () => {
71
- // }
72
- // // 缩放中的处理
73
- // private onScale = () => {
74
- // }
75
- // 移动结束,触发 objectUpdate
76
- o(this, "onMoveEnd", () => {
77
- this.onObjectUpdate();
67
+ // 移动中的处理
68
+ r(this, "onMove", () => {
69
+ this.currentOperation && (this.currentOperation = n(s({}, this.currentOperation), {
70
+ status: "moving"
71
+ }), this.onObjectUpdate(!1));
72
+ });
73
+ // 旋转中的处理
74
+ r(this, "onRotate", () => {
75
+ this.currentOperation && (this.currentOperation = n(s({}, this.currentOperation), {
76
+ status: "rotating"
77
+ }), this.onObjectUpdate(!1));
78
+ });
79
+ // 缩放中的处理
80
+ r(this, "onScale", () => {
81
+ this.currentOperation && (this.currentOperation = n(s({}, this.currentOperation), {
82
+ status: "scaling"
83
+ }), this.onObjectUpdate(!1));
78
84
  });
79
- // 旋转结束,触发 objectUpdate
80
- o(this, "onRotateEnd", () => {
81
- this.onObjectUpdate();
85
+ r(this, "onMoveEnd", () => {
86
+ this.onObjectUpdate(!0);
82
87
  });
83
- // 缩放结束,触发 objectUpdate
84
- o(this, "onScaleEnd", () => {
85
- this.onObjectUpdate();
88
+ r(this, "onRotateEnd", () => {
89
+ this.onObjectUpdate(!0);
90
+ });
91
+ r(this, "onScaleEnd", () => {
92
+ this.onObjectUpdate(!0);
86
93
  });
87
94
  // 统一的触发 objectUpdate 方法
88
- o(this, "onObjectUpdate", () => {
89
- if (!this.currentOperation)
95
+ // @param isHandleEnd 是否为操作结束,true 表示松手,false 表示拖动中
96
+ r(this, "onObjectUpdate", (t = !0) => {
97
+ if (!this.currentOperation) {
98
+ this.hooks.emit("objectUpdate");
90
99
  return;
91
- const t = {
92
- type: this.currentOperation.type,
93
- start_timestamp: this.currentOperation.startTime,
94
- end_timestamp: Date.now(),
95
- axis: this.currentOperation.axis
96
- };
97
- this.hooks.emit("objectUpdate", t), this.currentOperation = null;
100
+ }
101
+ const o = n(s({}, this.currentOperation), {
102
+ end_timestamp: t ? Date.now() : void 0,
103
+ // 只在松手时设置结束时间
104
+ is_handle_end: t
105
+ });
106
+ this.hooks.emit("objectUpdate", o), t && (this.currentOperation = null);
98
107
  });
99
- this.objectHelperConfig = i;
108
+ this.objectHelperConfig = o;
100
109
  }
101
110
  get helper() {
102
111
  var t;
103
- return (t = n.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : t.helper;
112
+ return (t = a.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : t.helper;
104
113
  }
105
114
  enable() {
106
115
  super.enable();
107
116
  const t = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
108
- n.modules.object3DHelper.addObject3DHelper(this.originObject, b({ positionFrom: "boundingBox" }, t));
109
- const i = n.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
110
- i.hooks.on("moveStart", this.onMoveStart), i.hooks.on("rotateStart", this.onRotateStart), i.hooks.on("scaleStart", this.onScaleStart), i.hooks.on("moveEnd", this.onMoveEnd), i.hooks.on("rotateEnd", this.onRotateEnd), i.hooks.on("scaleEnd", this.onScaleEnd);
117
+ a.modules.object3DHelper.addObject3DHelper(this.originObject, s({ positionFrom: "boundingBox" }, t));
118
+ const o = a.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
119
+ o.hooks.on("moveStart", this.onMoveStart), o.hooks.on("rotateStart", this.onRotateStart), o.hooks.on("scaleStart", this.onScaleStart), o.hooks.on("move", this.onMove), o.hooks.on("rotate", this.onRotate), o.hooks.on("scale", this.onScale), o.hooks.on("moveEnd", this.onMoveEnd), o.hooks.on("rotateEnd", this.onRotateEnd), o.hooks.on("scaleEnd", this.onScaleEnd);
111
120
  }
112
121
  disable() {
113
- var t, i, a, h, c, p;
114
- super.disable(), (t = this.helper) == null || t.hooks.off("moveStart", this.onMoveStart), (i = this.helper) == null || i.hooks.off("rotateStart", this.onRotateStart), (a = this.helper) == null || a.hooks.off("scaleStart", this.onScaleStart), (h = this.helper) == null || h.hooks.off("moveEnd", this.onMoveEnd), (c = this.helper) == null || c.hooks.off("rotateEnd", this.onRotateEnd), (p = this.helper) == null || p.hooks.off("scaleEnd", this.onScaleEnd), n.modules.object3DHelper.removeObject3DHelper(this.originObject);
122
+ var t, o, c, p, l, b, u, d, f;
123
+ super.disable(), (t = this.helper) == null || t.hooks.off("moveStart", this.onMoveStart), (o = this.helper) == null || o.hooks.off("rotateStart", this.onRotateStart), (c = this.helper) == null || c.hooks.off("scaleStart", this.onScaleStart), (p = this.helper) == null || p.hooks.off("move", this.onMove), (l = this.helper) == null || l.hooks.off("rotate", this.onRotate), (b = this.helper) == null || b.hooks.off("scale", this.onScale), (u = this.helper) == null || u.hooks.off("moveEnd", this.onMoveEnd), (d = this.helper) == null || d.hooks.off("rotateEnd", this.onRotateEnd), (f = this.helper) == null || f.hooks.off("scaleEnd", this.onScaleEnd), a.modules.object3DHelper.removeObject3DHelper(this.originObject);
115
124
  }
116
125
  initialHelperMatrix() {
117
126
  var t;
@@ -119,6 +128,6 @@ class k extends f {
119
128
  }
120
129
  }
121
130
  export {
122
- f as BaseEditor,
123
- k as BaseEditorWithObjectHelper
131
+ H as BaseEditor,
132
+ U as BaseEditorWithObjectHelper
124
133
  };
@@ -90,7 +90,7 @@ const d = class extends E {
90
90
  });
91
91
  this.five = e, this.theme = t, this.config = g({
92
92
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
93
- }, i), this.group = new z(), this.group.name = "Sculpt", this.group.__sculpt__ = this, e.scene.add(this.group), d.modules.init(e, this.config), x("ctrl+z, command+z", this.undo), x("ctrl+shift+z, command+shift+z", this.redo), d.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: c, origDomEvent: s }) => {
93
+ }, i), this.group = new z(), this.group.name = "Sculpt", this.group.__sculpt__ = this, this.group.__five__ = this.five, e.scene.add(this.group), d.modules.init(e, this.config), x("ctrl+z, command+z", this.undo), x("ctrl+shift+z, command+shift+z", this.redo), d.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: c, origDomEvent: s }) => {
94
94
  var o;
95
95
  const r = F((o = c == null ? void 0 : c[0]) == null ? void 0 : o.object, (h) => h.isSculptObject);
96
96
  return r && !r.editing ? this.emit("click", s, r) : !1;
@@ -2,8 +2,8 @@ var l = Object.defineProperty;
2
2
  var u = (n, e, o) => e in n ? l(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o;
3
3
  var r = (n, e, o) => (u(n, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import { DeleteButtonBgBorder as a } from "./DeleteButtonBgBorder.js";
5
- import { DeleteIconSVG as p } from "./DeleteIconSVG.js";
6
- const d = {
5
+ import { DeleteIconSVG as d } from "./DeleteIconSVG.js";
6
+ const p = {
7
7
  auto: "",
8
8
  pen: "",
9
9
  "pen-forbidden": "",
@@ -13,7 +13,7 @@ const d = {
13
13
  "crosshair-rectangle": "",
14
14
  "crosshair-circle": ""
15
15
  }, h = {
16
- position: "absolute",
16
+ position: "fixed",
17
17
  width: "34px",
18
18
  height: "34px",
19
19
  transform: "translate(-50%, -40px)",
@@ -30,10 +30,10 @@ const d = {
30
30
  backgroundRepeat: "no-repeat"
31
31
  }, m = `
32
32
  <div style="width: 32px; height: 32px; background-color: rgba(0, 0, 0, 0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center;">
33
- ${p}
33
+ ${d}
34
34
  </div>
35
35
  `;
36
- class B {
36
+ class f {
37
37
  constructor(e) {
38
38
  r(this, "container");
39
39
  r(this, "deleteButton");
@@ -43,7 +43,7 @@ class B {
43
43
  * @param type - The type of the cursor.
44
44
  */
45
45
  setType(e) {
46
- const o = d[e];
46
+ const o = p[e];
47
47
  o ? this.container.style.cursor = `url(${o}), auto` : this.container.style.cursor = e;
48
48
  }
49
49
  showDeleteButton(e) {
@@ -66,5 +66,5 @@ class B {
66
66
  }
67
67
  }
68
68
  export {
69
- B as Cursor
69
+ f as Cursor
70
70
  };
@@ -1,7 +1,7 @@
1
1
  var e = Object.defineProperty;
2
2
  var s = (o, t, i) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
3
3
  var r = (o, t, i) => (s(o, typeof t != "symbol" ? t + "" : t, i), i);
4
- import { Subscribe as l } from "../shared-utils/Subscribe.js";
4
+ import { Subscribe as m } from "../shared-utils/Subscribe.js";
5
5
  import "../shared-utils/tag.js";
6
6
  import "three";
7
7
  import "../vendor/hammerjs/hammer.js";
@@ -15,7 +15,7 @@ import "../shared-utils/three/blink.js";
15
15
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
16
16
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
17
17
  import "../vendor/earcut/src/earcut.js";
18
- import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
18
+ import { FiveUtil as l } from "../shared-utils/Utils/FiveUtil.js";
19
19
  import { DEFAULT_STATIC_PREFIX as p } from "../shared-utils/url/defaultUrls.js";
20
20
  import "../shared-utils/five/FivePuppet.js";
21
21
  let I = class {
@@ -23,7 +23,7 @@ let I = class {
23
23
  /**
24
24
  * @realsee/dnalogel 版本号
25
25
  */
26
- r(this, "VERSION", "3.78.0-alpha.3");
26
+ r(this, "VERSION", "3.78.0");
27
27
  r(this, "NAME");
28
28
  r(this, "five");
29
29
  r(this, "workUtil");
@@ -31,9 +31,9 @@ let I = class {
31
31
  /**
32
32
  * @description: 插件事件钩子
33
33
  */
34
- r(this, "hooks", new l());
34
+ r(this, "hooks", new m());
35
35
  r(this, "staticPrefix", p);
36
- this.five = t, this.fiveUtil = new m(t), this.workUtil = this.fiveUtil.workUtil, i != null && i.staticPrefix && (this.staticPrefix = i.staticPrefix);
36
+ this.five = t, this.fiveUtil = new l(t), this.workUtil = this.fiveUtil.workUtil, i != null && i.staticPrefix && (this.staticPrefix = i.staticPrefix);
37
37
  }
38
38
  set workCode(t) {
39
39
  this.workUtil.workCode = t, this.onWorkCodeChange();
@@ -102,6 +102,7 @@ import "../../shared-utils/three/IObject3D.js";
102
102
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
103
103
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
104
104
  import "../../shared-utils/util.js";
105
+ import "../../shared-utils/five/getFiveFromParentChain.js";
105
106
  import "../../shared-utils/three/core/LineGeometry.js";
106
107
  import "../../shared-utils/three/core/LineMaterial.js";
107
108
  import "../../shared-utils/three/core/Line2.js";
@@ -123,7 +124,7 @@ import "../../shared-utils/url/absoluteUrl.js";
123
124
  import "../../shared-utils/isTruelyObject.js";
124
125
  import "../../base/BasePlugin.js";
125
126
  import "../Assets/floorplanExtraObject.js";
126
- class Si extends k {
127
+ class Fi extends k {
127
128
  constructor(t, i) {
128
129
  var o, s;
129
130
  super(t);
@@ -345,5 +346,5 @@ class Si extends k {
345
346
  }
346
347
  }
347
348
  export {
348
- Si as Controller
349
+ Fi as Controller
349
350
  };
@@ -71,6 +71,7 @@ import "../../Sculpt/typings/style.js";
71
71
  import "../../shared-utils/three/IObject3D.js";
72
72
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
73
73
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
74
+ import "../../shared-utils/five/getFiveFromParentChain.js";
74
75
  import "../../shared-utils/three/core/LineGeometry.js";
75
76
  import "../../shared-utils/three/core/LineMaterial.js";
76
77
  import "../../shared-utils/three/core/Line2.js";
@@ -95,8 +96,8 @@ import "../../base/BasePluginWithData.js";
95
96
  import "../../base/BasePlugin.js";
96
97
  import "../utils/formatData.js";
97
98
  import "../Assets/floorplanExtraObject.js";
98
- const Vo = (o, r) => new t(o, r);
99
+ const Wo = (o, r) => new t(o, r);
99
100
  export {
100
- Vo as FloorplanGuidePlugin,
101
- Vo as default
101
+ Wo as FloorplanGuidePlugin,
102
+ Wo as default
102
103
  };
@@ -129,6 +129,7 @@ import "../../shared-utils/three/IObject3D.js";
129
129
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
130
130
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
131
131
  import "../../shared-utils/util.js";
132
+ import "../../shared-utils/five/getFiveFromParentChain.js";
132
133
  import "../../shared-utils/three/core/LineGeometry.js";
133
134
  import "../../shared-utils/three/core/LineMaterial.js";
134
135
  import "../../shared-utils/three/core/Line2.js";
@@ -156,7 +157,7 @@ function Q(l) {
156
157
  const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
157
158
  return e && i;
158
159
  }
159
- class pi extends j {
160
+ class ci extends j {
160
161
  constructor(t, e) {
161
162
  var a, m;
162
163
  super(t);
@@ -555,5 +556,5 @@ class pi extends j {
555
556
  }
556
557
  }
557
558
  export {
558
- pi as Controller
559
+ ci as Controller
559
560
  };
@@ -94,6 +94,7 @@ import "../../Sculpt/typings/style.js";
94
94
  import "../../shared-utils/three/IObject3D.js";
95
95
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
96
96
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
97
+ import "../../shared-utils/five/getFiveFromParentChain.js";
97
98
  import "../../shared-utils/three/core/LineGeometry.js";
98
99
  import "../../shared-utils/three/core/LineMaterial.js";
99
100
  import "../../shared-utils/three/core/Line2.js";
@@ -119,8 +120,8 @@ import "../../shared-utils/translateMode/getDistanceFromModel.js";
119
120
  import "../../shared-utils/changeModelCanvasOpacity.js";
120
121
  import "../../shared-utils/url/replace-static-prefix.js";
121
122
  import "../../shared-utils/url/absoluteUrl.js";
122
- const vr = (o, r) => new t(o, r);
123
+ const xr = (o, r) => new t(o, r);
123
124
  export {
124
- vr as MapviewFloorplanPlugin,
125
- vr as default
125
+ xr as MapviewFloorplanPlugin,
126
+ xr as default
126
127
  };
@@ -128,6 +128,7 @@ import "../../shared-utils/three/IObject3D.js";
128
128
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
129
129
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
130
130
  import "../../shared-utils/util.js";
131
+ import "../../shared-utils/five/getFiveFromParentChain.js";
131
132
  import "../../shared-utils/three/core/LineGeometry.js";
132
133
  import "../../shared-utils/three/core/LineMaterial.js";
133
134
  import "../../shared-utils/three/core/Line2.js";
@@ -154,7 +155,7 @@ function B(l) {
154
155
  const { latitude: a, longitude: t } = l, e = Math.abs(a - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
155
156
  return e && i;
156
157
  }
157
- class ii extends k {
158
+ class oi extends k {
158
159
  constructor(t, e) {
159
160
  var n, m, c;
160
161
  super(t);
@@ -516,5 +517,5 @@ class ii extends k {
516
517
  }
517
518
  }
518
519
  export {
519
- ii as Controller
520
+ oi as Controller
520
521
  };
@@ -94,6 +94,7 @@ import "../../Sculpt/typings/style.js";
94
94
  import "../../shared-utils/three/IObject3D.js";
95
95
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
96
96
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
97
+ import "../../shared-utils/five/getFiveFromParentChain.js";
97
98
  import "../../shared-utils/three/core/LineGeometry.js";
98
99
  import "../../shared-utils/three/core/LineMaterial.js";
99
100
  import "../../shared-utils/three/core/Line2.js";
@@ -118,8 +119,8 @@ import "../../shared-utils/translateMode/getDistanceFromModel.js";
118
119
  import "../../shared-utils/changeModelCanvasOpacity.js";
119
120
  import "../../shared-utils/url/replace-static-prefix.js";
120
121
  import "../../shared-utils/url/absoluteUrl.js";
121
- const wr = (o, r) => new t(o, r);
122
+ const xr = (o, r) => new t(o, r);
122
123
  export {
123
- wr as ModelFloorplanPlugin,
124
- wr as default
124
+ xr as ModelFloorplanPlugin,
125
+ xr as default
125
126
  };
@@ -98,6 +98,7 @@ import "../../shared-utils/three/IObject3D.js";
98
98
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
99
99
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
100
100
  import "../../shared-utils/util.js";
101
+ import "../../shared-utils/five/getFiveFromParentChain.js";
101
102
  import "../../shared-utils/three/core/LineGeometry.js";
102
103
  import "../../shared-utils/three/core/LineMaterial.js";
103
104
  import "../../shared-utils/three/core/Line2.js";
@@ -116,7 +117,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
116
117
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
117
118
  import "@realsee/five";
118
119
  import "../../shared-utils/url/absoluteUrl.js";
119
- class di extends O {
120
+ class li extends O {
120
121
  constructor(t, i) {
121
122
  super(t);
122
123
  // =============== public properties =================
@@ -259,5 +260,5 @@ class di extends O {
259
260
  }
260
261
  }
261
262
  export {
262
- di as Controller
263
+ li as Controller
263
264
  };
@@ -68,6 +68,7 @@ import "../../Sculpt/typings/style.js";
68
68
  import "../../shared-utils/three/IObject3D.js";
69
69
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
70
70
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
71
+ import "../../shared-utils/five/getFiveFromParentChain.js";
71
72
  import "../../shared-utils/three/core/LineGeometry.js";
72
73
  import "../../shared-utils/three/core/LineMaterial.js";
73
74
  import "../../shared-utils/three/core/Line2.js";
@@ -88,8 +89,8 @@ import "../utils/formatData.js";
88
89
  import "../Assets/floorplanExtraObject.js";
89
90
  import "../../shared-utils/url/replace-static-prefix.js";
90
91
  import "../../shared-utils/url/absoluteUrl.js";
91
- const Mo = (o, r) => new t(o, r);
92
+ const No = (o, r) => new t(o, r);
92
93
  export {
93
- Mo as PanoFloorplanRadarPlugin,
94
- Mo as default
94
+ No as PanoFloorplanRadarPlugin,
95
+ No as default
95
96
  };
@@ -125,6 +125,7 @@ import "../../shared-utils/three/IObject3D.js";
125
125
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
126
126
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
127
127
  import "../../shared-utils/util.js";
128
+ import "../../shared-utils/five/getFiveFromParentChain.js";
128
129
  import "../../shared-utils/three/core/LineGeometry.js";
129
130
  import "../../shared-utils/three/core/LineMaterial.js";
130
131
  import "../../shared-utils/three/core/Line2.js";
@@ -143,7 +144,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
143
144
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
144
145
  import "@realsee/five";
145
146
  import "../../shared-utils/url/absoluteUrl.js";
146
- class qi extends M {
147
+ class Ji extends M {
147
148
  constructor(t, i) {
148
149
  var h, l;
149
150
  super(t);
@@ -417,5 +418,5 @@ class qi extends M {
417
418
  }
418
419
  }
419
420
  export {
420
- qi as Controller
421
+ Ji as Controller
421
422
  };
@@ -92,6 +92,7 @@ import "../../Sculpt/typings/style.js";
92
92
  import "../../shared-utils/three/IObject3D.js";
93
93
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
94
94
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
95
+ import "../../shared-utils/five/getFiveFromParentChain.js";
95
96
  import "../../shared-utils/three/core/LineGeometry.js";
96
97
  import "../../shared-utils/three/core/LineMaterial.js";
97
98
  import "../../shared-utils/three/core/Line2.js";
@@ -115,8 +116,8 @@ import "../../shared-utils/getPxmm.js";
115
116
  import "../../shared-utils/changeModelCanvasOpacity.js";
116
117
  import "../../shared-utils/url/replace-static-prefix.js";
117
118
  import "../../shared-utils/url/absoluteUrl.js";
118
- const wr = (o, r) => new t(o, r);
119
+ const cr = (o, r) => new t(o, r);
119
120
  export {
120
- wr as TopviewFloorplanPlugin,
121
- wr as default
121
+ cr as TopviewFloorplanPlugin,
122
+ cr as default
122
123
  };
package/libs/index.d.ts CHANGED
@@ -27,4 +27,5 @@ export * from './AreaMakerPlugin';
27
27
  export * from './CurrentPanoImagePlugin';
28
28
  export * from './Sculpt';
29
29
  export * from './ModelMakerPlugin';
30
+ export * from './DigitalPerformancePlugin';
30
31
  export * as Util from './shared-utils/exports';