@realsee/dnalogel 2.2.6 → 2.3.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/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
- package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
- package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/dist/index.cjs.js +46 -46
- package/dist/index.js +4987 -4817
- package/dist/index.umd.js +39 -39
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/main.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +533 -0
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -5
- package/docs/functions/CameraMovementPlugin.html +6 -5
- package/docs/functions/CruisePlugin.html +6 -5
- package/docs/functions/GuideLinePlugin.html +7 -6
- package/docs/functions/ItemLabelPlugin.html +6 -5
- package/docs/functions/MapviewFloorplanPlugin.html +6 -5
- package/docs/functions/ModelChassisCompassPlugin.html +6 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
- package/docs/functions/ModelFloorplanPlugin.html +6 -5
- package/docs/functions/ModelItemLabelPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +6 -5
- package/docs/functions/ModelTVVideoPlugin.html +6 -5
- package/docs/functions/ModelViewPlugin.html +6 -5
- package/docs/functions/Object3DHelperPlugin.html +6 -5
- package/docs/functions/PanoCompassPlugin.html +6 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
- package/docs/functions/PanoDoorLabelPlugin.html +6 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
- package/docs/functions/PanoMeasurePlugin.html +6 -5
- package/docs/functions/PanoRulerPlugin.html +6 -5
- package/docs/functions/PanoRulerProPlugin.html +6 -5
- package/docs/functions/PanoSpatialTagPlugin.html +6 -5
- package/docs/functions/PanoTagPlugin.html +6 -5
- package/docs/functions/TopviewFloorplanPlugin.html +6 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +7 -6
- package/docs/index.html +6 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +7 -6
- package/docs/interfaces/Rooms.html +7 -6
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +7 -5
- package/docs/types/ArrayPosition.html +7 -6
- package/docs/types/CSS3DRenderExportType.html +8 -7
- package/docs/types/CSS3DRenderPluginExportType.html +7 -6
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
- package/docs/types/Color.html +7 -6
- package/docs/types/ContentTypeConfigKey.html +7 -6
- package/docs/types/ContentTypeConfigKeyArray.html +7 -6
- package/docs/types/Create3DDomContainerReturnType.html +7 -6
- package/docs/types/Create3DElementReturnType.html +8 -7
- package/docs/types/CruisePluginExportType.html +7 -6
- package/docs/types/Direction-1.html +7 -6
- package/docs/types/Direction4.html +7 -6
- package/docs/types/FloorplanRuleLabels.html +7 -6
- package/docs/types/FloorplanServerRuleLabels.html +7 -6
- package/docs/types/GuideLinePluginExportType.html +7 -6
- package/docs/types/HelperEventMap.html +7 -6
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
- package/docs/types/MediaData.html +7 -6
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
- package/docs/types/MoveArgs.html +7 -6
- package/docs/types/MoveOpts.html +7 -6
- package/docs/types/Object3DHelperEventMap.html +7 -6
- package/docs/types/ObjectFit.html +7 -6
- package/docs/types/PaintBrushEventMap.html +7 -6
- package/docs/types/PanoCompassPluginData.html +7 -6
- package/docs/types/PanoCompassPluginExportType.html +7 -6
- package/docs/types/PanoCompassPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
- package/docs/types/PanoMeasurePluginEvent.html +7 -6
- package/docs/types/PanoMeasureReturnType.html +7 -6
- package/docs/types/PanoSpatialTagPluginId.html +7 -6
- package/docs/types/PanoTagPluginExportInterface.html +7 -6
- package/docs/types/PanoTagPluginParamsInterface.html +7 -6
- package/docs/types/PlaneTag.html +7 -6
- package/docs/types/PointTag.html +7 -6
- package/docs/types/Position.html +7 -6
- package/docs/types/RotateArgs.html +7 -6
- package/docs/types/RotateOpts.html +7 -6
- package/docs/types/RuleLabelsKey.html +7 -6
- package/docs/types/RuleLabelsValue.html +7 -6
- package/docs/types/Tag.html +7 -6
- package/docs/types/Tag2D.html +7 -6
- package/docs/types/Tag3D.html +7 -6
- package/docs/types/TagId.html +7 -6
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
- package/docs/variables/PLUGIN.html +7 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
- package/docs/variables/ROOM_TYPE_MAP.html +7 -6
- package/docs/variables/VERSION.html +7 -6
- package/docs/variables/itemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +198 -251
- package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +63 -58
- package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/index.js +21 -3
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
- package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
- package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
- package/libs/CameraMovementPlugin/index.js +13 -0
- package/libs/CruisePlugin/Controller.js +65 -54
- package/libs/CruisePlugin/index.js +26 -3
- package/libs/CruisePlugin/typing.js +1 -0
- package/libs/GuideLinePlugin/Controller.js +14 -9
- package/libs/GuideLinePlugin/index.js +14 -3
- package/libs/GuideLinePlugin/typing.js +1 -0
- package/libs/ItemLabelPlugin/Plugin.js +33 -23
- package/libs/ItemLabelPlugin/events.type.js +1 -0
- package/libs/ItemLabelPlugin/index.js +16 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +2 -1
- package/libs/ModelChassisCompassPlugin/index.js +8 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +44 -39
- package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
- package/libs/ModelItemLabelPlugin/index.js +12 -2
- package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
- package/libs/ModelRoomLabelPlugin/index.js +10 -3
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +80 -62
- package/libs/ModelTVVideoPlugin/index.js +25 -0
- package/libs/ModelViewPlugin/Plugin.js +2 -1
- package/libs/ModelViewPlugin/index.js +6 -0
- package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/libs/Object3DHelperPlugin/Controller.js +114 -73
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
- package/libs/Object3DHelperPlugin/index.js +48 -3
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoCompassPlugin/Controller.js +60 -40
- package/libs/PanoCompassPlugin/index.js +31 -3
- package/libs/PanoCompassPlugin/typings.js +1 -0
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
- package/libs/PanoDoorLabelPlugin/index.js +12 -2
- package/libs/PanoDoorLabelPlugin/typings.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +56 -5
- package/libs/PanoRulerPlugin/Plugin.js +22 -17
- package/libs/PanoRulerPlugin/index.js +9 -0
- package/libs/PanoRulerPlugin/style.js +1 -1
- package/libs/PanoRulerPlugin/typings.js +1 -0
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/index.js +16 -3
- package/libs/PanoRulerProPlugin/typings.js +1 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +91 -71
- package/libs/PanoSpatialTagPlugin/index.js +28 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +47 -55
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -7
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +21 -23
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
- package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +19 -27
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +54 -65
- package/libs/PanoTagPlugin/Components/Tag/index.js +74 -103
- package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
- package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
- package/libs/PanoTagPlugin/controller/index.js +2 -2
- package/libs/PanoTagPlugin/index.js +90 -3
- package/libs/PanoTagPlugin/tag.config.js +2 -1
- package/libs/floorplan/Components/BaseImage.js +7 -7
- package/libs/floorplan/Components/Camera.js +10 -10
- package/libs/floorplan/Components/Compass.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +47 -56
- package/libs/floorplan/Components/Main.js +80 -99
- package/libs/floorplan/Components/Normalmage.js +5 -5
- package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +6 -6
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +14 -14
- package/libs/floorplan/Components/SvgImage.js +12 -12
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
- package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/typings/index.js +1 -0
- package/libs/index.js +123 -114
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/three/index.js +2 -1
- package/package.json +31 -30
- package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
- package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { CSS3DRenderer } from 'three/
|
|
1
|
+
import type * as THREE from 'three';
|
|
2
|
+
import { ICSS3DRenderer as CSS3DRenderer } from './utils/three/CSS3DRenderer';
|
|
3
3
|
import { Subscribe } from '../shared-utils/Subscribe';
|
|
4
4
|
import { AnyPosition } from './utils';
|
|
5
|
-
import { CSS3DObjectPlus
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import { CSS3DObjectPlus } from './utils/three/CSS3DObject';
|
|
6
|
+
import { CSS3DBehindScene, CSS3DFrontScene } from './utils/three/CSS3DScene';
|
|
7
|
+
import { CSS3DBehindGroup, CSS3DFrontGroup } from './utils/three/CSS3DGroup';
|
|
8
|
+
export { MinRatio } from './utils/three/CSS3DObject';
|
|
8
9
|
export declare const PLUGIN: string;
|
|
9
10
|
export interface CSS3DRenderState {
|
|
10
11
|
enabled: boolean;
|
|
@@ -62,26 +63,35 @@ export declare const globalStore: {
|
|
|
62
63
|
observe: () => void;
|
|
63
64
|
unobserve: () => void;
|
|
64
65
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
css3DScene: THREE.Scene;
|
|
66
|
+
css3DObjects: CSS3DObjectPlus[];
|
|
67
|
+
frontModeStore: {
|
|
68
|
+
css3DScene?: CSS3DFrontScene;
|
|
69
69
|
css3DRenderer: CSS3DRenderer;
|
|
70
|
-
|
|
71
|
-
appendedToPage?: boolean;
|
|
70
|
+
container?: HTMLElement;
|
|
72
71
|
};
|
|
73
|
-
behindModeStore
|
|
74
|
-
|
|
75
|
-
css3DScene: THREE.Scene;
|
|
72
|
+
behindModeStore: {
|
|
73
|
+
css3DScene?: CSS3DBehindScene;
|
|
76
74
|
css3DRenderer: CSS3DRenderer;
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
container?: HTMLElement;
|
|
76
|
+
scene?: THREE.Scene;
|
|
79
77
|
};
|
|
80
78
|
};
|
|
79
|
+
declare function setFrontModeContainer(container: HTMLElement): void;
|
|
80
|
+
declare function setBehindModeContainer(container: HTMLElement): void;
|
|
81
81
|
export declare class CSS3DRender {
|
|
82
|
+
static setFrontModeContainer: typeof setFrontModeContainer;
|
|
83
|
+
static setBehindModeContainer: typeof setBehindModeContainer;
|
|
82
84
|
hooks: Subscribe<CSS3DRenderEventMap>;
|
|
83
85
|
state: CSS3DRenderState;
|
|
86
|
+
get scene(): THREE.Scene;
|
|
87
|
+
private _scene?;
|
|
84
88
|
private store;
|
|
89
|
+
static get frontModeCSS3DRenderer(): CSS3DRenderer;
|
|
90
|
+
static get behindModeCSS3DRenderer(): CSS3DRenderer;
|
|
91
|
+
get frontModeCSS3DRenderer(): CSS3DRenderer;
|
|
92
|
+
get behindModeCSS3DRenderer(): CSS3DRenderer;
|
|
93
|
+
constructor(scene?: THREE.Scene);
|
|
94
|
+
setScene(scene: THREE.Scene): void;
|
|
85
95
|
getCurrentState(): CSS3DRenderState;
|
|
86
96
|
setState(state: Partial<CSS3DRenderState>, options?: {
|
|
87
97
|
userAction: boolean;
|
|
@@ -102,8 +112,8 @@ export declare class CSS3DRender {
|
|
|
102
112
|
/**
|
|
103
113
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
104
114
|
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
105
|
-
* @param
|
|
106
|
-
* @config_document `
|
|
115
|
+
* @param params 均为可选值
|
|
116
|
+
* @config_document `params` 均为可选值
|
|
107
117
|
* | key | type | defaultValue | comment |
|
|
108
118
|
* | - | - | - | - |
|
|
109
119
|
* | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
|
|
@@ -133,35 +143,39 @@ export declare class CSS3DRender {
|
|
|
133
143
|
* } | void
|
|
134
144
|
* ```
|
|
135
145
|
*/
|
|
136
|
-
create3DElement: (camera: THREE.Camera, points: Create3DDElementParamsType['points'],
|
|
146
|
+
create3DElement: (camera: THREE.Camera, points: Create3DDElementParamsType['points'], params?: Create3DDElementParamsType['config']) => void | {
|
|
137
147
|
id: string;
|
|
138
148
|
container: HTMLElement;
|
|
139
|
-
dispose: () => boolean;
|
|
140
149
|
css3DObject: CSS3DObjectPlus<HTMLElement>;
|
|
141
150
|
render: () => void;
|
|
142
151
|
show: () => void;
|
|
143
152
|
hide: () => void;
|
|
144
153
|
setVisible: (visible: boolean) => void;
|
|
145
|
-
disable: () => void;
|
|
146
154
|
enable: () => void;
|
|
155
|
+
disable: () => void;
|
|
147
156
|
setEnabled: (enabled: boolean) => void;
|
|
148
|
-
|
|
157
|
+
dispose: () => boolean;
|
|
158
|
+
appendToElement: (element: HTMLElement) => CSS3DRenderer;
|
|
149
159
|
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
160
|
+
getFrontCSS3DScene({ createSceneIfNotExists }?: {
|
|
161
|
+
createSceneIfNotExists?: boolean;
|
|
162
|
+
}): CSS3DFrontScene;
|
|
163
|
+
getBehindCSS3DScene({ createSceneIfNotExists }?: {
|
|
164
|
+
createSceneIfNotExists?: boolean;
|
|
165
|
+
}): CSS3DBehindScene;
|
|
166
|
+
getFrontCSS3DObjectGroup({ addGroupIfNotExists }?: {
|
|
167
|
+
addGroupIfNotExists?: boolean;
|
|
168
|
+
}): CSS3DFrontGroup;
|
|
169
|
+
getBehindCSS3DObjectGroup({ addGroupIfNotExists }?: {
|
|
170
|
+
addGroupIfNotExists?: boolean;
|
|
171
|
+
}): CSS3DBehindGroup;
|
|
172
|
+
setVisibleById: (id: number, visible: boolean) => void;
|
|
173
|
+
setEnabledById: (id: number, enabled: boolean) => void;
|
|
174
|
+
render(camera: THREE.Camera): void;
|
|
155
175
|
private createObject;
|
|
156
|
-
private initGlobalModeStore;
|
|
157
|
-
/**
|
|
158
|
-
* @description: 生成透明Mesh
|
|
159
|
-
*/
|
|
160
|
-
private createOpacityMesh;
|
|
161
176
|
private handleShow;
|
|
162
177
|
private handleHide;
|
|
163
178
|
private handleEnable;
|
|
164
179
|
private handleDisable;
|
|
165
|
-
private
|
|
166
|
-
private disposedErrorLog;
|
|
180
|
+
private handleDispose;
|
|
167
181
|
}
|
|
@@ -67,15 +67,15 @@ export default class Controller extends CSS3DRender implements BasePlugin.Contro
|
|
|
67
67
|
render: () => void;
|
|
68
68
|
id: string;
|
|
69
69
|
container: HTMLElement;
|
|
70
|
-
|
|
71
|
-
css3DObject: import("./utils/CSS3DObjectPlus").CSS3DObjectPlus<HTMLElement>;
|
|
70
|
+
css3DObject: import("./utils/three/CSS3DObject").CSS3DObjectPlus<HTMLElement>;
|
|
72
71
|
show: () => void;
|
|
73
72
|
hide: () => void;
|
|
74
73
|
setVisible: (visible: boolean) => void;
|
|
75
|
-
disable: () => void;
|
|
76
74
|
enable: () => void;
|
|
75
|
+
disable: () => void;
|
|
77
76
|
setEnabled: (enabled: boolean) => void;
|
|
78
|
-
|
|
77
|
+
dispose: () => boolean;
|
|
78
|
+
appendToElement: (element: HTMLElement) => import("./utils/three/CSS3DRenderer").default;
|
|
79
79
|
};
|
|
80
|
-
|
|
80
|
+
getBehindFiveElement(): HTMLElement;
|
|
81
81
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import Controller from './Controller';
|
|
3
|
-
export * from './typing';
|
|
4
3
|
export declare const CSS3DRenderPlugin: FivePlugin<void, InstanceType<typeof Controller>>;
|
|
4
|
+
export { CSS3DRender } from './CSS3DRender';
|
|
5
|
+
export * from './typing';
|
|
5
6
|
export default CSS3DRenderPlugin;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { Subscribe } from '../../../shared-utils/Subscribe';
|
|
3
|
+
import type { Object3D } from 'three';
|
|
4
|
+
import type { Mode } from './CSS3DObject';
|
|
5
|
+
export declare class CSS3DGroup extends THREE.Group {
|
|
6
|
+
readonly isCSS3DGroup = true;
|
|
7
|
+
mode: Mode;
|
|
8
|
+
CSS3DObjectLength: number;
|
|
9
|
+
hooks: Subscribe<{
|
|
10
|
+
visibleChange: (visible: boolean) => void;
|
|
11
|
+
}>;
|
|
12
|
+
constructor(mode: Mode);
|
|
13
|
+
add(...objects: Object3D[]): this;
|
|
14
|
+
setVisible(visible: boolean): void;
|
|
15
|
+
remove(...objects: Object3D[]): this;
|
|
16
|
+
private updateLength;
|
|
17
|
+
}
|
|
18
|
+
export declare class CSS3DFrontGroup extends CSS3DGroup {
|
|
19
|
+
constructor();
|
|
20
|
+
}
|
|
21
|
+
export declare class CSS3DBehindGroup extends CSS3DGroup {
|
|
22
|
+
private scene;
|
|
23
|
+
constructor(scene: THREE.Scene);
|
|
24
|
+
add(...objects: Object3D[]): this;
|
|
25
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
2
2
|
import { Matrix4, Quaternion, Vector3 } from 'three';
|
|
3
|
-
import { Subscribe } from '
|
|
4
|
-
import
|
|
3
|
+
import { Subscribe } from '../../../shared-utils/Subscribe';
|
|
4
|
+
import OpacityMesh from './OpacityMesh';
|
|
5
5
|
export declare const MinRatio = 0.00216;
|
|
6
6
|
export declare const DefaultRatio = 0.003;
|
|
7
7
|
export declare type Mode = 'front' | 'behind';
|
|
@@ -10,25 +10,45 @@ export declare type CSS3DRenderEventMap = {
|
|
|
10
10
|
applyMatrix4: (matrix: Matrix4) => void;
|
|
11
11
|
applyQuaternion: (quaternion: Quaternion) => void;
|
|
12
12
|
applyScaleMatrix4: (matrix: Matrix4) => void;
|
|
13
|
-
changeMode: <T extends Mode = Mode>(mode: T, prevMode: Mode, scene: T extends 'behind' ? THREE.Scene : undefined) => void;
|
|
14
13
|
};
|
|
15
14
|
export declare class CSS3DObjectPlus<T extends HTMLElement = HTMLElement> extends CSS3DObject {
|
|
16
|
-
version:
|
|
15
|
+
version: number;
|
|
16
|
+
readonly isCSS3DObjectPlus: true;
|
|
17
|
+
container: T;
|
|
17
18
|
width: number;
|
|
18
19
|
height: number;
|
|
19
20
|
domWidthPx: number;
|
|
20
21
|
domHeightPx: number;
|
|
21
22
|
cornerPoints: CornerPoints;
|
|
22
|
-
ratio: number;
|
|
23
|
-
container: T;
|
|
24
23
|
centerPosition: Vector3;
|
|
24
|
+
ratio: number;
|
|
25
25
|
mode: 'front' | 'behind';
|
|
26
26
|
readonly hooks: Subscribe<CSS3DRenderEventMap>;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
opacityMesh?: OpacityMesh;
|
|
28
|
+
private selfVisible;
|
|
29
|
+
private parentVisibleListenerDisposer?;
|
|
30
|
+
constructor(params: {
|
|
31
|
+
container: T;
|
|
32
|
+
mode?: 'front' | 'behind';
|
|
33
|
+
cornerPoints: CornerPoints;
|
|
34
|
+
ratio?: number;
|
|
35
|
+
dpr?: number;
|
|
36
|
+
pointerEvents?: 'none' | 'auto';
|
|
37
|
+
});
|
|
38
|
+
setVisible(visible: boolean, params?: {
|
|
39
|
+
setSelfVisible: boolean;
|
|
40
|
+
}): void;
|
|
41
|
+
removeFromParent(): this;
|
|
42
|
+
removeOpacityMesh(): this;
|
|
43
|
+
dispose(): void;
|
|
44
|
+
getOpacityMesh(): OpacityMesh;
|
|
32
45
|
applyMatrix4(matrix: Matrix4): void;
|
|
33
46
|
applyQuaternion(quaternion: Quaternion): this;
|
|
47
|
+
applyScaleMatrix4(matrix: Matrix4): void;
|
|
48
|
+
/**
|
|
49
|
+
* @description: 生成透明Mesh
|
|
50
|
+
*/
|
|
51
|
+
private createOpacityMesh;
|
|
52
|
+
private addParentVisibleListener;
|
|
53
|
+
private removeParentVisibleListener;
|
|
34
54
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSS3DRenderer } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
2
|
+
import type * as THREE from 'three';
|
|
3
|
+
export default class ICSS3DRenderer extends CSS3DRenderer {
|
|
4
|
+
wrapper?: HTMLElement;
|
|
5
|
+
private requestAnimationFrameId?;
|
|
6
|
+
private resizeDisoper?;
|
|
7
|
+
constructor();
|
|
8
|
+
setWrapper(wrapper: HTMLElement): this;
|
|
9
|
+
appendToElement(wrapper: HTMLElement): void;
|
|
10
|
+
renderEveryFrame(scene: THREE.Scene, camera: THREE.Camera): void;
|
|
11
|
+
stopRender(): void;
|
|
12
|
+
dispose(): void;
|
|
13
|
+
}
|
|
14
|
+
export { ICSS3DRenderer };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Object3D } from 'three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export declare class CSS3DFrontScene extends THREE.Scene {
|
|
4
|
+
constructor();
|
|
5
|
+
add(...objects: Object3D[]): this;
|
|
6
|
+
}
|
|
7
|
+
export declare class CSS3DBehindScene extends THREE.Scene {
|
|
8
|
+
private scene;
|
|
9
|
+
constructor(scene: THREE.Scene);
|
|
10
|
+
add(...objects: Object3D[]): this;
|
|
11
|
+
remove(...objects: Object3D[]): this;
|
|
12
|
+
}
|
|
@@ -11,6 +11,8 @@ export declare class Object3DHelperController extends BasePlugin.Controller<Obje
|
|
|
11
11
|
name: string;
|
|
12
12
|
state: Object3DHelperState;
|
|
13
13
|
objectHelperMap: Map<THREE.Object3D, Object3DHelper>;
|
|
14
|
+
private css3DObjectParentMap;
|
|
15
|
+
private css3DRender;
|
|
14
16
|
constructor(five: Five);
|
|
15
17
|
/**
|
|
16
18
|
* @description Show guide line
|