@realsee/dnalogel 3.49.6 → 3.49.7
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/index.cjs.js +13 -13
- package/dist/index.js +360 -351
- package/dist/index.umd.js +13 -13
- package/dist/shared-utils/tag.d.ts +5 -0
- package/libs/CruisePlugin/Move.js +2 -3
- package/libs/CruisePlugin/Work.js +2 -3
- package/libs/CruisePlugin/index.js +6 -7
- package/libs/GuideLinePlugin/Controller.js +4 -5
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -3
- package/libs/GuideLinePlugin/index.js +6 -7
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +34 -23
- package/libs/PanoTagPlugin/controller/index.js +5 -6
- package/libs/PanoTagPlugin/index.js +11 -12
- package/libs/Sculpt/Meshes/Line.js +7 -7
- package/libs/Sculpt/Meshes/Polygon.js +12 -12
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +125 -126
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +5 -0
- package/libs/shared-utils/tag.js +7 -0
- package/package.json +1 -1
- package/dist/PanoTagPlugin/utils/requestIdleCallback.d.ts +0 -2
package/libs/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { Sculpt as
|
|
38
|
-
import { ModelMakerPlugin as
|
|
39
|
-
import { index as
|
|
40
|
-
import { CSS3DRender as
|
|
41
|
-
import { Model as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { Polyline as
|
|
45
|
-
import { Magnifier as
|
|
46
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { ModelItemLabelPlugin as
|
|
48
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
49
|
-
import { Plugin as
|
|
50
|
-
import { GuideLineItem$1 as
|
|
51
|
-
import { GuideLineModeItem$1 as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { typing as
|
|
55
|
-
import { default as
|
|
56
|
-
import { defaultGlobalConfig as
|
|
57
|
-
import { ContentType as
|
|
58
|
-
import { Object3DHelperController as
|
|
59
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as Ol } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Al } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Gl } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as vl } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Yl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Vl, modelRoomLabelPluginServerParams as Nl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as kl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Bl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Ul } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as $l } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as ql } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Jl, ROOM_FETILE_TYPE_MAP as Kl, ROOM_TYPE_MAP as Ql } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Zl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as rn } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as mn } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as en, Rotation as ln } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as an } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as un } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as xn } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as sn } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Mn } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ln } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as _n } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as In } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Sn } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as yn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Dn } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as bn, MovePlugin as vn } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Yn } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Vn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as hn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as wn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Hn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as jn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as Wn, SculptPlugin as qn } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as Jn } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as Qn } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Zn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as ra } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as ia } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as pa } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as la } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as aa } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as ua } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as xa } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as sa } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as Ma } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as La } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as _a } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as Ia, default as Ra } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as Oa } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as Aa } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as Ga, pluginFlag as ba } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as Fa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as ca, DimensionType as Va, PointType as Na } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as ka, PLUGIN as wa } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as Ha } from "./PanoVideoPlugin/typings/index.js";
|
|
60
60
|
import "./components/PaintBrush/Controller.js";
|
|
61
61
|
import "./components/PaintBrush/utils.js";
|
|
62
62
|
import "./components/PaintBrush/tween.js";
|
|
@@ -386,7 +386,6 @@ import "./shared-utils/three/core/Raycaster.js";
|
|
|
386
386
|
import "./PanoTagPlugin/utils/DebugUtil.js";
|
|
387
387
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
388
388
|
import "./PanoTagPlugin/controller/Tag/PointTag.js";
|
|
389
|
-
import "./PanoTagPlugin/utils/requestIdleCallback.js";
|
|
390
389
|
import "./PanoTagPlugin/controller/Tag/PlaneTag.js";
|
|
391
390
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
392
391
|
import "./PanoTagPlugin/Components/TagItem.js";
|
|
@@ -512,72 +511,72 @@ import "./shared-utils/five/lookObject.js";
|
|
|
512
511
|
r();
|
|
513
512
|
o();
|
|
514
513
|
export {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
514
|
+
Hn as AreaMakerPlugin,
|
|
515
|
+
Zn as CSS3DRender,
|
|
516
|
+
vl as CSS3DRenderPlugin,
|
|
517
|
+
en as CameraMovementEffect,
|
|
518
|
+
mn as CameraMovementPlugin,
|
|
519
|
+
ca as ContentType,
|
|
520
|
+
bn as CruisePlugin,
|
|
521
|
+
Ia as CruisePluginController,
|
|
522
|
+
Aa as CruisePluginTypes,
|
|
523
|
+
jn as CurrentPanoImagePlugin,
|
|
524
|
+
In as DIRECTION,
|
|
525
|
+
ua as DISPLAY_STRATEGY_TYPE,
|
|
526
|
+
Va as DimensionType,
|
|
527
|
+
kl as FLOOR_PLAN_ATTACHED_TO,
|
|
528
|
+
Jl as FLOOR_TYPE_MAP,
|
|
529
|
+
La as GuideLineItem,
|
|
530
|
+
_a as GuideLineModeItem,
|
|
531
|
+
Dn as GuideLinePlugin,
|
|
532
|
+
sa as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
533
|
+
Ma as ItemLabelPlugin,
|
|
534
|
+
aa as Magnifier,
|
|
535
|
+
Ul as MapviewFloorplanPlugin,
|
|
536
|
+
Zl as ModelChassisCompassPlugin,
|
|
537
|
+
rn as ModelEntryDoorGuidePlugin,
|
|
538
|
+
Bl as ModelFloorplanPlugin,
|
|
539
|
+
xa as ModelItemLabelPlugin,
|
|
540
|
+
Jn as ModelMakerPlugin,
|
|
541
|
+
Vl as ModelRoomLabelPlugin,
|
|
542
|
+
_n as ModelTVVideoPlugin,
|
|
543
|
+
Gl as ModelViewPlugin,
|
|
544
|
+
Oa as MoveController,
|
|
545
|
+
vn as MovePlugin,
|
|
546
|
+
ka as Object3DHelperController,
|
|
547
|
+
Vn as Object3DHelperPlugin,
|
|
548
|
+
wa as PLUGIN,
|
|
549
|
+
Ol as PaintBrush,
|
|
550
|
+
Al as PaintBrushTypeEnum,
|
|
551
|
+
xn as PanoCompassPlugin,
|
|
552
|
+
Yl as PanoCursorRaycasterPlugin,
|
|
553
|
+
yn as PanoDoorLabelPlugin,
|
|
554
|
+
ql as PanoFloorplanRadarPlugin,
|
|
555
|
+
sn as PanoMeasurePlugin,
|
|
556
|
+
pa as PanoMeasurePluginLine,
|
|
557
|
+
ra as PanoMeasurePluginModel,
|
|
558
|
+
ia as PanoMeasurePluginPoint,
|
|
559
|
+
la as PanoMeasurePluginPolyline,
|
|
560
|
+
an as PanoRulerPlugin,
|
|
561
|
+
un as PanoRulerProPlugin,
|
|
562
|
+
Mn as PanoSpatialTagPlugin,
|
|
563
|
+
Yn as PanoTagPlugin,
|
|
564
|
+
Ga as PanoTagPluginController,
|
|
565
|
+
hn as PanoVideoPlugin,
|
|
566
|
+
Ha as PanoVideoPluginType,
|
|
567
|
+
wn as PipelinePlugin,
|
|
568
|
+
Na as PointType,
|
|
569
|
+
Kl as ROOM_FETILE_TYPE_MAP,
|
|
570
|
+
Ql as ROOM_TYPE_MAP,
|
|
571
|
+
ln as Rotation,
|
|
572
|
+
Wn as Sculpt,
|
|
573
|
+
qn as SculptPlugin,
|
|
574
|
+
$l as TopviewFloorplanPlugin,
|
|
575
|
+
Qn as Util,
|
|
576
|
+
Ra as WalkController,
|
|
577
|
+
Fa as defaultGlobalConfig,
|
|
578
|
+
Sn as itemLabelPluginServerParams,
|
|
579
|
+
Ln as modelItemLabelPluginServerParams,
|
|
580
|
+
Nl as modelRoomLabelPluginServerParams,
|
|
581
|
+
ba as pluginFlag
|
|
583
582
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.49.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.49.7",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/libs/shared-utils/tag.js
CHANGED
|
@@ -20,6 +20,11 @@ class E {
|
|
|
20
20
|
* @default true
|
|
21
21
|
*/
|
|
22
22
|
s(this, "intersectCheck", !0);
|
|
23
|
+
/**
|
|
24
|
+
* @description 模拟3D
|
|
25
|
+
* @default true
|
|
26
|
+
*/
|
|
27
|
+
s(this, "simulate3D", !1);
|
|
23
28
|
s(this, "tagWrapper");
|
|
24
29
|
s(this, "five");
|
|
25
30
|
s(this, "originPosition");
|
|
@@ -94,6 +99,8 @@ class E {
|
|
|
94
99
|
return;
|
|
95
100
|
}
|
|
96
101
|
const o = (() => {
|
|
102
|
+
if (!this.simulate3D)
|
|
103
|
+
return 1;
|
|
97
104
|
const r = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), a = this.transformedPosition.distanceTo(this.five.camera.position);
|
|
98
105
|
return Math.max(Math.min(1 - r * a / 40, 1), 0.5);
|
|
99
106
|
})(), n = (() => {
|
package/package.json
CHANGED