@realsee/dnalogel 3.47.13 → 3.47.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.
- package/CHANGELOG.md +8 -0
- package/dist/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +18650 -18640
- package/dist/index.umd.js +47 -47
- package/libs/AreaMakerPlugin/Controller.js +78 -150
- package/libs/AreaMakerPlugin/index.js +3 -75
- package/libs/AreaMakerPlugin/utils/Item.js +111 -185
- package/libs/CSS3DRenderPlugin/Controller.js +29 -86
- package/libs/CSS3DRenderPlugin/index.js +12 -69
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +58 -127
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +113 -174
- package/libs/CruisePlugin/BaseController.js +50 -122
- package/libs/CruisePlugin/Move.js +21 -74
- package/libs/CruisePlugin/Work.js +46 -99
- package/libs/CruisePlugin/index.js +26 -79
- package/libs/CurrentPanoImagePlugin/Controller.js +104 -176
- package/libs/CurrentPanoImagePlugin/index.js +4 -76
- package/libs/GuideLinePlugin/Controller.js +26 -79
- package/libs/GuideLinePlugin/GuideLineItem.js +24 -77
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +22 -75
- package/libs/GuideLinePlugin/index.js +26 -79
- package/libs/ModelMakerPlugin/Controller.js +83 -139
- package/libs/ModelMakerPlugin/index.js +16 -72
- package/libs/ModelTVVideoPlugin/Plugin.js +48 -105
- package/libs/ModelTVVideoPlugin/index.js +7 -64
- package/libs/Object3DHelperPlugin/Controller.js +32 -56
- package/libs/Object3DHelperPlugin/index.js +12 -35
- package/libs/PanoCompassPlugin/Controller.js +37 -93
- package/libs/PanoCompassPlugin/index.js +11 -67
- package/libs/PanoDoorLabelPlugin/BaseController.js +25 -97
- package/libs/PanoDoorLabelPlugin/Controller.js +115 -187
- package/libs/PanoDoorLabelPlugin/index.js +4 -76
- package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +96 -141
- package/libs/PanoMeasurePlugin/Controller/EditController.js +66 -111
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -101
- package/libs/PanoMeasurePlugin/Model/area.js +21 -91
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -73
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +27 -72
- package/libs/PanoMeasurePlugin/index.js +25 -67
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +17 -89
- package/libs/PanoSpatialTagPlugin/Plugin.js +106 -163
- package/libs/PanoSpatialTagPlugin/index.js +5 -62
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +67 -141
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +208 -281
- package/libs/PanoTagPlugin/Components/Tag/index.js +180 -251
- package/libs/PanoTagPlugin/Components/TagContainer.js +80 -151
- package/libs/PanoTagPlugin/Components/TagItem.js +67 -138
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +61 -132
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +28 -99
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +30 -101
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +36 -107
- package/libs/PanoTagPlugin/controller/TagRender.js +68 -121
- package/libs/PanoTagPlugin/controller/TagUtil.js +79 -132
- package/libs/PanoTagPlugin/controller/index.js +55 -108
- package/libs/PanoTagPlugin/index.js +31 -84
- package/libs/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/requestIdleCallback.js +5 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +30 -104
- package/libs/PanoVideoPlugin/Controller.js +64 -136
- package/libs/PanoVideoPlugin/VideoMeshController.js +74 -148
- package/libs/PanoVideoPlugin/index.js +8 -80
- package/libs/PipelinePlugin/Controller.js +128 -199
- package/libs/PipelinePlugin/index.js +5 -76
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +17 -91
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -88
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +56 -130
- package/libs/Sculpt/Meshes/Box.js +5 -6
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.d.ts +1 -0
- package/libs/Sculpt/Meshes/Line.js +50 -41
- package/libs/Sculpt/Meshes/Point.js +9 -10
- package/libs/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/libs/Sculpt/Meshes/Polygon.js +47 -37
- package/libs/Sculpt/Meshes/Polyline.js +18 -16
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/Objects/Rectangle/index.js +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +4 -4
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +59 -128
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -75
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +59 -129
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +62 -134
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -76
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +81 -151
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +62 -62
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/lookObject.js +17 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var I = Object.defineProperty;
|
|
2
|
-
var R = (
|
|
3
|
-
var
|
|
2
|
+
var R = (c, r, t) => r in c ? I(c, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[r] = t;
|
|
3
|
+
var s = (c, r, t) => (R(c, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
4
|
import G from "hammerjs";
|
|
5
5
|
import T from "../Modules/DeleteDom/index.js";
|
|
6
6
|
import w from "../utils/isNDCPointInScreen.js";
|
|
@@ -41,120 +41,50 @@ import "../../shared-utils/Subscribe.js";
|
|
|
41
41
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
42
42
|
import "../../shared-utils/five/transformPosition.js";
|
|
43
43
|
import "../../shared-utils/three/temp.js";
|
|
44
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
45
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
46
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
47
|
-
import "../../base/BasePlugin.js";
|
|
48
44
|
import "../../shared-utils/three/THREESphere.js";
|
|
49
45
|
import "animejs";
|
|
50
|
-
import "../../shared-utils/
|
|
46
|
+
import "../../shared-utils/isNil.js";
|
|
51
47
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
52
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
53
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
54
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
55
48
|
import "../../shared-utils/three/IObject3D.js";
|
|
56
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
57
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
58
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
59
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
60
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
61
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
62
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
63
|
-
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
64
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
65
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
66
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
67
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
68
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
69
|
-
import "../../shared-utils/isNil.js";
|
|
70
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
71
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
72
|
-
import "../../shared-utils/util.js";
|
|
73
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
74
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
75
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
76
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
77
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
78
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
79
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
80
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
81
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
82
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
83
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
84
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
85
|
-
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
86
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
87
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
88
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
89
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
90
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
91
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
92
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
93
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
94
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
95
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
96
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
97
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
98
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
99
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
100
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
101
|
-
import "../../shared-utils/three/THREERaycaster.js";
|
|
102
|
-
import "../../shared-utils/three/PointSelector/index.js";
|
|
103
|
-
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
104
|
-
import "../../shared-utils/three/Magnifier.js";
|
|
105
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
106
|
-
import "../../shared-utils/three/Assets/index.js";
|
|
107
|
-
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
108
|
-
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
109
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
110
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
111
|
-
import "../../Sculpt/typings/style.js";
|
|
112
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
113
|
-
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
114
|
-
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
115
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
116
|
-
import "../../shared-utils/isTouchDevice.js";
|
|
117
|
-
import "../../shared-utils/five/getPosition.js";
|
|
118
|
-
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
119
49
|
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
120
50
|
import "../../shared-utils/three/earcut3D.js";
|
|
121
51
|
import "earcut";
|
|
122
52
|
import "../../shared-utils/three/getNormal.js";
|
|
123
53
|
const E = () => !1;
|
|
124
|
-
class
|
|
54
|
+
class jt extends U {
|
|
125
55
|
constructor(t) {
|
|
126
56
|
super(t);
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
57
|
+
s(this, "type", "watch");
|
|
58
|
+
s(this, "deleteDom");
|
|
59
|
+
s(this, "choose");
|
|
130
60
|
// tmd 真没时间改了,先这样吧,理解万岁
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
var
|
|
61
|
+
s(this, "highlightedLines", []);
|
|
62
|
+
s(this, "highlightedArea");
|
|
63
|
+
s(this, "fiveElement");
|
|
64
|
+
s(this, "editPointState");
|
|
65
|
+
s(this, "hammer");
|
|
66
|
+
s(this, "onPanStart", (t) => {
|
|
67
|
+
var p;
|
|
138
68
|
if (this.model.getAllLines().length === 0 || !this.fiveElement)
|
|
139
69
|
return;
|
|
140
|
-
const i = C(t).point, e = (
|
|
70
|
+
const i = C(t).point, e = (p = j(this.five, this.model.getAllPoints(), i, 20)) == null ? void 0 : p.point;
|
|
141
71
|
if (!e) {
|
|
142
72
|
this.editPointState = void 0;
|
|
143
73
|
return;
|
|
144
74
|
}
|
|
145
|
-
const n = this.model.polylines.find((a) => a.includes(e)),
|
|
75
|
+
const n = this.model.polylines.find((a) => a.includes(e)), l = {
|
|
146
76
|
point: e,
|
|
147
77
|
associatedLines: n.lines
|
|
148
78
|
};
|
|
149
79
|
this.hook.emit("wantsDragLine", {
|
|
150
80
|
point: e.id,
|
|
151
|
-
lines:
|
|
152
|
-
}) || (this.editPointState =
|
|
81
|
+
lines: l.associatedLines.map(({ id: a }) => a)
|
|
82
|
+
}) || (this.editPointState = l, this.magnifier.appendTo(this.container), this.magnifier.enable(), this.group.add(this.mouseGroup));
|
|
153
83
|
});
|
|
154
|
-
|
|
84
|
+
s(this, "onPanEnd", () => {
|
|
155
85
|
this.editPointState && (this.editPointState.associatedLines.forEach((t) => t.mesh.setMaterial({ dashed: !1 })), this.highlightLines(this.editPointState.associatedLines), this.editPointState = void 0, this.magnifier.disable(), this.group.remove(this.mouseGroup));
|
|
156
86
|
});
|
|
157
|
-
|
|
87
|
+
s(this, "onPan", (t) => {
|
|
158
88
|
if (!this.editPointState || !this.fiveElement)
|
|
159
89
|
return;
|
|
160
90
|
const i = C(t).ndcPoint, e = new M();
|
|
@@ -162,15 +92,15 @@ class Ze extends U {
|
|
|
162
92
|
const [n] = D(this.five).intersectRaycaster(e);
|
|
163
93
|
n && this.onIntersectionUpdate(n);
|
|
164
94
|
});
|
|
165
|
-
|
|
95
|
+
s(this, "onIntersectionUpdate", (t, i) => {
|
|
166
96
|
if (this.editPointState) {
|
|
167
97
|
if (this.clearHighlightLines(), this.editPointState.point.position.copy(t.point), this.editPointState.associatedLines.forEach((e) => {
|
|
168
98
|
e.mesh.setPoints(e.points[0].position.clone(), e.points[1].position.clone()), e.lightMesh.setPoints(e.points[0].position.clone(), e.points[1].position.clone()), e.mesh.setMaterial({ dashed: !0 });
|
|
169
99
|
}), this.updateDistanceUI(), this.magnifier.renderWithPoint(t.point), this.mouseGroup.position.copy(t.point), i)
|
|
170
100
|
this.mouseGroup.quaternion.copy(i.quaternion);
|
|
171
101
|
else if (t.face) {
|
|
172
|
-
const n = t.face.normal.clone().multiplyScalar(0.05),
|
|
173
|
-
this.mouseGroup.lookAt(
|
|
102
|
+
const n = t.face.normal.clone().multiplyScalar(0.05), d = t.point.clone().add(n).clone().add(n);
|
|
103
|
+
this.mouseGroup.lookAt(d);
|
|
174
104
|
}
|
|
175
105
|
this.five.needsRender = !0, this.hook.emit(
|
|
176
106
|
"selectedChange",
|
|
@@ -178,43 +108,43 @@ class Ze extends U {
|
|
|
178
108
|
);
|
|
179
109
|
}
|
|
180
110
|
});
|
|
181
|
-
|
|
111
|
+
s(this, "wantsPanGesture", () => {
|
|
182
112
|
if (this.editPointState)
|
|
183
113
|
return !1;
|
|
184
114
|
});
|
|
185
|
-
|
|
115
|
+
s(this, "wantsTapGesture", (t) => {
|
|
186
116
|
var S;
|
|
187
|
-
const i = this.model.areas.map((
|
|
117
|
+
const i = this.model.areas.map((o) => t.intersectObject(o.polygon, !0)[0]).sort((o, h) => o.distance - h.distance), e = (S = i[0]) == null ? void 0 : S.object.parent;
|
|
188
118
|
if (e instanceof F) {
|
|
189
|
-
const
|
|
190
|
-
if (
|
|
191
|
-
const { x:
|
|
192
|
-
return this.chooseArea(
|
|
119
|
+
const o = this.model.areas.find((h) => h.polygon === e);
|
|
120
|
+
if (o) {
|
|
121
|
+
const { x: h, y: u } = i[0].point.clone().project(this.five.camera), m = `${(h + 1) / 2 * 100}%`, g = `${(-u + 1) / 2 * 100}%`;
|
|
122
|
+
return this.chooseArea(o, { left: m, top: g }), !1;
|
|
193
123
|
}
|
|
194
124
|
}
|
|
195
|
-
const n = D(this.five), [
|
|
196
|
-
if (!
|
|
125
|
+
const n = D(this.five), [l] = n.intersectRaycaster(t);
|
|
126
|
+
if (!l)
|
|
197
127
|
return;
|
|
198
|
-
const
|
|
199
|
-
const [
|
|
200
|
-
if (!w(
|
|
128
|
+
const d = this.five.camera, p = l.point.clone().project(d), a = this.container.clientWidth, f = this.container.clientHeight, P = new L(p.x * a, p.y * f), v = this.model.getAllLines().map((o) => {
|
|
129
|
+
const [h, u] = o.points, m = h.position.clone().project(d), g = u.position.clone().project(d);
|
|
130
|
+
if (!w(m) && !w(g))
|
|
201
131
|
return null;
|
|
202
|
-
const H = new L(
|
|
203
|
-
return { id:
|
|
204
|
-
}).filter((
|
|
132
|
+
const H = new L(m.x * a, m.y * f), k = new L(g.x * a, g.y * f);
|
|
133
|
+
return { id: o.id, points: [H, k] };
|
|
134
|
+
}).filter((o) => !!o);
|
|
205
135
|
if (v.length === 0)
|
|
206
136
|
return;
|
|
207
|
-
const y = v.map((
|
|
208
|
-
const
|
|
209
|
-
return { id:
|
|
210
|
-
}).sort((
|
|
137
|
+
const y = v.map((o) => {
|
|
138
|
+
const h = b(P, o.points);
|
|
139
|
+
return { id: o.id, distance: h.distanceTo(P) };
|
|
140
|
+
}).sort((o, h) => o.distance - h.distance)[0];
|
|
211
141
|
if (y.distance > 20)
|
|
212
142
|
return;
|
|
213
|
-
const A = this.model.getAllLines().find(({ id:
|
|
143
|
+
const A = this.model.getAllLines().find(({ id: o }) => o === y.id);
|
|
214
144
|
if (A)
|
|
215
145
|
return this.chooseLine(A), !1;
|
|
216
146
|
});
|
|
217
|
-
|
|
147
|
+
s(this, "chooseLine", (t) => {
|
|
218
148
|
this.choose = "line";
|
|
219
149
|
const i = t.getPolyline().lines;
|
|
220
150
|
this.deleteDom.setLines(i).updatePosition().show(), this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
|
|
@@ -222,26 +152,26 @@ class Ze extends U {
|
|
|
222
152
|
i.map((e) => e)
|
|
223
153
|
);
|
|
224
154
|
});
|
|
225
|
-
|
|
155
|
+
s(this, "chooseArea", (t, i) => {
|
|
226
156
|
this.choose = t, this.deleteDom.updatePosition(i.left, `calc(${i.top} - 20px)`).show(), this.highlightArea(t);
|
|
227
157
|
});
|
|
228
|
-
|
|
158
|
+
s(this, "polylineRemoved", (t) => {
|
|
229
159
|
t.lines.forEach((i) => this.removeLine(i)), this.hook.emit(
|
|
230
160
|
"selectedChange",
|
|
231
161
|
this.model.getAllLines().filter((i) => i.selected).map((i) => i)
|
|
232
162
|
);
|
|
233
163
|
});
|
|
234
|
-
|
|
164
|
+
s(this, "onCameraUpdate", () => {
|
|
235
165
|
this.updateDistanceUI(), this.highlightedLines.length > 0 && this.deleteDom.updatePosition();
|
|
236
166
|
});
|
|
237
|
-
|
|
167
|
+
s(this, "deleteArea", (t) => {
|
|
238
168
|
this.unHighlightArea(t), t.dispose(), this.deleteDom.hide();
|
|
239
169
|
});
|
|
240
|
-
|
|
170
|
+
s(this, "deleteLine", () => {
|
|
241
171
|
const t = this.highlightedLines[0], i = this.model.getPolylineByLine(t);
|
|
242
172
|
i && (this.model.removePolyline(i), this.highlightedLines = [], this.deleteDom.setLines([]).hide());
|
|
243
173
|
});
|
|
244
|
-
|
|
174
|
+
s(this, "cancelDeleteClickCallback", () => {
|
|
245
175
|
this.deleteDom.hide(), this.clearHighlightLines(), this.unHighlightArea();
|
|
246
176
|
});
|
|
247
177
|
this.deleteDom = new T(this.five, {
|
|
@@ -294,5 +224,5 @@ class Ze extends U {
|
|
|
294
224
|
}
|
|
295
225
|
}
|
|
296
226
|
export {
|
|
297
|
-
|
|
227
|
+
jt as default
|
|
298
228
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var x = Object.defineProperty;
|
|
2
2
|
var I = Object.getOwnPropertySymbols;
|
|
3
3
|
var D = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var c = (n, s, t) => s in n ? x(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t,
|
|
4
|
+
var c = (n, s, t) => s in n ? x(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t, m = (n, s) => {
|
|
5
5
|
for (var t in s || (s = {}))
|
|
6
6
|
D.call(s, t) && c(n, t, s[t]);
|
|
7
7
|
if (I)
|
|
@@ -10,10 +10,10 @@ var c = (n, s, t) => s in n ? x(n, s, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return n;
|
|
11
11
|
};
|
|
12
12
|
var r = (n, s, t) => (c(n, typeof s != "symbol" ? s + "" : s, t), t);
|
|
13
|
-
import
|
|
13
|
+
import h from "./EditController.js";
|
|
14
14
|
import k from "./ViewController.js";
|
|
15
15
|
import T from "./WatchController.js";
|
|
16
|
-
import
|
|
16
|
+
import a from "./MixedController.js";
|
|
17
17
|
import { omit as G } from "../../shared-utils/filter.js";
|
|
18
18
|
import { Group as S } from "three";
|
|
19
19
|
import { Model as L } from "../Model/index.js";
|
|
@@ -26,7 +26,6 @@ import { Magnifier as V } from "../../shared-utils/three/Magnifier.js";
|
|
|
26
26
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
27
27
|
import "@realsee/five/line";
|
|
28
28
|
import "../../shared-utils/tag.js";
|
|
29
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
30
29
|
import "../../shared-utils/three/THREESphere.js";
|
|
31
30
|
import "animejs";
|
|
32
31
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -76,61 +75,18 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
76
75
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
77
76
|
import "../../shared-utils/five/transformPosition.js";
|
|
78
77
|
import "../../shared-utils/three/temp.js";
|
|
79
|
-
import "../../
|
|
80
|
-
import "../../
|
|
81
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
82
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
83
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
84
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
85
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
86
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
87
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
88
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
89
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
78
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
79
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
90
80
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
91
81
|
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
92
82
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
93
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
94
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
95
|
-
import "../../shared-utils/util.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
97
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
98
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
99
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
100
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
101
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
102
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
103
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
104
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
105
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
106
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
107
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
108
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
109
|
-
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
110
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
111
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
112
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
113
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
114
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
115
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
116
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
117
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
118
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
119
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
120
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
121
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
122
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
123
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
124
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
125
|
-
import "../../shared-utils/three/THREERaycaster.js";
|
|
126
|
-
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
127
|
-
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
128
83
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
129
84
|
import "../../Sculpt/Meshes/Line.js";
|
|
130
85
|
import "../../Sculpt/typings/style.js";
|
|
131
86
|
import "../../Sculpt/utils/removeAllTag.js";
|
|
132
87
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
133
88
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
89
|
+
import "../../shared-utils/util.js";
|
|
134
90
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
135
91
|
import "../../shared-utils/five/getPosition.js";
|
|
136
92
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
@@ -145,6 +101,7 @@ import "../../shared-utils/getPointFromHammerEvent.js";
|
|
|
145
101
|
import "../Modules/rangePiece/index.js";
|
|
146
102
|
import "../../shared-utils/animationFrame/index.js";
|
|
147
103
|
import "../../shared-utils/noop.js";
|
|
104
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
148
105
|
import "../../shared-utils/tap.js";
|
|
149
106
|
import "../Modules/UIController/HTML.js";
|
|
150
107
|
import "../Modules/UIController/mobileHTML.js";
|
|
@@ -164,8 +121,9 @@ import "../../vendor/svelte/transition/index.js";
|
|
|
164
121
|
import "../../vendor/svelte/easing/index.js";
|
|
165
122
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
166
123
|
import "../Components/Tip.js";
|
|
167
|
-
|
|
168
|
-
|
|
124
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
125
|
+
class $e extends H {
|
|
126
|
+
constructor(t, e) {
|
|
169
127
|
var l, u, d, f, g, y, C, M, w, P, b, v;
|
|
170
128
|
super(t);
|
|
171
129
|
r(this, "state", { enabled: !0 });
|
|
@@ -192,10 +150,10 @@ class Oe extends H {
|
|
|
192
150
|
* @description 还原点位展示和默认鼠标 UI
|
|
193
151
|
*/
|
|
194
152
|
r(this, "disable", () => {
|
|
195
|
-
var t,
|
|
196
|
-
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (
|
|
153
|
+
var t, e, i, o;
|
|
154
|
+
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
197
155
|
});
|
|
198
|
-
r(this, "getCurrentMode", () => this.controller instanceof
|
|
156
|
+
r(this, "getCurrentMode", () => this.controller instanceof h ? "Edit" : this.controller instanceof T ? "Watch" : this.controller instanceof a ? "Mixed" : this.controller instanceof k ? "View" : null);
|
|
199
157
|
/** 变更场景
|
|
200
158
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
201
159
|
*/
|
|
@@ -204,16 +162,16 @@ class Oe extends H {
|
|
|
204
162
|
if (!this.hasOpen || this.getCurrentMode() === t)
|
|
205
163
|
return;
|
|
206
164
|
(o = this.controller) == null || o.dispose();
|
|
207
|
-
const
|
|
165
|
+
const e = {
|
|
208
166
|
View: k,
|
|
209
167
|
Watch: T,
|
|
210
|
-
Edit:
|
|
211
|
-
Mixed:
|
|
168
|
+
Edit: h,
|
|
169
|
+
Mixed: a
|
|
212
170
|
};
|
|
213
|
-
if (!
|
|
171
|
+
if (!e[t])
|
|
214
172
|
throw new Error("不存在的 Mode");
|
|
215
|
-
const
|
|
216
|
-
this.controller = new
|
|
173
|
+
const i = this.createControllerParams();
|
|
174
|
+
this.controller = new e[t](i), this.hook.emit("modeChange", t);
|
|
217
175
|
});
|
|
218
176
|
/**
|
|
219
177
|
* @description: 切换测量的类型
|
|
@@ -221,28 +179,28 @@ class Oe extends H {
|
|
|
221
179
|
r(this, "changeMeasureType", (t) => {
|
|
222
180
|
this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
|
|
223
181
|
});
|
|
224
|
-
this.five = t, this.hook = this.hooks, this.params =
|
|
182
|
+
this.five = t, this.hook = this.hooks, this.params = e, this.config = G(e, ["openParams", "magnifierParams"]), this.model = new L(this.config), this.isMobile = (u = (l = e == null ? void 0 : e.openParams) == null ? void 0 : l.isMobile) != null ? u : !1, this.magnifier = new V(
|
|
225
183
|
t,
|
|
226
|
-
(y = (g =
|
|
227
|
-
), this.allowMeasureType = Array.from(new Set((M = (C =
|
|
228
|
-
const
|
|
184
|
+
(y = (g = e.magnifierParams) != null ? g : (f = (d = e.pointSelectorConfig) == null ? void 0 : d.helper) == null ? void 0 : f.magnifierParams) != null ? y : { width: 190, height: 190, scale: 2 }
|
|
185
|
+
), this.allowMeasureType = Array.from(new Set((M = (C = e.editParams) == null ? void 0 : C.allowMeasureType) != null ? M : ["line"])), this.currentMeasureType = (w = this.allowMeasureType[0]) != null ? w : "line", this.group = new S(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
186
|
+
const i = (b = (P = e.editParams) == null ? void 0 : P.pointSelectorMode) != null ? b : K ? "fixed" : "cursor", o = (v = this.params.openParams) != null ? v : {};
|
|
229
187
|
if (this.params.useUIController !== !1) {
|
|
230
|
-
const
|
|
188
|
+
const p = m({
|
|
231
189
|
container: this.container,
|
|
232
190
|
openParams: o,
|
|
233
|
-
i18n:
|
|
234
|
-
pointSelectorMode:
|
|
191
|
+
i18n: e.i18n,
|
|
192
|
+
pointSelectorMode: i,
|
|
235
193
|
useNewUI: this.allowMeasureType.length > 1
|
|
236
194
|
}, U(this.params.useUIController));
|
|
237
|
-
this.useUIController = new W(this,
|
|
195
|
+
this.useUIController = new W(this, p);
|
|
238
196
|
}
|
|
239
197
|
if (this.params.useGuideController !== !1) {
|
|
240
|
-
const
|
|
198
|
+
const p = m({
|
|
241
199
|
container: this.container,
|
|
242
|
-
pointSelectorMode:
|
|
243
|
-
i18n:
|
|
200
|
+
pointSelectorMode: i,
|
|
201
|
+
i18n: e.i18n
|
|
244
202
|
}, U(this.params.useGuideController));
|
|
245
|
-
this.useGuideController = new A(this,
|
|
203
|
+
this.useGuideController = new A(this, p);
|
|
246
204
|
}
|
|
247
205
|
}
|
|
248
206
|
appendTo(t) {
|
|
@@ -252,8 +210,8 @@ class Oe extends H {
|
|
|
252
210
|
this.model.clear();
|
|
253
211
|
}
|
|
254
212
|
dispose() {
|
|
255
|
-
var t,
|
|
256
|
-
this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (
|
|
213
|
+
var t, e;
|
|
214
|
+
this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (e = this.magnifier) == null || e.dispose(), this.five.needsRender = !0;
|
|
257
215
|
}
|
|
258
216
|
/** 加载数据
|
|
259
217
|
* @description 数据加载时会覆盖当前已保存的数据
|
|
@@ -267,18 +225,18 @@ class Oe extends H {
|
|
|
267
225
|
* @description 会隐藏当前 VR 内的点位展示
|
|
268
226
|
*/
|
|
269
227
|
enable(t) {
|
|
270
|
-
var
|
|
271
|
-
this.hasOpen || (this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (
|
|
228
|
+
var e, i;
|
|
229
|
+
this.hasOpen || (this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), (i = this.useGuideController) == null || i.show(), this.shortcutKeyController = new B(this, this.five), this.hook.emit("enable", !0));
|
|
272
230
|
}
|
|
273
231
|
/** 进入编辑模式 */
|
|
274
232
|
edit(t) {
|
|
275
233
|
t && this.changeMeasureType(t);
|
|
276
|
-
const
|
|
277
|
-
this.changeMode(
|
|
234
|
+
const e = this.isMobile ? "Mixed" : "Edit";
|
|
235
|
+
this.changeMode(e);
|
|
278
236
|
}
|
|
279
237
|
/** 撤销编辑 */
|
|
280
238
|
revoke() {
|
|
281
|
-
this.controller instanceof
|
|
239
|
+
this.controller instanceof h && this.controller.revoke();
|
|
282
240
|
}
|
|
283
241
|
removePolyline(t) {
|
|
284
242
|
this.model.removePolyline(t);
|
|
@@ -287,8 +245,8 @@ class Oe extends H {
|
|
|
287
245
|
this.model.removeArea(t);
|
|
288
246
|
}
|
|
289
247
|
removePolylineByID(t) {
|
|
290
|
-
const
|
|
291
|
-
|
|
248
|
+
const e = this.model.getPolylineByID(t);
|
|
249
|
+
e && this.model.removePolyline(e);
|
|
292
250
|
}
|
|
293
251
|
getPolylineByID(t) {
|
|
294
252
|
return this.model.getPolylineByID(t);
|
|
@@ -301,8 +259,8 @@ class Oe extends H {
|
|
|
301
259
|
highlightLine(t) {
|
|
302
260
|
if (this.getCurrentMode() !== "Watch")
|
|
303
261
|
return !1;
|
|
304
|
-
const
|
|
305
|
-
return
|
|
262
|
+
const e = this.model.getLineByID(t);
|
|
263
|
+
return e ? (this.controller.highlightLine(e), !0) : !1;
|
|
306
264
|
}
|
|
307
265
|
clearHighlightLines() {
|
|
308
266
|
return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
|
|
@@ -312,20 +270,20 @@ class Oe extends H {
|
|
|
312
270
|
*/
|
|
313
271
|
save(t) {
|
|
314
272
|
var o;
|
|
315
|
-
if (!(this.controller instanceof
|
|
273
|
+
if (!(this.controller instanceof h) && !(this.controller instanceof a))
|
|
316
274
|
return this;
|
|
317
|
-
const
|
|
318
|
-
return this.controller instanceof
|
|
275
|
+
const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", i = this.controller.model.areas;
|
|
276
|
+
return this.controller instanceof h ? this.controller.complete() : i.forEach((l) => {
|
|
319
277
|
l.showArea(), this.model.addArea(l);
|
|
320
|
-
}), this.changeMode(
|
|
278
|
+
}), this.changeMode(e), this;
|
|
321
279
|
}
|
|
322
280
|
/** Mixed 模式才有用,添加起点 */
|
|
323
281
|
addStartPoint() {
|
|
324
|
-
this.controller instanceof
|
|
282
|
+
this.controller instanceof a && this.hook.emit("willChangeState", "watching", "editing");
|
|
325
283
|
}
|
|
326
284
|
/** Mixed 模式才有用,添加终点 */
|
|
327
285
|
addEndPoint() {
|
|
328
|
-
this.controller instanceof
|
|
286
|
+
this.controller instanceof a && this.hook.emit("willChangeState", "editing", "watching");
|
|
329
287
|
}
|
|
330
288
|
/** 导出数据 */
|
|
331
289
|
toJson() {
|
|
@@ -339,20 +297,20 @@ class Oe extends H {
|
|
|
339
297
|
changeIsMobile(t) {
|
|
340
298
|
}
|
|
341
299
|
changeConfigs(t) {
|
|
342
|
-
var
|
|
343
|
-
Object.assign(this.config, t), (
|
|
300
|
+
var e, i;
|
|
301
|
+
Object.assign(this.config, t), (e = this.controller) == null || e.updateDistanceUI(), (i = this.controller) == null || i.updateAreaUI();
|
|
344
302
|
}
|
|
345
303
|
/** 设置线段的文本 */
|
|
346
|
-
setCustomText(t,
|
|
304
|
+
setCustomText(t, e) {
|
|
347
305
|
var o;
|
|
348
|
-
const
|
|
349
|
-
if (!
|
|
306
|
+
const i = this.model.getLineByID(t);
|
|
307
|
+
if (!i)
|
|
350
308
|
throw new Error("不存在的线段");
|
|
351
|
-
|
|
309
|
+
i.setText(e), (o = this.controller) == null || o.updateDistanceUI();
|
|
352
310
|
}
|
|
353
311
|
createControllerParams() {
|
|
354
|
-
var
|
|
355
|
-
const t = (
|
|
312
|
+
var i, o;
|
|
313
|
+
const t = (i = this.params.openParams) != null ? i : {}, e = (o = this.params.editParams) != null ? o : {};
|
|
356
314
|
return t.isMobile = this.isMobile, {
|
|
357
315
|
five: this.five,
|
|
358
316
|
hook: this.hook,
|
|
@@ -363,15 +321,15 @@ class Oe extends H {
|
|
|
363
321
|
container: this.container,
|
|
364
322
|
workUtil: this.workUtil,
|
|
365
323
|
openParams: t,
|
|
366
|
-
editParams:
|
|
324
|
+
editParams: e,
|
|
367
325
|
pointSelectorConfig: this.params.pointSelectorConfig,
|
|
368
326
|
magnifierParams: this.params.magnifierParams,
|
|
369
327
|
getMeasureType: () => this.currentMeasureType,
|
|
370
|
-
mouseGroup: O(
|
|
328
|
+
mouseGroup: O(m({}, t.crossHairParameter)),
|
|
371
329
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
372
330
|
};
|
|
373
331
|
}
|
|
374
332
|
}
|
|
375
333
|
export {
|
|
376
|
-
|
|
334
|
+
$e as default
|
|
377
335
|
};
|