@realsee/dnalogel 3.43.0 → 3.44.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.
- package/CHANGELOG.md +4 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/dist/Sculpt/Meshes/Line.d.ts +19 -1
- package/dist/Sculpt/utils/color.d.ts +1 -1
- package/dist/index.cjs.js +102 -68
- package/dist/index.js +7374 -7116
- package/dist/index.umd.js +106 -72
- package/dist/shared-utils/five/getPosition.d.ts +12 -4
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
- package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
- package/dist/shared-utils/positionToVector3.d.ts +6 -6
- package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/dist/shared-utils/three/index.d.ts +2 -3
- package/libs/AreaMakerPlugin/Controller.js +5 -18
- package/libs/AreaMakerPlugin/index.js +4 -17
- package/libs/AreaMakerPlugin/utils/Item.js +13 -26
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +12 -9
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
- package/libs/CruisePlugin/BaseController.js +20 -33
- package/libs/CruisePlugin/Move.js +25 -23
- package/libs/CruisePlugin/Work.js +10 -8
- package/libs/CruisePlugin/index.js +23 -21
- package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
- package/libs/CurrentPanoImagePlugin/index.js +5 -18
- package/libs/GuideLinePlugin/Controller.js +15 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
- package/libs/GuideLinePlugin/index.js +23 -21
- package/libs/ModelMakerPlugin/Controller.js +19 -30
- package/libs/ModelMakerPlugin/index.js +11 -22
- package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
- package/libs/ModelTVVideoPlugin/index.js +12 -9
- package/libs/Object3DHelperPlugin/Controller.js +7 -5
- package/libs/Object3DHelperPlugin/index.js +23 -21
- package/libs/PanoCompassPlugin/Controller.js +18 -15
- package/libs/PanoCompassPlugin/index.js +21 -18
- package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
- package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
- package/libs/PanoDoorLabelPlugin/index.js +5 -18
- package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
- package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
- package/libs/PanoMeasurePlugin/Model/area.js +30 -44
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +35 -40
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
- package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
- package/libs/PanoSpatialTagPlugin/index.js +10 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +29 -43
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
- package/libs/PanoTagPlugin/Components/Tag/index.js +9 -19
- package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
- package/libs/PanoTagPlugin/Components/TagItem.js +9 -19
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +23 -33
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
- package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
- package/libs/PanoTagPlugin/controller/index.js +27 -25
- package/libs/PanoTagPlugin/index.js +28 -26
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
- package/libs/PanoVideoPlugin/Controller.js +52 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
- package/libs/PanoVideoPlugin/index.js +8 -21
- package/libs/PipelinePlugin/Controller.js +44 -57
- package/libs/PipelinePlugin/index.js +5 -18
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
- package/libs/Sculpt/Meshes/Box.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +14 -14
- package/libs/Sculpt/Meshes/Line.d.ts +19 -1
- package/libs/Sculpt/Meshes/Line.js +40 -41
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polyline.js +3 -3
- package/libs/Sculpt/Meshes/Prism.js +11 -12
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/Modules/Global.js +1 -1
- package/libs/Sculpt/utils/color.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/Components/Compass.js +29 -31
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +140 -137
- package/libs/shared-utils/five/getPosition.d.ts +12 -4
- package/libs/shared-utils/five/getPosition.js +23 -23
- package/libs/shared-utils/five/index.js +2 -2
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +38 -40
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
- package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +6 -6
- package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
- package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
- package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
- package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
- package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/libs/shared-utils/three/index.d.ts +2 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/package.json +3 -3
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -62
- package/libs/shared-utils/three/PointHelper.js +0 -73
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
- /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
|
@@ -30,43 +30,36 @@ import "../../shared-utils/three/getNormal.js";
|
|
|
30
30
|
import "../utils/dom/areaDom.js";
|
|
31
31
|
import "../../shared-utils/three/geometryUtil.js";
|
|
32
32
|
import "hammerjs";
|
|
33
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
35
|
-
import "../../shared-utils/positionToVector3.js";
|
|
36
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
37
33
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
38
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
39
|
-
import "../../shared-utils/util.js";
|
|
40
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
41
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
42
|
-
import "../../shared-utils/Subscribe.js";
|
|
43
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
44
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
45
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
47
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
48
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
49
34
|
import "../../shared-utils/three/THREESphere.js";
|
|
50
35
|
import "animejs";
|
|
51
36
|
import "../../shared-utils/isNil.js";
|
|
37
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
52
38
|
import "../utils/isIntersecting.js";
|
|
53
|
-
import "../../shared-utils/three/PointSelector.js";
|
|
54
|
-
import "../../shared-utils/three/PointSelectorHelper.js";
|
|
39
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
40
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
55
41
|
import "../../shared-utils/three/Magnifier.js";
|
|
56
|
-
import "../../shared-utils/
|
|
42
|
+
import "../../shared-utils/Subscribe.js";
|
|
43
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
57
44
|
import "../../shared-utils/three/Assets/index.js";
|
|
58
|
-
import "../../
|
|
59
|
-
import "
|
|
60
|
-
import "../../CSS3DRenderPlugin/
|
|
61
|
-
import "../../
|
|
62
|
-
import "../../shared-utils/
|
|
63
|
-
import "../../shared-utils/five/
|
|
64
|
-
import "../../
|
|
65
|
-
import "../../
|
|
66
|
-
import "../../
|
|
45
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
47
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
48
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
49
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
50
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
51
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
52
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
53
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
54
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
55
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
56
|
+
import "../../Sculpt/utils/color.js";
|
|
57
|
+
import "../../shared-utils/positionToVector3.js";
|
|
58
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
67
59
|
import "../../shared-utils/isTouchDevice.js";
|
|
68
60
|
import "../../shared-utils/five/getPosition.js";
|
|
69
61
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
62
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
70
63
|
import "../Modules/DeleteDom/index.js";
|
|
71
64
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
72
65
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -112,17 +105,17 @@ function O(n) {
|
|
|
112
105
|
let o, i, t, f, p = (
|
|
113
106
|
/*i18n*/
|
|
114
107
|
n[2]("撤销") + ""
|
|
115
|
-
), d, v,
|
|
108
|
+
), d, v, a, m, b, c = (
|
|
116
109
|
/*i18n*/
|
|
117
110
|
n[2]("结束") + ""
|
|
118
111
|
), r, l, _;
|
|
119
112
|
return {
|
|
120
113
|
c() {
|
|
121
|
-
o = h("div"), i = h("div"), t = h("div"), f = C(), d = y(p), v = C(),
|
|
122
|
-
n[3]), g(
|
|
114
|
+
o = h("div"), i = h("div"), t = h("div"), f = C(), d = y(p), v = C(), a = h("div"), m = h("div"), b = C(), r = y(c), g(t, "class", "icon svelte-468fdd"), E(t, "background-image", `url(${ee})`), g(i, "class", "button svelte-468fdd"), z(i, "forbid", !/*canRevoke*/
|
|
115
|
+
n[3]), g(m, "class", "icon svelte-468fdd"), E(m, "background-image", `url(${te})`), g(a, "class", "button svelte-468fdd"), g(o, "class", "buttons svelte-468fdd");
|
|
123
116
|
},
|
|
124
117
|
m(u, e) {
|
|
125
|
-
R(u, o, e), s(o, i), s(i, t), s(i, f), s(i, d), s(o, v), s(o,
|
|
118
|
+
R(u, o, e), s(o, i), s(i, t), s(i, f), s(i, d), s(o, v), s(o, a), s(a, m), s(a, b), s(a, r), l || (_ = [
|
|
126
119
|
S(
|
|
127
120
|
i,
|
|
128
121
|
"click",
|
|
@@ -130,7 +123,7 @@ function O(n) {
|
|
|
130
123
|
n[7]
|
|
131
124
|
),
|
|
132
125
|
S(
|
|
133
|
-
|
|
126
|
+
a,
|
|
134
127
|
"click",
|
|
135
128
|
/*complete*/
|
|
136
129
|
n[6]
|
|
@@ -152,7 +145,7 @@ function O(n) {
|
|
|
152
145
|
};
|
|
153
146
|
}
|
|
154
147
|
function ie(n) {
|
|
155
|
-
let o, i, t, f, p, d, v,
|
|
148
|
+
let o, i, t, f, p, d, v, a, m, b, c, r = (
|
|
156
149
|
/*showExit*/
|
|
157
150
|
n[1] && L(n)
|
|
158
151
|
), l = (
|
|
@@ -189,12 +182,12 @@ function ie(n) {
|
|
|
189
182
|
return (
|
|
190
183
|
/*setSwitcherActiveIndex*/
|
|
191
184
|
n[4] !== void 0 && (u.setIndex = /*setSwitcherActiveIndex*/
|
|
192
|
-
n[4]),
|
|
185
|
+
n[4]), m = new Y({ props: u }), G.push(() => H(m, "setIndex", _)), {
|
|
193
186
|
c() {
|
|
194
|
-
o = h("div"), r && r.c(), i = C(), t = h("div"), f = h("div"), p = C(), d = h("div"), l && l.c(), v = C(),
|
|
187
|
+
o = h("div"), r && r.c(), i = C(), t = h("div"), f = h("div"), p = C(), d = h("div"), l && l.c(), v = C(), a = h("div"), P(m.$$.fragment), g(f, "class", "mask svelte-468fdd"), g(a, "class", "mode-switcher svelte-468fdd"), g(d, "class", "center svelte-468fdd"), g(t, "class", "bottom svelte-468fdd"), g(o, "class", "Measure-Controller svelte-468fdd");
|
|
195
188
|
},
|
|
196
189
|
m(e, k) {
|
|
197
|
-
R(e, o, k), r && r.m(o, null), s(o, i), s(o, t), s(t, f), s(t, p), s(t, d), l && l.m(d, null), s(d, v), s(d,
|
|
190
|
+
R(e, o, k), r && r.m(o, null), s(o, i), s(o, t), s(t, f), s(t, p), s(t, d), l && l.m(d, null), s(d, v), s(d, a), T(m, a, null), c = !0;
|
|
198
191
|
},
|
|
199
192
|
p(e, [k]) {
|
|
200
193
|
/*showExit*/
|
|
@@ -226,26 +219,26 @@ function ie(n) {
|
|
|
226
219
|
1 && (M.onChange = /*func*/
|
|
227
220
|
e[8]), !b && k & /*setSwitcherActiveIndex*/
|
|
228
221
|
16 && (b = !0, M.setIndex = /*setSwitcherActiveIndex*/
|
|
229
|
-
e[4], K(() => b = !1)),
|
|
222
|
+
e[4], K(() => b = !1)), m.$set(M);
|
|
230
223
|
},
|
|
231
224
|
i(e) {
|
|
232
|
-
c || (w(r), w(
|
|
225
|
+
c || (w(r), w(m.$$.fragment, e), c = !0);
|
|
233
226
|
},
|
|
234
227
|
o(e) {
|
|
235
|
-
I(r), I(
|
|
228
|
+
I(r), I(m.$$.fragment, e), c = !1;
|
|
236
229
|
},
|
|
237
230
|
d(e) {
|
|
238
|
-
e && U(o), r && r.d(), l && l.d(), W(
|
|
231
|
+
e && U(o), r && r.d(), l && l.d(), W(m);
|
|
239
232
|
}
|
|
240
233
|
}
|
|
241
234
|
);
|
|
242
235
|
}
|
|
243
236
|
function re(n, o, i) {
|
|
244
237
|
let { measureController: t } = o, { showExit: f = !1 } = o, { i18n: p = (e) => e } = o, d = !1, v;
|
|
245
|
-
function
|
|
238
|
+
function a(e) {
|
|
246
239
|
e === "Edit" ? i(5, r = !0) : (v(null), i(5, r = !1));
|
|
247
240
|
}
|
|
248
|
-
function
|
|
241
|
+
function m() {
|
|
249
242
|
t.controller instanceof $ && t.controller.complete(), t.save({ mode: "Watch" });
|
|
250
243
|
}
|
|
251
244
|
function b(e) {
|
|
@@ -255,9 +248,9 @@ function re(n, o, i) {
|
|
|
255
248
|
i(3, d = !1);
|
|
256
249
|
}
|
|
257
250
|
N(() => {
|
|
258
|
-
t.hook.on("modeChange",
|
|
251
|
+
t.hook.on("modeChange", a), t.hook.on("complete", c), t.hook.on("pointsChange", b);
|
|
259
252
|
}), Q(() => {
|
|
260
|
-
t.hook.off("modeChange",
|
|
253
|
+
t.hook.off("modeChange", a), t.hook.off("complete", c), t.hook.off("pointsChange", b);
|
|
261
254
|
});
|
|
262
255
|
let r = !1;
|
|
263
256
|
const l = () => t.revoke(), _ = (e) => {
|
|
@@ -275,13 +268,13 @@ function re(n, o, i) {
|
|
|
275
268
|
d,
|
|
276
269
|
v,
|
|
277
270
|
r,
|
|
278
|
-
|
|
271
|
+
m,
|
|
279
272
|
l,
|
|
280
273
|
_,
|
|
281
274
|
u
|
|
282
275
|
];
|
|
283
276
|
}
|
|
284
|
-
class
|
|
277
|
+
class bt extends j {
|
|
285
278
|
constructor(o) {
|
|
286
279
|
super(), x(
|
|
287
280
|
this,
|
|
@@ -299,5 +292,5 @@ class yt extends j {
|
|
|
299
292
|
}
|
|
300
293
|
}
|
|
301
294
|
export {
|
|
302
|
-
|
|
295
|
+
bt as default
|
|
303
296
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as
|
|
1
|
+
import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as le, onDestroy as ie, add_render_callback as F, create_bidirectional_transition as E, text as V, set_style as W, listen as X, set_data as Y, group_outros as B } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import ne from "./Common/Switcher1.js";
|
|
3
3
|
import se from "./Common/CircleButton.js";
|
|
4
4
|
import H from "../Controller/EditController.js";
|
|
@@ -34,43 +34,36 @@ import "../../shared-utils/three/getNormal.js";
|
|
|
34
34
|
import "../utils/dom/areaDom.js";
|
|
35
35
|
import "../../shared-utils/three/geometryUtil.js";
|
|
36
36
|
import "hammerjs";
|
|
37
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
38
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
-
import "../../shared-utils/positionToVector3.js";
|
|
40
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
41
37
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
42
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
43
|
-
import "../../shared-utils/util.js";
|
|
44
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
45
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
46
|
-
import "../../shared-utils/Subscribe.js";
|
|
47
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
48
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
49
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
50
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
51
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
52
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
38
|
import "../../shared-utils/three/THREESphere.js";
|
|
54
39
|
import "animejs";
|
|
55
40
|
import "../../shared-utils/isNil.js";
|
|
41
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
56
42
|
import "../utils/isIntersecting.js";
|
|
57
|
-
import "../../shared-utils/three/PointSelector.js";
|
|
58
|
-
import "../../shared-utils/three/PointSelectorHelper.js";
|
|
43
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
44
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
59
45
|
import "../../shared-utils/three/Magnifier.js";
|
|
60
|
-
import "../../shared-utils/
|
|
46
|
+
import "../../shared-utils/Subscribe.js";
|
|
47
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
61
48
|
import "../../shared-utils/three/Assets/index.js";
|
|
62
|
-
import "../../
|
|
63
|
-
import "
|
|
64
|
-
import "../../CSS3DRenderPlugin/
|
|
65
|
-
import "../../
|
|
66
|
-
import "../../shared-utils/
|
|
67
|
-
import "../../shared-utils/five/
|
|
68
|
-
import "../../
|
|
69
|
-
import "../../
|
|
70
|
-
import "../../
|
|
49
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
50
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
51
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
52
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
53
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
54
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
55
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
56
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
57
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
58
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
59
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
60
|
+
import "../../Sculpt/utils/color.js";
|
|
61
|
+
import "../../shared-utils/positionToVector3.js";
|
|
62
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
71
63
|
import "../../shared-utils/isTouchDevice.js";
|
|
72
64
|
import "../../shared-utils/five/getPosition.js";
|
|
73
65
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
66
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
74
67
|
import "../Modules/DeleteDom/index.js";
|
|
75
68
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
76
69
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -80,7 +73,7 @@ function fe(o) {
|
|
|
80
73
|
re(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
|
|
81
74
|
}
|
|
82
75
|
function J(o) {
|
|
83
|
-
let t,
|
|
76
|
+
let t, l;
|
|
84
77
|
return t = new ae({
|
|
85
78
|
props: {
|
|
86
79
|
onClick: (
|
|
@@ -93,19 +86,19 @@ function J(o) {
|
|
|
93
86
|
q(t.$$.fragment);
|
|
94
87
|
},
|
|
95
88
|
m(e, a) {
|
|
96
|
-
O(t, e, a),
|
|
89
|
+
O(t, e, a), l = !0;
|
|
97
90
|
},
|
|
98
91
|
p(e, a) {
|
|
99
|
-
const
|
|
92
|
+
const i = {};
|
|
100
93
|
a & /*measureController*/
|
|
101
|
-
1 && (
|
|
102
|
-
e[0].disable), t.$set(
|
|
94
|
+
1 && (i.onClick = /*measureController*/
|
|
95
|
+
e[0].disable), t.$set(i);
|
|
103
96
|
},
|
|
104
97
|
i(e) {
|
|
105
|
-
|
|
98
|
+
l || (k(t.$$.fragment, e), l = !0);
|
|
106
99
|
},
|
|
107
100
|
o(e) {
|
|
108
|
-
_(t.$$.fragment, e),
|
|
101
|
+
_(t.$$.fragment, e), l = !1;
|
|
109
102
|
},
|
|
110
103
|
d(e) {
|
|
111
104
|
U(t, e);
|
|
@@ -113,8 +106,8 @@ function J(o) {
|
|
|
113
106
|
};
|
|
114
107
|
}
|
|
115
108
|
function L(o) {
|
|
116
|
-
let t,
|
|
117
|
-
return
|
|
109
|
+
let t, l, e, a;
|
|
110
|
+
return l = new ne({
|
|
118
111
|
props: {
|
|
119
112
|
options: [
|
|
120
113
|
{
|
|
@@ -143,13 +136,13 @@ function L(o) {
|
|
|
143
136
|
}
|
|
144
137
|
}), {
|
|
145
138
|
c() {
|
|
146
|
-
t = j("div"), q(
|
|
139
|
+
t = j("div"), q(l.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
|
|
147
140
|
},
|
|
148
|
-
m(
|
|
149
|
-
I(
|
|
141
|
+
m(i, n) {
|
|
142
|
+
I(i, t, n), O(l, t, null), a = !0;
|
|
150
143
|
},
|
|
151
|
-
p(
|
|
152
|
-
o =
|
|
144
|
+
p(i, n) {
|
|
145
|
+
o = i;
|
|
153
146
|
const m = {};
|
|
154
147
|
n & /*i18n*/
|
|
155
148
|
4 && (m.options = [
|
|
@@ -171,29 +164,29 @@ function L(o) {
|
|
|
171
164
|
1 && (m.defaultKey = /*measureController*/
|
|
172
165
|
o[0].currentMeasureType), n & /*measureController*/
|
|
173
166
|
1 && (m.onChange = /*measureController*/
|
|
174
|
-
o[0].changeMeasureType),
|
|
167
|
+
o[0].changeMeasureType), l.$set(m);
|
|
175
168
|
},
|
|
176
|
-
i(
|
|
177
|
-
a || (k(
|
|
169
|
+
i(i) {
|
|
170
|
+
a || (k(l.$$.fragment, i), i && F(() => {
|
|
178
171
|
a && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
|
|
179
172
|
}), a = !0);
|
|
180
173
|
},
|
|
181
|
-
o(
|
|
182
|
-
_(
|
|
174
|
+
o(i) {
|
|
175
|
+
_(l.$$.fragment, i), i && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
|
|
183
176
|
},
|
|
184
|
-
d(
|
|
185
|
-
|
|
177
|
+
d(i) {
|
|
178
|
+
i && K(t), U(l), i && e && e.end();
|
|
186
179
|
}
|
|
187
180
|
};
|
|
188
181
|
}
|
|
189
182
|
function N(o) {
|
|
190
|
-
let t,
|
|
183
|
+
let t, l, e, a = (
|
|
191
184
|
/*i18n*/
|
|
192
185
|
o[2]("撤销") + ""
|
|
193
|
-
),
|
|
186
|
+
), i, n, m, f, C;
|
|
194
187
|
return {
|
|
195
188
|
c() {
|
|
196
|
-
t = j("div"),
|
|
189
|
+
t = j("div"), l = j("div"), e = T(), i = V(a), w(l, "class", "icon svelte-ldjbp8"), W(l, "background-image", `url(${me})`), w(t, "class", "button svelte-ldjbp8"), D(
|
|
197
190
|
t,
|
|
198
191
|
"forbid",
|
|
199
192
|
/*buttonState*/
|
|
@@ -201,7 +194,7 @@ function N(o) {
|
|
|
201
194
|
);
|
|
202
195
|
},
|
|
203
196
|
m(r, c) {
|
|
204
|
-
I(r, t, c), g(t,
|
|
197
|
+
I(r, t, c), g(t, l), g(t, e), g(t, i), m = !0, f || (C = X(
|
|
205
198
|
t,
|
|
206
199
|
"click",
|
|
207
200
|
/*click_handler*/
|
|
@@ -211,7 +204,7 @@ function N(o) {
|
|
|
211
204
|
p(r, c) {
|
|
212
205
|
o = r, (!m || c & /*i18n*/
|
|
213
206
|
4) && a !== (a = /*i18n*/
|
|
214
|
-
o[2]("撤销") + "") && Y(
|
|
207
|
+
o[2]("撤销") + "") && Y(i, a), (!m || c & /*buttonState*/
|
|
215
208
|
8) && D(
|
|
216
209
|
t,
|
|
217
210
|
"forbid",
|
|
@@ -233,16 +226,16 @@ function N(o) {
|
|
|
233
226
|
};
|
|
234
227
|
}
|
|
235
228
|
function Q(o) {
|
|
236
|
-
let t,
|
|
229
|
+
let t, l, e, a = (
|
|
237
230
|
/*i18n*/
|
|
238
231
|
o[2]("结束") + ""
|
|
239
|
-
),
|
|
232
|
+
), i, n, m, f, C;
|
|
240
233
|
return {
|
|
241
234
|
c() {
|
|
242
|
-
t = j("div"),
|
|
235
|
+
t = j("div"), l = j("div"), e = T(), i = V(a), w(l, "class", "icon svelte-ldjbp8"), W(l, "background-image", `url(${pe})`), w(t, "class", "button svelte-ldjbp8");
|
|
243
236
|
},
|
|
244
237
|
m(r, c) {
|
|
245
|
-
I(r, t, c), g(t,
|
|
238
|
+
I(r, t, c), g(t, l), g(t, e), g(t, i), m = !0, f || (C = X(
|
|
246
239
|
t,
|
|
247
240
|
"click",
|
|
248
241
|
/*complete*/
|
|
@@ -252,7 +245,7 @@ function Q(o) {
|
|
|
252
245
|
p(r, c) {
|
|
253
246
|
o = r, (!m || c & /*i18n*/
|
|
254
247
|
4) && a !== (a = /*i18n*/
|
|
255
|
-
o[2]("结束") + "") && Y(
|
|
248
|
+
o[2]("结束") + "") && Y(i, a);
|
|
256
249
|
},
|
|
257
250
|
i(r) {
|
|
258
251
|
m || (r && F(() => {
|
|
@@ -268,7 +261,7 @@ function Q(o) {
|
|
|
268
261
|
};
|
|
269
262
|
}
|
|
270
263
|
function ue(o) {
|
|
271
|
-
let t,
|
|
264
|
+
let t, l, e, a, i, n, m, f, C, r, c, z, M, b = (
|
|
272
265
|
/*showExit*/
|
|
273
266
|
o[1] && J(o)
|
|
274
267
|
), p = (
|
|
@@ -307,16 +300,16 @@ function ue(o) {
|
|
|
307
300
|
);
|
|
308
301
|
return {
|
|
309
302
|
c() {
|
|
310
|
-
t = j("div"), b && b.c(),
|
|
303
|
+
t = j("div"), b && b.c(), l = T(), e = j("div"), a = j("div"), i = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), q(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
|
|
311
304
|
o[5]), w(f, "class", "controller svelte-ldjbp8"), w(n, "class", "center svelte-ldjbp8"), w(e, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
|
|
312
305
|
},
|
|
313
306
|
m(s, v) {
|
|
314
|
-
I(s, t, v), b && b.m(t, null), g(t,
|
|
307
|
+
I(s, t, v), b && b.m(t, null), g(t, l), g(t, e), g(e, a), g(e, i), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), O(c, r, null), g(f, z), d && d.m(f, null), M = !0;
|
|
315
308
|
},
|
|
316
309
|
p(s, [v]) {
|
|
317
310
|
/*showExit*/
|
|
318
311
|
s[1] ? b ? (b.p(s, v), v & /*showExit*/
|
|
319
|
-
2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t,
|
|
312
|
+
2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t, l)) : b && (B(), _(b, 1, 1, () => {
|
|
320
313
|
b = null;
|
|
321
314
|
}), R()), /*measureController*/
|
|
322
315
|
s[0].allowMeasureType.length >= 2 && /*buttonState*/
|
|
@@ -361,13 +354,13 @@ function ue(o) {
|
|
|
361
354
|
};
|
|
362
355
|
}
|
|
363
356
|
const P = 100;
|
|
364
|
-
function de(o, t,
|
|
365
|
-
let { measureController: e } = t, { showExit: a = !1 } = t, { i18n:
|
|
357
|
+
function de(o, t, l) {
|
|
358
|
+
let { measureController: e } = t, { showExit: a = !1 } = t, { i18n: i = (h) => h } = t;
|
|
366
359
|
const n = {
|
|
367
|
-
start:
|
|
368
|
-
add:
|
|
369
|
-
end:
|
|
370
|
-
complete:
|
|
360
|
+
start: i("开始"),
|
|
361
|
+
add: i("添加"),
|
|
362
|
+
end: i("结束"),
|
|
363
|
+
complete: i("完成")
|
|
371
364
|
}, m = {
|
|
372
365
|
start: "white",
|
|
373
366
|
add: "white",
|
|
@@ -382,7 +375,7 @@ function de(o, t, i) {
|
|
|
382
375
|
}, b = () => {
|
|
383
376
|
e.controller instanceof H && e.controller.complete();
|
|
384
377
|
}, p = (h) => {
|
|
385
|
-
|
|
378
|
+
l(3, r = h);
|
|
386
379
|
}, u = () => {
|
|
387
380
|
M(), A("allow");
|
|
388
381
|
}, d = () => {
|
|
@@ -394,29 +387,29 @@ function de(o, t, i) {
|
|
|
394
387
|
}, y = () => {
|
|
395
388
|
p("start"), A("allow");
|
|
396
389
|
}, A = (h) => {
|
|
397
|
-
|
|
390
|
+
l(5, C = h === "allow");
|
|
398
391
|
}, G = (h) => {
|
|
399
|
-
|
|
392
|
+
l(12, c = h);
|
|
400
393
|
}, Z = (h) => {
|
|
401
394
|
h.isEmpty && p("start");
|
|
402
395
|
};
|
|
403
|
-
|
|
396
|
+
le(() => {
|
|
404
397
|
e.hook.on("revoke", Z), e.hook.on("measureTypeChange", G), e.hook.on("modeChange", y), e.hook.on("pointsChange", v), e.hook.on("allowAddPointStateChange", A), e.hook.on("readyComplete", d), e.hook.on("notReadyComplete", s), e.hook.on("complete", y);
|
|
405
|
-
}),
|
|
398
|
+
}), ie(() => {
|
|
406
399
|
e.hook.off("measureTypeChange", G), e.hook.off("modeChange", y), e.hook.off("allowAddPointStateChange", A), e.hook.off("readyComplete", d), e.hook.off("pointsChange", v), e.hook.off("notReadyComplete", s), e.hook.off("complete", y);
|
|
407
400
|
});
|
|
408
401
|
const $ = () => e.revoke(), x = () => {
|
|
409
402
|
r === "start" ? z() : r === "add" ? M() : (r === "end" || r === "complete") && u();
|
|
410
403
|
};
|
|
411
404
|
return o.$$set = (h) => {
|
|
412
|
-
"measureController" in h &&
|
|
405
|
+
"measureController" in h && l(0, e = h.measureController), "showExit" in h && l(1, a = h.showExit), "i18n" in h && l(2, i = h.i18n);
|
|
413
406
|
}, o.$$.update = () => {
|
|
414
407
|
o.$$.dirty & /*currentMeasureType, buttonState*/
|
|
415
|
-
4104 &&
|
|
408
|
+
4104 && l(4, f = c === "area" && r !== "start");
|
|
416
409
|
}, [
|
|
417
410
|
e,
|
|
418
411
|
a,
|
|
419
|
-
|
|
412
|
+
i,
|
|
420
413
|
r,
|
|
421
414
|
f,
|
|
422
415
|
C,
|
|
@@ -431,7 +424,7 @@ function de(o, t, i) {
|
|
|
431
424
|
x
|
|
432
425
|
];
|
|
433
426
|
}
|
|
434
|
-
class
|
|
427
|
+
class At extends ee {
|
|
435
428
|
constructor(t) {
|
|
436
429
|
super(), te(
|
|
437
430
|
this,
|
|
@@ -449,5 +442,5 @@ class Ot extends ee {
|
|
|
449
442
|
}
|
|
450
443
|
}
|
|
451
444
|
export {
|
|
452
|
-
|
|
445
|
+
At as default
|
|
453
446
|
};
|
|
@@ -9,6 +9,7 @@ import type { OpenParameter, EditParameter, MeasureType } from '../typings/data'
|
|
|
9
9
|
import Line from '../Model/line';
|
|
10
10
|
import type { Magnifier } from '../../shared-utils';
|
|
11
11
|
import type { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
|
|
12
|
+
import type { PointSelectorConfig } from '../../shared-utils/three/PointSelector';
|
|
12
13
|
export interface ControllerParams {
|
|
13
14
|
five: Five;
|
|
14
15
|
group: Group;
|
|
@@ -17,10 +18,13 @@ export interface ControllerParams {
|
|
|
17
18
|
mouseGroup: Group;
|
|
18
19
|
container: Element;
|
|
19
20
|
workUtil: WorkUtil;
|
|
21
|
+
pointSelectorConfig?: PointSelectorConfig;
|
|
22
|
+
/** @deprecated Use pointSelectorConfig.helper.magnifier instead */
|
|
20
23
|
magnifier: Magnifier;
|
|
24
|
+
/** @deprecated Use pointSelectorConfig.helper.magnifierParams instead */
|
|
25
|
+
magnifierParams: ConstructorParameters<typeof Magnifier>[1];
|
|
21
26
|
openParams: OpenParameter;
|
|
22
27
|
editParams: EditParameter;
|
|
23
|
-
magnifierParams: ConstructorParameters<typeof Magnifier>[1];
|
|
24
28
|
getMeasureType: () => MeasureType;
|
|
25
29
|
hook: Subscribe<PanoMeasurePluginEvent>;
|
|
26
30
|
userDistanceItemCreator?: () => UserDistanceItem;
|
|
@@ -41,6 +45,7 @@ export default class BaseController {
|
|
|
41
45
|
protected hook: ControllerParams['hook'];
|
|
42
46
|
protected magnifier: ControllerParams['magnifier'];
|
|
43
47
|
protected userDistanceItemCreator: ControllerParams['userDistanceItemCreator'];
|
|
48
|
+
protected pointSelectorConfig: PointSelectorConfig;
|
|
44
49
|
protected workUtil: WorkUtil;
|
|
45
50
|
protected get currentMeasureType(): MeasureType;
|
|
46
51
|
private getMeasureType;
|