@realsee/dnalogel 3.78.0-alpha.3 → 3.78.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 +40 -10
- package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
- package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
- package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
- package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
- package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
- package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
- package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
- package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
- package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/dist/Sculpt/Meshes/Line.d.ts +4 -0
- package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/dist/index.cjs.js +101 -88
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14196 -12441
- package/dist/index.umd.js +83 -70
- package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
- package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
- package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
- package/libs/DigitalPerformancePlugin/mock.js +272 -274
- package/libs/GuideLinePlugin/Controller.js +7 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/MeasurePlugin/Controller.js +11 -10
- package/libs/MeasurePlugin/index.js +5 -4
- package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +20 -19
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +50 -49
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +69 -65
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +30 -29
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/libs/PanoTagPlugin/utils/index.js +31 -30
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
- package/libs/PanoVideoPlugin/Controller.js +9 -8
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +3 -2
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/Sculpt/Meshes/Line.d.ts +4 -0
- package/libs/Sculpt/Meshes/Line.js +85 -76
- package/libs/Sculpt/Meshes/Point.js +28 -28
- package/libs/Sculpt/Meshes/Polygon.js +43 -43
- package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/libs/Sculpt/Objects/Base/Editor.js +72 -63
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
- package/libs/base/BasePlugin.js +5 -5
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.d.ts +1 -0
- package/libs/index.js +162 -150
- package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
- package/libs/shared-utils/url/replace-static-prefix.js +12 -7
- package/package.json +3 -3
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
package/libs/index.js
CHANGED
|
@@ -1,74 +1,78 @@
|
|
|
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 { FloorplanGuidePlugin as
|
|
15
|
-
import { FLOOR_TYPE_MAP as
|
|
16
|
-
import { ModelChassisCompassPlugin as
|
|
17
|
-
import { ModelEntryDoorGuidePlugin as
|
|
18
|
-
import { CameraMovementPlugin as
|
|
19
|
-
import { CameraMovementEffect as
|
|
20
|
-
import { PanoRulerPlugin as
|
|
21
|
-
import { PanoRulerProPlugin as
|
|
22
|
-
import { PanoCompassPlugin as
|
|
23
|
-
import { PanoMeasurePlugin as
|
|
24
|
-
import { MeasurePlugin as
|
|
25
|
-
import { PanoSpatialTagPlugin as
|
|
26
|
-
import { modelItemLabelPluginServerParams as
|
|
27
|
-
import { ModelTVVideoPlugin as
|
|
28
|
-
import { DIRECTION as
|
|
29
|
-
import { itemLabelPluginServerParams as
|
|
30
|
-
import { PanoDoorLabelPlugin as
|
|
31
|
-
import { GuideLinePlugin as
|
|
32
|
-
import { CruisePlugin as
|
|
33
|
-
import { PanoTagPlugin as
|
|
34
|
-
import { Object3DHelperPlugin as
|
|
35
|
-
import { PanoVideoPlugin as
|
|
36
|
-
import { PipelinePlugin as
|
|
37
|
-
import { AreaMakerPlugin as
|
|
38
|
-
import { CurrentPanoImagePlugin as
|
|
39
|
-
import { Sculpt as
|
|
40
|
-
import { ModelMakerPlugin as
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import { default as
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import { default as
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
3
|
+
import { PaintBrush as Hn } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as kn } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Un } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as $n } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as qn } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Jn, modelRoomLabelPluginServerParams as Kn } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as Xn } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as oa } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as ta } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as ma } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as ea } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FloorplanGuidePlugin as na } from "./floorplan/FloorplanGuidePlugin/index.js";
|
|
15
|
+
import { FLOOR_TYPE_MAP as Pa, ROOM_FETILE_TYPE_MAP as fa, ROOM_TYPE_MAP as ua } from "./floorplan/typings/floorplanServerData.js";
|
|
16
|
+
import { ModelChassisCompassPlugin as ga } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
17
|
+
import { ModelEntryDoorGuidePlugin as da } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
18
|
+
import { CameraMovementPlugin as Ta } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
19
|
+
import { CameraMovementEffect as La, Rotation as ca } from "./CameraMovementPlugin/typing.js";
|
|
20
|
+
import { PanoRulerPlugin as Ra } from "./PanoRulerPlugin/Plugin.js";
|
|
21
|
+
import { PanoRulerProPlugin as Ea } from "./PanoRulerProPlugin/index.js";
|
|
22
|
+
import { PanoCompassPlugin as Sa } from "./PanoCompassPlugin/index.js";
|
|
23
|
+
import { PanoMeasurePlugin as Oa } from "./PanoMeasurePlugin/index.js";
|
|
24
|
+
import { MeasurePlugin as Aa } from "./MeasurePlugin/index.js";
|
|
25
|
+
import { PanoSpatialTagPlugin as Ga } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
26
|
+
import { modelItemLabelPluginServerParams as Ya } from "./ModelItemLabelPlugin/index.js";
|
|
27
|
+
import { ModelTVVideoPlugin as ha } from "./ModelTVVideoPlugin/Plugin.js";
|
|
28
|
+
import { DIRECTION as Ha } from "./ModelTVVideoPlugin/typings.js";
|
|
29
|
+
import { itemLabelPluginServerParams as ka } from "./ItemLabelPlugin/index.js";
|
|
30
|
+
import { PanoDoorLabelPlugin as Ua } from "./PanoDoorLabelPlugin/index.js";
|
|
31
|
+
import { GuideLinePlugin as $a } from "./GuideLinePlugin/index.js";
|
|
32
|
+
import { CruisePlugin as qa, MovePlugin as za } from "./CruisePlugin/index.js";
|
|
33
|
+
import { PanoTagPlugin as Ka } from "./PanoTagPlugin/index.js";
|
|
34
|
+
import { Object3DHelperPlugin as Xa } from "./Object3DHelperPlugin/index.js";
|
|
35
|
+
import { PanoVideoPlugin as oP } from "./PanoVideoPlugin/index.js";
|
|
36
|
+
import { PipelinePlugin as tP } from "./PipelinePlugin/index.js";
|
|
37
|
+
import { AreaMakerPlugin as mP } from "./AreaMakerPlugin/index.js";
|
|
38
|
+
import { CurrentPanoImagePlugin as eP } from "./CurrentPanoImagePlugin/index.js";
|
|
39
|
+
import { Sculpt as nP, SculptPlugin as aP, SculptPluginForFive as PP } from "./Sculpt/index.js";
|
|
40
|
+
import { ModelMakerPlugin as uP } from "./ModelMakerPlugin/index.js";
|
|
41
|
+
import { DigitalPerformancePlugin as gP } from "./DigitalPerformancePlugin/index.js";
|
|
42
|
+
import { exports as dP } from "./shared-utils/exports.js";
|
|
43
|
+
import { CSS3DRender as TP } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
44
|
+
import { Model as LP } from "./PanoMeasurePlugin/Model/index.js";
|
|
45
|
+
import { default as yP } from "./PanoMeasurePlugin/Model/point.js";
|
|
46
|
+
import { default as _P } from "./PanoMeasurePlugin/Model/line.js";
|
|
47
|
+
import { Polyline as IP } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
48
|
+
import { Magnifier as DP } from "./shared-utils/three/Magnifier.js";
|
|
49
|
+
import { validatePolygon as vP } from "./MeasurePlugin/utils/validatePolygon.js";
|
|
50
|
+
import { DISPLAY_STRATEGY_TYPE as FP } from "./ModelItemLabelPlugin/typings.js";
|
|
51
|
+
import { ModelItemLabelPlugin as bP } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
52
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as VP } from "./ItemLabelPlugin/typings.js";
|
|
53
|
+
import { Plugin as BP } from "./ItemLabelPlugin/Plugin.js";
|
|
54
|
+
import { GuideLineItem$1 as NP } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
55
|
+
import { GuideLineModeItem$1 as wP } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
56
|
+
import { default as jP, default as $P } from "./CruisePlugin/Work.js";
|
|
57
|
+
import { default as qP } from "./CruisePlugin/Move.js";
|
|
58
|
+
import { typing as JP } from "./CruisePlugin/typing/index.js";
|
|
59
|
+
import { default as QP, pluginFlag as XP } from "./PanoTagPlugin/controller/index.js";
|
|
60
|
+
import { defaultGlobalConfig as of } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
61
|
+
import { ContentType as tf, DimensionType as mf, PointType as pf } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
62
|
+
import { Object3DHelperController as lf, PLUGIN as nf } from "./Object3DHelperPlugin/Controller.js";
|
|
63
|
+
import { typings as Pf } from "./PanoVideoPlugin/typings/index.js";
|
|
64
|
+
import { createPoint as uf } from "./Sculpt/Objects/Point/index.js";
|
|
65
|
+
import { createLine as gf } from "./Sculpt/Objects/Line/index.js";
|
|
66
|
+
import { createPolyline as df } from "./Sculpt/Objects/Polyline/index.js";
|
|
67
|
+
import { createPolygon as Tf } from "./Sculpt/Objects/Polygon/index.js";
|
|
68
|
+
import { createPrism as Lf } from "./Sculpt/Objects/Prism/index.js";
|
|
69
|
+
import { createRectangle as yf } from "./Sculpt/Objects/Rectangle/index.js";
|
|
70
|
+
import { createCircle as _f } from "./Sculpt/Objects/Circle/index.js";
|
|
71
|
+
import { createCylinder as If } from "./Sculpt/Objects/Cylinder/index.js";
|
|
72
|
+
import { createBox as Df } from "./Sculpt/Objects/Box/index.js";
|
|
73
|
+
import { DigitalHuman as vf } from "./DigitalPerformancePlugin/core/DigitalHuman.js";
|
|
74
|
+
import { DigitalPlayground as Ff } from "./DigitalPerformancePlugin/core/DigitalPlayground.js";
|
|
75
|
+
import { DigitalStateMachine as bf } from "./DigitalPerformancePlugin/core/DigitalStateMachine.js";
|
|
72
76
|
import "./components/PaintBrush/Controller.js";
|
|
73
77
|
import "./components/PaintBrush/utils.js";
|
|
74
78
|
import "./components/PaintBrush/tween.js";
|
|
@@ -124,6 +128,7 @@ import "./Sculpt/typings/style.js";
|
|
|
124
128
|
import "./shared-utils/three/IObject3D.js";
|
|
125
129
|
import "./Sculpt/utils/Meshes/getLengthHTML.js";
|
|
126
130
|
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
131
|
+
import "./shared-utils/five/getFiveFromParentChain.js";
|
|
127
132
|
import "./shared-utils/three/core/LineGeometry.js";
|
|
128
133
|
import "./shared-utils/three/core/LineMaterial.js";
|
|
129
134
|
import "./shared-utils/three/core/Line2.js";
|
|
@@ -569,6 +574,9 @@ import "./ModelMakerPlugin/utils/tagRenderer.js";
|
|
|
569
574
|
import "./ModelMakerPlugin/utils/Text.js";
|
|
570
575
|
import "./ModelMakerPlugin/item/prismItem.js";
|
|
571
576
|
import "./ModelMakerPlugin/item/polygonItem.js";
|
|
577
|
+
import "./DigitalPerformancePlugin/controller/index.js";
|
|
578
|
+
import "./DigitalPerformancePlugin/mock.js";
|
|
579
|
+
import "./DigitalPerformancePlugin/core/Trace.js";
|
|
572
580
|
import "./Sculpt/utils/export.js";
|
|
573
581
|
import "./shared-utils/math/Interval.js";
|
|
574
582
|
import "./shared-utils/math/Rectangle.js";
|
|
@@ -585,85 +593,89 @@ import "./shared-utils/five/lookObject.js";
|
|
|
585
593
|
r();
|
|
586
594
|
o();
|
|
587
595
|
export {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
gf as
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
596
|
+
mP as AreaMakerPlugin,
|
|
597
|
+
TP as CSS3DRender,
|
|
598
|
+
$n as CSS3DRenderPlugin,
|
|
599
|
+
La as CameraMovementEffect,
|
|
600
|
+
Ta as CameraMovementPlugin,
|
|
601
|
+
tf as ContentType,
|
|
602
|
+
qa as CruisePlugin,
|
|
603
|
+
jP as CruisePluginController,
|
|
604
|
+
JP as CruisePluginTypes,
|
|
605
|
+
eP as CurrentPanoImagePlugin,
|
|
606
|
+
Ha as DIRECTION,
|
|
607
|
+
FP as DISPLAY_STRATEGY_TYPE,
|
|
608
|
+
vf as DigitalHuman,
|
|
609
|
+
gP as DigitalPerformancePlugin,
|
|
610
|
+
Ff as DigitalPlayground,
|
|
611
|
+
bf as DigitalStateMachine,
|
|
612
|
+
mf as DimensionType,
|
|
613
|
+
Xn as FLOOR_PLAN_ATTACHED_TO,
|
|
614
|
+
Pa as FLOOR_TYPE_MAP,
|
|
615
|
+
na as FloorplanGuidePlugin,
|
|
616
|
+
NP as GuideLineItem,
|
|
617
|
+
wP as GuideLineModeItem,
|
|
618
|
+
$a as GuideLinePlugin,
|
|
619
|
+
VP as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
620
|
+
BP as ItemLabelPlugin,
|
|
621
|
+
DP as Magnifier,
|
|
622
|
+
ta as MapviewFloorplanPlugin,
|
|
623
|
+
Aa as MeasurePlugin,
|
|
624
|
+
ga as ModelChassisCompassPlugin,
|
|
625
|
+
da as ModelEntryDoorGuidePlugin,
|
|
626
|
+
oa as ModelFloorplanPlugin,
|
|
627
|
+
bP as ModelItemLabelPlugin,
|
|
628
|
+
uP as ModelMakerPlugin,
|
|
629
|
+
Jn as ModelRoomLabelPlugin,
|
|
630
|
+
ha as ModelTVVideoPlugin,
|
|
631
|
+
Un as ModelViewPlugin,
|
|
632
|
+
qP as MoveController,
|
|
633
|
+
za as MovePlugin,
|
|
634
|
+
lf as Object3DHelperController,
|
|
635
|
+
Xa as Object3DHelperPlugin,
|
|
636
|
+
nf as PLUGIN,
|
|
637
|
+
Hn as PaintBrush,
|
|
638
|
+
kn as PaintBrushTypeEnum,
|
|
639
|
+
Sa as PanoCompassPlugin,
|
|
640
|
+
qn as PanoCursorRaycasterPlugin,
|
|
641
|
+
Ua as PanoDoorLabelPlugin,
|
|
642
|
+
ea as PanoFloorplanRadarPlugin,
|
|
643
|
+
Oa as PanoMeasurePlugin,
|
|
644
|
+
_P as PanoMeasurePluginLine,
|
|
645
|
+
LP as PanoMeasurePluginModel,
|
|
646
|
+
yP as PanoMeasurePluginPoint,
|
|
647
|
+
IP as PanoMeasurePluginPolyline,
|
|
648
|
+
Ra as PanoRulerPlugin,
|
|
649
|
+
Ea as PanoRulerProPlugin,
|
|
650
|
+
Ga as PanoSpatialTagPlugin,
|
|
651
|
+
Ka as PanoTagPlugin,
|
|
652
|
+
QP as PanoTagPluginController,
|
|
653
|
+
oP as PanoVideoPlugin,
|
|
654
|
+
Pf as PanoVideoPluginType,
|
|
655
|
+
tP as PipelinePlugin,
|
|
656
|
+
pf as PointType,
|
|
657
|
+
fa as ROOM_FETILE_TYPE_MAP,
|
|
658
|
+
ua as ROOM_TYPE_MAP,
|
|
659
|
+
ca as Rotation,
|
|
660
|
+
nP as Sculpt,
|
|
661
|
+
aP as SculptPlugin,
|
|
662
|
+
PP as SculptPluginForFive,
|
|
663
|
+
ma as TopviewFloorplanPlugin,
|
|
664
|
+
dP as Util,
|
|
665
|
+
$P as WalkController,
|
|
666
|
+
Df as createBox,
|
|
667
|
+
_f as createCircle,
|
|
668
|
+
If as createCylinder,
|
|
669
|
+
gf as createLine,
|
|
670
|
+
uf as createPoint,
|
|
671
|
+
Tf as createPolygon,
|
|
672
|
+
df as createPolyline,
|
|
673
|
+
Lf as createPrism,
|
|
674
|
+
yf as createRectangle,
|
|
675
|
+
of as defaultGlobalConfig,
|
|
676
|
+
ka as itemLabelPluginServerParams,
|
|
677
|
+
Ya as modelItemLabelPluginServerParams,
|
|
678
|
+
Kn as modelRoomLabelPluginServerParams,
|
|
679
|
+
XP as pluginFlag,
|
|
680
|
+
vP as validatePolygon
|
|
669
681
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
|
+
import type { Object3D } from 'three';
|
|
3
|
+
/**
|
|
4
|
+
* 从 Object3D 的父级链向上遍历,查找 __five__ 或 __sculpt__.five
|
|
5
|
+
* 用于在场景树中正确获取渲染该对象的 Five 实例
|
|
6
|
+
* 兜底:父链未找到时回退到 window.globalModules.five / window.$five,保证单 VR 场景兼容
|
|
7
|
+
*/
|
|
8
|
+
export declare function getFiveFromParentChain(object: Object3D): Five | undefined;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
function r() {
|
|
2
|
+
var i, e;
|
|
3
|
+
return (e = (i = window.globalModules) == null ? void 0 : i.five) != null ? e : window.$five;
|
|
4
|
+
}
|
|
5
|
+
function f(i) {
|
|
6
|
+
let e = i;
|
|
7
|
+
for (; e; ) {
|
|
8
|
+
const t = e.__five__;
|
|
9
|
+
if (t)
|
|
10
|
+
return t;
|
|
11
|
+
const n = e.__sculpt__;
|
|
12
|
+
if (n != null && n.five)
|
|
13
|
+
return n.five;
|
|
14
|
+
e = e.parent;
|
|
15
|
+
}
|
|
16
|
+
return r();
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
f as getFiveFromParentChain
|
|
20
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.78.0
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.78.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",
|
|
@@ -130,6 +130,7 @@ class E extends e.Object3D {
|
|
|
130
130
|
o(this, "lineMesh");
|
|
131
131
|
o(this, "ballMesh");
|
|
132
132
|
o(this, "cssBallMesh");
|
|
133
|
+
this.__five__ = r;
|
|
133
134
|
const i = 0.18;
|
|
134
135
|
this.planeMesh = P(), this.ringMesh = C(), this.crossline = b(), this.lineMesh = V(i), this.ballMesh = x(), this.cssBallMesh = S(), this.ballMesh.position.setZ(i), this.cssBallMesh.position.setZ(i), this.planeMesh.renderOrder = 0, this.ringMesh.renderOrder = 1, this.crossline.renderOrder = 2, this.lineMesh.renderOrder = 3, this.ballMesh.renderOrder = 4, this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.ringMesh, this.cssBallMesh), A(r);
|
|
135
136
|
}
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import { isAbsoluteURL as
|
|
2
|
-
import { DEFAULT_STATIC_PREFIX as
|
|
3
|
-
function
|
|
1
|
+
import { isAbsoluteURL as c } from "./absoluteUrl.js";
|
|
2
|
+
import { DEFAULT_STATIC_PREFIX as f } from "./defaultUrls.js";
|
|
3
|
+
function l(o = f, t) {
|
|
4
4
|
if (!t || typeof t != "string")
|
|
5
5
|
return t || "";
|
|
6
6
|
if (!o || typeof o != "string")
|
|
7
7
|
return t;
|
|
8
8
|
o.startsWith("//") && (o = "http:" + o);
|
|
9
9
|
try {
|
|
10
|
-
if (!
|
|
10
|
+
if (!c(t))
|
|
11
11
|
return t;
|
|
12
12
|
let e = t;
|
|
13
13
|
t.startsWith("//") && (e = "http:" + t);
|
|
14
14
|
const r = new URL(e);
|
|
15
|
-
let n = o,
|
|
16
|
-
|
|
15
|
+
let n = o, s = r.protocol, i;
|
|
16
|
+
if (o.includes("://")) {
|
|
17
|
+
const a = new URL(o);
|
|
18
|
+
n = a.hostname, i = a.port;
|
|
19
|
+
} else
|
|
20
|
+
o.startsWith("//") && (n = o.substring(2));
|
|
21
|
+
return !n || n.trim() === "" ? t : (r.hostname = n, i !== void 0 && (r.port = i), s !== r.protocol && (r.protocol = s), t.startsWith("//") ? r.toString().replace(/^https?:\/\//, "//") : r.toString());
|
|
17
22
|
} catch (e) {
|
|
18
23
|
return console.warn(`[replaceStaticPrefix] Invalid URL: ${t}`, e), t;
|
|
19
24
|
}
|
|
20
25
|
}
|
|
21
26
|
export {
|
|
22
|
-
|
|
27
|
+
l as replaceStaticPrefix
|
|
23
28
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realsee/dnalogel",
|
|
3
|
-
"version": "3.78.0
|
|
3
|
+
"version": "3.78.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./libs/index.js",
|
|
6
6
|
"types": "./libs/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"postpublish": "cnpm sync @realsee/dnalogel",
|
|
30
30
|
"lint": "eslint . --ext .ts,.tsx,.js,.jsx,.svelte",
|
|
31
31
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,svelte,scss,css,md,json}\"",
|
|
32
|
-
"test": "
|
|
32
|
+
"test": "vitest run --config vitest.config.ts"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"libs",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/core": "^7.22.9",
|
|
49
|
-
"@realsee/five": "6.6.
|
|
49
|
+
"@realsee/five": "6.6.18",
|
|
50
50
|
"@sveltejs/vite-plugin-svelte": "^2.4.2",
|
|
51
51
|
"@tsconfig/svelte": "^4.0.1",
|
|
52
52
|
"@tweenjs/tween.js": "^23.1.1",
|