@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/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 yl } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as Dl } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as bl } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Fl } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as cl } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as Nl, modelRoomLabelPluginServerParams as hl } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as wl } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as Hl } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as jl } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as Wl } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as zl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as Kl, ROOM_FETILE_TYPE_MAP as Ql, ROOM_TYPE_MAP as Xl } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as on } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as tn } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as pn } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as ln, Rotation as nn } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as Pn } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as fn } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as gn } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as dn } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as Tn } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as Cn } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as En } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as Rn } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as On } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as An } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as Gn } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as vn, MovePlugin as Fn } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as cn } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Nn } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as kn } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as Bn } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as Un } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as $n } from "./CurrentPanoImagePlugin/index.js";
37
- import { Sculpt as qn, SculptPlugin as zn } from "./Sculpt/index.js";
38
- import { ModelMakerPlugin as Kn } from "./ModelMakerPlugin/index.js";
39
- import { index as Xn } from "./shared-utils/index.js";
40
- import { CSS3DRender as oa } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
- import { Model as ta } from "./PanoMeasurePlugin/Model/index.js";
42
- import { default as ma } from "./PanoMeasurePlugin/Model/point.js";
43
- import { default as ea } from "./PanoMeasurePlugin/Model/line.js";
44
- import { Polyline as na } from "./PanoMeasurePlugin/Model/polyline.js";
45
- import { Magnifier as Pa } from "./shared-utils/three/Magnifier.js";
46
- import { DISPLAY_STRATEGY_TYPE as fa } from "./ModelItemLabelPlugin/typings.js";
47
- import { ModelItemLabelPlugin as ga } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
48
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as da } from "./ItemLabelPlugin/typings.js";
49
- import { Plugin as Ta } from "./ItemLabelPlugin/Plugin.js";
50
- import { GuideLineItem$1 as Ca } from "./GuideLinePlugin/GuideLineItem/index.js";
51
- import { GuideLineModeItem$1 as Ea } from "./GuideLinePlugin/GuideLineModeItem/index.js";
52
- import { default as Ra, default as Sa } from "./CruisePlugin/Work.js";
53
- import { default as ya } from "./CruisePlugin/Move.js";
54
- import { typing as Da } from "./CruisePlugin/typing/index.js";
55
- import { default as ba, pluginFlag as va } from "./PanoTagPlugin/controller/index.js";
56
- import { defaultGlobalConfig as Ya } from "./PanoTagPlugin/typings/tag/TagConfig.js";
57
- import { ContentType as Va, DimensionType as Na, PointType as ha } from "./PanoTagPlugin/Archive/deprecated.js";
58
- import { Object3DHelperController as wa, PLUGIN as Ba } from "./Object3DHelperPlugin/Controller.js";
59
- import { typings as Ua } from "./PanoVideoPlugin/typings/index.js";
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
- Un as AreaMakerPlugin,
516
- oa as CSS3DRender,
517
- Fl as CSS3DRenderPlugin,
518
- ln as CameraMovementEffect,
519
- pn as CameraMovementPlugin,
520
- Va as ContentType,
521
- vn as CruisePlugin,
522
- Ra as CruisePluginController,
523
- Da as CruisePluginTypes,
524
- $n as CurrentPanoImagePlugin,
525
- Rn as DIRECTION,
526
- fa as DISPLAY_STRATEGY_TYPE,
527
- Na as DimensionType,
528
- wl as FLOOR_PLAN_ATTACHED_TO,
529
- Kl as FLOOR_TYPE_MAP,
530
- Ca as GuideLineItem,
531
- Ea as GuideLineModeItem,
532
- Gn as GuideLinePlugin,
533
- da as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
534
- Ta as ItemLabelPlugin,
535
- Pa as Magnifier,
536
- jl as MapviewFloorplanPlugin,
537
- on as ModelChassisCompassPlugin,
538
- tn as ModelEntryDoorGuidePlugin,
539
- Hl as ModelFloorplanPlugin,
540
- ga as ModelItemLabelPlugin,
541
- Kn as ModelMakerPlugin,
542
- Nl as ModelRoomLabelPlugin,
543
- En as ModelTVVideoPlugin,
544
- bl as ModelViewPlugin,
545
- ya as MoveController,
546
- Fn as MovePlugin,
547
- wa as Object3DHelperController,
548
- Nn as Object3DHelperPlugin,
549
- Ba as PLUGIN,
550
- yl as PaintBrush,
551
- Dl as PaintBrushTypeEnum,
552
- gn as PanoCompassPlugin,
553
- cl as PanoCursorRaycasterPlugin,
554
- An as PanoDoorLabelPlugin,
555
- zl as PanoFloorplanRadarPlugin,
556
- dn as PanoMeasurePlugin,
557
- ea as PanoMeasurePluginLine,
558
- ta as PanoMeasurePluginModel,
559
- ma as PanoMeasurePluginPoint,
560
- na as PanoMeasurePluginPolyline,
561
- Pn as PanoRulerPlugin,
562
- fn as PanoRulerProPlugin,
563
- Tn as PanoSpatialTagPlugin,
564
- cn as PanoTagPlugin,
565
- ba as PanoTagPluginController,
566
- kn as PanoVideoPlugin,
567
- Ua as PanoVideoPluginType,
568
- Bn as PipelinePlugin,
569
- ha as PointType,
570
- Ql as ROOM_FETILE_TYPE_MAP,
571
- Xl as ROOM_TYPE_MAP,
572
- nn as Rotation,
573
- qn as Sculpt,
574
- zn as SculptPlugin,
575
- Wl as TopviewFloorplanPlugin,
576
- Xn as Util,
577
- Sa as WalkController,
578
- Ya as defaultGlobalConfig,
579
- On as itemLabelPluginServerParams,
580
- Cn as modelItemLabelPluginServerParams,
581
- hl as modelRoomLabelPluginServerParams,
582
- va as pluginFlag
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.6",
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",
@@ -12,6 +12,11 @@ export declare class LightTag {
12
12
  * @default true
13
13
  */
14
14
  intersectCheck: boolean;
15
+ /**
16
+ * @description 模拟3D
17
+ * @default true
18
+ */
19
+ simulate3D: boolean;
15
20
  private tagWrapper;
16
21
  private five;
17
22
  private originPosition?;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.49.6",
3
+ "version": "3.49.7",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
@@ -1,2 +0,0 @@
1
- export declare function requestIdleCallback(func: () => any): number;
2
- export declare function cancelIdleCallback(id: number): void;