@realsee/dnalogel 3.44.5 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/Sculpt/Meshes/Area.d.ts +1 -1
  3. package/dist/Sculpt/Meshes/Box.d.ts +1 -1
  4. package/dist/Sculpt/Meshes/Circle.d.ts +1 -1
  5. package/dist/Sculpt/Meshes/CircleWithEdge.d.ts +1 -1
  6. package/dist/Sculpt/Meshes/Line.d.ts +2 -1
  7. package/dist/Sculpt/Meshes/LineWithDots.d.ts +1 -1
  8. package/dist/Sculpt/Meshes/Point.d.ts +1 -1
  9. package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
  10. package/dist/Sculpt/Meshes/Prism.d.ts +1 -1
  11. package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +3 -4
  12. package/dist/Sculpt/Objects/Line/Editor.d.ts +22 -0
  13. package/dist/Sculpt/Objects/Line/index.d.ts +33 -0
  14. package/dist/Sculpt/Objects/Point/index.d.ts +1 -1
  15. package/dist/Sculpt/Objects/Polygon/Editor.d.ts +2 -2
  16. package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -2
  17. package/dist/Sculpt/Objects/Polyline/Editor.d.ts +3 -17
  18. package/dist/Sculpt/Objects/Polyline/index.d.ts +7 -6
  19. package/dist/Sculpt/index.d.ts +5 -0
  20. package/dist/Sculpt/typings/index.d.ts +11 -6
  21. package/dist/Sculpt/{utils/color.d.ts → typings/style.d.ts} +7 -0
  22. package/dist/Sculpt/typings/utils.type.d.ts +2 -0
  23. package/dist/Sculpt/utils/three/ColoredMesh.d.ts +1 -1
  24. package/dist/Sculpt/utils/three/rayOnLine.d.ts +3 -5
  25. package/dist/index.cjs.js +56 -56
  26. package/dist/index.js +4272 -4171
  27. package/dist/index.umd.js +45 -45
  28. package/dist/shared-utils/Utils/WorkUtil.d.ts +6 -6
  29. package/libs/ModelMakerPlugin/Controller.js +1 -1
  30. package/libs/ModelMakerPlugin/index.js +1 -1
  31. package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
  32. package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
  33. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  34. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  35. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  36. package/libs/PanoMeasurePlugin/index.js +1 -1
  37. package/libs/Sculpt/Meshes/Area.d.ts +1 -1
  38. package/libs/Sculpt/Meshes/Box.d.ts +1 -1
  39. package/libs/Sculpt/Meshes/Box.js +10 -10
  40. package/libs/Sculpt/Meshes/Circle.d.ts +1 -1
  41. package/libs/Sculpt/Meshes/Circle.js +1 -1
  42. package/libs/Sculpt/Meshes/CircleWithEdge.d.ts +1 -1
  43. package/libs/Sculpt/Meshes/Cylinder.js +1 -1
  44. package/libs/Sculpt/Meshes/Line.d.ts +2 -1
  45. package/libs/Sculpt/Meshes/Line.js +55 -47
  46. package/libs/Sculpt/Meshes/LineWithDots.d.ts +1 -1
  47. package/libs/Sculpt/Meshes/LineWithDots.js +26 -26
  48. package/libs/Sculpt/Meshes/Point.d.ts +1 -1
  49. package/libs/Sculpt/Meshes/Point.js +1 -1
  50. package/libs/Sculpt/Meshes/Polygon.js +1 -1
  51. package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
  52. package/libs/Sculpt/Meshes/Prism.d.ts +1 -1
  53. package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +3 -4
  54. package/libs/Sculpt/Objects/Box/index.js +41 -43
  55. package/libs/Sculpt/Objects/Cylinder/index.js +35 -37
  56. package/libs/Sculpt/Objects/Line/Editor.d.ts +22 -0
  57. package/libs/Sculpt/Objects/Line/Editor.js +61 -0
  58. package/libs/Sculpt/Objects/Line/index.d.ts +33 -0
  59. package/libs/Sculpt/Objects/Line/index.js +107 -0
  60. package/libs/Sculpt/Objects/Point/index.d.ts +1 -1
  61. package/libs/Sculpt/Objects/Polygon/Editor.d.ts +2 -2
  62. package/libs/Sculpt/Objects/Polygon/Editor.js +5 -5
  63. package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -2
  64. package/libs/Sculpt/Objects/Polygon/index.js +80 -80
  65. package/libs/Sculpt/Objects/Polyline/Editor.d.ts +3 -17
  66. package/libs/Sculpt/Objects/Polyline/Editor.js +10 -48
  67. package/libs/Sculpt/Objects/Polyline/index.d.ts +7 -6
  68. package/libs/Sculpt/Objects/Polyline/index.js +63 -58
  69. package/libs/Sculpt/Objects/Prism/index.js +56 -58
  70. package/libs/Sculpt/index.d.ts +5 -0
  71. package/libs/Sculpt/index.js +58 -48
  72. package/libs/Sculpt/typings/index.d.ts +11 -6
  73. package/libs/Sculpt/{utils/color.d.ts → typings/style.d.ts} +7 -0
  74. package/libs/Sculpt/typings/utils.type.d.ts +2 -0
  75. package/libs/Sculpt/utils/three/ColoredMesh.d.ts +1 -1
  76. package/libs/Sculpt/utils/three/ColoredMesh.js +1 -1
  77. package/libs/Sculpt/utils/three/rayOnLine.d.ts +3 -5
  78. package/libs/Sculpt/utils/three/rayOnLine.js +15 -14
  79. package/libs/base/BasePlugin.js +1 -1
  80. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  81. package/libs/index.js +128 -126
  82. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
  83. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +23 -23
  84. package/libs/shared-utils/Utils/WorkUtil.d.ts +6 -6
  85. package/libs/shared-utils/Utils/WorkUtil.js +8 -7
  86. package/libs/shared-utils/logger.js +1 -1
  87. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +15 -15
  88. package/package.json +1 -1
  89. package/dist/Sculpt/typings/SimplifyDeep.d.ts +0 -3
  90. package/libs/Sculpt/typings/SimplifyDeep.d.ts +0 -3
  91. /package/libs/Sculpt/{utils/color.js → typings/style.js} +0 -0
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 Ll } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as _l } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as Il } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Sl } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as yl } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as Dl, modelRoomLabelPluginServerParams as Gl } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as vl } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as Yl } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as Vl } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as hl } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as wl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as Hl, ROOM_FETILE_TYPE_MAP as Ul, ROOM_TYPE_MAP as jl } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as Wl } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as zl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Kl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as Xl, Rotation as Zl } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as rn } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as mn } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as en } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as nn } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as Pn } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as fn } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as gn } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as dn } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as Tn } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as Cn } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as En } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as Rn, MovePlugin as Sn } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as yn } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Dn } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as bn } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as Fn } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as cn } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as Nn } from "./CurrentPanoImagePlugin/index.js";
37
- import { Sculpt as kn, SculptPlugin as wn } from "./Sculpt/index.js";
38
- import { ModelMakerPlugin as Hn } from "./ModelMakerPlugin/index.js";
39
- import { index as jn } from "./shared-utils/index.js";
40
- import { CSS3DRender as Wn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
- import { Model as zn } from "./PanoMeasurePlugin/Model/index.js";
42
- import { default as Kn } from "./PanoMeasurePlugin/Model/point.js";
43
- import { default as Xn } from "./PanoMeasurePlugin/Model/line.js";
44
- import { Polyline as oa } from "./PanoMeasurePlugin/Model/polyline.js";
45
- import { Magnifier as ta } from "./shared-utils/three/Magnifier.js";
46
- import { DISPLAY_STRATEGY_TYPE as ma } from "./ModelItemLabelPlugin/typings.js";
47
- import { ModelItemLabelPlugin as ea } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
48
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as na } from "./ItemLabelPlugin/typings.js";
49
- import { Plugin as Pa } from "./ItemLabelPlugin/Plugin.js";
50
- import { GuideLineItem$1 as fa } from "./GuideLinePlugin/GuideLineItem/index.js";
51
- import { GuideLineModeItem$1 as ga } from "./GuideLinePlugin/GuideLineModeItem/index.js";
52
- import { default as da, default as Ma } from "./CruisePlugin/Work.js";
53
- import { default as La } from "./CruisePlugin/Move.js";
54
- import { typing as _a } from "./CruisePlugin/typing/index.js";
55
- import { default as Ia, pluginFlag as Ra } from "./PanoTagPlugin/controller/index.js";
56
- import { defaultGlobalConfig as Oa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
57
- import { ContentType as Aa, DimensionType as Da, PointType as Ga } from "./PanoTagPlugin/Archive/deprecated.js";
58
- import { Object3DHelperController as va, PLUGIN as Fa } from "./Object3DHelperPlugin/Controller.js";
59
- import { typings as ca } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as _l } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Il } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Sl } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as yl } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as Dl } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as bl, modelRoomLabelPluginServerParams as vl } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Yl } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as Vl } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as hl } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as wl } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as Hl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as jl, ROOM_FETILE_TYPE_MAP as $l, ROOM_TYPE_MAP as Wl } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as zl } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Kl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as Xl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as on, Rotation as rn } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as mn } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as en } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as nn } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Pn } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as fn } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as gn } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as dn } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as Tn } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as Cn } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as En } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Rn } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as On, MovePlugin as yn } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as Dn } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as bn } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as Fn } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as cn } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as Nn } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as kn } from "./CurrentPanoImagePlugin/index.js";
37
+ import { Sculpt as Bn, SculptPlugin as Hn } from "./Sculpt/index.js";
38
+ import { ModelMakerPlugin as jn } from "./ModelMakerPlugin/index.js";
39
+ import { index as Wn } from "./shared-utils/index.js";
40
+ import { CSS3DRender as zn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
+ import { Model as Kn } from "./PanoMeasurePlugin/Model/index.js";
42
+ import { default as Xn } from "./PanoMeasurePlugin/Model/point.js";
43
+ import { default as oa } from "./PanoMeasurePlugin/Model/line.js";
44
+ import { Polyline as ta } from "./PanoMeasurePlugin/Model/polyline.js";
45
+ import { Magnifier as ma } from "./shared-utils/three/Magnifier.js";
46
+ import { DISPLAY_STRATEGY_TYPE as ea } from "./ModelItemLabelPlugin/typings.js";
47
+ import { ModelItemLabelPlugin as na } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
48
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Pa } from "./ItemLabelPlugin/typings.js";
49
+ import { Plugin as fa } from "./ItemLabelPlugin/Plugin.js";
50
+ import { GuideLineItem$1 as ga } from "./GuideLinePlugin/GuideLineItem/index.js";
51
+ import { GuideLineModeItem$1 as da } from "./GuideLinePlugin/GuideLineModeItem/index.js";
52
+ import { default as Ta, default as La } from "./CruisePlugin/Work.js";
53
+ import { default as _a } from "./CruisePlugin/Move.js";
54
+ import { typing as Ia } from "./CruisePlugin/typing/index.js";
55
+ import { default as Sa, pluginFlag as Oa } from "./PanoTagPlugin/controller/index.js";
56
+ import { defaultGlobalConfig as Aa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
57
+ import { ContentType as Ga, DimensionType as ba, PointType as va } from "./PanoTagPlugin/Archive/deprecated.js";
58
+ import { Object3DHelperController as Ya, PLUGIN as ca } from "./Object3DHelperPlugin/Controller.js";
59
+ import { typings as Na } 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";
@@ -201,7 +201,7 @@ import "./shared-utils/three/PointSelector/utils/html.js";
201
201
  import "./shared-utils/five/initialCSS3DRender.js";
202
202
  import "./shared-utils/three/PointSelector/utils/PointHelper2.js";
203
203
  import "./Sculpt/Meshes/Line.js";
204
- import "./Sculpt/utils/color.js";
204
+ import "./Sculpt/typings/style.js";
205
205
  import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
206
206
  import "./shared-utils/isTouchDevice.js";
207
207
  import "./shared-utils/five/getPosition.js";
@@ -450,6 +450,7 @@ import "./shared-utils/three/closeVectors.js";
450
450
  import "./Sculpt/Objects/Base/index.js";
451
451
  import "./shared-utils/three/applyObjectMatrixWorld.js";
452
452
  import "./Sculpt/Objects/Polyline/Editor.js";
453
+ import "./Sculpt/Objects/Line/Editor.js";
453
454
  import "./Sculpt/Objects/Base/Editor.js";
454
455
  import "./shared-utils/three/vector3ToArray.js";
455
456
  import "./Sculpt/Objects/Point/index.js";
@@ -481,6 +482,7 @@ import "./Sculpt/Objects/Box/index.js";
481
482
  import "./Sculpt/Objects/Box/Editor.js";
482
483
  import "./Sculpt/Meshes/Box.js";
483
484
  import "./shared-utils/forReverseEach.js";
485
+ import "./Sculpt/Objects/Line/index.js";
484
486
  import "./ModelMakerPlugin/Controller.js";
485
487
  import "./ModelMakerPlugin/item/boxItem.js";
486
488
  import "./ModelMakerPlugin/item/polygonItem.js";
@@ -504,72 +506,72 @@ import "./shared-utils/five/lookObject.js";
504
506
  r();
505
507
  o();
506
508
  export {
507
- cn as AreaMakerPlugin,
508
- Wn as CSS3DRender,
509
- Sl as CSS3DRenderPlugin,
510
- Xl as CameraMovementEffect,
511
- Kl as CameraMovementPlugin,
512
- Aa as ContentType,
513
- Rn as CruisePlugin,
514
- da as CruisePluginController,
515
- _a as CruisePluginTypes,
516
- Nn as CurrentPanoImagePlugin,
517
- dn as DIRECTION,
518
- ma as DISPLAY_STRATEGY_TYPE,
519
- Da as DimensionType,
520
- vl as FLOOR_PLAN_ATTACHED_TO,
521
- Hl as FLOOR_TYPE_MAP,
522
- fa as GuideLineItem,
523
- ga as GuideLineModeItem,
524
- En as GuideLinePlugin,
525
- na as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
526
- Pa as ItemLabelPlugin,
527
- ta as Magnifier,
528
- Vl as MapviewFloorplanPlugin,
529
- Wl as ModelChassisCompassPlugin,
530
- zl as ModelEntryDoorGuidePlugin,
531
- Yl as ModelFloorplanPlugin,
532
- ea as ModelItemLabelPlugin,
533
- Hn as ModelMakerPlugin,
534
- Dl as ModelRoomLabelPlugin,
535
- gn as ModelTVVideoPlugin,
536
- Il as ModelViewPlugin,
537
- La as MoveController,
538
- Sn as MovePlugin,
539
- va as Object3DHelperController,
540
- Dn as Object3DHelperPlugin,
541
- Fa as PLUGIN,
542
- Ll as PaintBrush,
543
- _l as PaintBrushTypeEnum,
544
- en as PanoCompassPlugin,
545
- yl as PanoCursorRaycasterPlugin,
546
- Cn as PanoDoorLabelPlugin,
547
- wl as PanoFloorplanRadarPlugin,
548
- nn as PanoMeasurePlugin,
549
- Xn as PanoMeasurePluginLine,
550
- zn as PanoMeasurePluginModel,
551
- Kn as PanoMeasurePluginPoint,
552
- oa as PanoMeasurePluginPolyline,
553
- rn as PanoRulerPlugin,
554
- mn as PanoRulerProPlugin,
555
- Pn as PanoSpatialTagPlugin,
556
- yn as PanoTagPlugin,
557
- Ia as PanoTagPluginController,
558
- bn as PanoVideoPlugin,
559
- ca as PanoVideoPluginType,
560
- Fn as PipelinePlugin,
561
- Ga as PointType,
562
- Ul as ROOM_FETILE_TYPE_MAP,
563
- jl as ROOM_TYPE_MAP,
564
- Zl as Rotation,
565
- kn as Sculpt,
566
- wn as SculptPlugin,
567
- hl as TopviewFloorplanPlugin,
568
- jn as Util,
569
- Ma as WalkController,
570
- Oa as defaultGlobalConfig,
571
- Tn as itemLabelPluginServerParams,
572
- fn as modelItemLabelPluginServerParams,
573
- Gl as modelRoomLabelPluginServerParams,
574
- Ra as pluginFlag
509
+ Nn as AreaMakerPlugin,
510
+ zn as CSS3DRender,
511
+ yl as CSS3DRenderPlugin,
512
+ on as CameraMovementEffect,
513
+ Xl as CameraMovementPlugin,
514
+ Ga as ContentType,
515
+ On as CruisePlugin,
516
+ Ta as CruisePluginController,
517
+ Ia as CruisePluginTypes,
518
+ kn as CurrentPanoImagePlugin,
519
+ Tn as DIRECTION,
520
+ ea as DISPLAY_STRATEGY_TYPE,
521
+ ba as DimensionType,
522
+ Yl as FLOOR_PLAN_ATTACHED_TO,
523
+ jl as FLOOR_TYPE_MAP,
524
+ ga as GuideLineItem,
525
+ da as GuideLineModeItem,
526
+ Rn as GuideLinePlugin,
527
+ Pa as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
528
+ fa as ItemLabelPlugin,
529
+ ma as Magnifier,
530
+ hl as MapviewFloorplanPlugin,
531
+ zl as ModelChassisCompassPlugin,
532
+ Kl as ModelEntryDoorGuidePlugin,
533
+ Vl as ModelFloorplanPlugin,
534
+ na as ModelItemLabelPlugin,
535
+ jn as ModelMakerPlugin,
536
+ bl as ModelRoomLabelPlugin,
537
+ dn as ModelTVVideoPlugin,
538
+ Sl as ModelViewPlugin,
539
+ _a as MoveController,
540
+ yn as MovePlugin,
541
+ Ya as Object3DHelperController,
542
+ bn as Object3DHelperPlugin,
543
+ ca as PLUGIN,
544
+ _l as PaintBrush,
545
+ Il as PaintBrushTypeEnum,
546
+ nn as PanoCompassPlugin,
547
+ Dl as PanoCursorRaycasterPlugin,
548
+ En as PanoDoorLabelPlugin,
549
+ Hl as PanoFloorplanRadarPlugin,
550
+ Pn as PanoMeasurePlugin,
551
+ oa as PanoMeasurePluginLine,
552
+ Kn as PanoMeasurePluginModel,
553
+ Xn as PanoMeasurePluginPoint,
554
+ ta as PanoMeasurePluginPolyline,
555
+ mn as PanoRulerPlugin,
556
+ en as PanoRulerProPlugin,
557
+ fn as PanoSpatialTagPlugin,
558
+ Dn as PanoTagPlugin,
559
+ Sa as PanoTagPluginController,
560
+ Fn as PanoVideoPlugin,
561
+ Na as PanoVideoPluginType,
562
+ cn as PipelinePlugin,
563
+ va as PointType,
564
+ $l as ROOM_FETILE_TYPE_MAP,
565
+ Wl as ROOM_TYPE_MAP,
566
+ rn as Rotation,
567
+ Bn as Sculpt,
568
+ Hn as SculptPlugin,
569
+ wl as TopviewFloorplanPlugin,
570
+ Wn as Util,
571
+ La as WalkController,
572
+ Aa as defaultGlobalConfig,
573
+ Cn as itemLabelPluginServerParams,
574
+ gn as modelItemLabelPluginServerParams,
575
+ vl as modelRoomLabelPluginServerParams,
576
+ Oa as pluginFlag
575
577
  };
@@ -111,7 +111,7 @@ class w extends p {
111
111
  move(e) {
112
112
  if (!this.startInfo)
113
113
  return this.dragEnd();
114
- const { line: t, startVectorProject: o } = this.startInfo, h = this.originObject3D, i = y({ cameraPosition: this.camera.position, raycaster: e, line: t, clampToLine: !1 }), n = i.clone().sub(o), s = new m.Matrix4();
114
+ const { line: t, startVectorProject: o } = this.startInfo, h = this.originObject3D, i = y({ raycaster: e, line: t, clampToLine: !1 }), n = i.clone().sub(o), s = new m.Matrix4();
115
115
  s.setPosition(n);
116
116
  const r = h.position.clone().applyMatrix4(s);
117
117
  this.hooks.emit("wantToMove", r) || (h.applyMatrix4(s), o.copy(i), this.internalHooks.emit("applyObjectPosition", { matrix: s }), this.hooks.emit("move", r));
@@ -1,42 +1,42 @@
1
1
  var p = Object.defineProperty;
2
- var u = (l, a, t) => a in l ? p(l, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[a] = t;
3
- var c = (l, a, t) => (u(l, typeof a != "symbol" ? a + "" : a, t), t);
2
+ var u = (h, r, t) => r in h ? p(h, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[r] = t;
3
+ var l = (h, r, t) => (u(h, typeof r != "symbol" ? r + "" : r, t), t);
4
4
  import { BaseController as b } from "../Base/BaseController.js";
5
- import * as m from "three";
5
+ import * as g from "three";
6
6
  import { getMouseRaycaster as P } from "../utils/getMouseRaycaster.js";
7
7
  import { rayOnLine as f } from "../../../Sculpt/utils/three/rayOnLine.js";
8
8
  class H extends b {
9
9
  constructor(...t) {
10
10
  super(...t);
11
- c(this, "name", "ScaleController");
12
- c(this, "startInfo");
13
- c(this, "dragStart", (t) => {
11
+ l(this, "name", "ScaleController");
12
+ l(this, "startInfo");
13
+ l(this, "dragStart", (t) => {
14
14
  if (this.isDragging)
15
15
  return;
16
16
  this.isDragging = !0;
17
- const { intersect: e } = t, s = this.camera.position, n = e.object, i = n.scalePosition.basePosition.clone(), h = n.scalePosition.handlePosition.clone().clone().sub(i).clone(), o = new m.Line3(i, i.clone().add(h.normalize().multiplyScalar(5)));
18
- o.applyMatrix4(this.helperObject3D.matrixWorld);
19
- const r = new m.Raycaster(s, e.point.clone().sub(s)), g = f({ cameraPosition: s, raycaster: r, line: o });
20
- this.startInfo = { line: o, scaleStartPoint: g, draggingObject: n }, this.hooks.emit("scaleStart");
17
+ const { intersect: e } = t, a = this.camera.position, o = e.object, i = o.scalePosition.basePosition.clone(), s = o.scalePosition.handlePosition.clone().clone().sub(i).clone(), n = new g.Line3(i, i.clone().add(s.normalize().multiplyScalar(5)));
18
+ n.applyMatrix4(this.helperObject3D.matrixWorld);
19
+ const c = new g.Raycaster(a, e.point.clone().sub(a)), m = f({ raycaster: c, line: n });
20
+ this.startInfo = { line: n, scaleStartPoint: m, draggingObject: o }, this.hooks.emit("scaleStart");
21
21
  });
22
- c(this, "dragging", (t) => {
22
+ l(this, "dragging", (t) => {
23
23
  if (!this.isDragging || !this.startInfo)
24
24
  return;
25
25
  const e = P(this.camera, t, this.container);
26
26
  return e ? (this.scale(e), !1) : this.dragEnd();
27
27
  });
28
- c(this, "scale", (t) => {
29
- var r, g;
28
+ l(this, "scale", (t) => {
29
+ var n, c;
30
30
  if (!this.startInfo)
31
31
  return;
32
- const { line: e, scaleStartPoint: s, draggingObject: n } = this.startInfo, { scalePosition: i } = n, { basePosition: d } = i, h = this.camera.position, o = f({ cameraPosition: h, raycaster: t, line: e });
33
- o.applyMatrix4(new m.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (g = (r = this.config) == null ? void 0 : r.scaleCallback) == null || g.call(r, {
34
- ratio: o.distanceTo(d) / s.distanceTo(d),
35
- intersectPoint: o,
32
+ const { line: e, scaleStartPoint: a, draggingObject: o } = this.startInfo, { scalePosition: i } = o, { basePosition: d } = i, s = f({ raycaster: t, line: e });
33
+ s.applyMatrix4(new g.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (c = (n = this.config) == null ? void 0 : n.scaleCallback) == null || c.call(n, {
34
+ ratio: s.distanceTo(d) / a.distanceTo(d),
35
+ intersectPoint: s,
36
36
  scalePosition: i
37
- }), n.position.copy(o.clone());
37
+ }), o.position.copy(s.clone());
38
38
  });
39
- c(this, "dragEnd", () => {
39
+ l(this, "dragEnd", () => {
40
40
  this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.internalHooks.emit("initialHelperPosition"), this.hooks.emit("scaleEnd"));
41
41
  });
42
42
  this.domEvents.addEventListener(this.helperObject3D, "mousedown", this.dragStart), document.addEventListener("mousemove", this.dragging), document.addEventListener("mouseup", this.dragEnd);
@@ -50,10 +50,10 @@ class H extends b {
50
50
  t.offHoverListener && t.offHoverListener(), t.offHoverListener = this.hoverListener(this.helperObject3D.scaleMeshes);
51
51
  }
52
52
  setScale(t) {
53
- var h, o, r;
54
- let e = 1, s = 1, n = 1;
55
- typeof t == "number" ? (e = t, s = t, n = t) : typeof t == "object" && (e = (h = t.x) != null ? h : 1, s = (o = t.y) != null ? o : 1, n = (r = t.z) != null ? r : 1);
56
- const i = new m.Vector3(e, s, n);
53
+ var s, n, c;
54
+ let e = 1, a = 1, o = 1;
55
+ typeof t == "number" ? (e = t, a = t, o = t) : typeof t == "object" && (e = (s = t.x) != null ? s : 1, a = (n = t.y) != null ? n : 1, o = (c = t.z) != null ? c : 1);
56
+ const i = new g.Vector3(e, a, o);
57
57
  this.hooks.emit("wantToScale", i) || (this.originObject3D.scale.copy(i), this.internalHooks.emit("setObjectScale", i), this.hooks.emit("scale", i), this.render());
58
58
  }
59
59
  }
@@ -6,30 +6,30 @@ export declare class WorkUtil extends BaseUtil {
6
6
  private _workCode;
7
7
  get fromType(): WorkFromType;
8
8
  /**
9
- * @description: 设置插件当前的 workCode
9
+ * @description 设置插件当前的 workCode
10
10
  */
11
11
  set workCode(workCode: string);
12
12
  /**
13
- * @description: 获取插件当前的 workCode
13
+ * @description 获取插件当前的 workCode
14
14
  */
15
15
  get workCode(): string;
16
16
  /**
17
- * @description: 获取当前的 work
17
+ * @description 获取当前的 work
18
18
  */
19
19
  get work(): import("@realsee/five").Work;
20
20
  get observers(): import("@realsee/five").WorkObserver[];
21
21
  get transform(): THREE.Matrix4;
22
22
  constructor(five: Five);
23
23
  /**
24
- * @description: 获取全景点坐标
24
+ * @description 获取全景点坐标
25
25
  */
26
26
  getObserverPosition(observerIndex: number): THREE.Vector3 | undefined;
27
27
  /**
28
- * @description: 获取全景点位和模型的地面坐标
28
+ * @description 获取全景点位和模型的地面坐标
29
29
  */
30
30
  getObserverStandingPosition(observerIndex: number): THREE.Vector3 | undefined;
31
31
  /**
32
- * @description: 获取observer
32
+ * @description 获取observer
33
33
  */
34
34
  getObserver(observerIndex: number): import("@realsee/five").WorkObserver;
35
35
  }
@@ -19,27 +19,28 @@ class v extends m {
19
19
  return n.set(r, o), o;
20
20
  }
21
21
  /**
22
- * @description: 设置插件当前的 workCode
22
+ * @description 设置插件当前的 workCode
23
23
  */
24
24
  set workCode(r) {
25
25
  this._workCode = r;
26
26
  }
27
27
  /**
28
- * @description: 获取插件当前的 workCode
28
+ * @description 获取插件当前的 workCode
29
29
  */
30
30
  get workCode() {
31
31
  var r;
32
32
  return (r = this._workCode) != null ? r : this.five.state.workCode;
33
33
  }
34
34
  /**
35
- * @description: 获取当前的 work
35
+ * @description 获取当前的 work
36
36
  */
37
37
  get work() {
38
38
  var r, o;
39
39
  return (o = (r = this.five.works) == null ? void 0 : r.find((t) => t.workCode === this.workCode)) != null ? o : this.five.work;
40
40
  }
41
41
  get observers() {
42
- return this.work.observers;
42
+ var r;
43
+ return (r = this.work) == null ? void 0 : r.observers;
43
44
  }
44
45
  get transform() {
45
46
  var o, t, i, w;
@@ -47,7 +48,7 @@ class v extends m {
47
48
  return r ? r.clone() : new d.Matrix4();
48
49
  }
49
50
  /**
50
- * @description: 获取全景点坐标
51
+ * @description 获取全景点坐标
51
52
  */
52
53
  getObserverPosition(r) {
53
54
  var t;
@@ -56,7 +57,7 @@ class v extends m {
56
57
  return a(o, this.transform);
57
58
  }
58
59
  /**
59
- * @description: 获取全景点位和模型的地面坐标
60
+ * @description 获取全景点位和模型的地面坐标
60
61
  */
61
62
  getObserverStandingPosition(r) {
62
63
  var t;
@@ -65,7 +66,7 @@ class v extends m {
65
66
  return a(o, this.transform);
66
67
  }
67
68
  /**
68
- * @description: 获取observer
69
+ * @description 获取observer
69
70
  */
70
71
  getObserver(r) {
71
72
  var o;
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.44.5",
3
+ "%c %c@realsee/dnalogel %cv3.45.0",
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",
@@ -1,22 +1,22 @@
1
- var d = Object.defineProperty;
2
- var f = (a, i, e) => i in a ? d(a, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[i] = e;
3
- var t = (a, i, e) => (f(a, typeof i != "symbol" ? i + "" : i, e), e);
4
- import * as m from "three";
5
- import { Magnifier as p } from "../../Magnifier.js";
6
- import { PointHelper as u } from "./PointHelper.js";
7
- import { Subscribe as b } from "../../../Subscribe.js";
8
- import { PointHelper2 as g } from "./PointHelper2.js";
1
+ var f = Object.defineProperty;
2
+ var m = (a, i, e) => i in a ? f(a, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[i] = e;
3
+ var t = (a, i, e) => (m(a, typeof i != "symbol" ? i + "" : i, e), e);
4
+ import * as p from "three";
5
+ import { Magnifier as u } from "../../Magnifier.js";
6
+ import { PointHelper as b } from "./PointHelper.js";
7
+ import { Subscribe as g } from "../../../Subscribe.js";
8
+ import { PointHelper2 as o } from "./PointHelper2.js";
9
9
  import "../../THREESphere.js";
10
10
  import "animejs";
11
- class M {
11
+ class P {
12
12
  constructor(i, e) {
13
13
  t(this, "five");
14
- t(this, "hooks", new b());
14
+ t(this, "hooks", new g());
15
15
  t(this, "position");
16
16
  t(this, "magnifier", null);
17
17
  t(this, "pointHelper", null);
18
18
  t(this, "state", { enabled: !1, visible: !0 });
19
- t(this, "group", new m.Group());
19
+ t(this, "group", new p.Group());
20
20
  t(this, "show", () => {
21
21
  var i, e;
22
22
  this.state.visible || (this.state.visible = !0, (i = this.pointHelper) == null || i.show(), (e = this.magnifier) == null || e.enable(), this.five.needsRender = !0);
@@ -38,10 +38,10 @@ class M {
38
38
  });
39
39
  t(this, "abortUpdateMagnifier", () => {
40
40
  });
41
- var s, n, h, l;
42
- this.five = i, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new p(i, (s = e == null ? void 0 : e.magnifierParams) != null ? s : { dragEnabled: !0 });
41
+ var s, n, h, l, d;
42
+ this.five = i, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new u(i, (s = e == null ? void 0 : e.magnifierParams) != null ? s : { dragEnabled: !0 });
43
43
  let r;
44
- (e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? r = new u(i) : (e == null ? void 0 : e.pointHelper) === "highlight" ? r = new g(i) : r = e.pointHelper, this.pointHelper = r, this.group.name = "five-point-selector", this.five.scene.add(this.group), (l = this.magnifier) == null || l.appendTo((h = (n = e.container) != null ? n : i.getElement().parentElement) != null ? h : document.body);
44
+ (e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? r = new b(i) : (e == null ? void 0 : e.pointHelper) === "highlight" ? r = new o(i) : r = e.pointHelper, this.pointHelper = r, this.group.name = "five-point-selector", this.five.scene.add(this.group), (d = this.magnifier) == null || d.appendTo((l = (h = e.container) != null ? h : (n = i.getElement()) == null ? void 0 : n.parentElement) != null ? l : document.body);
45
45
  }
46
46
  enable() {
47
47
  var i;
@@ -56,5 +56,5 @@ class M {
56
56
  }
57
57
  }
58
58
  export {
59
- M as PointSelectorHelper
59
+ P as PointSelectorHelper
60
60
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.44.5",
3
+ "version": "3.45.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
@@ -1,3 +0,0 @@
1
- import type { ConditionalSimplifyDeep } from 'type-fest/source/conditional-simplify';
2
- import type * as THREE from 'three';
3
- export type SimplifyDeep<T> = ConditionalSimplifyDeep<T, THREE.Color | THREE.Vector3 | Function | Iterable<unknown>, object>;
@@ -1,3 +0,0 @@
1
- import type { ConditionalSimplifyDeep } from 'type-fest/source/conditional-simplify';
2
- import type * as THREE from 'three';
3
- export type SimplifyDeep<T> = ConditionalSimplifyDeep<T, THREE.Color | THREE.Vector3 | Function | Iterable<unknown>, object>;